Message sending method and device, terminal, network equipment and storage medium

By selecting the appropriate sending method and transmission path based on message size in satellite-ground convergence scenarios, 5G message transmission is optimized, solving the problem of high transmission latency between satellite and ground, and improving network performance and user experience.

CN121486769APending Publication Date: 2026-02-06DATANG MOBILE COMM EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411385843.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2026-02-06

AI Technical Summary

Technical Problem

In satellite-ground convergence scenarios, the multiple transmissions of 5G messages between satellite and ground result in significant latency in message sending and receiving between users. Furthermore, existing technologies do not address the optimization of message sending methods, thus failing to improve network performance and end-user experience.

Method used

By determining the message size and a preset size threshold, the system selects whether to send the message immediately or postpone it, transmits the message using satellite or terrestrial networks, and optimizes the message transmission path by combining message processing and multimedia content storage functions.

Benefits of technology

It improves network performance in satellite-ground converged scenarios, meets the transmission needs of messages of different sizes, enhances the end-user experience, and reduces the number of message transmissions and latency between satellite and ground.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121486769A_ABST
    Figure CN121486769A_ABST
Patent Text Reader

Abstract

The invention relates to a message sending method and device, a terminal, network equipment and a storage medium. In at least one embodiment of the invention, in a satellite access scene, a terminal determines the size of a to-be-sent message, and can judge the relationship between the size of the to-be-sent message and a preset size threshold; determining a message sending mode based on the relationship; therefore, the message is sent based on the message sending mode, for example, the message is immediately sent through a satellite, or the message is sent through the ground network after the terminal accesses the ground network. According to the technical scheme, the network performance in a satellite-ground fusion scene can be improved through an appropriate message sending mode, small messages can be sent to a receiving party more quickly through a satellite, large messages can be sent to the receiving party more reliably through a ground network, the transmission requirements of messages of different sizes are met, and therefore the terminal user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present disclosure relate to the technical field of communication, in particular to a message sending method and device, a terminal, a network device and a storage medium. BACKGROUND

[0002] In a satellite-ground (satellite and ground network) fusion scenario, a 5G (fifth generation mobile communication technology) message of a message sending terminal is sent by a satellite to a 5G message system, and then forwarded by the 5G message system to a message receiving terminal. This requires multiple transmissions of 5G messages between the satellite and the ground, resulting in a large message transmission delay between users. In addition, in the satellite-ground fusion scenario, the optimization of the message sending method has not been involved, and the network performance and user experience in the satellite-ground fusion scenario cannot be improved. SUMMARY

[0003] At least one embodiment of the present disclosure provides a message sending method, device, terminal, network device and storage medium, which improves the network performance and user experience in the satellite-ground fusion scenario.

[0004] In a first aspect, embodiments of the present disclosure provide a message sending method applied to a terminal, the method comprising:

[0005] If the terminal accesses a satellite network, determining a size of the message;

[0006] Determining a message sending mode based on the size of the message and a preset size threshold;

[0007] Sending the message based on the message sending mode.

[0008] In some embodiments, the preset size threshold is a value distinguishing between a paging mode and a large message mode.

[0009] In some embodiments, determining the message sending mode based on the size of the message and the preset size threshold comprises:

[0010] If the size of the message is less than or equal to the preset size threshold, determining the message sending mode as immediate sending; and / or,

[0011] If the size of the message is greater than the preset size threshold, determining the message sending mode as deferred sending.

[0012] In some embodiments, sending the message based on the message sending mode comprises:

[0013] If the message sending mode is immediate sending, sending the message immediately through the satellite; and / or,

[0014] If the message sending mode is deferred sending, sending the message through a ground network after accessing the ground network.

[0015] In some embodiments, the method further comprises:

[0016] If the message is sent based on the large message mode, sending a message request to the network device;

[0017] Receiving a message response sent by the network device, the message response carrying information of a message processing function, the message processing function being selected by the network device for the terminal and deployed on a satellite.

[0018] In some embodiments, after receiving the message response sent by the network device, the method further comprises:

[0019] Establishing a first message transmission channel with the message processing function;

[0020] Sending the message to the message processing function through the first message transmission channel, the message being sent by the message processing function to the second terminal.

[0021] In some embodiments, the method further comprises:

[0022] If the terminal is a message receiving terminal, establishing a second message transmission channel with the message processing function deployed on the satellite;

[0023] Receiving a message sent by the message processing function through the second message transmission channel.

[0024] In some embodiments, the method further comprises:

[0025] Receiving an address of a multimedia content storage function sent by the network device, the multimedia content storage function being selected by the network device for the terminal and deployed on a satellite;

[0026] Based on the address of the multimedia content storage function, uploading the file to the multimedia content storage function;

[0027] Receiving a file link of the file sent by the multimedia content storage function;

[0028] The message carries the file link.

[0029] In a second aspect, the embodiments of the present disclosure further provide a message sending method applied to a network device, the method comprising:

[0030] If a terminal receiving a message accesses a network based on a satellite, determining a size of the message;

[0031] Based on the size of the message and a preset size threshold, determining a message sending mode;

[0032] Based on the message sending mode, sending the message.

[0033] In some embodiments, the preset size threshold is a value distinguishing the paging mode from the large message mode.

[0034] In some embodiments, the message sending mode is determined based on the size of the message and the preset size threshold, including:

[0035] If the size of the message is less than or equal to the preset size threshold, the message sending mode is determined as immediate sending; and / or,

[0036] If the size of the message is greater than the preset size threshold, the message sending mode is determined as deferred sending.

[0037] In some embodiments, the message is sent based on the message sending mode, including:

[0038] If the message sending mode is immediate sending, the message is sent immediately through the satellite; and / or,

[0039] If the message sending mode is deferred sending, the message is sent through the ground network after accessing the ground network.

[0040] In some embodiments, the method further includes:

[0041] When receiving the message request sent by the terminal in the large message mode, selecting the message processing function deployed on the satellite for the terminal;

[0042] Sending the message response to the terminal, the message response carrying the information of the message processing function.

[0043] In some embodiments, the method further includes:

[0044] According to the satellite access information of the terminal, sending the address of the multimedia content storage function deployed on the satellite to the terminal.

[0045] In a third aspect, the embodiments of the present disclosure further provide a message sending device applied to a terminal, the device including:

[0046] A first determination unit configured to determine the size of the message if accessing the network based on the satellite;

[0047] A second determination unit configured to determine the message sending mode based on the size of the message and the preset size threshold;

[0048] A sending unit configured to send the message based on the message sending mode.

[0049] In a fourth aspect, the embodiments of the present disclosure further provide a message sending device applied to a network equipment, the device including:

[0050] A first determination unit configured to determine the size of the message if the terminal receiving the message accesses the network based on the satellite;

[0051] The second determining unit is configured to determine the message sending mode based on the size of the message and a preset size threshold.

[0052] The sending unit is configured to send the message based on the message sending mode.

[0053] In a fifth aspect, the embodiments of the present disclosure further provide a terminal, which comprises a memory, a transceiver and a processor.

[0054] The memory is configured to store a computer program; the transceiver is configured to transceive data under the control of the processor; and the processor is configured to read the computer program in the memory and perform:

[0055] If the satellite access network is used, the size of the message is determined.

[0056] The message sending mode is determined based on the size of the message and a preset size threshold.

[0057] The message is sent based on the message sending mode.

[0058] In some embodiments, the preset size threshold is a value for distinguishing the paging mode from the large message mode.

[0059] In some embodiments, the message sending mode is determined based on the size of the message and a preset size threshold, comprising:

[0060] If the size of the message is less than or equal to the preset size threshold, the message sending mode is determined as immediate sending; and / or,

[0061] If the size of the message is greater than the preset size threshold, the message sending mode is determined as deferred sending.

[0062] In some embodiments, the message is sent based on the message sending mode, comprising:

[0063] If the message sending mode is immediate sending, the message is immediately sent through the satellite; and / or,

[0064] If the message sending mode is deferred sending, the message is sent through the ground network after accessing the ground network.

[0065] In some embodiments, the processor is further configured to:

[0066] If the message is sent based on the large message mode, a message request is sent to the network device.

[0067] A message response sent by the network device is received, and the message response carries information of a message processing function, wherein the message processing function is a message processing function selected by the network device for the terminal and deployed on the satellite.

[0068] In some embodiments, after receiving the message sent by the network device, the processor is further configured to:

[0069] establish a first message transmission channel with the message processing function;

[0070] send the message to the message processing function through the first message transmission channel, and the message is sent to the second terminal by the message processing function.

[0071] In some embodiments, the processor is further configured to:

[0072] if the terminal is a message receiving terminal, establish a second message transmission channel with the message processing function deployed on the satellite;

[0073] receive the message sent by the message processing function through the second message transmission channel.

[0074] In some embodiments, the processor is further configured to:

[0075] receive the address of the multimedia content storage function sent by the network device, the multimedia content storage function being the multimedia content storage function deployed on the satellite selected by the network device for the terminal;

[0076] upload the file to the multimedia content storage function based on the address of the multimedia content storage function;

[0077] receive the file link of the file sent by the multimedia content storage function;

[0078] wherein the message carries the file link.

[0079] In a sixth aspect, the embodiments of the present disclosure further provide a network device, wherein the network device comprises a memory, a transceiver, and a processor;

[0080] the memory is configured to store a computer program; the transceiver is configured to transceive data under the control of the processor; and the processor is configured to read the computer program in the memory and perform:

[0081] if the terminal receiving the message accesses the network based on the satellite, determine the size of the message;

[0082] determine the message sending mode based on the size of the message and a preset size threshold;

[0083] send the message based on the message sending mode.

[0084] In some embodiments, the preset size threshold is a distinguishing value between the paging mode and the large message mode.

