CN118317381A - Communication method, terminal device and readable storage medium - Google Patents

Communication method, terminal device and readable storage medium Download PDF

Info

Publication number
CN118317381A
CN118317381A CN202410531026.2A CN202410531026A CN118317381A CN 118317381 A CN118317381 A CN 118317381A CN 202410531026 A CN202410531026 A CN 202410531026A CN 118317381 A CN118317381 A CN 118317381A
Authority
CN
China
Prior art keywords
network
terminal device
call
registration type
calling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410531026.2A
Other languages
Chinese (zh)
Inventor
罗旭科
戴英娣
张晓军
曾伟
罗斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202410531026.2A priority Critical patent/CN118317381A/en
Publication of CN118317381A publication Critical patent/CN118317381A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to the field of communications, and in particular, to a communication method, a terminal device, and a readable storage medium. The method comprises the following steps: when the calling device establishes a call, the calling device can adjust to send information carried in an invite message for requesting to establish the call to the IMS core network in advance based on the network registration type of the calling device. If the network registration type of the calling device is a wireless local area network, transmitting an invite message which does not carry a resource reservation (precondition) tag; if the calling device registers with the cellular network, an invite message carrying precondition tags is sent. Therefore, the calling equipment can carry out voice and video call under the wireless local area network, and further the experience of establishing call by the user is improved.

Description

