A communication method, terminal device and readable storage medium
The terminal device determines whether the resource reservation tag is carried in the invite message based on the network registration type, which solves the problem of failed resource reservation negotiation in VoWi-Fi calls, and realizes the timely sending and successful call of the IMS core network ring message, improving the User experience and cellular network resource reservation efficiency.
Patent Information
- Application Number
- CN202410531026.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-04-29
AI Technical Summary
In the mobile communication system, the terminal device that establishes a call through VoWi-Fi does not need resource reservation, resulting in the IMS core network not being able to reserve resource negotiation messages, thus unable to send a ringing message to the user, resulting in the call failure.
The terminal device decides whether to send an invite message to the IMS core network of resource reserved tags according to the network registration type. It does not carry resource reserved tags when communicating through the wireless LAN, and carries resource reserved tags when communicating through the cellular network, so that the IMS core network can Timely conduct resource reservation negotiation and sending ringing messages.
Improve the user experience of establishing calls through VoWi-Fi, ensure that calls can be successfully established, and improve the efficiency of resource reservation negotiation for cellular network calls.
Smart Images

Figure CN118317381B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a communication method, a terminal device, and a readable storage medium. Background Art
[0002] In a mobile communication system, when a calling device needs to establish a call with another called device, the calling device can initiate a call request (invite) message to the IMS core network based on the voice call technology of the IP multimedia subsystem (IMS) in a cellular network or a wireless local area network, such as voice over Wi-Fi (VoWi-Fi), so as to establish a call with the other called device. Regardless of the type of network based on which the calling device initiates an invite message to the IMS core network, a resource reservation tag, such as a precondition tag, will be carried in the invite message, which is used to indicate that the calling device has the resource reservation capability. Resource reservation refers to the calling device reserving the corresponding bearer resources for the session between itself and the other called device, and the session will not be established if the resource reservation is not completed. It can be understood that based on the provisions of the 3rd Generation Partnership Project (3GPP), terminal devices that establish calls through VoWi-Fi do not need to reserve resources.
[0003] For example, Figure 1 A scenario diagram of a calling device initiating a call request is shown. Based on VoWi-Fi communication, mobile phone 10 (calling device) sends an invite message to the IMS core network and carries a precondition tag. After receiving the invite message sent by mobile phone 10, the IMS core network can send a 183 message to mobile phone 10 and carry a precondition tag, indicating that the invite message has been received and that it has the ability to reserve resources. In addition, since the invite message received by the IMS core network carries a precondition tag, the IMS core network needs to wait for mobile phone 10 to send a resource reservation negotiation message before it can further advance the call establishment process.
[0004] However, since the mobile phone 10 establishes a call based on VoWi-Fi, resource reservation is not required, and the mobile phone 10 will not send a resource reservation negotiation message to the IMS core network. The IMS core network cannot wait for the resource reservation negotiation message from the mobile phone 10, and will not send a ringing message (180ringing) to the mobile phone 10. 180ringing is used to indicate that the other called device has received the call request from the mobile phone 10 and is ringing. Based on this, the mobile phone 10 fails to establish the call. Summary of the invention
[0005] To solve the above problems, the present application provides a communication method, a terminal device and a readable storage medium.
[0006] In a first aspect, the present application provides a communication method, applied to a terminal device, the method comprising: in response to a first call initiation instruction, detecting the network registration type of the terminal device; corresponding to the terminal device communicating based on the first network registration type, sending a first session message to establish a call, the first session message not including a resource reservation tag, wherein the first network registration type includes a wireless local area network; corresponding to the terminal device communicating based on the second network registration type, sending a second session message to establish a call, the second session message including a resource reservation tag.
[0007] It can be understood that the terminal device may refer to the calling device (such as mobile phone 10) mentioned in the embodiment of the present application, the first network registration type may refer to the wireless local area network mentioned in the embodiment of the present application, the second network registration type may refer to the cellular network mentioned in the embodiment of the present application, the first session message may refer to the invite message carrying the resource reservation tag mentioned in the embodiment of the present application, the second session message may refer to the invite message not carrying the resource reservation tag mentioned in the embodiment of the present application, and the resource reservation tag may refer to the precondition tag mentioned in the embodiment of the present application.
[0008] It can be understood that based on the regulations of 3GPP, when a terminal device sends a session establishment message to the IMS core network requesting establishment, it needs to carry a resource reservation tag. Terminal devices that establish calls through a wireless LAN do not need to reserve resources, but terminal devices that establish calls through a cellular network need to reserve resources.
[0009] In some embodiments of the present application, a terminal device that establishes a call based on a wireless local area network can send a first session message that does not carry a resource reservation tag to the IMS core network, and the terminal device that establishes a call based on a wireless local area network does not need to send a resource reservation negotiation message to the IMS core network.
[0010] Through the method provided in the embodiment of the present application, for a terminal device that communicates through a wireless local area network, that is, a terminal device that establishes a call through VoWi-Fi, a first session message that does not carry a resource reservation tag can be sent to the IMS core network to request to establish a call. In this way, after receiving the first session message, the IMS core network does not need to wait for the resource reservation negotiation message that the terminal device will not send before continuing the subsequent call establishment process. Instead, a ringing message (180ringing) can be sent to the terminal device, so that the terminal device can communicate through the wireless local area network, that is, the terminal device can establish a call through VoWi-Fi, thereby improving the user experience of establishing a call based on VoWi-Fi.
[0011] In a possible implementation of the first aspect above, the terminal device includes a first prefabricated network identifier list, the first prefabricated network identifier list includes at least one prefabricated network identifier, and, in response to a first call initiation instruction, detecting the network registration type of the terminal device, including: obtaining the first network identifier of the terminal device; corresponding to the first network identifier being the same as the first prefabricated network identifier in the first prefabricated network identifier list, obtaining a first parameter, and determining the network registration type of the terminal device based on the first parameter, wherein the first parameter is a parameter that identifies the network registration type of the terminal device.
[0012] It can be understood that the first prefabricated network identifier list may refer to the prefabricated public land mobile network identifier list mentioned in the embodiment of the present application, that is, the prefabricated plmn list; the prefabricated network identifier may refer to the prefabricated public land mobile network identifier mentioned in the embodiment of the present application, that is, the prefabricated plmn; the first network identifier may refer to the public land mobile network identifier plmn of the terminal device mentioned in the embodiment of the present application; the first parameter may refer to the "P-Access-Network-Info" of the terminal device mentioned in the embodiment of the present application, which is used to identify the network registration type of the terminal device. If "P-Access-Network-Info=i-wlan", it can be determined that the network registration type of the terminal device is a wireless local area network.
[0013] In a possible implementation of the first aspect above, corresponding to the terminal device communicating based on the first network registration type, sending a first session message to establish a call includes: judging the network registration type of the terminal device based on the first parameter; corresponding to the terminal device communicating based on the first network registration type, judging whether the terminal device is a calling device, wherein the calling device refers to the terminal device requesting to establish a call.
[0014] In some embodiments of the present application, when it is determined that the terminal device communicates based on the first network registration type, namely, the wireless local area network, it can be further determined that the terminal device is a calling device, and the calling device can send a first session message to the IMS core network based on the wireless local area network to request to establish a call.
[0015] In a possible implementation of the first aspect above, the terminal device includes first preset identification information, and the first preset identification information is used to indicate the communication direction between the terminal device and the network, and corresponding to the terminal device communicating based on the first network registration type, judging whether the terminal device is a calling device includes: obtaining the first preset identification information of the terminal device, and determining that the terminal device is a calling device based on the first preset identification information.
[0016] It can be understood that the first preset identification information may refer to the "UE TO NETWORK" mentioned in the embodiment of the present application, which is used to identify the terminal device as a calling device. In other embodiments, the first preset identification information may also be "NETWORK TO UE", which is used to identify the terminal device as a called device, which is not limited here.
[0017] In a possible implementation of the first aspect above, corresponding to the terminal device communicating based on the first network registration type, sending a first session message to establish a call, it also includes: corresponding to the terminal device communicating based on the first network registration type and the terminal device being a calling device, sending a first session message to the core network for requesting to establish a call; wherein the first session message does not include a resource reservation tag, and the resource reservation tag is used to indicate that the terminal device has resource reservation capability.
[0018] In some embodiments of the present application, after determining that the terminal device is based on the first network registration type, i.e., wireless local area network communication, and the terminal device is a calling device that can send a first session message to request to establish a call, the terminal device can further send a first session message that does not include a resource reservation message to the IMS core network to request to establish a call.
[0019] Based on this, after receiving the first session message, the IMS core network does not need to wait for the resource reservation negotiation message that the terminal device will not send before continuing the subsequent call establishment process. Instead, it can send a ringing message (180ringing) to the terminal device, so that the terminal device can communicate through the wireless LAN, that is, the terminal device can establish a call through VoWi-Fi.
[0020] In a possible implementation of the first aspect above, corresponding to the terminal device communicating based on the second network registration type, sending a second session message to establish a call, and the second session message including a resource reservation tag, including: judging the network registration type of the terminal device based on the first parameter; corresponding to the terminal device communicating based on the second network registration type, judging whether the terminal device is a calling device, wherein the second network registration type includes a cellular network; corresponding to the terminal device communicating based on the second network registration type and the terminal device being a calling device, sending a second session message to the core network for requesting to establish a call, wherein the second session message includes a resource reservation tag.
[0021] It can be understood that the second network registration type is a cellular network, and the first parameter may refer to the "P-Access-Network-Info" of the terminal device mentioned in the embodiment of the present application, which is used to identify the network registration type of the terminal device. If "P-Access-Network-Info=Cellular", it can be determined that the network registration type of the terminal device is a cellular network.
[0022] In some embodiments of the present application, a terminal device that establishes a call based on cellular network communication, that is, based on VoLTE or VoNR, needs to send a second session message including a resource reservation tag to the IMS core network, and then the terminal device can negotiate resource reservation with the IMS core network, so that the terminal device can communicate through the cellular network, that is, establish a call based on VoLTE or VoNR.
[0023] In a possible implementation of the first aspect above, a first prefabricated network identifier list is obtained based on a system configuration file of the terminal device; at least one prefabricated network identifier is used to indicate whether to send a first session message or a second session message to the core network based on a network registration type of the terminal device.
[0024] It can be understood that the first prefabricated network identifier list may be information pre-stored in a system configuration file of the terminal device.
[0025] In a second aspect, an embodiment of the present application provides a terminal device, including a memory for storing instructions; and a processor for executing instructions to implement the communication method provided by the above-mentioned first aspect and various possible implementations of the first aspect.
[0026] In a third aspect, an embodiment of the present application provides a readable storage medium, on which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the communication method provided by the above-mentioned first aspect and various possible implementations of the first aspect.
[0027] In a fourth aspect, an embodiment of the present application further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the communication method provided by the above-mentioned first aspect and various possible implementations of the first aspect.
[0028] The beneficial effects of the second to fourth aspects mentioned above can be referred to the relevant descriptions in the first aspect mentioned above and various possible implementations of the first aspect, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 According to the method provided in some embodiments, a scenario diagram of a calling device initiating a call request is shown;
[0030] Figure 2 According to the method provided in the embodiment of the present application, a flow chart of a session interaction between a calling device and an IMS core network is shown;
[0031] Figure 3 According to the method provided in the embodiment of the present application, a communication architecture diagram between a calling device and a network is shown;
[0032] Figure 4According to the method provided in the embodiment of the present application, a flow chart of a communication method is shown;
[0033] Figure 5 According to the method provided in the embodiment of the present application, a specific flow diagram of a communication method is shown;
[0034] Figure 6 According to the method provided in the embodiment of the present application, a schematic diagram of detecting IMS registration information of a terminal device is shown;
[0035] Figure 7 According to the method provided in an embodiment of the present application, a schematic diagram of the structure of a terminal device 100 is shown. DETAILED DESCRIPTION
[0036] The illustrative embodiments of the present application include, but are not limited to, a communication method, a terminal device, and a readable storage medium.
[0037] It can be understood that the electronic device in the embodiments of the present application can also be called a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc.
[0038] The technical solution provided in this application can be applied to various communication systems, such as: the fifth generation (5th Generation, 5G) mobile communication system or new radio access technology (new radio access technology, NR), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD), universal mobile telecommunication system (universal mobile telecommunication system, UMTS), etc. The technical solution provided in this application can also be applied to future communication systems, such as the sixth generation mobile communication system, etc.
[0039] As mentioned above, when the calling device sends an invite message to the IMS core network and carries a precondition tag. The IMS core network waits for the calling device to send a resource reservation negotiation message based on the precondition tag carried in the received invite message. In addition, based on the regulations of 3GPP, terminal devices that establish calls through VoWi-Fi do not need to reserve resources. Therefore, the calling device will not send a resource reservation negotiation message to the IMS core network. The IMS core network will not wait for the resource reservation negotiation message, and will not send a ringing message (180ringing) from other called devices to the calling device. Based on this, mobile phone 10 fails to establish a call with other called devices through the IMS core network.
[0040] In addition, the calling device cannot play a video ring backtone (VRBT) such as a web video if it does not receive the 180 ringing.
[0041] For example, Figure 2 A flow chart of a session interaction between a calling device and an IMS core network is shown. The specific process of the session interaction may include:
[0042] 1. The calling device sends an invite message to the IMS core network based on VoWi-Fi, carrying a resource reservation tag. It can be understood that the resource reservation tag is a precondition tag. In some embodiments, when the calling device sends an invite message to the IMS core network to request to establish a call regardless of the voice call technology used, the invite message carries a precondition tag, indicating that the calling device has the resource reservation capability.
[0043] 2. The IMS core network sends a 183 message to the calling device, carrying a resource reservation tag. In some embodiments, after receiving an invite message carrying a precondition tag, the IMS core network sends a 183 message in response to the invite message to the calling device, and the 183 message carries a precondition tag, indicating that it has resource reservation capability.
[0044] 3. The calling device does not send a resource reservation negotiation message to the IMS core network. In some embodiments, since the calling device establishes a call based on VoWi-Fi, and based on the provisions of the 3rd Generation Partnership Project (3GPP), the device that establishes a call through VoWi-Fi does not need to reserve resources. Therefore, the calling device does not need to negotiate resource reservation, that is, it does not send a resource reservation negotiation message to the IMS core network.
[0045] 4. The IMS core network does not send a response message "200 ok" corresponding to the resource reservation negotiation to the calling device. In some embodiments, since the IMS core network does not receive the resource reservation negotiation message sent by the calling device, the IMS core network does not send a response message "200 ok" corresponding to the resource reservation negotiation to the calling device.
[0046] 5. The IMS core network does not send a ringing message "180ringing" to the calling device. In some embodiments, since the IMS core network does not receive the resource reservation negotiation message sent by the calling device, the IMS core network does not send a ringing message "180ringing" to the calling device.
[0047] 6. The IMS core network does not send a response message "200ok" corresponding to the invite message. In some embodiments, because the IMS core network does not receive the resource reservation negotiation message sent by the calling device and does not send a ringing message "180ringing", the IMS core network will not send a response message "200ok" corresponding to the invite message to the calling device.
[0048] Based on the above, the calling device fails to establish a call.
[0049] It can be understood that the invite message, resource reservation negotiation message, 180 message, ringback tone negotiation message, etc. mentioned in the embodiments of the present application are all messages corresponding to the session initiation protocol (SIP), where SIP is a text-based application layer protocol that can be used to establish, change or terminate multimedia sessions.
[0050] It can be understood that the voice call technology based on IMS can include VoWi-Fi, voice over long-term evolution (VoLTE), and 5G voice bearer (voice over nr, VoNR). Among them, VoWi-Fi is a voice call technology based on wireless local area network (WLAN) to transmit voice calls. For example, WLAN can be a wireless fidelity network (Wi-Fi), that is, users can use terminal devices with VoWi-Fi capabilities to make voice and video calls in a Wi-Fi environment. In addition, VoLTE and VoNR are both voice call technologies based on cellular networks to transmit voice calls. Specifically, VoLTE is a voice call technology based on 4G network transmission of voice calls, that is, users can use terminal devices with VoLTE capabilities to make voice and video calls in a 4G network environment. VoNR is a voice call technology based on 5G network transmission of voice calls, that is, users can use terminal devices with VoNR capabilities to make voice and video calls in a 5G network environment.
[0051] It can be understood that the embodiments of the present application involve wireless local area networks, cellular networks, and IMS core networks. Among them, wireless local area networks (such as Wi-Fi) and cellular networks are both wireless communication technologies. Wireless local area networks are local wireless communication networks used for wireless access networks between devices within a limited range. Cellular networks are mobile communication networks that support mobility and are used for devices to communicate in different locations. In addition, the IMS core network provides a unified management and switching platform for multimedia communication services, and is more focused on the provision of multimedia communication services than Wi-Fi and cellular networks. The IMS core network is a multimedia service form based on the Internet protocol (IP), supports access to Wi-Fi and cellular networks (such as 2G, 3G, 4G, 5G, etc.), and can provide users with a variety of multimedia services, such as voice, video calls, text, chat and other multimedia services.
[0052] In communications, Wi-Fi is usually used to connect devices to the network, while the IMS core network is responsible for managing and exchanging multimedia communication services. When a terminal device connects to the IMS network via Wi-Fi, it means that the terminal device is connected to the IMS core network through a Wi-Fi access point, implementing a Wi-Fi-based multimedia communication service, namely VoWi-Fi.
[0053] In order to solve the above problems, an embodiment of the present application provides a communication method, which includes: when the calling device establishes a call, the calling device can adjust the information carried in the invite message sent to the IMS core network in advance based on its own network registration type. If the network registration type of the calling device is a wireless local area network, an invite message without a resource reservation (precondition) tag is sent; if the calling device is registered in a cellular network, an invite message carrying a precondition tag is sent.
[0054] It can be understood that when the calling device communicates based on a wireless LAN, the calling device establishes a call through VoWi-Fi. VoWi-Fi is a voice call technology based on wireless LAN transmission of voice calls, that is, the user can use a calling device with VoWi-Fi capability to make voice and video calls in a Wi-Fi environment.
[0055] Through the above scheme, for the calling device that communicates through the wireless LAN, that is, the calling device that establishes a call through VoWi-Fi, an invite message without a precondition tag can be sent to the IMS core network to request to establish a call. In this way, after receiving the invite message, the IMS core network does not need to wait for the resource reservation negotiation message that the calling device will not send before continuing the subsequent call establishment process. Instead, a ringing message (180ringing) can be sent to the calling device, so that the calling device can establish a call with other called devices through VoWi-Fi, thereby improving the user experience of establishing calls based on VoWi-Fi.
[0056] Figure 3 According to an embodiment of the present application, a communication architecture diagram between a calling device and a network is shown.
[0057] It can be understood that the layered architecture currently used in the communication system 30 for the calling device can divide the software into several layers, wherein the layers communicate with each other through software interfaces. These layers may include an application layer 301, a framework layer 302, a kernel layer 303, a modem 304, etc. The following is an example of the layer where the functional modules involved in the communication method provided in the embodiment of the present application are located.
[0058] like Figure 3 As shown, the application layer 301 may include a series of application packages (Android application package, APK) 3011. The APK 3011 may include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, and third-party applications (not shown in the figure), which are not limited here.
[0059] The framework layer 302 provides an application programming interface (API) and a programming framework for the application programs of the application layer 301. The framework layer 302 includes some predefined functions.
[0060] The framework layer 302 may include a telephony management module (telephony) 3021 and a network detection module 3022. The telephony management module 3021 may establish a media session for a calling device and implement voice services in a packet switching network. In other words, the telephony management module 3021 may be used to initiate calls to an operator network and receive calls from an operator network. It is understood that the operator network may be a cellular network or a wireless local area network, which is not limited here.
[0061] The network detection module 3022 can determine the network communication status of the calling device based on TCP / IP.
[0062] It can be understood that the framework layer 302 can also include system services, window managers, view systems (viewsystem), resource managers, notification managers, display engine services (display engine service), display synthesis (surfaceflinger), graphics systems (graphics system), etc. (not shown in the figure), which are not limited here.
[0063] The kernel layer 303 may include a socket and a transmission control protocol / internet protocol (TCP / IP). Among them, a socket is a communication mechanism that can shield the communication details of each protocol and provide an abstraction of the TCP / IP protocol. A socket is an interface for applications to communicate through the TCP / IP protocol. Through this interface, the functions of the TCP / IP protocol can be used uniformly and conveniently. TCP / IP is a communication transmission protocol and is also the most basic communication protocol in the network.
[0064] The modem 304 includes a SIP module 3048 and an air interface protocol stack. The SIP module 3048 can be used to establish, modify and terminate multimedia sessions between the calling device and the IMS core network, such as voice, video, IP phone, video conferencing, instant messaging and other data communication applications. In addition, the air interface protocol stack in the modem 304 can be used to establish, configure and release various wireless bearer services. The air interface protocol stack can be divided into three layers: the first layer is the physical layer (PHY), the second layer is the data link layer, and the third layer is the network layer.
[0065] Specifically, the first layer PHY 3041 can be used to provide wireless resources and physical layer processing for the second layer and the third layer data.
[0066] The second layer can be responsible for establishing and managing data link transmission between network nodes on top of the basic transmission services provided by the physical layer. Specifically, the second layer may include medium access control (MAC) 3042, radio link control protocol (RLC) 3043, and packet data convergence protocol (PDCP) 3044.
[0067] MAC 3042 may be responsible for mapping, multiplexing and dereferencing between logical channels and transport channels, uplink and downlink scheduling-related processes, random access and other processes.
[0068] PDCP 3044 may be responsible for encryption and decryption, integrity protection, reordering, support for out-of-order delivery, duplicate discard, etc. to improve the transmission reliability of data packets.
[0069] The third layer may be responsible for completing all signaling processing between the calling device and the network. Specifically, the third layer may include NAS 3047 and RRC 3046.
[0070] NAS 3047, as a non-access layer, can be used to be responsible for the communication between the calling device and the access and mobility management function (AMF) module (not shown in the figure). The AMF can be responsible for the identity authentication, authorization, registration, mobility management and connection management of the calling device.
[0071] RRC 3046 is an access layer that controls and configures all radio resources for lower layer protocols to enable communication between the calling device and the base station. The RRC layer can be used to process all messages between the calling device and the base station, including system messages, security management, cell reselection, measurement reporting, handover and mobility, NAS message transmission, radio resource management, etc.
[0072] It can be understood that after the calling device establishes a connection with the base station based on RRC, it can access the evolved packet core (EPC) network through the IP protocol. That is, the modem of the calling device can obtain a unique network address, namely the IP address, based on the IP protocol, and access the EPC core network through the IP address. Among them, the EPC core network is mainly used for the management of user contract data, mobility management, data exchange and forwarding, etc., and supports multiple access methods, such as long-term evolution (LTE), 5G network, Wi-Fi, etc.
[0073] In addition, after the calling device accesses the EPC core network, it can further access the IMS core network through the SIP module 3048. The IMS core network is a multimedia service form based on the Internet protocol (IP), supports access to Wi-Fi and cellular networks (such as 2G, 3G, 4G, 5G, etc.), and can provide users with multimedia services such as voice, video, text, and chat.
[0074] Figure 4 According to an embodiment of the present application, a flow chart of a communication method is shown. It can be understood that Figure 4 The execution subject in the flowchart diagram shown is the SIP module 3048 of the terminal device. The execution subject of each step will not be repeatedly described below when introducing the execution content of each step.
[0075] like Figure 4 As shown, the specific process includes:
[0076] S401: In response to a call initiation instruction, detecting a network registration type of a calling device.
[0077] In some embodiments of the present application, based on the user making an Internet phone call, initiating a voice or video call, etc., the SIP module 3048 will detect the corresponding call initiation instruction. Based on this, the SIP module 3048 can further detect the IMS registration information of the terminal device, and by detecting the IMS registration information of the terminal device, the public land mobile network (PLMN) identifier of the terminal device can be determined, and the public land mobile network identifier is plnm. Through the plnm of the terminal device, the network operator information, network registration type, etc. of the terminal device can be determined.
[0078] It can be understood that plmn usually refers to a string that represents the identifier of a public land mobile network PLMN. In mobile communication technology, plmn is usually used to represent the identifier of a mobile network operator, which consists of a set of numbers, including a mobile country code (MCC) and a network code (MNC). For example, the plmn of China Mobile can be 46000. This format of plmn is used by mobile devices to identify and select the mobile network to connect to. In addition, PLMN refers to a type of mobile communication network used to provide mobile communication services. PLMN consists of a group of base stations and related equipment, covering a specific geographical area, and providing wireless communication and mobile phone services for mobile terminal devices.
[0079] It can be understood that the public land mobile network identifier plmn of the terminal device can be obtained by detecting the IMS registration information of the terminal device, and the network operator information, network registration type, etc. of the terminal device can be obtained based on the plmn.
[0080] It is understandable that different operators in different regions have a unique plmn. For example, the plmn corresponding to mobile operators in different regions may include 46000, 45412, the plmn of Unicom operators may include 46001, etc., and the plmn of telecom operators may include 46003, etc., which are not limited here.
[0081] It can be understood that when a terminal device wants to establish a call, it needs to register with IMS. IMS is an IP-based multimedia service form that can be used to enable terminal customers to realize multimedia services such as voice, video, text, and chat. IMS supports access to wireless LANs (such as Wi-Fi) and cellular networks (such as 2G, 3G, 4G, 5G, etc.).
[0082] S402: corresponding to the wireless local area network to which the calling device is registered, an invite message not including a resource reservation tag is sent.
[0083] In some embodiments of the present application, based on the above S401, the network registration type of the calling device is obtained. If the parameter "P-Access-Network=i-wlan" used to identify the network registration type of the terminal device is detected, it can be determined that the calling device is registered with the wireless local area network. It can then be determined that the calling device is establishing a call based on VoWi-Fi. Based on this, the SIP module 3048 can send an invite message that does not include a precondition tag to the IMS core network.
[0084] S403: corresponding to the cellular network to which the calling device is registered, an invite message including a resource reservation tag is sent.
[0085] In some embodiments of the present application, based on the above S401 to obtain the network registration type of the calling device, if the parameter "P-Access-Network=Cellular" used to identify the network registration type of the terminal device is detected, it can be determined that the calling device is registered on the cellular network. It can then be determined that the calling device can establish a call based on VoLTE or VoNR. Based on this, the SIP module 3048 can send an invite message including a precondition tag to the IMS core network.
[0086] Through the above solution, the calling device that establishes a call based on VoWi-Fi can send an invite message without a precondition tag to the IMS core network. In this way, after receiving the invite message, the IMS core network does not need to wait for the resource reservation negotiation message that the calling device will not send before continuing the subsequent call establishment process. Instead, it can send a ringing message (180ringing) to the calling device, so that the calling device can establish a call with other called devices through VoWi-Fi.
[0087] Based on the above Figure 3 The communication architecture shown below is combined with Figure 5 The flow chart shown introduces the technical solution of the present application in detail.
[0088] Figure 5 According to an embodiment of the present application, a specific interaction flow diagram of a communication method is shown. It can be understood that Figure 5 The execution subject of the process shown can be the above Figure 3 The SIP module 3048 of the terminal device mentioned in the above description will not be repeated when introducing the execution content of each step below.
[0089] like Figure 5 As shown, the specific process includes:
[0090] S501: A call initiation instruction is detected, and IMS registration information of the terminal device is detected.
[0091] In some embodiments of the present application, based on the user making an Internet phone call, initiating a voice or video call, etc., the SIP module 3048 will detect the corresponding call initiation instruction. Based on this, the SIP module 3048 can further detect the IMS registration information of the terminal device to obtain the plmn registered by the terminal device, the network registration type, etc.
[0092] It can be understood that when a terminal device wants to establish a call, it needs to register with IMS. IMS is an IP-based multimedia service form that can be used to enable terminal customers to realize multimedia services such as voice, video, text, and chat. IMS supports access to wireless LANs (such as Wi-Fi) and cellular networks (such as 2G, 3G, 4G, 5G, etc.).
[0093] S502: Acquire the IMS registration detection result of the terminal device to obtain the public land mobile network identifier registered by the terminal device.
[0094] In some embodiments of the present application, based on S501, the IMS registration detection result of the terminal device can be obtained through the SIP module 3048, the public land mobile network identifier plmn registered by the terminal device can be obtained, and the network registration type can be determined.
[0095] For example, refer to Figure 6 The schematic diagram of detecting the IMS registration information of the terminal device is shown. The SIP module 3048 of the terminal device detects the IMS registration information and obtains the corresponding IMS registration detection result.
[0096] If the terminal device uses VoLTE for voice communication services, VoLTE is a voice call technology based on IMS. Through VoLTE, the terminal device can make high-definition voice calls and video call services on the 4G network.
[0097] Specifically, the IMS registration detection results corresponding to VoLTE include: "Radio Access Technology (RAT) = LTE", "P-Access-Network = Cellular", "plmn". Among them, "RAT = LTE" can indicate that the terminal device communicates through the 4G network; "P-Access-Network = Cellular" can indicate that the network registration type of the terminal device is a cellular network, where "P-Access-Network" is a parameter that identifies the network registration type of the terminal device; "plmn" can indicate the network operator information of the terminal device, which is composed of the mobile country code (MCC) and the mobile network code (MNC). plmn can provide wireless communication and mobile phone services for the terminal device.
[0098] It is understandable that the plmn of different operators in different regions has a unique network identifier. For example, the plmn corresponding to mobile operators in different regions may include 46000, 45412, the plmn of Unicom operators may include 46001, etc., and the plmn of telecom operators may include 46003, etc., which are not limited here.
[0099] It is understandable that RAT can also reflect the network standard registered by the terminal device, such as Wi-Fi, LTE, NR, etc., which are not limited here. Among them, Wi-Fi belongs to WLAN, that is, wireless local area network, and LTE, NR, etc. belong to cellular network.
[0100] If the terminal device uses VoNR for voice communication services, VoNR is a voice service based on IMS. Through VoNR, the terminal device can perform high-definition voice calls and video call services on the 5G network.
[0101] Specifically, the IMS registration detection results corresponding to VoNR include: "RAT=NR", "P-Access-Network=cellular", and "plmn". Among them, "RAT=NR" can indicate that the terminal device communicates through the 5G network; "P-Access-Network=cellular" can indicate that the network registration type of the terminal device is a cellular network; "plmn" can indicate the network operator information of the terminal device.
[0102] If the terminal device registers for VoWi-Fi for voice communication services, VoWi-Fi is a voice service based on IMS, which can also be called Wi-Fi calling. Through VoWi-Fi, the terminal device can make high-definition voice calls and video calls on the Wi-Fi network.
[0103] Specifically, the IMS registration detection result corresponding to VoWi-Fi may include: "RAT=WI-FI", "P-Access-Network=i-wlan", "plmn". Among them, "RAT=WI-FI" may indicate that the terminal device communicates via Wi-Fi; "P-Access-Network=i-wlan" may indicate that the network registration type of the terminal device is a wireless local area network; "plmn" may indicate the network operator information of the terminal device.
[0104] S503: Read a pre-made public land mobile network identifier list.
[0105] In some embodiments of the present application, after the plmn registered by the terminal device is determined through the IMS registration detection result of the terminal device, the prefabricated public land mobile network identifier list, i.e., the prefabricated plmn list, in the system configuration file of the terminal device can be read through the SIP module 3048.
[0106] It can be understood that the prefabricated plmn list is pre-stored in the system configuration file in the terminal device. The prefabricated plmn list includes multiple prefabricated plmns. The prefabricated plmns in the list are used to indicate that the terminal device registered with the prefabricated plmn needs to dynamically adjust whether to carry the precondition tag in the subsequent invite message sent to the IMS core network based on its registered RAT, that is, the network registration type (such as wireless LAN, cellular network) when establishing a call.
[0107] S504: Determine whether the public land mobile network identifier registered by the terminal device is a pre-made public land mobile network identifier.
[0108] In some embodiments of the present application, after determining the plmn registered by the terminal device, the SIP module 3048 may further determine whether the plmn registered by the terminal device is a prefabricated plmn in a prefabricated plmn list.
[0109] If the determination result is yes, the process goes to S505 to determine whether the network registration type of the terminal device is a wireless local area network.
[0110] If the determination result is no, the process goes to S510 to determine whether the terminal device is a calling device.
[0111] For example, based on the SIP module 3048, it is determined that the plmn registered by the terminal device is "45412", and "45412" is matched with the prefabricated plmn in the prefabricated plmn list. If the prefabricated plmn "45412" exists in the prefabricated plmn list, it can be determined that the plmn registered by the terminal device is a prefabricated plmn. Based on this, when the terminal device subsequently sends an invite message to the IMS core network to request to establish a call, it is necessary to dynamically adjust whether to carry the precondition tag in the invite message based on the network registration type of the terminal device.
[0112] S505: Determine whether the network registration type of the terminal device is a wireless local area network.
[0113] In some embodiments of the present application, after determining that the plmn registered by the terminal device is a prefabricated plmn, further, the network registration type of the terminal device can be detected through the SIP module 3048, and it can be determined whether the network registration type of the terminal device is a wireless local area network.
[0114] If the determination result is yes, the process goes to S506 to determine whether the terminal device is a calling device.
[0115] If the determination result is no, the process goes to S508 to determine whether the terminal device is a calling device.
[0116] It can be understood that based on the above S502, the "P-Access-Network-Info" of the terminal device is determined, and "P-Access-Network-Info" is a parameter used to identify the network registration type of the terminal device. When "P-Access-Network-Info=i-wlan" is detected, "i-wlan" is used as a specific value to clearly identify WLAN (wireless local area network), it can be determined that the terminal device accesses the mobile network through WLAN.
[0117] S506: Determine whether the terminal device is a calling device.
[0118] In some embodiments of the present application, after determining that the terminal device accesses the mobile network through the wireless local area network, the SIP module 3048 can further determine whether the current terminal device is a calling device. It can be understood that the calling device is the terminal device used to send an invite message to request to establish a call.
[0119] If the judgment result is yes, go to S507 and send an invite message without a resource reservation tag to the IMS core network.
[0120] If the judgment result is no, end the process.
[0121] For example, when the SIP module 3048 detects that the system configuration file of the terminal device includes "UE TO NETWORK", it can be determined that the current terminal device is a calling device.
[0122] It can be understood that in other embodiments, when the SIP module 3048 detects that the system configuration file of the terminal device includes "NETWORK TO UE", it can be determined that the current terminal device is the called device.
[0123] S507: Send an invite message without a resource reservation tag.
[0124] It can be understood that based on 3GPP regulations, the calling device needs to uniformly carry a precondition tag when sending an invite message. After receiving the invite message carrying the precondition tag, the IMS core network needs to wait for the calling device to send a resource reservation negotiation message.
[0125] In addition, based on 3GPP regulations, if the calling device requests to establish a call based on VoWi-Fi, the calling device does not need to send a resource reservation negotiation message to the IMS core network. If the calling device requests to establish a call based on the cellular network, the calling device needs to send a resource reservation negotiation message to the IMS core network and negotiate resource reservation with the IMS core network.
[0126] In some embodiments of the present application, when it is determined that the terminal device accesses the mobile network through WLAN and the terminal device is the calling device, the calling device can send an invite message without a precondition tag to the IMS core network through the SIP module 3048. In this way, the IMS core network does not have to wait for the resource reservation negotiation message that the calling device will not send, and the subsequent call establishment process can continue between the calling device and the IMS core network.
[0127] It can be understood that the SIP module 3048 of the calling device can send an invite message to the IMS core network to request to establish a call. The invite message carries a precondition tag to indicate that the calling device has the resource reservation capability. Resource reservation means that the calling device reserves corresponding bearer resources for the session between itself and other called devices. If the resource reservation is not completed, the corresponding call will not be further established.
[0128] S508: Determine whether the terminal device is a calling device.
[0129] In some embodiments of the present application, when it is determined that the terminal device does not access the mobile network via WLAN, the SIP module 3048 may further determine whether the current terminal device is a calling device.
[0130] If the judgment result is yes, go to S509 and send an invite message carrying the resource reservation tag.
[0131] If the judgment result is no, end the process.
[0132] For example, when the SIP module 3048 detects that the system configuration file of the terminal device includes "UE TO NETWORK", that is, "from the terminal device to the network", it can be determined that the current terminal device is a calling device.
[0133] It can be understood that in other embodiments, when the SIP module 3048 detects that the system configuration file of the terminal device includes "NETWORK TO UE", that is, "from the network to the terminal device", it can be determined that the current terminal device is the called device.
[0134] S509: Send an invite message carrying a resource reservation tag.
[0135] It is understandable that if the calling device requests to establish a call based on the wireless local area network, the calling device does not need to send a resource reservation negotiation message to the IMS core network. If the calling device requests to establish a call based on the cellular network, the calling device needs to send a resource reservation negotiation message to the IMS core network and negotiate resource reservation with the IMS core network.
[0136] In some embodiments of the present application, when it is determined that the terminal device does not access the mobile network through the wireless local area network, and the terminal device is a calling device, the SIP module 3048 of the calling device may further send an invite message carrying a precondition tag to the IMS core network to request to establish a call.
[0137] S510: Determine whether the terminal device is a calling device.
[0138] In some embodiments of the present application, after determining that the plmn registered by the terminal device is not a prefabricated plmn, the SIP module 3048 can further determine whether the current terminal device is a calling device.
[0139] If the judgment result is yes, go to S511 and send an invite message carrying a resource reservation tag.
[0140] If the judgment result is no, end the process.
[0141] S511: Send an invite message carrying a resource reservation tag.
[0142] In some embodiments of the present application, when it is determined that the plmn registered by the terminal device is not a pre-made plmn, that is, when the terminal device is establishing a call, it is not necessary to dynamically adjust whether to carry a precondition tag in the invite message sent to the IMS core network based on the RAT registered by the terminal device, such as a wireless local area network or a cellular network. In addition, based on the regulations of 3GPP, the calling device sends an invite message to the IMS core network, and the invite message needs to carry a precondition tag. Therefore, the SIP module 3048 of the calling device can send an invite message carrying a precondition tag to the IMS core network to request to establish a call.
[0143] Through the above solution, the calling device that establishes a call based on wireless LAN communication, that is, based on VoWi-Fi, can send an invite message without a precondition tag to the IMS core network. In this way, after receiving the invite message, the IMS core network does not need to wait for the resource reservation negotiation message that the calling device will not send before continuing the subsequent call establishment process. Instead, it can send a ringing message (180ringing) to the calling device, so that the calling device can successfully establish a call through VoWi-Fi.
[0144] further, Figure 7 According to some embodiments of the present application, a schematic diagram of the structure of a terminal device 100 is shown. Based on the terminal device 100, the communication method mentioned in the embodiments of the present application can be implemented.
[0145] like Figure 7As shown, the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, a communication device 196, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, a color temperature sensor 180N, etc. Among them:
[0146] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a microcontroller unit (MCU), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0147] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0148] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 may store the stored data just used or cyclically used by the processor 110. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0149] In some embodiments, the processor 110 can be used to execute the communication methods provided in various embodiments of the present application.
[0150] The USB interface 130 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0151] The charging management module 140 is used to receive charging input from a charger. While the charging management module 140 is charging the battery 142 , it can also supply power to the terminal device 100 through the power management module 141 .
[0152] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
[0153] The wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0154] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals, that is, wireless carrier information.
[0155] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the terminal device 100. The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1.
[0156] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), near field communication (NFC), global navigation satellite system (GNSS), frequency modulation (FM), infrared (IR), ultra wide band (UWB), etc., which are applied to the terminal device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 can receive electromagnetic waves from the antenna 2, and filter, amplify and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The wireless communication module 160 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 2.
[0157] The terminal device 100 implements the interface display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
[0158] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), mini-LED, micro-LED, micro-OLED, quantum dot light-emitting diodes (QLED), etc.
[0159] The camera 193 is used to capture still images or videos.
[0160] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function.
[0161] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions, such as the aforementioned memory 103. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function, etc. The data storage area may store data created during the use of the terminal device 100, etc., for example, it can be used to store a control identifier of a security control, a screenshot redrawing strategy identifier corresponding to the security control, and a pattern, image, text, etc. corresponding to the screenshot redrawing strategy. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications of the terminal device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor 110.
[0162] The terminal device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor.
[0163] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect a touch operation acting on or near it. The touch sensor 180K can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194.
[0164] Motor 191 can generate vibration prompts.
[0165] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0166] The SIM card interface 195 is used to connect a SIM card.
[0167] It is understood that the structure of the terminal device 100 shown in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0168] The embodiments disclosed in the present application may be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application may be implemented as a computer program or program code executed on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.
[0169] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor. The program code can be implemented in a high-level programming language or an object-oriented programming language to communicate with the processing system.
[0170] When necessary, program code can also be implemented in assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.
[0171] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed over a network or through other computer-readable media. Therefore, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), including, but not limited to, floppy disks, optical disks, optical discs, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Therefore, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (e.g., a computer).
[0172] In the accompanying drawings, some structural or method features are shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
[0173] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.
[0174] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one" do not exclude the existence of other identical elements in the process, method, article or device including the elements. Although the present application has been illustrated and described with reference to certain preferred embodiments of the present application, it should be understood by those skilled in the art that various changes can be made to it in form and detail without departing from the scope of the present application.
Claims
1. A communication method, characterized in that: Applied to a terminal device, the method comprises: In response to the first call initiation instruction, obtaining a first network identifier of the terminal device; Corresponding to the first network identifier being the same as a first prefabricated network identifier in a first prefabricated network identifier list, obtaining a first parameter, and determining a network registration type of the terminal device based on the first parameter, wherein the terminal device includes a first prefabricated network identifier list, and the first prefabricated network identifier list is obtained based on a system configuration file of the terminal device, the first prefabricated network identifier list includes at least one prefabricated network identifier, and the at least one prefabricated network identifier is used to indicate that a first session message or a second session message is to be sent to a core network based on the network registration type of the terminal device, and the first parameter is a parameter identifying the network registration type of the terminal device; Corresponding to the terminal device communicating based on the first network registration type, sending a first session message to establish a call, the first session message does not include a resource reservation tag, wherein the first network registration type includes a wireless local area network; Corresponding to the terminal device communicating based on the second network registration type, a second session message is sent to establish a call, and the second session message includes a resource reservation tag.
2. The method according to claim 1, characterized in that Corresponding to the terminal device communicating based on the first network registration type, sending a first session message to establish a call includes: Determining a network registration type of the terminal device based on a first parameter; Corresponding to the terminal device communicating based on the first network registration type, it is determined whether the terminal device is a calling device, wherein the calling device refers to a terminal device requesting to establish a call.
3. The method according to claim 2, characterized in that The terminal device includes first preset identification information, the first preset identification information is used to indicate the communication direction between the terminal device and the network, and, The determining, corresponding to the communication of the terminal device based on the first network registration type, whether the terminal device is a calling device includes: Acquire first preset identification information of the terminal device, and determine that the terminal device is a calling device based on the first preset identification information.
4. The method according to claim 2, characterized in that: Corresponding to the terminal device communicating based on the first network registration type, sending a first session message to establish a call, further comprising: Corresponding to the terminal device communicating based on the first network registration type and the terminal device being a calling device, sending a first session message for requesting to establish a call to the core network; The first session message does not include a resource reservation tag, and the resource reservation tag is used to indicate that the terminal device has a resource reservation capability.
5. The method according to claim 1, characterized in that The sending of a second session message to establish a call corresponding to the terminal device communicating based on the second network registration type, wherein the second session message includes a resource reservation tag, includes: Determining a network registration type of the terminal device based on a first parameter; Corresponding to the terminal device communicating based on the second network registration type, determining whether the terminal device is a calling device, wherein the second network registration type includes a cellular network; Corresponding to the terminal device communicating based on the second network registration type and the terminal device being a calling device, a second session message for requesting to establish a call is sent to the core network, wherein the second session message includes a resource reservation tag.
6. A terminal device, characterized in that: include: A processor and a memory, wherein the memory includes a physical memory and an external memory, and is used to store instructions executed by one or more processors of the terminal device; And, a processor, configured to execute the instructions so that the terminal device implements the communication method according to any one of claims 1 to 5.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by an electronic device, the electronic device implements the communication method according to any one of claims 1 to 5.
8. A computer program product, characterized in that The invention comprises a computer program / instruction, which, when executed on an electronic device, enables the electronic device to implement the communication method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Method, system and device for identifying resource reservation originator and triggering resource reservation
CN101166292A
Method and terminal for selecting access network
CN101374295A
Communication environment identification method, communication environment identification device and communication environment identification system
CN106060775A
Data downloading control method and terminal
CN106100861A
Data processing method, device and equipment for mobile terminal
CN106101095A