[0085] In some embodiments, determining the message sending mode based on the size of the message and the preset size threshold comprises:

[0086] if the size of the message is less than or equal to a preset size threshold, determining that the message sending mode is immediate sending; and / or,

[0087] if the size of the message is greater than the preset size threshold, determining that the message sending mode is deferred sending.

[0088] In some embodiments, the message is sent based on the message sending mode, including:

[0089] if the message sending mode is immediate sending, the message is sent immediately through the satellite; and / or,

[0090] if the message sending mode is deferred sending, the message is sent through the ground network after the terminal accesses the ground network.

[0091] In some embodiments, the processor is further configured to:

[0092] when receiving a message request of a large message mode of the terminal, selecting a message processing function deployed on the satellite for the terminal;

[0093] sending a message response to the terminal, the message response carrying information of the message processing function.

[0094] In some embodiments, the processor is further configured to:

[0095] sending an address of a multimedia content storage function deployed on the satellite to the terminal according to satellite access information of the terminal.

[0096] In a seventh aspect, the embodiments of the present disclosure further provide a processor readable storage medium, wherein the processor readable storage medium stores a program, and the program is configured to cause a processor to execute the message sending method according to any one of the first aspect or the message sending method according to any one of the second aspect.

[0097] In at least one embodiment of the present disclosure, in a satellite access scenario (i.e., the terminal accesses the network based on the satellite), the terminal can determine the relationship between the size of the to-be-sent message and the preset size threshold by determining the size of the to-be-sent message, and then determine the message sending mode based on the relationship, and then send the message based on the message sending mode, for example, send the message immediately through the satellite, or wait until the terminal accesses the ground network and then send the message through the ground network. The appropriate message sending mode can improve the network performance in the star-ground fusion scenario, so that small messages can be sent to the receiver through the satellite faster, and large messages can be sent to the receiver through the ground network more reliably, meeting the transmission requirements of messages of different sizes, and thus improving the user experience of the terminal. BRIEF DESCRIPTION OF DRAWINGS

[0098] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can also be obtained by those skilled in the art based on these drawings.

[0099] Figure 1 It is an architecture diagram of a 5G message system;

[0100] Figure 2 It is a satellite-ground fusion scenario diagram;

[0101] Figure 3 It is a flowchart of a message sending method applied to a terminal provided by an embodiment of the present disclosure;

[0102] Figure 4 It is a flowchart of a message sending method applied to a network device provided by an embodiment of the present disclosure;

[0103] Figure 5 It is a flowchart of a message sending method applied to a message sending terminal provided by an embodiment of the present disclosure;

[0104] Figure 6 It is a flowchart of a message receiving method provided by an embodiment of the present disclosure;

[0105] Figure 7 It is a flowchart of a message processing method provided by an embodiment of the present disclosure;

[0106] Figure 8 It is a diagram of a terminal initiating a 5G message in a satellite access scenario provided by an embodiment of the present disclosure;

[0107] Figure 9 It is a diagram of a terminal receiving a 5G message in a satellite access scenario provided by an embodiment of the present disclosure;

[0108] Figure 10 It is a diagram of on-satellite direct forwarding of a 5G message provided by an embodiment of the present disclosure;

[0109] Figure 11 It is a diagram of deployment of a functional network element provided by an embodiment of the present disclosure;

[0110] Figure 12 It is a flowchart of on-satellite forwarding of a message in a large message mode provided by an embodiment of the present disclosure;

[0111] Figure 13 It is a diagram of terminal 1 sending a file to terminal 2, and the file is forwarded by a multimedia content storage function on a satellite provided by an embodiment of the present disclosure;

[0112] Figure 14 A schematic diagram of a message sending device provided by an embodiment of the present disclosure is shown in FIG. 1.

[0113] Figure 15 A schematic diagram of another message sending device provided by an embodiment of the present disclosure is shown in FIG. 2.

[0114] Figure 16 A schematic diagram of a terminal provided by an embodiment of the present disclosure is shown in FIG. 3.

[0115] Figure 17 A schematic diagram of a network device provided by an embodiment of the present disclosure is shown in FIG. 4. DETAILED DESCRIPTION

[0116] In order to more clearly understand the above-mentioned purposes, features and advantages of the present disclosure, the present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It can be understood that the described embodiments are part of the embodiments of the present disclosure, rather than all the embodiments. The specific embodiments described herein are only used to explain the present disclosure, and not to limit the present disclosure. Based on the described embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present disclosure.

[0117] It should be noted that, in this document, relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action, without necessarily requiring or implying any such actual relationship or order between such entities or actions.

[0118] 5G messages are built based on GSMA (Global System for Mobile communications Association) RCS (Rich Communication Suite) related standards to realize the multimedia of messages, not only supporting multimedia message interaction between individual users, but also enabling industry customers to provide new digital interactive services based on rich media. Compared with the communication software (APP) installed on the terminal, the biggest advantage of 5G messages is that users do not need to download and install the client, and can receive 5G messages through the original short message portal on the terminal such as a mobile phone.

[0119] 5G message services are divided into two categories. One is personal message service, i.e. 5G message service between individual users. The other is industry message service, i.e. 5G message service between industry users and individual users.

[0120] The schematic diagram of the architecture of the 5G message system is shown in FIG. 5. Figure 1

[0121] ​The core functions are a 5G message center and a MaaP (Messaging as a Platform) platform, wherein the 5G message center has functions of 5G message management, distribution, routing, etc., and provides a unified interface between terminals and networks, and includes the following logical function modules.

[0122] An IMS access function is responsible for user 5G message SIP signaling access and 5G message large text and group chat MSRP (Message Session Relay Protocol) media access and forwarding, and internally includes an IMS system logical network element to complete user registration, authentication, message routing functions, and trigger routing to a 5G message processing function module to complete message processing.

[0123] A 5G message processing function processes sending and receiving of personal messages, industry messages, and messages related to enhanced calls, performs session management, and processes message-related business functions.

[0124] A multimedia content storage function is used to store multimedia message files sent by personal users.

[0125] A configuration server is used to store user business-related data such as protocol parameters and business parameters, and a terminal accesses the configuration server to obtain related data to configure the terminal.

[0126] A group chat function includes group chat message functions and group data management. The group chat message function implements distribution of group chat messages. The group data management includes functions of creating a group, inviting others to join the group, deleting a group member, dissolving a group, transferring administrator permissions, setting a group name, setting a group avatar, etc., and stores and manages group chat-related data information such as a group member list, a group name, a group avatar, and a group member identity.

[0127] When using a 5G message service, a terminal first obtains business-related parameters from a configuration server after completing network access, and then initiates an IMS registration process to an obtained access point, and after successful registration, can start 5G message sending and receiving, including personal messages, industry messages, and messages related to enhanced calls.

[0128] The working mode of the 5G message center is storage and forwarding, that is, a calling 5G message center first receives and stores messages from a sending party, and then sends the messages to a receiving party by a called 5G message center. The 5G message processing function of the 5G message center is used to cache messages, and the multimedia content storage function is used to cache media content (i.e., files).

[0129] There are multiple modes for 5G message delivery. For point-to-point messages, the main modes are the pager mode and the large message mode. The pager mode is suitable for messages with less content, which are directly delivered by SIP messages. The large message mode is used to deliver messages with more content, which are delivered by MSRP channels. The network will predefine a specific threshold, and determine which mode to use according to the threshold.

[0130] When transmitting a file of a 5G message, the sender first sends the file to the multimedia content storage function, obtains a file link, and sends it to the receiver. The receiver downloads the file from the storage function according to the link.

[0131] As can be seen from the above system architecture, 5G messages use IMS access functions, and IMS supports multiple access methods, including existing access technologies such as WLAN access and mobile network access (3G / 4G / 5G) and the like. According to the current research of 3GPP, 6G network still uses IMS system. Therefore, 5G messages will still be applicable to the next generation of mobile communication networks.

[0132] For example, in a satellite-ground fusion scenario, as shown in Figure 2 , the terminal can access the network through the base station deployed on the satellite, or access the network through the ground base station. Figure 2 The ground mobile network can be a 4G / 5G system or a future 6G system.

[0133] Figure 3 A flowchart of a message sending method applied to a terminal is provided for the embodiments of the present disclosure. As shown in Figure 3 , the message sending method can include but is not limited to steps 301 to 303:

[0134] In step 301, if the network is accessed based on a satellite, the size of the message is determined.

[0135] Wherein, the satellite-based network access means that the satellite can provide services for the terminal. The message is a to-be-sent message of the terminal, for example, the to-be-sent message is a 5G message.

[0136] In step 302, based on the size of the message and a preset size threshold, the message sending mode is determined.

[0137] Wherein, the preset size threshold is a distinguishing value of different communication modes, and the size of the message received and sent by different communication modes is different.

[0138] When the size of the message is less than or equal to the preset size threshold, it indicates that the to-be-sent message is small, and the first communication mode needs to be used. The first communication mode can be understood as a communication mode for small message transmission. Therefore, the message sending mode can be determined as the message sending mode corresponding to the first communication mode (for example, immediate sending).

[0139] When the size of the message is greater than the preset size threshold, it indicates that the to-be-sent message is large, and the second communication mode needs to be used. The second communication mode can be understood as a communication mode for large message transmission. Therefore, the message sending mode can be determined as the message sending mode corresponding to the second communication mode (for example, deferred sending).

[0140] In step 303, the message is sent based on the message sending mode.

[0141] After determining the message sending mode, if the message sending mode is the message sending mode corresponding to the first communication mode, the message is sent according to the message sending mode corresponding to the first communication mode (for example, immediate sending); if the message sending mode is the message sending mode corresponding to the second communication mode (for example, deferred sending), the message is sent according to the message sending mode corresponding to the second communication mode.

