WO2022105711A1 - Ims registration method, terminal device and storage medium - Google Patents

Ims registration method, terminal device and storage medium Download PDF

Info

Publication number
WO2022105711A1
WO2022105711A1 PCT/CN2021/130632 CN2021130632W WO2022105711A1 WO 2022105711 A1 WO2022105711 A1 WO 2022105711A1 CN 2021130632 W CN2021130632 W CN 2021130632W WO 2022105711 A1 WO2022105711 A1 WO 2022105711A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
network
penalty timer
ims registration
indication information
Prior art date
Application number
PCT/CN2021/130632
Other languages
French (fr)
Chinese (zh)
Inventor
杨新伟
李哲
郭浩平
童笑
徐立凡
姜印清
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022105711A1 publication Critical patent/WO2022105711A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to an IMS registration method, a terminal device, and a storage medium.
  • the mobile communication system has developed from the second generation mobile communication system (2G) to the fifth generation mobile communication system (5G).
  • the voice service is a very important service.
  • voice services are mainly carried by the circuit switched (CS) domain.
  • voice services are mainly carried by the IP multimedia subsystem (IMS) domain.
  • IMS IP multimedia subsystem
  • a terminal device When a terminal device initiates an IMS registration in a 5G standalone architecture (SA) network and is rejected by the network, in some scenarios, the terminal device will fall back to the 4G network and start a penalty timer. The terminal device cannot perform IMS registration before the penalty timer expires, resulting in a low IMS registration rate.
  • SA 5G standalone architecture
  • the embodiments of the present application provide an IMS registration method, a terminal device and a storage medium, which improve the IMS registration rate.
  • a first aspect provides an IMS registration method, comprising: receiving a PDU session rejection message in a 5G network, the PDU session rejection message is used to indicate that a terminal device is rejected when initiating an IMS registration in the 5G network, and the PDU session rejection message includes the rejection Reason value.
  • the terminal device falls back to the 4G network, and it is determined that the retry indication information is not obtained and the rejection cause value is determined to be a preset cause value, the IMS registration is initiated in the 4G network.
  • the IMS registration method provided in the first aspect for a scenario where the terminal device fails to register with the IMS in the 5G network and does not obtain retry indication information, when the terminal device falls back to the 4G network, determine the reason for the rejection of the IMS registration failure in the 5G network
  • the IMS registration can be initiated in the 4G network immediately without considering the penalty timer.
  • the terminal device can initiate IMS registration immediately after falling back to the 4G network, which improves the IMS registration rate, and ensures that the voice service can be carried out in a timely manner in the 4G network, which improves the call quality of the voice service and improves the user's call experience.
  • determining that the retry indication information is not obtained includes: determining that the PDU session rejection message does not carry the retry indication information, and the USIM card of the terminal device does not set the retry indication information.
  • the preset cause values include: operator definition prohibited, service option not supported, requested service option not subscribed, and missing or unknown DNN in the slice.
  • the method further includes: starting a penalty timer, and the penalty timer is used to indicate the duration that the terminal device cannot initiate the IMS registration. .
  • the penalty timer can still be started.
  • the IMS registration initiated by the terminal device after falling back to the 4G network is not affected by the penalty timer. That is to say, if the terminal device falls back to the 4G network, it is determined that the rejection reason for IMS registration failure in the 5G network is the preset reason value and When the IMS of the 4G network is available, the IMS registration can still be initiated in the 4G network immediately, which improves the IMS registration rate and ensures that the voice service can be carried out in a timely manner in the 4G network.
  • starting the penalty timer includes: if the first penalty timer configured by the 5G network is obtained, starting the first penalty timer.
  • the method further includes: if the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is configured in the USIM card of the terminal device, starting the second penalty timer.
  • it also includes: if the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is not configured in the USIM card of the terminal device, starting the preset third penalty timer .
  • the method further includes: not starting a penalty timer, and the penalty timer is used to indicate that the terminal device cannot initiate the continuation of the IMS registration. time.
  • the terminal device will not start the penalty timer.
  • the IMS registration process in this scenario is simplified, and the execution efficiency is improved.
  • the preset cause value is stored in the blacklist.
  • a terminal device including: a receiving module configured to receive a PDU session rejection message in a 5G network, where the PDU session rejection message is used to indicate that the terminal device is rejected when IMS registration is initiated in the 5G network, and the PDU session The rejection message includes a rejection reason value; the processing module is used for initiating IMS registration in the 4G network when the terminal device falls back to the 4G network and determines that the retry indication information is not obtained and the rejection reason value is a preset reason value.
  • the processing module is specifically configured to: determine that the PDU session rejection message does not carry the retry indication information, and the USIM card of the terminal device does not set the retry indication information.
  • the preset cause values include: operator definition prohibited, service option not supported, requested service option not subscribed, and missing or unknown DNN in the slice.
  • the processing module is further configured to: start a penalty timer after determining that the retry indication information is not obtained and that the rejection cause value is a preset cause value, and the penalty timer is used to indicate that the terminal device cannot initiate the IMS.
  • the duration of the registration is further configured to: start a penalty timer after determining that the retry indication information is not obtained and that the rejection cause value is a preset cause value, and the penalty timer is used to indicate that the terminal device cannot initiate the IMS. The duration of the registration.
  • the processing module is specifically configured to: start the first penalty timer if the first penalty timer configured by the 5G network is obtained.
  • the processing module is further configured to: start the second penalty timer if the first penalty timer configured by the 5G network is not obtained and the second penalty timer is configured in the USIM card of the terminal device. .
  • the processing module is further configured to: if the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is not configured in the USIM card of the terminal device, start the preset third penalty timer. Punishment timer.
  • the processing module is further configured to: after it is determined that the retry indication information is not obtained and the rejection cause value is a preset cause value, the penalty timer is not started, and the penalty timer is used to indicate that the terminal device cannot initiate Duration of IMS registration.
  • the preset cause value is stored in the blacklist.
  • a terminal device in a third aspect, includes a processor, the processor is configured to be coupled to a memory, and read instructions in the memory and cause the terminal device to execute the method provided in the first aspect according to the instructions.
  • a terminal device including a processor and a memory, where the processor is configured to call a program stored in the memory to execute the method provided in the first aspect above.
  • a fifth aspect provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer or a processor, the method provided in the first aspect above is implemented.
  • a program product in a sixth aspect, includes a computer program, the computer program is stored in a readable storage medium, and at least one processor of a device can read the computer program from the readable storage medium , the at least one processor executes the computer program so that the device implements the method provided in the first aspect above.
  • FIG. 1 is an architectural diagram of a communication system to which an embodiment of the application is applicable;
  • FIG. 2 is a schematic diagram of an interface when a mobile phone resides in a 5G network
  • Fig. 3 is a kind of interface schematic diagram when the mobile phone resides in the 4G network
  • Fig. 4 is a kind of flow chart that terminal equipment carries out IMS registration
  • Fig. 5 is a kind of interface change schematic diagram of the mobile phone in the process shown in Fig. 4;
  • FIG. 6 is a flowchart of an IMS registration method provided by an embodiment of the present application.
  • Fig. 7 is a kind of interface change schematic diagram of the mobile phone in the process shown in Fig. 6;
  • FIG. 8 is another flowchart of the IMS registration method provided by the embodiment of the present application.
  • FIG. 9 is another flowchart of the IMS registration method provided by the embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 11 is another schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 1 is an architectural diagram of a communication system to which this embodiment of the present application is applicable.
  • the communication system may include 4G base stations, 5G base stations, core network equipment (not shown) and terminal equipment.
  • the base station in the 4G network can be called a 4G base station (evolved nodeB, eNB), and the base station in the 5G network can be called a 5G base station (5G nodeB, gNB).
  • the terminal device 1 can communicate with a 4G base station and/or a 5G base station.
  • the terminal device 1 resides in the 4G network, it can perform IMS registration with the core network device through the 4G base station, so as to perform the voice service in the 4G network. If the terminal device 1 resides in the 5G network, it can perform IMS registration with the core network device through the 5G base station, so as to perform voice services in the 5G network.
  • 4G base stations or 5G base stations can be connected to core network equipment wirelessly or wiredly.
  • the core network equipment and the 4G base station or 5G base station can be independent and different physical equipment, or the functions of the core network equipment and the functions of the 4G base station or 5G base station can be integrated on the same physical equipment, or can be integrated on one physical equipment. Some functions of core network equipment and some functions of 4G base stations or 5G base stations are included.
  • the core network equipment of the 4G network and the core network equipment of the 5G network may be the same or different.
  • a 4G base station or a 5G base station is a device on the network side for transmitting and receiving signals, such as a radio access network (RAN) node that connects a terminal device to a wireless network.
  • the wireless coverage area of a 4G base station or a 5G base station may include one or more cells.
  • a terminal device within the coverage of a cell communicates with a 4G base station or a 5G base station through transmission resources (eg, frequency domain resources, spectrum resources, or time-frequency resources) of the cell.
  • a 4G base station or a 5G base station may include a centralized unit (centralized unit, CU) node, or a distributed unit (distributed unit, DU) node, or a RAN device including a CU node and a DU node.
  • the type of the 4G base station or the 5G base station may include but is not limited to: a macro base station, a micro base station, a home base station (Femeto), or an access point (Access Point, AP).
  • the 5G base station in FIG. 1 may be a 5G base station in the 5G SA networking.
  • a terminal device also called user equipment (UE), mobile station (MS), or mobile terminal (MT) is a device that provides voice/data connectivity to users.
  • terminal devices are: mobile phone (mobile phone), tablet computer, notebook computer, PDA, mobile internet device (MID), wearable device, virtual reality (VR) device, augmented Augmented reality (AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, smart grid Wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc.
  • FIG. 2 is a schematic diagram of an interface when the mobile phone resides in the 5G network.
  • Figures (a) and (b) in Figure 2 are scenarios where the mobile phone successfully registers with the IMS in the 5G network
  • (c) in Figure 2 is the scenario where the mobile phone fails to register with the IMS in the 5G network. As shown in (a) of FIG.
  • the desktop 100 of the mobile phone may include icons of multiple application programs, and further include icons 111 and 121 .
  • Icon 121 is used to indicate that the mobile phone is currently residing in the 5G network
  • icon 111 is used to indicate that the mobile phone has successfully registered with the IMS in the 5G network, the user's voice service is carried by the IMS domain, and the user will have a higher-definition call experience.
  • the difference between (b) in FIG. 2 and (a) in FIG. 2 is that the icons indicating successful IMS registration of the mobile phone are different. Specifically, in (a) of FIG. 2 , the icon 111 is displayed as the letters “HD”, and in (b) of FIG. 2 , the icon 112 is displayed as the letters “VoLTE”.
  • the desktop 100 of the mobile phone only includes the icon 121, indicating that the mobile phone is currently residing in the 5G network, but has not successfully registered with the IMS.
  • FIG. 3 is a schematic diagram of an interface when the mobile phone resides in the 4G network.
  • the picture (a) in FIG. 3 is a scene in which the mobile phone successfully registers with the IMS in the 4G network
  • the picture (b) in FIG. 3 is the scene in which the mobile phone fails to register with the IMS in the 4G network.
  • the difference between (a) in FIG. 3 and (a) in FIG. 2 is that the icons indicating that the mobile phone resides on the network are different, and the same is that the icons indicating the successful IMS registration of the mobile phone are the same. Specifically, in (a) of FIG.
  • the icon 122 is displayed as the letters "4G", indicating that the mobile phone resides in the 4G network, and in (a) of FIG. 2, the icon 121 is displayed as the letters "5G” , indicating that the phone resides on the 5G network.
  • the icons 111 are the same, and both are displayed as letters "HD”.
  • FIG. 2 and FIG. 3 are only examples, and do not limit the icon indicating that the terminal device resides on the network and the icon indicating whether the IMS registration of the terminal device is successful.
  • the terminal device When the terminal device initiates IMS registration in the 5GSA network and is rejected by the network side, in some scenarios, the terminal device will fall back to the 4G network and start a penalty timer. The process will be described below with reference to FIG. 4 .
  • the terminal device currently resides on the 5G network
  • the IMS registration method may include:
  • the terminal device receives the PDU session rejection message sent by the 5G base station.
  • the packet data unit (packet data unit, PDU) session rejection message is used to indicate that the terminal device is rejected when initiating IMS registration in the 5G network, and the PDU session rejection message includes a rejection reason value.
  • the rejection reason value can be found in Section 6.4.1.4.3 of the 3rd Generation Partnership Project (3GPP) protocol 24501. For example, see Table 1 for some rejection reason values.
  • the terminal device determines whether retry indication information is acquired.
  • the retry indication information (also referred to as re-attempt) is used to instruct the terminal device to perform operations after the IMS registration fails in the 5G network.
  • the PDU session rejection message may include retry indication information, and/or the global subscriber identity module (universal subscriber identity module, USIM) card of the terminal device may be configured with retry indication information.
  • the global subscriber identity module universal subscriber identity module, USIM
  • acquiring the retry indication information may include: acquiring the retry indication information in the PDU session rejection message, or acquiring the retry indication information in the USIM card.
  • the first retry indication information is determined as the retry indication information obtained by the terminal device.
  • the retry indication information is not acquired, which may include: the PDU session rejection message does not include the retry indication information, and the USIM card does not include the retry indication information.
  • the terminal device determines whether the rejection cause value in the PDU session rejection message is #8, #32, #33 or #70.
  • the terminal device determines that the rejection reason value in the PDU session rejection message is not #8, #32, #33 or #70 (see Table 1), it will perform S407, and perform subsequent operations according to the relevant provisions in the communication protocol.
  • the terminal device determines whether a penalty timer is configured on the network side.
  • the penalty timer configured on the network side is used to indicate the duration that the terminal device cannot initiate IMS registration. This application does not limit the specific duration of the penalty timer configured on the network side.
  • S408 is executed to start the penalty timer configured on the network side. Before the penalty timer expires, the terminal device cannot initiate IMS registration.
  • S405 is executed.
  • the terminal device determines whether a penalty timer is configured in the USIM card.
  • the penalty timer configured in the USIM card is used to indicate the duration that the terminal device cannot initiate IMS registration. This application does not limit the specific duration of the penalty timer configured in the USIM card.
  • S409 is executed to start the penalty timer configured in the USIM card. Before the penalty timer expires, the terminal device cannot initiate IMS registration.
  • S410 is executed to start the preset penalty timer.
  • the preset penalty timer is used to indicate the duration that the terminal device cannot initiate IMS registration. This application does not limit the specific duration of the preset penalty timer, for example, 12 minutes.
  • the terminal device fails to register with the IMS in the 5G network, it can fall back to the 4G network.
  • the flowchart shown in FIG. 4 does not show the steps for the terminal device to fall back to the 4G network.
  • the step of returning the terminal device to the 4G network may be performed after S401.
  • this application does not limit the implementation manner of the terminal device falling back to the 4G network, which can be an existing process, for example, implemented through a tracking area update (tracking area update, TAU) process.
  • TAU tracking area update
  • the penalty timer may be one of the penalty timer configured on the network side shown in the dotted box in FIG. 4 , the penalty timer configured in the USIM card, and the preset penalty timer. The terminal device cannot initiate IMS registration before the penalty timer expires.
  • the IMS access point name does not change depending on whether the access technology is 4G or 5G, which leads to the penalty timer still running and taking effect after the terminal device falls back to the 4G network, even if the 4G wireless access technology
  • the terminal device still cannot initiate IMS registration in the 4G network, and can initiate IMS registration in the 4G network only after the penalty timer expires. This results in lower IMS registration rates.
  • the terminal device cannot initiate a voice service on the 4G network before the penalty timer expires.
  • a voice service If a voice service is initiated, it will fall back to the CS domain of the 2G network or 3G network, affecting the user's voice service, reducing the voice call quality, and reducing the user's The calling experience is poor. Moreover, if the 2G network or 3G network in the area where the user is located is unavailable, the terminal device cannot perform the voice service, which affects the basic functions of the voice service.
  • FIG. 5 is a schematic diagram of an interface change of the mobile phone in the process shown in FIG. 4 .
  • the desktop 100 of the mobile phone may include an icon 121, indicating that the mobile phone is currently residing in the 5G network, but there is no icon 111 or 112 in FIG. 2, indicating that the mobile phone is registered in the 5G network IMS fail. After that, the mobile phone falls back to the 4G network.
  • the desktop 100 of the mobile phone may include an icon 122 to indicate that the mobile phone is currently residing in the 4G network, but there is no icon 111 in FIG. The mobile phone did not successfully register with the IMS in the 4G network.
  • the IMS registration method provided in the embodiment of the present application can be applied to a scenario where the terminal device fails to register with the IMS in the 5G network and does not obtain retry indication information.
  • the terminal device falls back to the 4G network and determines that the rejection reason value for IMS registration failure in the 5G network is the preset reason value and the IMS of the 4G network is available, it can immediately initiate the IMS registration in the 4G network without considering the penalty timer. duration. Since the terminal equipment can immediately initiate IMS registration after falling back to the 4G network, the IMS registration rate is improved, and it is ensured that the voice service can be carried out in a timely manner in the 4G network, which improves the call quality of the voice service and improves the user's call experience.
  • FIG. 6 is a flowchart of an IMS registration method provided by an embodiment of the present application.
  • the execution subject may be a terminal device.
  • the IMS registration method provided in this embodiment may include:
  • the PDU session rejection message is used to indicate that the terminal device is rejected when initiating IMS registration in the 5G network, and the PDU session rejection message includes a rejection reason value.
  • the preset cause values may include but are not limited to: operator-defined prohibition (#8 reason value), service option not supported (#32 cause value), requested service option not subscribed (# Reason value #33) and missing or unknown DNNs in the slice (reason value #70).
  • the preset reason value can be stored in the blacklist.
  • the blacklist can be a table.
  • the blacklist can be operated. Since the blacklist can be configured, the cost and cost of subsequent maintenance and modification are reduced. the complexity.
  • the terminal device fails to register with the IMS in the 5G network and does not obtain the retry indication information
  • the terminal device falls back to the 4G network, it is determined that the IMS registration fails in the 5G network.
  • the rejection reason value is the preset reason value and the IMS of the 4G network is available
  • the IMS registration can be initiated in the 4G network immediately, without considering the penalty timer.
  • the terminal device can initiate IMS registration immediately after it falls back to the 4G network, which improves the IMS registration rate, and ensures that the voice service can be carried out in a timely manner in the 4G network, which improves the call quality of the voice service and improves the user's call experience.
  • FIG. 7 is a schematic diagram of an interface change of the mobile phone in the process shown in FIG. 6 .
  • the desktop 100 of the mobile phone may include an icon 121, indicating that the mobile phone is currently residing in the 5G network, but there is no icon 111 or 112 in FIG. 2, indicating that the mobile phone is registered in the 5G network IMS fail. After that, the mobile phone falls back to the 4G network.
  • the desktop 100 of the mobile phone may include an icon 111 and an icon 122 .
  • Icon 122 indicates that the mobile phone is currently residing on the 4G network
  • icon 111 indicates that the mobile phone has successfully registered with the IMS in the 4G network
  • the user's voice service can be carried by the IMS domain in time, and the user will have a higher-definition call experience.
  • the PDU session rejection message does not carry retry indication information
  • the global subscriber identity card USIM card of the terminal device does not have retry indication information set.
  • the IMS registration method may further include:
  • the penalty timer is started, and the penalty timer is used to indicate the duration that the terminal device cannot initiate IMS registration.
  • the penalty timer can still be started.
  • the IMS registration initiated by the terminal device after falling back to the 4G network is not affected by the penalty timer. That is to say, if the terminal device falls back to the 4G network, it is determined that the rejection reason for IMS registration failure in the 5G network is the preset reason value and When the IMS of the 4G network is available, the IMS registration can still be initiated in the 4G network immediately, which improves the IMS registration rate and ensures that the voice service can be performed in a timely manner in the 4G network. Moreover, since the process of starting the penalty timer is consistent with the existing process, the modification of the existing process is avoided, which is easy to implement.
  • the execution sequence between the terminal device starting the penalty timer and the terminal device falling back to the 4G network is not limited in this embodiment.
  • the penalty timer may include any one of the following: a penalty timer configured on the network side, a penalty timer configured in the USIM card, and a preset penalty timer.
  • start a penalty timer which may include:
  • the first penalty timer configured by the 5G network is obtained, the first penalty timer is started.
  • the second penalty timer is started.
  • the preset third penalty timer is started.
  • the IMS registration method may further include:
  • the penalty timer is not started, and the penalty timer is used to indicate the duration that the terminal device cannot initiate IMS registration.
  • the terminal device will not start the penalty timer.
  • the IMS registration process in this scenario is simplified, and the execution efficiency is improved.
  • FIG. 8 is another flowchart of the IMS registration method provided by the embodiment of the present application.
  • a specific implementation manner of the IMS registration method is provided.
  • a penalty timer may be started.
  • the IMS registration method provided in this embodiment may include:
  • the terminal device initiates IMS registration in the 4G network.
  • the terminal device fails to register with the IMS in the 5G network, it can fall back to the 4G network.
  • the flowchart shown in FIG. 8 does not show the steps for the terminal device to fall back to the 4G network.
  • the step of returning the terminal device to the 4G network may be performed after S401.
  • a penalty timer can be started.
  • the terminal device falls back to the 4G network, and it is determined that the rejection reason value of the IMS registration failure in the 5G network is the preset reason value and the IMS of the 4G network is available, it can immediately initiate the IMS registration in the 4G network, and the penalty timer is actually invalid. .
  • the terminal device can initiate IMS registration immediately after it falls back to the 4G network, which improves the IMS registration rate, and ensures that the voice service can be carried out in a timely manner in the 4G network, which improves the call quality of the voice service and improves the user's call experience.
  • FIG. 9 is another flowchart of the IMS registration method provided by the embodiment of the present application.
  • FIG. 9 on the basis of the embodiment shown in FIG. 6 , another specific implementation manner of the IMS registration method is provided.
  • the terminal device fails to register with the IMS in the 5G network and does not obtain retry indication information, the penalty timer is not started.
  • the preset reason value may be stored in the blacklist.
  • the IMS registration method provided by this embodiment may include:
  • the terminal device receives the PDU session rejection message sent by the 5G base station.
  • the terminal device determines whether retry indication information is acquired.
  • the terminal device judges whether the rejection reason value in the PDU session rejection message is the reason value in the blacklist.
  • the terminal device determines that the rejection reason value in the PDU session rejection message is not the reason value in the blacklist, S407 is performed, and subsequent operations are performed according to the relevant provisions in the communication protocol.
  • the terminal device does not start the penalty timer, and initiates IMS registration in the 4G network.
  • S401 , S402 , S406 and S407 may refer to the description of the relevant steps in FIG. 4 for details, and the principles are similar, and will not be repeated here.
  • the terminal device fails to register with the IMS in the 5G network, it can fall back to the 4G network.
  • the flowchart shown in FIG. 9 does not show the steps for the terminal device to fall back to the 4G network.
  • the step of returning the terminal device to the 4G network may be performed after S401.
  • the terminal device does not start the penalty timer when the IMS registration fails in the 5G network and the retry indication information is not obtained.
  • the terminal device falls back to the 4G network, and it is determined that the rejection reason value of the IMS registration failure in the 5G network is the preset reason value and the IMS of the 4G network is available, the IMS registration can be immediately initiated in the 4G network, which improves the IMS registration rate, and , which ensures that the voice service can be carried out in a timely manner in the 4G network, improves the call quality of the voice service, and improves the user's call experience.
  • FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As shown in FIG. 10 , the terminal device provided in this embodiment may include:
  • the receiving module 1001 is configured to receive a PDU session rejection message in a 5G network.
  • the PDU Session Reject message is used to indicate that the terminal device is rejected when initiating IMS registration in the 5G network, and the PDU Session Reject message includes a rejection reason value.
  • the processing module 1002 is configured to initiate IMS registration in the 4G network when the terminal device falls back to the 4G network and determines that the retry indication information has not been obtained and that the rejection cause value is a preset cause value.
  • processing module 1002 is specifically used for:
  • the PDU session rejection message does not carry retry indication information, and no retry indication information is set in the USIM card of the terminal device.
  • the preset reason values include: operator-defined prohibition, service option not supported, requested service option not subscribed, and missing or unknown DNN in the slice.
  • processing module 1002 is further configured to:
  • a penalty timer is started, and the penalty timer is used to indicate the duration that the terminal device cannot initiate IMS registration.
  • processing module 1002 is specifically used for:
  • the first penalty timer configured by the 5G network is obtained, the first penalty timer is started.
  • processing module 1002 is further configured to:
  • the second penalty timer is started.
  • processing module 1002 is further configured to:
  • the preset third penalty timer is started.
  • processing module 1002 is further configured to:
  • the penalty timer is not started, and the penalty timer is used to indicate the duration that the terminal device cannot initiate the IMS registration.
  • the preset reason value is stored in the blacklist.
  • the terminal device provided in this embodiment can execute the IMS registration method provided by the method embodiment of this application, and the technical principle and technical effect are similar, and details are not described herein again.
  • the terminal device includes corresponding hardware and/or software modules for executing each function.
  • the present application can be implemented in hardware or in the form of a combination of hardware and computer software in conjunction with the algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
  • the terminal device may be divided into functional modules according to the foregoing method examples.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation.
  • the names of the modules in the embodiments of the present application are schematic, and the names of the modules are not limited in actual implementation.
  • FIG. 11 shows another structure of a terminal device provided by an embodiment of the present application.
  • the terminal device includes: a processor 1101 , a receiver 1102 , a transmitter 1103 , a memory 1104 , and a bus 1105 .
  • the processor 1101 includes one or more processing cores, and the processor 1101 executes various functional applications and information processing by running software programs and modules.
  • the receiver 1102 and the transmitter 1103 may be implemented as a communication component, which may be a baseband chip.
  • the memory 1104 is connected to the processor 1101 through the bus 1105 .
  • the memory 1104 may be configured to store at least one program instruction, and the processor 1101 may be configured to execute the at least one program instruction, so as to implement the technical solutions of the foregoing embodiments.
  • the implementation principle and technical effect thereof are similar to the related embodiments of the above method, and are not repeated here.
  • the processor can read the software program in the memory, interpret and execute the instructions of the software program, and process the data of the software program.
  • the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the control circuit in the control circuit.
  • the control circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal through the antenna in the form of electromagnetic waves. send.
  • the control circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data.
  • FIG. 11 only shows one memory and a processor. In an actual terminal, there may be multiple processors and memories.
  • the memory may also be referred to as a storage medium or a storage device, etc., which is not limited in this embodiment of the present application.
  • the processor may include a baseband processor and a central processing unit.
  • the baseband processor is mainly used to process communication data
  • the central processing unit is mainly used to execute software programs and process data of the software programs.
  • the baseband processor and the central processing unit may be integrated into one processor, or may be independent processors, which are interconnected through technologies such as a bus.
  • a terminal may include multiple baseband processors to adapt to different network standards
  • a terminal may include multiple central processors to enhance its processing capability
  • various components of the terminal may be connected through various buses.
  • the baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip.
  • the central processing unit can also be expressed as a central processing circuit or a central processing chip.
  • the function of processing the communication protocol and communication data may be built in the processor, or may be stored in the memory in the form of a software program, and the processor executes the software program to realize the baseband processing function.
  • the memory can be integrated in the processor or independent of the processor.
  • the memory includes a cache, which can store frequently accessed data/instructions.
  • the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, which can implement or
  • a general purpose processor may be a microprocessor or any conventional processor or the like.
  • the steps of the methods disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
  • the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SS), etc., or may also be a volatile memory (volatile memory), for example Random-access memory (RAM).
  • Memory is, without limitation, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
  • the memory in this embodiment of the present application may also be a circuit or any other device capable of implementing a storage function, for storing program instructions and/or data.
  • the methods provided by the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • When implemented in software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, network equipment, user equipment, or other programmable apparatus.
  • the computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line, DSL), or wireless (eg, infrared, wireless, microwave, etc.)
  • a readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media.
  • the available media can be magnetic media (eg, floppy disks, hard disks, magnetic tapes) ), optical media (eg, digital video disc (DWD), or semiconductor media (eg, SSD), etc.).
  • the embodiments of the present application provide a computer program product, which enables the terminal to execute the technical solutions in the foregoing embodiments when the computer program product runs on a terminal.
  • the implementation principle and technical effect thereof are similar to those of the above-mentioned related embodiments, which will not be repeated here.
  • the embodiments of the present application provide a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a terminal, the terminal executes the technical solutions of the foregoing embodiments.
  • the implementation principle and technical effect thereof are similar to those of the above-mentioned related embodiments, which will not be repeated here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Embodiments of the present application apply to the technical field of communications, and provide an IMS registration method, a terminal device and a storage medium. The terminal device receives a PDU session rejection message in a 5G network. The PDU session rejection message is used for indicating that IMS registration by the terminal device in the 5G network is rejected, and comprises a rejection cause value. When the terminal device falls back to a 4G network, and it is determined that no retry indication information is acquired and that the rejection cause value is a preset cause value, the IMS is registered in the 4G network. Since the terminal device can immediately initiate the IMS registration after falling back to the 4G network, the IMS registration rate is improved.