Communication method, terminal device and readable storage medium
Technical Field
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
In a mobile communication system, when a calling device needs to establish a call with other called devices, the calling device may initiate a call request (invite) message to an IMS core network under a cellular network or a wireless local area network based on a voice call technology of an IP multimedia system (IP multimedia subsystem, IMS), such as a wireless voice over Wi-Fi (VoWi-Fi), so as to establish a call with other called devices. The calling device, no matter what type of network is based on which type of network initiates an invite message to the IMS core network, carries a resource reservation label, e.g. precondition label, in the invite message, where the label is used to indicate that the calling device has resource reservation capability. The resource reservation refers to that the calling device reserves corresponding bearing resources for the session between the calling device and other called devices, and the session is not established when the resource reservation is not completed. It will be appreciated that terminal devices that establish a call over VoWi-Fi do not need to make resource reservations based on the specifications of the third generation partnership project (3rd generation partnership project,3GPP).
For example, fig. 1 illustrates a scenario diagram in which a calling device initiates a call request. The handset 10 (calling device) sends an invite message to the IMS core network based on VoWi-Fi communication and carries precondition tags. After receiving the invite message sent by the mobile phone 10, the IMS core network may send 183 a message to the mobile phone 10 and carry precondition a tag, which indicates that the invite message has been received and has resource reservation capability. In addition, since the invite message received by the IMS core network carries the precondition tag, the IMS core network needs to wait for the mobile phone 10 to send the resource reservation negotiation message before further advancing the call establishment process.
However, since the mobile phone 10 establishes a call based on VoWi-Fi, no resource reservation is required, the mobile phone 10 will not send a resource reservation negotiation message to the IMS core network, and the IMS core network will not send a ringing message to the mobile phone 10 (180 ringing) or not send a resource reservation negotiation message to the mobile phone 10. Where 180ringing is used to indicate that other called devices receive a call request from the handset 10 and are ringing the phone. Based on this, the handset 10 fails to establish a call.
Disclosure of Invention
In order to solve the above problems, the present application provides a communication method, a terminal device, and a readable storage medium.
In a first aspect, the present application provides a communication method, applied to a terminal device, the method comprising: responding to a first call initiation instruction, and detecting the network registration type of the terminal equipment; transmitting a first session message to establish a call corresponding to the terminal device based on a first network registration type communication, the first session message not including a resource reservation label, wherein the first network registration type includes a wireless local area network; and transmitting a second session message to establish a call based on the second network registration type communication corresponding to the terminal equipment, wherein the second session message comprises a resource reservation label.
It may be understood that the terminal device may refer to the calling device (such as the handset 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 label mentioned in the embodiment of the present application, the second session message may refer to the invite message not carrying the resource reservation label mentioned in the embodiment of the present application, and the resource reservation label may refer to the precondition label mentioned in the embodiment of the present application.
It can be understood that, based on the 3GPP specifications, when the terminal device sends a session message requesting to be established to the IMS core network, the terminal device establishing a call through the wireless local area network needs to carry a resource reservation tag, and the terminal device establishing a call through the cellular network needs to carry out resource reservation.
In some embodiments of the present application, the terminal device that establishes a call based on the wireless local area network may send the first session message that does not carry the resource reservation label to the IMS core network, and the terminal device that establishes a call based on the wireless local area network may not send the resource reservation negotiation message to the IMS core network.
By the method provided by the embodiment of the application, for the terminal equipment communicating through the wireless local area network, namely the terminal equipment establishing the call through Vowi-Fi, a first session message without carrying the resource reservation label can be sent to the IMS core network to request to establish the call. Thus, after receiving the first session message, the IMS core network can continue to perform the subsequent session establishment procedure without waiting for a resource reservation negotiation message that the terminal device will not send. But can send a ringing message (180 ringing) 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, and further, the experience of the user for establishing the call based on the Vowi-Fi is improved.
In one possible implementation of the first aspect, the terminal device includes a first pre-made network identifier list, the first pre-made network identifier list including at least one pre-made network identifier, and detecting, in response to the first call initiation instruction, a network registration type of the terminal device includes: acquiring a first network identifier of a terminal device; and acquiring a first parameter corresponding to the first network identifier being the same as the first prefabricated network identifier in the first prefabricated network identifier list, and determining the network registration type of the terminal equipment based on the first parameter, wherein the first parameter is a parameter for identifying the network registration type of the terminal equipment.
It is understood that the first list of pre-made network identifiers may refer to a list of pre-made public land mobile network identifiers referred to in the embodiments of the present application, i.e. pre-made plmn list; the pre-made network identifier may refer to a pre-made public land mobile network identifier, i.e. pre-made plmn, as mentioned in the embodiments of the present application; the first network identifier may refer to a public land mobile network identifier plmn of the terminal device mentioned in the embodiment of the present application; the first parameter may refer to "P-Access-Network-Info" of the terminal device mentioned in the embodiment of the present application, which is used to identify a Network registration type of the terminal device, and if "P-Access-Network-info=i-wlan", it may be determined that the Network registration type of the terminal device is a wireless local area Network.
In one possible implementation manner of the first aspect, the sending the first session message to establish the call corresponding to the terminal device based on the first network registration type communication includes: judging the network registration type of the terminal equipment based on the first parameter; and judging whether the terminal equipment is calling equipment or not based on the first network registration type communication corresponding to the terminal equipment, wherein the calling equipment is the terminal equipment requesting to establish a call.
In some embodiments of the present application, when determining that the terminal device is based on the first network registration type, i.e. wireless local area network communication, the terminal device may be further determined to be a calling device, and the calling device may send a first session message to the IMS core network based on the wireless local area network to request to establish a call.
In one possible implementation of the first aspect, the terminal device includes first preset identification information, where the first preset identification information is used to indicate a communication direction between the terminal device and the network, and the determining, corresponding to the terminal device, whether the terminal device is a calling device based on the first network registration type communication includes: acquiring first preset identification information of the terminal equipment, and determining that the terminal equipment is calling equipment based on the first preset identification information.
It may be understood that the first preset identification information may refer TO "UE TO NETWORK" mentioned in the embodiment of the present application, and is used TO identify that the terminal device is a calling device. In other embodiments, the first preset identification information may also be "NETWORK TO UE" for identifying the terminal device as a called device, which is not limited herein.
In one possible implementation manner of the first aspect, the sending the first session message to establish a call corresponding to the terminal device based on the first network registration type communication further includes: corresponding to the terminal equipment communicating based on the first network registration type and the terminal equipment being calling equipment, sending a first session message for requesting to establish a call to a core network; wherein the first session message does not include a resource reservation label, and the resource reservation label is used for indicating that the terminal device has resource reservation capability.
In some embodiments of the present application, when it is determined 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 further can send the first session message to the IMS core network, which does not include a resource reservation message, to request to establish a call.
Based on this, the IMS core network does not need to wait for a resource reservation negotiation message that the terminal device will not send after receiving the first session message, but can continue to perform the subsequent session establishment procedure. Instead, a ringing message (180 ringing) may be sent to the terminal device so that the terminal device may communicate over the wireless local area network, i.e. the terminal device may establish a call over VoWi-Fi.
In one possible implementation manner of the first aspect, the sending, corresponding to the terminal device based on the second network registration type communication, a second session message to establish a call, where the second session message includes a resource reservation label includes: judging the network registration type of the terminal equipment based on the first parameter; judging whether the terminal equipment is calling equipment or not based on communication of a second network registration type corresponding to the terminal equipment, wherein the second network registration type comprises a cellular network; and transmitting a second session message for requesting to establish a call to the core network, wherein the second session message comprises a resource reservation label, corresponding to the terminal device communicating based on the second network registration type and the terminal device being the calling device.
It may be understood that the second Network registration type is a cellular Network, and the first parameter may refer to "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, and if "P-Access-Network-info=cellular", it may be determined that the Network registration type of the terminal device is a cellular Network.
In some embodiments of the present application, a terminal device that establishes a call based on cellular network communication, that is, voLTE or VoNR, needs to send a second session message including a resource reservation label to the IMS core network, and then the terminal device may perform resource reservation negotiation with the IMS core network, so that the terminal device may establish a call through cellular network communication, that is, voLTE or VoNR.
In one possible implementation of the first aspect, the first list of pre-manufactured network identifiers is obtained based on a system configuration file of the terminal device; the at least one pre-made network identifier is used to indicate that the first session message or the second session message is to be sent to the core network based on a network registration type determination of the terminal device.
It will be appreciated that the first list of pre-formed network identifiers may be information pre-stored in a system profile of the terminal device.
In a second aspect, an embodiment of the present application provides a terminal device, including a memory, configured to store instructions; a processor for executing instructions to implement the communication method provided by the above first aspect and various possible implementations of the first aspect.
In a third aspect, embodiments of the present application provide a readable storage medium having stored thereon instructions that, when executed on a terminal device, cause the terminal device to perform the above-mentioned first aspect and various possible implementations of the first aspect to provide a communication method.
In a fourth aspect, embodiments of the present application also provide a computer program product comprising a computer program/instruction which, when executed by a processor, implements the communication method provided by the above first aspect and the various possible implementations of the first aspect.
The advantages of the second to fourth aspects may be referred to above and related descriptions of the various possible implementations of the first aspect, and are not described here in detail.
Drawings
FIG. 1 illustrates a scenario diagram of a calling device initiating a call request, according to methods provided by some embodiments;
Fig. 2 is a flow chart illustrating a session interaction between a calling device and an IMS core network according to a method provided by an embodiment of the application;
Fig. 3 shows a communication architecture diagram between a calling device and a network according to a method provided by an embodiment of the present application;
FIG. 4 is a flow chart of a communication method according to an embodiment of the present application;
FIG. 5 is a schematic diagram showing a specific flow of a communication method according to the method provided by the embodiment of the application;
Fig. 6 is a schematic diagram of detecting IMS registration information of a terminal device according to a method provided by an embodiment of the present application;
Fig. 7 shows a schematic structural diagram of a terminal device 100 according to a method provided in an embodiment of the present application.
Detailed Description
Illustrative embodiments of the present application include, but are not limited to, a communication method, a terminal device, and a readable storage medium.
It can be appreciated that the electronic device in the embodiment of the present application may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), etc. The terminal device may be a mobile phone (mobile phone), a smart tv, a wearable device, a tablet (Pad), a computer with wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in a smart grid (SMART GRID), a wireless terminal in a transportation security (transportation safety), a wireless terminal in a smart city (SMART CITY), a wireless terminal in a smart home (smart home), etc.
The technical scheme provided by the application can be applied to various communication systems, such as: a fifth generation (5th Generation,5G) mobile communication system or new radio access technology (new radio access technology, NR), a long term evolution (long term evolution, LTE) system, an LTE frequency division duplex (frequency division duplex, FDD) system, an LTE time division duplex (time division duplex, TDD), a universal mobile communication system (universal mobile telecommunication system, UMTS), etc. The technical scheme provided by the application can also be applied to future communication systems, such as a sixth generation mobile communication system and the like.
As previously described, when the calling device sends an invite message to the IMS core network, it carries the precondition tag. The IMS core network waits for the calling device to send a resource reservation negotiation message based on the fact that precondition labels are carried in the received invite message. In addition, based on the 3GPP rule, the terminal device establishing the call through Vowi-Fi does not need to reserve resources, so the calling device does not send a resource reservation negotiation message to the IMS core network, the IMS core network and the like do not reach the resource reservation negotiation message, and the calling device does not send ringing messages (180 ringing) from other called devices. Based on this, the handset 10 fails to establish a call with other called devices through the IMS core network.
In addition, the calling device does not receive 180ringing, and cannot play the video color ring (video ring back tone, VRBT), such as playing a network video.
For example, fig. 2 shows a session interaction flow diagram between a calling device and an IMS core network. The specific flow of session interaction may include:
1. The calling device sends an invite message to the IMS core network based on Vowi-Fi, and carries a resource reservation label. It is understood that the resource reservation label is the precondition label. In some embodiments, no matter what voice call technology is used as the calling device to send an invite message to the IMS core network to request to establish a call, the invite message carries a precondition tag, which indicates that the calling device has resource reservation capability.
2. The IMS core network sends 183 a message to the calling device, carrying the resource reservation label. In some embodiments, after receiving an invite message carrying 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 precondition tag, indicating that the resource reservation capability is enabled.
3. The calling device does not send a resource reservation negotiation message to the IMS core network. In some embodiments, the device that establishes a call over VoWi-Fi may not make a resource reservation because the calling device establishes the call over VoWi-Fi based on the specifications of the third generation partnership project (3rd generation partnership project,3GPP). Therefore, the calling device does not need to perform resource reservation negotiation, i.e. does not send a resource reservation negotiation message to the IMS core network.
4. The IMS core network does not send a response message "200ok" 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 "200ok" to the calling device corresponding to the resource reservation negotiation.
5. The IMS core network does not send a ringing message "180ringing" to the calling device. In some embodiments, the IMS core network does not receive the resource reservation negotiation message sent by the calling device, and therefore, the IMS core network does not send a ringing message "180ringing" to the calling device.
6. The IMS core network does not send a response message "200ok" corresponding to the invite message. In some embodiments, the IMS core network does not send a response message "200ok" corresponding to the invite message to the calling device, based on the IMS core network not receiving the resource reservation negotiation message sent by the calling device, nor sending the ringing message "180 ringing".
Based on the above, the calling device fails to establish a call.
It may be understood that the invite message, the resource reservation negotiation message, the 180 message, the color ring negotiation message, etc. mentioned in the embodiments of the present application all belong to a message corresponding to a session initiation protocol (session initiation protocol, SIP), where SIP is a text-based application layer protocol, and may be used to establish, modify, or terminate a multimedia session.
It is appreciated that IMS-based voice call technologies may include VoWi-Fi, long term evolution voice over bearer (VoLTE), 5G voice over nr (VoNR). The VoWi-Fi is a voice call technology for transmitting voice calls based on a wireless local area network (wireless local area network, WLAN), for example, the WLAN may be a wireless fidelity network (WIRELESS FIDELITY, wi-Fi), that is, a user may use a terminal device with VoWi-Fi capability to perform voice and video calls in a Wi-Fi environment. Furthermore, voLTE and VoNR are both voice call technologies based on a cellular network to transmit voice calls. In particular, voLTE is a voice call technology based on a 4G network to transmit a voice call, that is, a user may use a terminal device with VoLTE capability to perform a voice and video call in a 4G network environment. VoNR is a voice call technology based on 5G network transmission voice call, i.e. a user can use a terminal device with VoNR capability to make voice and video calls in a 5G network environment.
It will be appreciated that embodiments of the present application relate to wireless local area networks, cellular networks, IMS core networks. Wireless local area networks (such as Wi-Fi) and cellular networks are both a wireless communication technology, a wireless local area network is a local area wireless communication network for wireless access between devices in a limited range, and a cellular network is a mobile communication network, which supports mobility for devices communicating at different locations. Furthermore, the IMS core network provides a unified management and switching platform for multimedia communication services, which is more focused than Wi-Fi and cellular networks. The IMS core network is a multimedia service form based on internet protocol (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 call, text, chat, etc.
In communication, wi-Fi is typically used for devices connected to a network, while the IMS core network is responsible for managing and exchanging multimedia communication services. When the terminal equipment is connected to the IMS network through Wi-Fi, the terminal equipment is connected to the IMS core network through a Wi-Fi access point, so that the Wi-Fi-based multimedia communication service, namely Vowi-Fi, is realized.
In order to solve the above problems, an embodiment of the present application provides a communication method, including: when the calling device establishes a call, the calling device can adjust information carried in an invite message sent to the IMS core network in advance based on the network registration type of the calling device. If the network registration type of the calling device is a wireless local area network, transmitting an invite message which does not carry a resource reservation (precondition) tag; if the calling device registers with the cellular network, an invite message carrying precondition tags is sent.
It can be appreciated that when the calling device communicates based on the wireless lan, the calling device establishes a call through VoWi-Fi, which is a voice call technology based on wireless lan transmission voice call, that is, the user can use the calling device with VoWi-Fi capability to perform voice and video call in a Wi-Fi environment.
Through the scheme, for the calling equipment communicating through the wireless local area network, namely the calling equipment establishing the call through Vowi-Fi, an invite message which does not carry precondition tags can be sent to the IMS core network to request to establish the call. Thus, after receiving the invite message, the IMS core network does not need to wait for a resource reservation negotiation message that the calling device will not send, but can continue to perform the subsequent call establishment procedure. But can send a ringing message (180 ringing) to the calling device, so that the calling device can establish a call with other called devices through Vowi-Fi, and further, the experience of the user for establishing the call based on the Vowi-Fi is improved.
Fig. 3 shows a communication architecture diagram between a calling device and a network, according to an embodiment of the application.
It will be appreciated that the layered architecture currently employed by communication system 30 applied to calling devices may divide the software into several layers, with the layers communicating via software interfaces. These layers may include an application layer 301, a framework layer 302, a kernel layer 303, a Modem (Modem) 304, and the like. The following describes a layer in which a functional module related to a communication method provided by an embodiment of the present application is located as an example.
As shown in fig. 3, the application layer 301 may include a series of application packages (android application package, APK) 3011.APK 3011 may include, without limitation, a gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, and three-way applications, etc. (not shown).
Framework layer 302 provides an application programming interface (application programming interface, API) and programming framework for the application programs of application layer 301. The framework layer 302 includes some predefined functions.
The framework layer 302 may include a telephony management module (telephony) 3021, a network detection module 3022. The phone management module 3021 may establish a media session for a calling device, may implement a voice service under a packet-switched network, and the like. That is, the phone management module 3021 may be used to initiate calls to and receive calls from an operator network, it being understood that the operator network may be a cellular network or a wireless local area network, and is not limited herein.
The network detection module 3022 may determine the network communication status of the calling device based on TCP/IP.
It is to be appreciated that the framework layer 302 can also include a system service, a window manager, a view system (VIEW SYSTEM), a resource manager, a notification manager, a display engine service (DISPLAY ENGINE SERVICE), a display composition (surfaceflinger), a graphics system (GRAPHICS SYSTEM), etc. (not shown), without limitation.
The kernel layer 303 may include sockets and transmission control protocol/internet interconnection protocol (transmission control protocol/internet protocol, TCP/IP). The socket is a communication mechanism, can shield communication details of each protocol, provides abstraction of TCP/IP protocol, is an interface for an application program to communicate through the TCP/IP protocol, and can uniformly and conveniently use functions of the TCP/IP protocol through the interface. TCP/IP is a communication transport protocol, and is also the most basic communication protocol in networks.
Included in Modem (Modem) 304 is a SIP module 3048 and an air interface protocol stack. The SIP module 3048 may be used, among other things, to establish, modify, and terminate multimedia sessions between calling devices and the IMS core network, such as data communication applications like voice, video, IP telephony, video conferencing, and instant messaging. In addition, the air interface protocol stack in modem (modem) 304 may be used to set up, configure, and release various radio bearer services. The air interface protocol stack can be divided into three layers: the first layer is a physical layer (PHYSICAL LAYER, PHY), the second layer is a data link layer, and the third layer is a network layer.
Specifically, the first layer PHY 3041 may be used to provide radio resources and physical layer processing for the data of the second and third layers.
The second layer may be responsible for establishing and managing data link transmissions between network nodes over the basic transmission services provided by the physical layer. In particular, the second layer may include a medium access control (medium access control, MAC) 3042, a radio link control protocol (radio link control, RLC) 3043, a packet data convergence protocol (PACKET DATA convergence protocol, PDCP) 3044.
The MAC 3042 may be responsible for mapping between logical channels and transport channels, multiplexing and dereferencing, uplink and downlink scheduling related procedures, random access, and the like.
PDCP 3044 may be responsible for encryption and decryption and integrity protection, reordering, support for out-of-order delivery, repeated discard, etc. to improve the reliability of data packet transmission.
The third layer may be used for all signaling processing responsible for accomplishing the interaction between the calling device and the network. In particular, the third layer may include NAS 3047, RRC 3046.
NAS 3047, as a non-access stratum, may be used to take care of communications between the calling device and an access and mobility management function (ACCESS AND mobility management function, AMF) module (not shown). The AMF may be responsible for functions such as authentication, authorization, registration, mobility management, and connection management of the calling device.
The RRC 3046 serves as an access layer for controlling and configuring all radio resources for lower layer protocols to enable communication between the calling device and the base station. The RRC layer may 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.
It is appreciated that the calling device may access an evolved packet core (evolved packet core, EPC) through an IP protocol after establishing a connection with the base station based on RRC. I.e. the modem of the calling device can obtain a unique network address, i.e. an IP address, based on the IP protocol and access the EPC core network via the IP address. The EPC core network is mainly used for managing user subscription data, mobility management, exchange and forwarding of data, and the like, and supports multiple access modes, such as long-term evolution (LTE), 5G networks, wi-Fi, and the like.
In addition, after the calling device accesses the EPC core network, the calling device may further access the IMS core network through the SIP module 3048. The IMS core network is a multimedia service form based on Internet protocol (internet protocol, IP), supports Wi-Fi and access of cellular networks (such as 2G, 3G, 4G, 5G and the like, for example), and can provide multimedia services such as voice, video, text, chat and the like for users.
Fig. 4 shows a flow diagram of a communication method according to an embodiment of the application. It can be understood that the execution body in the flowchart shown in fig. 4 is the SIP module 3048 of the terminal device, and the description of the execution body of each step will not be repeated when introducing the execution content of each step.
As shown in fig. 4, the specific flow includes:
S401: and responding to the call initiation instruction, and detecting the network registration type of the calling equipment.
In some embodiments of the present application, the SIP module 3048 detects a corresponding call initiation instruction based on the user making a network call, initiating a voice, video call, etc. Based on this, the SIP module 3048 may further detect IMS registration information of the terminal device, and by detecting the IMS registration information of the terminal device, may determine a public land mobile network (public land mobile network, PLMN) identifier of the terminal device, that is, plnm, and by detecting plnm of the terminal device, may determine network operator information, network registration type, etc. of the terminal device.
It will be appreciated that PLMN refers generally to a string representing the identifier of the public land mobile network PLMN. In mobile communication technology plmn is typically used to represent an identifier of a mobile network operator, consisting of a set of digits, including a country code (mobile country code, MCC) and a network code (mobile network code, MNC). For example, plmn for chinese movement may be 46000. Plmn in this format is used by the mobile device to identify and select the mobile network to connect to. In addition, PLMN refers to a type of mobile communication network for providing mobile communication services. A PLMN consists of a group of base stations and associated devices covering a specific geographical area for providing wireless communication and mobile telephony services for mobile terminal devices.
It will be appreciated that the public land mobile network identifier plmn of the terminal device may be obtained by detecting IMS registration information of the terminal device, and network operator information, network registration type, etc. of the terminal device may be obtained based on plmn.
It will be appreciated that different operators have a unique plmn in different regions. For example, plmn corresponding to a mobile operator in different regions may include 46000, 45412, plmn of a carrier may include 46001, etc., plmn of a telecommunications operator may include 46003, etc., and is not limited herein.
It will be appreciated that when a terminal device is to establish a call, IMS needs to be registered, which is a form of IP-based multimedia service that can be used to enable a terminal client to implement voice, video, text, chat, etc., and that IMS supports access to wireless local area networks (e.g., wi-Fi) and cellular networks (e.g., 2G, 3G, 4G, 5G, etc.).
S402: corresponding to the calling device registering with the wireless local area network, an invite message is sent that does not include the resource reservation label.
In some embodiments of the present application, based on the above S401, the Network registration type of the calling device is obtained, and if the parameter "P-Access-network=i-wlan" for identifying the Network registration type of the terminal device is detected, it may be determined that the calling device registers for the wireless local area Network. And then can determine that the calling device is based on Vowi-Fi to establish a call. Based on this, the SIP module 3048 may send an invite message to the IMS core network that does not include the precondition tag.
S403: corresponding to the calling device registering with the cellular network, an invite message is sent comprising a resource reservation label.
In some embodiments of the present application, based on the above S401, the Network registration type of the calling device is acquired, and if the parameter "P-Access-network=cell" for identifying the Network registration type of the terminal device is detected, it may be determined that the calling device registers with the cellular Network. And may further determine that the calling device may establish a call based on VoLTE or VoNR, etc. Based on this, the SIP module 3048 may send an invite message including precondition tags to the IMS core network.
Through the scheme, the calling device for establishing the call based on Vowi-Fi can send an invite message which does not carry precondition tags to the IMS core network. Thus, after receiving the invite message, the IMS core network does not need to wait for a resource reservation negotiation message that the calling device will not send, but can continue to perform the subsequent call establishment procedure. Instead, a ringing message (180 ringing) may be sent to the calling device so that the calling device may establish a call with other called devices over VoWi-Fi.
Based on the communication architecture shown in fig. 3, the technical scheme of the present application is described in detail below with reference to the flow chart shown in fig. 5.
Fig. 5 shows a specific interaction flow diagram of a communication method according to an embodiment of the application. It is to be understood that the execution body of the flow shown in fig. 5 may be the SIP module 3048 of the terminal device mentioned in fig. 3, and the execution body of each step will not be described repeatedly when introducing the execution content of each step.
As shown in fig. 5, the specific flow includes:
S501: and detecting an IMS registration information of the terminal equipment by detecting a call initiation instruction.
In some embodiments of the present application, the SIP module 3048 detects a corresponding call initiation instruction based on the user making a network call, initiating a voice, video call, etc. Based on this, the SIP module 3048 may further detect IMS registration information of the terminal device to acquire plmn, network registration type, and the like, which the terminal device registers.
It will be appreciated that when a terminal device is to establish a call, IMS needs to be registered, which is a form of IP-based multimedia service that can be used to enable a terminal client to implement voice, video, text, chat, etc., and that IMS supports access to wireless local area networks (e.g., wi-Fi) and cellular networks (e.g., 2G, 3G, 4G, 5G, etc.).
S502: and acquiring an IMS registration detection result of the terminal equipment to obtain a public land mobile network identifier registered by the terminal equipment.
In some embodiments of the present application, based on S501, the IMS registration detection result of the terminal device may be obtained through the SIP module 3048, to obtain the public land mobile network identifier plmn of the terminal device registration, and to determine the network registration type, etc.
For example, refer to the schematic diagram of detecting IMS registration information of a terminal device shown in fig. 6. The SIP module 3048 based on the terminal device detects the IMS registration information to obtain a corresponding IMS registration detection result.
If the terminal device performs voice communication service through VoLTE, voLTE is a voice call technology based on IMS, and through VoLTE, the terminal device may perform high-definition voice call and video call services on the 4G network.
Specifically, the IMS registration detection result corresponding to VoLTE includes: "radio Access technology (radio Access technology, RAT) =lte", "P-Access-network=cellular", "plmn". Where "rat=lte" may mean that the terminal device communicates over a 4G network; "P-Access-network=cellular" may mean that the Network registration type of the terminal device is a cellular Network, where "P-Access-Network" is a parameter identifying the Network registration type of the terminal device; "plmn" may represent network operator information of the terminal device, consisting of a Mobile Country Code (MCC) and a Mobile Network Code (MNC), and may provide wireless communication and mobile phone services for the terminal device.
It will be appreciated that plmn of different operators in different regions all have a unique network identity. For example, plmn corresponding to a mobile operator in different regions may include 46000, 45412, plmn of a carrier may include 46001, etc., plmn of a telecommunications operator may include 46003, etc., and is not limited herein.
It will be appreciated that the RAT may also reflect network formats in which the terminal device is registered, such as: wi-Fi, LTE, NR, etc., are not limited herein. Where Wi-Fi belongs to WLAN, i.e. wireless local area network, LTE, NR etc. belongs to cellular network.
If the terminal device performs voice communication service through VoNR, voNR is voice service based on IMS, and through VoNR, the terminal device can perform high-definition voice call and video call services on the 5G network.
Specifically, the IMS registration detection result corresponding to VoNR includes: "rat=nr", "P-Access-network=cellular", "plmn". Where "rat=nr" may mean that the terminal device communicates through the 5G network; "P-Access-network=cellular" may mean that the Network registration type of the terminal device is a cellular Network; "plmn" may represent network operator information of the terminal device.
If the terminal device performs voice communication service by registering VoWi-Fi, the VoWi-Fi is an IMS-based voice service, and may also be referred to as Wi-Fi call, through which the terminal device may perform high-definition voice call and video call services on a Wi-Fi network.
Specifically, the IMS registration detection result corresponding to VoWi-Fi may include: "rat=wi-FI", "P-Access-network=i-wlan", "plmn". Where "rat=wi-FI" may mean that the terminal device communicates through WI-FI; "P-Access-network=i-wlan" may mean that the Network registration type of the terminal device is a wireless lan; "plmn" may represent network operator information of the terminal device.
S503: a list of pre-made public land mobile network identifiers is read.
In some embodiments of the present application, after determining plmn registered by the terminal device according to the IMS registration detection result of the terminal device, the list of pre-made public land mobile network identifiers in the system configuration file of the terminal device, that is, the pre-made plmn list, may be read through the SIP module 3048.
It may be appreciated that the pre-made plmn list is pre-stored in a system configuration file in the terminal device, where the pre-made plmn list includes a plurality of pre-made plmns, and the pre-made plmn in the list is used to indicate whether, when the terminal device registered with the pre-made plmn establishes a call, it needs to dynamically adjust whether an invite message sent to the IMS core network later carries a precondition tag based on its registered RAT, that is, a network registration type (such as a wireless local area network, a cellular network).
S504: it is determined whether the public land mobile network identifier registered by the terminal device is a pre-made public land mobile network identifier.
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 pre-made plmn in the pre-made plmn list.
If so, the process goes to step S505 to determine whether the network registration type of the terminal device is WLAN.
If not, go to S510 to determine whether the terminal device is a calling device.
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, and if the prefabricated plmn "45412" exists in the prefabricated plmn list, it may be determined that the plmn registered by the terminal device is the prefabricated plmn. Based on this, when the terminal device subsequently sends an invite message to the IMS core network to request for call establishment, it needs to dynamically adjust whether the invite message carries a precondition tag based on the network registration type of the terminal device.
S505: and judging whether the network registration type of the terminal equipment is a wireless local area network.
In some embodiments of the present application, after determining that plmn registered by the terminal device is a pre-made plmn, further, the network registration type of the terminal device may be detected by the SIP module 3048, and it may be determined whether the network registration type of the terminal device is a wireless lan.
If yes, go to S506 to determine whether the terminal device is a calling device.
If not, go to S508 to judge whether the terminal device is the calling device.
It can be understood that "P-Access-Network-Info" of the terminal device is determined based on the above S502, and "P-Access-Network-Info" is a parameter for identifying the Network registration type of the terminal device. When "P-Access-Network-info=i-WLAN" is detected as a specific value for explicitly identifying WLAN (wireless local area Network), it can be determined that the terminal device is accessing the mobile Network through WLAN.
S506: and judging whether the terminal equipment is calling equipment or not.
In some embodiments of the present application, after determining that the terminal device is connected to the mobile network through the wireless lan, the SIP module 3048 may further determine whether the current terminal device is a calling device. It will be appreciated that the calling device is the terminal device that is used to send an invite message requesting the establishment of a call.
If yes, go to S507, send an invite message that does not carry a resource reservation label to the IMS core network.
If the judgment result is negative, ending the flow.
For example, when the SIP module 3048 detects that "UE TO NETWORK" is included in the system configuration file of the terminal device, it may determine that the current terminal device is a calling device.
It will be appreciated that in other embodiments, when the SIP module 3048 detects that the system configuration file of the terminal device includes "NETWORK TO UE", it may determine that the current terminal device is a called device.
S507: and sending an invite message which does not carry the resource reservation label.
It may be appreciated that, based on 3GPP specifications, the calling device needs to carry precondition labels uniformly when sending an invite message, and after receiving an invite message carrying precondition labels, the IMS core network needs to wait for the calling device to send a resource reservation negotiation message.
In addition, based on the 3GPP specifications, if the calling device establishes a call based on the VoWi-Fi request, the calling device may 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 perform resource reservation negotiation with the IMS core network.
In some embodiments of the application, after determining that the terminal device has access to the mobile network via the WLAN, and that the terminal device is a calling device. The calling device may send an invite message to the IMS core network via the SIP module 3048 without carrying the precondition tag. Therefore, the IMS core network can continue to carry out the subsequent call establishment flow between the calling device and the IMS core network without waiting for the resource reservation negotiation message which the calling device can not send.
It will be appreciated that the SIP module 3048 of the calling device may send an invite message to the IMS core network to request that a call be established. And carrying precondition tags in the invite message to identify that the calling device has resource reservation capability. The resource reservation refers to that the calling device reserves corresponding bearing resources for the session between the calling device and other called devices, and the corresponding call is not further established when the resource reservation is not completed.
S508: and judging whether the terminal equipment is calling equipment or not.
In some embodiments of the application, when it is determined that the terminal device is not accessing the mobile network via the WLAN. Further, the SIP module 3048 may determine whether the current terminal device is a calling device.
If yes, go to S509, send an invite message carrying the resource reservation label.
If the judgment result is negative, ending the flow.
For example, when the SIP module 3048 detects that "UE TO NETWORK" is included in the system configuration file of the terminal device, that is, "from the terminal device TO the NETWORK", it may determine that the current terminal device is the calling device.
It will be appreciated 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 may determine that the current terminal device is the called device.
S509: and sending an invite message carrying the resource reservation label.
It can be appreciated that if the calling device requests to establish a call based on the wlan, 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 perform resource reservation negotiation with the IMS core network.
In some embodiments of the application, when it is determined that the terminal device is not accessing the mobile network through the wireless local area network, the terminal device is the calling device. Further, the SIP module 3048 of the calling device may send an invite message carrying precondition tag to the IMS core network to request that a call be established.
S510: and judging whether the terminal equipment is calling equipment or not.
In some embodiments of the application, upon determining that the terminal device registered plmn is not a pre-made plmn. Further, the SIP module 3048 may determine whether the current terminal device is a calling device.
If yes, go to S511, send an invite message carrying the resource reservation label.
If the judgment result is negative, ending the flow.
S511: and sending an invite message carrying the resource reservation label.
In some embodiments of the present application, after determining that the plmn registered by the terminal device is not a pre-made plmn, that is, when the proxy terminal device is establishing a call, it is not necessary to dynamically adjust whether the invite message sent to the IMS core network carries a precondition tag based on the RAT registered by the terminal device, such as a wireless local area network or a cellular network. And, based on the rule of 3GPP, the calling device sends an invite message to IMS core network, and the invite message needs to carry precondition labels. Thus, the SIP module 3048 of the calling device may send an invite message carrying precondition tag to the IMS core network to request that a call be established.
Through the scheme, the calling device for establishing the call based on wireless local area network communication, namely Vowi-Fi, can send the invite message which does not carry precondition tags to the IMS core network, so that the IMS core network can continue to execute the subsequent call establishment process after receiving the invite message without waiting for the resource reservation negotiation message which can not be sent by the calling device. Instead, a ringing message (180 ringing) may be sent to the calling device so that the calling device can successfully establish a call over VoWi-Fi.
Further, fig. 7 illustrates a schematic structural diagram of a terminal device 100 according to some embodiments of the present application. The communication method mentioned in the embodiment of the present application can be implemented based on the terminal device 100.
As shown in fig. 7, the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge 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 key 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, a communication apparatus 196, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity 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, and the like. Wherein:
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a micro-control unit (microcontroller unit, MCU), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, memory in processor 110 may hold stored data that processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it may be called directly from memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may be configured to perform the communication methods provided by the embodiments of the present application.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB type c interface, or the like. The USB interface 130 may be used to connect a charger to charge the terminal device 100, or may be used to transfer data between the terminal device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
The charge management module 140 is configured to receive a charge input from a charger. The charging management module 140 may also supply power to the terminal device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the terminal device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals, i.e., wireless carrier information.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the terminal device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), near field communication (NEAR FIELD communication, NFC), global navigation satellite system (global navigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), infrared (IR), ultra Wide Band (UWB), etc., applied on the terminal device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 may receive electromagnetic waves from the antenna 2, filter, amplify, and the like the received electromagnetic waves, and transmit the electromagnetic waves to the modem processor for demodulation. The wireless communication module 160 may amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
Terminal device 100 implements interface display functions via a GPU, display 194, and application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic LIGHT EMITTING diode (AMOLED), a flexible light-emitting diode (FLED), a mini-LED, a micro-OLED, a quantum dot light-emitting diode (QLED), or the like.
The camera 193 is used to capture still images or video.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions.
The internal memory 121 may be used to store computer executable program code that includes instructions, such as the memory 103 described previously. The internal memory 121 may include a program memory area and a data memory area. The program storage area may store an operating system, application programs required for at least one function, and the like. The data storage area may store data created during the use of the terminal device 100, for example, may be used to store a control identifier of a security control, a screen capturing redrawing policy identifier corresponding to the security control, a pattern, an image, a text, etc. corresponding to the screen capturing redrawing policy. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 executes various functional applications of the terminal device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110.
The terminal device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like.
The touch sensor 180K, also referred to as a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor 180K may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194.
The motor 191 may generate a vibration cue.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card.
It is to be 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 application, terminal device 100 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Embodiments of the present disclosure may be implemented in hardware, software, firmware, or a combination of these implementations. Embodiments of the application may be implemented as a computer program or program code that is executed on a programmable system comprising 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.
Program code may be applied to input instructions to perform the functions described herein and generate output information. The output information may 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 may be implemented in a high level procedural or object oriented programming language to communicate with a processing system.
Program code may also be implemented in assembly or machine language, if desired. Indeed, the mechanisms described in the present application are not limited in scope by any particular programming language. In either case, the language may be a compiled or interpreted language.
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 by or stored on one or more transitory or non-transitory 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. Thus, 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 diskettes, optical disks, 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 tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) in an electrical, optical, acoustical or other form of propagated signal using the internet. Thus, 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).
In the drawings, some structural or methodological features are shown in a particular arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of structural or methodological features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that, in the embodiments of the present application, each unit/module mentioned in each device is a logic unit/module, and in physical terms, one logic unit/module may be one physical unit/module, or may be a part of one physical unit/module, or may be implemented by a combination of multiple physical units/modules, where the physical implementation manner of the logic unit/module itself is not the most important, and the combination of functions implemented by the logic unit/module is only a key for solving the technical problem posed by the present application. Furthermore, in order to highlight the innovative part of the present application, the above-described device embodiments of the present application do not introduce units/modules that are less closely related to solving the technical problems posed by the present application, which does not indicate that the above-described device embodiments do not have other units/modules.
It should be noted that in the examples and descriptions of this patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. While the application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the application.