[0142] For example, if the message sending mode is immediate sending, the message is immediately sent through the satellite because the satellite can provide services for the terminal; if the message sending mode is deferred sending, the message is not immediately sent, but is sent through the ground network after the terminal accesses the ground network.

[0143] It can be seen that in the present embodiment, in the satellite access scenario (that is, the terminal accesses the network based on the satellite), the terminal can determine the relationship between the size of the to-be-sent message and the preset size threshold by determining the size of the to-be-sent message; then determine the message sending mode based on the relationship; and then send the message based on the message sending mode, for example, send the message immediately through the satellite, or wait until the terminal accesses the ground network and then send the message through the ground network. The appropriate message sending mode can improve the network performance in the satellite-ground fusion scenario, so that small messages can be sent to the receiver through the satellite faster, and large messages can be sent to the receiver through the ground network more reliably, meeting the transmission requirements of messages of different sizes, thereby improving the user experience of the terminal.

[0144] In addition, when the terminal uses the satellite access network, by determining the message sending mode (immediate sending or deferred sending), when it is determined to be deferred sending, the cost of using the satellite network by the terminal can be reduced.

[0145] In some embodiments, in step 302, the preset size threshold is a value distinguishing between the pager mode and the large message mode. The pager mode and the large message mode are two different communication modes in the Message Session Relay Protocol (MSRP).

[0146] The pager mode and the large message mode are suitable for different communication scenarios and needs. For example, the pager mode is mainly used for sending and receiving small messages, and is suitable for scenarios where instant notification is needed but the message content is short, including short message notification, instant message push, etc. The large message mode is mainly used for sending and receiving large messages. The large message mode usually splits a large message into multiple smaller segments, then sends these segments one by one, and recombines them into a complete message at the receiving end. The large message mode ensures that even if the message content is large, it can be reliably transmitted through the MSRP protocol.

[0147] In step 302, based on the size of the message and the preset size threshold, the message sending mode is determined, including (1) and / or (2) as follows:

[0148] (1) If the size of the message is less than or equal to the preset size threshold, it is determined that the message sending mode is immediate sending.

[0149] If the size of the message is less than or equal to the preset size threshold, it means that the message to be sent is small and needs to use the pager mode, so the message sending mode is determined to be the message sending mode corresponding to the pager mode. In this embodiment, considering that the pager mode is used for sending and receiving small messages, it is determined that the message sending mode corresponding to the pager mode is immediate sending.

[0150] (2) If the size of the message is greater than the preset size threshold, it is determined that the message sending mode is deferred sending.

[0151] If the size of the message is greater than the preset size threshold, it means that the message to be sent is large and needs to use the large message mode, so the message sending mode is determined to be the message sending mode corresponding to the large message mode. In this embodiment, considering that the large message mode is used for sending and receiving large messages, in order to improve the reliability of message transmission, it is determined that the message sending mode corresponding to the large message mode is deferred sending.

[0152] It can be seen that in this embodiment, the relationship between the size of the to-be-sent message and the preset size threshold is determined, and the message sending mode is determined based on the relationship, that is, if the size of the message is less than or equal to the preset size threshold, it is determined that the message sending mode is immediate sending; if the size of the message is greater than the preset size threshold, it is determined that the message sending mode is deferred sending. The transmission requirements of messages of different sizes can be met, that is, small messages can be sent to the receiving party faster to meet the fast transmission requirements of small messages, and large messages can be sent to the receiving party more reliably to meet the reliable transmission requirements of large messages.

[0153] In some embodiments, in step 303, the message is sent based on the message sending mode, including the following (3) and / or (4):

[0154] (3) If the message sending mode is immediate sending, the message is immediately sent through the satellite.

[0155] If the message sending mode is determined to be immediate sending by the above (1), considering the star-ground integration, the message is sent by the mode (3), that is, the message is immediately sent through the satellite.

[0156] (4) If the message sending mode is deferred sending, the message is sent through the ground network after accessing the ground network.

[0157] If the message sending mode is determined to be deferred sending by the above (2), considering the star-ground integration, the message is sent by the mode (4), that is, the terminal waits to access the ground network, and then the message is sent through the ground network.

[0158] It can be seen that in this embodiment, the message is sent based on the message sending mode, for example, the message is immediately sent through the satellite, or the terminal waits to access the ground network and then the message is sent through the ground network. The appropriate message sending mode can improve the network performance in the star-ground integration scenario, so that small messages can be sent to the receiving party through the satellite faster, and large messages can be sent to the receiving party through the ground network more reliably, meeting the transmission requirements of messages of different sizes, thereby improving the terminal user experience.

[0159] In some embodiments, Figure 3 The message sending method shown also includes Figure 3 The following steps (I) and (II) not shown in the above (1) and (2) are included:

[0160] (I) If the message is sent based on the large message mode, a message request is sent to the network device.

[0161] The message request is, for example, an invite message, which is a message defined in a session initiation protocol (SIP) and used to establish a media session between user agents.

[0162] The network device is, for example, an IP multimedia subsystem (IMS) access function, which can be deployed on an access satellite used by the terminal when accessing the network.

[0163] The message response carries information of the message processing function, which is selected by the network device for the terminal and deployed on the satellite.

[0164] In this embodiment, after receiving the invite message, the network device (for example, the IMS access function) selects a message processing function on the satellite that can serve the terminal based on satellite access information of the terminal, and sends the invite message to the message processing function. The satellite access information can be understood as information of an access satellite used by the terminal when accessing the network.

[0165] After receiving the invite message, the message processing function sends a success status code (2XX) (for example, 200 OK) to the IMS access function, indicating that the invite is successful. After receiving the success status code (2XX) sent by the message processing function, the IMS access function sends a message response (that is, an invite response) to the first terminal, and the message response carries information of the message processing function.

[0166] In some embodiments, in step (ii), after receiving the message response sent by the network device, Figure 3 The message sending method shown in the figure further includes the following steps (iii) and (iv) not shown in the figure: Figure 3

[0167] (iii) Establishing a first message transmission channel with the message processing function.

[0168] (iv) Sending a message to the message processing function through the first message transmission channel, and the message is sent to the second terminal by the message processing function.

[0169] ​In the embodiment, the terminal obtains the message processing function information from the message response, and then establishes a first message transmission channel with the message processing function based on the message processing function information. Then, the terminal transmits the message to the message processing function through the first message transmission channel, and the message processing function sends the message (for example, a 5G message) to the second terminal (that is, the message receiving end). Since the message processing function is deployed on the satellite, the embodiment realizes message forwarding on the satellite. Without forwarding through the 5G message system, the number of message transmissions between the satellite and the 5G message system (that is, between the satellite and the ground) is reduced, and the message transmission delay between users is reduced.

[0170] In some embodiments, Figure 3 The message sending method shown further includes Figure 3 The following steps 1 and 2 not shown in the embodiment are as follows:

[0171] Step 1: If the terminal is a message receiving end, a second message transmission channel is established with the message processing function deployed on the satellite.

[0172] In the embodiment, the terminal acts as a message receiving end. When the message sending end sends a message (for example, a 5G message) to the terminal in a large message mode, the message sending end establishes a first message transmission channel with the message processing function, and the message processing function also needs to establish a message transmission channel (that is, a second message transmission channel) with the terminal to send the message to the terminal.

[0173] Step 2: Receive the message sent by the message processing function through the second message transmission channel.

[0174] In the embodiment, after the terminal establishes the second message transmission channel with the message processing function, the terminal receives the message sent by the message processing function through the second message transmission channel.

[0175] As can be seen, in the embodiment, the second message transmission channel is established with the message processing function, so that the message sent by the message processing function is received through the second message transmission channel. Since the message processing function is deployed on the satellite, the message processing function sends the message to the terminal, realizes direct forwarding of the message on the satellite, does not need to forward through the 5G message system, reduces the number of message transmissions between the satellite and the 5G message system (that is, between the satellite and the ground), and reduces the message transmission delay between users.

[0176] In some embodiments, Figure 3 The message sending method shown further includes Figure 4 The following steps A to C not shown in the embodiment are as follows:

[0177] Step A: Receive the address of the multimedia content storage function sent by the network device, and the multimedia content storage function is a multimedia content storage function deployed on the satellite selected by the network device for the terminal.

[0178] In this embodiment, the network device is a configuration server for example. The terminal can obtain configuration information from the configuration server, and the configuration information includes the address of the multimedia content storage function.

[0179] The configuration server can be deployed on the ground or on a satellite accessed by the terminal. The terminal sends a configuration obtaining request to the configuration server. The configuration server selects a multimedia content storage function that can serve the terminal based on the satellite access information of the terminal, and sends the address of the multimedia content storage function to the terminal in response to the configuration obtaining request.

[0180] Step B: upload the file to the multimedia content storage function based on the address of the multimedia content storage function.

[0181] In this embodiment, after the terminal obtains the address of the multimedia content storage function, it can upload the file to be transmitted to the multimedia content storage function. The multimedia content storage function then sends the file link of the file to the first terminal.

[0182] Step C: receive the file link of the file sent by the multimedia content storage function.

[0183] In this embodiment, after the terminal receives the file link of the file to be sent, it can carry the file link in a message (i.e. a message to be sent), and then send the message using the aforementioned steps (three) and (four) to realize the sending of the file link. The second terminal also extracts the file link from the message when receiving the message, so as to obtain the corresponding file based on the file link.

[0184] Figure 4 A flowchart of a message sending method applied to a network device is provided for the embodiments of the present disclosure. As shown in Figure 4 the message sending method can include but is not limited to steps 401 to 403:

[0185] In step 401, if the terminal receiving the message is based on a satellite access network, the size of the message is determined.

[0186] The terminal is based on a satellite access network, which means that the satellite can provide services to the terminal. The message is a to-be-sent message of the network device, for example, the to-be-sent message is a 5G message. When the to-be-sent message is a 5G message, the network device is a device of a 5G message system.

[0187] In step 402, the message sending mode is determined based on the size of the message and a preset size threshold.

[0188] The preset size threshold is a distinguishing value of different communication modes, and the size of the message received and sent by different communication modes is different.

[0189] When the size of the message is less than or equal to the preset size threshold, it indicates that the to-be-sent message is small, and the first communication mode needs to be used. The first communication mode can be understood as a communication mode for small message transmission. Therefore, it can be determined that the message sending mode is the message sending mode corresponding to the first communication mode (for example, immediate sending).

[0190] When the size of the message is greater than the preset size threshold, it indicates that the to-be-sent message is large, and the second communication mode needs to be used. The second communication mode can be understood as a communication mode for large message transmission. Therefore, it can be determined that the message sending mode is the message sending mode corresponding to the second communication mode (for example, deferred sending).

[0191] In step 403, the message is sent based on the message sending mode.

[0192] After determining the message sending mode, if the message sending mode is the message sending mode corresponding to the first communication mode (for example, immediate sending), the message is sent in the message sending mode corresponding to the first communication mode; if the message sending mode is the message sending mode corresponding to the second communication mode (for example, deferred sending), the message is sent in the message sending mode corresponding to the second communication mode.

[0193] For example, if the message sending mode is immediate sending, the message is immediately sent through the satellite because the satellite can provide services for the terminal; if the message sending mode is deferred sending, the message is not immediately sent, but is sent through the ground network after the terminal accesses the ground network.

[0194] It can be seen that in the present embodiment, in the satellite access scenario (that is, the terminal accesses the network based on the satellite), the network device can determine the relationship between the size of the to-be-sent message and the preset size threshold by determining the size of the to-be-sent message; then determine the message sending mode based on the relationship; and send the message based on the message sending mode, for example, send the message immediately through the satellite, or wait for the terminal to access the ground network and then send the message through the ground network. The appropriate message sending mode can improve the network performance in the star-ground fusion scenario, so that small messages can be sent to the receiver through the satellite faster, and large messages can be sent to the receiver through the ground network more reliably, meeting the transmission requirements of messages of different sizes, thereby improving the terminal user experience.

[0195] In some embodiments, in step 402, the preset size threshold is a distinguishing value between the paging mode and the large message mode. The paging mode and the large message mode are two different communication modes in the message session relay protocol (MSRP). The paging mode and the large message mode are suitable for different communication scenarios and needs. For example, the paging mode is mainly used for the sending and receiving of small messages, and is suitable for scenarios where instant notification is needed but the message content is short, including short message notification, instant message push, etc. The large message mode is mainly used for the sending and receiving of large messages. The large message mode usually splits a large message into multiple smaller segments, then sends these segments one by one, and recombines them into a complete message at the receiving end. The large message mode ensures that even if the message content is large, it can be reliably transmitted through the MSRP protocol.

[0196] In step 402, based on the size of the message and the preset size threshold, the message sending mode is determined, including (1) and / or (2) as follows:

[0197] (1) If the size of the message is less than or equal to the preset size threshold, it is determined that the message sending mode is immediate sending.

[0198] Wherein, if the size of the message is less than or equal to the preset size threshold, it means that the to-be-sent message is small and needs to use the paging mode, and then it is determined that the message sending mode is the message sending mode corresponding to the paging mode. In this embodiment, considering that the paging mode is used for the sending and receiving of small messages, it is determined that the message sending mode corresponding to the paging mode is immediate sending.

[0199] (2) If the size of the message is greater than the preset size threshold, it is determined that the message sending mode is deferred sending.

[0200] Wherein, if the size of the message is greater than the preset size threshold, it means that the to-be-sent message is large and needs to use the large message mode, and then it is determined that the message sending mode is the message sending mode corresponding to the large message mode. In this embodiment, considering that the large message mode is used for the sending and receiving of large messages, in order to improve the reliability of message transmission, it is determined that the message sending mode corresponding to the large message mode is deferred sending.

[0201] As can be seen, in this embodiment, by judging the relationship between the size of the to-be-sent message and the preset size threshold, the message sending mode is determined based on the relationship, that is, if the size of the message is less than or equal to the preset size threshold, it is determined that the message sending mode is immediate sending; if the size of the message is greater than the preset size threshold, it is determined that the message sending mode is deferred sending. It can meet the transmission needs of messages of different sizes, that is, small messages can be sent to the receiving party faster, meeting the fast transmission needs of small messages, and large messages can be sent to the receiving party more reliably, meeting the reliable transmission needs of large messages.

[0202] In some embodiments, in step 403, the message is sent based on the message sending mode, including (3) and / or (4) as follows:

[0203] (3) If the message sending mode is immediate sending, the message is sent immediately through the satellite.

[0204] If the message sending mode is determined to be immediate sending according to (1) above, considering the satellite-ground integration, the message is sent in the mode of (3), that is, the message is sent immediately through the satellite.

[0205] (4) If the message sending mode is deferred sending, the message is sent through the ground network after the terminal accesses the ground network.

[0206] If the message sending mode is determined to be deferred sending according to (2) above, considering the satellite-ground integration, the message is sent in the mode of (4), that is, the terminal waits to access the ground network, and then the message is sent through the ground network.

[0207] It can be seen that, in the embodiment, the message is sent based on the message sending mode, for example, the message is sent immediately through the satellite, or the terminal waits to access the ground network, and then the message is sent through the ground network. The appropriate message sending mode can improve the network performance in the satellite-ground integration scenario, so that small messages can be sent to the receiver through the satellite faster, and large messages can be sent to the receiver through the ground network more reliably, meeting the transmission requirements of messages of different sizes, thereby improving the terminal user experience.

[0208] In some embodiments, Figure 4 The message sending method shown also includes Figure 4 The following steps (I) and (II) not shown in the message sending method:

[0209] (I) When a message request sent by a terminal in a large message mode is received, a message processing function deployed on a satellite is selected for the terminal.

[0210] The message request is, for example, an invite message. In the embodiment, after the network device receives the invite message, a message processing function deployed on the satellite and capable of serving the terminal is selected based on satellite access information of the terminal. The satellite access information can be understood as information of an access satellite used by the terminal when accessing the network.

[0211] (II) A message response is sent to the terminal, and the message response carries information of the message processing function.

[0212] In this embodiment, after the network device selects a message processing function deployed on a satellite for the terminal, it sends an invitation message to the message processing function. Upon receiving the invitation message, the message processing function sends a success status code (2XX), such as 200 OK, to the network device, indicating that the invitation has been successful. After receiving the success status code (2XX) from the message processing function, the network device sends a message response (i.e., an invitation response) to the terminal. The message response carries information about the message processing function, enabling the terminal to send messages to the message receiving end through the message processing function.

[0213] In some embodiments, Figure 4 The message sending method shown also includes Figure 5 The following steps are not shown in the diagram:

[0214] Based on the satellite access information of the terminal, the address of the multimedia content storage function deployed on the satellite is sent to the terminal.

[0215] In this embodiment, the network device is, for example, a configuration server. The configuration server can be deployed on the ground or on the terminal's access satellite. The terminal sends a configuration retrieval request to the configuration server. In response to the configuration retrieval request, the configuration server, based on the terminal's satellite access information, selects a multimedia content storage function that can serve the terminal and sends the address of the multimedia content storage function to the terminal.

[0216] Figure 5 This is a flowchart illustrating a message sending method applied to a message sender, as provided in an embodiment of this disclosure. The message sending method is applied to a first terminal. The first terminal can be understood as the message sender, and the second terminal as the message receiver. Satellites are divided into two categories: access satellites and central satellites. Access satellites provide network access services to the terminal, while central satellites communicate with other central satellites and / or access satellites. The first terminal and the second terminal access the network through the same or different access satellites.

[0217] like Figure 5 As shown, the message sending method may include, but is not limited to, steps 501 and 502:

[0218] In step 501, a first message transmission channel is established with the first message processing function, which is deployed on the first satellite.

[0219] In this embodiment, the to-be-sent message of the first terminal is a 5G message, the first message processing function is a 5G message processing function, and the first satellite is a central satellite. Currently, the sending and receiving of the 5G message needs to be forwarded by the 5G message system, that is, in the star-ground fusion scenario, the 5G message of the message sending end needs to be sent to the 5G message system by the satellite, and then forwarded to the message receiving end by the 5G message system. In this embodiment, the 5G message processing function in the 5G message system is deployed on the first satellite, and the forwarding of the 5G message is directly completed on the first satellite, without the need for forwarding through the 5G message system, thereby reducing the number of message transmissions between the satellite and the 5G message system (i.e., between the star and the ground) and reducing the message sending and receiving delay between users.

[0220] In step 502, a first message is sent to the first message processing function through a first message transmission channel. The first message is sent to a second terminal by the first message processing function.

[0221] In this embodiment, in order to complete the message forwarding on the first satellite, the first terminal (i.e., the message sending end) needs to establish a first message transmission channel with the first message processing function deployed on the first satellite, so as to transmit the first message (i.e., the to-be-sent message) to the first message processing function through the first message transmission channel, and then forward the first message to the second terminal (i.e., the message receiving end) by the first message processing function, thereby completing the forwarding of the first message on the first satellite.