Description

IMS注册方法、终端设备及存储介质IMS registration method, terminal device and storage medium
本申请要求于2020年11月20日提交国家知识产权局、申请号为202011314974.9、申请名称为“IMS注册方法、终端设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011314974.9 and the application name "IMS registration method, terminal equipment and storage medium" filed with the State Intellectual Property Office on November 20, 2020, the entire contents of which are incorporated by reference in in this application.
技术领域technical field
本申请实施例涉及通信技术领域,尤其涉及一种IMS注册方法、终端设备及存储介质。The embodiments of the present application relate to the field of communication technologies, and in particular, to an IMS registration method, a terminal device, and a storage medium.
背景技术Background technique
随着通信技术的发展,移动通信系统从第二代移动通信系统(2G)发展到了第五代移动通信系统(5G)。其中,语音业务是非常重要的业务。在2G或3G网络中,语音业务主要由电路交换(circuit switched,CS)域承载,在4G或5G网络中,语音业务主要由IP多媒体子系统(IP multimedia subsystem,IMS)域承载。随着4G和5G网络的普及,语音业务越来越多的由IMS域承载。IMS域承载的语音业务较CS域承载的语音业务有更高清的通话体验,是未来语音业务的发展方向。With the development of communication technology, the mobile communication system has developed from the second generation mobile communication system (2G) to the fifth generation mobile communication system (5G). Among them, the voice service is a very important service. In 2G or 3G networks, voice services are mainly carried by the circuit switched (CS) domain. In 4G or 5G networks, voice services are mainly carried by the IP multimedia subsystem (IMS) domain. With the popularization of 4G and 5G networks, more and more voice services are carried by the IMS domain. The voice service carried in the IMS domain has a higher-definition call experience than the voice service carried in the CS domain, which is the development direction of the voice service in the future.
当终端设备在5G独立组网(standalone architecture,SA)网络中发起IMS注册被网络拒绝时,在一些场景中,终端设备会回落到4G网络,并且启动惩罚定时器。终端设备在惩罚定时器超时前无法进行IMS的注册,导致IMS注册率低。When a terminal device initiates an IMS registration in a 5G standalone architecture (SA) network and is rejected by the network, in some scenarios, the terminal device will fall back to the 4G network and start a penalty timer. The terminal device cannot perform IMS registration before the penalty timer expires, resulting in a low IMS registration rate.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种IMS注册方法、终端设备及存储介质,提高了IMS注册率。The embodiments of the present application provide an IMS registration method, a terminal device and a storage medium, which improve the IMS registration rate.
第一方面,提供了一种IMS注册方法,包括:在5G网络中接收PDU会话拒绝消息,PDU会话拒绝消息用于指示终端设备在5G网络中发起IMS注册时被拒绝,PDU会话拒绝消息包括拒绝原因值。在终端设备回落到4G网络,且确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值时,在4G网络中发起IMS注册。A first aspect provides an IMS registration method, comprising: receiving a PDU session rejection message in a 5G network, the PDU session rejection message is used to indicate that a terminal device is rejected when initiating an IMS registration in the 5G network, and the PDU session rejection message includes the rejection Reason value. When the terminal device falls back to the 4G network, and it is determined that the retry indication information is not obtained and the rejection cause value is determined to be a preset cause value, the IMS registration is initiated in the 4G network.
第一方面提供的IMS注册方法,对于终端设备在5G网络中IMS注册失败,并且没有获取到重试指示信息的场景,当终端设备回落到4G网络,确定在5G网络中IMS注册失败的拒绝原因值为预设原因值且4G网络的IMS可用时,可以在4G网络中立即发起IMS注册,不需要考虑惩罚定时器。这样,终端设备回落到4G网络后可以立即发起IMS注册,提高了IMS注册率,而且确保了语音业务可以在4G网络中及时的进行,提升了语音业务的通话质量,提升了用户的通话体验。The IMS registration method provided in the first aspect, for a scenario where the terminal device fails to register with the IMS in the 5G network and does not obtain retry indication information, when the terminal device falls back to the 4G network, determine the reason for the rejection of the IMS registration failure in the 5G network When the value is the preset cause value and the IMS of the 4G network is available, the IMS registration can be initiated in the 4G network immediately without considering the penalty timer. In this way, the terminal device can initiate IMS registration immediately after falling back to the 4G network, which improves the IMS registration rate, and ensures that the voice service can be carried out in a timely manner in the 4G network, which improves the call quality of the voice service and improves the user's call experience.
一种可能的实现方式中,确定没有获取到重试指示信息,包括:确定PDU会话拒绝消息中没有携带重试指示信息,且终端设备的USIM卡中没有设置重试指示信息。In a possible implementation manner, determining that the retry indication information is not obtained includes: determining that the PDU session rejection message does not carry the retry indication information, and the USIM card of the terminal device does not set the retry indication information.
一种可能的实现方式中,预设原因值包括:运营商定义禁止、服务选项不支持、请求的服务选项未订阅和切片中缺少或未知的DNN。In a possible implementation manner, the preset cause values include: operator definition prohibited, service option not supported, requested service option not subscribed, and missing or unknown DNN in the slice.
一种可能的实现方式中,确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值之后,还包括:启动惩罚定时器,惩罚定时器用于指示终端设备不能发起IMS注册的持续时间。In a possible implementation manner, after it is determined that the retry indication information is not obtained and the rejection cause value is a preset cause value, the method further includes: starting a penalty timer, and the penalty timer is used to indicate the duration that the terminal device cannot initiate the IMS registration. .
在该实现方式中,终端设备在5G网络中IMS注册失败、并且没有获取到重试指示信息时,依然可以启动惩罚定时器。但是,终端设备回落到4G网络后发起IMS注册并不受惩罚定时器的影响,也就是说,终端设备回落到4G网络,确定在5G网络中IMS注册失败的拒绝原因值为预设原因值且4G网络的IMS可用时,仍然可以在4G网络中立即发起IMS注册,提高了IMS注册率,确保语音业务可以在4G网络中及时的进行。In this implementation manner, when the terminal device fails to register with the IMS in the 5G network and does not obtain retry indication information, the penalty timer can still be started. However, the IMS registration initiated by the terminal device after falling back to the 4G network is not affected by the penalty timer. That is to say, if the terminal device falls back to the 4G network, it is determined that the rejection reason for IMS registration failure in the 5G network is the preset reason value and When the IMS of the 4G network is available, the IMS registration can still be initiated in the 4G network immediately, which improves the IMS registration rate and ensures that the voice service can be carried out in a timely manner in the 4G network.
一种可能的实现方式中,启动惩罚定时器,包括:若获取到5G网络配置的第一惩罚定时器,则启动第一惩罚定时器。In a possible implementation manner, starting the penalty timer includes: if the first penalty timer configured by the 5G network is obtained, starting the first penalty timer.
一种可能的实现方式中,还包括:若没有获取到5G网络配置的第一惩罚定时器,且终端设备的USIM卡中配置有第二惩罚定时器,则启动第二惩罚定时器。In a possible implementation manner, the method further includes: if the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is configured in the USIM card of the terminal device, starting the second penalty timer.
一种可能的实现方式中,还包括:若没有获取到5G网络配置的第一惩罚定时器,且终端设备的USIM卡中没有配置第二惩罚定时器,则启动预设的第三惩罚定时器。In a possible implementation manner, it also includes: if the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is not configured in the USIM card of the terminal device, starting the preset third penalty timer .
一种可能的实现方式中,确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值之后,还包括:不启动惩罚定时器,惩罚定时器用于指示终端设备不能发起IMS注册的持续时间。In a possible implementation manner, after determining that the retry indication information is not obtained and determining that the rejection cause value is a preset cause value, the method further includes: not starting a penalty timer, and the penalty timer is used to indicate that the terminal device cannot initiate the continuation of the IMS registration. time.
在该实现方式中,对于终端设备在5G网络中IMS注册失败、并且没有获取到重试指示信息的场景,终端设备不会启动惩罚定时器。通过不启动惩罚定时器,简化了该场景下IMS注册的流程,提高了执行效率。In this implementation manner, for a scenario where the terminal device fails to register with the IMS in the 5G network and does not obtain retry indication information, the terminal device will not start the penalty timer. By not starting the penalty timer, the IMS registration process in this scenario is simplified, and the execution efficiency is improved.
一种可能的实现方式中,预设原因值存储在黑名单中。In a possible implementation manner, the preset cause value is stored in the blacklist.
在该实现方式中,由于黑名单可配置,降低了后续维护修改的成本和复杂度。In this implementation manner, since the blacklist is configurable, the cost and complexity of subsequent maintenance and modification are reduced.
第二方面,提供了一种终端设备,包括:接收模块,用于在5G网络中接收PDU会话拒绝消息,PDU会话拒绝消息用于指示终端设备在5G网络中发起IMS注册时被拒绝,PDU会话拒绝消息包括拒绝原因值;处理模块,用于在终端设备回落到4G网络,且确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值时,在4G网络中发起IMS注册。In a second aspect, a terminal device is provided, including: a receiving module configured to receive a PDU session rejection message in a 5G network, where the PDU session rejection message is used to indicate that the terminal device is rejected when IMS registration is initiated in the 5G network, and the PDU session The rejection message includes a rejection reason value; the processing module is used for initiating IMS registration in the 4G network when the terminal device falls back to the 4G network and determines that the retry indication information is not obtained and the rejection reason value is a preset reason value.
一种可能的实现方式中,处理模块具体用于:确定PDU会话拒绝消息中没有携带重试指示信息,且终端设备的USIM卡中没有设置重试指示信息。In a possible implementation manner, the processing module is specifically configured to: determine that the PDU session rejection message does not carry the retry indication information, and the USIM card of the terminal device does not set the retry indication information.
一种可能的实现方式中,预设原因值包括:运营商定义禁止、服务选项不支持、请求的服务选项未订阅和切片中缺少或未知的DNN。In a possible implementation manner, the preset cause values include: operator definition prohibited, service option not supported, requested service option not subscribed, and missing or unknown DNN in the slice.
一种可能的实现方式中,处理模块还用于:在确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值之后,启动惩罚定时器,惩罚定时器用于指示终端设备不能发起IMS注册的持续时间。In a possible implementation manner, the processing module is further configured to: start a penalty timer after determining that the retry indication information is not obtained and that the rejection cause value is a preset cause value, and the penalty timer is used to indicate that the terminal device cannot initiate the IMS. The duration of the registration.
一种可能的实现方式中,处理模块具体用于:若获取到5G网络配置的第一惩罚定时器,则启动第一惩罚定时器。In a possible implementation manner, the processing module is specifically configured to: start the first penalty timer if the first penalty timer configured by the 5G network is obtained.
一种可能的实现方式中,处理模块还用于:若没有获取到5G网络配置的第一惩罚定时器,且终端设备的USIM卡中配置有第二惩罚定时器,则启动第二惩罚定时器。In a possible implementation manner, the processing module is further configured to: start the second penalty timer if the first penalty timer configured by the 5G network is not obtained and the second penalty timer is configured in the USIM card of the terminal device. .
一种可能的实现方式中,处理模块还用于:若没有获取到5G网络配置的第一惩罚定时器,且终端设备的USIM卡中没有配置第二惩罚定时器,则启动预设的第三惩罚定时器。In a possible implementation manner, the processing module is further configured to: if the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is not configured in the USIM card of the terminal device, start the preset third penalty timer. Punishment timer.
一种可能的实现方式中,处理模块还用于:在确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值之后,不启动惩罚定时器,惩罚定时器用于指示终端设备不能发起IMS注册的持续时间。In a possible implementation manner, the processing module is further configured to: after it is determined that the retry indication information is not obtained and the rejection cause value is a preset cause value, the penalty timer is not started, and the penalty timer is used to indicate that the terminal device cannot initiate Duration of IMS registration.
一种可能的实现方式中,预设原因值存储在黑名单中。In a possible implementation manner, the preset cause value is stored in the blacklist.
第三方面,提供一种终端设备,终端设备包括处理器,处理器用于与存储器耦合,并读取存储器中的指令并根据指令使得终端设备执行第一方面提供的方法。In a third aspect, a terminal device is provided, the terminal device includes a processor, the processor is configured to be coupled to a memory, and read instructions in the memory and cause the terminal device to execute the method provided in the first aspect according to the instructions.
第四方面,提供一种终端设备,包括处理器和存储器,处理器用于调用存储器中存储的程序,以执行以上第一方面提供的方法。In a fourth aspect, a terminal device is provided, including a processor and a memory, where the processor is configured to call a program stored in the memory to execute the method provided in the first aspect above.
第五方面,提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令在计算机或处理器上运行时,实现以上第一方面提供的方法。A fifth aspect provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer or a processor, the method provided in the first aspect above is implemented.
第六方面,提供一种程序产品,所述程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,设备的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得该设备实施以上第一方面提供的方法。In a sixth aspect, a program product is provided, the program product includes a computer program, the computer program is stored in a readable storage medium, and at least one processor of a device can read the computer program from the readable storage medium , the at least one processor executes the computer program so that the device implements the method provided in the first aspect above.
附图说明Description of drawings
图1为本申请实施例适用的通信系统的架构图;FIG. 1 is an architectural diagram of a communication system to which an embodiment of the application is applicable;
图2为手机驻留在5G网络中时的一种界面示意图;2 is a schematic diagram of an interface when a mobile phone resides in a 5G network;
图3为手机驻留在4G网络中时的一种界面示意图;Fig. 3 is a kind of interface schematic diagram when the mobile phone resides in the 4G network;
图4为终端设备进行IMS注册的一种流程图;Fig. 4 is a kind of flow chart that terminal equipment carries out IMS registration;
图5为手机在图4所示流程中的一种界面变化示意图;Fig. 5 is a kind of interface change schematic diagram of the mobile phone in the process shown in Fig. 4;
图6为本申请实施例提供的IMS注册方法的一种流程图;6 is a flowchart of an IMS registration method provided by an embodiment of the present application;
图7为手机在图6所示流程中的一种界面变化示意图;Fig. 7 is a kind of interface change schematic diagram of the mobile phone in the process shown in Fig. 6;
图8为本申请实施例提供的IMS注册方法的另一种流程图;FIG. 8 is another flowchart of the IMS registration method provided by the embodiment of the present application;
图9为本申请实施例提供的IMS注册方法的又一种流程图;FIG. 9 is another flowchart of the IMS registration method provided by the embodiment of the present application;
图10为本申请实施例提供的终端设备的一种结构示意图;FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of the present application;
图11为本申请实施例提供的终端设备的另一种结构示意图。FIG. 11 is another schematic structural diagram of a terminal device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图描述本申请实施例。The embodiments of the present application are described below with reference to the accompanying drawings.
本申请实施例提供的IMS注册方法,可以应用于终端设备。示例性的,图1为本申请实施例适用的通信系统的架构图。如图1所示,通信系统可以包括4G基站、5G基站、核心网设备(未示出)和终端设备。其中,4G网络中的基站可以称为4G基站(evolved nodeB,eNB),5G网络中的基站可以称为5G基站(5G nodeB,gNB)。如图1所示,终端设备1可以与4G基站和/或5G基站进行通信。具体的,若终端设备1驻留在4G网络中,可以通过4G基站与核心网设备进行IMS注册,从而在4G网络中进行语音业务。若终端设备1驻留在5G网络中,可以通过5G基站与核心网设备进行IMS注册,从而在5G网络中进行语音业务。The IMS registration method provided in the embodiment of the present application can be applied to a terminal device. Exemplarily, FIG. 1 is an architectural diagram of a communication system to which this embodiment of the present application is applicable. As shown in FIG. 1 , the communication system may include 4G base stations, 5G base stations, core network equipment (not shown) and terminal equipment. Among them, the base station in the 4G network can be called a 4G base station (evolved nodeB, eNB), and the base station in the 5G network can be called a 5G base station (5G nodeB, gNB). As shown in FIG. 1 , the terminal device 1 can communicate with a 4G base station and/or a 5G base station. Specifically, if the terminal device 1 resides in the 4G network, it can perform IMS registration with the core network device through the 4G base station, so as to perform the voice service in the 4G network. If the terminal device 1 resides in the 5G network, it can perform IMS registration with the core network device through the 5G base station, so as to perform voice services in the 5G network.
4G基站或5G基站可以通过无线或有线的方式与核心网设备连接。核心网设备与4G 基站或5G基站可以是独立的不同的物理设备,也可以将核心网设备的功能与4G基站或5G基站的功能集成在同一个物理设备上,还可以是一个物理设备上集成了核心网设备的部分功能和4G基站或5G基站的部分功能。4G base stations or 5G base stations can be connected to core network equipment wirelessly or wiredly. The core network equipment and the 4G base station or 5G base station can be independent and different physical equipment, or the functions of the core network equipment and the functions of the 4G base station or 5G base station can be integrated on the same physical equipment, or can be integrated on one physical equipment. Some functions of core network equipment and some functions of 4G base stations or 5G base stations are included.
可选的,4G网络的核心网设备与5G网络的核心网设备可以相同,也可以不同。Optionally, the core network equipment of the 4G network and the core network equipment of the 5G network may be the same or different.
4G基站或5G基站是网络侧中一种用于发射和接收信号的装置,例如将终端设备接入到无线网络的无线接入网(radio access network,RAN)节点。4G基站或5G基站的无线覆盖区域可以包括一个或多个小区。小区覆盖范围内的终端设备通过该小区的传输资源(例如,频域资源,频谱资源,或时频资源)与4G基站或5G基站进行通信。可选的,在一种实现方式中,4G基站或5G基站可以包括集中单元(centralized unit,CU)节点、或分布单元(distributed unit,DU)节点、或包括CU节点和DU节点的RAN设备。可选的,4G基站或5G基站的类型可以包括但不限于:宏基站、微基站、家庭基站(Femeto)或接入点(Access Point,AP)。可选的,图1中的5G基站可以为5G SA组网中的5G基站。A 4G base station or a 5G base station is a device on the network side for transmitting and receiving signals, such as a radio access network (RAN) node that connects a terminal device to a wireless network. The wireless coverage area of a 4G base station or a 5G base station may include one or more cells. A terminal device within the coverage of a cell communicates with a 4G base station or a 5G base station through transmission resources (eg, frequency domain resources, spectrum resources, or time-frequency resources) of the cell. Optionally, in an implementation manner, a 4G base station or a 5G base station may include a centralized unit (centralized unit, CU) node, or a distributed unit (distributed unit, DU) node, or a RAN device including a CU node and a DU node. Optionally, the type of the 4G base station or the 5G base station may include but is not limited to: a macro base station, a micro base station, a home base station (Femeto), or an access point (Access Point, AP). Optionally, the 5G base station in FIG. 1 may be a 5G base station in the 5G SA networking.
终端设备,又称之为用户设备(user equipment,UE)、移动台(mobile station,MS)、或移动终端(mobile terminal,MT)等,是一种向用户提供语音/数据连通性的设备。目前,一些终端设备的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、或智慧家庭(smart home)中的无线终端等。A terminal device, also called user equipment (UE), mobile station (MS), or mobile terminal (MT), is a device that provides voice/data connectivity to users. At present, some examples of terminal devices are: mobile phone (mobile phone), tablet computer, notebook computer, PDA, mobile internet device (MID), wearable device, virtual reality (VR) device, augmented Augmented reality (AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, smart grid Wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, etc.
终端设备在4G网络中或在5G网络中进行IMS注册时,终端设备的桌面中显示的图标可以指示IMS注册是否成功。以终端设备为手机为例,示例性的,手机在5G网络中进行IMS注册时,图2为手机驻留在5G网络中时的一种界面示意图。图2中的(a)图和(b)图为手机在5G网络中IMS注册成功的场景,图2中的(c)图为手机在5G网络中IMS注册失败的场景。如图2中的(a)所示,手机的桌面100中可以包括多个应用程序的图标,还包括图标111和图标121。图标121用于指示手机当前驻留在5G网络中,图标111用于指示手机在5G网络中IMS注册成功,用户的语音业务由IMS域承载,用户将具有更高清的通话体验。图2中的(b)图与图2中的(a)图的区别在于:指示手机IMS注册成功的图标不同。具体的,在图2中的(a)中,图标111显示为字母“HD”,在图2中的(b)中,图标112显示为字母“VoLTE”。在图2中的(c)中,手机的桌面100中只包括图标121,指示手机当前驻留在5G网络中,但并没有成功注册IMS。When the terminal device performs IMS registration in the 4G network or in the 5G network, an icon displayed on the desktop of the terminal device can indicate whether the IMS registration is successful. Taking the terminal device as a mobile phone as an example, exemplarily, when the mobile phone performs IMS registration in the 5G network, FIG. 2 is a schematic diagram of an interface when the mobile phone resides in the 5G network. Figures (a) and (b) in Figure 2 are scenarios where the mobile phone successfully registers with the IMS in the 5G network, and (c) in Figure 2 is the scenario where the mobile phone fails to register with the IMS in the 5G network. As shown in (a) of FIG. 2 , the desktop 100 of the mobile phone may include icons of multiple application programs, and further include icons 111 and 121 . Icon 121 is used to indicate that the mobile phone is currently residing in the 5G network, and icon 111 is used to indicate that the mobile phone has successfully registered with the IMS in the 5G network, the user's voice service is carried by the IMS domain, and the user will have a higher-definition call experience. The difference between (b) in FIG. 2 and (a) in FIG. 2 is that the icons indicating successful IMS registration of the mobile phone are different. Specifically, in (a) of FIG. 2 , the icon 111 is displayed as the letters “HD”, and in (b) of FIG. 2 , the icon 112 is displayed as the letters “VoLTE”. In (c) of FIG. 2, the desktop 100 of the mobile phone only includes the icon 121, indicating that the mobile phone is currently residing in the 5G network, but has not successfully registered with the IMS.
相似的,手机在4G网络中进行IMS注册时,图3为手机驻留在4G网络中时的一种界面示意图。图3中的(a)图为手机在4G网络中IMS注册成功的场景,图3中的(b)图为手机在4G网络中IMS注册失败的场景。图3中的(a)图与图2中的(a)图相比,区别在于指示手机驻留网络的图标不同,相同之处在于指示手机IMS注册成功的图标相同。具体的,在图3中的(a)图中,图标122显示为字母“4G”,指示手机驻留在4G网络中,在图2中的(a)图中,图标121显示为字母“5G”,指示手机驻留在5G网络中。其中,图标111相同,均显示为字母“HD”。Similarly, when the mobile phone performs IMS registration in the 4G network, FIG. 3 is a schematic diagram of an interface when the mobile phone resides in the 4G network. The picture (a) in FIG. 3 is a scene in which the mobile phone successfully registers with the IMS in the 4G network, and the picture (b) in FIG. 3 is the scene in which the mobile phone fails to register with the IMS in the 4G network. The difference between (a) in FIG. 3 and (a) in FIG. 2 is that the icons indicating that the mobile phone resides on the network are different, and the same is that the icons indicating the successful IMS registration of the mobile phone are the same. Specifically, in (a) of FIG. 3, the icon 122 is displayed as the letters "4G", indicating that the mobile phone resides in the 4G network, and in (a) of FIG. 2, the icon 121 is displayed as the letters "5G" , indicating that the phone resides on the 5G network. Among them, the icons 111 are the same, and both are displayed as letters "HD".
需要说明,图2和图3仅是示例,并不对指示终端设备驻留网络的图标和指示终端设备IMS注册是否成功的图标形成限定。It should be noted that FIG. 2 and FIG. 3 are only examples, and do not limit the icon indicating that the terminal device resides on the network and the icon indicating whether the IMS registration of the terminal device is successful.
当终端设备在5GSA网络中发起IMS注册被网络侧拒绝时,在一些场景中,终端设备会回落到4G网络,并且启动惩罚定时器。下面结合图4对该过程进行说明。When the terminal device initiates IMS registration in the 5GSA network and is rejected by the network side, in some scenarios, the terminal device will fall back to the 4G network and start a penalty timer. The process will be described below with reference to FIG. 4 .
如图4所示,终端设备当前驻留在5G网络,IMS注册方法可以包括:As shown in Figure 4, the terminal device currently resides on the 5G network, and the IMS registration method may include:
S401、终端设备接收5G基站发送的PDU会话拒绝消息。S401. The terminal device receives the PDU session rejection message sent by the 5G base station.
其中,分组数据单元(packet data unit,PDU)会话拒绝消息用于指示终端设备在5G网络中发起IMS注册时被拒绝,PDU会话拒绝消息中包括拒绝原因值。拒绝原因值可以参见第三代合作伙伴计划(3rd generation partnership project,3GPP)协议24501的第6.4.1.4.3章节。例如,一些拒绝原因值可以参见表1。Wherein, the packet data unit (packet data unit, PDU) session rejection message is used to indicate that the terminal device is rejected when initiating IMS registration in the 5G network, and the PDU session rejection message includes a rejection reason value. The rejection reason value can be found in Section 6.4.1.4.3 of the 3rd Generation Partnership Project (3GPP) protocol 24501. For example, see Table 1 for some rejection reason values.
表1Table 1
Figure PCTCN2021130632-appb-000001
Figure PCTCN2021130632-appb-000001
S402、终端设备判断是否获取到重试指示信息。S402. The terminal device determines whether retry indication information is acquired.
其中,重试指示信息(也称为re-attempt)用于指示终端设备在5G网络中IMS注册失败后进行的操作。The retry indication information (also referred to as re-attempt) is used to instruct the terminal device to perform operations after the IMS registration fails in the 5G network.
可选的,PDU会话拒绝消息中可能包括重试指示信息,和/或,终端设备的全球用户识别卡(universal subscriber identity module,USIM)卡中可能配置有重试指示信息。Optionally, the PDU session rejection message may include retry indication information, and/or the global subscriber identity module (universal subscriber identity module, USIM) card of the terminal device may be configured with retry indication information.
可选的,获取到重试指示信息,可以包括:获取到PDU会话拒绝消息中的重试指示信息,或者,获取到USIM卡中的重试指示信息。Optionally, acquiring the retry indication information may include: acquiring the retry indication information in the PDU session rejection message, or acquiring the retry indication information in the USIM card.
可选的,若PDU会话拒绝消息包括第一重试指示信息,且USIM卡中包括第二重试指示信息,则将第一重试指示信息确定为终端设备获取到的重试指示信息。Optionally, if the PDU session rejection message includes the first retry indication information, and the USIM card includes the second retry indication information, the first retry indication information is determined as the retry indication information obtained by the terminal device.
可选的,没有获取到重试指示信息,可以包括:PDU会话拒绝消息中不包括重试指示信息,且,USIM卡中不包括重试指示信息。Optionally, the retry indication information is not acquired, which may include: the PDU session rejection message does not include the retry indication information, and the USIM card does not include the retry indication information.
如果终端设备获取到重试指示信息,则执行S406,根据重试指示信息执行后续操作。If the terminal device obtains the retry indication information, S406 is performed, and subsequent operations are performed according to the retry indication information.
如果终端设备没有获取到重试指示信息,则执行S403。If the terminal device does not acquire the retry indication information, S403 is performed.
S403、终端设备判断PDU会话拒绝消息中的拒绝原因值是否为#8、#32、#33或#70。S403. The terminal device determines whether the rejection cause value in the PDU session rejection message is #8, #32, #33 or #70.
如果终端设备判断PDU会话拒绝消息中的拒绝原因值不是#8、#32、#33或#70(参见表1),则执行S407,根据通信协议中的相关规定执行后续操作。If the terminal device determines that the rejection reason value in the PDU session rejection message is not #8, #32, #33 or #70 (see Table 1), it will perform S407, and perform subsequent operations according to the relevant provisions in the communication protocol.
如果终端设备判断PDU会话拒绝消息中的拒绝原因值是#8、#32、#33或#70,则执行S404。If the terminal device determines that the rejection reason value in the PDU session rejection message is #8, #32, #33 or #70, S404 is executed.
S404、终端设备判断网络侧是否配置惩罚定时器。S404. The terminal device determines whether a penalty timer is configured on the network side.
其中,网络侧配置的惩罚定时器用于指示终端设备不能发起IMS注册的持续时间。本申请对网络侧配置的惩罚定时器的具体时长不做限定。The penalty timer configured on the network side is used to indicate the duration that the terminal device cannot initiate IMS registration. This application does not limit the specific duration of the penalty timer configured on the network side.
如果终端设备判断网络侧配置有惩罚定时器,则执行S408,启动网络侧配置的惩罚定时器,在该惩罚定时器超时前,终端设备不能发起IMS注册。If the terminal device determines that a penalty timer is configured on the network side, S408 is executed to start the penalty timer configured on the network side. Before the penalty timer expires, the terminal device cannot initiate IMS registration.
如果终端设备判断网络侧没有配置惩罚定时器,则执行S405。If the terminal device determines that the penalty timer is not configured on the network side, S405 is executed.
S405、终端设备判断USIM卡中是否配置惩罚定时器。S405. The terminal device determines whether a penalty timer is configured in the USIM card.
其中,USIM卡中配置的惩罚定时器用于指示终端设备不能发起IMS注册的持续时间。本申请对USIM卡中配置的惩罚定时器的具体时长不做限定。The penalty timer configured in the USIM card is used to indicate the duration that the terminal device cannot initiate IMS registration. This application does not limit the specific duration of the penalty timer configured in the USIM card.
如果终端设备判断USIM卡中配置有惩罚定时器,则执行S409,启动USIM卡中配置的惩罚定时器,在该惩罚定时器超时前,终端设备不能发起IMS注册。If the terminal device determines that the penalty timer is configured in the USIM card, S409 is executed to start the penalty timer configured in the USIM card. Before the penalty timer expires, the terminal device cannot initiate IMS registration.
如果终端设备判断USIM卡中没有配置惩罚定时器,则执行S410,启动预设的惩罚定时器。其中,预设的惩罚定时器用于指示终端设备不能发起IMS注册的持续时间。本申请对预设的惩罚定时器的具体时长不做限定,例如,12分钟。If the terminal device determines that the penalty timer is not configured in the USIM card, S410 is executed to start the preset penalty timer. The preset penalty timer is used to indicate the duration that the terminal device cannot initiate IMS registration. This application does not limit the specific duration of the preset penalty timer, for example, 12 minutes.
S406、根据重试指示信息执行后续操作。S406. Perform subsequent operations according to the retry indication information.
S407、根据通信协议执行后续操作。S407. Perform subsequent operations according to the communication protocol.
S408、启动网络侧配置的惩罚定时器。S408. Start the penalty timer configured on the network side.
S409、启动USIM卡中配置的惩罚定时器。S409. Start the penalty timer configured in the USIM card.
S410、启动预设的惩罚定时器。S410. Start a preset penalty timer.
需要说明,当终端设备在5G网络中IMS注册失败后,可以回落到4G网络,图4所示的流程图中并未示出终端设备回落到4G网络的步骤。实际应用时,终端设备回落到4G网络的步骤可以在S401之后执行。It should be noted that when the terminal device fails to register with the IMS in the 5G network, it can fall back to the 4G network. The flowchart shown in FIG. 4 does not show the steps for the terminal device to fall back to the 4G network. In practical application, the step of returning the terminal device to the 4G network may be performed after S401.
可选的,本申请对终端设备回落到4G网络的实现方式不做限定,可以为现有流程,例如,通过跟踪区更新(tracking area update,TAU)流程实现。Optionally, this application does not limit the implementation manner of the terminal device falling back to the 4G network, which can be an existing process, for example, implemented through a tracking area update (tracking area update, TAU) process.
可见,对于终端设备在5G网络中IMS注册失败,并且没有获取到重试指示信息的场景,终端设备会启动惩罚定时器。惩罚定时器可能为图4中虚线框中示出的网络侧配置的惩罚定时器、USIM卡中配置的惩罚定时器和预设的惩罚定时器中的一种。终端设备在惩罚定时器超时前不能发起IMS注册。通常,IMS接入点名称(access point name,APN)不随接入技术是4G还是5G而发生改变,这就导致终端设备回落到4G网络后惩罚定时器依然运行并生效,即使4G无线接入技术下IMS可用,终端设备在4G网络中依然不能发起IMS注册,只有等惩罚定时器超时后才能在4G网络中发起IMS注册。这就导致IMS注册率较低。而且,终端设备在惩罚定时器超时前无法在4G网络中发起语音业务,如果发起语音业务,会回落到2G网络或3G网络的CS域,影响用户的语音业务,降低了语音通话质量,用户的通话体验很差。而且,如果用户所在区域的2G网络或3G网络不可用,那么终端设备无法进行语音业务,影响语音业务的基本功能。It can be seen that for the scenario where the terminal device fails to register with the IMS in the 5G network and does not obtain the retry indication information, the terminal device will start the penalty timer. The penalty timer may be one of the penalty timer configured on the network side shown in the dotted box in FIG. 4 , the penalty timer configured in the USIM card, and the preset penalty timer. The terminal device cannot initiate IMS registration before the penalty timer expires. Usually, the IMS access point name (APN) does not change depending on whether the access technology is 4G or 5G, which leads to the penalty timer still running and taking effect after the terminal device falls back to the 4G network, even if the 4G wireless access technology When the IMS is available, the terminal device still cannot initiate IMS registration in the 4G network, and can initiate IMS registration in the 4G network only after the penalty timer expires. This results in lower IMS registration rates. In addition, the terminal device cannot initiate a voice service on the 4G network before the penalty timer expires. If a voice service is initiated, it will fall back to the CS domain of the 2G network or 3G network, affecting the user's voice service, reducing the voice call quality, and reducing the user's The calling experience is poor. Moreover, if the 2G network or 3G network in the area where the user is located is unavailable, the terminal device cannot perform the voice service, which affects the basic functions of the voice service.
图5为手机在图4所示流程中的一种界面变化示意图。如图5中的(a)所示,手机的桌面100中可以包括图标121,指示手机当前驻留在5G网络中,但是并没有图2中的图标111或112,说明手机在5G网络IMS注册失败。之后,手机回落到4G网络,如图5中的(b)所示,手机的桌面100中可以包括图标122,指示手机当前驻留在4G网络中,但是并没有图3中的图标111,说明手机没有在4G网络中IMS注册成功。FIG. 5 is a schematic diagram of an interface change of the mobile phone in the process shown in FIG. 4 . As shown in (a) of FIG. 5, the desktop 100 of the mobile phone may include an icon 121, indicating that the mobile phone is currently residing in the 5G network, but there is no icon 111 or 112 in FIG. 2, indicating that the mobile phone is registered in the 5G network IMS fail. After that, the mobile phone falls back to the 4G network. As shown in (b) of FIG. 5 , the desktop 100 of the mobile phone may include an icon 122 to indicate that the mobile phone is currently residing in the 4G network, but there is no icon 111 in FIG. The mobile phone did not successfully register with the IMS in the 4G network.
本申请实施例提供的IMS注册方法,可以应用于终端设备在5G网络中IMS注册失败,并且没有获取到重试指示信息的场景。当终端设备回落到4G网络,确定在5G网络中IMS 注册失败的拒绝原因值为预设原因值且4G网络的IMS可用时,可以在4G网络中立即发起IMS注册,不需要考虑惩罚定时器的时长。由于终端设备回落到4G网络后可以立即发起IMS注册,提高了IMS注册率,而且,确保了语音业务可以在4G网络中及时的进行,提升了语音业务的通话质量,提升了用户的通话体验。The IMS registration method provided in the embodiment of the present application can be applied to a scenario where the terminal device fails to register with the IMS in the 5G network and does not obtain retry indication information. When the terminal device falls back to the 4G network and determines that the rejection reason value for IMS registration failure in the 5G network is the preset reason value and the IMS of the 4G network is available, it can immediately initiate the IMS registration in the 4G network without considering the penalty timer. duration. Since the terminal equipment can immediately initiate IMS registration after falling back to the 4G network, the IMS registration rate is improved, and it is ensured that the voice service can be carried out in a timely manner in the 4G network, which improves the call quality of the voice service and improves the user's call experience.
下面通过具体的实施例对本申请的技术方案进行详细说明。下面的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。The technical solutions of the present application will be described in detail below through specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
本申请实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。本申请实施例中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。The embodiments of the present application may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The terms "first", "second", "third", "fourth", etc. (if any) in the embodiments of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. .
图6为本申请实施例提供的IMS注册方法的一种流程图。本实施例提供的IMS注册方法,执行主体可以为终端设备。如图6所示,本实施例提供的IMS注册方法,可以包括:FIG. 6 is a flowchart of an IMS registration method provided by an embodiment of the present application. In the IMS registration method provided by this embodiment, the execution subject may be a terminal device. As shown in FIG. 6 , the IMS registration method provided in this embodiment may include:
S601、在5G网络中接收PDU会话拒绝消息。S601. Receive a PDU session rejection message in the 5G network.
其中,PDU会话拒绝消息用于指示终端设备在5G网络中发起IMS注册时被拒绝,PDU会话拒绝消息包括拒绝原因值。The PDU session rejection message is used to indicate that the terminal device is rejected when initiating IMS registration in the 5G network, and the PDU session rejection message includes a rejection reason value.
其中,PDU会话拒绝消息可以参见上述图4中S401中的相关描述,原理相似,此处不再赘述。Wherein, for the PDU session rejection message, reference may be made to the relevant description in S401 in FIG. 4 above, and the principles are similar, which will not be repeated here.
S602、在终端设备回落到4G网络,且确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值时,在4G网络中发起IMS注册。S602. When the terminal device falls back to the 4G network, and it is determined that the retry indication information is not obtained and the rejection cause value is determined to be a preset cause value, initiate IMS registration in the 4G network.
其中,重试指示信息可以参见上述图4中S402中的相关描述,原理相似,此处不再赘述。For the retry indication information, reference may be made to the relevant description in S402 in FIG. 4 above, and the principles are similar, and details are not repeated here.
其中,本实施例对预设原因值的具体内容不做限定。可选的,参见表1,预设原因值可以包括但不限于:运营商定义禁止(#8号原因值)、服务选项不支持(#32号原因值)、请求的服务选项未订阅(#33号原因值)和切片中缺少或未知的DNN(#70号原因值)。The specific content of the preset cause value is not limited in this embodiment. Optionally, see Table 1, the preset cause values may include but are not limited to: operator-defined prohibition (#8 reason value), service option not supported (#32 cause value), requested service option not subscribed (# Reason value #33) and missing or unknown DNNs in the slice (reason value #70).
可选的,预设原因值可以存储在黑名单中。本实施例对黑名单的存储位置和存储方式不做限定。例如,黑名单可以为表格。通过将预设原因值存储在黑名单中,在后续预设原因值的增加、删除或修改的过程中,对黑名单进行操作即可,由于黑名单可配置,降低了后续维护修改的成本和复杂度。Optionally, the preset reason value can be stored in the blacklist. This embodiment does not limit the storage location and storage manner of the blacklist. For example, the blacklist can be a table. By storing the preset cause value in the blacklist, in the process of adding, deleting or modifying the preset cause value, the blacklist can be operated. Since the blacklist can be configured, the cost and cost of subsequent maintenance and modification are reduced. the complexity.
可见,本实施例提供的IMS注册方法,对于终端设备在5G网络中IMS注册失败,并且没有获取到重试指示信息的场景,当终端设备回落到4G网络,确定在5G网络中IMS注册失败的拒绝原因值为预设原因值且4G网络的IMS可用时,可以在4G网络中立即发起IMS注册,不需要考虑惩罚定时器。这样,终端设备回落到4G网络后可以立即发起IMS注册,提高了IMS注册率,而且,确保了语音业务可以在4G网络中及时的进行,提升了语音业务的通话质量,提升了用户的通话体验。It can be seen that, in the IMS registration method provided in this embodiment, for the scenario where the terminal device fails to register with the IMS in the 5G network and does not obtain the retry indication information, when the terminal device falls back to the 4G network, it is determined that the IMS registration fails in the 5G network. When the rejection reason value is the preset reason value and the IMS of the 4G network is available, the IMS registration can be initiated in the 4G network immediately, without considering the penalty timer. In this way, the terminal device can initiate IMS registration immediately after it falls back to the 4G network, which improves the IMS registration rate, and ensures that the voice service can be carried out in a timely manner in the 4G network, which improves the call quality of the voice service and improves the user's call experience. .
图7为手机在图6所示流程中的一种界面变化示意图。如图7中的(a)所示,手机的桌面100中可以包括图标121,指示手机当前驻留在5G网络中,但是并没有图2中的图标111或112,说明手机在5G网络IMS注册失败。之后,手机回落到4G网络,如图7中的(b)所示,手机的桌面100中可以包括图标111和图标122。图标122指示手机当前驻留在4G网络,图标111指示手机在4G网络中IMS注册成功,用户的语音业务可以由IMS 域及时承载,用户将具有更高清的通话体验。FIG. 7 is a schematic diagram of an interface change of the mobile phone in the process shown in FIG. 6 . As shown in (a) of FIG. 7 , the desktop 100 of the mobile phone may include an icon 121, indicating that the mobile phone is currently residing in the 5G network, but there is no icon 111 or 112 in FIG. 2, indicating that the mobile phone is registered in the 5G network IMS fail. After that, the mobile phone falls back to the 4G network. As shown in (b) of FIG. 7 , the desktop 100 of the mobile phone may include an icon 111 and an icon 122 . Icon 122 indicates that the mobile phone is currently residing on the 4G network, and icon 111 indicates that the mobile phone has successfully registered with the IMS in the 4G network, the user's voice service can be carried by the IMS domain in time, and the user will have a higher-definition call experience.
可选的,S602中,确定没有获取到重试指示信息,可以包括:Optionally, in S602, it is determined that no retry indication information is obtained, which may include:
确定PDU会话拒绝消息中没有携带重试指示信息,且终端设备的全球用户识别卡USIM卡中没有设置重试指示信息。It is determined that the PDU session rejection message does not carry retry indication information, and the global subscriber identity card USIM card of the terminal device does not have retry indication information set.
具体可以参见图4中S402中的相关描述,原理相似,此处不再赘述。For details, refer to the relevant description in S402 in FIG. 4 , the principles are similar, and details are not repeated here.
可选的,在一种实现方式中,在S602中确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值之后,本实施例提供的IMS注册方法还可以包括:Optionally, in an implementation manner, after it is determined in S602 that the retry indication information is not obtained and the rejection cause value is determined to be a preset cause value, the IMS registration method provided by this embodiment may further include:
启动惩罚定时器,惩罚定时器用于指示终端设备不能发起IMS注册的持续时间。The penalty timer is started, and the penalty timer is used to indicate the duration that the terminal device cannot initiate IMS registration.
在该实现方式中,终端设备在5G网络中IMS注册失败、并且没有获取到重试指示信息时,依然可以启动惩罚定时器。但是,终端设备回落到4G网络后发起IMS注册并不受惩罚定时器的影响,也就是说,终端设备回落到4G网络,确定在5G网络中IMS注册失败的拒绝原因值为预设原因值且4G网络的IMS可用时,仍然可以在4G网络中立即发起IMS注册,提高了IMS注册率,而且,确保语音业务可以在4G网络中及时的进行。而且,由于启动惩罚定时器的流程与现有流程一致,避免了对现有流程的修改,易于实现。In this implementation manner, when the terminal device fails to register with the IMS in the 5G network and does not obtain retry indication information, the penalty timer can still be started. However, the IMS registration initiated by the terminal device after falling back to the 4G network is not affected by the penalty timer. That is to say, if the terminal device falls back to the 4G network, it is determined that the rejection reason for IMS registration failure in the 5G network is the preset reason value and When the IMS of the 4G network is available, the IMS registration can still be initiated in the 4G network immediately, which improves the IMS registration rate and ensures that the voice service can be performed in a timely manner in the 4G network. Moreover, since the process of starting the penalty timer is consistent with the existing process, the modification of the existing process is avoided, which is easy to implement.
其中,对于终端设备启动惩罚定时器与终端设备回落到4G网络之间的执行顺序,本实施例对此不作限定。The execution sequence between the terminal device starting the penalty timer and the terminal device falling back to the 4G network is not limited in this embodiment.
可选的,惩罚定时器可以包括下列中的任意一种:网络侧配置的惩罚定时器、USIM卡中配置的惩罚定时器和预设的惩罚定时器。Optionally, the penalty timer may include any one of the following: a penalty timer configured on the network side, a penalty timer configured in the USIM card, and a preset penalty timer.
可选的,启动惩罚定时器,可以包括:Optionally, start a penalty timer, which may include:
若获取到5G网络配置的第一惩罚定时器,则启动第一惩罚定时器。If the first penalty timer configured by the 5G network is obtained, the first penalty timer is started.
若没有获取到5G网络配置的第一惩罚定时器,且终端设备的USIM卡中配置有第二惩罚定时器,则启动第二惩罚定时器。If the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is configured in the USIM card of the terminal device, the second penalty timer is started.
若没有获取到5G网络配置的第一惩罚定时器,且终端设备的USIM卡中没有配置第二惩罚定时器,则启动预设的第三惩罚定时器。If the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is not configured in the USIM card of the terminal device, the preset third penalty timer is started.
具体可以参见图4中S404~S405以及S408~S410中的相关描述,原理相似,此处不再赘述。For details, please refer to the related descriptions in S404-S405 and S408-S410 in FIG. 4 , the principles are similar, and details are not repeated here.
可选的,在另一种实现方式中,在S602中确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值之后,本实施例提供的IMS注册方法还可以包括:Optionally, in another implementation manner, after it is determined in S602 that the retry indication information is not obtained and the rejection cause value is determined to be a preset cause value, the IMS registration method provided by this embodiment may further include:
不启动惩罚定时器,惩罚定时器用于指示终端设备不能发起IMS注册的持续时间。The penalty timer is not started, and the penalty timer is used to indicate the duration that the terminal device cannot initiate IMS registration.
在该实现方式中,对于终端设备在5G网络中IMS注册失败、并且没有获取到重试指示信息的场景,终端设备不会启动惩罚定时器。通过不启动惩罚定时器,简化了该场景下IMS注册的流程,提高了执行效率。In this implementation manner, for a scenario where the terminal device fails to register with the IMS in the 5G network and does not obtain retry indication information, the terminal device will not start the penalty timer. By not starting the penalty timer, the IMS registration process in this scenario is simplified, and the execution efficiency is improved.
可选的,图8为本申请实施例提供的IMS注册方法的另一种流程图。在本申请的另一个实施例中,在图6所示实施例的基础上,提供了IMS注册方法的一种具体实现方式。在本实施例中,终端设备在5G网络中IMS注册失败、并且没有获取到重试指示信息时,可以启动惩罚定时器。Optionally, FIG. 8 is another flowchart of the IMS registration method provided by the embodiment of the present application. In another embodiment of the present application, based on the embodiment shown in FIG. 6 , a specific implementation manner of the IMS registration method is provided. In this embodiment, when the terminal device fails to register with the IMS in the 5G network and does not obtain the retry indication information, a penalty timer may be started.
如图8所示,本实施例提供的IMS注册方法,可以包括:As shown in FIG. 8 , the IMS registration method provided in this embodiment may include:
S401~S410,具体可以参见图4中的相关描述,原理相似,此处不再赘述。For details of S401 to S410, reference may be made to the relevant description in FIG. 4, the principles are similar, and details are not repeated here.
S801、终端设备在4G网络中发起IMS注册。S801, the terminal device initiates IMS registration in the 4G network.
需要说明,当终端设备在5G网络中IMS注册失败后,可以回落到4G网络,图8所示的流程图中并未示出终端设备回落到4G网络的步骤。实际应用时,终端设备回落到4G网络的步骤可以在S401之后执行。It should be noted that when the terminal device fails to register with the IMS in the 5G network, it can fall back to the 4G network. The flowchart shown in FIG. 8 does not show the steps for the terminal device to fall back to the 4G network. In practical application, the step of returning the terminal device to the 4G network may be performed after S401.
本实施例提供的IMS注册方法,终端设备在5G网络中IMS注册失败、并且没有获取到重试指示信息时,可以启动惩罚定时器。当终端设备回落到4G网络,确定在5G网络中IMS注册失败的拒绝原因值为预设原因值且4G网络的IMS可用时,可以在4G网络中立即发起IMS注册,惩罚定时器实际为无效状态。这样,终端设备回落到4G网络后可以立即发起IMS注册,提高了IMS注册率,而且,确保了语音业务可以在4G网络中及时的进行,提升了语音业务的通话质量,提升了用户的通话体验。In the IMS registration method provided in this embodiment, when the terminal device fails to register with the IMS in the 5G network and does not obtain retry indication information, a penalty timer can be started. When the terminal device falls back to the 4G network, and it is determined that the rejection reason value of the IMS registration failure in the 5G network is the preset reason value and the IMS of the 4G network is available, it can immediately initiate the IMS registration in the 4G network, and the penalty timer is actually invalid. . In this way, the terminal device can initiate IMS registration immediately after it falls back to the 4G network, which improves the IMS registration rate, and ensures that the voice service can be carried out in a timely manner in the 4G network, which improves the call quality of the voice service and improves the user's call experience. .
可选的,图9为本申请实施例提供的IMS注册方法的又一种流程图。在本申请的又一个实施例中,在图6所示实施例的基础上,提供了IMS注册方法的另一种具体实现方式。在本实施例中,终端设备在5G网络中IMS注册失败、并且没有获取到重试指示信息时,不启动惩罚定时器。其中,预设原因值可以存储在黑名单中。Optionally, FIG. 9 is another flowchart of the IMS registration method provided by the embodiment of the present application. In yet another embodiment of the present application, on the basis of the embodiment shown in FIG. 6 , another specific implementation manner of the IMS registration method is provided. In this embodiment, when the terminal device fails to register with the IMS in the 5G network and does not obtain retry indication information, the penalty timer is not started. The preset reason value may be stored in the blacklist.
如图9所示,本实施例提供的IMS注册方法,可以包括:As shown in FIG. 9 , the IMS registration method provided by this embodiment may include:
S401、终端设备接收5G基站发送的PDU会话拒绝消息。S401. The terminal device receives the PDU session rejection message sent by the 5G base station.
S402、终端设备判断是否获取到重试指示信息。S402. The terminal device determines whether retry indication information is acquired.
如果终端设备获取到重试指示信息,则执行S406,根据重试指示信息执行后续操作。If the terminal device obtains the retry indication information, S406 is performed, and subsequent operations are performed according to the retry indication information.
如果终端设备没有获取到重试指示信息,则执行S901。If the terminal device does not acquire the retry indication information, S901 is performed.
S901、终端设备判断PDU会话拒绝消息中的拒绝原因值是否为黑名单中的原因值。S901. The terminal device judges whether the rejection reason value in the PDU session rejection message is the reason value in the blacklist.
如果终端设备判断PDU会话拒绝消息中的拒绝原因值不是黑名单中的原因值,则执行S407,根据通信协议中的相关规定执行后续操作。If the terminal device determines that the rejection reason value in the PDU session rejection message is not the reason value in the blacklist, S407 is performed, and subsequent operations are performed according to the relevant provisions in the communication protocol.
如果终端设备判断PDU会话拒绝消息中的拒绝原因值是黑名单中的原因值,则执行S902。If the terminal device determines that the rejection reason value in the PDU session rejection message is the reason value in the blacklist, S902 is executed.
S902、终端设备不启动惩罚定时器,且在4G网络中发起IMS注册。S902, the terminal device does not start the penalty timer, and initiates IMS registration in the 4G network.
S406、根据重试指示信息执行后续操作。S406. Perform subsequent operations according to the retry indication information.
S407、根据通信协议执行后续操作。S407. Perform subsequent operations according to the communication protocol.
其中,S401、S402、S406和S407,具体可以参见图4中相关步骤的描述,原理相似,此处不再赘述。Among them, S401 , S402 , S406 and S407 may refer to the description of the relevant steps in FIG. 4 for details, and the principles are similar, and will not be repeated here.
需要说明,当终端设备在5G网络中IMS注册失败后,可以回落到4G网络,图9所示的流程图中并未示出终端设备回落到4G网络的步骤。实际应用时,终端设备回落到4G网络的步骤可以在S401之后执行。It should be noted that when the terminal device fails to register with the IMS in the 5G network, it can fall back to the 4G network. The flowchart shown in FIG. 9 does not show the steps for the terminal device to fall back to the 4G network. In practical application, the step of returning the terminal device to the 4G network may be performed after S401.
本实施例提供的IMS注册方法,终端设备在5G网络中IMS注册失败、并且没有获取到重试指示信息时,不启动惩罚定时器。当终端设备回落到4G网络,确定在5G网络中IMS注册失败的拒绝原因值为预设原因值且4G网络的IMS可用时,可以在4G网络中立即发起IMS注册,提高了IMS注册率,而且,确保了语音业务可以在4G网络中及时的进行,提升了语音业务的通话质量,提升了用户的通话体验。In the IMS registration method provided in this embodiment, the terminal device does not start the penalty timer when the IMS registration fails in the 5G network and the retry indication information is not obtained. When the terminal device falls back to the 4G network, and it is determined that the rejection reason value of the IMS registration failure in the 5G network is the preset reason value and the IMS of the 4G network is available, the IMS registration can be immediately initiated in the 4G network, which improves the IMS registration rate, and , which ensures that the voice service can be carried out in a timely manner in the 4G network, improves the call quality of the voice service, and improves the user's call experience.
图10为本申请实施例提供的终端设备的一种结构示意图。如图10所示,本实施例提供的终端设备,可以包括:FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As shown in FIG. 10 , the terminal device provided in this embodiment may include:
接收模块1001,用于在5G网络中接收PDU会话拒绝消息。PDU会话拒绝消息用于指示终端设备在5G网络中发起IMS注册时被拒绝,PDU会话拒绝消息包括拒绝原因值。The receiving module 1001 is configured to receive a PDU session rejection message in a 5G network. The PDU Session Reject message is used to indicate that the terminal device is rejected when initiating IMS registration in the 5G network, and the PDU Session Reject message includes a rejection reason value.
处理模块1002,用于在终端设备回落到4G网络,且确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值时,在4G网络中发起IMS注册。The processing module 1002 is configured to initiate IMS registration in the 4G network when the terminal device falls back to the 4G network and determines that the retry indication information has not been obtained and that the rejection cause value is a preset cause value.
可选的,处理模块1002具体用于:Optionally, the processing module 1002 is specifically used for:
确定PDU会话拒绝消息中没有携带重试指示信息,且终端设备的USIM卡中没有设置重试指示信息。It is determined that the PDU session rejection message does not carry retry indication information, and no retry indication information is set in the USIM card of the terminal device.
可选的,预设原因值包括:运营商定义禁止、服务选项不支持、请求的服务选项未订阅和切片中缺少或未知的DNN。Optionally, the preset reason values include: operator-defined prohibition, service option not supported, requested service option not subscribed, and missing or unknown DNN in the slice.
可选的,处理模块1002还用于:Optionally, the processing module 1002 is further configured to:
在确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值之后,启动惩罚定时器,惩罚定时器用于指示终端设备不能发起IMS注册的持续时间。After it is determined that the retry indication information is not acquired and the rejection cause value is determined to be a preset cause value, a penalty timer is started, and the penalty timer is used to indicate the duration that the terminal device cannot initiate IMS registration.
可选的,处理模块1002具体用于:Optionally, the processing module 1002 is specifically used for:
若获取到5G网络配置的第一惩罚定时器,则启动第一惩罚定时器。If the first penalty timer configured by the 5G network is obtained, the first penalty timer is started.
可选的,处理模块1002还用于:Optionally, the processing module 1002 is further configured to:
若没有获取到5G网络配置的第一惩罚定时器,且终端设备的USIM卡中配置有第二惩罚定时器,则启动第二惩罚定时器。If the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is configured in the USIM card of the terminal device, the second penalty timer is started.
可选的,处理模块1002还用于:Optionally, the processing module 1002 is further configured to:
若没有获取到5G网络配置的第一惩罚定时器,且终端设备的USIM卡中没有配置第二惩罚定时器,则启动预设的第三惩罚定时器。If the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is not configured in the USIM card of the terminal device, the preset third penalty timer is started.
可选的,处理模块1002还用于:Optionally, the processing module 1002 is further configured to:
在确定没有获取到重试指示信息以及确定拒绝原因值为预设原因值之后,不启动惩罚定时器,惩罚定时器用于指示终端设备不能发起IMS注册的持续时间。After it is determined that the retry indication information is not acquired and the rejection cause value is the preset cause value, the penalty timer is not started, and the penalty timer is used to indicate the duration that the terminal device cannot initiate the IMS registration.
可选的,预设原因值存储在黑名单中。Optionally, the preset reason value is stored in the blacklist.
本实施例提供的终端设备,可以执行本申请方法实施例提供的IMS注册方法,技术原理和技术效果相似,此处不再赘述。The terminal device provided in this embodiment can execute the IMS registration method provided by the method embodiment of this application, and the technical principle and technical effect are similar, and details are not described herein again.
可以理解的是,终端设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above-mentioned functions, the terminal device includes corresponding hardware and/or software modules for executing each function. The present application can be implemented in hardware or in the form of a combination of hardware and computer software in conjunction with the algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对终端设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。需要说明的是,本申请实施例中模块的名称是示意性的,实际实现时对模块的名称不做限定。In this embodiment of the present application, the terminal device may be divided into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. It should be noted that, the division of modules in the embodiments of the present application is schematic, and is only a logical function division, and there may be other division manners in actual implementation. It should be noted that the names of the modules in the embodiments of the present application are schematic, and the names of the modules are not limited in actual implementation.
请参考图11,其示出了本申请实施例提供的终端设备的另一种结构,该终端设备包括:处理器1101、接收器1102、发射器1103、存储器1104和总线1105。处理器1101包括一个或者多个处理核心,处理器1101通过运行软件程序以及模块,从而执行各种功能的应用以及信息处理。接收器1102和发射器1103可以实现为一个通信组件,该通信组件可以是一块基带芯片。存储器1104通过总线1105和处理器1101相连。存储器1104可用于存储至少一个程序指令,处理器1101用于执行至少一个程序指令,以实现上述实施例的技术方案。其实现原理和技术效果与上述方法相关实施例类似,此处不再赘述。Please refer to FIG. 11 , which shows another structure of a terminal device provided by an embodiment of the present application. The terminal device includes: a processor 1101 , a receiver 1102 , a transmitter 1103 , a memory 1104 , and a bus 1105 . The processor 1101 includes one or more processing cores, and the processor 1101 executes various functional applications and information processing by running software programs and modules. The receiver 1102 and the transmitter 1103 may be implemented as a communication component, which may be a baseband chip. The memory 1104 is connected to the processor 1101 through the bus 1105 . The memory 1104 may be configured to store at least one program instruction, and the processor 1101 may be configured to execute the at least one program instruction, so as to implement the technical solutions of the foregoing embodiments. The implementation principle and technical effect thereof are similar to the related embodiments of the above method, and are not repeated here.
当终端开机后,处理器可以读取存储器中的软件程序,解释并执行软件程序的指令,处理软件程序的数据。当需要通过天线发送数据时,处理器对待发送的数据进行基带处理后,输出基带信号至控制电路中的控制电路,控制电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到终端时,控制电路通过天线接收到射频信号,将射频信号转换为基带信号,并将基带信号输出至处理器,处理器将基带信号转换为数据并对该数据进行处理。When the terminal is powered on, the processor can read the software program in the memory, interpret and execute the instructions of the software program, and process the data of the software program. When it is necessary to send data through the antenna, the processor performs baseband processing on the data to be sent, and outputs the baseband signal to the control circuit in the control circuit. The control circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal through the antenna in the form of electromagnetic waves. send. When data is sent to the terminal, the control circuit receives the radio frequency signal through the antenna, converts the radio frequency signal into a baseband signal, and outputs the baseband signal to the processor, which converts the baseband signal into data and processes the data.
本领域技术人员可以理解,为了便于说明,图11仅示出了一个存储器和处理器。在实际的终端中,可以存在多个处理器和存储器。存储器也可以称为存储介质或者存储设备等,本申请实施例对此不做限制。Those skilled in the art can understand that, for the convenience of description, FIG. 11 only shows one memory and a processor. In an actual terminal, there may be multiple processors and memories. The memory may also be referred to as a storage medium or a storage device, etc., which is not limited in this embodiment of the present application.
作为一种可选的实现方式,处理器可以包括基带处理器和中央处理器,基带处理器主要用于对通信数据进行处理,中央处理器主要用于执行软件程序,处理软件程序的数据。本领域技术人员可以理解,基带处理器和中央处理器可以集成在一个处理器中,也可以是各自独立的处理器,通过总线等技术互联。本领域技术人员可以理解,终端可以包括多个基带处理器以适应不同的网络制式,终端可以包括多个中央处理器以增强其处理能力,终端的各个部件可以通过各种总线连接。该基带处理器也可以表述为基带处理电路或者基带处理芯片。该中央处理器也可以表述为中央处理电路或者中央处理芯片。对通信协议以及通信数据进行处理的功能可以内置在处理器中,也可以以软件程序的形式存储在存储器中,由处理器执行软件程序以实现基带处理功能。该存储器可以集成在处理器中,也可以独立在处理器之外。该存储器包括高速缓存Cache,可以存放频繁访问的数据/指令。As an optional implementation manner, the processor may include a baseband processor and a central processing unit. The baseband processor is mainly used to process communication data, and the central processing unit is mainly used to execute software programs and process data of the software programs. Those skilled in the art can understand that the baseband processor and the central processing unit may be integrated into one processor, or may be independent processors, which are interconnected through technologies such as a bus. Those skilled in the art can understand that a terminal may include multiple baseband processors to adapt to different network standards, a terminal may include multiple central processors to enhance its processing capability, and various components of the terminal may be connected through various buses. The baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit can also be expressed as a central processing circuit or a central processing chip. The function of processing the communication protocol and communication data may be built in the processor, or may be stored in the memory in the form of a software program, and the processor executes the software program to realize the baseband processing function. The memory can be integrated in the processor or independent of the processor. The memory includes a cache, which can store frequently accessed data/instructions.
在本申请实施例中,处理器可以是通用处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In this embodiment of the present application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, which can implement or The methods, steps and logic block diagrams disclosed in the embodiments of this application are executed. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
在本申请实施例中,存储器可以是非易失性存储器,比如硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SS)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,不限于此。In this embodiment of the present application, the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SS), etc., or may also be a volatile memory (volatile memory), for example Random-access memory (RAM). Memory is, without limitation, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
本申请实施例中的存储器还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。本申请各实施例提供的方法中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产 品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、用户设备或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机可以存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(digital video disc,DWD)、或者半导体介质(例如,SSD)等。The memory in this embodiment of the present application may also be a circuit or any other device capable of implementing a storage function, for storing program instructions and/or data. The methods provided by the embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, a special purpose computer, a computer network, network equipment, user equipment, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line, DSL), or wireless (eg, infrared, wireless, microwave, etc.) A readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The available media can be magnetic media (eg, floppy disks, hard disks, magnetic tapes) ), optical media (eg, digital video disc (DWD), or semiconductor media (eg, SSD), etc.).
本申请实施例提供一种计算机程序产品,当所述计算机程序产品在终端运行时,使得所述终端执行上述实施例中的技术方案。其实现原理和技术效果与上述相关实施例类似,此处不再赘述。The embodiments of the present application provide a computer program product, which enables the terminal to execute the technical solutions in the foregoing embodiments when the computer program product runs on a terminal. The implementation principle and technical effect thereof are similar to those of the above-mentioned related embodiments, which will not be repeated here.
本申请实施例提供一种计算机可读存储介质,其上存储有程序指令,所述程序指令被终端执行时,使得所述终端执行上述实施例的技术方案。其实现原理和技术效果与上述相关实施例类似,此处不再赘述。综上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。The embodiments of the present application provide a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by a terminal, the terminal executes the technical solutions of the foregoing embodiments. The implementation principle and technical effect thereof are similar to those of the above-mentioned related embodiments, which will not be repeated here. To sum up, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种IMS注册方法,其特征在于,包括:An IMS registration method, comprising:
    在5G网络中接收分组数据单元PDU会话拒绝消息;所述PDU会话拒绝消息用于指示终端设备在所述5G网络中发起IP多媒体子系统IMS注册时被拒绝,所述PDU会话拒绝消息包括拒绝原因值;Receive a packet data unit PDU session rejection message in the 5G network; the PDU session rejection message is used to indicate that the terminal device is rejected when initiating the IP Multimedia Subsystem IMS registration in the 5G network, and the PDU session rejection message includes the rejection reason value;
    在所述终端设备回落到4G网络,且确定没有获取到重试指示信息以及确定所述拒绝原因值为预设原因值时,在所述4G网络中发起IMS注册。When the terminal device falls back to the 4G network, and it is determined that the retry indication information is not obtained and that the rejection cause value is a preset cause value, the IMS registration is initiated in the 4G network.
  2. 根据权利要求1所述的方法,其特征在于,所述确定没有获取到重试指示信息,包括:The method according to claim 1, wherein the determining that retry indication information is not obtained comprises:
    确定所述PDU会话拒绝消息中没有携带所述重试指示信息,且所述终端设备的全球用户识别卡USIM卡中没有设置所述重试指示信息。It is determined that the PDU session rejection message does not carry the retry indication information, and the retry indication information is not set in the global subscriber identity card USIM card of the terminal device.
  3. 根据权利要求1所述的方法,其特征在于,所述预设原因值包括:运营商定义禁止、服务选项不支持、请求的服务选项未订阅和切片中缺少或未知的数据网络名称DNN。The method according to claim 1, wherein the preset reason value comprises: operator definition prohibited, service option not supported, requested service option not subscribed, and missing or unknown data network name DNN in slice.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述确定没有获取到重试指示信息以及确定所述拒绝原因值为预设原因值之后,所述方法还包括:The method according to any one of claims 1 to 3, wherein after determining that retry indication information is not obtained and determining that the rejection cause value is a preset cause value, the method further comprises:
    启动惩罚定时器,所述惩罚定时器用于指示所述终端设备不能发起IMS注册的持续时间。A penalty timer is started, and the penalty timer is used to indicate the duration for which the terminal device cannot initiate IMS registration.
  5. 根据权利要求4所述的方法,其特征在于,所述启动惩罚定时器,包括:The method according to claim 4, wherein the starting the penalty timer comprises:
    若获取到所述5G网络配置的第一惩罚定时器,则启动所述第一惩罚定时器。If the first penalty timer configured by the 5G network is obtained, the first penalty timer is started.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method according to claim 5, wherein the method further comprises:
    若没有获取到所述5G网络配置的所述第一惩罚定时器,且所述终端设备的USIM卡中配置有第二惩罚定时器,则启动所述第二惩罚定时器。If the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is configured in the USIM card of the terminal device, the second penalty timer is started.
  7. 根据权利要求5或6所述的方法,其特征在于,所述方法还包括:The method according to claim 5 or 6, wherein the method further comprises:
    若没有获取到所述5G网络配置的所述第一惩罚定时器,且所述终端设备的USIM卡中没有配置第二惩罚定时器,则启动预设的第三惩罚定时器。If the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is not configured in the USIM card of the terminal device, a preset third penalty timer is started.
  8. 根据权利要求1至3任一项所述的方法,其特征在于,所述确定没有获取到重试指示信息以及确定所述拒绝原因值为预设原因值之后,所述方法还包括:The method according to any one of claims 1 to 3, wherein after determining that retry indication information is not obtained and determining that the rejection cause value is a preset cause value, the method further comprises:
    不启动惩罚定时器,所述惩罚定时器用于指示所述终端设备不能发起IMS注册的持续时间。A penalty timer is not started, and the penalty timer is used to indicate the duration for which the terminal device cannot initiate IMS registration.
  9. 根据权利要求1至3任一项所述的方法,其特征在于,所述预设原因值存储在黑名单中。The method according to any one of claims 1 to 3, wherein the preset cause value is stored in a blacklist.
  10. 一种终端设备,其特征在于,包括:A terminal device, characterized in that it includes:
    接收模块,用于在5G网络中接收分组数据单元PDU会话拒绝消息;所述PDU会话拒绝消息用于指示所述终端设备在所述5G网络中发起IP多媒体子系统IMS注册时被拒绝,所述PDU会话拒绝消息包括拒绝原因值;a receiving module, configured to receive a packet data unit PDU session rejection message in the 5G network; the PDU session rejection message is used to indicate that the terminal device is rejected when initiating the IP Multimedia Subsystem IMS registration in the 5G network, the The PDU Session Reject message includes the Reject Reason value;
    处理模块,用于在所述终端设备回落到4G网络,且确定没有获取到重试指示信息以及确定所述拒绝原因值为预设原因值时,在所述4G网络中发起IMS注册。The processing module is configured to initiate IMS registration in the 4G network when the terminal device falls back to the 4G network and determines that the retry indication information is not obtained and that the rejection cause value is a preset cause value.
  11. 根据权利要求10所述的终端设备,其特征在于,所述处理模块具体用于:The terminal device according to claim 10, wherein the processing module is specifically configured to:
    确定所述PDU会话拒绝消息中没有携带所述重试指示信息,且所述终端设备的全球用户识别卡USIM卡中没有设置所述重试指示信息。It is determined that the PDU session rejection message does not carry the retry indication information, and the retry indication information is not set in the global subscriber identity card USIM card of the terminal device.
  12. 根据权利要求10所述的终端设备,其特征在于,所述预设原因值包括:运营商定义禁止、服务选项不支持、请求的服务选项未订阅和切片中缺少或未知的数据网络名称DNN。The terminal device according to claim 10, wherein the preset reason value comprises: operator defined prohibition, service option not supported, requested service option not subscribed, and missing or unknown data network name DNN in the slice.
  13. 根据权利要求10至12任一项所述的终端设备,其特征在于,所述处理模块还用于:The terminal device according to any one of claims 10 to 12, wherein the processing module is further configured to:
    在确定没有获取到重试指示信息以及确定所述拒绝原因值为预设原因值之后,启动惩罚定时器,所述惩罚定时器用于指示所述终端设备不能发起IMS注册的持续时间。After it is determined that the retry indication information is not acquired and the rejection cause value is determined to be a preset cause value, a penalty timer is started, and the penalty timer is used to indicate the duration that the terminal device cannot initiate IMS registration.
  14. 根据权利要求13所述的终端设备,其特征在于,所述处理模块具体用于:The terminal device according to claim 13, wherein the processing module is specifically configured to:
    若获取到所述5G网络配置的第一惩罚定时器,则启动所述第一惩罚定时器。If the first penalty timer configured by the 5G network is obtained, the first penalty timer is started.
  15. 根据权利要求14所述的终端设备,其特征在于,所述处理模块还用于:The terminal device according to claim 14, wherein the processing module is further configured to:
    若没有获取到所述5G网络配置的所述第一惩罚定时器,且所述终端设备的USIM卡中配置有第二惩罚定时器,则启动所述第二惩罚定时器。If the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is configured in the USIM card of the terminal device, the second penalty timer is started.
  16. 根据权利要求14或15所述的终端设备,其特征在于,所述处理模块还用于:The terminal device according to claim 14 or 15, wherein the processing module is further configured to:
    若没有获取到所述5G网络配置的所述第一惩罚定时器,且所述终端设备的USIM卡中没有配置第二惩罚定时器,则启动预设的第三惩罚定时器。If the first penalty timer configured by the 5G network is not obtained, and the second penalty timer is not configured in the USIM card of the terminal device, a preset third penalty timer is started.
  17. 根据权利要求10至12任一项所述的终端设备,其特征在于,所述处理模块还用于:The terminal device according to any one of claims 10 to 12, wherein the processing module is further configured to:
    在确定没有获取到重试指示信息以及确定所述拒绝原因值为预设原因值之后,不启动惩罚定时器,所述惩罚定时器用于指示所述终端设备不能发起IMS注册的持续时间。After it is determined that the retry indication information is not acquired and the rejection cause value is determined to be a preset cause value, a penalty timer is not started, and the penalty timer is used to indicate the duration that the terminal device cannot initiate IMS registration.
  18. 根据权利要求10至12任一项所述的终端设备,其特征在于,所述预设原因值存储在黑名单中。The terminal device according to any one of claims 10 to 12, wherein the preset cause value is stored in a blacklist.
  19. 一种终端设备,其特征在于,包括处理器和存储器,所述处理器用于调用所述存储器中存储的程序,以执行如权利要求1至9中任一项所述的方法。A terminal device is characterized by comprising a processor and a memory, wherein the processor is configured to call a program stored in the memory to execute the method according to any one of claims 1 to 9.
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机指令,当所述计算机指令在终端设备上运行时,使得所述终端设备执行如权利要求1至9中任一项所述的方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores computer instructions, when the computer instructions are executed on a terminal device, the terminal device is made to perform any one of claims 1 to 9. one of the methods described.
PCT/CN2021/130632 2020-11-20 2021-11-15 Ims registration method, terminal device and storage medium WO2022105711A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011314974.9A CN114520804A (en) 2020-11-20 2020-11-20 IMS registration method, terminal device and storage medium
CN202011314974.9 2020-11-20