Claims (10)

1. A communication method, applied to a terminal device, the method comprising:
Responding to a first call initiation instruction, and detecting the network registration type of the terminal equipment;
transmitting a first session message to establish a call corresponding to the terminal device based on a first network registration type communication, the first session message not including a resource reservation label, wherein the first network registration type includes a wireless local area network;
And transmitting a second session message to establish a call based on the second network registration type communication corresponding to the terminal equipment, wherein the second session message comprises a resource reservation label.
2. The method of claim 1, wherein the terminal device comprises a first list of pre-made network identifiers, the first list of pre-made network identifiers comprising at least one pre-made network identifier, and
The responding to the first call initiation instruction, detecting the network registration type of the terminal equipment, comprising:
acquiring a first network identifier of the terminal equipment;
And acquiring a first parameter corresponding to the first network identifier being the same as the first prefabricated network identifier in the first prefabricated network identifier list, and determining the network registration type of the terminal equipment based on the first parameter, wherein the first parameter is a parameter for identifying the network registration type of the terminal equipment.
3. The method of claim 2, wherein transmitting a first session message to establish a call corresponding to the terminal device based on the first network registration type communication comprises:
judging the network registration type of the terminal equipment based on the first parameter;
And judging whether the terminal equipment is calling equipment or not based on the first network registration type communication corresponding to the terminal equipment, wherein the calling equipment is the terminal equipment requesting to establish a call.
4. A method according to claim 3, characterized in that the terminal device comprises first preset identification information for indicating the communication direction between the terminal device and the network, and
The determining, corresponding to the terminal device, whether the terminal device is a calling device based on the first network registration type communication, includes:
acquiring first preset identification information of the terminal equipment, and determining that the terminal equipment is calling equipment based on the first preset identification information.
5. The method of claim 3, wherein transmitting a first session message to establish a call corresponding to the terminal device based on the first network registration type communication, further comprises:
corresponding to the terminal equipment communicating based on a first network registration type and the terminal equipment being calling equipment, sending a first session message for requesting to establish a call to a core network;
wherein the first session message does not include a resource reservation tag, and the resource reservation tag is used for indicating that the terminal device has resource reservation capability.
6. The method according to claim 1, wherein the transmitting a second session message corresponding to the terminal device based on the second network registration type communication to establish a call, the second session message including a resource reservation label therein comprises:
judging the network registration type of the terminal equipment based on the first parameter;
Judging whether the terminal equipment is calling equipment or not based on second network registration type communication corresponding to the terminal equipment, wherein the second network registration type comprises a cellular network;
And transmitting a second session message for requesting to establish a call to a core network, wherein the second session message comprises a resource reservation label, corresponding to the terminal device communicating based on a second network registration type and the terminal device being a calling device.
7. The method according to claim 2, wherein the first list of pre-made network identifiers is obtained based on a system profile of the terminal device;
the at least one pre-made network identifier is used to indicate that a first session message or a second session message is to be sent to the core network based on a network registration type of the terminal device.
8. A terminal device, comprising: a processor and a memory, the memory comprising physical memory and external memory for storing instructions for execution by one or more processors of the terminal device; and a processor for executing the instructions to cause the terminal device to implement the communication method of any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by an electronic device, causes the electronic device to implement the communication method of any one of claims 1 to 7.
10. A computer program product comprising computer programs/instructions which, when run on an electronic device, cause the electronic device to implement the communication method of any of claims 1 to 7.
CN202410531026.2A 2024-04-29 2024-04-29 Communication method, terminal device and readable storage medium Pending CN118317381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410531026.2A CN118317381A (en) 2024-04-29 2024-04-29 Communication method, terminal device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410531026.2A CN118317381A (en) 2024-04-29 2024-04-29 Communication method, terminal device and readable storage medium