[0222] As can be seen, in this embodiment, the first message transmission channel is established with the first message processing function, so as to transmit the first message (i.e., the to-be-sent message) to the first message processing function. Since the first message processing function is deployed on the first satellite, the first message processing function sends the first message to the second terminal (i.e., the message receiving end), thereby achieving the direct forwarding of the first message on the first satellite, without the need for forwarding through the 5G message system, thereby reducing the number of message transmissions between the satellite and the 5G message system (i.e., between the star and the ground) and reducing the message sending and receiving delay between users.

[0223] In some embodiments, in step 501, the first message transmission channel is established with the first message processing function, including the following (1) to (3):

[0224] (1) initiating a first invitation message.

[0225] The first invitation (Invite) message is a message defined by the Session Initiation Protocol (SIP) and is used to establish a media session between user agents.

[0226] In the embodiment, the first terminal (i.e., a message sending terminal) initiates a first invitation message to a first IP Multimedia Subsystem (IMS) access function. The first IMS access function is deployed on an access satellite used by the first terminal when accessing a network.

[0227] After receiving the first invitation message, the first IMS access function selects a first message processing function capable of serving the first terminal based on satellite access information of the first terminal, and sends the first invitation message to the first message processing function. The satellite access information can be understood as information of the access satellite used by the first terminal when accessing the network.

[0228] After receiving the first invitation message, the first message processing function sends a success status code (2XX) such as 200 OK to the first IMS access function, indicating that the invitation is successful.

[0229] After receiving the success status code (2XX) sent by the first message processing function, the first IMS access function sends a first invitation response to the first terminal.

[0230] (2) Obtain the first invitation response, and the first invitation response carries information of the first message processing function.

[0231] In the embodiment, the first terminal receives the first invitation response sent by the first IMS access function, and the first invitation response is a success status code (2XX) such as 200 OK, indicating that the invitation is successful.

[0232] (3) Establish a first message transmission channel with the first message processing function based on the information of the first message processing function.

[0233] In the embodiment, the first terminal obtains the information of the first message processing function from the first invitation response, and establishes a first message transmission channel with the first message processing function based on the information of the first message processing function, where the first message transmission channel is a Message Session Relay Protocol (MSRP) transmission channel.

[0234] In some embodiments, Figure 5 The message sending method shown further includes Figure 5 The following steps (1) to (3) not shown in the embodiment:

[0235] (1) Obtain an address of a multimedia content storage function, and the multimedia content storage function is deployed on a satellite.

[0236] The satellite in which the multimedia content storage function is deployed is a center satellite, rather than an access satellite. In some embodiments, the multimedia content storage function and the first message processing function are both deployed on the first satellite, or the multimedia content storage function is deployed on another center satellite, i.e., the multimedia content storage function and the first message processing function are deployed on different center satellites.

[0237] (ii) uploading the file to the multimedia content storage function based on the address of the multimedia content storage function.

[0238] In this embodiment, after obtaining the address of the multimedia content storage function, the first terminal can upload the file to be transmitted to the multimedia content storage function. The multimedia content storage function sends a file link of the file to the first terminal.

[0239] (iii) receiving the file link of the file sent by the multimedia content storage function.

[0240] In this embodiment, after receiving the file link of the file to be sent, the first terminal can carry the file link in the first message (i.e., the message to be sent), and then send the first message by using the steps shown in FIG. 8, to realize the sending of the file link. The second terminal receives the first message and extracts the file link from the first message at the same time, thereby obtaining the corresponding file based on the file link, and realizing the transmission of the file from the first terminal to the second terminal. Figure 6

[0241] In some embodiments, in step (i), obtaining the address of the multimedia content storage function comprises:

[0242] obtaining configuration information from a configuration server, the configuration information comprising the address of the multimedia content storage function, the multimedia content storage function being selected by the configuration server based on satellite access information of the first terminal and capable of serving the first terminal.

[0243] The configuration server can be deployed on the ground or on the access satellite of the first terminal. The first terminal sends a configuration obtaining request to the configuration server. The configuration server selects the multimedia content storage function capable of serving the first terminal based on the satellite access information of the first terminal in response to the configuration obtaining request, and sends the address of the multimedia content storage function to the first terminal.

[0244] Figure 6 ​A flowchart of a message receiving method is provided for the embodiments of the present disclosure, which is applied to a second terminal. The first terminal can be understood as a message sending terminal, and the second terminal is a message receiving terminal. Satellites are divided into two categories, one is an access satellite, and the other is a center satellite. The access satellite is used to provide network access services for terminals, and the center satellite is used to communicate with other center satellites and / or access satellites. The first terminal and the second terminal access the network through the same or different access satellites.

[0245] As shown in Figure 6 , the message receiving method can include but is not limited to steps 601 and 602:

[0246] In step 601, a second message transmission channel is established with a first message processing function, and the first message processing function is deployed on a first satellite.

[0247] In this embodiment, the message received by the second terminal is a 5G message. The first message processing function is a 5G message processing function, and the first satellite is a center satellite. The second terminal receiving the 5G message no longer needs to be forwarded by the 5G message system, but is forwarded by the first message processing function, which realizes the direct forwarding of the 5G message by the satellite, reduces the number of message transmissions between the satellite and the 5G message system (i.e., between the satellite and the ground), and reduces the message transmission delay between users.

[0248] In step 602, a first message sent by the first message processing function through the second message transmission channel is received.

[0249] In this embodiment, after the second terminal establishes the second message transmission channel with the first message processing function, the second terminal receives the first message sent by the first message processing function through the second message transmission channel.

[0250] As can be seen, in this embodiment, the second message transmission channel is established with the first message processing function, so that the first message sent by the first message processing function is received through the second message transmission channel. Since the first message processing function is deployed on the first satellite, the first message processing function sends the first message to the second terminal (i.e., the message receiving terminal), which realizes the direct forwarding of the first message on the first satellite without forwarding through the 5G message system, reduces the number of message transmissions between the satellite and the 5G message system (i.e., between the satellite and the ground), and reduces the message transmission delay between users.

[0251] In some embodiments, in step 601, the second message transmission channel is established with the first message processing function, including the following (1) and (2):

[0252] (1) obtaining a second invitation message, the second invitation message carrying information of the first message processing function.

[0253] In the embodiment, the second terminal receives a second INVITE message sent by the second IMS access function, wherein the second INVITE message is an INVITE message sent by the first message processing function to the second IMS access function after receiving the first message sent by the first terminal; and the second IMS access function is deployed on an access satellite used by the second terminal when accessing the network.

[0254] After obtaining the second INVITE message, the second terminal sends a success status code (2XX) such as 200 OK to the second IMS access function, indicating that the invitation is successful. The second IMS access function then sends the 2XX to the first message processing function.

[0255] (2) Based on the information of the first message processing function, a second message transmission channel is established with the first message processing function.

[0256] In the embodiment, the second terminal obtains the information of the first message processing function from the second INVITE message, and based on the information of the first message processing function, a second message transmission channel is established with the first message processing function, wherein the second message transmission channel is a message session relay protocol (MSRP) transmission channel.

[0257] In some embodiments, in step 602, the first message carries a file link. Figure 6 The illustrated message receiving method further includes Figure 5 The following steps are not shown in the embodiment:

[0258] Based on the file link, a file is obtained from the multimedia content storage function, and the multimedia content storage function is deployed on a satellite.

[0259] In some embodiments, the satellite on which the multimedia content storage function is deployed is a central satellite rather than an access satellite. In some embodiments, the multimedia content storage function and the first message processing function are both deployed on the first satellite, or the multimedia content storage function is deployed on another central satellite, i.e., the multimedia content storage function and the first message processing function are deployed on different central satellites.

[0260] In the embodiment, the second terminal extracts the file link from the first message, and then accesses the multimedia content storage function based on the file link to obtain the file corresponding to the file link from the multimedia content storage function. The file link is generated by the multimedia content storage function after receiving the file uploaded by the first terminal. The multimedia content storage function sends the file link to the first terminal. After receiving the file link of the file to be sent, the first terminal carries the file link in the first message (i.e., the message to be sent), and then uses the file link to send the file to be sent to the second terminal. Figure 7The illustrated step sends the first message, realizes sending of the file link. The second terminal extracts the file link from the first message at the same time of receiving the first message, thereby obtaining the corresponding file based on the file link, realizing the transmission process of the file from the first terminal to the second terminal.

[0261] It can be seen that the transmission process of the file from the first terminal to the second terminal is completed by the multimedia content storage function on the satellite, without the ground network forwarding, thereby reducing the file transmission delay between users.

[0262] Figure 7 A flowchart of a message processing method provided by the embodiment of the disclosure is shown, and the message processing method is applied to a first message processing function. The first terminal can be understood as a message sending end, and the second terminal is a message receiving end. The satellites are divided into two categories, one is an access satellite, and the other is a center satellite. The access satellite is used to provide network access service for the terminal, and the center satellite is used to communicate with other center satellites and / or access satellites. The first terminal and the second terminal access the network through the same or different access satellites. The first message processing function is deployed on the first satellite, and the first satellite is a center satellite.

[0263] As shown in the Figure 7 The message processing method can include but is not limited to steps 701 and 702.

[0264] In step 701, a first message transmission channel is established with the first terminal.

[0265] In the embodiment, the first message processing function is a 5G message processing function, and the to-be-sent message of the first terminal is a 5G message. At present, the transmission of the 5G message needs to be forwarded by the 5G message system, that is, in the star-ground fusion scenario, the 5G message of the message sending end needs to be sent to the 5G message system by the satellite, and then forwarded to the message receiving end by the 5G message system. In the embodiment, the 5G message processing function in the 5G message system is deployed on the first satellite, and the forwarding of the 5G message is directly completed on the first satellite, without the need of forwarding through the 5G message system, thereby reducing the number of message transmissions between the satellite and the 5G message system (i.e., between the star and the ground), and reducing the message transmission delay between users.

