CN114143730B - Signaling processing method, communication system, electronic device, and storage medium - Google Patents

Signaling processing method, communication system, electronic device, and storage medium Download PDF

Info

Publication number
CN114143730B
CN114143730B CN202210110995.1A CN202210110995A CN114143730B CN 114143730 B CN114143730 B CN 114143730B CN 202210110995 A CN202210110995 A CN 202210110995A CN 114143730 B CN114143730 B CN 114143730B
Authority
CN
China
Prior art keywords
signaling
network element
element instance
target
instance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210110995.1A
Other languages
Chinese (zh)
Other versions
CN114143730A (en
Inventor
石磊
郝文杰
凌观成
管建智
方翟
姚怡东
李松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Damo Institute Hangzhou Technology Co Ltd
Original Assignee
Alibaba Damo Institute Hangzhou Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Damo Institute Hangzhou Technology Co Ltd filed Critical Alibaba Damo Institute Hangzhou Technology Co Ltd
Priority to CN202210110995.1A priority Critical patent/CN114143730B/en
Publication of CN114143730A publication Critical patent/CN114143730A/en
Application granted granted Critical
Publication of CN114143730B publication Critical patent/CN114143730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The embodiment of the invention provides a signaling processing method, a communication system, electronic equipment and a storage medium, wherein the method comprises the following steps: the distribution component in the communication system is used for determining a target network element instance responding to the signaling in different control plane function network elements contained in a core network according to a preset field in the signaling. Because the first signaling and the second signaling are generated in sequence in the same communication process, both the first signaling and the second signaling contain preset fields and the contents in the fields are the same, the first signaling and the second signaling can be distributed to the same target network element instance for response. In the method, the two signaling are responded by the same network element instance and the response of the second signaling needs to be according to the response state of the first signaling, so that compared with the method of respectively responding different signaling by different network element instances, the distribution method can save the process of synchronous response state between the network element instances when the different network element instances respond to the signaling, thereby simplifying the response process of the signaling.

Description

Signaling processing method, communication system, electronic device, and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a signaling processing method, a communication system, an electronic device, and a storage medium.
Background
With the development of the fifth Generation Mobile Communication Technology (5G), the 5G Communication system has been applied to various fields. For example, for various Applications (APPs) installed on terminal equipment used by a user, a faster and better use experience can be provided for the user by using the 5G communication system. For another example, the vehicle, the drive test equipment and the 5G communication system can form a vehicle networking, and a better automatic driving experience can be provided for a driver by means of the vehicle networking. Also for example, 5G communication systems can be applied in the industrial field.
The core network is the most core part in the whole 5G communication system, and frequent signaling interaction processes exist, so how to reduce the complexity of the core network for signaling processing becomes an urgent problem to be solved.
Disclosure of Invention
In view of this, embodiments of the present invention provide a signaling processing method, a communication system, an electronic device, and a storage medium, so as to reduce the complexity of signaling processing.
In a first aspect, an embodiment of the present invention provides a signaling processing method, applied to a distribution component in a communication system, including:
according to a preset field in a first signaling, determining a target network element instance in network element instances corresponding to different control plane function network elements contained in a core network, so that the target network element instance responds to the first signaling;
and determining the target network element instance according to the preset field in the second signaling, so that the target network element instance responds to the second signaling according to the response state of the first signaling, wherein the first signaling and the second signaling are signaling generated in the same communication process in sequence.
In a second aspect, an embodiment of the present invention provides a communication system, including: distributing components and network element examples corresponding to different control plane function network elements in a core network;
the distribution component is configured to determine, according to a preset field in the first signaling, a target network element instance in network element instances corresponding to the different control plane function network elements; determining the target network element instance according to the preset field in a second signaling, wherein the first signaling and the second signaling are signaling generated in sequence in the same communication process;
the target network element instance is used for responding to the first signaling; and responding to the second signaling according to the response state of the first signaling.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory is used to store one or more computer instructions, and when executed by the processor, the one or more computer instructions implement the signaling processing method provided in the first aspect. The electronic device may also include a communication interface for communicating with other devices or a communication network.
In a fourth aspect, an embodiment of the present invention provides a non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to implement at least the signaling processing method according to the first aspect.
In the signaling processing method provided by the embodiment of the present invention, the distribution component determines, according to the preset field in the signaling, a target network element instance for responding to the signaling in different control plane function network elements included in the core network. Because the first signaling and the second signaling are generated in sequence in the same communication process and both contain the preset fields, the first signaling and the second signaling are distributed to the same target network element instance and are responded by the same target network element instance, and the target network element instance needs to respond to the second signaling according to the response state of the first signaling.
Compared with the method that different network element instances respectively respond to different signaling from the same communication process, the method that different signaling from the same communication process is responded by the same network element instance according to the distribution mode can save the process that synchronous response states are needed among the network element instances when the different network element instances respond to the signaling, thereby simplifying the response process of the signaling.
Compared with the method that the main network element instance with the distribution capability in the core network is used for signaling distribution, in the embodiment, the independent distribution component in the communication system is used for signaling distribution, so that the situation that the signaling distribution fails and the signaling cannot respond finally due to the failure of the main network element instance can be avoided, the availability of the core network can be improved, the selection process of the main network element instance is omitted, and the working pressure of the main network element instance is relieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a network architecture of a core network in the communication system provided in the embodiment shown in fig. 1;
fig. 3 is a schematic structural diagram of another communication system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another communication system according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a signaling processing method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a signaling processing method and a communication system applied in a live broadcast scenario according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a signaling processing method and a communication system applied in an automatic driving scenario according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, and "a" and "an" generally include at least two, but do not exclude at least one, unless the context clearly dictates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The words "if," "if," as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a recognition," depending on the context. Similarly, the phrases "if determined" or "if identified (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when identified (a stated condition or event)" or "in response to an identification (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The features of the embodiments and examples described below may be combined with each other without conflict between the embodiments. In addition, the sequence of steps in the embodiments of the methods described below is merely an example, and is not strictly limited.
For ease of understanding of the scheme, the description may first be made from the perspective of the overall communication system. Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention. As shown in fig. 1, the communication system may include: and distributing network element examples corresponding to different functional network elements in the component and the core network. The functional network element comprises a control plane functional network element and a user plane functional network element. And the base stations and switches in the communication network are not shown in the figure.
Alternatively, the distribution component may be fronted software deployed in the core network.
Alternatively, the network architecture of the core network may be as shown in fig. 2. The core network may specifically include: a Network Slice Selection Function (NSSF) Network element, a Network Exposure Function (NEF) Network element, a Network Repository Function (NRF) Network element, a Policy Control Function (PCF) Network element, a Unified Data Management (UDM) Network element, an Authentication service Function (AUSF) Network element, an Access and Mobility Management Function (AMF) Network element, a Session Management Function (SMF) Network element, and a Mobility Management Function (MMF) Network element. The network elements described above may be referred to as control plane function network elements. The core network may further include a User Plane Function (UPF) network element.
Each control plane functional network element and user plane functional network element in the core network may include multiple network element instances, that is, each functional network element may be considered as a network element instance cluster formed by multiple network element instances, and a certain network element instance in the cluster may respond to a signaling sent by the terminal device.
Based on the above description, the specific working process of the communication system may be as follows:
the first signaling sent by the terminal device can be transmitted to the core network via the base station and the switch so as to be received by the distribution component. The grouping component can then select a target network element instance for responding to the first signaling based on a predetermined field in the first signaling. In an alternative selection manner, the grouping component may determine, according to a correspondence between a preset field and a functional network element, a target functional network element corresponding to the preset field included in the first signaling in the core network, and further determine a target network element instance in a network element instance cluster corresponding to the target functional network element. Optionally, the target network element instance may be any one of all network element instances corresponding to the target functional network element, or may be a network element instance with the smallest load. The target network element instance may respond to the first signaling, thereby obtaining a response status of the first signaling. Optionally, the response status of the first signaling may include a normal response and an abnormal response, and the abnormal response may be that the signaling is not responded and is discarded. And this response status may be stored in the target network element instance.
After the first signaling is sent, the terminal device may also generate a second signaling and send it to the core network. The first signaling and the second signaling are generated by the terminal device in sequence in the same communication process, that is, the first signaling is generated before the second signaling, and the two signaling contain the same preset field and the content in the preset field is also the same, then the distributing component may distribute the second signaling to the target network element instance.
For the communication procedure generating the first signaling and the second signaling, registration of the terminal device, session establishment, downlink paging, and the like may be included. Of course, the communication process includes, but is not limited to, the above process, and the communication process may be any communication process required for ensuring normal data packet transmission between the terminal device and the server. In each embodiment provided by the present invention, the network element instances used for responding to the signaling are all network element instances corresponding to the control plane function network elements, and do not include network element instances corresponding to the user plane function network elements.
Then, after the second signaling is distributed to the target network element instance, the target network element instance will first read the response status of the first signaling stored locally, and then respond to the second signaling according to the response status of the first signaling, so as to obtain the response status of the second signaling. It can be seen that the response state of the first signaling may directly affect the response state of the second signaling, and this effect may be embodied as: if the response status of the first signaling is normal response, the target network element instance may respond to the second signaling normally, that is, the response status of the second signaling is normal response. If the response state of the first signaling is an abnormal response, the target network element instance may directly discard the second signaling, and does not respond to the second signaling, and the response state of the second signaling is an abnormal response. Similarly, the response status of the second signaling is also stored in the target network element instance.
As can be seen from the above description, the response result of the subsequent signaling is directly related to the response result of the previous signaling, so that if different network element instances respectively respond to different signaling generated in the same communication process, synchronization of response states needs to be performed between the different network element instances, thereby increasing the complexity of the signaling response process. And according to the distribution mode, all the signaling generated in the same communication process can be responded by the same network element instance, so that the synchronization process of the response state can be omitted, and the response process of the signaling is simplified.
The signaling distribution and response procedure can be described as follows by taking a registration procedure as an example:
the terminal device may send an access signaling (i.e., a first signaling) to the core network, the distribution component may first determine, according to a preset field included in the received signaling, that the signaling is generated in a registration process of the terminal device, and determine that the first signaling corresponds to the AMF network element, the distribution component may distribute the access signaling to the network element instance 1 corresponding to the AMF network element, and the network element instance 1 responds to the access signaling, and a response state of the access signaling may be stored in the network element instance 1.
After the access signaling is normally responded by the network element instance 1, the terminal device may further send an authentication signaling (i.e., a second signaling) to the core network, and the distribution component may also distribute the authentication signaling to the network element instance 1 according to a preset field in the authentication signaling. Since the network element instance 1 has been normally responded, the authentication signaling can also be normally responded by the network element instance 1, and the storage of the response state of the authentication signaling is realized. The network element instance 1 may also return an authentication passing signaling to the terminal device, and the terminal device receives the authentication passing signaling, that is, completes the registration process of the terminal device.
In the above process, both the access signaling and the authentication signaling generated in the registration process may be responded by the network element instance 1 in the AMF network element. And the network element example 1 can directly realize the response of a plurality of pieces of signaling by reading the response state stored by the network element example 1, thereby simplifying the response process of the signaling.
In this embodiment, the distribution component determines, according to a preset field in the signaling, a target network element instance for responding to the signaling in different control plane function network elements included in the core network. Because the first signaling and the second signaling are generated in sequence in the same communication process and both contain the preset fields, the first signaling and the second signaling are distributed to the same target network element instance and are responded by the same target network element instance, and the target network element instance needs to respond to the second signaling according to the response state of the first signaling.
Compared with the method that different network element instances respectively respond to different signaling from the same communication process, the method that different signaling from the same communication process is responded by the same network element instance according to the distribution mode can save the process that synchronous response states are needed among the network element instances when the different network element instances respond to the signaling, thereby simplifying the response process of the signaling.
Compared with the method that the main network element instance with the distribution capability in the core network is used for signaling distribution, in the embodiment, the independent distribution component in the communication system is used for signaling distribution, so that the situation that the signaling distribution fails and the signaling cannot respond finally due to the failure of the main network element instance can be avoided, the availability of the core network can be improved, the selection process of the main network element instance is omitted, and the working pressure of the main network element instance is relieved.
Fig. 3 is a schematic structural diagram of another communication system according to an embodiment of the present invention. As shown in fig. 3, on the basis of the communication system shown in fig. 1, the communication system may further include: a container arrangement tool and an in-memory database.
When the network element instance is started, the container arrangement tool may allocate domain names to network element instances corresponding to different control plane function network elements in the core network, where the domain names can uniquely identify the network element instance, and the domain names of the network element instance are not changed by the fault restart of the network element instance. Alternatively, the container arrangement tool may be Kubernets, K8s for short, or Docker Swarm, etc. The distribution component may also monitor the operation states of the network element instances corresponding to the network elements with different control plane functions in the core network in real time, that is, whether the network element instances have a fault, so as to generate an available network element instance list including a correspondence between network element instance domain names and network element instance identifiers based on the domain names allocated by the container arrangement tool. If the network element instance fails, the network element instance can be deleted from the locally maintained list of available network element instances by the distribution component. And the network element instance can be added to the available network element instance list again after the network element instance is restarted successfully.
With the above list of available network element instances, and optionally another way of selecting a target network element instance, the distributing component may perform a calculation, such as a hash calculation, on a preset field in the first signaling. Then, the calculation result is used as a network element instance identifier, a target domain name corresponding to the calculation result is inquired in an available network element instance list, and the network element instance with the target domain name is determined as a target network element instance. The distribution component can then distribute the first signaling to the target network element instance according to the target domain name. The preset field used in the above selection manner may be different from the preset field used in the embodiment shown in fig. 1.
Optionally, the container arrangement tool may also monitor whether the network element instances corresponding to the control plane function network elements are faulty in real time, and timely control the network element instances that are faulty to restart.
In practice, if the target network element instance fails after responding to the first signaling, the target network element instance may be deleted from the list of available network element instances maintained by the distributing component. Then, the distribution component may further receive a second signaling sent by the terminal device, and at this time, the calculation result of the preset field in the second signaling may be used to query the available network element instance list. Since the target instance network element has failed, the distribution component cannot query the target network element instance in the list of available network element instances, and the second signaling cannot be responded normally. The distributing component can also feed back a response failure message to the terminal equipment so that the terminal equipment can know the response state of the signaling in time. Because the second signaling is not responded normally, the terminal device will continue to send the second signaling to the core network until the target network element instance restarts and responds to the second signaling, thereby completing a communication process.
Alternatively, the respective response statuses of all the signaling generated in the last communication procedure and including the first signaling and the second signaling may be stored in the target network element instance responding to the multiple signaling. And when all the signaling generated in the last communication process is responded, the respective response states of all the signaling can be migrated from the target network element instance to the memory database of the communication system. When the next communication procedure is performed, another network element instance for responding to the signaling generated in the next communication procedure may read out the response state of the signaling generated in the previous communication procedure from the memory database, and respond to the signaling generated in the next communication procedure according to the read-out response state.
Compared with a database in a storage hard disk, the speed of reading the response state from the database by the network element instance can be ensured by using the memory database in the memory, so that the response speed of the signaling is further improved. Alternatively, the in-memory database may be a Redis database, a Memcached database, or the like.
In this embodiment, all signaling generated in the same communication process is distributed to the same network element instance, and the network element instance responds accordingly, thereby simplifying the signaling response process. Meanwhile, the container arrangement tool can also monitor the running states of the network element instances corresponding to the control plane function network elements respectively in real time and control the network element instances to be restarted in time, so that the condition that the signaling cannot be responded due to the failure of the network element instances is improved to the maximum extent, and the availability of a core network is improved.
It is assumed that a network element instance responds to all signaling generated during a previous communication and the response status of the signaling is stored in the network element instance. And another network element example can respond to the signaling generated in the next communication process only by reading the response state corresponding to the previous communication process from the network element example. At this time, if one network element instance fails, another network element instance cannot respond to a signaling generated in the subsequent communication process because the other network element instance cannot acquire a response status. In the embodiment, by means of the memory database deployed in the communication system, the failure of one network element instance does not cause another network element instance to respond to a signaling generated in the next communication process, thereby improving the availability of the core network.
Fig. 4 is a schematic structural diagram of another communication system according to an embodiment of the present invention. As shown in fig. 4, on the basis of the communication system shown in fig. 1, the communication system may further include: a load balancing component and a distribution component cluster including the distribution component in the above embodiments.
For clarity of description, the grouping component in the cluster of distributing components for distributing the first signaling and the second signaling may be referred to as a target distributing component. This target dispensing component is also the dispensing component mentioned in the above embodiments. The combined use of the load balancing component and the distribution component cluster can ensure that the signaling sent by the terminal equipment can be transmitted to a certain network element instance corresponding to the control plane function network element, and the network element instance responds to the signaling. Alternatively, the load balancing component may be Metallb software deployed within the core network.
Optionally, taking the first signaling as an example: the load balancing component in the communication system can determine a target network interface according to the load state of each network interface in the core network, and send the interface address of the target network interface to the switch in the communication system. The first signaling sent by the terminal device may be transmitted to the switch through the base station, and the switch sends the first signaling to the core network according to the interface address of the target network interface.
Optionally, the load balancing component in the communication system may further determine that any distribution component in the distribution component cluster is determined as the target distribution component, and may also determine the component with the minimum load as the target distribution component according to the load state of each distribution component in the distribution component cluster. Then, a first signaling can be sent to the distribution component cluster according to the external network address of the distribution component cluster in the core network, and sent to a target distribution component in the distribution component cluster according to the internal network address of the target distribution component, so that the target distribution component sends the first signaling to the target network element instance. The transmission process of the second signaling is similar to the above process, and is not described herein again.
Optionally, the various signaling sent by the terminal device may be Stream Control Transmission Protocol (SCTP) signaling based on SCTP. Optionally, the target distribution component may further parse the first signaling, and distribute a parsing result to the target network element instance. Wherein the analysis result includes all information required for responding to the first signaling. After the first signaling and the second signaling are respectively transmitted to the target network element instance, the response to the first signaling and the second signaling can be implemented according to the related description in the embodiment shown in fig. 1, and the specific response process is not described herein again.
It should be noted that each distribution component in the distribution component cluster has a uniform external network address for the outside of the cluster, and has different internal network addresses for the inside of the cluster. The signaling sent by the terminal equipment can be sent to the distribution component cluster according to the external network address of the distribution component cluster, and then the signaling is sent to the target distribution component by utilizing the internal network address so as to be analyzed and distributed by the target distribution component.
Optionally, when a target distribution component in the distribution component cluster fails, the container orchestration tool may reselect the distribution component according to a load condition of other distribution components in the cluster to implement signaling distribution, so as to avoid a situation that signaling cannot be distributed and finally signaling cannot respond due to the failure of the target distribution component, thereby improving the availability of the core network.
In this embodiment, the load balancing component in the communication system can select the target network port and the target distribution component for transmission of the signaling, so that when a certain network interface or a certain distribution component of the core network fails, failure of signaling distribution is not caused, thereby ensuring availability of the core network.
Optionally, in order to save network resources, the container orchestration tool may dynamically adjust the number of network ports of the core network and the distribution components in the distribution component cluster. Optionally, the container arrangement tool may further dynamically adjust the number of network element instances corresponding to each control plane function network element in the core network. Specifically, the container scheduling tool may determine the number of signaling to be responded to of the network element instance corresponding to each functional network element in the core network at regular time, and adjust the number of the network element instances according to the number of the signaling. In practice, a group of network element instances, that is, a pod, may be formed by one network element instance corresponding to each functional network element in the core network, and the container arrangement tool may adjust the number of network element instances in units of groups according to the number of signaling to be responded, for example, add or delete at least one group of network element instances, and the like.
Fig. 5 is a flowchart illustrating a signaling processing method according to an embodiment of the present invention, where the signaling processing method according to the embodiment of the present invention may be executed by a distribution component in a communication system. As shown in fig. 5, the method includes the steps of:
s101, according to the preset field in the first signaling, determining a target network element instance in network element instances corresponding to different control plane function network elements contained in a core network, so that the target network element instance responds to the first signaling.
And S102, determining a target network element example according to a preset field in the second signaling, and responding to the second signaling by the target network element example according to the response state of the first signaling, wherein the first signaling and the second signaling are signaling generated in sequence in the same communication process.
After the core network receives the first signaling sent by the terminal device, the distribution component may determine, according to a preset field in the first signaling, a target network element instance in network element instances corresponding to different control plane function network elements included in the core network, and distribute the first signaling to the target network element instance. The target network element instance responds to the first signaling and stores a response state corresponding to the first signaling.
After transmitting the first signaling, the terminal device may also transmit a second signaling. The first signaling and the second signaling are signaling generated in sequence in the same communication process, and the meaning of the communication process may refer to the related description in the embodiment shown in fig. 1, which is not described herein again. In this case, the distributing component may further determine the target network element instance according to the same preset field included in the second signaling, so that the target instance responds to the second signaling. That is, for the first signaling and the second signaling generated in the same communication process, the distributing component distributes the first signaling and the second signaling to the same network element instance.
Thereafter, the target network element instance may further respond to the second signaling: the target network element instance firstly acquires the response state of the first signaling, and if the response state is normal response, the target network element instance continues to normally respond to the second signaling; and if the response state of the first signaling is abnormal response, the target network element example abnormally responds to the second signaling. And the response status of the second signalling is saved by the target network element instance, regardless of the response status. As can be seen from the above description, the response state of the first signaling directly affects the response state of the second signaling, and this effect may be considered that the first signaling and the second signaling are signaling having a sequential execution order in the same communication process.
In addition, the content that is not described in detail in this embodiment and the technical effect that can be achieved may refer to the related description in the embodiment shown in fig. 1, and are not described again here.
In this embodiment, for different signaling originated from the same communication process, the same network element instance may respond, and compared with using different network element instances to respectively respond to different signaling originated from the same communication process, the distribution and response manner in this embodiment may omit a process that requires a synchronous response state between network element instances when different network element instances respond to the signaling, thereby simplifying the response process of the signaling.
In addition, compared with the method for performing signaling distribution by using a master network element instance with distribution capability in a core network, in the embodiment, signaling distribution is performed by using an independent distribution component in a communication system, so that the situation that signaling distribution fails and finally signaling cannot be responded due to a fault of the master network element instance can be avoided, and the availability of the core network can be improved. Meanwhile, the selection process of the main network element instance is omitted, and the working pressure of the main network element instance is relieved.
As can be seen from the embodiment shown in fig. 4, the main role of the distribution component is the selection of network element instances. Then, in an optional selection manner, the grouping component may determine, according to a preset field included in the first signaling, a target functional network element in the core network corresponding to the preset field, and determine a target network element instance in the network element instance cluster corresponding to the target functional network element. Optionally, the target network element instance determined by the distributing component may be any network element instance in all network element instances corresponding to the target functional network element, or may be a network element instance with the smallest load.
Alternatively, the distributing component may perform a calculation, such as a hash calculation, on a preset field in the first signaling. Then, the calculation result is used as a network element instance identifier, a target domain name corresponding to the calculation result is inquired in an available network element instance list maintained by the distribution component, and the network element instance with the target domain name is determined as a target network element instance. The distribution component can then distribute the first signaling to the target network element instance in accordance with the target domain name. The preset fields used in the two selection modes may be different fields.
Optionally, for the generation of the list of available network element instances, when the network element instance is started, the container arrangement tool in the communication system may allocate a domain name to the network element instance corresponding to each of the different control plane function network elements in the core network, where the domain name can uniquely identify the network element instance, and the domain name of the network element instance is not changed when the network element instance is restarted due to a fault. Meanwhile, the distribution component may also monitor the operation states of the network element instances corresponding to the network elements with different control plane functions in the core network in real time, that is, whether the network element instances have a fault, and based on the domain name allocated by the container arrangement tool, may generate an available network element instance list including the correspondence between the network element instance domain name and the network element instance identifier. If a certain network element instance fails, the distribution component may delete the failed network element instance from the list of available network element instances, and add the failed network element instance to the list again after the network element instance is restarted successfully. The container arrangement tool can monitor the running state of the network element instance corresponding to each control plane functional network element in real time and control the restarting of the failed network element instance.
Optionally, the signaling sent by the terminal device may be sequentially transmitted from the base station to the switch, and finally transmitted to a certain network element instance in the core network, and a specific transmission process of the signaling may refer to the related description in the foregoing embodiments, which is not described herein again.
In this embodiment, the distribution component can update the locally stored list of available network element instances in real time by monitoring the operating state of the network element instance, and when the signaling is distributed to the failed network element instance, the distribution component feeds back failure information to the terminal device, so that the terminal device knows that the signaling is not normally responded. Meanwhile, the container arrangement tool can also control the restarting of the fault network element in time by monitoring the running state of the network element instance, so that the response of the signaling can be furthest not influenced by the fault of the network element instance, and the availability of the core network is improved.
Optionally, in order to save network resources, the container arrangement tool may further dynamically adjust the number of network element instances corresponding to each control plane function network element in the core network. Specifically, the container arrangement tool may determine the number of signaling to be responded to of the network element instance corresponding to each functional network element in the core network, and adjust the number of the network element instances according to the number of the signaling.
Optionally, a cluster of distribution components including the distribution component described above may be deployed in the communication system, and the container orchestration tool may also dynamically adjust the number of distribution components in the cluster of distribution components. Optionally, when a target distribution component in the distribution component cluster fails, the container orchestration tool may reselect the distribution component according to a load condition of other distribution components in the cluster to implement signaling distribution, so as to avoid a situation that signaling cannot be distributed and finally signaling cannot respond due to the failure of the target distribution component, thereby improving the availability of the core network.
In addition, the details that are not described in detail in this embodiment and the technical effects that can be achieved in this embodiment may refer to the related description in the embodiments shown in fig. 2 to fig. 4, and are not described again here.
For convenience of understanding, a live broadcast scene is taken as an example to exemplarily explain a signaling processing method and a specific implementation process of a communication system provided in the foregoing embodiments. The contents of this scenario can be understood in conjunction with fig. 6.
Various applications can be installed on the terminal device to provide different services for the user, such as a live service. Before that, the terminal device needs to access the 5G communication system and establish a session connection.
The process of accessing the 5G communication system by the terminal device is also the registration process of the terminal device. In the process, the terminal device may send an access signaling, the access signaling may be sequentially transmitted to the base station and the switch, and the switch may transmit the access signaling to the core network according to the target network interface. The access signaling can also send the access signaling to the frontend cluster according to the external network address of the frontend cluster, and send the access signaling to the target frontend according to the internal network address of the target frontend in the frontend cluster. The target frontend may query in the list of available network element instances according to a preset field in the access signaling, so as to distribute the access signaling to a first AMF network element instance corresponding to the AMF network element, so that the first AMF network element instance normally responds to the access signaling. The response status of the access signalling may also be stored by the first AMF network element instance. The first AMF network element instance may also feed back a to-be-authenticated signaling generated after responding to the access signaling to the terminal device.
The target network interface may be a network interface selected by a Metallb deployed in a core network and having a minimum load. The target front may also be selected by Metallb.
And then, the terminal equipment responds to the to-be-authenticated signaling fed back by the first AMF network element instance and can further send an authentication signaling to the core network. The target frontend may distribute this authentication signaling to the first AMF network element instance. Since the first AMF network element instance has responded to the signaling before responding to the terminal device normally, the first AMF network element instance can also respond to the authentication signaling normally, and the response status of the authentication signaling is also stored by the first AMF network element instance. Meanwhile, the first AMF network element instance may also feed back a registration success message to the terminal device. At this point, the terminal device has completed the registration process, and the response status of each signaling stored in the first AMF network element instance is migrated to the memory database in the communication system.
Further, the terminal device may also enter the next communication procedure, i.e., the session establishment procedure. At this time, the terminal device may send a session establishment signaling, and the target frontend may distribute this session establishment signaling to the first SMF network element instance in the SMF network element to respond to the session establishment signaling by it. At this time, the first SMF network element instance may read the response state of each signaling generated in the registration process from the memory database, and if the response state of each signaling in the registration process is a normal response, the first SMF network element instance may also continue to normally respond to the session establishment signaling, and finally, the terminal device completes the session establishment process. It can be seen that, with the help of the response status stored in the memory database, whether the first AMF network element instance fails or not does not affect the reading of the response status, and also does not affect the normal response of the first SMF network element instance to various signaling generated in the session establishment process, thereby improving the availability of the core network.
In the above process, the signaling generated by the terminal device in a communication process is responded by the same network element instance, that is, the signaling generated in the registration process can be responded by the first AMF network element instance, and the signaling generated in the session establishment process can be responded by the first SMF network element instance. In addition, in the same communication process, the response of the subsequent signaling needs to consider the response state of the previous signaling, so that compared with the process of respectively responding different signaling generated in the same communication process by using different network element instances, the process of synchronizing the response states between the network element instances is omitted in the process, and the response process of the signaling is simplified. Meanwhile, compared with the method that the main network element instance is used for distributing in the designated core network, the independent distribution component, namely the frontend, in the communication system is used for distributing the signaling, and the situation that the signaling cannot be distributed and finally cannot respond due to the failure of the main network element instance can be avoided, so that the availability of the core network is improved.
Optionally, each frontend in the frontend cluster may monitor an operation state of a network element instance corresponding to each of different control plane function network elements included in the core network in real time, and update the locally maintained available network element instance list according to the operation state. Optionally, when a certain frontend fails, kubernets may also reselect the frontend for signaling distribution according to a load condition of each frontend, so as to avoid a situation that the signaling cannot be distributed and finally the signaling cannot respond due to the frontend failure, thereby improving the availability of the core network. Optionally, Kubernetes may also monitor the operating state of each network element instance in real time, and control the failed network element instance to restart in time, so as to improve the situation that the signaling cannot be responded due to the network element failure to the maximum extent, and improve the availability of the core network.
After the registration and session establishment process is completed, the server can transmit the live video corresponding to the live broadcast room selected by the user to the terminal equipment in response to the starting operation triggered by the live broadcast application program by the user, so that the user can watch the live video.
The signaling processing method and the communication system provided by the above embodiments can also be applied to an automatic driving scene. For the vehicle networking formed by the vehicles, the communication system, the drive test equipment and the server, when the vehicles are accessed to the vehicle networking and the automatic driving mode is started, corresponding signaling can be sent to the core network so as to realize the registration and session establishment processes of the vehicles. The specific processing procedure is similar to the above live broadcast scenario, and is not described herein again. After the vehicle completes the registration and session establishment process, the vehicle can acquire driving data from the server and realize automatic driving according to the driving data. The content in this scenario can also be understood in conjunction with fig. 7.
In one possible design, the signaling processing method may be implemented by an electronic device. As shown in fig. 8, the electronic device may include: a processor 21 and a memory 22. Wherein the memory 22 is used for storing a program that supports the electronic device to execute the signaling processing method provided in the embodiment shown in fig. 5, and the processor 21 is configured to execute the program stored in the memory 22.
The program comprises one or more computer instructions which, when executed by the processor 21, are capable of performing the steps of:
according to a preset field in a first signaling, determining a target network element instance in network element instances corresponding to different control plane function network elements contained in a core network, so that the target network element instance responds to the first signaling;
and determining the target network element instance according to the preset field in the second signaling, so that the target network element instance responds to the second signaling according to the response state of the first signaling, wherein the first signaling and the second signaling are generated in the same communication process in sequence.
Optionally, the processor 21 is further configured to perform all or part of the steps in the foregoing embodiment shown in fig. 5.
The electronic device may further include a communication interface 23 for communicating with other devices or a communication network.
In addition, an embodiment of the present invention provides a computer storage medium, which is used for storing computer software instructions for the electronic device, and includes a program for executing the signaling processing method in the method embodiment shown in fig. 5.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (12)

1. A signaling processing method applied to a distribution component in a communication system, comprising:
according to a preset field in a first signaling, determining a target network element instance in network element instances corresponding to different control plane function network elements contained in a core network, so that the target network element instance responds to the first signaling;
determining the target network element instance according to the preset field in a second signaling, so that the target network element instance responds to the second signaling according to the response state of the first signaling, wherein the first signaling and the second signaling are signaling generated in the same communication process in sequence;
the load balancing component in the communication system determines the distribution component according to the load state of each distribution component in the distribution component cluster in the communication system.
2. The method of claim 1, wherein the determining the target network element instance in the network element instances corresponding to the respective different control plane function network elements included in the core network comprises:
calculating a preset field of the first signaling;
using the calculation result as a network element instance identifier, and inquiring a target domain name corresponding to the calculation result in an available network element instance list, wherein the available network element instance list comprises a corresponding relation between the network element instance domain name and the network element instance identifier;
determining the network element instance with the target domain name as the target network element instance;
the method further comprises the following steps:
and sending the first signaling to the target network element instance according to the target domain name.
3. The method of claim 2, further comprising:
and monitoring the running states of the network element instances corresponding to the network elements with different control plane functions to obtain the list of the available network element instances.
4. A communication system, comprising: the network element balancing method comprises the following steps that a distribution component cluster comprising a distribution component, network element examples corresponding to different control plane function network elements in a core network and a load balancing component are included;
the load balancing component is used for determining the distribution components according to the load states of the distribution components in the distribution component cluster;
the distribution component is configured to determine, according to a preset field in the first signaling, a target network element instance in network element instances corresponding to the different control plane function network elements; determining the target network element instance according to the preset field in a second signaling, wherein the first signaling and the second signaling are signaling generated in sequence in the same communication process;
the target network element instance, configured to respond to the first signaling; and responding to the second signaling according to the response state of the first signaling.
5. The system of claim 4, wherein the distribution component is configured to calculate a preset field of the first signaling;
using the calculation result as a network element instance identifier, and inquiring a target domain name corresponding to the calculation result in an available network element instance list, wherein the available network element instance list comprises a corresponding relation between the network element instance domain name and the network element instance identifier;
determining the network element instance with the target domain name as the target network element instance;
and sending the first signaling to the target network element instance according to the target domain name.
6. The system of claim 5, wherein the distribution component is further configured to monitor an operation status of a network element instance corresponding to each of the different control plane function network elements, so as to obtain the list of available network element instances.
7. The system of claim 5, further comprising: and the container arrangement tool is used for configuring domain names for network element instances corresponding to the network elements with different control plane functions.
8. The system according to claim 7, wherein said container orchestration tool is configured to monitor an operation status of network element instances corresponding to the different control plane function network elements;
if the target network element instance fails after responding to the first signaling, controlling the target network element instance to restart;
the distributing component is configured to, if the target network element instance is successfully restarted, re-add the target network element instance to the list of available network element instances;
and sending the second signaling to the target network element instance according to the target domain name.
9. The system of claim 4, wherein the load balancing component is configured to send an interface address of a target network interface in the communication system to a switch, so that the switch sends the first signaling to the core network according to the interface address of the target network interface;
the distribution component is configured to receive the first signaling sent according to the internal network address of the distribution component.
10. The system of claim 9, wherein the load balancing component is configured to determine a target network interface according to a load status of each network interface in the communication system.
11. An electronic device, comprising: a memory and a processor, the memory having stored thereon executable code which, when executed by the processor, causes the processor to perform the signaling processing method of any of claims 1 to 3.
12. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the signaling processing method of any one of claims 1 to 3.
CN202210110995.1A 2022-01-29 2022-01-29 Signaling processing method, communication system, electronic device, and storage medium Active CN114143730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210110995.1A CN114143730B (en) 2022-01-29 2022-01-29 Signaling processing method, communication system, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210110995.1A CN114143730B (en) 2022-01-29 2022-01-29 Signaling processing method, communication system, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN114143730A CN114143730A (en) 2022-03-04
CN114143730B true CN114143730B (en) 2022-09-16

Family

ID=80381733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210110995.1A Active CN114143730B (en) 2022-01-29 2022-01-29 Signaling processing method, communication system, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN114143730B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114884941B (en) * 2022-04-12 2023-09-05 中国电信股份有限公司 Service processing method, device, system and medium for edge computing platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019219251A1 (en) * 2018-05-18 2019-11-21 Ntt Docomo, Inc. Stickiness removal of transactions in the core network
WO2020224463A1 (en) * 2019-05-05 2020-11-12 华为技术有限公司 Data analysis method and apparatus
CN113300881A (en) * 2021-04-23 2021-08-24 北京邮电大学 5G network-based scheduling method, device, equipment and storage medium
CN113382432A (en) * 2021-08-13 2021-09-10 新华三技术有限公司 5G network service providing method, device and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810942B (en) * 2017-05-05 2021-07-23 中兴通讯股份有限公司 Communication method, device and system
CN110035423B (en) * 2018-01-12 2022-01-14 华为技术有限公司 Session management method, device and system
CN113938911A (en) * 2020-07-13 2022-01-14 华为技术有限公司 Communication method, device and system
CN113472545B (en) * 2021-08-31 2022-02-01 阿里云计算有限公司 Equipment network access method, device, equipment, storage medium and communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019219251A1 (en) * 2018-05-18 2019-11-21 Ntt Docomo, Inc. Stickiness removal of transactions in the core network
WO2020224463A1 (en) * 2019-05-05 2020-11-12 华为技术有限公司 Data analysis method and apparatus
CN113300881A (en) * 2021-04-23 2021-08-24 北京邮电大学 5G network-based scheduling method, device, equipment and storage medium
CN113382432A (en) * 2021-08-13 2021-09-10 新华三技术有限公司 5G network service providing method, device and equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
5G-R信令组网方案研究;李雪等;《铁路通信信号工程技术》;20201025(第10期);全文 *
Huawei等.S2-171872 "TS 23.501: Way forward for change of AMF / Control of N2 persistence".《3GPP tsg_sa\WG2_Arch》.2017, *
S2-171872 "TS 23.501: Way forward for change of AMF / Control of N2 persistence";Huawei等;《3GPP tsg_sa\WG2_Arch》;20170321;正文第1节,第2.1节 *

Also Published As

Publication number Publication date
CN114143730A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
EP3648401B1 (en) Method, device, and computer readable storage medium for managing network slice
US10187459B2 (en) Distributed load balancing system, health check method, and service node
EP3490224B1 (en) Data synchronization method and system
WO2015146355A1 (en) Update management system and update management method
CN104184756A (en) Data synchronization method, device and system
CN111345008B (en) Mobile edge host service notification method and device
CN111615066A (en) Distributed micro-service registration and calling method based on broadcast
CN109150659B (en) Processor and BFD message transmission method
CN114143730B (en) Signaling processing method, communication system, electronic device, and storage medium
CN116566984B (en) Routing information creation method and device of k8s container cluster and electronic equipment
CN114302350B (en) Service provider failover method and device, electronic equipment and storage medium
CN111526185B (en) Data downloading method, device, system and storage medium
CN112437454A (en) Data transmission method and device, storage medium and electronic device
CN115002016A (en) Message processing system, method, device and storage medium
CN114143728B (en) Message processing method, communication system, electronic device, and storage medium
CN112491951A (en) Request processing method, server and storage medium in peer-to-peer network
CN111835684B (en) Network isolation monitoring method and system for haproxy equipment
CN114244810A (en) Virtual IP management method, device, electronic equipment and storage medium
CN114978910B (en) Time sensitivity realization method and system of virtualization core network
CN114697339A (en) Load balancing method and device under centralized architecture
CN114143905B (en) Session establishing method, communication system, electronic device and storage medium
CN114500341A (en) Terminal real-time control method and control server under wide area network
CN110417599B (en) Main/standby node switching method and node server
CN114585026A (en) Frequency point switching method, terminal, base station and storage medium
CN111835805B (en) Method and system for configuring dpvs multi-tenant

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant