Communication method and apparatus, electronic device, storage medium, and program product
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2026-06-26
AI Technical Summary
In non-terrestrial network communication scenarios, the latency of terminal devices sending short messages is relatively long, resulting in poor timeliness of short message delivery.
The terminal device sends a NAS message to the network device. The NAS message includes a short message or first indication information to request the creation of a session for transmitting short messages, thereby reducing the number of interactions with the network device.
By reducing the number of interactions and shortening the interaction time, the timeliness of SMS delivery is improved.
Smart Images

Figure CN122294066A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a communication method, apparatus, electronic device, storage medium, and program product. Background Technology
[0002] Terminal devices can send short messages through network devices. For example, the network devices can be base stations and AMF (Advanced Feature Message) devices.
[0003] Currently, in non-terrestrial network (NTN) communication scenarios, the latency of terminal devices sending short messages is relatively long, resulting in poor timeliness of short message delivery. Summary of the Invention
[0004] This application provides a communication method, apparatus, electronic device, storage medium, and program product to solve the technical problem of poor timeliness in short message sending.
[0005] In a first aspect, embodiments of this application provide a communication method applied to a terminal device, the method comprising:
[0006] Send NAS messages to network devices;
[0007] The NAS message includes a short message or a first indication message, the first indication message being used to request the creation of a first session, and the first session being used to establish a transmission path for the short message.
[0008] In one possible implementation, sending NAS messages to the network device includes:
[0009] The base station sends an RRC establishment completion message to the base station, the RRC establishment completion message including the NAS message, so that the base station sends the NAS message to the network device.
[0010] In one possible implementation, the method further includes:
[0011] Send an RRC establishment request to the base station. The RRC establishment request includes an establishment reason, which includes at least one of the following: emergency service, emergency service SMS, emergency service SMS based on IMS bearer, or emergency service SMS based on NAS bearer.
[0012] Receive the RRC establishment response sent by the base station.
[0013] In one possible implementation, the NAS message is a registration request, and the NAS message includes the short message.
[0014] In one possible implementation, the NAS message also includes at least one of the following:
[0015] The second indication information is used to indicate the registration type of the registration request;
[0016] The terminal device accesses the base station using the following access type:
[0017] The third indication information is used to indicate that the NAS message includes the short message;
[0018] The URI of the emergency service center, which is used to receive the short message;
[0019] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0020] The location information of the terminal device; or...
[0021] The capabilities of the terminal device.
[0022] In one possible implementation, the NAS message is a service request, and the NAS message includes the short message.
[0023] In one possible implementation, the NAS message also includes at least one of the following:
[0024] The fourth indication information is used to indicate the service type of the service request;
[0025] The terminal device accesses the base station using the following access type:
[0026] The third indication information is used to indicate that the NAS message includes the short message;
[0027] The URI of the emergency service center, which is used to receive the short message;
[0028] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0029] The location information of the terminal device; or...
[0030] The capabilities of the terminal device.
[0031] In one possible implementation, the method further includes:
[0032] The system receives the sending status and / or status reason of the short message sent by the network device, wherein the sending status is either successful or failed, and the status reason is used to indicate the reason for the failure.
[0033] In one possible implementation, receiving the sending status of the short message sent by the network device includes:
[0034] Receive a registration confirmation message sent by the network device, the registration confirmation message including the sending status and / or status reason of the short message; or,
[0035] Receive a service determination message sent by the network device, the service determination message including the sending status and / or status reason of the short message.
[0036] In one possible implementation, the NAS message is a registration request, and the NAS message includes the first indication information.
[0037] In one possible implementation, the NAS message also includes at least one of the following:
[0038] The second indication information is used to indicate the registration type of the registration request;
[0039] The terminal device accesses the base station using the following access type:
[0040] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0041] Emergency PDU Session ID, which is used to request the network side to create the first session;
[0042] The URI of the emergency service center, which is used to receive the short message; or...
[0043] The location information of the terminal device.
[0044] In one possible implementation, the NAS message is a service request, and the NAS message includes the first indication information.
[0045] In one possible implementation, the NAS message also includes at least one of the following:
[0046] The fourth indication information is used to indicate the service type of the service request;
[0047] The terminal device accesses the base station using the following access type:
[0048] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0049] Emergency PDU Session ID, which is used to request the creation of the first session;
[0050] The URI of the emergency service center, which is used to receive the short message; or...
[0051] The location information of the terminal device.
[0052] In one possible implementation, the method further includes:
[0053] Receive the identifier of the proxy call session control function (P-CSCF) network element and the emergency PDU session ID sent by the network device;
[0054] The P-CSCF network element is used to forward the short message, and the emergency PDU session ID is used to indicate that the first session has been established.
[0055] In one possible implementation, receiving the identifier of the P-CSCF network element sent by the network device and the emergency PDU session ID includes:
[0056] Receive a registration confirmation message sent by the network device, wherein the registration confirmation message includes the identifier of the P-CSCF network element and the emergency PDU session ID; or,
[0057] The network device receives a service determination message, which includes the identifier of the P-CSCF network element and the emergency PDU session ID.
[0058] In one possible implementation, the method further includes:
[0059] The P-CSCF network element is used to register with the Internet Protocol Multimedia Subsystem (IMS) and send the short message.
[0060] Secondly, embodiments of this application provide a communication method applied to a network device, the method comprising:
[0061] The device receives a NAS message sent by a terminal device. The NAS message includes a short message or the first indication information. The first indication information is used to request the creation of a first session, and the first session is used to establish a transmission path for the short message.
[0062] In one possible implementation, the NAS message is a registration request, and the NAS message includes the short message.
[0063] In one possible implementation, the NAS message also includes at least one of the following:
[0064] The second indication information is used to indicate the registration type of the registration request;
[0065] The terminal device accesses the base station using the following access type:
[0066] The third indication information is used to indicate that the NAS message includes the short message;
[0067] The URI of the emergency service center, which is used to receive the short message;
[0068] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0069] The location information of the terminal device; or...
[0070] The capabilities of the terminal device.
[0071] In one possible implementation, the NAS message is a service request, and the NAS message includes the short message.
[0072] In one possible implementation, the NAS message also includes at least one of the following:
[0073] The fourth indication information is used to indicate the service type of the service request;
[0074] The terminal device accesses the base station using the following access type:
[0075] The third indication information is used to indicate that the NAS message includes the short message;
[0076] The URI of the emergency service center, which is used to receive the short message;
[0077] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0078] The location information of the terminal device; or...
[0079] The capabilities of the terminal device.
[0080] In one possible implementation, the method further includes:
[0081] The first processing is performed based on the NAS message. The first processing includes determining a Short Message Service Function (SMSF) network element and / or determining an Emergency Service Center. The SMSF network element is used to forward the short message to the Emergency Service Center, and the Emergency Service Center is used to receive the short message.
[0082] In one possible implementation, the method further includes:
[0083] A second process is performed based on the NAS message, and the second process includes at least one of the following:
[0084] The terminal device is authenticated and authorized, a context corresponding to the terminal device is created, or the context of the terminal device is updated.
[0085] In one possible implementation, the method further includes:
[0086] Send the short message to the SMSF network element.
[0087] In one possible implementation, the method further includes:
[0088] The system receives a feedback message sent by the SMSF network element. The feedback message is used to indicate the sending status and / or the reason for the status of the short message. The sending status is either successful or failed, and the reason for the status is used to indicate the reason for the failure.
[0089] In one possible implementation, the method further includes:
[0090] Send the sending status and / or the reason for the status of the short message to the terminal device.
[0091] In one possible implementation, sending the sending status and / or status reason of the short message to the terminal device includes:
[0092] Send a registration confirmation message to the terminal device, the registration confirmation message including the sending status of the short message and / or the reason for the status; or,
[0093] Send a service confirmation message to the terminal device, the service confirmation message including the sending status of the short message and / or the status reason.
[0094] In one possible implementation, the NAS message is a registration request, and the NAS message includes the first indication information.
[0095] In one possible implementation, the NAS message also includes at least one of the following:
[0096] The second indication information is used to indicate the registration type of the registration request;
[0097] The terminal device accesses the base station using the following access type:
[0098] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0099] Emergency PDU Session ID, which is used to request the network side to create the first session;
[0100] The URI of the emergency service center, which is used to receive the short message; or...
[0101] The location information of the terminal device.
[0102] In one possible implementation, the NAS message is a service request, and the NAS message includes the first indication information.
[0103] In one possible implementation, the NAS message also includes at least one of the following:
[0104] The fourth indication information is used to indicate the service type of the service request;
[0105] The terminal device accesses the base station using the following access type:
[0106] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0107] Emergency PDU Session ID, which is used to request the network side to create the first session;
[0108] The URI of the emergency service center, which is used to receive the short message; or...
[0109] The location information of the terminal device.
[0110] In one possible implementation, the method further includes:
[0111] The third processing is performed based on the NAS message, which includes creating the first session and selecting the proxy call session control function P-CSCF network element.
[0112] The P-CSCF network element is used to forward the short message.
[0113] In one possible implementation, the method further includes:
[0114] A second process is performed based on the NAS message, and the second process includes at least one of the following:
[0115] The terminal device is authenticated and authorized, a context corresponding to the terminal device is created, or the context of the terminal device is updated.
[0116] In one possible implementation, the method further includes:
[0117] Send the identifier of the P-CSCF network element and the emergency PDU session ID to the terminal device;
[0118] The emergency PDU session ID is used to indicate that the first session has been established.
[0119] In one possible implementation, sending the identifier of the P-CSCF network element and the emergency PDU session ID to the terminal device includes:
[0120] Send a registration confirmation message to the terminal device, the registration confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID; or,
[0121] A service confirmation message is sent to the terminal device, the service confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID.
[0122] Thirdly, embodiments of this application provide a communication device applied to a terminal device, the device including a transmitting module, wherein...
[0123] The sending module is used to send NAS messages to the network device;
[0124] The NAS message includes a short message or a first indication message, the first indication message being used to request the creation of a first session, and the first session being used to establish a transmission path for the short message.
[0125] In one possible implementation, the sending module is specifically used for,
[0126] The base station sends an RRC establishment completion message to the base station, the RRC establishment completion message including the NAS message, so that the base station sends the NAS message to the network device.
[0127] In one possible implementation, the device further includes a receiving module, wherein,
[0128] The sending module is further configured to send an RRC establishment request to the base station. The RRC establishment request includes an establishment reason, which includes at least one of the following: emergency service, emergency service short message, emergency service short message based on IMS bearer mode, or emergency service short message based on NAS bearer mode.
[0129] The receiving module is used to receive the RRC establishment response sent by the base station.
[0130] In one possible implementation, the NAS message is a registration request, and the NAS message includes the short message.
[0131] In one possible implementation, the NAS message also includes at least one of the following:
[0132] The second indication information is used to indicate the registration type of the registration request;
[0133] The terminal device accesses the base station using the following access type:
[0134] The third indication information is used to indicate that the NAS message includes the short message;
[0135] The URI of the emergency service center, which is used to receive the short message;
[0136] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0137] The location information of the terminal device; or...
[0138] The capabilities of the terminal device.
[0139] In one possible implementation, the NAS message is a service request, and the NAS message includes the short message.
[0140] In one possible implementation, the NAS message also includes at least one of the following:
[0141] The fourth indication information is used to indicate the service type of the service request;
[0142] The terminal device accesses the base station using the following access type:
[0143] The third indication information is used to indicate that the NAS message includes the short message;
[0144] The URI of the emergency service center, which is used to receive the short message;
[0145] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0146] The location information of the terminal device; or...
[0147] The capabilities of the terminal device.
[0148] In one possible implementation, the receiving module is further configured to,
[0149] The system receives the sending status and / or status reason of the short message sent by the network device, wherein the sending status is either successful or failed, and the status reason is used to indicate the reason for the failure.
[0150] In one possible implementation, the receiving module is specifically used for,
[0151] Receive a registration confirmation message sent by the network device, the registration confirmation message including the sending status and / or status reason of the short message; or,
[0152] Receive a service determination message sent by the network device, the service determination message including the sending status and / or status reason of the short message.
[0153] In one possible implementation, the NAS message is a registration request, and the NAS message includes the first indication information.
[0154] In one possible implementation, the NAS message also includes at least one of the following:
[0155] The second indication information is used to indicate the registration type of the registration request;
[0156] The terminal device accesses the base station using the following access type:
[0157] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0158] Emergency PDU Session ID, which is used to request the network side to create the first session;
[0159] The URI of the emergency service center, which is used to receive the short message; or...
[0160] The location information of the terminal device.
[0161] In one possible implementation, the NAS message is a service request, and the NAS message includes the first indication information.
[0162] In one possible implementation, the NAS message also includes at least one of the following:
[0163] The fourth indication information is used to indicate the service type of the service request;
[0164] The terminal device accesses the base station using the following access type:
[0165] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0166] Emergency PDU Session ID, which is used to request the creation of the first session;
[0167] The URI of the emergency service center, which is used to receive the short message; or...
[0168] The location information of the terminal device.
[0169] In one possible implementation, the receiving module is further configured to,
[0170] Receive the identifier of the proxy call session control function (P-CSCF) network element and the emergency PDU session ID sent by the network device;
[0171] The P-CSCF network element is used to forward the short message, and the emergency PDU session ID is used to indicate that the first session has been established.
[0172] In one possible implementation, the receiving module is specifically used for,
[0173] Receive a registration confirmation message sent by the network device, wherein the registration confirmation message includes the identifier of the P-CSCF network element and the emergency PDU session ID; or,
[0174] The network device receives a service determination message, which includes the identifier of the P-CSCF network element and the emergency PDU session ID.
[0175] In one possible implementation, the sending module is further configured to,
[0176] The P-CSCF network element is used to register with the Internet Protocol Multimedia Subsystem (IMS) and send the short message.
[0177] Fourthly, embodiments of this application provide a communication device applied to a network device, the device including a receiving module, wherein...
[0178] The receiving module is used to receive NAS messages sent by the terminal device. The NAS messages include short messages or the first indication information. The first indication information is used to request the creation of a first session, and the first session is used to establish a transmission path for the short messages.
[0179] In one possible implementation, the NAS message is a registration request, and the NAS message includes the short message.
[0180] In one possible implementation, the NAS message also includes at least one of the following:
[0181] The second indication information is used to indicate the registration type of the registration request;
[0182] The terminal device accesses the base station using the following access type:
[0183] The third indication information is used to indicate that the NAS message includes the short message;
[0184] The URI of the emergency service center, which is used to receive the short message;
[0185] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0186] The location information of the terminal device; or...
[0187] The capabilities of the terminal device.
[0188] In one possible implementation, the NAS message is a service request, and the NAS message includes the short message.
[0189] In one possible implementation, the NAS message also includes at least one of the following:
[0190] The fourth indication information is used to indicate the service type of the service request;
[0191] The terminal device accesses the base station using the following access type:
[0192] The third indication information is used to indicate that the NAS message includes the short message;
[0193] The URI of the emergency service center, which is used to receive the short message;
[0194] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0195] The location information of the terminal device; or...
[0196] The capabilities of the terminal device.
[0197] In one possible implementation, the device further includes a processing module and a sending module, wherein,
[0198] The processing module is used to perform a first process based on the NAS message. The first process includes determining a Short Message Service Function (SMSF) network element and / or determining an emergency service center. The SMSF network element is used to forward the short message to the emergency service center, and the emergency service center is used to receive the short message.
[0199] In one possible implementation, the processing module is further configured to,
[0200] A second process is performed based on the NAS message, and the second process includes at least one of the following:
[0201] The terminal device is authenticated and authorized, a context corresponding to the terminal device is created, or the context of the terminal device is updated.
[0202] In one possible implementation, the sending module is used to,
[0203] Send the short message to the SMSF network element.
[0204] In one possible implementation, the receiving module is further configured to,
[0205] The system receives a feedback message sent by the SMSF network element. The feedback message is used to indicate the sending status and / or the reason for the status of the short message. The sending status is either successful or failed, and the reason for the status is used to indicate the reason for the failure.
[0206] In one possible implementation, the sending module is further configured to,
[0207] Send the sending status and / or the reason for the status of the short message to the terminal device.
[0208] In one possible implementation, the sending module is specifically used for,
[0209] Send a registration confirmation message to the terminal device, the registration confirmation message including the sending status of the short message and / or the reason for the status; or,
[0210] Send a service confirmation message to the terminal device, the service confirmation message including the sending status of the short message and / or the status reason.
[0211] In one possible implementation, the NAS message is a registration request, and the NAS message includes the first indication information.
[0212] In one possible implementation, the NAS message also includes at least one of the following:
[0213] The second indication information is used to indicate the registration type of the registration request;
[0214] The terminal device accesses the base station using the following access type:
[0215] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0216] Emergency PDU Session ID, which is used to request the network side to create the first session;
[0217] The URI of the emergency service center, which is used to receive the short message; or...
[0218] The location information of the terminal device.
[0219] In one possible implementation, the NAS message is a service request, and the NAS message includes the first indication information.
[0220] In one possible implementation, the NAS message also includes at least one of the following:
[0221] The fourth indication information is used to indicate the service type of the service request;
[0222] The terminal device accesses the base station using the following access type:
[0223] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0224] Emergency PDU Session ID, which is used to request the network side to create the first session;
[0225] The URI of the emergency service center, which is used to receive the short message; or...
[0226] The location information of the terminal device.
[0227] In one possible implementation, the processing module is further configured to,
[0228] The third processing is performed based on the NAS message, which includes creating the first session and selecting the proxy call session control function P-CSCF network element.
[0229] The P-CSCF network element is used to forward the short message.
[0230] In one possible implementation, the processing module is further configured to,
[0231] A second process is performed based on the NAS message, and the second process includes at least one of the following:
[0232] The terminal device is authenticated and authorized, a context corresponding to the terminal device is created, or the context of the terminal device is updated.
[0233] In one possible implementation, the sending module is further configured to,
[0234] Send the identifier of the P-CSCF network element and the emergency PDU session ID to the terminal device;
[0235] The emergency PDU session ID is used to indicate that the first session has been established.
[0236] In one possible implementation, the sending module is specifically used for,
[0237] Send a registration confirmation message to the terminal device, the registration confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID; or,
[0238] A service confirmation message is sent to the terminal device, the service confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID.
[0239] Fifthly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0240] The memory stores computer-executed instructions;
[0241] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.
[0242] Sixthly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0243] The memory stores computer-executed instructions;
[0244] The processor executes computer execution instructions stored in the memory, causing the processor to perform the second aspect and / or various possible implementations of the second aspect as described above.
[0245] In a seventh aspect, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.
[0246] Eighthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the second aspect and / or various possible implementations of the second aspect as described above.
[0247] Ninthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.
[0248] In a tenth aspect, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the second aspect and / or various possible implementations of the second aspect as described above.
[0249] The communication method, apparatus, electronic device, storage medium, and program product provided in this application embodiments allow a terminal device to send a NAS message to a network device, which may include a short message or first indication information. In the above method, the terminal device can transmit a short message or request to establish a first session for transmitting a short message while sending a NAS message. This method reduces the number of interactions between the terminal device and the network device, thereby shortening the interaction time and improving the timeliness of short message transmission. Attached Figure Description
[0250] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0251] Figure 1 A schematic diagram illustrating a process for transmitting short messages via IMS, provided as an embodiment of this application;
[0252] Figure 2 A schematic diagram illustrating a process for transmitting short messages via NAS, provided as an embodiment of this application;
[0253] Figure 3 A flowchart illustrating a communication method provided in an embodiment of this application;
[0254] Figure 4 A flowchart illustrating another communication method provided in an embodiment of this application;
[0255] Figure 5 A flowchart illustrating yet another communication method provided in an embodiment of this application;
[0256] Figure 6 A flowchart illustrating yet another communication method provided in an embodiment of this application;
[0257] Figure 7 A flowchart illustrating yet another communication method provided in an embodiment of this application;
[0258] Figure 8 A flowchart illustrating yet another communication method provided in an embodiment of this application;
[0259] Figure 9 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;
[0260] Figure 10 This is a schematic diagram of another communication device provided in an embodiment of this application;
[0261] Figure 11 This is a schematic diagram of the structure of another communication device provided in the embodiments of this application;
[0262] Figure 12 This is a schematic diagram of the structure of another communication device provided in the embodiments of this application;
[0263] Figure 13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0264] These accompanying drawings and textual descriptions are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by referring to specific embodiments. Detailed Implementation
[0265] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0266] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0267] This application relates to short message transmission. The fifth-generation (5G) mobile communication technology standard defines two short message transmission methods. One is through the Internet Protocol Multimedia Subsystem (IMS); the other is through the Non-Access Stratum (NAS). The two short message transmission methods will be described below.
[0268] First, combined Figure 1 This section explains the method for transmitting short messages via IMS.
[0269] Figure 1 This is a schematic diagram illustrating a process for transmitting short messages via IMS, provided as an embodiment of this application. Figure 1 As shown, the method may include:
[0270] S101. Radio Resource Control (RRC) connection establishment.
[0271] During the RRC connection establishment process, the terminal device can send an RRC connection request to the base station, and the base station can respond to the RRC connection request and establish an RRC connection.
[0272] S102, Registration Request / Service Request.
[0273] After an RRC connection is established, the terminal device can send a registration request or a service request to the Access and Mobility Management Function (AMF) network element through the base station. In response to the terminal device's registration request or service request, the AMF network element can cooperate with Unified Data Management (UDM) network elements to authenticate and authorize the terminal device, and create or update the terminal device's context configuration.
[0274] S103. Protocol Data Unit (PDU) session establishment.
[0275] Terminal devices can request to establish a PDU session to support short message transmission. In response to the terminal device's request to establish a PDU session, the AMF network element can interact with the Service Management Function (SMF) network element to create the PDU session.
[0276] S104. Select the Proxy Call Session Control Function (P-CSCF) network element.
[0277] After the PDU session is established, the AMF network element can select a suitable P-CSCF network element for the terminal device and establish a short message transmission path from the terminal device to the P-CSCF network element through the PDU session.
[0278] S105. The terminal device registers with the IMS core network through the P-CSCF network element and transmits short messages through IMS.
[0279] After selecting a P-CSCF network element for the terminal device, the terminal device can register to the IMS core network through the P-CSCF network element and transmit short messages through IMS.
[0280] Specifically, terminal devices can send short messages to P-CSCF network elements via the short message transmission path from the terminal device to the P-CSCF network element. The P-CSCF network element can forward short messages to IMS for transmission via IMS.
[0281] During the aforementioned short message transmission process, after the terminal device establishes an RRC link and completes the connection with the AMF network element, it can request to establish a PDU session and transmit short messages.
[0282] Below, in conjunction with Figure 2This section explains the method of transmitting short messages via NAS.
[0283] Figure 2 This is a schematic diagram illustrating a process for transmitting short messages via NAS, provided as an embodiment of this application. Figure 2 As shown, the method may include:
[0284] S201, RRC connection established.
[0285] During the RRC connection establishment process, the terminal device can send an RRC connection request to the base station, and the base station can respond to the RRC connection request and establish an RRC connection.
[0286] S202, Registration Request.
[0287] After the RRC connection is established, the terminal device can send a registration request to the AMF network element through the base station in order to establish a connection management connection with the AMF network element.
[0288] S203, authentication and authorization of terminal devices, and context configuration.
[0289] After the terminal device establishes a connection management connection with the AMF network element, the AMF network element, the Short Message Service Function (SMSF) network element, and the UDM network element can cooperate with each other to complete the authentication and authorization of the terminal device and create or update the context of the terminal device.
[0290] S204, NAS connection established.
[0291] After the terminal device completes authentication and authorization, the AMF network element can send a registration request success message to the terminal device to establish a NAS connection between the terminal device and the AMF network element.
[0292] S205, Short Message Transmission.
[0293] After the NAS connection is established, the terminal device can send short messages to the AMF network element via uplink NAS messages. After receiving the uplink NAS messages, the AMF can extract the short message content from the uplink NAS messages and send short messages to the SMSF network element.
[0294] S206, Short Message Routing.
[0295] SMSF network elements can route short messages to relevant network elements to achieve the purpose of short message transmission.
[0296] During the aforementioned short message transmission process, after the terminal device establishes an RRC link and a NAS connection with the AMF network element, it can transmit short messages.
[0297] Figure 1 and Figure 2 In both SMS transmission methods shown, the terminal device needs to first establish a connection with the base station and the AMF network element, and then transmit the SMS message through different network elements depending on the transmission method. During this process, the terminal device needs to interact with the network side multiple times, resulting in poor timeliness of SMS delivery. For example, the network side can be a base station, an AMF network element, or an SMF network element. In satellite communication, due to the long distance between the satellite and the ground, the above process further exacerbates the poor timeliness of SMS delivery.
[0298] In view of this, embodiments of this application provide a communication method that, when transmitting short messages using this communication method, can reduce the number of interactions between the terminal device and the network side, thereby improving the timeliness of short message delivery.
[0299] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0300] Figure 3 This is a flowchart illustrating a communication method provided in an embodiment of this application. Figure 3 As shown, the method may include:
[0301] S301. The terminal device sends a NAS message to the network device. The NAS message includes a short message or a first instruction information.
[0302] Correspondingly, the network device receives NAS messages sent by the terminal device.
[0303] Terminal equipment can be any device with wireless transceiver capabilities that can cooperate with network-side equipment to provide communication services to users. Terminal equipment can also be referred to as terminal, user equipment (UE), user terminal, mobile terminal (MT), or user agent, etc. For example, terminal devices can be mobile phones, tablets, laptops, wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, in-vehicle devices, or shipboard devices, etc.
[0304] In some embodiments, the network device may be a base station or an electronic device with core network elements deployed thereon. For example, the electronic device may be a server, and the core network element may be an AMF element, an SMF element, or a UDM element.
[0305] In some embodiments, terminal devices and network devices can communicate via a non-terrestrial network (NTN).
[0306] In some embodiments, the base station may be a space base station, a satellite-borne base station, a satellite, a satellite communication node, a satellite network terminal device, a satellite communication module, or a ground base station capable of communicating with a satellite.
[0307] In some embodiments, the core network elements may be deployed entirely or partially on satellites.
[0308] In some embodiments, the core network elements may also be deployed entirely on the ground and may communicate with satellites to enable transparent forwarding by the satellites.
[0309] In some embodiments, the NAS message includes a short message or a first indication message, the first indication message being used to request the creation of a first session, and the first session being used to establish a transmission path for the short message.
[0310] Specifically, if short messages are transmitted via NAS, the NAS message may include the short message itself. If short messages are transmitted via IMS, the NAS message may include first indication information.
[0311] In some embodiments, the first session may be a PDU session.
[0312] In some embodiments, the short message may be a regular message that does not involve an urgent matter.
[0313] In some embodiments, the SMS message can be an emergency message requiring a rapid response. For example, the SMS message can be an emergency message requesting emergency assistance or informing someone of an emergency.
[0314] In some embodiments, the network device can be a base station, and the terminal device can directly send NAS messages to the network device. Specifically, the terminal device can send an RRC establishment completion message to the network device, which includes the NAS message.
[0315] In some embodiments, the network device can be an electronic device with core network elements deployed, and the terminal device can send NAS messages to the network device through the base station. Specifically, the terminal device can send an RRC establishment completion message to the base station, which includes a NAS message. After receiving the RRC establishment completion message, the base station can send a NAS message to the network device.
[0316] In the communication method provided in this embodiment, the NAS message sent by the terminal device to the network device may include a short message or first indication information. In the above method, the terminal device can transmit a short message or request to establish a first session for transmitting a short message while sending the NAS message. This method reduces the number of interactions between the terminal device and the network device, thereby shortening the interaction time and improving the timeliness of short message transmission.
[0317] Based on the above embodiments, before sending a NAS message to the network device, the terminal device can also request the establishment of an RRC connection. Below, we take an electronic device with core network elements deployed as an example, combined with... Figure 4 The communication method provided in the embodiments of this application will be further described.
[0318] Figure 4 This is a flowchart illustrating another communication method provided in an embodiment of this application. Figure 4As shown, the method may include:
[0319] S401. The terminal device sends an RRC establishment request to the base station.
[0320] In some embodiments, the RRC establishment request includes an establishment cause, which includes at least one of the following: emergency service, short message for emergency service, short message for emergency service based on IMS bearer, or short message for emergency service based on NAS bearer.
[0321] The reason for establishment is used to indicate the reason for the RRC establishment when the terminal device accesses the network.
[0322] In some embodiments, the reason for establishing the RRC can be an emergency service. In this case, the reason for establishing the RRC for the terminal device to access the network can be an emergency service SMS, emergency service audio, emergency service video, or emergency service data, etc.
[0323] In some embodiments, the reason for establishing the connection can be an Emergency Short Message Service (Emergency-SMS), and the reason for establishing the RRC connection for the terminal device to access the network can be an Emergency Short Message Service (EMS).
[0324] In some embodiments, the reason for establishing the connection can be an Emergency Short Message Service over Internet Protocol (Emergency-SMSoIP), and the reason for establishing the RRC connection for the terminal device to access the network can be an Emergency Short Message Service over Internet Protocol (Emergency-SMSoIP).
[0325] In some embodiments, the reason for establishing the connection can be an Emergency Short Message Service over Non-Access Stratum (Emergency-SMSoNAS), and the reason for establishing the RRC connection for the terminal device to access the network can be an Emergency Short Message Service over Non-Access Stratum.
[0326] In some embodiments, an RRC establishment request can only include one establishment reason; that is, multiple establishment reasons cannot appear in one RRC establishment request at the same time.
[0327] In some embodiments, if short messages are transmitted via NAS, the reason for establishing the connection can be any of the above-mentioned short messages for emergency services based on IMS bearer.
[0328] In some embodiments, if short messages are transmitted via IMS, the reason for establishing the connection can be any one of the above-mentioned short messages for emergency services based on NAS bearer.
[0329] In some embodiments, the RRC establishment request may also include the device identity of the terminal device. The device identity can be used to uniquely identify the terminal device.
[0330] S402, The base station sends an RRC establishment response to the terminal device.
[0331] In some embodiments, the RRC establishment response may include information such as radio bearer configuration and primary cell group, so that the terminal device can complete configurations such as cell selection and enter the RRC connection state.
[0332] S403. The terminal device sends an RRC establishment completion message to the base station. The RRC establishment completion message includes a NAS message.
[0333] It should be noted that for information regarding NAS messages, please refer to [link / reference]. Figure 3 Examples are not described here.
[0334] In some embodiments, the RRC establishment completion message may also include a Short-Term Mobile Subscriber Identity (S-TMSI) and a Globally Unique AMF Identifier Type (GUAMI-type).
[0335] S404, The base station sends a NAS message to the network device.
[0336] In some embodiments, after receiving the RRC establishment completion message sent by the terminal device, the base station may send the NAS message from the RRC establishment completion message to the network device.
[0337] In the communication method provided in this embodiment, the RRC establishment response sent by the terminal device to the base station may include a NAS message, enabling the base station to send a NAS message to the network device. The NAS message may include a short message or first indication information. Furthermore, the NAS message may include a short message or first indication information. In the above method, the terminal device can send a short message or first indication information simultaneously with the RRC establishment response, thus reducing the number of interactions between the terminal device and the network device, thereby shortening the interaction time and improving the timeliness of short message delivery. Additionally, in emergency communication scenarios, the above method can reduce the transmission latency of short messages, improve the timeliness of emergency services, and enhance the efficiency of emergency services.
[0338] Based on any of the above embodiments, the terminal device can transmit SMS messages via NAS or IMS. Below, in conjunction with... Figures 5-6 The two methods described above will be explained separately.
[0339] First, combined Figure 5 This section explains the method for transmitting short messages via NAS from terminal devices.
[0340] Figure 5 This is a flowchart illustrating another communication method provided in an embodiment of this application. Figure 5 As shown, the method may include:
[0341] S501: The terminal device sends a NAS message to the network device. The NAS message includes a short message.
[0342] In some embodiments, the network device may be an electronic device with AMF network elements deployed. For example, the electronic device may be a server, etc.
[0343] In some embodiments, the network device may be an electronic device that has deployed AMF network elements and SMF network elements, etc.
[0344] In some embodiments, the network device may be an electronic device that has deployed AMF network elements, SMF network elements, or UDM network elements, etc.
[0345] In some embodiments, NAS messages can be registration requests or service requests. Short messages can be carried in registration requests or service requests.
[0346] In some embodiments, the NAS message may be a registration request, and the short message may be carried in the registration request. The NAS message may also include at least one of the following: second indication information, which indicates the registration type of the registration request; the access type of the terminal device accessing the base station; third indication information, which indicates that the NAS message includes a short message; a Universal Resource Identifier (URI) of the emergency service center, which is used by the emergency service center to receive short messages and provide emergency services; a waiting time, which indicates the maximum duration for waiting for the emergency service center to provide feedback on the short message sending status; the location information of the terminal device; or, the capabilities of the terminal device.
[0347] The URI of an emergency service center can be an Internet Protocol (IP) address or a telephone number.
[0348] The registration request can specify the registration type as emergency service or SMS-based emergency service, etc. Different second instruction information results in different registration types. In practice, different registration types can be indicated by setting different second instruction information.
[0349] The access type for terminal equipment to access the base station can be satellite access, etc.
[0350] The location information of a terminal device can be determined by the terminal device based on its own positioning capabilities. For example, the terminal device can determine its location information through the Global Navigation Satellite System (GNSS).
[0351] In some embodiments, the NAS message may be a service request, and the short message may be carried in the service request. The NAS message may also include at least one of the following: fourth indication information, which indicates the service type of the service request; the access type of the terminal device accessing the base station; third indication information, which indicates that the NAS message includes a short message; the URI of the emergency service center, which is used to receive short messages and provide emergency services; a waiting time, which indicates the maximum time for waiting for the emergency service center to provide feedback on the short message sending status; the location information of the terminal device; or, the capabilities of the terminal device.
[0352] The service type requested can be emergency service or SMS-based emergency service, etc. Different fourth indication messages result in different service types. In practice, different service types can be indicated by setting different fourth indication messages.
[0353] In some embodiments, the NAS message may also include the identity identifier of the terminal device.
[0354] In some embodiments, the terminal device can send NAS messages to the network device via a base station. Specifically, the terminal device can send NAS messages to the base station, and the base station can send NAS messages to the network device.
[0355] In some embodiments, the base station can send NAS messages to the network device via transparent transmission.
[0356] In some embodiments, if the terminal device only needs to send one short message, the registration request or service request may also include a last message indication. The last message indication is used to instruct the terminal device to send only the short message included in the current NAS message. That is, if the terminal device only needs to send one short message, the NAS message may include a last message indication.
[0357] In some embodiments, if the NAS message does not include a last message indication, it indicates that the terminal device still has other short messages to send besides those included in the current NAS message. It should be noted that the terminal device can send these other short messages via an uplink NAS message.
[0358] S502. The network device performs the first processing based on the NAS message. The first processing includes identifying the SMSF network element and / or identifying the emergency service center.
[0359] SMSF network elements are used to forward short messages to emergency service centers, which in turn receive short messages. Specifically, SMSF network elements can send short messages to emergency service centers through the short message center.
[0360] Specifically, network devices can identify SMSF network elements and / or emergency service centers based on the emergency service center URI, terminal device location information, and / or terminal device identification information included in the NAS message.
[0361] It should be noted that the specific methods by which network devices determine SMSF network elements and / or emergency service centers based on the URI of the emergency service center, the location information of the terminal device, and / or the identity of the terminal device can be found in relevant technologies, and will not be elaborated here.
[0362] In some embodiments, while performing the first processing, the network device may also perform a second processing based on the NAS message. The second processing includes at least one of the following: authenticating and authorizing the terminal device, creating a context corresponding to the terminal device, or updating the context of the terminal device.
[0363] In some embodiments, the network device may perform the second processing before performing the first processing; or, the network device may perform the second processing after performing the first processing.
[0364] It should be noted that the specific methods for network devices to authenticate and authorize terminal devices, create corresponding contexts for terminal devices, or update the contexts of terminal devices based on NAS messages can be found in relevant technologies, and will not be elaborated here.
[0365] It should be noted that network devices can perform both the first and second processing simultaneously, which can further reduce the time required to send SMS messages and improve the timeliness of SMS delivery.
[0366] S503, network devices send short messages to SMSF network elements.
[0367] In some embodiments, the network device can extract short messages from NAS messages and send short messages to the SMSF network element so that the SMSF network element can send short messages to the emergency service center.
[0368] In some embodiments, if the network device fails to process a service request or registration request (e.g., registration fails), the network device may also choose not to send a short message to the SMSF network element. In other words, the network device may discard the short message.
[0369] In some embodiments, if the network device fails to process a service request or registration request (e.g., registration fails), the network device can still continue to send the short message currently extracted from the NAS message to the SMSF network element. However, if the terminal device still needs to send short messages, the terminal device cannot continue to send short messages via uplink NAS messages, but needs to re-register, and can continue to send short messages if registration is successful.
[0370] S504. The network device receives a feedback message sent by the SMSF network element. The feedback message is used to indicate the sending status and / or the reason for the status of the short message.
[0371] In some embodiments, the sending status is either successful or failed, and the status reason is used to indicate the reason for the failure.
[0372] In some embodiments, the SMSF network element can receive feedback messages sent by the emergency service center and can send feedback messages to network devices.
[0373] In some embodiments, the reason for transmission failure may be that a message has been sent but no feedback has been received. "Sent but no feedback received" can indicate that the SMSF network element has sent a short message to the emergency service center, but has not received the short message sent by the emergency service center.
[0374] In some embodiments, a network device may generate a short message sending report under at least one of the following circumstances: no short message was sent to the SMSF network element; or, after sending a short message to the SMSF network element, no feedback message was received from the SMSF network element after a waiting period has elapsed; or, after sending a short message to the SMSF network element, a message indicating a sending failure was received from the SMSF network element; wherein, the short message sending report is used to indicate the sending status and / or the reason for the status of the short message, the sending status being either successful or failed, and the reason for the status indicating the reason for the failure.
[0375] Specifically, if a network device fails to send a short message to an SMSF network element, it can generate a short message sending report. This report indicates that the message sending failed, and the reason for the failure could be that the message was not sent, was sent but no feedback was received, or was sent but failed to receive feedback. If a network device sends a short message to an SMSF network element but does not receive a feedback message from the SMSF network element after a waiting period, it can also generate a short message sending report. This report indicates that the message sending failed, and the reason for the failure could be that the message was sent but no feedback was received. Conversely, if a network device sends a short message to an SMSF network element and receives a message indicating that the message was sent but no feedback was received, it can also generate a short message sending report. This report indicates that the message sending failed, and the reason for the failure could be that the message was sent but no feedback was received.
[0376] S505, the sending status and / or reason for the network device sending a short message to the terminal device.
[0377] In some embodiments, the network device may send a registration confirmation message to the terminal device, the registration confirmation message including the sending status of the short message and / or the status reason; or, send a service confirmation message to the terminal device, the service confirmation message including the sending status of the short message and / or the status reason.
[0378] Specifically, the sending status and / or reason for the short message can be included in the registration confirmation message or the service confirmation message. This reduces the number of messages sent from network devices to terminal devices, thereby shortening the interaction time between network devices and terminal devices and further improving the timeliness of short message delivery.
[0379] In some embodiments, a network device may send the sending status and / or status reason of a short message to a terminal device via a base station.
[0380] Specifically, network devices can send the transmission status and / or reason for a short message to the base station, and the base station can send the transmission status and / or reason for a short message to the terminal device. For example, the base station can send the transmission status and / or reason for a short message to the terminal device via transparent transmission.
[0381] Furthermore, the network device can send a registration confirmation message to the base station, and the base station can send a registration confirmation message to the terminal device. The registration confirmation message includes the SMS sending status and / or status reason; or, the network device can send a service confirmation message to the base station, and the base station can send a service confirmation message to the terminal device. The service confirmation message includes the SMS sending status and / or status reason.
[0382] In the communication method provided in this embodiment, the terminal device can send a NAS message to the network device, the NAS message including a short message; the network device can perform a first processing based on the NAS message and can send a short message to the SMSF network element; the network device can also receive a feedback message sent by the SMSF network element and can send the sending status and / or status reason of the short message to the terminal device. In the above method, the short message can be carried in the NAS message (for example, the NAS message can be a registration request or a service request), and the terminal device can send the short message at the same time as sending the NAS message, reducing the number of times the short message is sent separately, thereby reducing the number of interactions between the terminal device and the base station, as well as the network device, shortening the interaction time, and improving the timeliness of short message sending.
[0383] Secondly, combining Figure 6 This section explains the method for terminal devices to transmit short messages via IMS.
[0384] Figure 6 This is a flowchart illustrating another communication method provided in an embodiment of this application. Figure 6 As shown, the method may include:
[0385] S601. The terminal device sends a NAS message to the network device. The NAS message includes first indication information.
[0386] In some embodiments, the network device may be an electronic device with AMF network elements deployed. For example, the electronic device may be a server, etc.
[0387] In some embodiments, the network device may be an electronic device that has deployed AMF network elements and SMF network elements, etc.
[0388] In some embodiments, the network device may be an electronic device that has deployed AMF network elements, SMF network elements, or UDM network elements, etc.
[0389] In some embodiments, the NAS message may be a registration request or a service request. The first indication information may be carried in the registration request or the service request.
[0390] In some embodiments, the NAS message may be a registration request, and the first indication information may be carried in the registration request. The NAS message may also include at least one of the following: second indication information, which indicates the registration type of the registration request; the access type of the terminal device accessing the base station; fifth indication information, which indicates that the registration request supports short message transmission based on IMS emergency services; emergency PDU session identifier (Identification, ID), which is used to request the network side to create a first session; the URI of the emergency service center, which is used to receive short messages; or, the location information of the terminal device.
[0391] In some embodiments, the NAS message may be a service request, and the first indication information may be carried in the service request of the NAS message. The NAS message may also include at least one of the following: fourth indication information, which is used to indicate the service type of the service request; the access type of the terminal device accessing the base station; fifth indication information, which is used to indicate that the registration request supports short message transmission based on IMS emergency services; emergency PDU session ID, which is used to request the network side to create a first session; the URI of the emergency service center, which is used to receive short messages; or, the location information of the terminal device.
[0392] In some embodiments, the NAS message may also include the identity identifier of the terminal device.
[0393] In some embodiments, the terminal device can send NAS messages to the network device via a base station. Specifically, the terminal device can send NAS messages to the base station, and the base station can send NAS messages to the network device. For example, the base station can send NAS messages to the network device via transparent transmission.
[0394] S602. The network device performs third-party processing based on the NAS message. The third-party processing includes creating the first session and selecting the P-CSCF network element.
[0395] In some embodiments, AMF network elements and SMF network elements in a network device can work together to perform third processing.
[0396] In some embodiments, the first session can be a PDU session. The network device can create the first session and establish a short message transmission path from the terminal device to the P-CSCF network element through the first session. In other words, the network device can establish a short message transmission path through the first session.
[0397] P-CSCF network elements can be used to forward short messages, IMS registration messages, and other messages or data. Specifically, P-CSCF network elements can forward short messages, IMS registration messages, and other messages or data to IMS.
[0398] In some embodiments, the network device may select the P-CSCF network element based on the location information of the terminal device and the URI of the emergency service center included in the NAS message.
[0399] It should be noted that the specific methods by which network devices select P-CSCF network elements based on the location information of terminal devices and the URI of emergency service centers can be found in relevant technologies, and will not be elaborated here.
[0400] In some embodiments, while performing the third processing, the network device may also perform a second processing based on the NAS message. The second processing includes at least one of the following: authenticating and authorizing the terminal device, creating a context corresponding to the terminal device, or updating the context of the terminal device.
[0401] In some embodiments, the network device may perform the second processing before performing the third processing; or, the network device may perform the second processing after performing the third processing.
[0402] It should be noted that the specific methods for network devices to authenticate and authorize terminal devices, create corresponding contexts for terminal devices, or update the contexts of terminal devices based on NAS messages can be found in relevant technologies, and will not be elaborated here.
[0403] It should be noted that network devices can perform both third and second processing simultaneously, which can further reduce the time required to send SMS messages and improve the timeliness of SMS delivery.
[0404] S603, the network device sends the identifier of the P-CSCF network element and the emergency PDU session ID to the terminal device.
[0405] In some embodiments, the network device may send a registration confirmation message to the terminal device, the registration confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID; or, send a service confirmation message to the terminal device, the service confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID.
[0406] Specifically, the identifier of the P-CSCF network element and the emergency PDU session ID can be included in the registration confirmation message or the service confirmation message. This reduces the number of messages sent from network devices to terminal devices, thereby shortening the interaction time between terminal devices and base stations, as well as network devices, and further improving the timeliness of short message delivery.
[0407] In some embodiments, network devices can send the identifier of the P-CSCF network element and the emergency PDU session ID to the terminal device through the base station.
[0408] Specifically, network devices can send the P-CSCF network element identifier and the emergency PDU session ID to the base station, and the base station can send the P-CSCF network element identifier and the emergency PDU session ID to the terminal device. For example, the base station can send the P-CSCF network element identifier and the emergency PDU session ID to the terminal device via transparent transmission.
[0409] Furthermore, the network device can send a registration confirmation message to the base station, and the base station can send a registration confirmation message to the terminal device. The registration confirmation message includes the identifier of the P-CSCF network element and the emergency PDU session ID. Alternatively, the network device can send a service confirmation message to the base station, and the base station can send a service confirmation message to the terminal device. The service confirmation message includes the identifier of the P-CSCF network element and the emergency PDU session ID.
[0410] S604. The terminal device registers with IMS through the P-CSCF network element and sends short messages through the P-CSCF network element.
[0411] In some embodiments, the terminal device can send an IMS registration message to the P-CSCF network element via a short message transmission path from the terminal device to the P-CSCF network element. The P-CSCF network element can forward the IMS registration message to the IMS to achieve the purpose of the terminal device registering with the IMS through the P-CSCF network element.
[0412] In some embodiments, a terminal device can send short messages to a P-CSCF network element via a short message transmission path from the terminal device to the P-CSCF network element. The P-CSCF network element can then forward the short messages to the IMS.
[0413] In the communication method provided in this embodiment, the terminal device can send a NAS message to the network device, the NAS message including first indication information; the network device can perform third processing based on the NAS message, and can send the identifier of the P-CSCF network element and the emergency PDU session ID to the terminal device; the terminal device can register with IMS through the P-CSCF network element, and send short messages through the P-CSCF network element. In the above method, the first indication information can be carried in the NAS message (for example, the NAS message can be a registration request or a service request). The terminal device can send the first indication information at the same time as sending the NAS message, without having to send the first indication information separately, reducing the number of interactions between the terminal device and the base station and network devices, shortening the interaction time, and improving the timeliness of short message sending.
[0414] Based on any of the above embodiments, the network device can be an electronic device deployed with AMF network elements, that is, the network device can be an AMF network element, and the terminal device can communicate with the network device through the base station. Below, in conjunction with... Figure 7 This document describes a method for transmitting short messages via NAS when the network device is an AMF network element and the terminal device communicates with the AMF network element through a base station.
[0415] Figure 7 This is a flowchart illustrating another communication method provided in an embodiment of this application. Figure 7 As shown, the method may include:
[0416] S701, The terminal device sends an RRC establishment request to the base station.
[0417] S702, The base station sends an RRC establishment response to the terminal equipment.
[0418] S703. The terminal device sends an RRC establishment completion message to the base station. The RRC establishment completion message includes a NAS message, and the NAS message includes a short message.
[0419] S704, the base station sends a NAS message to the AMF network element.
[0420] It should be noted that the specific implementation methods of S701-S704 can be found in S401-S404, and will not be repeated here.
[0421] The S705 and AMF network elements perform initial processing based on the NAS message. This initial processing includes identifying the SMSF network element and / or identifying the emergency service center.
[0422] S706 and AMF network elements send short messages to SMSF network elements.
[0423] The S707 and AMF network elements receive feedback messages sent by the SMSF network element. These feedback messages are used to indicate the sending status and / or the reason for the status of the short message.
[0424] It should be noted that the specific implementation methods of S705-S707 can be found in S502-S504, and will not be repeated here.
[0425] The sending status and / or reason for the status of short messages sent by the S708 and AMF network elements to the base station.
[0426] In some embodiments, the AMF network element may send a registration confirmation message to the base station, the registration confirmation message including the short message sending status and / or status reason; or, send a service confirmation message to the base station, the service confirmation message including the short message sending status and / or status reason.
[0427] S709. The sending status and / or reason for the base station sending short messages to the terminal device.
[0428] In some embodiments, the base station may send a registration confirmation message to the terminal device, the registration confirmation message including the sending status of the short message and / or the status reason; or, send a service confirmation message to the terminal device, the service confirmation message including the sending status of the short message and / or the status reason.
[0429] In the communication method provided in this embodiment, the terminal device can send a NAS message to the base station, the NAS message including a short message; the base station can send the NAS message to the AMF network element; the AMF network element can perform a first processing according to the NAS message and can send a short message to the SMSF network element; the AMF network element can also receive a feedback message sent by the SMSF network element and can send the short message sending status and / or status reason to the base station; the base station can send the short message sending status and / or status reason to the terminal device. In the above method, the short message can be carried in the NAS message (for example, the NAS message can be a registration request or a service request), and the terminal device can send the short message at the same time as sending the NAS message, reducing the number of times the short message is sent separately, thereby reducing the number of interactions between the terminal device and the base station, as well as network devices, shortening the interaction time, and improving the timeliness of short message sending.
[0430] Based on any of the above embodiments, the following is combined with Figure 8 The method of transmitting short messages via IMS is explained for network devices that are AMF network elements, where terminal devices communicate with AMF network elements through base stations.
[0431] Figure 8 This is a flowchart illustrating another communication method provided in an embodiment of this application. Figure 8 As shown, the method may include:
[0432] S801, The terminal device sends an RRC establishment request to the base station.
[0433] S802, The base station sends an RRC establishment response to the terminal equipment.
[0434] S803. The terminal device sends an RRC establishment completion message to the base station. The RRC establishment completion message includes a NAS message, and the NAS message includes first indication information.
[0435] S804, the base station sends a NAS message to the AMF network element.
[0436] It should be noted that the specific implementation methods of S801-S804 can be found in S401-S404, and will not be repeated here.
[0437] The S805 and AMF network elements perform third-party processing based on NAS messages. This third-party processing includes creating the first session and selecting the P-CSCF network element.
[0438] In some embodiments, the AMF network element can collaborate with the SMF network element and other elements to perform third-party processing.
[0439] The S806 and AMF network elements send the identifier of the P-CSCF network element and the emergency PDU session ID to the base station.
[0440] In some embodiments, the AMF network element may send a registration confirmation message to the base station, the registration confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID; or, send a service confirmation message to the base station, the service confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID.
[0441] S807, The base station sends the identifier of the P-CSCF network element and the emergency PDU session ID to the terminal equipment.
[0442] In some embodiments, the base station may send a registration confirmation message to the terminal device, the registration confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID; or, send a service confirmation message to the terminal device, the service confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID.
[0443] S808: Terminal devices register with IMS through the P-CSCF network element and send short messages through the P-CSCF network element.
[0444] In the communication method provided in this embodiment, the terminal device can send a NAS message to the base station, the NAS message including first indication information; the base station can send a NAS message to the AMF network element (for example, the NAS message can be a registration request or a service request); the AMF network element can create a first session and select a P-CSCF network element according to the NAS message, and can send the identifier of the P-CSCF network element and the emergency PDU session ID to the base station; the base station can send the identifier of the P-CSCF network element and the emergency PDU session ID to the terminal device; the terminal device can register to IMS through the P-CSCF network element and send short messages through the P-CSCF network element. In the above method, the first indication information can be carried in the NAS message, and the terminal device can send the first indication information at the same time as sending the NAS message, without having to send the first indication information separately, reducing the number of interactions between the terminal device and the base station and network devices, shortening the interaction time, and improving the timeliness of short message sending.
[0445] Figure 9 This is a schematic diagram of a communication device provided in an embodiment of this application. Figure 9 As shown, the communication device 10 is applied to a terminal device. The communication device 10 includes a transmitting module 11, wherein...
[0446] The sending module 11 is used to send NAS messages to the network device;
[0447] The NAS message includes a short message or a first indication message, the first indication message being used to request the creation of a first session, and the first session being used to establish a transmission path for the short message.
[0448] The communication device provided in this embodiment can execute the method executed by the terminal device in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0449] In one possible implementation, the sending module 11 is specifically used for,
[0450] The base station sends an RRC establishment completion message to the base station, the RRC establishment completion message including the NAS message, so that the base station sends the NAS message to the network device.
[0451] Figure 10 This is a schematic diagram of another communication device provided in an embodiment of this application. Figure 9 Based on this, the communication device 10 further includes a receiving module 12, wherein,
[0452] The sending module 11 is further configured to send an RRC establishment request to the base station. The RRC establishment request includes an establishment reason, which includes at least one of the following: emergency service, emergency service short message, emergency service short message based on IMS bearer mode, or emergency service short message based on NAS bearer mode.
[0453] The receiving module 12 is used to receive the RRC establishment response sent by the base station.
[0454] In one possible implementation, the NAS message is a registration request, and the NAS message includes the short message.
[0455] In one possible implementation, the NAS message also includes at least one of the following:
[0456] The second indication information is used to indicate the registration type of the registration request;
[0457] The terminal device accesses the base station using the following access type:
[0458] The third indication information is used to indicate that the NAS message includes the short message;
[0459] The URI of the emergency service center, which is used to receive the short message;
[0460] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0461] The location information of the terminal device; or...
[0462] The capabilities of the terminal device.
[0463] In one possible implementation, the NAS message is a service request, and the NAS message includes the short message.
[0464] In one possible implementation, the NAS message also includes at least one of the following:
[0465] The fourth indication information is used to indicate the service type of the service request;
[0466] The terminal device accesses the base station using the following access type:
[0467] The third indication information is used to indicate that the NAS message includes the short message;
[0468] The URI of the emergency service center, which is used to receive the short message;
[0469] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0470] The location information of the terminal device; or...
[0471] The capabilities of the terminal device.
[0472] In one possible implementation, the receiving module 12 is further configured to,
[0473] The system receives the sending status and / or status reason of the short message sent by the network device, wherein the sending status is either successful or failed, and the status reason is used to indicate the reason for the failure.
[0474] In one possible implementation, the receiving module 12 is specifically used for,
[0475] Receive a registration confirmation message sent by the network device, the registration confirmation message including the sending status and / or status reason of the short message; or,
[0476] Receive a service determination message sent by the network device, the service determination message including the sending status and / or status reason of the short message.
[0477] In one possible implementation, the NAS message is a registration request, and the NAS message includes the first indication information.
[0478] In one possible implementation, the NAS message also includes at least one of the following:
[0479] The second indication information is used to indicate the registration type of the registration request;
[0480] The terminal device accesses the base station using the following access type:
[0481] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0482] Emergency PDU Session ID, which is used to request the network side to create the first session;
[0483] The URI of the emergency service center, which is used to receive the short message; or...
[0484] The location information of the terminal device.
[0485] In one possible implementation, the NAS message is a service request, and the NAS message includes the first indication information.
[0486] In one possible implementation, the NAS message also includes at least one of the following:
[0487] The fourth indication information is used to indicate the service type of the service request;
[0488] The terminal device accesses the base station using the following access type:
[0489] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0490] Emergency PDU Session ID, which is used to request the creation of the first session;
[0491] The URI of the emergency service center, which is used to receive the short message; or...
[0492] The location information of the terminal device.
[0493] In one possible implementation, the receiving module 12 is further configured to,
[0494] Receive the identifier of the P-CSCF network element and the emergency PDU session ID sent by the network device;
[0495] The P-CSCF network element is used to forward the short message, and the emergency PDU session ID is used to indicate that the first session has been established.
[0496] In one possible implementation, the receiving module 12 is specifically used for,
[0497] Receive a registration confirmation message sent by the network device, wherein the registration confirmation message includes the identifier of the P-CSCF network element and the emergency PDU session ID; or,
[0498] The network device receives a service determination message, which includes the identifier of the P-CSCF network element and the emergency PDU session ID.
[0499] In one possible implementation, the sending module 11 is further configured to,
[0500] The P-CSCF network element is used to register with the Internet Protocol Multimedia Subsystem (IMS) and send the short message.
[0501] The communication device provided in this embodiment can execute the method executed by the terminal device in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0502] Figure 11 This is a schematic diagram of another communication device provided in an embodiment of this application. Please refer to... Figure 11 The communication device 20 is applied to network equipment, and the communication device 20 includes a receiving module 21, wherein...
[0503] The receiving module 21 is used to receive NAS messages sent by the terminal device. The NAS messages include short messages or the first indication information. The first indication information is used to request the creation of a first session, and the first session is used to establish a transmission path for short messages.
[0504] The communication device provided in this embodiment can execute the method executed by the network device in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0505] In one possible implementation, the NAS message is a registration request, and the NAS message includes the short message.
[0506] In one possible implementation, the NAS message also includes at least one of the following:
[0507] The second indication information is used to indicate the registration type of the registration request;
[0508] The terminal device accesses the base station using the following access type:
[0509] The third indication information is used to indicate that the NAS message includes the short message;
[0510] The URI of the emergency service center, which is used to receive the short message;
[0511] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0512] The location information of the terminal device; or...
[0513] The capabilities of the terminal device.
[0514] In one possible implementation, the NAS message is a service request, and the NAS message includes the short message.
[0515] In one possible implementation, the NAS message also includes at least one of the following:
[0516] The fourth indication information is used to indicate the service type of the service request;
[0517] The terminal device accesses the base station using the following access type:
[0518] The third indication information is used to indicate that the NAS message includes the short message;
[0519] The URI of the emergency service center, which is used to receive the short message;
[0520] Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status;
[0521] The location information of the terminal device; or...
[0522] The capabilities of the terminal device.
[0523] Figure 12 This is a schematic diagram of the structure of another communication device provided in an embodiment of this application. Figure 11 Based on this, the communication device 20 further includes a processing module 22 and a transmitting module 23, wherein,
[0524] The processing module 22 is used to perform a first process based on the NAS message. The first process includes determining a Short Message Service Function (SMSF) network element and determining an emergency service center. The SMSF network element is used to forward the short message to the emergency service center, and the emergency service center is used to receive the short message.
[0525] In one possible implementation, the processing module 22 is further configured to,
[0526] A second process is performed based on the NAS message, and the second process includes at least one of the following:
[0527] The terminal device is authenticated and authorized, a context corresponding to the terminal device is created, or the context of the terminal device is updated.
[0528] In one possible implementation, the sending module 23 is used to,
[0529] Send the short message to the SMSF network element.
[0530] In one possible implementation, the receiving module 21 is further configured to,
[0531] The system receives a feedback message sent by the SMSF network element. The feedback message is used to indicate the sending status and / or the reason for the status of the short message. The sending status is either successful or failed, and the reason for the status is used to indicate the reason for the failure.
[0532] In one possible implementation, the sending module 23 is further configured to,
[0533] Send the sending status and / or the reason for the status of the short message to the terminal device.
[0534] In one possible implementation, the sending module 23 is specifically used for,
[0535] Send a registration confirmation message to the terminal device, the registration confirmation message including the sending status of the short message and / or the reason for the status; or,
[0536] Send a service confirmation message to the terminal device, the service confirmation message including the sending status of the short message and / or the status reason.
[0537] In one possible implementation, the NAS message includes the first indication information, which is carried in the registration request of the NAS message.
[0538] In one possible implementation, the NAS message also includes at least one of the following:
[0539] The second indication information is used to indicate the registration type of the registration request;
[0540] The terminal device accesses the base station using the following access type:
[0541] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0542] Emergency PDU Session ID, which is used to request the network side to create the first session;
[0543] The URI of the emergency service center, which is used to receive the short message; or...
[0544] The location information of the terminal device.
[0545] In one possible implementation, the NAS message is a service request, and the NAS message includes the first indication information.
[0546] In one possible implementation, the NAS message also includes at least one of the following:
[0547] The fourth indication information is used to indicate the service type of the service request;
[0548] The terminal device accesses the base station using the following access type:
[0549] The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services;
[0550] Emergency PDU Session ID, which is used to request the network side to create the first session;
[0551] The URI of the emergency service center, which is used to receive the short message; or...
[0552] The location information of the terminal device.
[0553] In one possible implementation, the processing module 22 is further configured to,
[0554] The third processing is performed based on the NAS message, which includes creating the first session and selecting the proxy call session control function P-CSCF network element.
[0555] The P-CSCF network element is used to forward the short message.
[0556] In one possible implementation, the processing module 22 is further configured to,
[0557] A second process is performed based on the NAS message, and the second process includes at least one of the following:
[0558] The terminal device is authenticated and authorized, a context corresponding to the terminal device is created, or the context of the terminal device is updated.
[0559] In one possible implementation, the sending module 23 is further configured to,
[0560] Send the identifier of the P-CSCF network element and the emergency PDU session ID to the terminal device;
[0561] The emergency PDU session ID is used to indicate that the first session has been established.
[0562] In one possible implementation, the sending module 23 is specifically used for,
[0563] Send a registration confirmation message to the terminal device, the registration confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID; or,
[0564] A service confirmation message is sent to the terminal device, the service confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID.
[0565] The communication device provided in this embodiment can execute the method executed by the network device in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0566] Figure 13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 13 As shown, the electronic device 30 may include a processor 31 and a memory 32, wherein the processor 31 and the memory 32 can communicate; for example, the processor 31 and the memory 32 communicate via a communication bus 33, wherein the memory 32 is used to store computer execution instructions, and the processor 31 is used to invoke the computer execution instructions in the memory to execute the method shown in any of the above method embodiments.
[0567] Optionally, the electronic device 30 may also include a communication interface, which may include a transmitter and / or a receiver.
[0568] The electronic device 30 can be a terminal device or network device as described in any of the above embodiments.
[0569] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0570] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0571] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0572] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the method shown in any of the above-described method embodiments.
[0573] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the method shown in any of the above-described method embodiments.
[0574] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0575] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0576] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0577] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0578] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0579] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the 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 to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0580] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0581] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A communication method, characterized in that, Applied to a terminal device, the method includes: Send NAS (Non-Access Stratum) messages to network devices; The NAS message includes a short message or a first indication message, the first indication message being used to request the creation of a first session, and the first session being used to establish a transmission path for the short message.
2. The method according to claim 1, characterized in that, Send NAS messages to network devices, including: The base station sends a Radio Resource Control (RRC) establishment completion message to the base station, the RRC establishment completion message including the NAS message, so that the base station sends the NAS message to the network device.
3. The method according to claim 2, characterized in that, The method further includes: Send an RRC establishment request to the base station. The RRC establishment request includes an establishment reason, which includes at least one of the following: emergency service, emergency service SMS, emergency service SMS based on IMS bearer, or emergency service SMS based on NAS bearer. Receive the RRC establishment response sent by the base station.
4. The method according to any one of claims 1-3, characterized in that, The NAS message is a registration request, and the NAS message includes the short message.
5. The method according to claim 4, characterized in that, The NAS message also includes at least one of the following: The second indication information is used to indicate the registration type of the registration request; The access type of the terminal device accessing the base station; The third indication information is used to indicate that the NAS message includes the short message; A generic resource identifier (URI) for an emergency service center, which is used to receive the short message; Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status; The location information of the terminal device; or... The capabilities of the terminal device.
6. The method according to any one of claims 1-3, characterized in that, The NAS message is a service request, and the NAS message includes the short message.
7. The method according to claim 6, characterized in that, The NAS message also includes at least one of the following: The fourth indication information is used to indicate the service type of the service request; The access type of the terminal device accessing the base station; The third indication information is used to indicate that the NAS message includes the short message; The URI of the emergency service center, which is used to receive the short message; Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status; The location information of the terminal device; or... The capabilities of the terminal device.
8. The method according to any one of claims 1-7, characterized in that, The method further includes: The system receives the sending status and / or status reason of the short message sent by the network device, wherein the sending status is either successful or failed, and the status reason is used to indicate the reason for the failure.
9. The method according to claim 8, characterized in that, Receiving the sending status of the short message sent by the network device includes: Receive a registration confirmation message sent by the network device, the registration confirmation message including the sending status and / or status reason of the short message; or, Receive a service determination message sent by the network device, the service determination message including the sending status and / or status reason of the short message.
10. The method according to any one of claims 1-3, characterized in that, The NAS message is a registration request, and the NAS message includes the first indication information.
11. The method according to claim 10, characterized in that, The NAS message also includes at least one of the following: The second indication information is used to indicate the registration type of the registration request; The access type of the terminal device accessing the base station; The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services; Emergency Protocol Data Unit (PDU) Session Identifier ID, which is used to request the network side to create the first session; The URI of the emergency service center, which is used to receive the short message; or, The location information of the terminal device.
12. The method according to any one of claims 1-3, characterized in that, The NAS message is a service request, and the NAS message includes the first indication information.
13. The method according to claim 12, characterized in that, The NAS message also includes at least one of the following: The fourth indication information is used to indicate the service type of the service request; The access type of the terminal device accessing the base station; The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services; Emergency PDU Session ID, which is used to request the creation of the first session; The URI of the emergency service center, which is used to receive the short message; or, The location information of the terminal device.
14. The method according to any one of claims 1-3 and 10-13, characterized in that, The method further includes: Receive the identifier of the proxy call session control function (P-CSCF) network element and the emergency PDU session ID sent by the network device; The P-CSCF network element is used to forward the short message, and the emergency PDU session ID is used to indicate that the first session has been established.
15. The method according to claim 14, characterized in that, Receive the identifier of the P-CSCF network element and the emergency PDU session ID sent by the network device, including: Receive a registration confirmation message sent by the network device, wherein the registration confirmation message includes the identifier of the P-CSCF network element and the emergency PDU session ID; or, The network device receives a service determination message, which includes the identifier of the P-CSCF network element and the emergency PDU session ID.
16. The method according to claim 14 or 15, characterized in that, The method further includes: The P-CSCF network element is used to register with the Internet Protocol Multimedia Subsystem (IMS) and send the short message.
17. A communication method, characterized in that, Applied to network devices, the method includes: The device receives a NAS message sent by a terminal device. The NAS message includes a short message or the first indication information. The first indication information is used to request the creation of a first session, and the first session is used to establish a transmission path for the short message.
18. The method according to claim 17, characterized in that, The NAS message is a registration request, and the NAS message includes the short message.
19. The method according to claim 18, characterized in that, The NAS message also includes at least one of the following: The second indication information is used to indicate the registration type of the registration request; The access type of the terminal device accessing the base station; The third indication information is used to indicate that the NAS message includes the short message; The URI of the emergency service center, which is used to receive the short message; Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status; The location information of the terminal device; or... The capabilities of the terminal device.
20. The method according to claim 17, characterized in that, The NAS message is a service request, and the NAS message includes the short message.
21. The method according to claim 20, characterized in that, The NAS message also includes at least one of the following: The fourth indication information is used to indicate the service type of the service request; The access type of the terminal device accessing the base station; The third indication information is used to indicate that the NAS message includes the short message; The URI of the emergency service center, which is used to receive the short message; Waiting time, which indicates the maximum time to wait for the emergency service center to provide feedback on the SMS sending status; The location information of the terminal device; or... The capabilities of the terminal device.
22. The method according to any one of claims 17-21, characterized in that, The method further includes: The first processing is performed based on the NAS message. The first processing includes determining a Short Message Service Function (SMSF) network element and / or determining an Emergency Service Center. The SMSF network element is used to forward the short message to the Emergency Service Center, and the Emergency Service Center is used to receive the short message.
23. The method according to claim 22, characterized in that, The method further includes: A second process is performed based on the NAS message, and the second process includes at least one of the following: The terminal device is authenticated and authorized, a context corresponding to the terminal device is created, or the context of the terminal device is updated.
24. The method according to claim 22 or 23, characterized in that, The method further includes: Send the short message to the SMSF network element.
25. The method according to claim 24, characterized in that, The method further includes: The system receives a feedback message sent by the SMSF network element. The feedback message is used to indicate the sending status and / or the reason for the status of the short message. The sending status is either successful or failed, and the reason for the status is used to indicate the reason for the failure.
26. The method according to claim 25, characterized in that, The method further includes: Send the sending status and / or the reason for the status of the short message to the terminal device.
27. The method according to claim 26, characterized in that, Sending the sending status and / or status reason of the short message to the terminal device, including: Send a registration confirmation message to the terminal device, the registration confirmation message including the sending status of the short message and / or the reason for the status; or, Send a service confirmation message to the terminal device, the service confirmation message including the sending status of the short message and / or the status reason.
28. The method according to claim 17, characterized in that, The NAS message is a registration request, and the NAS message includes the first indication information.
29. The method according to claim 28, characterized in that, The NAS message also includes at least one of the following: The second indication information is used to indicate the registration type of the registration request; The access type of the terminal device accessing the base station; The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services; Emergency PDU Session ID, which is used to request the network side to create the first session; The URI of the emergency service center, which is used to receive the short message; or, The location information of the terminal device.
30. The method according to claim 17, characterized in that, The NAS message is a service request, and the NAS message includes the first indication information.
31. The method according to claim 30, characterized in that, The NAS message also includes at least one of the following: The fourth indication information is used to indicate the service type of the service request; The access type of the terminal device accessing the base station; The fifth indication information is used to indicate that the registration request supports short message transmission based on IMS emergency services; Emergency PDU Session ID, which is used to request the network side to create the first session; The URI of the emergency service center, which is used to receive the short message; or, The location information of the terminal device.
32. The method according to any one of claims 28-31, characterized in that, The method further includes: The third processing is performed based on the NAS message, which includes creating the first session and selecting the proxy call session control function P-CSCF network element. The P-CSCF network element is used to forward the short message.
33. The method according to claim 32, characterized in that, The method further includes: A second process is performed based on the NAS message, and the second process includes at least one of the following: The terminal device is authenticated and authorized, a context corresponding to the terminal device is created, or the context of the terminal device is updated.
34. The method according to claim 32 or 33, characterized in that, The method further includes: Send the identifier of the P-CSCF network element and the emergency PDU session ID to the terminal device; The emergency PDU session ID is used to indicate that the first session has been established.
35. The method according to claim 34, characterized in that, Sending the identifier of the P-CSCF network element and the emergency PDU session ID to the terminal device, including: Send a registration confirmation message to the terminal device, the registration confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID; or, A service confirmation message is sent to the terminal device, the service confirmation message including the identifier of the P-CSCF network element and the emergency PDU session ID.
36. A communication device, characterized in that, Applied to terminal devices, the device includes a transmitting module, wherein, The sending module is used to send NAS messages to the network device; The NAS message includes a short message or a first indication message, the first indication message being used to request the creation of a first session, and the first session being used to establish a transmission path for the short message.
37. A communication device, characterized in that, Applied to network devices, the device includes a receiving module, wherein, The receiving module is used to receive NAS messages sent by the terminal device. The NAS messages include short messages or the first indication information. The first indication information is used to request the creation of a first session, and the first session is used to establish a transmission path for the short messages.
38. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-16, or to perform the method as described in any one of claims 17-35.
39. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-16, or to implement the method as described in any one of claims 17-35.
40. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1-16, or implements the method of any one of claims 17-35.