[0266] In step 702, the first message sent by the first terminal is received through the first message transmission channel, and the first message is sent to the second terminal by the first message processing function.

[0267] In this embodiment, in order to realize the message forwarding on the first satellite, the first terminal (i.e., the message sending end) needs to establish a first message transmission channel with the first message processing function deployed on the first satellite, so as to transmit the first message (i.e., the to-be-sent message) to the first message processing function through the first message transmission channel, and then forward the first message to the second terminal (i.e., the message receiving end) by the first message processing function, thereby realizing the forwarding of the first message on the first satellite.

[0268] As can be seen, in this embodiment, the first message processing function establishes the first message transmission channel with the first terminal, so as to receive the first message sent by the first terminal through the first message transmission channel. Since the first message processing function is deployed on the first satellite, the first message processing function sends the first message to the second terminal (i.e., the message receiving end), thereby realizing the direct forwarding of the first message on the first satellite without the need of forwarding through the 5G message system, reducing the number of message transmissions between the satellite and the 5G message system (i.e., between the satellite and the ground), and reducing the message transmission delay between users.

[0269] In some embodiments, in step 701, the first message transmission channel is established with the first terminal, including the following (1) to (3):

[0270] (1) Obtain a first invitation message.

[0271] The first invitation (Invite) message is a message defined in the Session Initiation Protocol (SIP), which is used to establish a media session between user agents.

[0272] In this embodiment, the first terminal (i.e., the message sending end) initiates the first invitation message to the first IMS access function. The first IMS access function is deployed on the access satellite used by the first terminal when accessing the network.

[0273] After receiving the first invitation message, the first IMS access function selects the first message processing function capable of serving the first terminal based on the satellite access information of the first terminal, and sends the first invitation message to the first message processing function. The satellite access information can be understood as the information of the access satellite used by the first terminal when accessing the network.

[0274] (2) Send a first invitation response, and the first response message carries the information of the first message processing function.

[0275] In this embodiment, after receiving the first invitation message, the first message processing function sends a first invitation response to the first IMS access function. The first invitation response is a success status code (2XX), for example, 200 OK, indicating that the invitation is successful. After receiving the first invitation response sent by the first message processing function, the first IMS access function sends the first invitation response to the first terminal.

[0276] (3) based on the first message processing function information, establishing a first message transmission channel with the first terminal.

[0277] In this embodiment, the first terminal obtains the first message processing function information from the first invitation response, and establishes a first message transmission channel with the first message processing function based on the first message processing function information, wherein the first message transmission channel is a message session relay protocol (MSRP) transmission channel.

[0278] In some embodiments, in step 702, after receiving the message sent by the first terminal through the first message transmission channel, Figure 7 The message processing method shown also includes Figure 8 Steps 703 and 704 not shown in the above embodiment:

[0279] 703. Establish a second message transmission channel with the second terminal.

[0280] 704. Send the first message to the second terminal through the second message transmission channel.

[0281] In this embodiment, after the first message processing function establishes a second message transmission channel with the second terminal, the first message is sent to the second terminal through the second message transmission channel. Since the first message processing function is deployed on the first satellite, the first message processing function sends the first message to the second terminal (i.e. the message receiving end), which realizes direct forwarding of the first message on the first satellite, without the need for forwarding through the 5G message system, reduces the number of message transmissions between the satellite and the 5G message system (i.e. between the satellite and the ground), and reduces the message transmission delay between users.

[0282] In some embodiments, in step 703, establishing a second message transmission channel with the second terminal includes the following (1) and (2):

[0283] (1) If the second terminal is based on a satellite access network, initiate a second invitation message to the second terminal, and the second invitation message carries the first message processing function information.

[0284] In this embodiment, after receiving the first message sent by the first terminal, the first message processing function sends a second invitation message to the second IMS access function, wherein the second IMS access function is deployed on the access satellite used when the second terminal accesses the network. The second IMS access function sends the second invitation message to the second terminal.

[0285] After the second terminal obtains the second invitation message, it sends a success status code (2XX) such as 200 OK to the second IMS access function, indicating that the invitation has been successful. The second IMS access function then sends 2XX to the first message processing function.

[0286] (2) Based on the information from the first message processing function, establish a second message transmission channel with the second terminal.

[0287] In this embodiment, the second terminal obtains information about the first message processing function from the second invitation message, and establishes a second message transmission channel with the first message processing function based on the information about the first message processing function. The second message transmission channel is a Message Session Relay Protocol (MSRP) transmission channel.

[0288] Example 1: The process of a terminal initiating a 5G message in a satellite access scenario

[0289] This embodiment illustrates that when a terminal uses satellite access and a user sends a 5G message, the terminal determines the sending method based on the size of the 5G message sent by the user and a predetermined threshold.

[0290] like Figure 9 As shown, terminal 1 accesses the network via satellite and enables 5G messaging.

[0291] When a user initiates a 5G messaging (personal or industry message) service using terminal 1, the terminal detects that it is currently using satellite access. The terminal checks the size of the 5G message sent by the user. If it exceeds a certain threshold, the user can choose to send it immediately or postpone sending it and send it later when accessing the network from the ground.

[0292] Specifically, as one implementation, the aforementioned threshold can be set as a distinguishing value between paging mode and big message mode. That is, when the terminal sends a message in paging mode, it chooses to send the 5G message immediately, while when using big message mode, it postpones the sending and sends it later when accessing the network from the ground.

[0293] Example 2: The process of a terminal receiving 5G messages in a satellite access scenario.

[0294] This embodiment illustrates how, when a network (5G messaging system) sends a called 5G message to a called terminal that is using satellite access, it determines the size of the 5G message and decides whether to send the 5G message immediately or send it to the user via terrestrial access later.

[0295] like Figure 10 As shown, terminal 2 accesses the network via satellite and enables 5G messaging.

[0296] The 5G message sent to the called party on terminal 2 reaches its home 5G messaging system. The 5G messaging system obtains information about the satellite access currently being used by terminal 2. Then, the 5G messaging system checks the size of the 5G message to be transmitted and decides, based on a specific threshold, whether to send the 5G message to the called party immediately or to obtain the called party's terrestrial access information later.

[0297] In particular, as an implementation manner, the threshold value can be a value distinguishing the paging mode and the large message mode, that is, when the 5G message system uses the paging mode to send a message, the 5G message is immediately sent to a called party, and when the large message mode is used, the sending of the 5G message is delayed.

[0298] Embodiment three: on-satellite direct forwarding of 5G messages

[0299] The sending and receiving of 5G messages need to be forwarded by the 5G system, and this embodiment proposes that part of the functions of the 5G message system (that is, the 5G message processing function and the multimedia content storage function) are deployed on the satellite, and the forwarding of the message is directly completed on the satellite, thereby reducing the number of transmissions between the satellite and the ground and reducing the message sending and receiving delay between users.

[0300] As shown in FIG. 1, terminals 1 and 2 access the network through a satellite and enable the 5G message function. Figure 11

[0301] When the 5G message is deployed on the ground, the sending of the message between the terminals is as shown in the following figure.

[0302] The sender terminal 1 sends the message to the ground network through the service satellite, the ground network delivers the message to the receiver terminal 2 through the satellite, and the delivery of the message passes through 4 satellite-ground transmissions as shown in the figure.

[0303] In order to reduce the occupation of the satellite-ground transmission resources, part of the network functions can be deployed on the satellite, and the 5G message between the users is forwarded on the satellite.

[0304] The 5G message processing function and the multimedia content storage function in the 5G message system are responsible for the storage and forwarding of the message or the multimedia file, and therefore, in order to realize the forwarding of the message or the file on the satellite, the two functions need to be deployed on the satellite. Meanwhile, the IMS system used by the 5G message and the user plane of the communication core network (such as the UPF of the 5G system) also need to be deployed on the satellite.

[0305] The actual deployment of the function network element can have multiple modes, Figure 12 FIG. 1 is a schematic diagram of the deployment of a function network element, the base station and the user plane function are deployed on each access satellite, the 5G message processing function and the multimedia content storage function are deployed on a central satellite, and the central satellite interworks with multiple access satellites through an inter-satellite link.

[0306] The terminal 1 sends the 5G message to the terminal 2, the 5G message processing functions of the two terminals are on the satellite, and the 5G message is forwarded through the 5G message processing function on the satellite. Figure 13 In the large message mode, the process of forwarding the message on the satellite is described.

[0307] ​1. Terminal 1 wants to send a large message, it initiates an Invite message to the network. IMS access function selects the on-board 5G message processing function that can serve the terminal according to the satellite access information of the terminal.

[0308] 2. On-board 5G message processing function responds with a 2xx success message after receiving the request. Terminal and on-board 5G message processing function establish MSRP transmission channel.

[0309] 3. Terminal 1 sends 5G message to on-board 5G message processing function through the MSRP channel.

[0310] 4. On-board 5G message processing function successfully receives the 5G message.

[0311] 5. On-board 5G message processing function judges that it can serve the called terminal 2, and initiates an Invite request to terminal 2 through the satellite access.

[0312] 6. Terminal 2 successfully responds and establishes an MSRP transmission channel with the on-board 5G message processing function.

[0313] 7. On-board 5G message processing function sends 5G message to terminal 2 through the MSRP channel.

[0314] 8. Terminal 2 successfully receives the 5G message.

[0315] Figure 14 To send a file from terminal 1 to terminal 2, the file is forwarded through the on-board multimedia content storage function.

[0316] A. The sender terminal 1 obtains configuration from the configuration server, and the configuration server sends the address of the on-board multimedia content storage function to the terminal according to the satellite access information of the terminal.

[0317] B. Terminal 1 uploads the file to the on-board multimedia content storage function according to the obtained address.

[0318] C. The on-board multimedia content storage function returns the file link.

[0319] D-E. Terminal 1 sends the file link to terminal 2 in the form of 5G message.

[0320] F-G. Terminal 2 downloads the file from the on-board multimedia content storage function.

[0321] It should be noted that, for the foregoing method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art can understand that the embodiments of the present disclosure are not limited by the action sequence described, because according to the embodiments of the present disclosure, certain steps can be performed in other sequences or simultaneously. In addition, those skilled in the art can understand that the embodiments described in the specification all belong to optional embodiments.

[0322] Figure 14 A schematic diagram of a message sending device provided by the embodiments of the present disclosure is applied to a terminal, as shown in the figure, the message sending device includes but is not limited to: a first determination unit 1401, a second determination unit 1402 and a sending unit 1403, and the specific description is as follows: Figure 14

[0323] The first determination unit 1401 is configured to determine the size of the message if the satellite access network is based on.

[0324] The second determination unit 1402 is configured to determine the message sending mode based on the size of the message and the preset size threshold.

[0325] The sending unit 1403 is configured to send the message based on the message sending mode.

[0326] In some embodiments, the preset size threshold is the distinguishing value of the paging mode and the large message mode.

[0327] In some embodiments, the second determination unit 1402 is configured to:

[0328] If the size of the message is less than or equal to the preset size threshold, determine that the message sending mode is immediate sending; and / or,

[0329] If the size of the message is greater than the preset size threshold, determine that the message sending mode is deferred sending.

[0330] In some embodiments, the sending unit 1403 is configured to:

[0331] If the message sending mode is immediate sending, immediately send the message through the satellite; and / or,

[0332] If the message sending mode is deferred sending, send the message through the ground network after accessing the ground network.

[0333] In some embodiments, the sending unit 1403 is further configured to:

[0334] If the message is sent based on the large message mode, send a message request to the network device;

[0335] The message sending device further includes a first receiving unit configured to: ​

[0336] receive a message response sent by the network device, the message response carrying information of the message processing function, the message processing function being selected by the network device for the terminal and deployed on the satellite.

[0337] In some embodiments, the message sending apparatus further includes:

[0338] The first establishing unit is configured to, after the first receiving unit receives the message response sent by the network device, establish a first message transmission channel with the message processing function.

[0339] The sending unit 1403 is further configured to send a message to the message processing function through the first message transmission channel, the message being sent by the message processing function to the second terminal.

[0340] In some embodiments, the message sending apparatus further includes:

[0341] The second establishing unit is configured to, if the terminal is a message receiving end, establish a second message transmission channel with the message processing function deployed on the satellite.

[0342] The second receiving unit is configured to receive a message sent by the message processing function through the second message transmission channel.

[0343] In some embodiments, the message sending apparatus further includes:

[0344] The third receiving unit is configured to receive an address of a multimedia content storage function sent by the network device, the multimedia content storage function being selected by the network device for the terminal and deployed on the satellite.

[0345] The uploading unit is configured to upload a file to the multimedia content storage function based on the address of the multimedia content storage function.

[0346] The third receiving unit is further configured to receive a file link of the file sent by the multimedia content storage function.

[0347] The message carries the file link.

[0348] Figure 3 Details of each embodiment of the message sending apparatus shown can be referred to Figure 15 Each embodiment of the message sending method shown will not be described again to avoid repetition.

[0349] Figure 15 Another schematic diagram of a message sending apparatus provided by an embodiment of the present disclosure is shown, which is applied to a network device, such as Figure 15 The message sending apparatus includes but is not limited to a first determining unit 1501, a second determining unit 1502, and a sending unit 1503, and specific descriptions are as follows:

[0350] The first determining unit 1501 is configured to determine the size of the message if the terminal receiving the message accesses the network based on the satellite.

[0351] The second determining unit 1502 is configured to determine the message sending mode based on the size of the message and a preset size threshold.

[0352] The sending unit 1503 is configured to send the message based on the message sending mode.

[0353] In some embodiments, the preset size threshold is a value distinguishing the paging mode from the large message mode.

[0354] In some embodiments, the second determining unit 1502 is configured to:

[0355] if the size of the message is less than or equal to the preset size threshold, determine the message sending mode as immediate sending; and / or,

[0356] if the size of the message is greater than the preset size threshold, determine the message sending mode as deferred sending.

[0357] In some embodiments, the sending unit 1503 is configured to:

[0358] if the message sending mode is immediate sending, send the message immediately through the satellite; and / or,

[0359] if the message sending mode is deferred sending, send the message through the ground network after accessing the ground network.

[0360] In some embodiments, the message sending apparatus further comprises:

[0361] The receiving unit is configured to select a message processing function deployed on the satellite for the terminal when receiving a message request sent by the large message mode of the terminal;

[0362] The sending unit 1503 is further configured to send a message response to the terminal, and the message response carries information of the message processing function.

[0363] In some embodiments, the sending unit 1503 is further configured to:

[0364] send the address of the multimedia content storage function deployed on the satellite to the terminal according to the satellite access information of the terminal.

[0365] Figure 4 Details of each embodiment of the message sending apparatus shown can be referred to Figure 16 Each embodiment of the message sending method shown will not be repeated here to avoid repetition.

[0366] The embodiments of the present disclosure further provide a processor-readable storage medium, which stores a program for causing a processor to perform the steps of the message sending method. The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to a magnetic storage (such as a floppy disk, a hard disk, a magnetic tape, a magneto-optical disk (MO), etc.), an optical storage (such as a CD, a DVD, a BD, a HVD, etc.), and a semiconductor memory (such as a ROM, an EPROM, an EEPROM, a non-volatile memory (NAND FLASH), a solid state disk (SSD)), etc.

[0367] Figure 16 A schematic diagram of a terminal provided by an embodiment of the present application is shown in FIG. 1, which comprises a memory 1601, a transceiver 1602, and a processor 1603. Figure 16

[0368] The memory 1601 is configured to store a computer program; the transceiver 1602 is configured to transceive data under the control of the processor 1603; and the processor 1603 is configured to read the computer program in the memory 1601 and perform the following steps:

[0369] If the satellite access network is used, the size of the message is determined.

[0370] Based on the size of the message and a preset size threshold, the message sending mode is determined.

[0371] Based on the message sending mode, the message is sent.

[0372] In some embodiments, the preset size threshold is a value for distinguishing between the paging mode and the large message mode.

[0373] In some embodiments, based on the size of the message and the preset size threshold, the message sending mode is determined, including:

[0374] If the size of the message is less than or equal to the preset size threshold, the message sending mode is determined to be immediate sending; and / or,

[0375] If the size of the message is greater than the preset size threshold, the message sending mode is determined to be deferred sending.

[0376] In some embodiments, based on the message sending mode, the message is sent, including:

[0377] If the message sending mode is immediate sending, the message is immediately sent through the satellite; and / or,

[0378] If the message sending mode is deferred sending, the message is sent through the ground network after accessing the ground network.

[0379] ​In some embodiments, the processor 1603 is further configured to:

[0380] If the message is sent based on the large message mode, sending a message request to the network device;

[0381] Receiving a message response sent by the network device, the message response carrying information of a message processing function, the message processing function being a message processing function deployed on a satellite and selected by the network device for the terminal.

[0382] In some embodiments, after receiving the message response sent by the network device, the processor 1603 is further configured to:

[0383] Establishing a first message transmission channel with the message processing function;

[0384] Sending a message to the message processing function through the first message transmission channel, the message being sent to a second terminal by the message processing function.

[0385] In some embodiments, the processor 1603 is further configured to:

[0386] If the terminal is a message receiving end, establishing a second message transmission channel with a message processing function deployed on a satellite;

[0387] Receiving a message sent by the message processing function through the second message transmission channel.

[0388] In some embodiments, the processor 1603 is further configured to:

[0389] Receiving an address of a multimedia content storage function sent by the network device, the multimedia content storage function being a multimedia content storage function deployed on a satellite and selected by the network device for the terminal;

[0390] Based on the address of the multimedia content storage function, uploading a file to the multimedia content storage function;

[0391] Receiving a file link of the file sent by the multimedia content storage function;

[0392] The message carries the file link.

[0393] Figure 3 Details of each embodiment of the terminal shown can be referred to Figure 17 Each embodiment of the message sending method shown will not be repeated.

[0394] Figure 17 A schematic diagram of a network device provided by an embodiment of the present application is shown in Figure 17 The network device provided by the embodiment of the present application includes a memory 1701, a transceiver 1702, and a processor 1703.

[0395] The memory 1701 is configured to store a computer program; the transceiver 1702 is configured to transceive data under the control of the processor 1703; the processor 1703 is configured to read the computer program in the memory 1701 and execute:

[0396] If the terminal receiving the message is based on a satellite access network, the size of the message is determined;

[0397] Based on the size of the message and the preset size threshold, the message sending mode is determined;

[0398] Based on the message sending mode, the message is sent.

[0399] In some embodiments, the preset size threshold is the distinguishing value between the paging mode and the large message mode.

[0400] In some embodiments, based on the size of the message and the preset size threshold, the message sending mode is determined, comprising:

[0401] If the size of the message is less than or equal to the preset size threshold, the message sending mode is determined as immediate sending; and / or,

[0402] If the size of the message is greater than the preset size threshold, the message sending mode is determined as deferred sending.

[0403] In some embodiments, based on the message sending mode, the message is sent, comprising:

[0404] If the message sending mode is immediate sending, the message is immediately sent through the satellite; and / or,

[0405] If the message sending mode is deferred sending, the message is sent through the ground network after accessing the ground network.

[0406] In some embodiments, the processor 1703 is further configured to:

[0407] When receiving the message request sent by the terminal in the large message mode, the message processing function deployed on the satellite is selected for the terminal;

