Message transmission method and system, electronic device and storage medium
By acquiring and managing the status of network elements, establishing multiple links and switching backup network elements, the problem of SMSF communication interruption in 5G networks was solved, and reliable message transmission was achieved.
Patent Information
- Application Number
- CN202011141712.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-22
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2040-10-22
AI Technical Summary
In 5G networks, external factors such as network fluctuations, HTTP2 layer protocol errors, or network element downtime can cause communication interruptions between the SMSF and the network element to be interacted with, resulting in significant call loss.
By obtaining the status of network elements to be interacted with in the SMSF and the list of backup network elements, multiple links are established and reachable network elements are selected for message transmission. Backup network elements are switched to ensure successful message transmission. The network storage function (NRF) is used to obtain the status and IP address of network elements, and the link reselection switch and maximum reselection count are configured to achieve reliable transmission.
It reduces the time and resource consumption for establishing and switching links with unreachable network elements, improves the success rate of message transmission, and ensures reliable communication between the SMSF and network elements under abnormal conditions.
Smart Images

Figure CN114390454B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the field of communication, in particular to a message transmission method and system, an electronic device and a storage medium. BACKGROUND
[0002] As a network-essential information transmission channel, short message will continue to exist in the 5G era. Voice and short message are the most basic mobile communication services, and are the basic functions of every mobile terminal. They are the representatives of telecommunications services and the communication services that are directly accessible, interoperable and roaming in the global scope.
[0003] The short message center (SMSC) is a network element that has existed since the 2G era and is mainly used for short message storage and forwarding. It generally interacts with surrounding network elements based on the traditional MAP (Manufacturing Automation Protocol) protocol and is numerous in the existing networks of various operators. In the evolution of 4G networks, the interaction between network elements is mainly based on the SIP protocol, and the IPSMGW network element is added to realize the encoding and decoding conversion of SIP and MAP protocols, thereby avoiding the cost and impact of upgrading and transforming the existing short message center. In the evolution of 5G networks, the interaction between network elements is based on the HTTP2 protocol. Similarly, the 3GPP adds a short message service network element (SMSF) in the 5G core network to realize the encoding and decoding conversion of HTTP2 and MAP protocols. The SMSF acts as a bridge for the terminal to transmit 5G NAS short messages between the 5G core network and the traditional short message center. The SMSF interacts with other network elements through the N20 interface.
[0004] However, due to the service interface adopted by the 5G network elements and the HTTP2 protocol used for multi-link transmission at the bottom layer, under certain external factors such as network fluctuations, HTTP2 layer protocol errors, and network element downtime, the communication between the SMSF and the network elements to be interacted is interrupted on a certain link or all links, thereby causing a large call loss. SUMMARY
[0005] The purpose of the embodiments of the present application is to provide a message transmission method, system, electronic device and storage medium, which guarantee the reliable transmission of messages between the SMSF and other network elements under abnormal conditions.
[0006] To solve the above technical problems, the embodiments of the present application provide a message transmission method, comprising the following steps:
[0007] Obtaining the state of the network element to be interacted with the SMSF and the list of standby network elements, wherein the state of the network element includes a reachable state and an unreachable state;
[0008] if the state of the to-be-interacted network element is the reachable state, establishing multiple links to the to-be-interacted network element;
[0009] by a pre-set link selection mode, selecting the link to perform the message transmission with the to-be-interacted network element until the message transmission is successful;
[0010] if the state of the to-be-interacted network element is the unreachable state, switching the standby network element that has not been selected according to the list of the standby network element, and setting the standby network element as the to-be-interacted network element.
[0011] The embodiment of the present application further provides a message transmission system, comprising:
[0012] a receiving module, used for acquiring the state of the SMSF to-be-interacted network element and the list of the standby network element, wherein the AMF state comprises a reachable state and an unreachable state;
[0013] a link redirection module, used for if the state of the to-be-interacted network element is the reachable state, establishing multiple links to the to-be-interacted network element; by a pre-set link selection mode, selecting the link to perform the message transmission with the to-be-interacted network element until the message transmission is successful;
[0014] a network element redirection module, used for if the state of the to-be-interacted network element is the unreachable state, switching the standby network element that has not been selected according to the list of the standby network element, and setting the standby network element as the to-be-interacted network element.
[0015] The embodiment of the present application further provides an electronic device, comprising:
[0016] at least one processor; and
[0017] a memory connected with the at least one processor; wherein
[0018] the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the message transmission method.
[0019] The embodiment of the present application further provides a computer readable storage medium, and the computer program is executed by a processor to implement the message transmission method.
[0020] Compared with the prior art, the embodiment of the present application determines the network element capable of message transmission with the SMSF by judging the state of the network element, avoids the time and resource cost consumed by establishing a link with the unreachable network element and switching the link, establishes multiple links with the reachable network element to be interacted, and increases the probability of successful message transmission, and the standby network element list can be used to attempt transmission with multiple network elements, so that the SMSF can still perform message transmission with the network element to be interacted in an abnormal situation, and the transmission is more reliable.
[0021] In addition, the message transmission method provided by the embodiment of the present application comprises: acquiring the state of the network element to be interacted with the SMSF and the list of standby network elements, wherein the acquiring of the state of the network element to be interacted comprises: acquiring a change notification of the network element to be interacted in a timely manner through a network storage function NRF; and decoding the change notification to acquire the state of the network element to be interacted. The network element state can be changed in a timely manner through the acquisition of the change notification, so that the network element state is more accurate.
[0022] In addition, the message transmission method provided by the embodiment of the present application comprises: acquiring the state of the network element to be interacted with the SMSF and the list of standby network elements, wherein the acquiring of the state of the network element to be interacted comprises: acquiring a change notification of the network element to be interacted in a timely manner through a network storage function NRF; and decoding the change notification to acquire the state of the network element to be interacted. The network element state can be changed in a timely manner through the acquisition of the change notification, so that the network element state is more accurate.
[0023] In addition, the message transmission method provided by the embodiment of the present application comprises: acquiring the state of the network element to be interacted with the SMSF and the list of standby network elements, wherein the acquiring of the state of the network element to be interacted comprises: acquiring a change notification of the network element to be interacted in a timely manner through a network storage function NRF; and decoding the change notification to acquire the state of the network element to be interacted. The network element state can be changed in a timely manner through the acquisition of the change notification, so that the network element state is more accurate.
[0024] In addition, the message transmission method provided by the embodiment of the present application comprises: acquiring the state of the network element to be interacted with the SMSF and the list of standby network elements, wherein the acquiring of the state of the network element to be interacted comprises: acquiring a change notification of the network element to be interacted in a timely manner through a network storage function NRF; and decoding the change notification to acquire the state of the network element to be interacted. The network element state can be changed in a timely manner through the acquisition of the change notification, so that the network element state is more accurate.
[0025] In addition, the message transmission method provided by the embodiment of the present application comprises: acquiring the state of the network element to be interacted with the SMSF and the list of standby network elements, wherein the acquiring of the state of the network element to be interacted comprises: acquiring a change notification of the network element to be interacted in a timely manner through a network storage function NRF; and decoding the change notification to acquire the state of the network element to be interacted. The network element state can be changed in a timely manner through the acquisition of the change notification, so that the network element state is more accurate.
[0026] In addition, the message transmission method provided by the embodiment of the present application comprises: determining that the standby network element reselection switch is turned on, and switching the standby network element which is not selected in the standby network element list, wherein the number of switching times is less than the maximum reselection number of the standby network element. BRIEF DESCRIPTION OF DRAWINGS
[0027] One or more embodiments are illustrated by way of example in the figures that form a part of this patent specification. These illustrations are not, and are not intended to be, limiting in any regard.
[0028] Figure 1 is a flow chart of the message transmission method provided by the first embodiment of the present application;
[0029] Figure 2 is a flow chart of the message transmission method provided by the second embodiment of the present application;
[0030] Figure 3 is a structural schematic diagram of the message transmission system provided by the third embodiment of the present application;
[0031] Figure 4 is a structural schematic diagram of the electronic device provided by the fourth embodiment of the present application. DETAILED DESCRIPTION
[0032] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. However, those skilled in the art can understand that, in the embodiments of the present application, many technical details are presented in order to make the readers better understand the present application. However, the technical solutions claimed by the present application can be implemented even without these technical details and based on various changes and modifications of the following embodiments.
[0033] The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present application, and each embodiment can be combined and referenced with each other under the premise of no contradiction.
[0034] The first embodiment of the present application relates to a message transmission method. The specific flow is as shown in Figure 1 .
[0035] In step 101, the state of the SMSF to be interacted network element and the list of standby network elements are acquired, wherein the state of the network element to be interacted includes the reachable state and the unreachable state.
[0036] In the embodiment, each network element is registered with the network storage function (NRF, NF Repository Function) when starting to provide services. The NRF is used to register, manage, and detect the state of NFs, and to achieve automatic management of all NFs. The registration information includes the NF type, address, service list, and the like. Unlike the past mobile communication system, the 5G system architecture will gradually cancel dedicated network element devices and instead use the form of deploying various network functions (NF, Network Function) on general servers.
[0037] Therefore, the receiving unit of the SMSF receives the network element registration information sent by the NRF, and the decoding unit of the SMSF decodes the registration information, which can include the IP port of the network element service, the IP port priority, the network element state, the standby network element list, and the like. At the same time, the SMSF monitors the network element state through the NRF. When the standby network element is online or offline, the NRF sends a change notification to the SMSF, which includes the current network element state. After the SMSF receives and decodes the network element state, the network element state is stored as an index of instanceID, that is, different instanceIDs correspond to different network element states. The latest network element state is obtained by obtaining the latest instanceID.
[0038] The standby network element list includes the network element identifier and address of the standby network element and the like. Through the standby network element list, other network elements are switched for interaction and message transmission in the case that the current standby network element cannot interact. In the case that the current network element cannot transmit messages due to abnormal conditions, a connection with the standby network element can still be established to ensure reliable transmission.
[0039] It should be noted that different users have different network elements and states of each network element. After storing the network element list information and instanceID information, an international mobile subscriber identity (IMSI, International Mobile Subscriber Identity) is generated as an index for subsequent queries of the network element list information and instanceID information.
[0040] Specifically, according to the needs of different application scenarios, the SMSF can interact with network elements such as the access and mobility management function (AMF, Access and Mobility Management Function), the session management function (SMF, Session Management Function), and the network exposure function (NEF, Network Exposure Function) to transmit messages. In the embodiment, the network elements to be interacted with are not limited.
[0041] By detecting the communication state of the network element in advance, the state whether the network element is reachable is acquired, and the network element state is stored, only the reachable network element is established link, transmission is carried out, the time cost and resource cost wasted by establishing link to the unreachable network element and retrying link are avoided.
[0042] The detection mode of the communication state of the network element includes passive detection and active detection.
[0043] The passive detection mode is specifically:
[0044] S1, the SMSF registers the network element information to the NRF.
[0045] S2, the SMSF subscribes the network element information to the NRF.
[0046] S3, the SMSF receives the network element state change notification from the NRF, and obtains the network element state after decoding.
[0047] S4, the network element state information is stored in the storage unit with instanceId as index.
[0048] Since the passive detection mode does not have timeliness, in some cases, the network element state may not be updated for a long time or there is no network element state, at this time, the active detection mode needs to be used to acquire the network element state.
[0049] The active detection mode is specifically:
[0050] S1, the SMSF configures the network element IP-reselection switch N1 and the reselection number N2, and the IP link-reselection switch N3 and the number N4, and the SMSF configures the IP link number N5.
[0051] S2, the SMSF as a service consumer, acquires the network element service related IP from the NRF.
[0052] S3, the SMSF establishes N5 links to the network element to be detected according to the IP.
[0053] S4, the SMSF selects a link to request service from the network element to be detected.
[0054] S5, if successful, the step ends, and the network element state is changed to the reachable state. If failed or timeout, continue step 6.
[0055] S6, judge whether N3 is opened. If N3 is opened, N5>1 and N4>1, directly switch other links under the IP to retry the request (jump 4). If N3 is not opened or the retry number reaches N4 or N5 is still unsuccessful, continue step 7.
[0056] S7, judge whether N1 is opened, if not, jump to step 9. Otherwise, judge whether the jump number reaches N2, if yes, jump to step 9, otherwise, continue.
[0057] S8, switch IP and jump to step 3.
[0058] S9, update the state of the network element as unreachable state with instanceId as index.
[0059] Step 102, if the state of the network element to be interacted is the reachable state, establish multiple links to the network element to be interacted.
[0060] Obtain the related IP of the network element to be interacted through the network storage function NRF, that is, the registration information obtained in step 101 includes the IP related to the network element to be interacted; and establish IP links according to the network interconnection protocol, wherein the number of the IP links is greater than 1.
[0061] Specifically, the IP link is a communication tool or medium, through which nodes can communicate on the data link layer of the Internet protocol suite. The types of IP links can include simple Ethernet, bridged Ethernet, hub or asynchronous transfer mode (ATM) network. In addition to the IP related to the network element to be interacted, the registration information obtained in step 101 also includes the priority of the IP port and various load conditions, etc. According to these information, the related IP is sorted, and the IP with higher priority and smaller load is placed in front. The IP is selected from front to back in the order of sorting. After the IP is selected, multiple links are established to the network element to be interacted according to the selected IP address.
[0062] Step 103, select the link to perform the message transmission with the network element to be interacted through the pre-set link selection mode until the message transmission is successful.
[0063] Configure the IP-reselection switch and the maximum number of reselected IP, the IP link-reselection switch and the maximum number of reselected IP link in the SMSF.
[0064] According to the pre-set link selection mode, select a link for transmission. If the transmission fails, judge whether the IP link-reselection switch is on. If the IP link-reselection switch is on and the number of reselection does not exceed the maximum number of reselected IP link, switch to other links for transmission.
[0065] If the IP link is not opened, or all links of the IP cannot be successfully transmitted, it is judged whether an IP-reselection switch is opened. If the IP-reselection switch is opened, and the maximum number of IP reselection is not reached, other IP is switched to establish a link according to the sorting order of the IP, and the link is switched according to the pre-set link selection mode until the message transmission is successful.
[0066] If the IP-reselection switch is not opened, or the maximum number of IP reselection is reached, and all links cannot be successfully transmitted, the state of the current network element is changed to an unreachable state.
[0067] In step 104, if the state of the to-be-interacted network element is the unreachable state, the unselected backup network element is switched according to the list of the backup network element, and the backup network element is set as the to-be-interacted network element.
[0068] Since the state of the current to-be-interacted network element is the unreachable state, the process of link establishment is no longer performed, and the time and resource cost consumed by the establishment and switching of the link with the unreachable network element are significantly reduced.
[0069] Therefore, according to the identification of the backup network element in the list of the backup network element, the network element interacting with the SMSF is switched to the backup network element, the backup network element is taken as the to-be-interacted network element, and the process of step 103 is performed.
[0070] In the embodiment, by judging the state of the network element, the network element that can transmit the message with the SMSF is determined, and the time and resource cost consumed by the establishment and switching of the link with the unreachable network element are avoided; meanwhile, multiple links are established with the reachable to-be-interacted network element, and the probability of successful transmission of the message is increased; and the list of the backup network element can be used to transmit the message with multiple network elements, so that the SMSF can still transmit the message with the to-be-interacted network element in an abnormal situation, and the transmission is more reliable.
[0071] The second embodiment of the application relates to a message transmission method, taking the interaction between an SMSF and an authentication management function (AMF) as an example. The AMF is the termination of the RAN control plane interface and the termination of the NAS protocol, and provides encryption and integrity protection for the NAS. The main functions of the AMF further include access authorization and authentication, connection management, and mobile management. In the scene of interoperation with the EPS, the AMF is responsible for the allocation of the EPS bearer ID, receives all connection and session related information from a user equipment (UE), and is responsible for handling connection and mobile management tasks.
[0072] The specific steps of the interaction between the SMSF and the AMF are as shown in Figure 2
[0073] Step 201, according to the IMSI of the user, the instanceID of the AMF to be interacted and the standby AMF list are obtained.
[0074] The state of the AMF to be interacted is obtained through the instanceId, and the identifier of the standby AMF, i.e. the globally unique AMF identifier (GUAMI, Globally Unique AMF ID), is obtained through the standby AMF list.
[0075] S1, if the AMF state is reachable, step 202 is performed.
[0076] Step 202, the IP port, IP port priority, IP load condition, etc. of the AMF to be interacted are obtained through the NRF.
[0077] Step 203, the SMSF configures the AMF IP-reselection switch N1 and the maximum reselection number N2, and the IP link-reselection switch N3 and the maximum reselection number N4, and the SMSF configures the IP link number N5.
[0078] Step 204, the obtained IPs are sorted according to the priority and load condition, and the unselected IPs are selected in the order of high priority and low load to establish N5 links.
[0079] Step 205, according to the pre-set selection strategy, one link is selected to transmit messages to the AMF. If the transmission is successful, the process ends; if not, step 205 is performed.
[0080] Step 206, judge whether the IP link-reselection switch N3 is opened:
[0081] If N3 is opened and the switching number does not reach N4 and N5, other IP link is switched to retry until the communication is successful;
[0082] If N3 is not opened, the retry number reaches the maximum reselection number N4 of the IP link or the retry number reaches the IP link number N5, step 206 is performed.
[0083] Step 207, judge whether the AMF IP-reselection switch N1 is opened:
[0084] If N1 is opened, step 203 is performed;
[0085] If N1 is not opened or the AMF IP-reselection number exceeds the maximum reselection number N2, the state of the current AMF is changed to unreachable.
[0086] S2, if the state of the AMF is unreachable, step 208 is performed.
[0087] Step 208, according to the standby AMF list, select the unselected standby AMF, and take the standby AMF as the AMF to be interacted to perform step 202.
[0088] Specifically, the GUAMI maximum retry number is configured as N6.
[0089] Determine whether the GUAMI switching number reaches N6:
[0090] If not, in the standby AMF list, select the GUAMI of the unselected standby AMF, take the selected standby AMF as the AMF to be interacted, and perform step 202.
[0091] If the switching number reaches N6, end the switching step, and the flow ends, and the message transmission fails.
[0092] In the embodiment, the maximum retry number is configured at the AMF switching, IP switching and IP link switching, so that the retry number is limited, and in the case of a large number of network elements, the long running time and excessive running space and resources are avoided, and the transmission is ensured to be healthy.
[0093] In the process of interaction between the SMSF and the AMF, multiple reselection redirection processes are set, which avoids the situation that the entire transmission process is affected due to the failure of part of the communication channel or network element in the process of interacting and transmitting messages, improves the reliability of the transmission process, and ensures that in abnormal situations such as network fluctuation, HTTP2 layer protocol error and AMF network element downtime, the interaction object of the SMSF can be redirected by switching the link, switching the IP or switching the AMF, which greatly increases the communication fault tolerance capability.
[0094] The step division of the above various methods is only for clear description, and in implementation, one step can be combined or some steps can be split and decomposed into multiple steps, as long as the same logical relationship is included, and all are within the protection scope of the patent; adding irrelevant modifications or introducing irrelevant designs in the algorithm or flow, but not changing the core design of the algorithm and flow, are within the protection scope of the patent.
[0095] The third embodiment of the present application relates to a message transmission system, as shown in the following formula (I): Figure 4 The message transmission system comprises:
[0096] The receiving module 301 is configured to obtain the state of the SMSF to be interacted with the network element and the list of standby network elements, wherein the AMF state comprises a reachable state and an unreachable state.
[0097] Specifically, the receiving module further comprises a message receiving unit, a decoding unit and a cache unit. The message receiving unit is configured to receive a message notification, an instanceId, network element list information, etc. The decoding unit is configured to decode the notification and the message. The cache unit is configured to store a mapping relationship between an IMSI, an instanceId and a network element list.
[0098] It should be noted that the instanceId is a unique identifier of a network element state (such as the state of an AMF), and the instanceId corresponds to a network element identifier. The network element identifier is in the network element list, and a corresponding relationship is established by taking the instanceId as a key.
[0099] The link redirection module 302 is configured to establish a plurality of links to the to-be-interacted network element if the state of the to-be-interacted network element is the reachable state, and select the links to perform the message transmission with the to-be-interacted network element by a pre-set link selection mode until the message transmission is successful.
[0100] The network element redirection module 303 is configured to switch an unselected backup network element to set the backup network element as the to-be-interacted network element according to the list of the backup network elements if the state of the to-be-interacted network element is the unreachable state.
[0101] It can be found that the present embodiment is a system embodiment corresponding to the first embodiment, and the present embodiment can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in the present embodiment. In order to reduce repetition, they will not be described here. Correspondingly, the related technical details mentioned in the present embodiment can also be applied in the first embodiment.
[0102] It is worth mentioning that each module involved in the present embodiment is a logical module. In actual application, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present application, units not closely related to solving the technical problems proposed in the present application are not introduced in the present embodiment, but this does not mean that there are no other units in the present embodiment.
[0103] The fourth embodiment of the present application relates to an electronic device, such as Figure 4 as shown, comprising:
[0104] at least one processor 401; and a memory 402 connected to the at least one processor 401 in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform a message transmission method.
[0105] The memory and the processor are connected via a bus. The bus can include any number of interconnecting buses and bridges depending on the specific application of the mobile terminal. The bus links the various circuits of the memory and the processor together and can be implemented using any suitable bus structure, including a memory bus or memory controller, a peripheral bus or peripheral controller, and a local bus using any of a variety of bus architectures. The bus also links various other circuits such as peripheral devices, voltage regulators, and power management circuitry, all of which are well known in the art, and therefore, will not be described in further detail. A bus interface provides an interface between the bus and a transceiver. The transceiver can be a single device or a plurality of devices, such as a plurality of receivers and transmitters, that provide for communication with various other apparatus over a transmission medium. Processed data is transmitted to the transceiver via the processor, and further, the transceiver receives data and transmits the data to the processor via the antenna over the wireless medium.
[0106] The processor is responsible for managing the bus and general processing, and can also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory can be used for storing data used by the processor when executing programs.
[0107] Those skilled in the art can understand that all or part of the steps of the method in the above embodiments can be completed by a program instructing the relevant hardware, and the program is stored in a storage medium, including a plurality of instructions for causing an apparatus (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method described in various embodiments of the present application. The foregoing storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various storage media that can store program codes.
[0108] Those skilled in the art can understand that the above embodiments are specific embodiments for implementing the present application, and in actual applications, various changes can be made in form and details without departing from the spirit and scope of the present application.
Claims
1. A message transmission method, characterized by, Applied to a short message service network element (SMSF), comprising: acquiring a state of a network element to be interacted with the SMSF and a list of backup network elements, wherein the state of the network element includes a state of whether the network element is reachable, and the state of the network element includes a reachable state and an unreachable state; if the state of the network element to be interacted with is the reachable state, establishing multiple links to the network element to be interacted with; selecting the links to perform the message transmission with the network element to be interacted with by a pre-set link selection mode until the message transmission succeeds; if the state of the network element to be interacted with is the unreachable state, switching the backup network elements that have not been selected according to the list of the backup network elements, and setting the backup network elements as the network element to be interacted with; the selecting the links to perform the message transmission with the network element to be interacted with by the pre-set link selection mode until the message transmission succeeds, comprising: selecting a link to perform the message transmission with the network element to be interacted with by the link selection mode; if the message transmission fails, switching other links to retry by the link selection mode.
2. The message transmission method according to claim 1, characterized in that, the acquiring the state of the network element to be interacted with the SMSF, comprising: acquiring a change notification of the network element to be interacted with by a network storage function (NRF) in time; decoding the change notification to acquire the state of the network element to be interacted with.
3. The message transmission method of claim 1, wherein, the establishing multiple links to the network element to be interacted with, comprising: acquiring related internet protocol (IP) addresses of the network element to be interacted with by a network storage function (NRF); establishing IP links according to the IP addresses, wherein the number of the IP links is greater than 1.
4. The message transmission method of claim 1, wherein, before the selecting the links to perform the message transmission with the network element to be interacted with by the pre-set link selection mode until the message transmission succeeds, comprising: configuring a network element IP reselection switch, a network element IP maximum reselection number, an IP link reselection switch and an IP link maximum reselection number.
5. The message transmission method according to claim 4, characterized in that, if the message transmission fails, switching other links to retry by the link selection mode, comprising: determining that the network element IP reselection switch and the IP link reselection switch are turned on, and switching other IP links to perform the message transmission, wherein the number of switching times is less than the network element IP maximum reselection number, the IP link maximum reselection number and the number of IP links.
6. The message transmission method according to claim 5, characterized by, if the message transmission fails, determining that the state of the network element to be interacted with is changed to the unreachable state.
7. The message transmission method of claim 1, wherein, before the switching the backup network elements that have not been selected according to the list of the backup network elements and setting the backup network elements as the network element to be interacted with, comprising: configuring a backup network element reselection switch and a backup network element maximum reselection number.
8. The message transmission method according to claim 1 or 7, characterized by, the switching the backup network elements that have not been selected according to the list of the backup network elements, comprising: determining that the backup network element reselection switch is turned on, and switching the backup network elements that have not been selected in the list of the backup network elements, wherein the number of switching times is less than the backup network element maximum reselection number.
9. A message transmission system characterized by comprising: comprising: The receiving module is configured to acquire a state of a network element to be interacted with by the SMSF and a list of backup network elements, wherein the state of the network element includes a state of whether the network element is reachable, and the state of the network element includes a reachable state and an unreachable state. The link redirection module is configured to, if the state of the network element to be interacted with is the reachable state, establish a plurality of links to the network element to be interacted with, and select the links to perform the message transmission with the network element to be interacted with by using a pre-set link selection manner until the message transmission succeeds. The network element redirection module is configured to, if the state of the network element to be interacted with is the unreachable state, switch the backup network elements that are not selected yet according to the list of the backup network elements, and set the backup network elements as the network element to be interacted with. The link redirection module is configured to: select a link to perform the message transmission with the network element to be interacted with by using the link selection manner; and if the message transmission fails, switch other links to retry by using the link selection manner.
10. An electronic device, comprising: The apparatus includes: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the message transmission method according to any one of claims 1-8.
11. A computer-readable storage medium storing a computer program, characterized in that, The computer program is executed by the processor to implement the message transmission method according to any one of claims 1-8.
Citation Information
Patent Citations
Communication method and apparatus
WO2020200057A1