Publications (1)

Publication Number Publication Date
WO2022105711A1 true WO2022105711A1 (en) 2022-05-27

Family

ID=81594119

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/130632 WO2022105711A1 (en) 2020-11-20 2021-11-15 Ims registration method, terminal device and storage medium

Country Status (2)

Country Link
CN (1) CN114520804A (en)
WO (1) WO2022105711A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117715001A (en) * 2023-07-13 2024-03-15 荣耀终端有限公司 IMS short message processing method, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023230776A1 (en) * 2022-05-30 2023-12-07 北京小米移动软件有限公司 Voice bearer registration method and apparatus, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160226923A1 (en) * 2015-02-04 2016-08-04 Vodafone Gmbh Voice session termination for messaging clients in ims
CN109392010A (en) * 2017-08-11 2019-02-26 中兴通讯股份有限公司 The processing method and processing device of voice service
CN111567099A (en) * 2018-01-11 2020-08-21 株式会社Ntt都科摩 User device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105722158B (en) * 2016-01-29 2019-11-12 宇龙计算机通信科技(深圳)有限公司 Voice call method, voice calling device and terminal
US10159016B2 (en) * 2016-05-04 2018-12-18 Intel IP Corporation Methods and devices for performing circuit-switched fallback
CN110301130A (en) * 2017-11-13 2019-10-01 联发科技(新加坡)私人有限公司 Initial internet protocol multi-media sub-system registration improves
US11212720B2 (en) * 2018-10-16 2021-12-28 Mediatek Inc. 5GSM handling on invalid PDU session

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160226923A1 (en) * 2015-02-04 2016-08-04 Vodafone Gmbh Voice session termination for messaging clients in ims
CN109392010A (en) * 2017-08-11 2019-02-26 中兴通讯股份有限公司 The processing method and processing device of voice service
CN111567099A (en) * 2018-01-11 2020-08-21 株式会社Ntt都科摩 User device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117715001A (en) * 2023-07-13 2024-03-15 荣耀终端有限公司 IMS short message processing method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114520804A (en) 2022-05-20