[0408] The message response carrying the information of the message processing function is sent to the terminal.

[0409] In some embodiments, the processor 1703 is further configured to:

[0410] According to the satellite access information of the terminal, the address of the multimedia content storage function deployed on the satellite is sent to the terminal.

[0411] Figure 4 The details of each embodiment of the network device shown can be referred to in ​ The embodiments of the message sending method shown will not be repeated here to avoid repetition.

[0412] In the above embodiments, the transceiver is configured to receive and transmit data under the control of the processor. The bus architecture can include any number of interconnecting buses and bridges, and the various circuitry representative of the processor(s) and the memory represent generally, inter alia, microprocessors, microcontrollers and random access memories combination of the above, and the like, coupled via bus and / or bridge as is well known in the art. The bus architecture can further include various other circuitry that can be designed for particular purposes, as is well known in the art, e.g., power supplies, clock units, cache, address translation mechanisms, etc., and as such are not described herein further. The bus interface provides an interface to the bus architecture. The transceiver can be a plurality of elements, including a transmitter and a receiver, that provides means for communicating with various other apparatus over a transmission medium, including wireless channels, wired channels, optical cables, etc. The processor is responsible for managing the bus architecture and general processing, and the memory can store data used by the processor in executing its operations.

[0413] The processor can be an integrated circuit chip logic that processes the signals. In this manner, the processor can be configured to implement some or all of the steps of the above-described methods. The processor can include a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The general purpose processor can be a microprocessor, or the processor can be any conventional processor, etc.

[0414] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element preceded by "comprises... a" does not, without more constraints, foreclose the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0415] Those of skill in the art would understand that information and signals can be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits, symbols, and chips that can be referenced throughout the above description can be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.

[0416] Those skilled in the art will appreciate that the description of various embodiments can emphasize differing features to better describe particular embodiments, and that features described in one embodiment can be applicable or modified to other embodiments.

[0417] While the embodiments of the disclosure have been described in conjunction with the accompanying drawings, various modifications and changes can be suggested by those skilled in the art, and it is intended that the appended claims encompass such modifications and changes as fall within the scope of the present disclosure.

Claims

1. A message sending method applied to a terminal, the method comprising: determining a size of a message; determining a message sending mode based on the size of the message and a preset size threshold; and sending the message based on the message sending mode. The preset size threshold is a distinguishing value between a paging mode and a large message mode. The determining of the message sending mode based on the size of the message and the preset size threshold comprises: determining the message sending mode as immediate sending if the size of the message is less than or equal to the preset size threshold; and / or determining the message sending mode as deferred sending if the size of the message is greater than the preset size threshold. The sending of the message based on the message sending mode comprises: sending the message immediately through a satellite if the message sending mode is immediate sending; and / or sending the message through a ground network after accessing the ground network if the message sending mode is deferred sending.

2. The method of claim 1, wherein, The method further comprises: sending a message request to a network device if the message is sent based on the large message mode; and receiving a message response sent by the network device, the message response carrying information of a message processing function selected by the network device for the terminal and deployed on a satellite.

3. The method of claim 1 or 2, wherein, After receiving the message response sent by the network device, the method further comprises: establishing a first message transmission channel with the message processing function; and sending the message to the message processing function through the first message transmission channel, the message being sent to a second terminal by the message processing function. The method further comprises: establishing a second message transmission channel with a message processing function deployed on a satellite if the terminal is a message receiving terminal; and receiving a message sent by the message processing function through the second message transmission channel. The method further comprises: receiving an address of a multimedia content storage function sent by a network device, the multimedia content storage function being a multimedia content storage function selected by the network device for the terminal and deployed on a satellite; uploading a file to the multimedia content storage function based on the address of the multimedia content storage function; and receiving a file link of the file sent by the multimedia content storage function.

4. The method of claim 3, wherein, The message carries the file link. 9.A message sending method applied to a network device, the method comprising: determining a size of a message if a terminal receiving the message accesses a network based on a satellite; determining a message sending mode based on the size of the message and a preset size threshold; and sending the message based on the message sending mode. The preset size threshold is a distinguishing value between a paging mode and a large message mode.

5. The method of claim 2, wherein, The determining of the message sending mode based on the size of the message and the preset size threshold comprises: determining the message sending mode as immediate sending if the size of the message is less than or equal to the preset size threshold; and / or determining the message sending mode as deferred sending if the size of the message is greater than the preset size threshold. The sending of the message based on the message sending mode comprises: ​ 6. The method of claim 5, wherein, ​ ​ ​ 7. The method of claim 2, wherein, ​ ​ ​ 8. The method of claim 1, wherein, ​ ​ ​ ​ ​ ​ ​ ​ ​ 10. The method of claim 9, wherein, ​ 11. The method of claim 9 or 10, wherein, ​ ​ ​ 12. The method of claim 11, wherein, ​ if the message sending mode is immediate sending, sending the message immediately through the satellite; and / or, if the message sending mode is deferred sending, sending the message through the ground network after accessing the ground network.

13. The method of claim 10, wherein, The method further comprises: selecting, for the terminal, a message processing function deployed on a satellite when receiving a message request sent by the terminal in a large message mode; sending a message response to the terminal, the message response carrying information of the message processing function.

14. The method of claim 9, wherein, The method further comprises: sending, to the terminal, an address of a multimedia content storage function deployed on a satellite according to satellite access information of the terminal.

15. A message sending apparatus applied to a terminal, the apparatus comprising: a first determining unit configured to determine a size of a message if the terminal accesses a network based on a satellite; a second determining unit configured to determine a message sending mode based on the size of the message and a preset size threshold; a sending unit configured to send the message based on the message sending mode.

16. A message sending apparatus applied to a network device, the apparatus comprising: a first determining unit configured to determine a size of a message if a terminal receiving the message accesses a network based on a satellite; a second determining unit configured to determine a message sending mode based on the size of the message and a preset size threshold; a sending unit configured to send the message based on the message sending mode.

17. A terminal, wherein, The terminal comprises a memory, a transceiver and a processor. The memory is configured to store a computer program; the transceiver is configured to transceive data under control of the processor; and the processor is configured to read the computer program in the memory and perform: determining a size of a message if the terminal accesses a network based on a satellite; determining a message sending mode based on the size of the message and a preset size threshold; sending the message based on the message sending mode.

18. The terminal of claim 17, wherein, The preset size threshold is a distinguishing value between a paging mode and a large message mode.

19. The terminal according to claim 17 or 18, wherein, The determination of the message sending mode based on the size of the message and the preset size threshold comprises: if the size of the message is less than or equal to the preset size threshold, determining that the message sending mode is immediate sending; and / or if the size of the message is greater than the preset size threshold, determining that the message sending mode is deferred sending.

20. The terminal of claim 19, wherein, The sending of the message based on the message sending mode comprises: if the message sending mode is immediate sending, sending the message immediately through the satellite; and / or if the message sending mode is deferred sending, sending the message through the ground network after accessing the ground network.

21. The terminal of claim 18, wherein, The processor is further configured to: if the message is sent in the large message mode, sending a message request to a network device; receiving a message response sent by the network device, the message response carrying information of a message processing function, the message processing function being a message processing function selected by the network device for the terminal and deployed on a satellite.

22. The terminal of claim 21, wherein, After receiving the message response sent by the network device, the processor is further configured to: establish a first message transmission channel with the message processing function; and send the message to the message processing function through the first message transmission channel. The first message transmission channel is used to transmit the message to the message processing function, and the message is transmitted by the message processing function to a second terminal.

23. The terminal of claim 18, wherein, The processor is further configured to: If the terminal is a message receiving terminal, a second message transmission channel is established with a message processing function deployed on a satellite. The message transmitted by the message processing function through the second message transmission channel is received.

24. The terminal of claim 17, wherein, The processor is further configured to: An address of a multimedia content storage function is received, which is selected by the network device for the terminal and is deployed on a satellite. Based on the address of the multimedia content storage function, a file is uploaded to the multimedia content storage function. A file link of the file transmitted by the multimedia content storage function is received. The message carries the file link.

25. A network device, wherein, The network device comprises a memory, a transceiver, and a processor. The memory is configured to store a computer program, the transceiver is configured to transceive data under the control of the processor, and the processor is configured to read the computer program in the memory and perform: If the terminal receiving the message accesses a network based on a satellite, the size of the message is determined. Based on the size of the message and a preset size threshold, a message sending mode is determined. Based on the message sending mode, the message is sent.

26. The network device of claim 25, wherein, The preset size threshold is a distinguishing value between a paging mode and a large message mode.

27. The network device of claim 25 or 26, wherein, Based on the size of the message and a preset size threshold, a message sending mode is determined, comprising: If the size of the message is less than or equal to the preset size threshold, the message sending mode is determined to be immediate sending; and / or If the size of the message is greater than the preset size threshold, the message sending mode is determined to be delayed sending.

28. The network device of claim 27, wherein, Based on the message sending mode, the message is sent, comprising: If the message sending mode is immediate sending, the message is immediately sent through a satellite; and / or If the message sending mode is delayed sending, the message is sent through a ground network after accessing the ground network.

29. The network device of claim 26, wherein, The processor is further configured to: When a message request sent by a large message mode of a terminal is received, a message processing function deployed on a satellite is selected for the terminal. A message response is sent to the terminal, and the message response carries information of the message processing function.

30. The network device of claim 25, wherein, The processor is further configured to: According to satellite access information of a terminal, an address of a multimedia content storage function deployed on a satellite is sent to the terminal.

31. A processor-readable storage medium, wherein, The processor readable storage medium stores a program, which is used to make the processor execute the message sending method of any one of claims 1 to 8, or execute the message sending method of any one of claims 9 to 14.