A communication method and a communication device
By comparing the identification sent by the core network device, the terminal device can determine that the SA is restricted from accessing the Internet or 4G is restricted from accessing the Internet, which solves the problem that users cannot determine the cause of network abnormalities and improves the user experience.
Patent Information
- Application Number
- CN202311573250.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-22
- Publication Date
- 2025-06-03
- Estimated Expiration
- 2043-11-22
AI Technical Summary
It is difficult for terminal devices to determine the cause of network abnormalities when they cannot access the Internet normally, resulting in poor user experience.
By sending information to the core network device requesting to establish a data bearer session, the terminal device can determine that the SA is restricted from the Internet or 4G is restricted from the Internet by comparing the first identifier and the second identifier, and display the results to the user.
The terminal device can accurately determine the cause of network abnormalities, improve the user experience, and reduce the power consumption of the application processor.
Smart Images

Figure CN118474912B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and in particular, to a communication method and a communication device. Background Art
[0002] During the process of a terminal device accessing the network, it is necessary to establish a data service connection. Exemplarily, when the cellular data switch of the terminal device is switched from the off state to the on state, the terminal device can establish a data bearer session through information interaction with the core network device, such as a packet data network (PDN) session, a protocol data unit (PDU) session, etc. When the data bearer session is successfully established, the terminal device can use the data bearer to send data packets to the core network device. When the core network device responds to the data packet, the terminal device can access the Internet normally; when the core network device intercepts and does not respond to the data packet, the terminal device cannot access the Internet normally.
[0003] However, in such a communication method, when the terminal device cannot access the Internet normally, the terminal device cannot determine the reason for the inability to access the Internet normally, resulting in a poor user experience. Summary of the Invention
[0004] This application provides a communication method and a communication device, which can enable the terminal device to determine the reason for network anomalies, thereby improving the user experience.
[0005] In a first aspect, a communication method is provided, including: sending a first message to a core network device, where the first message is used to request the establishment of a data bearer session, and the first message includes a first identifier of a network corresponding to the data bearer session; receiving a second message from the core network device, where the second message is used to indicate acceptance of the request to establish the data bearer session, and the second message includes a second identifier; in a case where the first identifier is different from the second identifier and / or the second identifier belongs to a first preset identifier, determining a network anomaly reason and displaying a third message, where the third message is used to indicate the network anomaly reason.
[0006] In the communication method of this application, the terminal device can determine whether SA is restricted from accessing the Internet or 4G is restricted from accessing the Internet by comparing the first identifier and the second identifier, and / or by determining whether the second identifier belongs to the blacklist. Moreover, the terminal device can also display that SA is restricted from accessing the Internet or 4G is restricted from accessing the Internet, enabling the user to determine the reason for the network anomaly and improving the user experience.
[0007] In combination with the first aspect, in certain implementations of the first aspect, the first information is used to request the establishment of a protocol data unit (PDU) session; the determination of the network exception cause includes: in the case where the first identifier and the second identifier are different and / or the second identifier belongs to the first preset identifier, sending fourth information to the core network device, the fourth information being used to request the establishment of a packet data network (PDN) connection, the fourth information including a third identifier of the network corresponding to the PDN connection; receiving fifth information from the core network device, the fifth information being used to request the activation of a default evolved packet system (EPS) bearer, the fourth information including a fourth identifier; and determining the network exception cause based on the third identifier and the fourth identifier.
[0008] Through the above solution, when the terminal device determines that SA is restricted from accessing the Internet, it can fall back to LTE to establish a PDN connection. During the establishment of the PDN connection, the terminal device can determine whether the 4G network is abnormal based on the third identifier and the fourth identifier. Furthermore, the terminal device can determine the network exception cause by combining the restriction of SA from accessing the Internet and whether the 4G network is abnormal.
[0009] In combination with the first aspect, in certain implementations of the first aspect, the determination of the network exception cause includes: in the case where the third identifier and the fourth identifier are different and / or the fourth identifier belongs to a second preset identifier, determining that the network exception cause is that the subscriber identity module (SIM) card is restricted from accessing the Internet; or, in the case where the third identifier and the fourth identifier are the same and the fourth identifier does not belong to the second preset identifier, determining that the network exception cause is that the standalone networking (SA) is restricted from accessing the Internet.
[0010] It should be understood that in the case where the third identifier and the fourth identifier are different and / or the fourth identifier belongs to the second preset identifier, the terminal device can determine that the 4G network is abnormal. Since the abnormality of the 4G network is further determined on the premise of the abnormality of the SA network, the terminal device can determine that the network exception cause is that the SIM card is restricted from accessing the Internet. In the case where the third identifier and the fourth identifier are the same and the fourth identifier does not belong to the second preset identifier, the terminal device can determine that the 4G network is normal. Since the normality of the 4G network is further determined on the premise of the abnormality of the SA network, the terminal device can determine that the network exception cause is that the SA is restricted from accessing the Internet.
[0011] In combination with the first aspect, in certain implementations of the first aspect, the first information is used to request the establishment of a PDU session; the determination of the network exception cause includes: in the case where the first identifier and the second identifier are different and / or the second identifier belongs to the first preset identifier, determining that the network exception cause is that the SA is restricted from accessing the Internet.
[0012] Through the above solution, when the terminal device determines that the SA is restricted from accessing the Internet, it can display that the SA is restricted from accessing the Internet or the 5G is restricted from accessing the Internet, enabling the user to quickly determine that the 5G is restricted from accessing the Internet and improving the user experience.
[0013] In combination with the first aspect, in some implementation manners of the first aspect, the first information is used to request the establishment of a PDN connection; the determination of the network exception cause includes: when the first identifier and the second identifier are different, and / or, when the second identifier belongs to the first preset identifier, determining that the network exception cause is that the SIM card is restricted from accessing the Internet.
[0014] It should be understood that since the terminal device may access the 4G network when the 5G network is abnormal or the SIM card does not have a 5G package, etc., therefore, when the terminal device determines that the 4G network is abnormal, it can determine that the network exception cause is that the SIM card is restricted from accessing the Internet.
[0015] In a second aspect, another communication method is provided, including: sending information for requesting the establishment of a packet data network (PDN) connection to a core network device, the information for requesting the establishment of the PDN connection including a third identifier of the network corresponding to the PDN connection; receiving information for requesting the activation of a default evolved packet system (EPS) bearer from the core network device, the information for requesting the activation of the default EPS bearer including a fourth identifier; determining whether a 4G network is abnormal based on the third identifier and the fourth identifier; receiving information for requesting the establishment of a 4G data service from an application processor, the information for requesting the establishment of the 4G data service including the third identifier of the network corresponding to the 4G data service; sending information for indicating whether the 4G data service is successfully established to the application processor.
[0016] In the communication method of this application, the modulation and demodulation processor can determine whether the 4G network is abnormal by comparing the third identifier and the fourth identifier, and / or, by determining whether the fourth identifier belongs to the blacklist, which helps the terminal device determine the network exception cause. And the application processor can determine whether the 4G network is abnormal according to the information for indicating whether the 4G data service is successfully established, which helps reduce the power consumption of the application processor.
[0017] In combination with the second aspect, in some implementation manners of the second aspect, the method further includes: receiving information from the application processor for requesting to establish a 5G data service, where the information for requesting to establish the 5G data service includes a first identifier of a network corresponding to the 5G data service; sending first information to the core network device, where the first information is used to request to establish a PDU session, and the first information includes the first identifier; receiving second information from the core network device, where the second information is used to indicate acceptance of the request to establish the PDU session, and the second information includes a second identifier; sending information for requesting to establish a PDN connection of a service data unit to the core network device, including: in a case where the Standalone (SA) network is disabled, sending the information for requesting to establish the PDN connection of the service data unit to the core network device.
[0018] It should be understood that the process of the modulation and demodulation processor falling back to LTE can be carried out in a case where the SA network is disabled.
[0019] In combination with the second aspect, in some implementation manners of the second aspect, after receiving the second information from the core network device, the method further includes: sending information for indicating acceptance of the establishment of the 5G data service to the application processor, where the information for indicating acceptance of the establishment of the 5G data service includes the second identifier; receiving information from the application processor for indicating disabling of the SA network.
[0020] It should be understood that the disabling of the SA network can be indicated by the application processor.
[0021] In combination with the second aspect, in some implementation manners of the second aspect, after receiving the second information from the core network device, the method further includes: determining that the SA network is abnormal in a case where the first identifier and the second identifier are different and / or the second identifier belongs to a first preset identifier.
[0022] In combination with the second aspect, in some implementation manners of the second aspect, after determining that the SA network is abnormal, the method further includes: sending information for indicating the reason for the failure of the 5G data service establishment to the application processor.
[0023] It should be understood that the modulation and demodulation processor can determine whether the SA network is abnormal, and in a case where the SA network is abnormal, indicate to the application processor that the SA network is abnormal through the information for indicating the reason for the failure of the 5G data service establishment. The application processor does not need to determine whether the SA network is abnormal through the first identifier and the second identifier, so that the power consumption of the application processor is relatively low.
[0024] In combination with the second aspect, in some implementations of the second aspect, the method further includes: receiving information from the application processor for indicating the disabling of the SA network.
[0025] In combination with the second aspect, in some implementations of the second aspect, before receiving the information sent by the application processor for requesting the establishment of a 4G data service, the method further includes: sending information to the application processor for indicating the switching of the network mode from SA to LTE.
[0026] In this way, the application processor can determine that the network mode needs to be switched to LTE, and based on this, the application processor can initiate the 4G data service establishment process.
[0027] In combination with the second aspect, in some implementations of the second aspect, determining whether the fourth-generation mobile communication and its technology 4G network is abnormal based on the third identifier and the fourth identifier includes: determining that the 4G network is abnormal when the third identifier and the fourth identifier are different, and / or, the fourth identifier belongs to a second preset identifier; or, determining that the 4G network is normal when the third identifier and the fourth identifier are the same, and the fourth identifier does not belong to the second preset identifier.
[0028] In combination with the second aspect, in some implementations of the second aspect, sending information to the application processor for indicating whether the 4G data service is successfully established includes: sending information to the application processor for indicating the successful establishment of the 4G data service when it is determined that the 4G network is normal; or, sending information to the application processor for indicating the reason for the failure of the 4G data service establishment when it is determined that the 4G network is abnormal.
[0029] In this way, the application processor can determine whether the 4G network is abnormal, and can further determine the cause of the network abnormality based on the SA network abnormality.
[0030] In a third aspect, another communication method is provided, including: sending information for requesting the establishment of a fourth-generation mobile communication and its technology 4G data service to a modulation and demodulation processor, where the information for requesting the establishment of the 4G data service includes a third identifier of the network corresponding to the 4G data service; receiving information from the modulation and demodulation processor for indicating acceptance of the establishment of the 4G data service, where the information for indicating acceptance of the establishment of the 4G data service includes a fourth identifier; and determining whether the 4G network is abnormal based on the third identifier and the fourth identifier.
[0031] In the communication method of the present application, the application processor can determine whether the 4G network is abnormal through the third identifier and the fourth identifier, which helps the terminal device determine the cause of the network abnormality.
[0032] In combination with the third aspect, in some implementation manners of the third aspect, after determining whether the 4G network is abnormal, the method further includes: in the case that the 4G network is abnormal, instructing a display module to display a first prompt message, where the first prompt message is used to indicate that the reason for the network abnormality is that the subscriber identity module (SIM) card is restricted from accessing the Internet.
[0033] In this way, the terminal device can display the reason for the network abnormality to the user, facilitating the user to determine the reason for the network abnormality and solve the problem of network abnormality, which helps to improve the user experience.
[0034] In combination with the third aspect, in some implementation manners of the third aspect, the method further includes: sending information for requesting to establish a fifth-generation mobile communication technology (5G) data service to the modem processor, where the information for requesting to establish the 5G data service includes a first identifier of the network corresponding to the 5G data service; the sending information for requesting to establish a fourth-generation mobile communication technology (4G) data service to the modem processor includes: in the case that the stand-alone networking (SA) network is disabled, sending the information for requesting to establish the 4G data service to the modem processor.
[0035] It should be understood that the PDN establishment process can be performed in the case that the SA network is disabled.
[0036] In combination with the third aspect, in some implementation manners of the third aspect, after sending the information for requesting to establish a fifth-generation mobile communication technology (5G) data service to the modem processor, the method further includes: receiving information from the modem processor for indicating acceptance of the establishment of the 5G data service, where the information for indicating acceptance of the establishment of the 5G data service includes a second identifier; in the case that the first identifier is different from the second identifier and / or the second identifier belongs to a first preset identifier, determining that the SA network is abnormal, and sending information for instructing to disable the SA network to the modem processor.
[0037] In this way, the application processor can determine whether the SA network is abnormal and instruct the modem processor to disable the SA network, without the modem processor determining whether the SA network is abnormal according to the first identifier and the second identifier, which helps to reduce the power consumption of the modem processor.
[0038] In combination with the third aspect, in some implementation manners of the third aspect, after sending the information for requesting to establish a fifth-generation mobile communication technology (5G) data service to the modem processor, the method further includes: receiving information from the modem processor for indicating the reason for the failure of the establishment of the 5G data service; based on the information for indicating the reason for the failure of the establishment of the 5G data service, determining that the SA network is disabled.
[0039] It should be understood that the modulation and demodulation processor can also determine whether the SA network is abnormal based on the first identifier and the second identifier, and in the case of an abnormal SA network, indicate the reason for the abnormal SA network to the application processor, without the application processor determining whether the SA network is abnormal based on the first identifier and the second identifier, which helps to reduce the power consumption of the application processor.
[0040] In combination with the third aspect, in some implementation manners of the third aspect, the method further includes: sending information for indicating to disable the SA network to the modulation and demodulation processor.
[0041] It should be understood that the modulation and demodulation processor disabling the SA network can be indicated by the application processor. Optionally, the modulation and demodulation processor disabling the SA network can be determined when the modulation and demodulation processor determines SA abnormality based on the first identifier and the second identifier.
[0042] In combination with the third aspect, in some implementation manners of the third aspect, after determining whether the 4G network is abnormal, the method further includes: in the case of an abnormal 4G network, instructing the display module to display a second prompt message, where the second prompt message is used to indicate that the reason for the network abnormality is that the subscriber identity module (SIM) card is restricted from accessing the Internet; or, in the case of a normal 4G network, instructing the display module to display a third prompt message, where the third prompt message is used to indicate that the reason for the network abnormality is that SA is restricted from accessing the Internet.
[0043] In this way, the user can determine the reason for the network abnormality, which is convenient for the user to solve the network abnormality problem and helps to improve the user experience. Optionally, the third prompt message can also be used to indicate that the reason for the network abnormality is that 5G is restricted from accessing the Internet, which is convenient for the user to understand the reason for the network abnormality.
[0044] In combination with the third aspect, in some implementation manners of the third aspect, determining whether the 4G network is abnormal based on the third identifier and the fourth identifier includes: determining that the 4G network is abnormal when the third identifier and the fourth identifier are different and / or the fourth identifier belongs to a second preset identifier; or, determining that the 4G network is normal when the third identifier and the fourth identifier are the same and the fourth identifier does not belong to the second preset identifier.
[0045] In a fourth aspect, a communication device is provided for performing the method in any possible implementation manner of the first aspect, the second aspect, and the third aspect above. Specifically, the device includes a module for performing the method in any possible implementation manner of the first aspect above.
[0046] In a fifth aspect, the present application provides another communication device, including a processor coupled to a memory and capable of executing instructions in the memory to implement the method in any possible implementation manner of the above first aspect, second aspect, and third aspect. Optionally, the device further includes a memory. Optionally, the device further includes a communication interface, and the processor is coupled to the communication interface.
[0047] In one implementation manner, the device is a terminal device. When the device is a terminal device, the above communication interface may be a transceiver or an input / output interface.
[0048] In another implementation manner, the device is a chip configured in a terminal device, such as a modem processor, an application processor, a system-on-chip, etc. When the device is a chip configured in a terminal device, the above communication interface may be an input / output interface.
[0049] In a sixth aspect, a processor is provided, including: an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive a signal through the input circuit and transmit the signal through the output circuit, so that the processor executes the method in any possible implementation manner of the above first aspect, second aspect, and third aspect.
[0050] In a specific implementation process, the above processor may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be transistors, gate circuits, flip-flops, and various logic circuits, etc. The input signal received by the input circuit may be received and input by, for example, but not limited to, a receiver, and the signal output by the output circuit may be output to, for example, but not limited to, a transmitter and transmitted by the transmitter. Moreover, the input circuit and the output circuit may be the same circuit, which serves as the input circuit and the output circuit at different times. The embodiments of the present application do not limit the specific implementation manners of the processor and various circuits.
[0051] In a seventh aspect, a processing device is provided, including a processor and a memory. The processor is configured to read instructions stored in the memory, and may receive a signal through a receiver and transmit the signal through a transmitter to execute the method in any possible implementation manner of the above first aspect, second aspect, and third aspect.
[0052] Optionally, the processor is one or more, and the memory is one or more.
[0053] Optionally, the memory may be integrated with the processor, or the memory is separately provided from the processor.
[0054] In a specific implementation process, the memory can be a non-transitory memory, such as a read only memory (ROM), which can be integrated with the processor on the same chip or can be separately provided on different chips. This application does not limit the type of the memory and the setting manner of the memory and the processor.
[0055] It should be understood that relevant data interaction processes, such as sending indication information, can be processes of outputting indication information from the processor, and receiving capability information can be a process of the processor receiving input capability information. Specifically, the processed output data can be output to a transmitter, and the input data received by the processor can come from a receiver. Among them, the transmitter and the receiver can be collectively referred to as a transceiver.
[0056] The processing device in the above seventh aspect can be a chip, and the processor can be implemented by hardware or by software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, the processor can be a general-purpose processor, which is implemented by reading software code stored in the memory. The memory can be integrated in the processor or can be located outside the processor and exist independently.
[0057] In an eighth aspect, a computer program product is provided. The computer program product includes: a computer program (which can also be referred to as code or instruction). When the computer program is run, the computer is enabled to execute the method in any possible implementation manner in the above first aspect, second aspect, and third aspect.
[0058] In a ninth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (which can also be referred to as code or instruction). When it runs on a computer, the computer is enabled to execute the method in any possible implementation manner in the above first aspect, second aspect, and third aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 It is a schematic diagram of a communication system applied to an embodiment of this application;
[0060] Figure 2 It is a schematic flowchart of a communication method;
[0061] Figure 3 It is a schematic flowchart of a communication method provided by an embodiment of this application;
[0062] Figure 4 It is a schematic diagram of an interface for a terminal device to display the reason for network exception provided by an embodiment of this application;
[0063] Figure 5Schematic flowchart of another communication method provided by an embodiment of the present application;
[0064] Figure 6 Schematic flowchart of yet another communication method provided by an embodiment of the present application;
[0065] Figure 7 Schematic flowchart of still another communication method provided by an embodiment of the present application;
[0066] Figure 8 Schematic block diagram of a communication device provided by an embodiment of the present application;
[0067] Figure 9 Schematic block diagram of another communication device provided by an embodiment of the present application. Detailed implementation manners
[0068] The technical solutions in the present application will be described below with reference to the accompanying drawings.
[0069] In some embodiments provided by the present application, terms such as "first" and "second" are used to distinguish identical or similar items with basically the same functions and roles. For example, the first value and the second value are only used to distinguish different values, and do not limit their sequence. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and terms such as "first" and "second" do not necessarily mean different.
[0070] It should be noted that in the embodiments of the present application, words such as "exemplarily" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplarily" or "for example" in the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, using words such as "exemplarily" or "for example" aims to present relevant concepts in a specific manner.
[0071] In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B may be singular or plural. The character " / " generally represents that the associated objects before and after are in an "or" relationship. "At least one (item)" or similar expressions thereof refer to any combination of these items, including any combination of single item (item) or plural items (items). For example, at least one (item) of a, b, or c may represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c may be single or multiple.
[0072] The technical solutions of the embodiments of this application can be applied to various communication systems, such as: Long Term Evolution (LTE) systems, LTE Frequency Division Duplex (FDD) systems, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication systems, 5th generation (5G) systems or New Radio (NR), future evolved communication systems, such as 6th generation (6G) systems, etc.
[0073] The terminal device in the embodiments of this application can also be referred to as: User Equipment (UE), Mobile Station (MS), Mobile Terminal (MT), access terminal, user unit, user station, mobile station, mobile terminal, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, etc.
[0074] The access network device and the core network device in the embodiments of this application can be collectively referred to as network devices.
[0075] The core network device in the embodiments of this application can be a core network device in a 4G system, such as a Mobile Management Entity (MME), Serving Gateway (sGW), etc., or a core network device in a 5G system, such as an Access and Mobility Management Function (AMF) network element, User Plane Function (UPF) network element, etc. It can also be a core network device with other names, and the embodiments of this application do not limit this.
[0076] The access network device can be any device with wireless transceiver capabilities. The access network device includes, but is not limited to: evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved Node B, or home Node B, HNB), baseband unit (BBU), access point (AP) in a wireless fidelity (WiFi) system, wireless relay node, wireless backhaul node, transmission point (TP), or transmission and reception point (TRP), etc. It can also be a 5G base station (next-Generation Node B, gNB) in a 5G system such as NR, or a transmission point (TRP or TP), one or a group (including multiple antenna panels) of antenna panels of a base station in a 5G system, or it can also be a network node that constitutes a gNB or a transmission point, such as a baseband unit (BBU), or a distributed unit (DU), etc.
[0077] In some deployments, the gNB may include a centralized unit (CU) and a DU. The gNB may also include an active antenna unit (AAU). The CU implements some functions of the gNB, and the DU implements some functions of the gNB. For example, the CU may be responsible for processing non-real-time protocols and services. For instance, it can implement the functions of the radio resource control (RRC) layer, the service data adaptation protocol (SDAP) layer, and / or the packet data convergence protocol (PDCP) layer. The DU may be responsible for processing physical layer protocols and real-time services. For example, it can implement the functions of the radio link control (RLC) layer, the media access control (MAC) layer, and the physical (PHY) layer. A DU can be connected to only one CU or multiple CUs, while a CU can be connected to multiple DUs. The CU and the DU can communicate through the F1 interface. The AAU can implement some physical layer processing functions, radio frequency processing, and related functions of active antennas. Since the information of the RRC layer will ultimately be delivered to the PHY layer and become the information of the PHY layer, or is transformed from the information of the PHY layer, thus, in this architecture, high-layer signaling, such as RRC layer signaling, can also be considered to be sent by the DU, or sent by the DU + AAU.
[0078] It can be understood that the access network device can be a device including one or more of the CU node, the DU node, and the AAU node. In addition, the CU can be classified as an access network device in the radio access network (RAN), or can be classified as an access network device in the core network (CN). This application does not make any limitations in this regard.
[0079] The access network device provides services for the cell. The terminal device communicates with the cell through the transmission resources allocated by the access network device (for example, frequency domain resources, or in other words, spectrum resources). This cell can belong to a macro base station (such as a macro eNB or a macro gNB, etc.), or can belong to the base station corresponding to a small cell. Here, the small cell can include: metro cell, micro cell, pico cell, femto cell, etc. These small cells have characteristics such as a small coverage range and low transmit power, and are suitable for providing high-rate data transmission services.
[0080] To facilitate the understanding of the embodiments of the present application, first, in combination with Figure 1 a detailed description of the communication system applicable to the embodiments of the present application will be given.
[0081] Figure 1 FIG. shows a schematic diagram of a communication system 100 to which the embodiments of the present application are applied. The communication system 100 includes an access network and a core network.
[0082] Among them, the access network includes at least one access network device, such as Figure 1 the access network device 110 shown; the access network further includes at least one terminal device, such as Figure 1 the terminal device 120 shown. Among them, the core network device in the core network can be connected to the access network device in a wireless or wired manner. When the terminal device is within the coverage range of the access network device, it can be connected to the access network device in a wireless manner. For example, when the terminal device 120 is within the coverage range of the access network device 110, the terminal device 120 can be connected to the access network device 110 in a wireless manner.
[0083] The access network device 110 and the terminal device 120 can communicate via a wireless link. The access network device 110 or the terminal device 120 can be configured with multiple antennas, and the multiple antennas can include at least one transmitting antenna for transmitting signals and at least one receiving antenna for receiving signals. In addition, the access network device 110 or the terminal device 120 further additionally includes a transmitter chain and a receiver chain. Those of ordinary skill in the art can understand that they can both include multiple components related to signal transmission and reception (such as a processor, a modulator, a multiplexer, a demodulator, a demultiplexer, or an antenna, etc.). Therefore, the access network device 110 and the terminal device 120 can communicate via multi-antenna technology.
[0084] In addition, the access network device 110 can also communicate with the core network device in the core network via a wireless link. Therefore, the terminal device 120 can communicate with the core network device through the access network device 110. Exemplarily, the terminal device 120 can send information 1 to the access network device 110. Correspondingly, the access network device 110 receives information 1 from the terminal device 120; the access network device 110 sends information 1 to the core network device. Correspondingly, the core network device receives information 1 from the access network device 110. Or, the core network device sends information 2 to the access network device 110. Correspondingly, the access network device 110 receives information 2 from the core network device; the access network device 110 sends information 2 to the terminal device 120. Correspondingly, the terminal device 120 receives information 2 from the access network device 110.
[0085] The main functions of the core network are to provide user connections, manage users, and carry services, and to provide an interface to external networks as a bearer network. The establishment of user connections includes functions such as mobility management (MM), call management (CM), switching / routing, and announcement (combining intelligent network services to complete the connection relationship to intelligent network peripheral devices).
[0086] It can be understood that the core network of the 4G network is an evolved packet core (EPC) network. The EPC network is the core network of the 4G mobile communication network. It belongs to the category of core networks, has traditional capabilities of mobile networks such as storing user subscription data, mobility management, and data exchange, and can provide users with an ultra-high-speed Internet experience. The core network of the 5G network is 5G Core (which can be abbreviated as 5GC for short). 5GC will use general network function virtualization devices to replace the dedicated communication devices of the 4G network.
[0087] It should be noted that Figure 1 The core network in the shown network architecture can be obtained by fusing EPC and 5GC. That is to say, the core network in this network architecture can include both network elements in EPC and network elements in 5GC. For example, the core network in this network architecture can include access and mobility management function (AMF) network elements, mobility management entity (MME) network elements, serving gate way (SGW) network elements, packet data network gate way (PGW) network elements, session management function (SMF) network elements, user plane function (UPF) network elements, unified data management (UDM) network elements, home subscriber server (HSS) network elements, etc.
[0088] In some embodiments of the present application, the core network in this network architecture can include integrated network elements obtained from network elements in EPC and network elements in 5GC. For example, SMF+PGW-C, UPF+PGW-U, UDM+HSS, etc. Among them, PGW-C is the control plane node of the PGW network element, and PGW-U is the user plane node of the PGW network element.
[0089] In some embodiments of the present application, Figure 1The core network in the shown network architecture may include a proxy session border control (PSBC) network element, which is a co-located network element integrating session border control (SBC), proxy call session control function (proxy-CSCF, P-CSCF), access transfer control function (ATCF), and access transfer gateway (ATGW). As an SBC network element, it connects the IMS core network / softswitch network to the external user access area, completes the service access of IMS / softswitch users, realizes the interworking of user services in different network environments, ensures the security of the IMS / softswitch network, supports QoS management, CAC traffic control, media management, CDR media call detail list, and other functions.
[0090] Each network element in the core network can also be referred to as a functional entity, which can be either a network component implemented on dedicated hardware, a software instance running on dedicated hardware, or an instance of virtualized functions on an appropriate platform.
[0091] It should be understood that the names of all network elements in this application are only for example. In future communications, such as in 6G, they can also be called other names, or in future communications, such as in 6G, the network elements involved in this application can also be replaced by other entities or devices with the same functions, and this application does not make any restrictions on this. Here, a unified description is made and will not be repeated later. Optionally, various network elements in the embodiments of this application can be communication devices, or chips or chip systems that can be used in the communication devices, and this application does not make any restrictions on this.
[0092] It can be understood that Figure 1 The core network in the shown network architecture may also include other devices, network elements, network entities, or network subsystems, such as a policy control function (PCF) network element, and this application does not make any restrictions on this. It should be noted that this application does not make any restrictions on the distribution method of each network element in the core network. The specific distribution method can refer to relevant technical documents, and this application will not expand on this here.
[0093] It should be understood that Figure 1 This is only a schematic diagram. This application does not limit the specific architecture of the applicable system. The communication system 100 may also include other network devices, such as wireless relay devices and wireless backhaul devices, Figure 1 which are not shown. This application does not limit the number and specific form of the core network devices, access network devices, and terminal devices included in the communication system 100.
[0094] Optionally, the above communication system 100 may further include other network entities such as a network controller, a mobility management entity, etc., which are not limited in the embodiments of the present application.
[0095] It should be noted that in the following embodiments of the present application, the information interaction between the terminal device and the core network device can all be implemented through the access network device. For the sake of more concise description, the access network device in the information interaction process between the terminal device and the core network device will not be described hereinafter.
[0096] During the process of the terminal device accessing the network, a data service connection needs to be established. Exemplarily, when the terminal device needs to turn on the 5G cellular data switch, the terminal device can establish a protocol data unit (PDU) session through information interaction with the core network device; when the terminal device needs to turn on the 4G cellular data switch, the terminal device can establish a packet data network (PDN) session through information interaction with the core network device, etc. In this way, when the data bearer session is successfully established, the terminal device can use the data bearer to send data packets to the core network device. When the core network device responds to the data packets, the terminal device can access the Internet normally; when the core network device intercepts and does not respond to the data packets, the terminal device cannot access the Internet normally.
[0097] However, even when the data bearer session is successfully established, the terminal device may still not be able to access the Internet normally, and it is difficult for the terminal device to determine the reason for not being able to access the Internet normally, resulting in a poor user experience.
[0098] The following combines Figure 2 , taking the terminal device turning on the 5G cellular data switch as an example, to illustrate the process of the terminal device establishing a data service. Among them, the terminal device includes an application processor (AP) and a modem processor (Modem).
[0099] Figure 2 It is a schematic flowchart of a data service establishment method 200. The method 200 includes the following steps:
[0100] S201. The AP sends a data service establishment request to the Modem, and the data service establishment request carries a data network name (DNN) 1.
[0101] It should be understood that the DNN1 carried in the data service establishment request is related to the type of the network corresponding to the data service requested by the terminal device. For example, DNN1 can be cmnet, etc.
[0102] S202. The Modem receives a data service establishment request and sends a PDU session establishment request to the core network device. The DNN 1 is carried in the PDU session establishment request. Correspondingly, the core network device receives the data service establishment request from the Modem of the terminal device.
[0103] S203. In response to the data service establishment request, the core network device sends a PDU session establishment response to the Modem of the terminal device. The DNN 2 is carried in the PDU session establishment response. Correspondingly, the Modem of the terminal device receives the PDU session establishment response from the core network device.
[0104] It should be understood that the PDU session establishment response is used to respond to the PDU session establishment request. Therefore, in the case of normal establishment of the PDU session, DNN 2 can be the same as DNN 1, which means that the core network device confirms that the terminal device can use the network corresponding to DNN 1.
[0105] S204. The Modem sends a data service establishment response to the AP. The data service establishment response carries information indicating the success of the data service establishment.
[0106] S205. The AP receives the data service establishment response and sends a data packet to the Modem.
[0107] It should be understood that the data packet may include service data, such as video data, image data, etc.
[0108] S206. The Modem receives the data packet and sends the data packet to the core network device. Correspondingly, the core network device receives the data packet from the Modem, intercepts the data packet, and does not respond to the data packet.
[0109] It should be understood that since the core network device does not respond to the data packet. Therefore, the terminal device may determine that the response times out, and then determine that the network is abnormal.
[0110] From the above process of establishing the data service, it can be seen that although the terminal device can determine whether the network is abnormal by whether it receives a response from the core network device to the data packet within a preset time, the terminal device cannot further determine the reason for the network abnormality, making it difficult for the user to obtain the reason for the network abnormality, thus making it difficult to solve the network abnormality problem and resulting in a poor user experience.
[0111] However, it can be found through Method 200 that the DNN carried in the PDU session establishment request sent by the terminal device to the core network device is different from the DNN carried in the PDU session establishment response from the core network device, and the core network device does not respond to the data packets from the terminal device. Therefore, the cause of the network anomaly is related to the DNN carried in the PDU session establishment request and the DNN carried in the PDU session establishment response from the core network device.
[0112] To solve the above technical problems, the present application provides a communication method. The terminal device can determine whether the 5G network is abnormal based on the identifier carried in the PDU session establishment request sent to the core network device and the identifier carried in the received PDU session establishment response from the core network device; and / or determine whether the 4G network is abnormal based on the identifier carried in the PDN session establishment request sent to the core network device and the identifier carried in the received PDN session establishment response from the core network device. In this way, the terminal device can determine whether the cause of the network anomaly is that SA is restricted from accessing the Internet or the SIM card is restricted from accessing the Internet.
[0113] The following combines Figures 3 to 7 The communication method of the present application is introduced in detail. The embodiments shown in the present application show the communication method provided by the present application from the perspective of device interaction. The specific forms and quantities of the devices shown are only examples and should not constitute any limitation to the implementation of the method provided by the present application. Below, taking the terminal device and the core network device as the execution entities as an example, the communication method of the embodiments of the present application is described in detail.
[0114] It should be understood that the terminal device can be the terminal device itself, can be a chip, a chip system or a processor that supports the terminal device to implement the communication method, or can also be a logic module or software that can implement all or part of the terminal device; the core network device can be the core network device itself, can be a chip, a chip system or a processor that supports the core network device to implement the communication method, or can also be a logic module or software that can implement all or part of the core network device. The present application does not make specific limitations on this.
[0115] Figure 3 It is a schematic flowchart of a communication method 300 provided by an embodiment of the present application. As Figure 3 shown, Method 300 includes the following steps:
[0116] S301. The terminal device sends first information to the core network device. The first information is used to request the establishment of a data bearer session, and the first information includes a first identifier of the network corresponding to the data bearer session. Correspondingly, the core network device receives the first information from the terminal device.
[0117] The data bearer session can be a PDU session or a PDN session. The first information can be a PDU session establishment request or a PDN session establishment request, etc. The PDN session can also be referred to as a PDN connection. The PDN session establishment request can also be referred to as a PDN connectivity request msg. The first identifier can be information used to represent the name or type of the network corresponding to the data bearer session. For example, when the first information is a PDU session establishment request, the first identifier can be a DNN; when the first information is a PDN connectivity request msg, the first identifier can be an APN.
[0118] S302. The core network device sends second information to the terminal device. The second information is used to indicate acceptance of the request to establish a data bearer session, and the second information includes a second identifier. Correspondingly, the terminal device receives the second information from the core network device.
[0119] The second information is the response information of the core network device to the first information. For example, when the first information is a PDU session establishment request, the second information can be a PDU session establishment response; when the first information is a PDN connectivity request msg, the second information can be an activated default evolved packet system (EPS) bearer request, and the activated default EPS bearer request can also be referred to as an activate default EPS bearer context request. The second identifier is the information carried by the second information sent by the core network device and used to indicate the network name or network type. For example, when the first information is a PDU session establishment request, the second identifier is a DNN; when the first information is a PDN connectivity request msg, the first identifier can be an APN.
[0120] It should be noted that in the SA scenario, during the process of the terminal device establishing a PDU session, both the first identifier carried by the first information and the second identifier carried by the second information can be a DNN, but it does not mean that the first identifier carried by the first information and the second identifier carried by the second information are the DNN itself; similarly, in the LTE scenario, during the process of the terminal device establishing a PDN connection, both the first identifier carried by the first information and the second identifier carried by the second information can be an APN, but it does not mean that the first identifier carried by the first information and the second identifier carried by the second information are the APN itself. DNN and / or APN are the names of a type of identifier. Even if both the first identifier carried by the first information and the second identifier carried by the second information are DNN or APN, the first identifier and the second identifier may be different.
[0121] S303. When the first identifier and the second identifier are different and / or the second identifier belongs to a first preset identifier, the terminal device determines the cause of the network anomaly and displays third information, where the third information is used to indicate the cause of the network anomaly.
[0122] When the second identifier belongs to the first preset identifier, it indicates that the network to which the current terminal device requests access is abnormal. The first preset identifier can also be referred to as a blacklist identifier, blacklist, DNN blacklist, APN blacklist, etc. The first preset identifier can include at least one identifier. Exemplarily, the first preset identifier can include at least one of the following: PSLCK, pslck, CMDTJ, cmdtj, or srrz.
[0123] The second information is the response of the core network device to the first information. When the network accessed by the terminal device can be used normally, the second identifier carried in the second information is the same as the first identifier carried in the first information, indicating that the terminal device can normally use the network corresponding to the first identifier. Therefore, when the first identifier and the second identifier are different and / or the second identifier belongs to the first preset identifier, the terminal device can determine that the currently accessed network is abnormal. For example, when the first information is used to request the establishment of a PDU session, the terminal device can determine that SA is restricted from accessing the Internet; when the first information is used to request the establishment of a PDN connection, the terminal device can determine that 4G is restricted from accessing the Internet.
[0124] It can be seen that in the communication method of the present application, the terminal device can determine whether SA is restricted from accessing the Internet or 4G is restricted from accessing the Internet by comparing the first identifier and the second identifier and / or determining whether the second identifier belongs to the blacklist. Moreover, the terminal device can also display that SA is restricted from accessing the Internet or 4G is restricted from accessing the Internet, enabling the user to determine the cause of the network anomaly and improving the user experience.
[0125] When the first information is used to request the establishment of a PDU session, the terminal device can determine and display the cause of the network anomaly in the following two ways.
[0126] First, S303 can be implemented in the following manner: When the first identifier and the second identifier are different and / or the second identifier belongs to the first preset identifier, it is determined that the cause of the network anomaly is that SA is restricted from accessing the Internet. Optionally, the third information displayed by the terminal device can be used to indicate that SA is restricted from accessing the Internet.
[0127] When the terminal device determines that SA is restricted from accessing the Internet, it can directly display that SA is restricted from accessing the Internet or 5G is restricted from accessing the Internet, enabling the user to quickly determine that 5G is restricted from accessing the Internet and improving the user experience.
[0128] Second, S303 can be implemented in the following manner: When the first identifier and the second identifier are different and / or the second identifier belongs to the first preset identifier, the terminal device sends fourth information to the core network device. The fourth information is used to request the establishment of a Packet Data Network (PDN) connection. The fourth information includes a third identifier of the network corresponding to the PDN connection. Correspondingly, the core network device receives the fourth information from the terminal device; the core network device sends fifth information to the terminal device. The fifth information is used to request the activation of a default EPS bearer. The fourth information includes a fourth identifier. Correspondingly, the terminal device receives the fifth information from the core network device; the terminal device determines the cause of network anomaly based on the third identifier and the fourth identifier.
[0129] The fourth information can be a PDN connection request message, and the fifth information can be a request to activate the default EPS bearer. The fourth information and the fifth information are messages used to establish a PDN connection. The third identifier and the fourth identifier can be an Access Point Name (APN).
[0130] When the terminal device determines that the Standalone (SA) is restricted from accessing the Internet, it can fallback to Long Term Evolution (LTE) to establish a PDN connection. During the establishment of the PDN connection, the terminal device can determine whether the 4G network is abnormal based on the third identifier and the fourth identifier.
[0131] In a possible implementation, the terminal device determines the cause of network anomaly based on the third identifier and the fourth identifier, which can be implemented in the following manner: When the third identifier and the fourth identifier are different and / or the fourth identifier belongs to the second preset identifier, it is determined that the cause of network anomaly is that the Subscriber Identity Module (SIM) card is restricted from accessing the Internet; or, when the third identifier and the fourth identifier are the same and the fourth identifier does not belong to the second preset identifier, it is determined that the cause of network anomaly is that the Standalone (SA) is restricted from accessing the Internet.
[0132] When the first information is used to request the establishment of a PDU session, the first preset identifier can be understood as a DNN blacklist. The second preset identifier can be understood as an APN blacklist. The second preset identifier and the first preset identifier can be the same or different. Exemplarily, the second preset identifier can include at least one of the following: PSLCK, pslck, CMDTJ, cmdtj, or srrz.
[0133] When the third identifier is different from the fourth identifier, and / or when the fourth identifier belongs to the second preset identifier, the terminal device can determine that the 4G network is abnormal. Since the 4G network abnormality is further determined on the premise of the SA network abnormality, the terminal device can determine that the reason for the network abnormality is that the SIM card is restricted from accessing the Internet. Further, the third information can be used to indicate that the SIM card is restricted from accessing the Internet. When the third identifier is the same as the fourth identifier and the fourth identifier does not belong to the second preset identifier, the terminal device can determine that the 4G network is normal. Since the 4G network normality is further determined on the premise of the SA network abnormality, the terminal device can determine that the reason for the network abnormality is that the SA is restricted from accessing the Internet. Further, the third information can be used to indicate that the SA is restricted from accessing the Internet.
[0134] Exemplarily, the terminal device can display a pop-up message, and the third information is included in the pop-up message. The interface of the terminal device for displaying the third information can be as Figure 4 shown. The third information is included in the pop-up message 401, and the third information is that the SIM card is restricted from accessing the Internet. Optionally, when the terminal device supports multi-SIM standby, the third information can be that the SIM card i is restricted from accessing the Internet, where i is a positive integer. Further, the third information can also include information for prompting methods to solve the network abnormality problem, such as text like "please contact the operator".
[0135] It should be understood that when the reason for the network abnormality is other reasons, the interface of the terminal device for displaying the reason for the network abnormality is similar to the Figure 4 shown interface. For the sake of brevity, the display interface of the terminal device when the reason for the network abnormality is other reasons will not be elaborated further.
[0136] When the first information is used to request the establishment of a PDN connection, the terminal device can determine and display the reason for the network abnormality in the following manner.
[0137] As an optional embodiment, S303 can be implemented in the following manner: when the first identifier is different from the second identifier, and / or when the second identifier belongs to the first preset identifier, determine that the reason for the network abnormality is that the SIM card is restricted from accessing the Internet.
[0138] When the first information is used to request the establishment of a PDN connection, if the first identifier is different from the second identifier, and / or the second identifier belongs to the first preset identifier, the terminal device can determine that the 4G network is abnormal. Since the terminal device may access the 4G network under the condition of a 5G network abnormality or the SIM card not subscribing to a 5G package, etc., when the terminal device determines that the 4G network is abnormal, it can determine that the reason for the network abnormality is that the SIM card is restricted from accessing the Internet. Correspondingly, the third information can be used to indicate that the SIM card is restricted from accessing the Internet. The interface displayed by the terminal device can refer to the Figure 4 shown interface.
[0139] The terminal device may include an AP and a Modem. Determining the cause of network anomalies can be performed by the AP or the Modem. The following describes these two cases separately.
[0140] In the first case, the AP determines whether the SA network and / or the 4G network is abnormal.
[0141] Figure 5 It is a schematic flowchart of a communication method 500 provided by an embodiment of the present application. The method 500 can be applied to the system 100.
[0142] In the first possible implementation manner, in the SA scenario, the method 500 includes the following steps:
[0143] S501. The AP sends information for requesting to establish a 5G data service to the Modem. The information for requesting to establish a 5G data service includes a first identifier of the network corresponding to the 5G data service.
[0144] It should be understood that the information for requesting to establish a 5G data service can be understood as a data service establishment request (setup data call request). The first identifier of the network corresponding to the 5G data service can be understood as DNN 1.
[0145] S502. The Modem receives the information for requesting to establish a 5G data service and sends information for requesting to establish a PDU session to the core network device. The information for requesting to establish a PDU session includes the first identifier. Correspondingly, the core network device receives the information for requesting to establish a PDU session from the Modem.
[0146] S503. The core network device sends information for indicating acceptance of the PDU session establishment request to the Modem. The information for indicating acceptance of the PDU session establishment request includes a second identifier. Correspondingly, the Modem receives the information for indicating acceptance of the PDU session establishment request from the core network device.
[0147] S504. The Modem sends information for indicating acceptance of the establishment of the 5G data service to the AP. The information for indicating acceptance of the establishment of the 5G data service includes the second identifier.
[0148] It should be understood that the information for indicating acceptance of the establishment of the 5G data service can be understood as a response to the information for requesting to establish a 5G data service. The information for indicating acceptance of the establishment of the 5G data service can be a data service establishment response (setup data call response). The second identifier can be DNN 2.
[0149] It should be noted that the 1 in DNN 1 and the 2 in DNN 2 are numbers for distinguishing the first identifier and the second identifier. DNN 1 and DNN 2 are only examples, and it is not limited that the first identifier is DNN 1 itself and the second identifier is DNN 2 itself.
[0150] S505. The AP receives information for indicating the establishment of accepting 5G data services, and determines that the SA network is abnormal based on the first identifier being different from the second identifier, and / or the second identifier belonging to the first preset identifier.
[0151] S501 to S505 are the processes for the terminal device to determine that the SA network is abnormal. Among them, S502, S503, and S505 are similar to the implementation manners of S301 to S303 when the data bearer in method 300 is a PDU, and reference can be made to the description above, which will not be elaborated here.
[0152] S506. The AP sends information for indicating the disabling of SA to the Modem.
[0153] It should be understood that the Modem receives information for indicating the disabling of SA, and can perform operations of disabling SA and camping on LTE based on this information.
[0154] S507. The Modem sends information for requesting the establishment of a PDN connection to the core network device. The information for requesting the establishment of a PDN connection includes a third identifier of the network corresponding to the PDN connection. Correspondingly, the core network device receives the information for requesting the establishment of a PDN connection from the Modem.
[0155] S508. The core network device sends information for requesting the activation of the default EPS bearer to the Modem. The information for requesting the activation of the default EPS bearer includes a fourth identifier. Correspondingly, the Modem receives the information for requesting the activation of the default EPS bearer from the core network device.
[0156] Optionally, after S508, method 500 may further include: The Modem sends information for indicating the acceptance of the activation of the default EPS bearer to the core network device. The information for indicating the acceptance of the activation of the default EPS bearer may also be referred to as activatedefault EPS bearer context accept. By sending this information to the core network device, the core network device can determine that the terminal device has successfully established a PDN connection.
[0157] S509. The AP sends information for requesting the establishment of 4G data services to the Modem. The information for requesting the establishment of 4G data services includes a third identifier of the network corresponding to the 4G data services.
[0158] It should be understood that the information used to request the establishment of a 4G data service can be understood as a data service establishment request (setup data call request). The third identifier can be understood as APN 1.
[0159] S510. The Modem receives the information used to request the establishment of a 4G data service and sends to the AP the information used to indicate acceptance of the establishment of the 4G data service. The information used to indicate acceptance of the establishment of the 4G data service includes a fourth identifier.
[0160] It should be understood that the information used to indicate acceptance of the establishment of a 4G data service can be understood as a response to the information used to request the establishment of a 4G data service. The information used to indicate acceptance of the establishment of the 4G data service can be a data service establishment response (setup data call response). The second identifier can be APN 2.
[0161] It should be noted that the 1 in APN 1 and the 2 in APN 2 are numbers for distinguishing the third identifier and the fourth identifier. APN 1 and APN 2 are only examples, and do not limit that the third identifier is APN 1 itself and the fourth identifier is APN 2 itself. Also, APN1 and APN 2 do not limit that the third identifier and the fourth identifier must be different.
[0162] S511. The AP determines whether the 4G network is abnormal based on the third identifier and the fourth identifier.
[0163] S507 to S511 are the processes by which the terminal device determines whether the 4G network is abnormal through the AP. Among them, S507, S508, and S511 are similar to the implementation manners of S301 to S303 when the data bearer is a PDN in method 300, and reference can be made to the above description and will not be elaborated here.
[0164] Optionally, S511 can be implemented in the following manner: determine that the 4G network is abnormal when the third identifier and the fourth identifier are different, and / or the fourth identifier belongs to the second preset identifier; or, determine that the 4G network is normal when the third identifier and the fourth identifier are the same and the fourth identifier does not belong to the second preset identifier.
[0165] It should be understood that in this way, the AP can determine whether the 4G network is abnormal when it has determined that the SA network is abnormal. The Modem does not need to judge whether the SA network is abnormal according to the first identifier and the second identifier, nor does it need to judge whether the 4G network is abnormal according to the third identifier and the fourth identifier, so that the power consumption of the Modem is relatively low.
[0166] Based on the above embodiments, the AP can also determine the cause of network anomaly. Exemplarily, in the case of a 4G network anomaly, the AP can determine that the cause of the network anomaly is that the SIM card is restricted from accessing the Internet; or, in the case of a normal 4G network, the AP can determine that the cause of the network anomaly is that the SA is restricted from accessing the Internet.
[0167] It should be understood that in the case of an SA network anomaly and a 4G network anomaly, it means that both the SA and 4G are restricted from accessing the Internet, and the AP can determine that the cause of the network anomaly is that the SIM card is restricted from accessing the Internet; in the case of an SA network anomaly and a normal 4G network, it means that the SA is restricted from accessing the Internet.
[0168] Based on the above embodiments, the AP can also instruct the display module to display information indicating the cause of network anomaly. Exemplarily, in the case of a 4G network anomaly, it instructs the display module to display a second prompt message, and the second prompt message is used to indicate that the cause of the network anomaly is that the SIM card is restricted from accessing the Internet; or, in the case of a normal 4G network, it instructs the display module to display a third prompt message, and the third prompt message is used to indicate that the cause of the network anomaly is that the SA is restricted from accessing the Internet.
[0169] Among them, the second prompt message and the third prompt message can be pop-up messages or cards, etc. The second prompt message and / or the third prompt message can include contents such as text or images. For example, the second prompt message can be the text content: The SIM card is restricted from accessing the Internet. The present application does not make specific limitations on the display form and specific content of the second prompt message and the third prompt message.
[0170] In this way, the user can determine the cause of the network anomaly, thereby facilitating the user to solve the network anomaly problem and improving the user experience.
[0171] It should be noted that although the AP determines that the SA network is abnormal based on the first identifier and the second identifier, for the convenience of user understanding, the terminal device can also display that 5G is restricted from accessing the Internet.
[0172] It should be understood that the display module can be a software module or a hardware module for interface display in the terminal device, such as a display screen, etc. The present application does not make specific limitations on this.
[0173] In the second possible implementation manner, in the LTE scenario, the steps included in method 500 are the above S507 to S511.
[0174] In the second possible implementation of method 500, the differences from the first possible implementation are as follows: 1. The terminal device directly establishes a PDN connection. 2. The implementation of the AP to determine the cause of network anomaly and the implementation of the AP to instruct the display module to display information indicating the cause of network anomaly are different: after S511, in the case of a 4G network anomaly, the AP can determine that the cause of the network anomaly is that the SIM card is restricted from accessing the Internet, and the AP instructs the display module to display a first prompt message, where the first prompt message is used to indicate that the cause of the network anomaly is that the SIM card is restricted from accessing the Internet; or, in the case of a normal 4G network, the AP can determine that the network is normal and there is no need to display information indicating the cause of the network anomaly.
[0175] It should be understood that the second possible implementation can refer to the implementation of S507 to S511 in the above first possible implementation, which will not be elaborated here.
[0176] It should be noted that the size of the serial number of method 500 does not mean the order of execution. The execution order of each process should be determined by its function and internal logic. For example, S509 can be executed before S507 and S508, or after S507 and S508, or in parallel with S507 and S508.
[0177] In the second case, the Modem determines whether the SA network and / or the 4G network is abnormal.
[0178] Figure 6 This is a schematic flowchart of a communication method 600 provided by an embodiment of the present application. Method 600 can be applied to system 100.
[0179] In the first possible implementation, in the SA scenario, method 600 includes the following steps:
[0180] S601. The AP sends information for requesting to establish a 5G data service to the Modem, and the information for requesting to establish a 5G data service includes a first identifier of the network corresponding to the 5G data service.
[0181] S602. The Modem receives the information for requesting to establish a 5G data service and sends information for requesting to establish a PDU session to the core network device. The information for requesting to establish a PDU session includes the first identifier. Correspondingly, the core network device receives the information for requesting to establish a PDU session from the Modem.
[0182] S603. The core network device sends information for indicating acceptance of the PDU session establishment request to the Modem, and the information for indicating acceptance of the PDU session establishment request includes a second identifier. Correspondingly, the Modem receives the information for indicating acceptance of the PDU session establishment request from the core network device.
[0183] It should be understood that the implementation manners of S601 to S603 are similar to those of S501 to S503, and reference may be made to the above description, which will not be elaborated here.
[0184] S604. The Modem determines that the SA network is abnormal based on the difference between the first identifier and the second identifier, and / or the second identifier belongs to the first preset identifier.
[0185] It should be understood that S601 to S604 are the processes by which the terminal device determines that the SA network is abnormal through the Modem. Among them, the implementation manners of S602, S603, and S604 are similar to those of S301 to S303 when the data bearer is a PDU in method 300, and reference may be made to the above description, which will not be elaborated here.
[0186] S605. The Modem sends information indicating the reason for the failure to establish the 5G data service to the AP.
[0187] Among them, the information indicating the reason for the failure to establish the 5G data service may be preset information such as an error code, for example, error code 1, 0, or 2, etc.
[0188] Optionally, the information indicating the reason for the failure to establish the 5G data service may be carried in messages such as setup data call fail.
[0189] In this way, the AP can determine that the reason for the failure to establish the 5G data service is that the first identifier is different from the second identifier, and / or the second identifier belongs to the first preset identifier according to the information indicating the reason for the failure to establish the 5G data service, which helps the AP determine the reason for the network abnormality.
[0190] S606. The AP sends information indicating the disabling of SA to the Modem.
[0191] It should be understood that the Modem receives the information indicating the disabling of SA and can perform the operation of disabling SA and camping on LTE based on this information.
[0192] S607. The Modem sends information for requesting to establish a PDN connection to the core network device. The information for requesting to establish a PDN connection includes a third identifier of the network corresponding to the PDN connection. Correspondingly, the core network device receives the information for requesting to establish a PDN connection from the Modem.
[0193] S608. The core network device sends information for requesting to activate the default EPS bearer to the Modem. The information for requesting to activate the default EPS bearer includes a fourth identifier. Correspondingly, the Modem receives the information for requesting to activate the default EPS bearer from the core network device.
[0194] Optionally, after S608, method 600 may further include: The Modem sends information for indicating acceptance of activating the default EPS bearer to the core network device. The information for indicating acceptance of activating the default EPS bearer may also be referred to as activatedefault EPS bearer context accept. By sending this information to the core network device, the core network device can determine that the terminal device has successfully established a PDN connection.
[0195] S609. The Modem determines whether the 4G network is abnormal based on the third identifier and the fourth identifier.
[0196] S610. The AP sends information for requesting establishment of a 4G data service to the Modem. The information for requesting establishment of a 4G data service includes the third identifier of the network corresponding to the 4G data service.
[0197] S611. The Modem sends information for indicating whether the 4G data service has been successfully established to the AP.
[0198] It should be understood that the implementation manners of S609 and S511 are similar, and reference may be made to the above description, which will not be elaborated here.
[0199] Optionally, the implementation manner of S611 is determined by the determination result of S609. When the Modem determines that the 4G network is abnormal, S611 may be implemented in the following manner: The Modem sends information for indicating the reason for the failure to establish the 4G data service to the AP; when the Modem determines that the 4G network is normal, S611 may be implemented in the following manner: The Modem sends information for indicating that the 4G data service has been successfully established to the AP.
[0200] Among them, the information for indicating that the 4G data service has been successfully established may be information such as setupdata call success.
[0201] The information for indicating the reason for the failure to establish the 4G data service may be information such as a preset error code, for example, error code 1, 0, or 2, etc. The information for indicating the reason for the failure to establish the 5G data service and / or the information for indicating the reason for the failure to establish the 4G data service may be information agreed upon by the protocol, configured by the core network device through signaling, or pre-set in the terminal device. For example, the protocol-agreed error code 1 is used to indicate that the reason for the failure to establish the 5G data service is that the first identifier and the second identifier are different, and / or the second identifier belongs to the first preset identifier; or, the protocol-agreed error code 1 is used to indicate that the reason for the failure to establish the 4G data service is that the third identifier and the fourth identifier are different, and / or the fourth identifier belongs to the second preset identifier, etc.
[0202] Optionally, the information used to indicate the cause of the failure to establish a 4G data service may be carried in messages such as "setup data call fail". The information used to indicate the cause of the failure to establish a 5G data service and the information used to indicate the cause of the failure to establish a 4G data service may be the same or different. For example, both the information used to indicate the cause of the failure to establish a 5G data service and the information used to indicate the cause of the failure to establish a 4G data service may be error code 1. During the process of establishing a 5G data service, the AP may, based on error code 1, determine that the cause of the failure to establish the 5G data service is that the first identifier and the second identifier are different, and / or the second identifier belongs to the first preset identifier; during the process of establishing a 4G data service, the AP may, based on error code 1, determine that the cause of the failure to establish the 4G data service is that the third identifier and the fourth identifier are different, and / or the fourth identifier belongs to the second preset identifier. This helps the AP determine the cause of network anomalies.
[0203] It should be understood that S607 to S611 are the processes by which the terminal device determines whether the 4G network is abnormal through the Modem. Among them, S607, S608, and S609 are similar to the implementation manners of S301 to S303 when the data bearer is a PDN in method 300, and reference can be made to the above description and will not be elaborated here.
[0204] S612. The AP determines the cause of network anomalies based on the information used to indicate whether the 4G data service is successfully established.
[0205] Optionally, S612 may be implemented in the following manner: when the information used to indicate whether the 4G data service is successfully established is the information used to indicate the successful establishment of the 4G data service, the AP may determine that the 4G network is normal and determine that the cause of the network anomaly is that SA is restricted from accessing the Internet; or, when the information used to indicate whether the 4G data service is successfully established is the information used to indicate the cause of the failure to establish the 4G data service, the AP may determine that the 4G network is abnormal and determine that the cause of the network anomaly is that the SIM card is restricted from accessing the Internet.
[0206] Based on the above embodiments, the AP may also instruct the display module to display the information used to indicate the cause of network anomalies. Exemplarily, when the information used to indicate whether the 4G data service is successfully established is the information used to indicate the cause of the failure to establish the 4G data service, instruct the display module to display a second prompt message, where the second prompt message is used to indicate that the cause of the network anomaly is that the SIM card is restricted from accessing the Internet; or, when the information used to indicate whether the 4G data service is successfully established is the information used to indicate the successful establishment of the 4G data service, instruct the display module to display a third prompt message, where the third prompt message is used to indicate that the cause of the network anomaly is that SA is restricted from accessing the Internet.
[0207] It should be understood that the implementation manner in which the AP instructs the display module to display information indicating the cause of network exception can refer to the description in Method 500 and will not be elaborated here.
[0208] It should be noted that the information indicating the cause of failure in establishing a 5G data service and / or the information indicating the cause of failure in establishing a 4G data service can be a preset identifier, such as error code 1, etc. When the AP receives other information indicating the cause of failure in establishing a 5G data service or the cause of failure in establishing a 4G data service from the Modem, such as error code 2, the AP may not instruct the display module to display the information indicating the cause of network exception.
[0209] It should also be noted that in the first implementation manner of Method 600, S605 is an optional step. For example, the AP can also determine that the 5G data service establishment fails based on not receiving a message from the Modem indicating the successful establishment of the 5G data service within a first preset duration, and execute S606. This application does not make specific limitations on this.
[0210] In the second possible implementation manner, in the LTE scenario, the steps included in Method 600 are the above S607 to S612.
[0211] In Method 600, the differences between the second possible implementation manner and the first possible implementation manner are as follows: 1. The terminal device directly establishes a PDN connection. 2. The implementation manner in which the AP determines the cause of network exception and the information indicating the cause of network exception instructed to be displayed by the display module are different: In S612, when the information indicating whether the 4G data service is successfully established is the information indicating the cause of failure in establishing the 4G data service, the AP can determine that the cause of network exception is that the SIM card is restricted from accessing the Internet, and the AP instructs the display module to display a second prompt message, where the second prompt message is used to indicate that the cause of network exception is that the SIM card is restricted from accessing the Internet; or, when the information indicating whether the 4G data service is successfully established is the information indicating the successful establishment of the 4G data service, the AP can determine that the network is normal and there is no need to display the information indicating the cause of network exception.
[0212] It should be understood that the second possible implementation manner can refer to the implementation manner of S607 to S612 in the above first possible implementation manner and will not be elaborated here.
[0213] It should be noted that the magnitude of the serial number of Method 600 does not mean the order of execution. The execution order of each process should be determined according to its function and internal logic. For example, S610 can be executed before S607 and S608, or after S607 and S608, or in parallel with S607 and S608.
[0214] The present application also provides another communication method 700. The difference between method 700 and method 600 is that after the Modem determines that the SA network is abnormal in method 600, it performs the operations of disabling SA and residing in LTE based on the information from the AP for indicating the disabling of the SA network; in method 700, after the Modem determines that the SA network is abnormal, it actively performs the operations of disabling SA and residing in LTE.
[0215] Figure 7 It is a schematic flowchart of a communication method 700 provided by an embodiment of the present application. Method 700 can be applied to system 100.
[0216] In the first possible implementation manner, in the SA scenario, method 700 includes the following steps:
[0217] S701. The AP sends information for requesting to establish a 5G data service to the Modem. The information for requesting to establish a 5G data service includes a first identifier of the network corresponding to the 5G data service.
[0218] S702. The Modem receives the information for requesting to establish a 5G data service and sends information for requesting to establish a PDU session to the core network device. The information for requesting to establish a PDU session includes the first identifier. Correspondingly, the core network device receives the information for requesting to establish a PDU session from the Modem.
[0219] S703. The core network device sends information for indicating acceptance of the PDU session establishment request to the Modem. The information for indicating acceptance of the PDU session establishment request includes a second identifier. Correspondingly, the Modem receives the information for indicating acceptance of the PDU session establishment request from the core network device.
[0220] S704. The Modem determines that the SA network is abnormal based on the difference between the first identifier and the second identifier, and / or the second identifier belongs to a first preset identifier.
[0221] S705. The Modem sends information for indicating the reason for the failure to establish the 5G data service to the AP.
[0222] It should be understood that the implementation manners of S701 to S705 are similar to those of S601 to S605, and reference can be made to the above description, which will not be elaborated here.
[0223] S706. The Modem sends information for requesting to establish a PDN connection to the core network device. The information for requesting to establish a PDN connection includes a third identifier of the network corresponding to the PDN connection. Correspondingly, the core network device receives the information for requesting to establish a PDN connection from the Modem.
[0224] S707. The core network device sends information for requesting activation of the default EPS bearer to the Modem. The information for requesting activation of the default EPS bearer includes a fourth identifier. Correspondingly, the Modem receives the information for requesting activation of the default EPS bearer from the core network device.
[0225] S708. The Modem determines whether the 4G network is abnormal based on the third identifier and the fourth identifier.
[0226] It should be understood that the implementation manners of S706 to S708 are similar to those of S607 to S609, and reference may be made to the above description, which will not be elaborated here.
[0227] S709. The Modem sends information for indicating a network mode switch from SA to LTE to the AP.
[0228] It should be understood that the information for indicating a network mode switch from SA to LTE may be identifiers such as SA, 001, 1100, etc. The AP can determine a network mode switch from SA to LTE based on the information for indicating a network mode switch from SA to LTE, and thus execute S710.
[0229] S710. The AP sends information for requesting establishment of a 4G data service to the Modem. The information for requesting establishment of a 4G data service includes a third identifier of the network corresponding to the 4G data service.
[0230] S711. The Modem sends information for indicating whether the 4G data service is successfully established to the AP.
[0231] S712. The AP determines the cause of network abnormality based on the information for indicating whether the 4G data service is successfully established.
[0232] It should be understood that the implementation manners of S710 to S712 are similar to those of S609 to S612, and reference may be made to the above description, which will not be elaborated here.
[0233] It should be noted that the magnitude of the serial numbers of method 700 does not indicate the sequence of execution. The execution sequence of each process should be determined by its function and internal logic. For example, S709 may be executed before S706 and S707, may be executed after S706 and S707, or may be executed in parallel with S706 and S707.
[0234] It should also be noted that, in the first implementation manner of method 700, S705 and / or S709 are optional steps. For example, the AP can also determine that the 5G data service establishment fails according to the fact that no message indicating the successful establishment of the 5G data service is received from the Modem within the second preset duration, and then execute S710; or, the AP can determine that the 5G data service establishment fails according to S705, and then execute S710; or, the AP can determine that the 5G data service establishment fails according to S709, and then execute S710. The present application does not make specific limitations on this.
[0235] In addition, the implementation manner corresponding to the LTE scenario in method 700 is similar to the second implementation manner of method 600, and reference can be made to the above description.
[0236] It should be understood that the magnitudes of the sequence numbers of the above methods do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic.
[0237] It should also be understood that in the NSA scenario, the manner in which the terminal device determines the cause of network abnormality can refer to the manner in which the cause of network abnormality is determined in the LTE scenario in the above embodiments. For the sake of brevity, the present application will not elaborate on this.
[0238] It can be understood that the above method 500 is a communication method for the AP to determine whether the SA network and / or the 4G network is abnormal, and methods 600 and 700 are methods for the Modem to determine whether the SA network and / or the 4G network is abnormal. In some embodiments, the determination by the AP of whether the SA network and / or the 4G network is abnormal and the determination by the Modem of whether the SA network and / or the 4G network is abnormal can also be combined. For example, the AP determines whether the SA network is abnormal and the Modem determines whether the 4G network is abnormal, or the Modem determines whether the SA network is abnormal and the AP determines whether the 4G network is abnormal. The implementation manner of the communication method in which the determination by the AP of whether the SA network and / or the 4G network is abnormal and the determination by the Modem of whether the SA network and / or the 4G network is abnormal are combined can refer to the descriptions of methods 500, 600, and 700, and will not be elaborated here. For example, the communication method corresponding to the Modem determining whether the SA network is abnormal and the AP determining whether the 4G network is abnormal can include the following steps: S601 to S606 in method 600, and S507 to S511 in method 500.
[0239] It should also be noted that in the embodiments of the present application, each term and English abbreviation, such as AP, Modem, etc., are exemplary examples given for the convenience of description and should not constitute any limitation to the present application. The present application does not exclude the possibility of defining other terms that can achieve the same or similar functions in existing or future protocols. In addition, AP and Modem can be two independent processing units respectively, such as two independent chips and other devices, or can be integrated in one device, and the present application does not make specific limitations on this.
[0240] As described above in conjunction with Figures 3 to 7 , the communication method of the embodiments of the present application has been described in detail. Next, in conjunction with Figure 8 and Figure 9 , the communication device of the embodiments of the present application will be described in detail. The communication device includes modules or units corresponding to each part in the above embodiments for execution. The modules or units can be software, hardware, or a combination of software and hardware. Only a brief example of the voice call device is given below. For the implementation details of the solution, reference can be made to the description of the foregoing method embodiments, and details will not be repeated below.
[0241] Figure 8 FIG. is a schematic block diagram of a communication device 800 provided by an embodiment of the present application. As Figure 8 shown, the device 800 includes: a transceiver module 801, a processing module 802, and a display module 803.
[0242] In a possible implementation manner, the device 800 is used to implement the steps corresponding to the terminal device in the above method 300.
[0243] The transceiver module 801 is configured to send a first message to the core network device, where the first message is used to request to establish a data bearer session, and the first message includes a first identifier of a network corresponding to the data bearer session; receive a second message from the core network device, where the second message is used to indicate acceptance of the request to establish a data bearer session, and the second message includes a second identifier; the processing module 802 is configured to determine a network exception reason when the first identifier is different from the second identifier and / or the second identifier belongs to a first preset identifier; the display module 803 is configured to display a third message, where the third message is used to indicate the network exception reason.
[0244] Optionally, the first information is used to request the establishment of a protocol data unit (PDU) session; the transceiver module 801 is further configured to: when the first identifier and the second identifier are different and / or the second identifier belongs to a first preset identifier, send fourth information to the core network device, where the fourth information is used to request the establishment of a packet data network (PDN) connection, and the fourth information includes a third identifier of the network corresponding to the PDN connection; receive fifth information from the core network device, where the fifth information is used to request the activation of a default evolved packet system (EPS) bearer, and the fourth information includes a fourth identifier; the processing module 802 is specifically configured to: determine the cause of network exception based on the third identifier and the fourth identifier.
[0245] Optionally, the processing module 802 is specifically configured to: when the third identifier and the fourth identifier are different and / or the fourth identifier belongs to a second preset identifier, determine that the cause of network exception is that the subscriber identity module (SIM) card is restricted from accessing the Internet; or, when the third identifier and the fourth identifier are the same and the fourth identifier does not belong to the second preset identifier, determine that the cause of network exception is that the stand-alone networking (SA) is restricted from accessing the Internet.
[0246] Optionally, the first information is used to request the establishment of a PDU session; the processing module 802 is specifically configured to: when the first identifier and the second identifier are different and / or the second identifier belongs to a first preset identifier, determine that the cause of network exception is that the SA is restricted from accessing the Internet.
[0247] Optionally, the first information is used to request the establishment of a PDN connection; the processing module 802 is specifically configured to: when the first identifier and the second identifier are different and / or the second identifier belongs to a first preset identifier, determine that the cause of network exception is that the SIM card is restricted from accessing the Internet.
[0248] In a possible implementation manner, the apparatus 800 is used to implement the steps corresponding to the Modem in the foregoing method 500, method 600, and method 700.
[0249] The transceiver module 801 is configured to send information for requesting the establishment of a PDN connection to the core network device, where the information for requesting the establishment of a PDN connection includes a third identifier of the network corresponding to the PDN connection; receive information for requesting the activation of a default EPS bearer from the core network device, where the information for requesting the activation of a default EPS bearer includes a fourth identifier; the processing module 802 is configured to determine whether the 4G network is abnormal based on the third identifier and the fourth identifier; the transceiver module 801 is further configured to: receive information for requesting the establishment of a 4G data service sent by the application processor, where the information for requesting the establishment of a 4G data service includes a third identifier of the network corresponding to the 4G data service; send information for indicating whether the 4G data service is successfully established to the application processor.
[0250] Optionally, the transceiver module 801 is further configured to: receive information from the application processor for requesting to establish a 5G data service, where the information for requesting to establish a 5G data service includes a first identifier of a network corresponding to the 5G data service; send a first message to the core network device, where the first message is used to request to establish a PDU session, and the first message includes the first identifier; receive a second message from the core network device, where the second message is used to indicate acceptance of the request to establish a PDU session, and the second message includes a second identifier; specifically, the transceiver module 801 is configured to: in the case where the stand-alone networking SA network is disabled, send information for requesting to establish a packet data network PDN connection to the core network device.
[0251] Optionally, the transceiver module 801 is further configured to: send information to the application processor for indicating acceptance of the establishment of the 5G data service, where the information for indicating acceptance of the establishment of the 5G data service includes the second identifier; receive information from the application processor for indicating disabling of the SA network.
[0252] Optionally, the processing module 802 is further configured to: determine that the SA network is abnormal in the case where the first identifier and the second identifier are different and / or the second identifier belongs to a first preset identifier.
[0253] Optionally, the transceiver module 801 is further configured to: send information to the application processor for indicating the reason for the failure of the 5G data service establishment.
[0254] Optionally, the transceiver module 801 is further configured to: receive information from the application processor for indicating disabling of the SA network.
[0255] Optionally, the transceiver module 801 is further configured to: send information to the application processor for indicating that the network mode is switched from SA to LTE.
[0256] Optionally, the processing module 802 is specifically configured to: determine that the 4G network is abnormal in the case where a third identifier and a fourth identifier are different, and / or the fourth identifier belongs to a second preset identifier; or, determine that the 4G network is normal in the case where the third identifier and the fourth identifier are the same and the fourth identifier does not belong to the second preset identifier.
[0257] Optionally, the transceiver module 801 is specifically configured to: send information to the application processor for indicating the successful establishment of the 4G data service in the case where it is determined that the 4G network is normal; or, send information to the application processor for indicating the reason for the failure of the 4G data service establishment in the case where it is determined that the 4G network is abnormal.
[0258] In a possible implementation manner, the apparatus 800 is used to implement the steps corresponding to the AP in the foregoing method 500, method 600, and method 700.
[0259] A transceiver module 801 is configured to send information for requesting to establish a 4G data service to a modem processor. The information for requesting to establish a 4G data service includes a third identifier of a network corresponding to the 4G data service. It is also configured to receive information from the modem processor for indicating acceptance of establishing a 4G data service. The information for indicating acceptance of establishing a 4G data service includes a fourth identifier. A processing module 802 is configured to determine whether the 4G network is abnormal based on the third identifier and the fourth identifier.
[0260] Optionally, the transceiver module 801 is further configured to: in the case of an abnormal 4G network, instruct a display module 803 to display a first prompt message, where the first prompt message is used to indicate that the reason for the network abnormality is that the subscriber identity module (SIM) card is restricted from accessing the Internet.
[0261] Optionally, the transceiver module 801 is further configured to: send information for requesting to establish a 5G data service to the modem processor. The information for requesting to establish a 5G data service includes a first identifier of a network corresponding to the 5G data service. Specifically, the transceiver module 801 is configured to: in the case where the stand-alone networking (SA) network is disabled, send information for requesting to establish a 4G data service to the modem processor.
[0262] Optionally, the transceiver module 801 is further configured to: receive information from the modem processor for indicating acceptance of establishing a 5G data service. The information for indicating acceptance of establishing a 5G data service includes a second identifier. The processing module 802 is further configured to: in the case where the first identifier and the second identifier are different and / or the second identifier belongs to a first preset identifier, determine that the SA network is abnormal. The transceiver module 801 is further configured to: send information for instructing to disable the SA network to the modem processor.
[0263] Optionally, the transceiver module 801 is further configured to: receive information from the modem processor for indicating the reason for the failure of establishing a 5G data service. The processing module 802 is further configured to: determine that the SA network is disabled based on the information for indicating the reason for the failure of establishing a 5G data service.
[0264] Optionally, the transceiver module 801 is further configured to: send information for instructing to disable the SA network to the modem processor.
[0265] Optionally, the transceiver module 801 is further configured to: in the case of an abnormal 4G network, instruct the display module 803 to display a second prompt message, where the second prompt message is used to indicate that the reason for the network abnormality is that the subscriber identity module (SIM) card is restricted from accessing the Internet; or, in the case of a normal 4G network, instruct the display module 803 to display a third prompt message, where the third prompt message is used to indicate that the reason for the network abnormality is that the SA is restricted from accessing the Internet.
[0266] Optionally, the processing module 802 is specifically configured to: determine that the 4G network is abnormal when the third identifier is different from the fourth identifier, and / or the fourth identifier belongs to the second preset identifier; or determine that the 4G network is normal when the third identifier is the same as the fourth identifier and the fourth identifier does not belong to the second preset identifier.
[0267] It should be understood that the apparatus 800 herein is embodied in the form of functional modules. The term "module" herein may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor or a group of processors, etc.) for executing one or more software or firmware programs, and a memory, a combined logic circuit and / or other suitable components that support the described functions. In an alternative example, those skilled in the art can understand that the apparatus 800 may specifically be the terminal device, the AP or the Modem in the above embodiments, and the apparatus 800 may be used to execute each process and / or step corresponding to the terminal device, the AP or the Modem in the above method embodiments. To avoid repetition, it will not be elaborated herein.
[0268] The above apparatus 800 has the function of implementing the corresponding steps executed by the terminal device in the above method; the above function may be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0269] In the embodiments of the present application, when Figure 8 the apparatus 800 in is used to execute each process and / or step corresponding to the terminal device in the above method embodiments, the apparatus 800 may also be a chip, for example: an SOC. Correspondingly, the processing module 802 may be a transceiver circuit of the chip, which is not limited herein.
[0270] Figure 9 FIG. shows a schematic block diagram of a communication apparatus 900 provided by an embodiment of the present application. The apparatus 900 includes a processor 901, a transceiver 902 and a memory 903. Among them, the processor 901, the transceiver 902 and the memory 903 communicate with each other through an internal connection path. The memory 903 is used to store instructions, and the processor 901 is used to execute the instructions stored in the memory 903 to control the transceiver 902 to send signals and / or receive signals.
[0271] It should be understood that the device 900 may specifically be the terminal device, AP, or Modem in the foregoing embodiments, and may be used to execute the respective steps and / or processes corresponding to the terminal device, AP, or Modem in the foregoing method embodiments. Optionally, the memory 903 may include a read-only memory and a random access memory, and provide instructions and data to the processor. A part of the memory may further include a non-volatile random access memory. For example, the memory may further store information about the device type. The processor 901 may be used to execute the instructions stored in the memory, and when the processor 901 executes the instructions stored in the memory, the processor 901 is used to execute the respective steps and / or processes of the foregoing method embodiments. The transceiver 902 may include a transmitter and a receiver. The transmitter may be used to implement the respective steps and / or processes corresponding to the foregoing transceiver for performing a sending action, and the receiver may be used to implement the respective steps and / or processes corresponding to the foregoing transceiver for performing a receiving action.
[0272] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor, or the processor may also be any conventional processor, etc.
[0273] In the implementation process, the respective steps of the foregoing method may be completed by the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed and completed by the hardware processor, or executed and completed by a combination of the hardware and software modules in the processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor executes the instructions in the memory and combines its hardware to complete the steps of the foregoing method. To avoid repetition, it will not be described in detail here.
[0274] Some embodiments of the present application provide a chip system applied to a terminal. The chip system includes at least one processor and an interface. The interface is used to receive instructions and transmit them to at least one processor; the at least one processor runs the instructions to enable the terminal to execute the foregoing communication method. Among them, the chip system may be a Modem, an AP, or a system on chip (Soc), etc. Optionally, the Soc may include a Modem and / or an AP.
[0275] The present application also provides a computer-readable storage medium for storing a computer program for implementing the method shown in the above method embodiments.
[0276] The present application also provides a computer program product including a computer program (which may also be referred to as code or instructions). When the computer program runs on a computer, the computer can execute the method shown in the above method embodiments.
[0277] Those of ordinary skill in the art can realize that the modules and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A professional technician can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0278] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and modules described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0279] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling, direct coupling, or communication connection can be through some interfaces. The indirect coupling or communication connection of the devices or modules can be in an electrical, mechanical, or other form.
[0280] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical modules, that is, they can be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0281] In addition, the functional modules in various embodiments of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.
[0282] When the above-mentioned functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0283] The above is only the specific implementation manner of this application, but the protection scope of the embodiments of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the embodiments of this application can easily think of changes or substitutions, which should all be covered within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be subject to the protection scope of the claims.
Claims
1. A communication method, characterized in that, the method includes: sending a first message to a core network device, the first message being used to request the establishment of a data bearer session, the first message including a first identifier of the network corresponding to the data bearer session; the first identifier being information used to represent the name or type of the network corresponding to the data bearer session; the data bearer session being a PDU session or a PDN session; receiving a second message from the core network device, the second message being used to indicate acceptance of the request to establish the data bearer session, the second message including a second identifier; in the case where the first identifier and the second identifier are different and / or the second identifier belongs to a first preset identifier, determining a network anomaly cause and displaying a third message, the third message being used to indicate the network anomaly cause; wherein, if the first message is used to request the establishment of a protocol data unit PDU session, determining the network anomaly cause includes: in the case where the first identifier and the second identifier are different, and / or, the second identifier belongs to the first preset identifier, determining that the network anomaly cause is that the SA is restricted from accessing the Internet; or, in the case where the first identifier and the second identifier are different, and / or, the second identifier belongs to the first preset identifier, sending a fourth message to the core network device, the fourth message being used to request the establishment of a service data unit PDN connection, the fourth message including a third identifier of the network corresponding to the PDN connection; receiving a fifth message from the core network device, the fifth message being used to request the activation of a default evolved packet system EPS bearer, the fourth message including a fourth identifier; in the case where the third identifier and the fourth identifier are different, and / or, the fourth identifier belongs to a second preset identifier, determining that the network anomaly cause is that the subscriber identity module SIM card is restricted from accessing the Internet; or, in the case where the third identifier and the fourth identifier are the same and the fourth identifier does not belong to the second preset identifier, determining that the network anomaly cause is that the stand-alone networking SA is restricted from accessing the Internet.
2. The method according to claim 1, characterized in that, if the first message is used to request the establishment of a PDN connection, determining the network anomaly cause includes: in the case where the first identifier and the second identifier are different, and / or, the second identifier belongs to the first preset identifier, determining that the network anomaly cause is that the SIM card is restricted from accessing the Internet.
3. A communication method, characterized in that, the method includes: sending information for requesting the establishment of a service data unit PDN connection to a core network device, the information for requesting the establishment of a PDN connection including a third identifier of the network corresponding to the PDN connection; receiving information for requesting the activation of a default evolved packet system EPS bearer from the core network device, the information for requesting the activation of a default evolved packet system EPS bearer including a fourth identifier; determining whether a 4G network is abnormal based on the third identifier and the fourth identifier; Receive information sent by the application processor for requesting to establish a 4G data service, where the information for requesting to establish the 4G data service includes a third identifier of the network corresponding to the 4G data service; Send information to the application processor for indicating whether the 4G data service is successfully established.
4. The method according to claim 3, wherein, the method further includes: Receive information from the application processor for requesting to establish a fifth-generation mobile communication technology 5G data service, where the information for requesting to establish the 5G data service includes a first identifier of the network corresponding to the 5G data service; Send a first message to the core network device, where the first message is used to request to establish a PDU session, and the first message includes the first identifier; Receive a second message from the core network device, where the second message is used to indicate acceptance of the request to establish the PDU session, and the second message includes a second identifier; The sending information to the core network device for requesting to establish a packet data network PDN connection includes: In the case where the stand-alone networking SA network is disabled, send the information for requesting to establish a packet data network PDN connection to the core network device.
5. The method according to claim 4, wherein, After receiving the second message from the core network device, the method further includes: Send information to the application processor for indicating acceptance of the establishment of the 5G data service, where the information for indicating acceptance of the establishment of the 5G data service includes the second identifier; Receive information from the application processor for indicating disabling of the SA network.
6. The method according to claim 4, wherein, After receiving the second message from the core network device, the method further includes: In the case where the first identifier and the second identifier are different and / or the second identifier belongs to a first preset identifier, determine that the SA network is abnormal.
7. The method according to claim 6, wherein, After determining that the SA network is abnormal, the method further includes: Send information to the application processor for indicating the reason for the failure to establish the 5G data service.
8. The method according to claim 7, wherein, the method further includes: Receive information from the application processor for indicating disabling of the SA network.
9. The method according to any one of claims 4 to 8, wherein, Before receiving the information sent by the application processor for requesting to establish a 4G data service, the method further includes: Send information to the application processor for indicating that the network mode is switched from SA to LTE.
10. The method according to any one of claims 4 to 8, wherein, The determining whether the fourth-generation mobile communication and its technology 4G network is abnormal based on the third identifier and the fourth identifier includes: In the case where the third identifier and the fourth identifier are different, and / or, the fourth identifier belongs to a second preset identifier, determine that the 4G network is abnormal; or, When the third identifier and the fourth identifier are the same and the fourth identifier does not belong to the second preset identifier, it is determined that the 4G network is normal.
11. The method according to any one of claims 4 to 8, wherein, sending the information for indicating whether the 4G data service is successfully established to the application processor includes: when it is determined that the 4G network is normal, sending the information for indicating that the 4G data service is successfully established to the application processor; or, when it is determined that the 4G network is abnormal, sending the information for indicating the reason for the failure to establish the 4G data service to the application processor.
12. A communication method, wherein, the method includes: sending the information for requesting to establish a fourth-generation mobile communication and its technology 4G data service to the modulation and demodulation processor, and the information for requesting to establish the 4G data service includes a third identifier of the network corresponding to the 4G data service; receiving the information for indicating acceptance of establishing the 4G data service from the modulation and demodulation processor, and the information for indicating acceptance of establishing the 4G data service includes a fourth identifier; when the third identifier and the fourth identifier are different, and / or the fourth identifier belongs to the second preset identifier, it is determined that the 4G network is abnormal.
13. The method according to claim 12, wherein, after determining whether the 4G network is abnormal, the method further includes: when the 4G network is abnormal, instructing the display module to display a first prompt message, and the first prompt message is used to indicate that the reason for the network abnormality is that the subscriber identity module SIM card is restricted from accessing the Internet.
14. The method according to claim 12, wherein, the method further includes: sending the information for requesting to establish a fifth-generation mobile communication technology 5G data service to the modulation and demodulation processor, and the information for requesting to establish the 5G data service includes a first identifier of the network corresponding to the 5G data service; sending the information for requesting to establish a fourth-generation mobile communication and its technology 4G data service to the modulation and demodulation processor includes: when the stand-alone networking SA network is disabled, sending the information for requesting to establish the 4G data service to the modulation and demodulation processor.
15. The method according to claim 14, wherein, after sending the information for requesting to establish a fifth-generation mobile communication technology 5G data service to the modulation and demodulation processor, the method further includes: receiving the information for indicating acceptance of establishing the 5G data service from the modulation and demodulation processor, and the information for indicating acceptance of establishing the 5G data service includes a second identifier; when the first identifier and the second identifier are different and / or the second identifier belongs to the first preset identifier, it is determined that the SA network is abnormal, and sending the information for indicating disabling the SA network to the modulation and demodulation processor.
16. The method according to claim 14, wherein, after sending the information for requesting to establish a fifth-generation mobile communication technology 5G data service to the modulation and demodulation processor, the method further includes: Receive information from the modem processor for indicating the reason for the failure of establishing the 5G data service; Based on the information for indicating the reason for the failure of establishing the 5G data service, determine that the SA network is disabled.
17. The method according to claim 16, wherein, the method further includes: Send information for indicating the disabling of the SA network to the modem processor.
18. The method according to any one of claims 14 to 16, wherein, after determining whether the 4G network is abnormal, the method further includes: in the case of an abnormal 4G network, instruct the display module to display a second prompt message, where the second prompt message is used to indicate that the reason for the network abnormality is that the subscriber identity module (SIM) card is restricted from accessing the network; or, in the case of a normal 4G network, instruct the display module to display a third prompt message, where the third prompt message is used to indicate that the reason for the network abnormality is that the SA is restricted from accessing the network.
19. The method according to any one of claims 14 to 16, wherein, the method further includes: in the case that the third identifier and the fourth identifier are the same and the fourth identifier does not belong to the second preset identifier, determine that the 4G network is normal.
20. A communication device, wherein, it includes a module for executing the method according to any one of claims 1 to 2, any one of claims 3 to 11, or any one of claims 12 to 19.
21. A chip system, wherein, the chip system includes at least one processor for implementing the functions involved in the method according to any one of claims 1 to 2, any one of claims 3 to 11, or any one of claims 12 to 19.
22. A communication device, wherein, it includes: a processor, the processor is coupled to a memory, the memory is used to store a computer program, and when the processor calls the computer program, the device executes the method according to any one of claims 1 to 2, any one of claims 3 to 11, or any one of claims 12 to 19.
23. A computer-readable storage medium, wherein, it is used to store a computer program, and the computer program includes instructions for implementing the method according to any one of claims 1 to 2, any one of claims 3 to 11, or any one of claims 12 to 19.
24. A computer program product, wherein, the computer program product includes computer program code, and when the computer program code runs on a computer, the computer implements the method according to any one of claims 1 to 2, any one of claims 3 to 11, or any one of claims 12 to 19.
Citation Information
Patent Citations
Communication method and communication device
CN114980105A
Method and apparatus for establishing communication connection in wireless network
CN116056071A