Similar Documents

Publication Publication Date Title
JP7043416B2 (en) Registration method, session establishment method, terminal, and AMF entity
WO2021017689A1 (en) User plane data acquisition method and apparatus, and storage medium
US11812496B2 (en) User group session management method and apparatus
EP3800937A1 (en) Communication method and apparatus
WO2018141269A1 (en) Network registration and network slice selection system and method
US11457331B2 (en) Positioning method and related device
CN108684073A (en) It is a kind of registration and session establishment method, terminal and AMF entities
US20220217611A1 (en) Service Configuration Method, Communication Apparatus, and Communication System
WO2020147030A1 (en) Cell registration method and terminal device
CN111835802B (en) Communication method and device
US20200296575A1 (en) Method and apparatus for determining status of terminal device, and device
US9225579B2 (en) Renewing registrations for a plurality of client applications that are associated with the same host server via an explicit piggybacking scheme
US20230094040A1 (en) Communication method, and associated communication apparatus, medium, and chip
WO2022105711A1 (en) Ims registration method, terminal device and storage medium
WO2023213177A1 (en) Communication method and apparatus
WO2021142796A1 (en) Communication processing methods and apparatuses, and computer storage medium
CN114514764B (en) Apparatus, method and computer program
WO2023087965A1 (en) Communication method and apparatus
EP4304248A1 (en) Method for transmitting context and communication device
WO2019136925A1 (en) Data transmission method and apparatus, and computer storage medium
CN111479294B (en) Congestion control data connection establishment method, terminal and storage medium
CN114830760A (en) Paging method and apparatus in wireless communication system
WO2024032041A1 (en) Communication method and communication apparatus
WO2022188156A1 (en) Communication method and communication apparatus
WO2022067797A1 (en) Communication method and apparatus, and computer-readable storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21893858

Country of ref document: EP

Kind code of ref document: A1