Publications (1)

Publication Number Publication Date
CN118317381A true CN118317381A (en) 2024-07-09

Family

ID=91732995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410531026.2A Pending CN118317381A (en) 2024-04-29 2024-04-29 Communication method, terminal device and readable storage medium

Country Status (1)

Country Link
CN (1) CN118317381A (en)

Similar Documents

Publication Publication Date Title
CN111372327B (en) Calling method, electronic equipment and system based on 5G SA network
CN108323245B (en) Registration and session establishment method, terminal and AMF entity
CN108684073B (en) It is a kind of registration and session establishment method, terminal and AMF entity
US20180035271A1 (en) System and method for determining establishment causes for emergency sessions
WO2020233538A1 (en) Method for accessing wireless local area network and terminal
US20220377524A1 (en) Methods and apparatus for direct discovery and communication using a wtru to wtru relay
CN110574407A (en) Apparatus and method for protecting initial non-access stratum message
CN113518393B (en) Network icon display method and terminal
WO2023246248A1 (en) Called paging method and apparatus
CN116471699A (en) User equipment for system information request and method thereof
CN114698046A (en) Call receiving method and communication device
CN113056037B (en) Network identifier display method, device and system
CN113709826A (en) Communication method, device and system
WO2023116056A1 (en) Call processing method and apparatus
CN114501568B (en) Calling method, calling device and user equipment
CN118317381A (en) Communication method, terminal device and readable storage medium
WO2022205254A1 (en) Method and device for determining edge configuration server
CN113939043A (en) Network icon display method and equipment
US20220369272A1 (en) Method and Apparatus to Control Access Attempts Due to Positioning
CN117221283B (en) Wireless network connection method, electronic equipment and computer readable storage medium
WO2024125089A1 (en) Data transmission method and terminal device
EP4277351A1 (en) Wi-fi access method and related device
WO2024027260A1 (en) Communication method, terminal, communication device, and storage medium
CN118233435A (en) Call processing method and related device
CN117750343A (en) Method, electronic device and computer readable storage medium for emergency call

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination