Communication method, device, equipment and chip
By allowing the calling terminal to proactively cancel the call when no provisional response is received, the problem of resource waste caused by call failure is solved, session carrying resources are released in a timely manner, and resource utilization and communication efficiency are improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-25
- Publication Date
- 2026-03-27
AI Technical Summary
In existing technologies, unsuccessful calls lead to a waste of network and called terminal resources, and session bearer resources cannot be released in a timely manner, affecting resource utilization and communication efficiency.
If the calling terminal does not receive a temporary response within a preset time period, it will proactively send a call cancellation request to cancel the paging of the called terminal, and the network equipment and the called terminal will release session resources accordingly.
It effectively saves network and called terminal resource occupation time, improves resource utilization, and enhances the overall communication efficiency of the system.
Smart Images

Figure CN121751334A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a communication method, apparatus, device and chip. Background Technology
[0002] The IP (Internet Protocol) Multimedia Subsystem (IMS) is a global, access-independent, standards-based IP channel and service control architecture widely used in modern communication networks to support the interaction and transmission of voice, video, messaging, and other multimedia applications. It enables end-users using different types of multimedia services based on the common IP protocol, aiming to achieve separation of services and networks for greater flexibility and interoperability. Summary of the Invention
[0003] This application aims to at least partially address one of the technical problems in the related art.
[0004] To this end, this application proposes a communication method, apparatus, device, and chip that enables the calling terminal to actively cancel unsuccessful calls, allowing unsuccessful calls to fail quickly. This enables both the terminal side and the network side to release the corresponding session bearer resources in a timely manner, saving the time that network and called terminal resources are occupied, effectively saving resources, improving resource utilization, and enhancing the overall communication efficiency of the system.
[0005] A first aspect of this application provides a communication method, the method comprising: Send a call request to the network device, the call request being used to request the network device to page the called terminal; In response to the failure to receive a temporary response within a preset time period, a call cancellation request is sent to the network device, the call cancellation request being used to request the network device to cancel paging of the called terminal; The temporary response is a response sent by the network device to the call request, and the temporary response is used to indicate that the call request has been received by the network device. A second aspect of this application provides a communication method, the method comprising: Receive a call request sent by the calling terminal, the call request being used to request the network device to page the called terminal; Send a provisional response to the call request to the calling terminal, the provisional response indicating that the call request has been received by the network device; Based on the call request, the called terminal is paged; Receive a call cancellation request sent by the calling terminal, the call cancellation request being used to request the network device to cancel paging of the called terminal; The call cancellation request is sent by the calling terminal in response to not receiving a temporary response within a preset time period.
[0006] A third aspect of this application provides a communication device, the device comprising: The first sending module is used to send a call request to the network device, wherein the call request is used to request the network device to page the called terminal; The second sending module is used to send a call cancellation request to the network device in response to the failure to receive a temporary response within a preset time period. The call cancellation request is used to request the network device to cancel paging of the called terminal. The temporary response is a response sent by the network device to the call request, and the temporary response is used to indicate that the call request has been received by the network device.
[0007] A fourth aspect of this application provides a communication device, the device comprising: The first receiving module is used to receive a call request sent by the calling terminal, wherein the call request is used to request the network device to page the called terminal; The first sending module is configured to send a temporary response to the call request to the calling terminal, the temporary response indicating that the call request has been received by the network device; The second sending module is used to page the called terminal based on the call request; The second receiving module is used to receive a call cancellation request sent by the calling terminal, the call cancellation request being used to request the network device to cancel paging of the called terminal; The call cancellation request is sent by the calling terminal in response to not receiving a temporary response within a preset time period.
[0008] A fifth aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the communication method described in the first aspect above, or implements the communication method described in the second aspect above.
[0009] A sixth aspect of this application provides a chip including an interface circuit and a processing circuit coupled to each other. The interface circuit is used to input or output signals, and the processing circuit is configured to perform a communication method as described in the first aspect above, or to perform a communication method as described in the second aspect above.
[0010] A seventh aspect of this application provides a non-transitory computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the communication method as described in the first aspect above, or perform the communication method as described in the second aspect above.
[0011] An eighth aspect of this application provides a computer program product having a computer program stored thereon, which, when executed by a processor, implements the communication method as described in the first aspect above, or performs the communication method as described in the second aspect above.
[0012] The communication method, apparatus, device, and chip proposed in this application send a call request to a network device, the call request being used to request the network device to page the called terminal; in response to not receiving a temporary response within a preset time period, a call cancellation request is sent to the network device, the call cancellation request being used to request the network device to cancel the paging of the called terminal; wherein, the temporary response is a response sent by the network device to the call request, the temporary response being used to indicate that the call request has been received by the network device; enabling the calling terminal to actively cancel unsuccessful calls, allowing unsuccessful calls to fail quickly, thereby enabling both the terminal side and the network side to release the corresponding session bearer resources in a timely manner, saving the time that network and called terminal resources are occupied, effectively saving resources, improving resource utilization, and improving the overall communication efficiency of the system.
[0013] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0014] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1A-1B This is a schematic diagram of a communication method interaction provided in an embodiment of this application; Figure 2 This is a flowchart illustrating a communication method provided in an embodiment of this application. Figure 3 A flowchart illustrating another communication method provided in an embodiment of this application; Figure 4 This is a flowchart illustrating a communication method provided in an embodiment of this application; Figure 5 This is a schematic diagram illustrating a communication method provided in an embodiment of this application. Figure 6 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application; Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application; Figure 9 This is a schematic diagram of the structure of a chip provided in an embodiment of this application. Detailed Implementation
[0015] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0016] The embodiments described in this application are not exhaustive, but merely illustrative of some embodiments, and are not intended to limit the scope of protection of this application. Unless otherwise specified, each step in a particular embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a particular embodiment can also be implemented as an independent embodiment, and the order of the steps in a particular embodiment can be arbitrarily interchanged. Furthermore, the optional implementation methods in a particular embodiment can be arbitrarily combined; moreover, the embodiments can be arbitrarily combined with each other. For example, some or all steps of different embodiments can be arbitrarily combined, and a particular embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.
[0017] In each embodiment of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of the embodiments are consistent and can be referenced by each other. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.
[0018] The terminology used in the embodiments of this application is for the purpose of describing specific embodiments only and is not intended to limit the scope of this application.
[0019] In the embodiments of this application, unless otherwise stated, elements expressed in the singular form, such as "a," "an," "the," "the aforementioned," "the," "the," "this," etc., can mean "one and only one," or "one or more," "at least one," etc. For example, when using articles such as "a," "an," "the," etc. in translation, the noun after the article can be understood as either a singular or a plural expression. In the embodiments of this application, "multiple" refers to two or more.
[0020] In some embodiments, the terms “at least one of,” “one or more,” “a plurality of,” and “multiple” may be used interchangeably.
[0021] In some embodiments, the notation "at least one of A and B", "A and / or B", "A in one case, B in another", "in response to one case A, in response to another case B", etc., may include the following technical solutions depending on the situation: in some embodiments, A (executes A regardless of B); in some embodiments, B (executes B regardless of A); in some embodiments, execution is selected from A and B (A and B are selectively executed); in some embodiments, both A and B are executed. The same applies when there are more branches such as A, B, C, etc.
[0022] The prefixes "first," "second," etc., used in the embodiments of this application are merely for distinguishing different descriptive objects and do not impose restrictions on the position, order, priority, quantity, or content of the descriptive objects. The description of the descriptive objects is found in the claims or the context of the embodiments, and the use of prefixes should not constitute unnecessary restrictions. For example, if the descriptive object is a "field," the ordinal numbers preceding "field" in "first field" and "second field" do not restrict the position or order of the "fields." "First" and "second" do not restrict whether the "fields" they modify are in the same message, nor do they restrict the order of "first field" and "second field." Similarly, if the descriptive object is a "level," the ordinal numbers preceding "level" in "first level" and "second level" do not restrict the priority between "levels." Furthermore, the number of descriptive objects is not limited by ordinal numbers and can be one or more. For example, in "first device," the number of "devices" can be one or more. Furthermore, the objects modified by different prefixes can be the same or different. For example, if the object being described is "device", then "first device" and "second device" can be the same device or different devices, and their types can be the same or different. Similarly, if the object being described is "information", then "first information" and "second information" can be the same information or different information, and their content can be the same or different.
[0023] In some embodiments, the terms “in response to…”, “in response to determining…”, “in the case of…”, “when…”, “if…”, “if…”, etc., can be used interchangeably.
[0024] In some embodiments, the terms “greater than,” “greater than or equal to,” “not less than,” “more than,” “more than or equal to,” “not less than,” “higher than,” “higher than or equal to,” “not lower than,” and “above” can be used interchangeably, as can the terms “less than,” “less than or equal to,” “not greater than,” “less than,” “less than or equal to,” “not more than,” “lower than,” “lower than or equal to,” “not higher than,” and “below”.
[0025] In some embodiments, "network" can be interpreted as devices included in the network, such as access network devices, core network devices, etc.
[0026] In some embodiments, access network devices, core network devices, or network devices can be replaced by terminals. For example, various embodiments of this application can also be applied to structures where communication between access network devices, core network devices, or network devices and terminals is replaced by communication between multiple terminals (e.g., device-to-device (D2D), vehicle-to-everything (V2X), etc.). In this case, the structure can also be configured such that the terminal has all or part of the functions of the access network device. Furthermore, terms such as "uplink" and "downlink" can be replaced with terms corresponding to communication between terminals (e.g., "sidelink"). For example, uplink channel, downlink channel, etc., can be replaced with sidelink channel, uplink link, downlink link, etc., can be replaced with sidelink link.
[0027] In some embodiments, the terminal may be replaced by an access network device, a core network device, or a network device. In this case, the access network device, core network device, or network device may also be configured to have all or some of the functions of the terminal.
[0028] In some embodiments, the acquisition of data, information, etc., may comply with the laws and regulations of the country where the location is situated.
[0029] In some embodiments, data, information, etc., may be obtained with the user's consent.
[0030] Furthermore, each element, each row, or each column in the table of this application embodiment can be implemented as an independent embodiment, and any combination of any element, any row, or any column can also be implemented as an independent embodiment.
[0031] In some embodiments, the technical solutions of this application can be applied to the Open RAN architecture. In this case, the interfaces between or within access network devices involved in the embodiments of this application can be transformed into internal interfaces of Open RAN. The processes and information interactions between these internal interfaces can be implemented by software or programs.
[0032] The embodiments of this application can be applied to IP Multimedia Subsystem (IMS), Non-terrestrial Network (NTN), Long Term Evolution (LTE), LTE-Advanced (LTE-A), LTE-Beyond (LTE-B), SUPER 3G, IMT-Advanced, 4th generation mobile communication system (4G), 5th generation mobile communication system (5G), 5G new radio (NR), Future Radio Access (FRA), New-Radio Access Technology (RAT), New Radio (NR), New radio access (NX), Futuregeneration radio access (FX), Global System for Mobile communications (GSM (registered trademark)), CDMA2000, Ultra Mobile Broadband (UMB), IEEE 802.11 (Wi-Fi (registered trademark)), IEEE 802.16 (WiMAX, a registered trademark), IEEE 802.20, Ultra-Wideband (UWB), Bluetooth (a registered trademark), Public Land Mobile Network (PLMN), Device-to-Device (D2D) systems, Machine-to-Machine (M2M) systems, Internet of Things (IoT) systems, Narrow Band-IoT (NB-IoT) systems, Vehicle-to-Everything (V2X) systems, systems utilizing other communication methods, and next-generation systems built upon them. Furthermore, multiple systems can be combined (e.g., a combination of LTE or LTE-A with 5G).
[0033] The IP Multimedia Subsystem (IMS) is a global, access-independent, standards-based IP channel and service control architecture widely used in modern communication networks to support the interaction and transmission of voice, video, messaging, and other multimedia applications. It enables end-users using different types of multimedia services based on the common IP protocol, aiming to achieve separation of services and networks for greater flexibility and interoperability.
[0034] The core of IMS relies on the Session Initialization Protocol (SIP) for session control, including establishing, modifying, and terminating sessions. SIP is a client / server protocol; therefore, SIP messages are divided into two types: request messages and response messages. Request messages are sent by the SIP client to the server to activate a specific operation, while response messages are used to respond to request messages, indicating the success or failure status of the call.
[0035] Voice over LTE (VoLTE) / Voice over NR (VoNR) (also known as 4G HD voice call / 5G HD voice call) is a voice communication technology based on an all-IP network. It directly transmits voice data packets through 4G LTE or 5G NR data networks, thereby providing a clearer, faster, and richer call experience than traditional circuit-switched calls.
[0036] In some embodiments, the SIP-based VoLTE / VoNR HD voice call establishment process can be as follows: Figure 1A As shown.
[0037] 1. When a caller (Mobile Originated, MO) initiates a call, it will contact the proxy call session control function (Proxy-Call Session Control Function, Proxy-CSCF, PCSCF) in its area (i.e., Figure 1A PCSCF1 in the middle sends an initial INVITE request.
[0038] 2. After PCSCF1 successfully receives and processes the request, it can send a 100 Trying temporary response to MO.
[0039] 3. PCSCF1 can obtain the service CSCF (Serving-CSCF, SSCCF) corresponding to the MO from the query CSCF (Interrogating-CSCF, ICSCF). Figure 1AThe SSCCF in the middle), and forward the INVITE request to the SSCCF.
[0040] 4-5. The SCSCF resolves the called number, retrieves the address of the called (Mobile Terminated, MT) phone number, and then uses the PCSCF (i.e., the address of the MT's region) to resolve the issue. Figure 1A The PCSCF2 in the middle is forwarded to MT.
[0041] 6. After MT successfully receives and processes the request, it can send a 100 Trying temporary response to PCSCF2.
[0042] 7-10. MT will reverse route the 183 Session Progress (or Progressing) response, which contains Session Description Protocol (SDP) information, to MO.
[0043] 11-14. After receiving the 183 response, the MO extracts the SDP information of the MT, confirms the media negotiation result based on the media description information in the received SDP, and establishes the corresponding bearer. Then, it sends a PRACK (Provisional Response Acknowledgement) request (acknowledgment of the 183 response) and returns to the MT along the original path.
[0044] 15-18. MT confirms the above PRACK request, sends a 200 OK response to MO, and completes media negotiation.
[0045] 19-22. Once MO receives a 200 OK acknowledgment from MT for PRACK and the local dedicated bearer is established, it can send an UPDATE request to indicate that it has the necessary resources to send and receive media.
[0046] 23-26. MT confirms the above UPDATE request and sends a 200 OK response to MO.
[0047] 27-30. MT sends a 180 Ringing response to indicate that it is in a ringing state.
[0048] 31-34. After the MT answers the call, the MT sends the final response to the INVITE request (in step 6 above) to PCSCF2 - a 200 OK response, and starts the media stream transmission for this session.
[0049] 35-38. MO sends an Acknowledge (ACK) request to the network side as an acknowledgment of the 200 OK response.
[0050] In some embodiments, a portion of the links in the routing paths of the above signaling may be abnormal, causing the calling MO to be unable to receive the corresponding 100 Trying provisional response after sending the initial INVITE request.
[0051] As an example, the initial INVITE might not receive 100 Tryings, which could be due to at least one of the following: Uplink error; initial INVITE message not sent successfully; network did not receive initial INVITE message. The uplink is normal, the initial INVITE message was sent successfully, the network received the initial INVITE message, and network processing failed. The uplink is normal, the initial INVITE is sent successfully, the network receives the initial INVITE message, the network processes it successfully, and sends 100 Trying to the terminal. However, the downlink is abnormal, so the terminal does not receive 100 Trying.
[0052] Related technologies stipulate that if no provisional response (1xx) is received during the initial INVITE, a CANCEL message should not be sent. However, this leads to a waste of bearer resources, especially in the event of downlink anomalies.
[0053] In the event of a downlink anomaly, the following can be done: Figure 1B As shown, the network can successfully process the INVITE request and page the called party, establishing corresponding bearer resources with the called party. If the calling terminal does not receive a 100 Trying response, it will release the corresponding session resources locally after the Tcall timer (usually 6 seconds) expires, without notifying the network. The network needs to retain this resource until the TIMER F timer (128 seconds) of the 183 expires, which causes unnecessary resource waste. Furthermore, since the corresponding temporary response is not received, the calling terminal must continuously retransmit the INVITE message at the prescribed intervals, which also leads to resource waste.
[0054] This application proposes a communication method, apparatus, device, and chip, in which the calling terminal can actively cancel unsuccessful calls, thereby enabling both the terminal side and the network side to release the corresponding session bearer resources in a timely manner, saving the time that network and called terminal resources are occupied, effectively saving resources, improving resource utilization, and enhancing the overall communication efficiency of the system.
[0055] Figure 2 This is a flowchart illustrating a communication method provided in an embodiment of this application.
[0056] It should be noted that the communication method of this application embodiment can be applied to a communication device. In some possible embodiments, the communication device can be configured in an electronic device or a chip so that the electronic device or chip can perform communication functions. In addition, in some possible embodiments, the communication device can also be software in an electronic device.
[0057] In any embodiment of this application, the chip can be integrated into an electronic device. The chip includes a Central Processing Unit (CPU), an Image Signal Processing (ISP), an Application-Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), a System-on-A-Chip (SOC), a Reduced Instruction Set Computer (RISC), etc., which will not be listed here.
[0058] Electronic devices include, but are not limited to, terminals and network devices.
[0059] In this context, a terminal is a user-side entity used to receive or transmit signals, such as a mobile phone. A terminal can also be called a terminal device (terminal), user equipment (UE), mobile station (MS), mobile terminal device (MT), etc. Terminals can be mobile phones with communication functions, wearable devices, tablets, computers with wireless transceiver capabilities, virtual reality (VR) terminals, augmented reality (AR) terminals, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, and so on. The embodiments in this application do not limit the specific technology or device form used in the terminal.
[0060] Network devices include, for example, nodes or devices that connect terminals to wireless networks. Network devices may include, but are not limited to, nodes such as satellites or drones in non-terrestrial networks, evolved Node B (eNB), next-generation eNB (ng-eNB), next-generation Node B (gNB), next-generation RAN node (NG-RAN node), node B (NB), home node B (HNB), home evolved node B (HeNB), radio backhaul equipment, radio network controller (RNC), base station controller (BSC), base transceiver station (BTS), base band unit (BBU), mobile switching center, base stations in 6G communication systems, open RAN, cloud RAN, base stations in other communication systems, and access nodes in Wi-Fi systems. The core network includes, for example, at least one of the following: network elements in the IMS architecture, Evolved Packet Core (EPC), 5G Core Network (5GCN), and Next Generation Core (NGC).
[0061] like Figure 2 As shown, this communication method is applied to a terminal and may include the following steps S201 to S202: Step S201: Send a call request to the network device. The call request is used to request the network device to page the called terminal.
[0062] In this embodiment of the application, the terminal executing the method is the calling terminal.
[0063] In the embodiments of this application, the network device can be a network element in the IMS architecture, such as a Call Session Control Function (CSCF).
[0064] In this embodiment of the application, the calling terminal can send a call request to the network device to request the network device to page the called terminal and initiate the call process.
[0065] In some embodiments, the aforementioned call request may be, for example, an INVITE request, an initial INVITE request, etc.
[0066] In some embodiments, the call request may carry Session Description Protocol (SDP) information, including the voice codec, media port, IP address, etc., supported by the calling terminal itself.
[0067] Optionally, the calling terminal may send the above call request using either User Datagram Protocol (UDP) or Transmission Control Protocol (TCP).
[0068] Step S202: In response to not receiving a temporary response within a preset time period, a call cancellation request is sent to the network device. The call cancellation request is used to request the network device to cancel paging of the called terminal.
[0069] In this embodiment of the application, if the calling terminal does not receive a temporary response corresponding to the aforementioned call request within a preset time period, the calling terminal may send a call cancellation request to the network device to request the network device to cancel paging the aforementioned called terminal.
[0070] The aforementioned provisional response is sent by the network device in response to the aforementioned call request. In other words, the provisional response is a reply to the aforementioned call request. The provisional response is used to indicate that the aforementioned call request has been received by the network device.
[0071] In some embodiments, the aforementioned temporary response may be, for example, a 100 Trying response.
[0072] Furthermore, in some embodiments, if the calling terminal determines that it has not received a temporary response to the call request within a preset time period, it may also locally release the session resources corresponding to the call request.
[0073] In some embodiments, the call cancellation request is further used by the network device and the called terminal to release the session resources corresponding to the call request. That is, after receiving the call cancellation request, the network device can also send a call cancellation request to the called terminal to end the call process, and the network device and the called terminal can release the session resources corresponding to the call request based on the received call cancellation request.
[0074] In some embodiments, the call cancellation request may be, for example, a CANCEL request.
[0075] Optionally, the aforementioned preset duration can be a duration pre-defined by the protocol. After sending the aforementioned call request, if the calling terminal does not receive a response from the network device within the preset duration, the calling terminal can consider the call unsuccessful and thus actively cancel the call.
[0076] Optionally, the aforementioned preset duration can be implemented by the calling terminal starting a timer. Specifically, the calling terminal can start a first timer at the moment of sending the aforementioned call request, and the duration of the first timer is the aforementioned preset duration.
[0077] Furthermore, if the calling terminal determines that it has not received the aforementioned temporary response and that the aforementioned first timer has expired, it may send the aforementioned call cancellation request to the network device.
[0078] In some embodiments, the reason why the calling terminal does not receive the aforementioned temporary response within the aforementioned preset time period may include at least one of the following: An uplink error occurred between the calling terminal and the network device; The network device failed to process the above call request; The downlink between the calling terminal and the network equipment is abnormal.
[0079] Understandably, an uplink anomaly between the calling terminal and the network device indicates that the aforementioned call request will not be successfully sent, and the network device will not receive it. The network device's failure to process the call request indicates that it successfully received the request but failed to process it; that is, the uplink between the calling terminal and the network device is normal, the call request was successfully sent, but the network side failed to process it. A downlink anomaly between the calling terminal and the network device indicates that the uplink between them is normal, and the network device can successfully receive and process the call request and send a temporary response to the terminal, but due to the downlink anomaly, the calling terminal does not receive the temporary response.
[0080] Alternatively, the calling terminal may also send the above call cancellation request using UDP or TCP.
[0081] In some embodiments, since no provisional response to the call request has been received, the calling terminal may resend the call request at predetermined intervals before determining to send the aforementioned call cancellation request.
[0082] The communication method of this application embodiment sends a call request to a network device, the call request being used to request the network device to page the called terminal; in response to no temporary response received within a preset time period, a call cancellation request is sent to the network device, the call cancellation request being used to request the network device to cancel the paging of the called terminal; this enables the calling terminal to actively cancel unsuccessful calls, allowing unsuccessful calls to fail quickly, thereby enabling both the terminal side and the network side to release the corresponding session bearer resources in a timely manner, saving the time that network and called terminal resources are occupied, effectively saving resources, improving resource utilization, and enhancing the overall communication efficiency of the system.
[0083] This application provides another communication method. Figure 3 This is a flowchart illustrating another communication method provided in an embodiment of this application.
[0084] like Figure 3 As shown, this communication method is applied to a terminal and may include the following steps S301 to S303: Step S301: Send a call request to the network device and start the first timer.
[0085] The aforementioned call request is used to request the network device to page the called terminal.
[0086] In this embodiment of the application, the terminal executing the method is the calling terminal. The calling terminal can send a call request to the network device to request the network device to page the called terminal and initiate the call process.
[0087] In this embodiment of the application, the calling terminal may also start a first timer when sending the above-mentioned call request.
[0088] In some embodiments, the runtime of the first timer is a preset duration. As an example, the runtime of the first timer can be set to 6 seconds.
[0089] In some embodiments, the aforementioned call request may be, for example, an INVITE request, an initial INVITE request, etc.
[0090] In some embodiments, the call request may carry Session Description Protocol (SDP) information, etc.
[0091] Optionally, the calling terminal may send the above call request using UDP or TCP.
[0092] In step S302, in response to the lack of a temporary response and the expiration of the first timer, a call cancellation request is sent to the network device.
[0093] In this embodiment of the application, if the calling terminal does not receive a temporary response corresponding to the aforementioned call request before the first timer expires, the calling terminal may send a call cancellation request to the network device to request the network device to cancel paging the aforementioned called terminal.
[0094] The aforementioned provisional response is sent by the network device in response to the aforementioned call request. In other words, the provisional response is a reply to the aforementioned call request, indicating that the call request has been received by the network device.
[0095] In some embodiments, the aforementioned temporary response may be, for example, a 100 Trying response.
[0096] Optionally, the duration of the first timer can be a pre-defined duration specified in the protocol. After sending the call request, if the calling terminal does not receive a response from the network device within the duration of the first timer, the calling terminal can consider the call unsuccessful and thus actively cancel the call.
[0097] In some embodiments, the call cancellation request is further used by the network device and the called terminal to release the session resources corresponding to the call request. That is, after receiving the call cancellation request, the network device can also send a call cancellation request to the called terminal to end the call process, and the network device and the called terminal can release the session resources corresponding to the call request based on the received call cancellation request.
[0098] In some embodiments, the call cancellation request may be, for example, a CANCEL request.
[0099] In some embodiments, the reason why the calling terminal does not receive the aforementioned provisional response before the first timer expires may include at least one of the following: An uplink error occurred between the calling terminal and the network device; The network device failed to process the above call request; The downlink between the calling terminal and the network equipment is abnormal.
[0100] In some embodiments, in response to a downlink anomaly between the calling terminal and the network device, the call cancellation request is further used by the network device and the called terminal to release the session resources corresponding to the call request.
[0101] Understandably, in the event of a downlink anomaly between the calling terminal and the network device, both the network device and the called terminal can release the corresponding session resources based on the aforementioned call cancellation request. The calling terminal's proactive sending of a call cancellation request after the first timer expires will not affect the remaining two scenarios: In the event of an uplink anomaly between the calling terminal and the network device, the aforementioned call request will not be successfully sent, and the network device will not receive it; therefore, the aforementioned call cancellation request will also not be successfully sent, and the network device will not receive it. Furthermore, since the network device has not received the call request, it will not establish the session bearer resource corresponding to the call request. In the case of the network device failing to process the call request, it means that the network device successfully received the call request, but the processing failed. That is, the uplink between the calling terminal and the network device is normal, the call request was successfully sent, but the network side did not successfully process the request. Therefore, since no corresponding call request was processed, the aforementioned call cancellation request will also not be successfully processed, and the network device can directly discard the call cancellation request. Furthermore, since the network device has not successfully processed the call request, it will not establish the session bearer resource corresponding to the call request.
[0102] Alternatively, the calling terminal may also send the above call cancellation request using UDP or TCP.
[0103] In some embodiments, since no provisional response to the call request has been received, the calling terminal may resend the call request at predetermined intervals before determining to send the aforementioned call cancellation request.
[0104] Step S303: Release the session resources corresponding to the call request locally.
[0105] In this embodiment of the application, if the calling terminal determines that it has not received the aforementioned temporary response and the first timer has timed out, that is, the calling terminal has not received the temporary response corresponding to the call request within the running time of the first timer, it can release the session resources corresponding to the aforementioned call request locally.
[0106] The communication method of this application embodiment starts a first timer by sending a call request to a network device; in response to the failure to receive a temporary response and the first timer expiring, a call cancellation request is sent to the network device; the session resources corresponding to the call request are released locally; this enables the calling terminal to actively cancel unsuccessful calls, allowing unsuccessful calls to fail quickly, thereby enabling both the terminal side and the network side to release the corresponding session bearer resources in a timely manner, saving the time that network and called terminal resources are occupied, effectively saving resources, improving resource utilization, and enhancing the overall communication efficiency of the system.
[0107] This application provides a communication method. Figure 4 This is a flowchart illustrating another communication method provided in an embodiment of this application.
[0108] like Figure 4 As shown, this communication method is applied to a network device and may include the following steps S401 to S404: Step S401: Receive a call request sent by the calling terminal. The call request is used to request the network device to page the called terminal.
[0109] In this embodiment of the application, the network device can be a network element in the IMS architecture, such as the Call Session Control Function (CSCF).
[0110] In this embodiment of the application, the network device can receive a call request sent by the calling terminal and process the call request to page the called terminal based on the call request.
[0111] In some embodiments, the aforementioned call request may be, for example, an INVITE request, an initial INVITE request, etc.
[0112] In some embodiments, the call request may carry Session Description Protocol (SDP) information, including voice codecs, media ports, IP addresses, etc., supported by the calling terminal itself.
[0113] Optionally, the calling terminal may use User Datagram Protocol (UDP) or Transmission Control Protocol (TCP) to send the above call request.
[0114] Step S402: Send a temporary response to the aforementioned call request to the calling terminal.
[0115] In this embodiment of the application, the network device can process the call request sent by the calling terminal and send a temporary response to the call request to the calling terminal to indicate that the call request has been received by the network device.
[0116] In some embodiments, the aforementioned temporary response may be, for example, a 100 Trying response.
[0117] In this embodiment of the application, the downlink between the calling terminal and the network device is abnormal, causing the calling terminal to fail to receive the aforementioned temporary response sent by the network device.
[0118] Step S403: Paging the called terminal based on the above call request.
[0119] In this embodiment of the application, the network device can page the called terminal based on the received call request.
[0120] In some embodiments, the network device may process a call request and page the called terminal based on the relevant information carried therein.
[0121] In some embodiments, the network device and the called terminal may further establish session bearer resources corresponding to the aforementioned call request.
[0122] Step S404: Receive a call cancellation request sent by the calling terminal. The call cancellation request is used to request the network device to cancel paging of the called terminal.
[0123] In this embodiment of the application, if the downlink between the calling terminal and the network device is abnormal, causing the calling terminal to not receive the aforementioned temporary response sent by the network device within a preset time period, the calling terminal will send a call cancellation request to request the cancellation of the aforementioned paging of the called terminal.
[0124] Optionally, the aforementioned preset duration can be a duration pre-defined by the protocol. After sending the aforementioned call request, if the calling terminal does not receive a response from the network device within the preset duration, the calling terminal can consider the call unsuccessful and thus actively cancel the call.
[0125] Optionally, the aforementioned preset duration can be implemented by the calling terminal starting a timer. Specifically, the calling terminal can start a first timer at the moment of sending the aforementioned call request, and the duration of the first timer is the aforementioned preset duration.
[0126] Furthermore, if the calling terminal determines that it has not received the aforementioned temporary response and that the aforementioned first timer has expired, it may send the aforementioned call cancellation request to the network device.
[0127] In this embodiment of the application, the network device is able to receive a call cancellation request sent by the calling terminal, and cancel paging of the called terminal based on the call cancellation request.
[0128] In some embodiments, after receiving a call cancellation request, the network device can forward the call cancellation request to the called terminal and interact with the called terminal to confirm the cancellation process. Furthermore, in some embodiments, the network device and the called terminal may release the session resources corresponding to the aforementioned call request based on the call cancellation request.
[0129] In some embodiments, the call cancellation request may be, for example, a CANCEL request.
[0130] In some embodiments, before receiving the aforementioned call cancellation request, the network device may repeatedly send session progress messages to the calling terminal at preset intervals to indicate that the session corresponding to the aforementioned call request is in a continuing state.
[0131] In some embodiments, the aforementioned session progress message may be, for example, 183 Progressing.
[0132] In some embodiments, the interval at which the network device retransmits the session progress message may be, for example, 2 seconds after the first transmission of the session progress message, and 4 seconds after the second transmission.
[0133] Optionally, the network device may also retransmit the session progress message 8 seconds after the third transmission, or 16 seconds later, etc.
[0134] The communication method of this application embodiment receives a call request sent by a calling terminal, the call request being used to request a network device to page the called terminal; sends a temporary response to the call request to the calling terminal; pages the called terminal based on the call request; and receives a call cancellation request sent by the calling terminal, the call cancellation request being used to request the network device to cancel the paging of the called terminal. This enables the calling terminal to actively cancel unsuccessful calls, allowing unsuccessful calls to fail quickly, thereby enabling both the terminal side and the network side to release the corresponding session bearer resources in a timely manner, saving the time that network and called terminal resources are occupied, effectively saving resources, improving resource utilization, and enhancing the overall communication efficiency of the system.
[0135] This application provides a communication method. Figure 5 This is a flowchart illustrating a communication method provided in an embodiment of this application.
[0136] like Figure 5 As shown, the following steps may be included: 1. When the calling MO (i.e., the calling terminal in each embodiment of this application) initiates a call, it will send an initial INVITE request to the network device.
[0137] 2. After the network device successfully receives and processes the request, it can send a 100 Trying temporary response to the MO. However, due to a downlink anomaly between the network device and the MO, the MO may not receive this temporary response.
[0138] 3-5. The network device can resolve the called number, query and obtain the address of the called MT (that is, the called terminal in each embodiment of this application), and forward it to the MT.
[0139] 6. After successfully receiving and processing the request, the MT can send a 100 Trying temporary response to the network device.
[0140] 7-10. The MT reverse-routes the 183 Session Progress (or Progressing) response, which contains Session Description Protocol (SDP) information, to the MO. However, due to a downlink anomaly between the network device and the MO, the MO also fails to receive the 183 response.
[0141] 11. Since the network device cannot receive the MO's acknowledgment of the 183 response, it will retransmit the 183 response at a preset interval.
[0142] 12. If the MO determines that it has not received the 100 Trying response to the INVITE request, it sends a CANCEL request to the network device after the preset Tcall timer expires and releases the corresponding session resources locally.
[0143] 13-15. The network device can process the request and forward the CANCEL request to the MT.
[0144] 16. After receiving a CANCEL request, the MT can send a 200 OK response message to the network device to confirm that the MT has received the request and processed it successfully.
[0145] 17. MT stops processing the original INVITE request and sends a 487 termination response to the network device to confirm that the call has been successfully terminated.
[0146] 18. After receiving the 487 response, the network device sends an ACK confirmation message to complete the call cancellation process.
[0147] In the above embodiments, the network immediately releases the resources corresponding to the calling party upon receiving the CANCEL, which can greatly save the time that network resources are occupied. In extreme cases, if network resources are exhausted, new calls may not be able to be established, resulting in a large number of unreachable calls. This solution can appropriately reduce this problem. At the same time, if the network has already paged the called party, it will also release the network resources corresponding to the called party, avoiding the situation where the called party cannot be connected due to the failure to release the called party's resources in time. In addition, the retransmission of INVITE messages by the calling party can also be stopped in a timely manner (for example, if INVITE is sent using UDP, the underlying layer will retransmit the request at intervals; if INVITE is sent using TCP, the higher layer will retransmit the request at intervals as instructed). The above embodiments can make unsuccessful calls fail quickly, thereby saving resources.
[0148] To implement the above embodiments, this application also proposes a communication device.
[0149] Figure 6This is a schematic diagram of the structure of a communication device provided in an embodiment of this application.
[0150] like Figure 6 As shown, the communication device 600 may include: a first transmitting module 610 and a second transmitting module 620.
[0151] The first sending module 610 is used to send a call request to the network device, wherein the call request is used to request the network device to page the called terminal. The second sending module 620 is used to send a call cancellation request to the network device in response to not receiving a temporary response within a preset time period. The call cancellation request is used to request the network device to cancel paging of the called terminal. The aforementioned temporary response is a response sent by the network device to the aforementioned call request, and the aforementioned temporary response is used to indicate that the aforementioned call request has been received by the network device.
[0152] Optionally, the above-mentioned device further includes: a processing module (not shown in the figure), used to locally release the session resources corresponding to the above-mentioned call request.
[0153] Optionally, in response to a downlink anomaly between the calling terminal and the aforementioned network device, the call cancellation request is further used by the aforementioned network device and the aforementioned called terminal to release the session resources corresponding to the call request.
[0154] Optionally, the second transmitting module 620 is specifically used for: At the moment the aforementioned call request is sent, a first timer is started; wherein the duration of the first timer is the aforementioned preset duration; In response to the failure to receive the aforementioned provisional response and the expiration of the aforementioned first timer, a call cancellation request is sent to the aforementioned network device.
[0155] Optionally, the first sending module 610 is specifically used to send the call request to the network device using User Datagram Protocol (UDP) or Transmission Control Protocol (TCP).
[0156] It should be noted that the explanation of the communication method embodiment executed by the terminal described above also applies to the communication device of this embodiment, and will not be repeated here.
[0157] The communication device in this application embodiment sends a call request to a network device, the call request being used to request the network device to page the called terminal; in response to not receiving a temporary response within a preset time period, it sends a call cancellation request to the network device, the call cancellation request being used to request the network device to cancel the paging of the called terminal; this enables the calling terminal to actively cancel unsuccessful calls, allowing unsuccessful calls to fail quickly, thereby enabling both the terminal side and the network side to release the corresponding session bearer resources in a timely manner, saving the time that network and called terminal resources are occupied, effectively saving resources, improving resource utilization, and enhancing the overall communication efficiency of the system.
[0158] Figure 7 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application.
[0159] like Figure 7 As shown, the communication device 700 may include: a first receiving module 710, a first transmitting module 720, a second transmitting module 730, and a second receiving module 740.
[0160] The first receiving module 710 is used to receive a call request sent by the calling terminal, wherein the call request is used to request the network device to page the called terminal. The first sending module 720 is used to send a temporary response to the call request to the calling terminal, wherein the temporary response is used to indicate that the call request has been received by the network device. The second sending module 730 is used to page the called terminal based on the above-mentioned call request; The second receiving module 740 is used to receive a call cancellation request sent by the calling terminal, the call cancellation request being used to request the network device to cancel paging of the called terminal. The aforementioned call cancellation request is sent by the calling terminal in response to not receiving a temporary response within a preset time period.
[0161] Optionally, the above apparatus further includes: a processing module (not shown in the figure), used to release the session resources corresponding to the call request based on the call cancellation request in response to a downlink anomaly between the calling terminal and the network device.
[0162] Optionally, the above-mentioned device further includes: a third sending module (not shown in the figure), used to repeatedly send session progress messages to the calling terminal at preset intervals, wherein the session progress messages are used to indicate that the session is in a connected state.
[0163] Optionally, the call cancellation request is sent by the calling terminal in response to not receiving the temporary response and the first timer expiring. The start time of the first timer is the moment when the calling terminal sends the call request, and the runtime of the first timer is the preset duration.
[0164] Optionally, the first receiving module 710 is specifically used to: receive the call request sent by the calling terminal using User Datagram Protocol (UDP) or Transmission Control Protocol (TCP).
[0165] It should be noted that the explanation of the communication method embodiment performed on the network device described above also applies to the communication device of this embodiment, and will not be repeated here.
[0166] The communication device in this application embodiment enables the calling terminal to actively cancel unsuccessful calls, allowing unsuccessful calls to fail quickly. This allows both the terminal side and the network side to release the corresponding session bearer resources in a timely manner, saving the time that network and called terminal resources are occupied, effectively saving resources, improving resource utilization, and enhancing the overall communication efficiency of the system.
[0167] To implement the above embodiments, this application also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the communication method as described in any of the foregoing embodiments.
[0168] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. For example, the electronic device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0169] Reference Figure 8 The electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.
[0170] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 620 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0171] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0172] Power component 806 provides power to various components of electronic device 800. Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.
[0173] Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a Touch Panel, the screen may be implemented as a touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0174] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0175] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0176] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 can detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0177] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, 4G, or 5G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID), Infrared Data Association (IrDA), Ultra-Wideband (UWB), Bluetooth, and other technologies.
[0178] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0179] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 620 of an electronic device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0180] To implement the above embodiments, this application also proposes a chip, wherein the chip includes an interface circuit and a processing circuit coupled to each other. The interface circuit is used to input or output signals, and the processing circuit is configured to perform the communication method provided in any of the foregoing embodiments.
[0181] Figure 9 This is a schematic diagram of a chip structure provided in an embodiment of this application. See also... Figure 9 The diagram shown is a schematic representation of the structure of chip 900, but it is not limited to this.
[0182] Chip 900 includes processing circuitry 901, which is configured to perform any of the above communication methods.
[0183] In some embodiments, the chip 900 further includes one or more interface circuits 902. Optionally, the interface circuit 902 is connected to the memory 903, and the interface circuit 902 can be used to receive signals from the memory 903 or other devices, and the interface circuit 902 can be used to send signals to the memory 903 or other devices. For example, the interface circuit 902 can read instructions stored in the memory 903 and send the instructions to the processing circuit 901.
[0184] In some embodiments, the interface circuit 902 performs at least one of the communication steps such as sending and / or receiving in the above method, and the processing circuit 901 performs other steps.
[0185] In some embodiments, the terms interface circuit, interface, transceiver pin, transceiver, etc., can be used interchangeably.
[0186] In some embodiments, chip 900 further includes one or more memories 903 for storing instructions. Optionally, all or part of the memories 903 may be located outside of chip 900.
[0187] To implement the above embodiments, this application also proposes a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the communication method as described in any of the foregoing method embodiments.
[0188] To implement the above embodiments, this application also proposes a computer program product having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the communication method as described in any of the foregoing method embodiments.
[0189] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0190] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0191] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0192] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-including system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and compact disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0193] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using at least one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0194] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0195] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0196] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of this application.
Claims
1. A communication method characterized by comprising: The method comprises: sending a call request to a network device, the call request being used to request the network device to page a called terminal; sending a call cancellation request to the network device in response to not receiving a temporary response within a preset time length, the call cancellation request being used to request the network device to cancel paging of the called terminal; wherein the temporary response is a response to the call request sent by the network device, and the temporary response is used to indicate that the call request has been received by the network device.
2. The method of claim 1, wherein, The method further comprises: locally releasing session resources corresponding to the call request.
3. The method of claim 1 or 2, wherein: in response to downlink abnormality between the calling terminal and the network device, the call cancellation request is further used to release, by the network device and the called terminal, the session resources corresponding to the call request.
4. The method according to any one of claims 1 to 3, characterized in that, The sending of the call cancellation request in response to not receiving the temporary response within the preset time length comprises: starting a first timer at a time of sending the call request, wherein a running time length of the first timer is the preset time length; sending the call cancellation request to the network device in response to not receiving the temporary response and the first timer expiring.
5. The method according to any one of claims 1 to 3, characterized in that, The sending of the call request to the network device comprises: sending the call request to the network device by using a user datagram protocol (UDP) or a transmission control protocol (TCP).
6. A communication method characterized by comprising: The method comprises: receiving a call request sent by a calling terminal, the call request being used to request a network device to page a called terminal; sending a temporary response to the call request to the calling terminal, the temporary response being used to indicate that the call request has been received by the network device; paging the called terminal based on the call request; receiving a call cancellation request sent by the calling terminal, the call cancellation request being used to request the network device to cancel paging of the called terminal; wherein the call cancellation request is sent by the calling terminal in response to not receiving the temporary response within a preset time length.
7. The method of claim 6, wherein, The method further comprises: in response to downlink abnormality between the calling terminal and the network device, releasing, based on the call cancellation request, session resources corresponding to the call request.
8. The method of claim 7, wherein, Before receiving the call cancellation request, the method further comprises: repeatedly sending a session progress message to the calling terminal at a preset interval, the session progress message being used to indicate that the session is in a connecting state.
9. The method of any one of claims 6-8, wherein: the call cancellation request is sent by the calling terminal in response to not receiving the temporary response and a first timer expiring, a starting time of the first timer being a time of sending the call request by the calling terminal, and a running time length of the first timer being the preset time length.
10. The method according to any one of claims 6-8, characterized in that, The receiving of the call request sent by the calling terminal comprises: receiving the call request sent by the calling terminal by using a user datagram protocol (UDP) or a transmission control protocol (TCP).
11. A communications device, characterized by The method comprises: a first sending module configured to send a call request to a network device, the call request being used to request the network device to page a called terminal; The second sending module is configured to send, in response to not receiving the temporary response within a preset time length, a call cancellation request to the network device, where the call cancellation request is used to request the network device to cancel paging of the called terminal. The temporary response is a response to the call request sent by the network device, and the temporary response is used to indicate that the call request has been received by the network device.
12. The apparatus of claim 11, wherein, The apparatus further includes: The processing module is configured to locally release session resources corresponding to the call request.
13. The apparatus of claim 11 or 12, wherein, In response to downlink abnormality between the calling terminal and the network device, the call cancellation request is further used to release, by the network device and the called terminal, the session resources corresponding to the call request.
14. The apparatus of any one of claims 11-13, wherein, The second sending module is specifically configured to: start a first timer at a time of sending the call request, where a running time length of the first timer is the preset time length; In response to not receiving the temporary response and the first timer expiring, send a call cancellation request to the network device.
15. The apparatus of any of claims 11-13, wherein, The first sending module is specifically configured to: send the call request to the network device by using a user datagram protocol (UDP) or a transmission control protocol (TCP).
16. A communications device, characterized by The apparatus further includes: The first receiving module is configured to receive a call request sent by a calling terminal, where the call request is used to request a network device to page a called terminal. The first sending module is configured to send a temporary response to the call request to the calling terminal, where the temporary response is used to indicate that the call request has been received by the network device. The second sending module is configured to page the called terminal based on the call request. The second receiving module is configured to receive a call cancellation request sent by the calling terminal, where the call cancellation request is used to request the network device to cancel paging of the called terminal. The call cancellation request is sent by the calling terminal in response to not receiving the temporary response within a preset time length.
17. The apparatus of claim 16, wherein, The apparatus further includes: The processing module is configured to release, in response to downlink abnormality between the calling terminal and the network device, session resources corresponding to the call request based on the call cancellation request.
18. The apparatus of claim 17, wherein, The apparatus further includes: The third sending module is configured to repeatedly send a session progress message to the calling terminal at a preset interval, where the session progress message is used to indicate that the session is in a connection state.
19. The apparatus of any of claims 16-18, wherein The call cancellation request is sent by the calling terminal in response to not receiving the temporary response and a first timer expiring, a starting time of the first timer is a time of sending the call request by the calling terminal, and a running time length of the first timer is the preset time length.
20. The apparatus of any one of claims 16-18, wherein, The first receiving module is specifically configured to: receive the call request sent by the calling terminal by using a user datagram protocol (UDP) or a transmission control protocol (TCP).
21. An electronic device, comprising: A computer program product comprising a memory, a processor and a computer program stored on the memory and loadable into the processor, the processor implementing the steps of the method according to any one of claims 1 to 5 or the steps of the method according to any one of claims 6 to 10 when executing the program.
22. A non-transitory computer-readable storage medium having stored thereon computer program instructions, wherein, The program instructions implement the steps of the method according to any one of claims 1 to 5 or the steps of the method according to any one of claims 6 to 10 when executed by the processor.
23. A chip, characterized by The chip comprises an interface circuit and a processing circuit coupled to each other, the interface circuit is used for inputting or outputting signals, and the processing circuit is used for implementing the steps of the method according to any one of claims 1 to 5 or the steps of the method according to any one of claims 6 to 10.
24. A computer program product, characterised in that, A computer program product comprising a computer program, the computer program implementing the steps of the method according to any one of claims 1 to 5 or the steps of the method according to any one of claims 6 to 10 when executed by the processor.