Communication method and device
By using forwarding network elements and routing identifiers in the mobile communication network service architecture, accurate forwarding of request messages is achieved, solving the problem of low message routing efficiency in the existing technology, and ensuring context consistency and efficiency improvement.
Patent Information
- Application Number
- CN202310358847.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-01
AI Technical Summary
In mobile communication systems, existing technologies solve the problem of context inconsistency through message redirection, but this results in low message routing efficiency.
By introducing forwarding network elements into the mobile communication network service architecture, routing identifiers and mapping relationships are used to forward request messages to the corresponding service network elements in a timely and accurate manner, avoiding redirections and improving message routing efficiency.
It effectively avoids context inconsistency, improves the efficiency of message routing, and reduces the consumption of network resources.
Smart Images

Figure CN118740942A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile communication technology, and in particular to a communication method and device. Background Art
[0002] At present, in a mobile communication system, completing a process (such as session-related registration, establishment, release or update processes) usually requires multiple message interactions, and in the process of completing the process, the context of the terminal device (including multiple interactive messages) needs to be bound to the same control plane network element (Control Plane Function, CPF). Exemplarily, the control plane network element may include an access and mobility management function (Access and Mobility Management Function, AMF) network element, a session management function (Session Management Function, SMF) network element, an authentication service function (Authentication server function, AUSF) network element or a policy control function (Policy Control Function, PCF) network element, etc. Among them, for the processing of the same type of context (such as session update context), there may be concurrent processes. For example, when the uplink service request process initiated by the terminal device has not been completed, the network function (NF) service network element (such as SMF) initiates a downlink paging process. However, the control plane network element selected by the radio access network (RAN) node (or device) for the uplink service request process and the control plane network element selected by the NF service network element for the downlink paging process may be different, which can easily lead to context inconsistency.
[0003] To address the above problems, the existing solution selects the same control plane network element to process concurrent processes by locking the context and redirecting the message, thereby avoiding context inconsistency. However, since the existing solution uses the message redirection method, the existing solution is relatively inefficient when routing messages. Summary of the invention
[0004] The embodiments of the present application provide a communication method and device to effectively improve the efficiency of message routing.
[0005] In a first aspect, an embodiment of the present application provides a communication method, which can be executed by a first forwarding network element in a mobile communication network service architecture, and the first forwarding network element is responsible for message forwarding of one or more network function NF client network elements. In the method, the first forwarding network element obtains a first request message and a first routing identifier from a first NF client network element, and then the first forwarding network element can forward the first request message to a first NF service network element according to a first mapping relationship, wherein the first routing identifier is used to indicate the first NF service network element that provides services for a first context of a first terminal device, and the first mapping relationship is used to indicate a mapping relationship between the first routing identifier and information of the first NF service network element.
[0006] In the above design, by mapping the first routing identifier corresponding to the first context to the first NF service network element, the first forwarding network element can promptly and accurately forward the first request message for the first context to the first NF service network element, and the first NF service network element will process the first request message accordingly (for example, the first request message requests to modify the first context, and the first NF service network element will modify the first context accordingly) without redirecting the first message. This can effectively avoid context inconsistencies and effectively improve the efficiency of message routing.
[0007] In one possible design, the first routing identifier may be a context reference identifier of the first context, or may be a prefix of the context reference identifier, wherein the context reference identifier is allocated by the first NF service network element to the first context of the first terminal device.
[0008] In the above design, the first routing identifier is flexible and diverse in form, and can meet the needs of different application scenarios.
[0009] In a possible design, the information of the first NF serving network element may be one of the following:
[0010] The network protocol IP address of the first NF service network element; or the device identifier of the first NF service network element.
[0011] In one possible design, before obtaining the first request message from the first NF client network element, the method further includes:
[0012] After obtaining the first indication, the first forwarding network element can determine the first mapping relationship according to the first indication, wherein the first indication is used to indicate the mapping relationship between the first routing identifier and the information of the first NF service network element.
[0013] In the above design, the first forwarding network element determines the mapping relationship between the first routing identifier and the information of the first NF service network element through the obtained indication information, so as to ensure that the first forwarding network element can subsequently accurately forward messages according to the mapping relationship.
[0014] In one possible design, when the first NF service network element goes offline, or when the configuration of the first NF service set changes, or when the load balancing strategy of the first NF service set changes, the method further includes:
[0015] After obtaining the second indication, the first forwarding network element can update the first mapping relationship according to the second indication, wherein the second indication is used to indicate the mapping relationship between the first routing identifier and the information of the second NF service network element, and the first NF service set where the first NF service network element is located includes the second NF service network element.
[0016] In the above design, when the first NF service network element goes offline, or the configuration of the first NF service set changes (for example, the first NF service set is reduced or expanded), or the load balancing strategy of the first NF service set changes, the first forwarding network element can also obtain the corresponding update indication information to timely and effectively update the saved mapping relationship, thereby ensuring that the first forwarding network element can subsequently accurately forward messages according to the updated mapping relationship.
[0017] In a possible design, after the first forwarding network element updates the first mapping relationship according to the second indication, the method further includes:
[0018] When the first forwarding network element obtains the second request message and the first routing identifier from the first NF client network element, the second request message can be forwarded to the second NF service network element according to the updated first mapping relationship.
[0019] In the above design, the first forwarding network element can accurately forward the request message for the first context to the second NF service network element according to the updated mapping relationship.
[0020] In one possible design, the first forwarding network element may obtain the first indication and the second indication from the platform control network element.
[0021] In the above design, the first forwarding network element can directly obtain the first indication and the second indication from the platform control network element.
[0022] Optionally, when the first NF service set is reduced in capacity, the platform control network element may send a shutdown preparation message to the NF service network element that needs to be reduced in capacity while sending the second instruction to the first forwarding network element, so that the NF service network element stops receiving new request messages or refuses to provide services for new request messages, and backs up the stored context in time. Or, when the first NF service set is expanded in capacity, the platform control network element may send a prefix migration preparation message to the NF service network element that needs to migrate the context reference identifier while sending the second instruction to the first forwarding network element, so that the NF service network element stops receiving new request messages for the context corresponding to the migrated prefixes, and backs up the stored context in time.
[0023] In one possible design, after obtaining the first indication, the method further includes:
[0024] When the first forwarding network element obtains the release indication, the release indication can be processed accordingly through two possible implementation methods, so as to ensure that the first forwarding network element can flexibly select the NF service network element when forwarding the request message for the first context later, so as to meet the needs of different users. Optionally, the release indication is used to indicate the release of the mapping relationship between the first routing identifier and the information of the first NF service network element. One possible implementation method is: the first forwarding network element can release the mapping relationship between the first routing identifier and the information of the first NF service network element according to the release indication. Another possible implementation method is: the first forwarding network element saves the release indication, wherein the saving operation of the release indication is used to indicate that the mapping relationship between the first routing identifier and the information of the first NF service network element can be released.
[0025] In one possible design, after obtaining the release indication, the method further includes:
[0026] When the first forwarding network element obtains the third request message and the first routing identifier from the first NF client network element, the NF service network element for receiving the third request message can be selected in the first NF service set where the first NF service network element is located through two possible implementation methods. One possible implementation method is: when the mapping relationship between the first routing identifier and the information of the first NF service network element has been released, the first forwarding network element can select a third NF service network element in the first NF service set where the first NF service network element is located, and can send a third request message to the third NF service network element. Another possible implementation method is: when the release indication has been saved and the mapping relationship between the first routing identifier and the information of the first NF service network element has not been released, the first forwarding network element can select the first NF service network element or the third NF service network element in the first NF service set where the first NF service network element is located, and can forward the third request message to the first NF service network element or the third NF service network element.
[0027] In the above design, when the first forwarding network element forwards the request message for the first context, it can flexibly select the NF service network element to forward the request message according to the different operations on the release indication before, so as to meet the needs of different users.
[0028] In a possible design, when the release indication has been saved and the mapping relationship between the first routing identifier and the information of the first NF service network element has not been released, the first forwarding network element will select a third NF service network element from other NF service network elements in the first NF service set except the first NF service network element to receive the third request message only when the first NF service network element goes offline or the configuration of the first NF service set where the first NF service network element is located changes or the load balancing policy of the first NF service set changes. Otherwise, the first NF service network element can still be selected to receive the third request message.
[0029] In a possible design, the first forwarding network element can obtain the first indication and the release indication in the following two ways. The first way is that the first forwarding network element obtains the first indication and the release indication through multicast messages from other forwarding network elements, which can effectively reduce the number of messages sent, thereby saving bandwidth resources and network resources. Among them, the multicast message includes the first indication and the release indication. The second way is that the first forwarding network element can obtain the first indication and the release indication from the platform control network element, which can directly and accurately obtain the first indication and the release indication.
[0030] In the second aspect, an embodiment of the present application provides a communication method, which can be executed by a second forwarding network element in a mobile communication network service architecture, and the second forwarding network element is used to forward messages of one or more NF service network elements. In this method, the second forwarding network element obtains a first indication from a first NF service network element, and can send a first indication to other forwarding network elements, or send a first indication to a platform control network element, wherein the first indication is used to indicate a mapping relationship between a first routing identifier and information of the first NF service network element, and the first routing identifier is used to indicate a first NF service network element that provides services for a first context of a first terminal device, and other forwarding network elements include the first forwarding network element, and the first forwarding network element is used to forward messages of a first NF client network element, and the first NF client network element provides services for the first terminal device.
[0031] In the above design, the second forwarding network element sends the mapping relationship between the first routing identifier and the information of the first NF service network element to other forwarding network elements or platform control network elements, which makes it convenient for other forwarding network elements (such as customer forwarding network elements) to timely and accurately know the mapping relationship between the first routing identifier and the information of the first NF service network element, and helps other forwarding network elements to accurately forward the request message for the first context to the first NF service network element according to the mapping relationship between the first routing identifier and the information of the first NF service network element, and the first NF service network element performs corresponding processing on the first context. This can effectively avoid context inconsistencies and effectively improve the efficiency of message routing.
[0032] In one possible design, the method further includes:
[0033] When the second forwarding network element obtains the release indication from the first NF service network element, the release indication can be processed accordingly through two possible implementation methods. Optionally, the release indication is used to indicate the release of the mapping relationship between the first routing identifier and the information of the first NF service network element. One possible implementation method is: the second forwarding network element can send the release indication to other forwarding network elements by using multicast, which can effectively reduce the number of messages sent, thereby saving bandwidth resources and network resources. Another possible implementation method is: the second forwarding network element can send the release indication to the platform control network element, so that the release indication can be directly and effectively configured to other forwarding network elements through the platform control network element.
[0034] In a third aspect, an embodiment of the present application provides a communication method, which can be executed by a first forwarding network element in a mobile communication network service architecture, and the first forwarding network element is responsible for message forwarding of one or more NF service network elements. In this method, the first forwarding network element obtains a first request message from a first NF client network element, and when the first NF service network element is offline or the configuration of the first NF service set where the first NF service network element is located changes or the load balancing strategy of the first NF service set changes, a second NF service network element is selected in the first NF service set according to the NF service network element reselection rule, and then, when the address of the first NF service network element included in the first request message is updated to the address of the second NF service network element, the first forwarding network element can forward the first request message to the second NF service network element, or when the address of the third forwarding network element included in the first request message is updated to the address of the fourth forwarding network element, the first forwarding network element can forward the first request message to the fourth forwarding network element.
[0035] Among them, the first request message includes the address of the first NF service network element or the address of the third forwarding network element. The third forwarding network element is responsible for the message forwarding of the first NF service network element. The NF service network element reselection rule is used to indicate that when the first NF service network element is offline or the configuration of the first NF service set changes or the load balancing strategy of the first NF service set changes, a NF service network element is reselected in the first NF service set to receive the first request message. The fourth forwarding network element is responsible for the message forwarding of the second NF service network element.
[0036] In the above design, when the first NF service network element goes offline (for example, the first NF service network element is shut down or fails, etc.) or the configuration of the first NF service set where the first NF service network element is located changes or the load balancing strategy of the first NF service set changes, the first forwarding network element can select the second NF service network element in the first NF service set in a timely and effective manner according to the NF service network element reselection rule, so that the first forwarding network element can forward the first request message for the first context to the second NF service network element, and the second NF service network element will process the first request message accordingly. This can effectively avoid context inconsistencies and effectively improve the efficiency of message routing.
[0037] In a possible design, the NF service network element reselection rule may include but is not limited to the following situations:
[0038] Scenario 1: When the first NF service network element goes offline, the NF service network element reselection rule is used to indicate that the designated NF service network element serves as the second NF service network element to receive the first request message, and the designated NF service network element is located in the first NF service set.
[0039] Scenario 2: When the first NF service network element goes offline, the NF service network element reselection rule can also be used to instruct to select one NF service network element from other NF service network elements in the first NF service set except the first NF service network element as the second NF service network element to receive the first request message.
[0040] Scenario 2: When the configuration of the first NF service set changes or the load balancing strategy of the first NF service set changes, the NF service network element reselection rule is used to indicate the selection of a second NF service network element from the first NF service set, and the second NF service network element is used to receive the first request message.
[0041] In the above design, by configuring the corresponding NF service network element reselection rules for each situation, it is more in line with the actual needs of each situation, so that when a certain situation occurs, the first forwarding network element can accurately select the corresponding NF service network element for receiving the request message according to the NF service network element reselection rules corresponding to the situation.
[0042] In one possible design, the NF service network element reselection rule includes the number of contexts or the ratio of contexts migrated from the first NF service network element to the service provided by the second NF service network element, and the number of contexts or the ratio of contexts migrated from the first NF service network element to the service provided by the second NF service network element is determined based on the number of contexts served by the first NF service network element.
[0043] In the above design, by adding the number of contexts or the ratio of the number of contexts migrated from the first NF service network element to the second NF service network element in the NF service network element reselection rule, the first forwarding network element can clearly understand how many contexts need to be migrated to the second NF service network element to provide services.
[0044] In a possible design, the NF service network element reselection rule also includes the address of the first NF service network element or the address of the third forwarding network element.
[0045] In the above design, by adding the address of the first NF service network element or the address of the third forwarding network element in the NF service network element reselection rule, the first forwarding network element can accurately know which messages are the first request messages, and can accurately update which information in the first request message to the relevant information of the new NF service network element.
[0046] In a fourth aspect, an embodiment of the present application provides a communication device. Optionally, the communication device may be a communication device or a communication device capable of supporting the communication device to implement the functions required by the communication method, such as a forwarding network element (such as a customer forwarding network element or a service forwarding network element), or a chip set in a forwarding network element (such as a first forwarding network element or a second forwarding network element). In an example, when the communication device is used to implement the function of the customer forwarding network element (such as the first forwarding network element) in the communication method embodiment provided by the present application, the beneficial effects can be referred to the description of the first aspect, which will not be repeated here. The communication device has the function of implementing the behavior in the method instance of the first aspect above. The function can be implemented by hardware, or it can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the communication device includes a communication module. The communication module is used to obtain a first request message and a first routing identifier from a first NF customer network element, and the first routing identifier is used to indicate a first NF service network element that provides services for a first context of a first terminal device. The communication module is used to forward the first request message to the first NF service network element according to the first mapping relationship, wherein the first mapping relationship is used to indicate the mapping relationship between the first routing identifier and the information of the first NF service network element. These modules can perform the corresponding functions in any possible implementation design of the first aspect above, and refer to the detailed description in the method example for details, which will not be repeated here.
[0047] In another example, when the communication device is used to implement the function of the service forwarding network element (such as the second forwarding network element) in the communication method embodiment provided by the present application, the beneficial effects can be referred to the description of the second aspect, which will not be repeated here. The communication device has the function of implementing the behavior in the method example of the second aspect above. The function can be implemented by hardware, or it can be implemented by hardware executing the corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the communication device includes a communication module. The communication module is used to obtain a first indication from a first NF service network element, wherein the first indication is used to indicate a mapping relationship between a first routing identifier and information of the first NF service network element, and the first routing identifier is used to indicate a first NF service network element that provides services for a first context of a first terminal device. The communication module is also used to send a first indication to other forwarding network elements, or to send a first indication to a platform control network element, wherein the other forwarding network elements include a first forwarding network element, and the first forwarding network element is used to be responsible for message forwarding of a first NF client network element, and the first NF client network element provides services for a first terminal device. These modules can perform the corresponding functions in any possible implementation design of the second aspect above, and refer to the detailed description in the method example for details, which will not be repeated here.
[0048] In another example, when the communication device is used to implement the function of the client forwarding network element (such as the first forwarding network element) in the communication method embodiment provided in the present application, the beneficial effects can be found in the description of the third aspect and will not be repeated here. The communication device has the function of implementing the behavior in the method instance of the third aspect mentioned above. The function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the communication device includes a communication module and a processing module. The communication module is used to obtain a first request message from a first NF client network element, wherein the first request message includes the address of the first NF service network element or the address of the third forwarding network element, and the third forwarding network element is responsible for message forwarding of the first NF service network element. The processing module is used to select a second NF service network element in the first NF service set according to the NF service network element reselection rule when the first NF service network element is offline or the configuration of the first NF service set where the first NF service network element is located is changed or the load balancing strategy of the first NF service set is changed, wherein the NF service network element reselection rule is used to indicate that when the first NF service network element is offline or the configuration of the first NF service set is changed or the load balancing strategy of the first NF service set is changed, a NF service network element is reselected in the first NF service set to receive the first request message. The communication module is also used to forward the first request message to the second NF service network element when the address of the first NF service network element included in the first request message is updated to the address of the second NF service network element, or when the address of the third forwarding network element included in the first request message is updated to the address of the fourth forwarding network element, forward the first request message to the fourth forwarding network element, wherein the fourth forwarding network element is responsible for the message forwarding of the second NF service network element. These modules can perform the corresponding functions in any possible implementation design of the third aspect above, and refer to the detailed description in the method example for details, which will not be repeated here.
[0049] In a fifth aspect, an embodiment of the present application provides a communication device, which may be a communication device required for executing the communication method provided in the embodiment of the present application, or may be a device including a communication device required for executing the communication method provided in the embodiment of the present application, or may be a device having the functions required to implement the communication method, and the communication device may include a communication interface and a processor. Optionally, the communication device also includes a memory. The memory is used to store computer programs or instructions, and the processor is coupled to the memory and the communication interface. When the processor executes the computer program or instructions, the communication device executes any possible method in the design of the first aspect or any possible method in the design of the second aspect or any possible method in the design of the third aspect.
[0050] In a sixth aspect, an embodiment of the present application provides a computer program product, comprising a computer program or instructions, which, when executed on a computer, enables the computer to execute a method in any possible design of the first aspect or any possible design of the second aspect or any possible design of the third aspect.
[0051] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is executed by a computer, the computer executes a method in any possible design of the first aspect or any possible design of the second aspect or any possible design of the third aspect.
[0052] In the eighth aspect, an embodiment of the present application further provides a chip, which is coupled to a memory, and is used to read a computer program stored in the memory, and execute a method in any possible design of the first aspect above, or a method in any possible design of the second aspect above, or a method in any possible design of the third aspect above.
[0053] In a ninth aspect, an embodiment of the present application further provides a chip system, which includes a processor for supporting a computer device to implement any possible method in the design of the first aspect or any possible method in the design of the second aspect or any possible method in the design of the third aspect. In one possible design, the chip system also includes a memory, which is used to store the necessary programs and data for the computer device. The chip system can be composed of chips, or it can include chips and other discrete devices.
[0054] Based on the implementations provided in the above aspects, this application can also be further combined to provide more implementations. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 A possible communication system architecture diagram provided by an embodiment of the present application is exemplarily shown;
[0056] Figure 2 A schematic diagram of the communication structure of a K8s cluster provided in an embodiment of the present application is exemplified;
[0057] Figure 3 A flow chart showing an exemplary communication method according to the first embodiment of the present invention;
[0058] Figure 4 A flowchart showing another communication method provided in Embodiment 1 of the present application is exemplified;
[0059] Figure 5 A flowchart showing another communication method provided in Embodiment 1 of the present application is exemplified;
[0060] Figure 6 A flowchart showing another communication method provided in Embodiment 1 of the present application is exemplified;
[0061] Figure 7 A flowchart showing another communication method provided in Embodiment 1 of the present application is exemplified;
[0062] Figure 8 A flow chart showing an exemplary communication method provided in Embodiment 2 of the present application;
[0063] Fig. 9 A flowchart showing another communication method provided in Embodiment 2 of the present application is exemplified;
[0064] Fig.10 A schematic diagram showing a possible structure of a communication device provided in an embodiment of the present application is exemplified;
[0065] Fig.11 A schematic diagram of the structure of a possible communication device provided in an embodiment of the present application is exemplified. DETAILED DESCRIPTION
[0066] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0067] The following is an introduction to possible communication system architectures applicable to the communication method provided in this application. It should be noted that these introductions are intended to facilitate understanding by those skilled in the art and do not constitute a limitation on the scope of protection claimed by this application.
[0068] Figure 1 The following is a schematic diagram of a possible communication system architecture to which the present application is applicable. Figure 1 As shown, the communication system architecture includes an orchestrator 110, a platform control network element 120, an automatic scaling controller 130, a performance indicator server 140, at least one NF client network element (such as NF client network element 151, NF client network element 152, etc.), at least one customer forwarding network element (such as customer forwarding network element 161, customer forwarding network element 162, etc.), at least one NF service network element (such as NF service network element 171, NF service network element 172, NF service network element 173, etc.) and at least one service forwarding network element (such as service forwarding network element 181, service forwarding network element 182, service forwarding network element 183, etc.), etc.
[0069] It should be noted that Figure 1The connection relationship between the functional modules shown is only an example and does not constitute a limitation of the present application. The functions of each functional module are briefly introduced below.
[0070] The orchestrator 110 is used to delete the relevant information of a certain NF service network element (such as deleting the pod of the NF service network element) and release the resources corresponding to the NF service network element after receiving a notification message of offline of a certain NF service network element from the platform control network element 120; or to add the relevant information of the NF service network element and configure the resources corresponding to the NF service network element after receiving a notification message of adding a certain NF service network element from the platform control network element 120.
[0071] The platform control network element 120 is used to configure the message forwarding rules for the customer forwarding network element and the service forwarding network element according to the user-configured policy (such as the load balancing policy), so that the customer forwarding network element and the service forwarding network element can forward messages according to the configured message forwarding rules. Optionally, the platform control network element 120 can also be used to support the expansion and contraction of the NF service set. For example, after the platform control network element 120 receives the expansion and contraction decision for a certain NF service set from the automatic expansion and contraction controller 130, it can update the message forwarding rules according to the expansion and contraction decision, and configure the updated message forwarding rules to the customer forwarding network element and the service forwarding network element.
[0072] The automatic expansion controller 130 is used to make expansion decisions based on the performance indicator information of each NF service network element collected by the performance indicator server 140 and the configured expansion strategy, for example, the number of NF service network elements to be increased or decreased. Afterwards, the automatic expansion controller 130 can send the expansion decision to the platform control network element 120.
[0073] The performance indicator server 140 is responsible for collecting performance indicator information (such as load or number of users served, etc.) of each NF service network element. Optionally, the performance indicator server 140 can collect performance indicator information from each NF service network element, or can also collect performance indicator information of each NF service network element from the node (Node) where each NF service network element is located, which is not limited in the embodiment of the present application.
[0074] NF client network element can be understood as the client in the communication process and is used as the initiator of a request message.
[0075] The customer forwarding network element is responsible for forwarding messages of the NF customer network element.
[0076] Optionally, in one example, the message forwarding of an NF client network element may be handled by a client forwarding network element, such as Figure 1The illustrated client forwarding network element corresponds one-to-one with the NF client network element. In another example, one client forwarding network element may be responsible for message forwarding of multiple NF client network elements.
[0077] NF service network element can be understood as the server in the communication process, which is used to provide corresponding services to the receiver. It can be understood that multiple NF service network elements can form a set (Set) or a cluster (Cluster) or a pool (Pool) to jointly provide a service, wherein all NF service network elements that form a set / cluster / pool have the same functions, and they jointly provide load balancing and disaster recovery in the form of a set / cluster / pool.
[0078] The service forwarding network element is responsible for forwarding messages of the NF service network element.
[0079] Optionally, in one example, the message forwarding of an NF service network element may be the responsibility of a service forwarding network element, such as Figure 1 The service forwarding network element shown corresponds to the NF service network element one by one. In another example, one service forwarding network element can be responsible for message forwarding of multiple NF service network elements. Optionally, when the NF service network element / NF client network element is loaded in the form of a Pod, the customer forwarding network element can be included in the same Pod as the NF customer network element in the form of a sidecar, or the service forwarding network element can be included in the same Pod as the NF service network element in the form of a sidecar, with the same life cycle. Of course, the customer forwarding network element can also be deployed in the same Pod with the NF customer network element in other forms, or the service forwarding network element can also be deployed in the same Pod with the NF service network element in other forms. In addition to the forwarding network element in the form of a sidecar (such as a service forwarding network element), the service forwarding network element can also include an ingress gateway for receiving request messages from the outside and forwarding the request messages to the corresponding NF service network element. Optionally, NF customer network elements and NF service network elements belonging to the same cluster can share the same forwarding network element, or some NF customer network elements and some NF service network elements belonging to the same cluster can share the same forwarding network element.
[0080] Exemplarily, taking the 5G communication system as an example, each control plane network element in the 5G communication system can be used as both an NF client network element and an NF service network element. Optionally, in one example, taking the SMF network element as the NF client network element and the AMF network element as the NF service network element as an example, the SMF network element can call the AMF network element to provide corresponding services. In another example, taking the SMF network element as the NF service network element and the AMF network element as the NF client network element as an example, the AMF network element can call the SMF network element to provide corresponding services.
[0081] Optionally, in one example, the platform control network element 120 and the platform forwarding network element (such as the customer forwarding network element and the service forwarding network element) can provide services for a cluster. For example, the platform control network element 120 and the platform forwarding network element can be responsible for load balancing, dynamic expansion and contraction, and disaster recovery of each service set in the cluster. Figure 2 As shown in the figure, taking the K8s cluster as an example, the K8s cluster includes multiple NF service sets (NF Set). Each NF service set not only provides services to the outside world, but also may act as a client to call services provided by other service sets in the cluster or call services from external clusters. Figure 2 The cluster registration and discovery functional module shown is used to register the NF service set within the cluster so that the NF Set within the cluster can be discovered based on mobile-specific parameters (such as network slices, data network names (DNNs), etc.). Figure 2 The illustrated platform control network element 120 is used to configure message forwarding rules for the platform forwarding network element according to user-configured policies (such as load balancing policies), so that the platform forwarding network element can forward messages according to the configured message forwarding rules. Figure 2 The cluster can obtain the request message from the outside through the ingress gateway and forward the request message according to the configured message forwarding rule. Optionally, the ingress gateway is also a platform forwarding network element.
[0082] It should be noted that Figure 1 The communication system architecture shown can be applicable to various communication systems, for example, a 5G (or new radio (NR)) communication system, and of course, a future communication system. The network architecture shown in the embodiment of the present application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application. It is known to those skilled in the art that with the evolution of the communication network architecture, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
[0083] As described in the background art, the existing solution adopts a message redirection method, which results in low efficiency of message routing. In view of this, the present application provides a communication method to effectively improve the efficiency of message routing.
[0084] The following is based on Figure 1 The communication system architecture shown in the figure provides a detailed introduction to the specific implementation of the communication method in the embodiment of the present application.
[0085] [Example 1]
[0086] Figure 3 The following is a flow chart showing a communication method provided in Example 1 of the present application. Figure 1 The communication system architecture shown in FIG. 1 is shown in FIG. 1 . The method may be performed by a first forwarding network element in a mobile communication network service architecture. The first forwarding network element may be responsible for forwarding messages of one or more NF client network elements. For example, the first forwarding network element may be Figure 1 The customer forwarding network element shown is, for example, customer forwarding network element 161 or customer forwarding network element 162.
[0087] like Figure 3 As shown, the method includes:
[0088] Step 301: The first forwarding network element obtains a first request message and a first routing identifier from a first NF client network element.
[0089] Optionally, the first forwarding network element can be responsible for message forwarding of the first NF client network element, and the first routing identifier is used to indicate the first NF service network element that provides services for the first context of the first terminal device.
[0090] In one example, the first NF client network element may send the first request message and the first routing identifier to the first forwarding network element. For example, the first NF client network element may encapsulate the first request message and the first routing identifier in the same message and send the message to the first forwarding network element. In another example, the first request message may include the first routing identifier.
[0091] Exemplarily, the first routing identifier may be a context reference identifier (Reference Identification, RID) of the first context or a prefix of the context reference identifier, and the context reference identifier is allocated by the first NF service network element to the first context of the first terminal device. The context reference identifier is used to uniquely identify a context in the service network element set corresponding to the first NF service network element.
[0092] Optionally, the context reference identifier is composed of a prefix and a suffix, wherein the prefix is used for routing, and the suffix is used to uniquely identify a context in the first NF service network element. Exemplarily, in one example, an NF service network element can be associated with a prefix of a context reference identifier. In another example, an NF service network element can be associated with prefixes of multiple context reference identifiers. Exemplarily, taking the example of associating a NF service network element with prefixes of multiple context reference identifiers, when a NF service network element (such as NF service network element 1) in a certain NF service set is shut down or fails, the platform control network element can assign prefixes of multiple context reference identifiers corresponding to the NF service network element 1 (such as prefix 1 and prefix 2) to other NF service network elements in the NF service set. Assume that the NF service set includes 3 NF service network elements, namely NF service network element 1, NF service network element 2 and NF service network element 3. When NF service network element 1 is shut down, the platform control network element can map prefix 1 to NF service network element 2, and map prefix 2 to NF service network element 3. In this way, all contexts whose context reference identifiers include prefix 1 are served by NF service network element 2, and all contexts whose context reference identifiers include prefix 2 are served by NF service network element 3.
[0093] Optionally, the NF service network element allocates only one context reference identifier for a context, and sends the context reference identifier to different NF client network elements, so that the NF client network element carries the context reference identifier or the prefix of the context reference identifier when initiating a request message for the context. Taking the NF service network element as SMF as an example, when establishing a session, SMF allocates a session context reference identifier, and SMF sends the session context reference identifier to PCF, UDM and AMF. When PCF, UDM and AMF need to initiate a request message for the session (such as modification), they, as client network elements, all carry the context reference identifier or the prefix of the context reference identifier as a routing identifier to send a message to SMF.
[0094] Optionally, in one example, before obtaining the first request message, the first forwarding network element may obtain a first indication from the platform control network element or other forwarding network element (such as the second forwarding network element), and the first indication is used to indicate the mapping relationship between the first routing identifier and the information of the first NF service network element. Afterwards, the first forwarding network element may determine the first mapping relationship based on the first indication, and the first mapping relationship is used to indicate the mapping relationship between the first routing identifier and the information of the first NF service network element, and the first NF service network element can provide services for the first context. Optionally, the information of the first NF service network element is one of the following: the network protocol IP address of the first NF service network element; or the device identifier of the first NF service network element.
[0095] Optionally, when the first forwarding network element obtains the first indication from other forwarding network elements, the first indication can be carried in a multicast message. For example, after obtaining the first indication from the corresponding NF service network element, the other forwarding network elements can send a multicast message to the first forwarding network element via multicast, and the multicast message includes the first indication. Exemplarily, taking the first forwarding network element as C1-A, the other forwarding network elements as S1-A, and S1-A being responsible for message forwarding of NF service network element S1 as an example, when S1-A obtains the first indication from S1, it can send a multicast message to C1-A via multicast, and the multicast message includes the first indication.
[0096] Optionally, when the first forwarding network element obtains the first indication from other forwarding network elements, the first indication may be first sent by other forwarding network elements or NF service network elements to the platform control plane network element, and then sent by the platform control plane network element to the first forwarding network element. Exemplarily, taking the first forwarding network element as C1-A, the other forwarding network elements as S1-A, and S1-A responsible for message forwarding of NF service network element S1 as an example, when S1-A obtains the first indication from S1, it sends the first indication to C1-A and the platform control plane network element, or S1 directly sends the first indication to the platform control plane network element, and the platform control plane network element then sends the first indication to C1-A.
[0097] In another example, before obtaining the first request message, the first forwarding network element may also obtain multiple indications from the platform control network element, each indication being used to indicate a mapping relationship between a routing identifier and information of an NF service network element. Afterwards, the first forwarding network element may determine multiple mapping relationships based on the multiple indications, each mapping relationship being used to indicate a mapping relationship between a routing identifier and information of an NF service network element.
[0098] In another example, before the first forwarding network element obtains the first request message, when the first NF service network element is offline (for example, the first NF service network element is shut down or fails, etc.) and the first NF service set where the first NF service network element is located includes the second NF service network element, or when the configuration of the first NF service set changes, or when the load balancing policy of the first NF service set changes, the first forwarding network element can obtain a second indication from the platform control network element, and the second indication is used to indicate the mapping relationship between the first routing identifier and the information of the second NF service network element. Afterwards, the second forwarding network element can update the first mapping relationship according to the second indication. Among them, the updated first mapping relationship is used to indicate the mapping relationship between the first routing identifier and the information of the second NF service network element, and the second indication is generated by the platform control network element when the first NF service network element is offline and the first NF service set where the first NF service network element is located includes the second NF service network element, or the configuration of the first NF service set changes, or the load balancing policy of the first NF service set changes.
[0099] Optionally, after the first forwarding network element updates the first mapping relationship, if the first forwarding network element obtains the second request message and the first routing identifier from the first NF client network element, the first forwarding network element may send the second request message to the second NF service network element according to the updated first mapping relationship. Exemplarily, in one example, the first forwarding network element may obtain the first request message and the first routing identifier through one message, that is, it is understood that the first message and the first routing identifier are encapsulated in the same message. In another example, the first forwarding network element may obtain the first request message, and the first request message may include the first routing identifier.
[0100] Optionally, after the first forwarding network element obtains the first indication, if the first forwarding network element obtains a release indication from the platform control network element or other forwarding network elements (such as the second forwarding network element), the first forwarding network element may release or delete the mapping relationship between the first routing identifier and the information of the first NF service network element according to the release indication, or may save the release indication. The release indication is used to indicate the release or deletion of the mapping relationship between the first routing identifier and the information of the first NF service network element, and the save operation of the release indication may be used to indicate that the mapping relationship between the first routing identifier and the information of the first NF service network element can be released or deleted.
[0101] Optionally, when the first forwarding network element obtains a release indication from other forwarding network elements, the release indication may be carried in a multicast message. For example, after obtaining the release indication from the corresponding NF service network element, the other forwarding network elements may send a multicast message to the first forwarding network element via multicast, and the multicast message includes the release indication. Alternatively, optionally, the first forwarding plane network element may obtain a release indication from the platform control network element. For example, after obtaining the release indication from the corresponding NF service network element, the other forwarding network elements may send a release indication to the platform control network element, and then the platform control network element sends a release indication to the first forwarding network element. Exemplarily, continuing to take the first forwarding network element as C1-A, the other forwarding network elements as S1-A, and S1-A being responsible for message forwarding of the NF service network element S1 as an example, when S1-A obtains the release indication from S1, it may send a multicast message to C1-A via multicast, and the multicast message includes the release indication, or the platform control network element may send a release indication.
[0102] Optionally, after the first forwarding network element obtains the release indication, when the first forwarding network element obtains the third request message and the first routing identifier from the first NF client network element, in one example, when it is determined that the mapping relationship between the first routing identifier and the information of the first NF service network element has been released or deleted, the first forwarding network element can select a third NF service network element in the first NF service set where the first NF service network element is located, and can forward the third request message to the third NF service network element. Optionally, the third message and the first routing identifier are encapsulated in the same message, or the third message can include the first routing identifier.
[0103] In another example, when it is determined that the release indication has been saved and the mapping relationship between the first routing identifier and the information of the first NF service network element has not been released or deleted, the first forwarding network element can select a third NF service network element or the first NF service network element in the first NF service set where the first NF service network element is located, and can forward the third request message to the third NF service network element or the first NF service network element.
[0104] Optionally, when it is determined that the release indication has been saved and the mapping relationship between the first routing identifier and the information of the first NF service network element has not been released or deleted, the third NF service network element is selected from other NF service network elements in the first NF service set except the first NF service network element when the first NF service network element is offline or the configuration of the first NF service set is changed or the load balancing policy of the first NF service set is changed.
[0105] Optionally, when it is determined that the release indication has been saved and the mapping relationship between the first routing identifier and the information of the first NF service network element has not been released or deleted, before the first forwarding network element selects the third NF service network element, the first forwarding network element can obtain a third indication from the platform control network element, and the third indication is used to indicate that the first NF service network element is offline or the configuration of the first NF service set has changed or the load balancing strategy of the first NF service set has changed.
[0106] Step 302: The first forwarding network element forwards the first request message to the first NF service network element according to the first mapping relationship.
[0107] Optionally, when the first mapping relationship is used to indicate the mapping relationship between the first routing identifier and the information of the first NF service network element, the first forwarding network element can determine, based on the first routing identifier, that the first request message is received by the first NF service network element, and then forward the first request message to the first NF service network element.
[0108] It can be seen from the above steps 301 to 302 that by assigning a routing identifier to each context and mapping the routing identifier to the NF service network element used to process the context, the forwarding network element used for message forwarding can timely and accurately forward one or more request messages for the first context to the same NF service network element. For example, by mapping the first routing identifier corresponding to the first context to the first NF service network element, the first forwarding network element can timely and accurately forward the first request message for the first context to the first NF service network element, and the first NF service network element processes the first request message accordingly (for example, the first request message requests to modify the first context, and the first NF service network element modifies the first context accordingly), without redirecting the first message, which can effectively avoid context inconsistencies and effectively improve the efficiency of message routing.
[0109] Based on the above embodiment 1, Figures 4 to 7 The specific example shown is used to introduce the communication method provided in the above-mentioned embodiment 1 in detail. In the following example, the first NF customer network element is C1, the first customer forwarding network element is C1-A, the first NF service network element is S1, the first NF service network element set includes S1 and S2, the first service forwarding network element is S1-A, and the service forwarding network element corresponding to S2 is S2-A. Among them, C1-A is responsible for message forwarding of C1, S1-A is responsible for message forwarding of S1, S2-A is responsible for message forwarding of S2, and S1 and S2 belong to the same NF service set (such as S service set). Optionally, when C1 (or C2) and S1 and S2 are deployed in different clusters, C1-A and C2-A correspond to the ingress gateways of the cluster.
[0110] See also Figure 4 , Figure 4 The following is a flow chart showing another communication method provided in the first embodiment of the present application. Figure 1 For example, the following takes the first routing identifier as the prefix of the context reference identifier as an example. Figure 4 The communication method flow shown in FIG. Figure 4 The application scenario of the communication method shown is: before S1 goes offline (for example, S1 is shut down or fails), S1 provides services for the first context of the first terminal device, and after S1 goes offline, S2 provides services for the first context of the first terminal device. Of course, C1 or C2 also provides services for the first terminal device. Figure 4 In the specific example shown, C1 or C2 calls the service of S1 (or S2) to provide services for the first terminal device. For example, taking C1 as an SMF network element and S1 as a PCF network element, the SMF network element provides session services for the session of the first terminal device. In the process of the SMF network element providing session services, a session context of the first terminal device is created. Afterwards, the SMF network element can call the policy service of the PCF network element to provide policy services for the session of the first terminal device. In the process of the PCF network element providing policy services, a session policy context of the first terminal device is created. Figure 4 As shown, the specific process of the method may include:
[0111] Step 401: When S1 goes offline, the platform controls the network element to generate a first update indication.
[0112] Optionally, S1 may correspond to a prefix of one or more context reference identifiers.
[0113] Exemplarily, taking the prefix RID-01 of a context reference identifier corresponding to S1 as an example, when S1 is shut down or fails, the platform control network element selects S2 in the NF service set where S1 is located, assigns RID-01 corresponding to S1 to S2, and generates a first update indication. The first update indication is used to indicate that the mapping relationship between RID-01 and S1's information (such as S1's IP address or device identification) is updated to the mapping relationship between RID-01 and S2's information; S2 is used to provide services for the first context corresponding to RID-01.
[0114] Exemplarily, taking the first terminal device as UE1, before S1 goes offline, S1 has created a first context for UE1, and assigned a context reference identifier of the first context using RID-01, wherein the prefix of the context reference identifier of the first context is RID-01. During the process of creating the first context, S1 has sent the first context reference identifier to C1 and C2, and the first context reference identifier includes RID-01. In addition, the platform control network element can obtain the mapping relationship between each NF service network element in the S service set and the prefix of the corresponding context reference identifier, and configure the mapping relationship between each NF service network element and the prefix of the corresponding context reference identifier for each forwarding network element. In this way, C1-A can forward the request message for the first context initiated by C1 to S1, or C2-A can forward the request message for the first context initiated by C2 to S1. Among them, C2-A is responsible for C2's message forwarding.
[0115] Exemplarily, the platform control network element may obtain the mapping relationship between each NF service network element in the S service set and the prefix of the corresponding context reference identifier by the following implementation method:
[0116] Method 1: During the initialization process, each NF service network element included in the S service set (i.e., the first NF service network element set) requests the platform control network element to obtain the prefix of the context reference identifier, and the platform control plane network element allocates the prefix of the context reference identifier to each NF service network element in the S service set.
[0117] For example, taking S1 and S2 included in the S service set as an example, S1 and S2 respectively send prefix acquisition requests to the platform control network element during initialization, and the prefix acquisition request is used to request the allocation of a prefix of a context reference identifier. After receiving the prefix acquisition request from S1, the platform control network element allocates one or more prefixes of context reference identifiers to S1, and sends the allocated one or more prefixes of context reference identifiers to S1. After receiving the prefix acquisition request from S2, the platform control network element allocates one or more prefixes of context reference identifiers to S2, and sends the allocated one or more prefixes of context reference identifiers to S2.
[0118] Method 2: During the instantiation process of each NF service network element included in the S service set, the configuration manager can request the platform control network element to allocate a prefix of a context reference identifier to each NF service network element in the S service set according to the configuration file of each NF service network element.
[0119] Optionally, for each NF service network element in the S service set, the requirement of the platform control network element to allocate a prefix of the context reference identifier to the NF service network element can be written into the configuration file of the NF service network element.
[0120] For example, taking S1 included in the S service set as an example, after S1 is instantiated, the configuration manager reads the configuration file of S1 and initiates a prefix acquisition request to the platform control network element, and the prefix acquisition request is used to request to assign a prefix of the context reference identifier to S1. After receiving the prefix acquisition request from the configuration manager, the platform control network element assigns one or more prefixes of the context reference identifier to S1, and sends the assigned one or more prefixes of the context reference identifier to the configuration manager. After receiving the prefix of one or more context reference identifiers, the configuration manager writes the prefix of one or more context reference identifiers to the configuration file of S1. S1 loads the configuration file of S1 at startup and obtains one or more prefixes of the context reference identifiers from the configuration file. Among them, the platform control network element records the prefix of one or more context reference identifiers assigned to S1.
[0121] Method 3: The configuration manager allocates a prefix of the context reference identifier to each NF service network element and writes it into the configuration file. The platform control plane network element reads the configuration file of each NF service network element to obtain the prefix of the context reference identifier of each NF service network element.
[0122] For example, continuing to take S1 included in the S service set as an example, after S1 is instantiated, the configuration manager assigns one or more context reference identifier prefixes to S1, and writes the assigned one or more context reference identifier prefixes to the configuration file of S1. S1 loads the configuration file of S1 at startup and obtains one or more context reference identifier prefixes from the configuration file. Among them, the platform control network element can obtain one or more context reference identifier prefixes by reading the configuration file of S1.
[0123] Exemplarily, the platform control network element may obtain the S offline notification from the cluster orchestrator. For example, when the cluster orchestrator is K8s, the platform control network element may subscribe to the S1 offline notification from K8s. When S1 goes offline, the platform control network element may obtain the notification information, thereby generating a first update indication.
[0124] Step 402: The platform controls the network element to send a first update instruction to C1-A. C1-A receives the first update instruction.
[0125] Exemplarily, continuing with the example of S1 corresponding to a prefix RID-01 of a context reference identifier, when the first update indication is used to indicate that the mapping relationship between the information of RID-01 and S1 is updated to the mapping relationship between the information of RID-01 and S2, C1-A updates the saved mapping relationship between the information of RID-01 and S1 to the mapping relationship between the information of RID-01 and S2.
[0126] Optionally, the platform control network element may also send a first update indication to other forwarding network elements (such as C2-A, S1-A or S2-A). After receiving the first update indication, the other forwarding network elements update the saved mapping relationship between RID-01 and S1 information to the mapping relationship between RID-01 and S2 information.
[0127] Optionally, the platform control network element may further configure S2, and configure RID-01 to S2. Subsequently, S2 may use RID-01 to allocate a prefix of a new context reference identifier to a newly connected user.
[0128] Step 403: C1 sends a first request message and RID-01 to C1-A. C1-A receives the first request message and RID-01.
[0129] Among them, the first request message is used to operate on a context, and the prefix of the context reference identifier of the context is RID-01. The first request message includes the context reference identifier. It should be noted that RID-01 can be sent as a part of the context reference identifier of the first request message, for example, the URI part of the first message includes the context reference identifier. Alternatively, the first request message may include both the complete context reference identifier (including RID-01) and RID-01, for example, RID-01 is included in the extended header of the HTTP message.
[0130] Optionally, when C1 sends a request message regarding a first context corresponding to a context reference identifier prefixed with RID-01 to the S service set, C1 sends a first request message and RID-01 to C1-A.
[0131] Step 404: C1-A forwards the first request message to S2 according to the first update indication and RID-01. S2 receives the first request message.
[0132] Since S2-A is responsible for forwarding the message of S2, the initial request message first passes through S2-A and then is forwarded by S2-A to S2.
[0133] Step 405: S2 processes the first request message from C1 accordingly.
[0134] Exemplarily, when the first request message from C1 is used to request modification of the first context, S2 may obtain the first context according to the context reference identifier in the first request message, and modify the first context accordingly.
[0135] Optionally, when S2 needs to reallocate the prefix of the context reference identifier for the first context, S2 sends a response message to C1, where the response message includes RID-02 of the first context, and the response message is forwarded to C1 via C1-A.
[0136] Exemplarily, taking another NF client network element C2 sending a request message about the first context corresponding to RID-01 to the S service set as an example, when C2 sends a request message about the first context corresponding to RID-01 to the S service set, C2 sends a first request message and RID-01 to C2-A. After receiving the first request message and RID-01, C2-A forwards the first request message to S2 according to the first update indication and RID-01. After receiving the first request message from C2, S2 processes the first request message from C2 accordingly. Exemplarily, when the first request message from C2 is used to request modification of the first context, S2 can obtain the first context according to the context reference identifier in the message, and modify the first context accordingly. Optionally, when S2 needs to reallocate the prefix of the context reference identifier for the first context, S2 sends a response message to C2, and the response message includes RID-02 of the first context. Among them, the response message is forwarded to C2 via C2-A.
[0137] In a possible implementation, when the first request messages initiated by C1 and C2 are concurrent, that is, before the request process initiated by C1 for the first context corresponding to RID-01 is completed, C2 initiates the request process for the first context corresponding to RID-01. At this time, C1-A and C2-A send the first request messages initiated by C1 and C2 to S2 according to the first update indication and RID-01, respectively. S2 can process the concurrent process according to the process characteristics, which can effectively avoid context inconsistency.
[0138] In addition, in one example, when the first context is also associated with another NF customer network element C3, and C3 has not initiated a request process for the first context corresponding to RID-01, if S2 saves the mapping relationship between RID-01 and S2's information, S2 can actively initiate an update process to C3 so as to send the prefix of the new context reference identifier of the first context (such as RID-02) to C3.
[0139] It can be seen from the above steps 401 to 405 that when S1 in the S service set goes offline, by timely and effectively allocating the prefixes of one or more context reference identifiers corresponding to S1 to other NF service network elements in the S service set (such as S2), it can be ensured that the request message for the context corresponding to one or more context reference identifiers using the prefix of the context reference identifier can be accurately sent to the same new NF service network element (such as S2), and the one or more contexts are processed by the same new NF service network element. This can effectively avoid context inconsistencies and effectively improve the efficiency of message routing.
[0140] See also Figure 5 , Figure 5 The following is a flow chart showing another communication method provided in the first embodiment of the present application. Figure 1 For example, the following continues to take the first routing identifier as the prefix of the context reference identifier as an example to introduce Figure 5 The communication method flow shown in FIG. Figure 5 The application scenario of the communication method shown is: the configuration of the S service set changes (for example, the S service set is reduced in capacity). For example, taking the closure (or reduction or deletion) of an NF service network element (for example, S1) in the S service set as an example, before S1 is closed, S1 provides services for the first context of the first terminal device, and after S1 is closed, S2 provides services for the first context of the first terminal device. Figure 5 As shown, the specific process of the method may include:
[0141] Step 501: The platform control network element obtains the mapping relationship between each NF service network element in the S service set and the prefix of the corresponding context reference identifier.
[0142] Optionally, the implementation method of step 501 can refer to the implementation method of the above-mentioned step 401 regarding the platform control network element obtaining the mapping relationship between each NF service network element in the S service set and the prefix of the corresponding context reference identifier, which will not be repeated here.
[0143] Step 502: The platform controls the network element to send a first instruction to C1-A. C1-A receives the first instruction.
[0144] Optionally, the first indication is used to indicate the mapping relationship between each NF service network element in the configured S service set and the prefix of the corresponding context reference identifier.
[0145] Optionally, after receiving the first indication, C1-A configures a mapping relationship between each NF service network element and the prefix of the corresponding context reference identifier.
[0146] Exemplarily, the platform control network element may also send a first update indication to other forwarding network elements (such as C2-A, S1-A or S2-A). After receiving the first indication, the other forwarding network elements configure the mapping relationship between each NF service network element and the prefix of the corresponding context reference identifier.
[0147] Step 503: after obtaining the scaling-down decision for the S service set, the platform control network element determines to shut down S1 in the S service set.
[0148] Optionally, the platform control network element receives a scaling-down decision for the S service set from the scaling controller. Exemplarily, the scaling-down decision may indicate the number of NF service network elements that need to be scaled down for the S service set, or may indicate the proportion of NF service network elements that need to be scaled down for the S service set. For example, taking the example of the scaling-down decision instructing the S service set to scale down one NF service network element, the platform control network element determines to shut down S1 in the S service set according to the load condition of the S service set or according to the actual needs of the user, and may assign one or more prefixes of context reference identifiers corresponding to S1 to other NF service network elements in the S service set, for example, all prefixes of context reference identifiers corresponding to S1 may be assigned to the same NF service network element, or a part of the prefixes of context reference identifiers corresponding to S1 may be assigned to one NF service network element, and another part of the prefixes of context reference identifiers corresponding to S1 may be assigned to another NF service network element.
[0149] Step 504: The platform controls the network element to assign the prefix of the context reference identifier corresponding to S1 to S2 in the S service set, and generates a second update indication.
[0150] Exemplarily, taking the prefix RID-01 of a context reference identifier corresponding to S1 as an example, when S1 is about to be shut down, the platform control network element selects S2 in the NF service set where S1 is located, assigns RID-01 corresponding to S1 to S2, and generates a second update indication. The second update indication is used to indicate that the mapping relationship between the information of RID-01 and S1 is updated to the mapping relationship between the information of RID-01 and S2; S2 is used to provide services for the first context corresponding to the context reference identifier with the context reference identifier prefix RID-01.
[0151] Optionally, after generating the second update instruction, the platform control network element may send the second update instruction to C1-A. C1-A receives the second update instruction.
[0152] Exemplarily, continuing to take the prefix RID-01 of a context reference identifier corresponding to S1 as an example, when the second update indication is used to indicate that the mapping relationship between the information of RID-01 and S1 is updated to the mapping relationship between the information of RID-01 and S2, C1-A updates the saved mapping relationship between the information of RID-01 and S1 to the mapping relationship between the information of RID-01 and S2. When C1-A receives a request message for the first context corresponding to RID-01, C1-A can forward the request message to S2 according to the second update indication and RID-01.
[0153] Optionally, the platform control network element may also send a second update indication to other forwarding network elements (such as C2-A, S1-A or S2-A). After receiving the second update indication, the other forwarding network elements update the saved mapping relationship between RID-01 and S1 information to the mapping relationship between RID-01 and S2 information.
[0154] Step 505: The platform controls the network element to send a shutdown preparation message to S1. S1 receives the shutdown preparation message.
[0155] Optionally, the shutdown preparation message is used to indicate that S1 is preparing to shut down. After receiving the message, S1 will no longer receive new request messages, or will refuse to provide services when receiving new request messages.
[0156] Optionally, after receiving the shutdown preparation message, if the context stored by S1 has not been backed up, S1 needs to back up the stored context, or S1 backs up the stored context after processing the ongoing process.
[0157] It should be noted that after S1 receives the shutdown preparation message sent by the platform control network element, if the first context corresponding to the context reference identifier with the context reference identifier prefix RID-01 has an ongoing process, S1 will still provide services for the process. However, since the platform control network element has configured the forwarding network element, the subsequent request message for the first context will be sent to other NF service network elements in the S service set (such as S2). At this time, before S1 has processed the relevant process for the first context, S2 may receive another related request message for the first context (concurrent). In this way, in order to avoid context inconsistency caused by concurrency, when S1 is processing the relevant process for the first context, the first context should set a status identifier to indicate that the first context is being processed. In this way, if S2 finds that the status of the first context is set to being processed, S2 should reject the request message for the first context and instruct C1 or C2 to wait for a period of time before re-initiating the process.
[0158] Step 506: C1 sends a first request message and RID-01 to C1-A. C1-A receives the first request message and RID-01.
[0159] Optionally, in one example, when C1 needs to perform a corresponding operation on the first context, it can send a first request message and RID-01 to C1-A. In another example, when C1 needs to perform a corresponding operation on the first context, C1 can also add RID-01 to the first request message and send the first request message with RID-01 added to it to C1-A.
[0160] Step 507: C1-A sends a first request message to S2 according to the second update indication and RID-01. S2 receives the first request message.
[0161] Optionally, after receiving the first request message and RID-01, C1-A can determine that the NF service network element for receiving the first request message is S2 according to the second update indication and RID-01, so C1-A sends the first request message to S2. Since S2-A is responsible for message forwarding of S2, the first request message first passes through S2-A and is then forwarded to S2 by S2-A.
[0162] It should be noted that in the first request message sent by C1, the destination address is S1 or S1-A. Before sending the first request message to S2, C1-A modifies the destination address of the first request message to S2 or S2-A, and then sends the modified first request message to S2.
[0163] It should be noted that the request message from the NF client network element triggers a certain NF service network element to process a context. In the process of processing the context, the NF service network element may call the services provided by other service network elements (i.e., send request messages to other service network elements and receive response messages). In other words, in the process of processing the context, the NF service network element may receive a response message. When designing the process, it should be ensured that for a context processing process, the NF service network element only receives a request message (i.e., the request message that triggers the process) at the beginning, and subsequent messages can only be triggered by the NF service network element. When configuring the forwarding network element, the platform control network element needs to distinguish the type of message. For the response message, the forwarding network element can forward the message only according to the destination address, that is, it does not need to use the prefix of the context reference identifier. In this way, it can be ensured that all response messages in the process of processing a context can be sent back to the same NF service network element without being affected by the message forwarding rules (such as the mapping relationship between the prefix of the context reference identifier and the information of the NF service network element). Moreover, when the NF service set where the NF service network element is located is expanded or reduced, it can be ensured that the initiated process can still be executed by the NF service network element to avoid process abnormalities.
[0164] Step 508: S1 sends a shutdown preparation completion message to the platform control network element. The platform control network element receives the shutdown preparation completion message.
[0165] Optionally, after S1 has processed all ongoing processes and backed up the stored context, it may send a shutdown preparation completion message to the platform control network element.
[0166] Optionally, when the platform control network element receives the shutdown preparation completion message, it can send an S1 deletion notification message to the orchestrator. After receiving the S1 deletion notification message, the orchestrator can delete S1 or S1's Pod and release the resources corresponding to S1. Optionally, the S1 deletion notification message is used to indicate the deletion of the relevant computing resources and network resources of S1.
[0167] It can be seen from the above steps 501 to 508 that when it is necessary to reduce the capacity of S1 in the S service set, by timely and effectively allocating the prefixes of one or more context reference identifiers corresponding to S1 to other NF service network elements in the S service set (such as S2), it can be ensured that the request messages for the contexts corresponding to one or more context reference identifiers using the prefix of the context reference identifier can be accurately sent to the same new NF service network element (such as S2), and the one or more contexts are processed by the same new NF service network element. This can effectively avoid inconsistencies in the contexts and effectively improve the efficiency of message routing.
[0168] See also Figure 6 , Figure 6 The following is a flow chart showing another communication method provided in the first embodiment of the present application. Figure 1 For example, the following continues to take the first routing identifier as the prefix of the context reference identifier as an example to introduce Figure 6 The communication method flow shown in FIG. Figure 6 The application scenario of the communication method shown is: the configuration of the S service set changes (for example, the S service set is expanded). For example, taking the addition of a NF service network element (such as S2) to the S service set as an example, before S2 is added to the S service set, S1 provides services for the contexts corresponding to the prefixes of multiple context reference identifiers. After S2 is added to the S service set, S2 provides services for the contexts corresponding to the prefixes of some context reference identifiers included in the prefixes of the multiple context reference identifiers. Figure 6 As shown, the specific process of the method may include:
[0169] Step 601: When S2 is added to the S service set, the platform control network element may map prefixes of some context reference identifiers of multiple context reference identifiers corresponding to S1 to S2 when determining to migrate some contexts originally served by S1 to be served by S2.
[0170] Optionally, when the platform control network element decides to map some of the prefixes of the multiple context reference identifiers corresponding to S1 to S2, a third update indication may be generated and sent to C1-A. C1-A receives the third update indication.
[0171] The third update indication is used to indicate that the mapping relationship between the prefix of this part of the context reference identifier and the information of S1 is updated to the mapping relationship between the prefix of this part of the context reference identifier and the information of S2.
[0172] Optionally, after receiving the third update indication, C1-A updates the stored mapping relationship between the prefix of this part of the context reference identifier and the information of S1 to the mapping relationship between the prefix of this part of the context reference identifier and the information of S2.
[0173] Optionally, the platform control network element may also send a third update indication to other forwarding network elements (such as C2-A, S1-A or S2-A). After receiving the third update indication, the other forwarding network elements update the saved mapping relationship between the prefix of this part of the context reference identifier and the information of S1 to the mapping relationship between the prefix of this part of the context reference identifier and the information of S2.
[0174] Exemplarily, when the platform control network element perceives that S2 is newly added to the S service set, the prefixes of a part of the context reference identifiers associated with one or more NF service network elements included in the S service set can be mapped to S2 according to the load of one or more NF service network elements included in the S service set, so that S2 can share part of the load for one or more NF service network elements in the S service set. In one example, when the S service set originally includes only one NF service network element (such as S1), after S2 is newly added to the S service set, the platform control network element can map the prefixes of a part of the context reference identifiers in the prefixes of multiple context reference identifiers associated with S1 to S2. In another example, when the S service set originally includes two NF service network elements (such as S1 and S3), after S2 is newly added to the S service set, the platform control network element can map the prefixes of a part of the context reference identifiers in the prefixes of multiple context reference identifiers associated with S1 to S2, and can map the prefixes of a part of the context reference identifiers in the prefixes of multiple context reference identifiers associated with S3 to S2.
[0175] Exemplarily, the platform control network element may perceive the addition of S2 to the S service set by the following implementation method:
[0176] Method 1: The platform control network element obtains a notification message of newly adding S2 to the S service set from the orchestrator.
[0177] Method 2: When participating in the expansion of the S service set, the platform control network element senses that S2 is newly added to the S service set.
[0178] For example, when the platform control network element allocates one or more context reference identifier prefixes to a new NF service network element (such as S2), it perceives that S2 is newly added to the S service set.
[0179] Step 602: The platform controls the network element to send a prefix migration preparation message to S1. S1 receives the prefix migration preparation message.
[0180] Optionally, the prefix migration preparation message is used to instruct S1 to stop using prefixes of a part of context reference identifiers allocated to S2. For example, S1 stops using the prefixes of this part of context reference identifiers to allocate context reference identifiers to newly created contexts.
[0181] Optionally, after receiving the prefix migration preparation message, S1 no longer receives a new request message corresponding to a context whose context reference identifier includes the prefix, or refuses to provide a service upon receiving a new request message corresponding to this part of the context.
[0182] Optionally, after receiving the prefix migration preparation message, if the context stored by S1 has not been backed up, S1 needs to back up the stored context, or S1 backs up the stored context after processing the ongoing process.
[0183] Step 603: C1 sends a first request message and RID-01 to C1-A. C1-A receives the first request message and RID-01.
[0184] Optionally, in one example, when C1 needs to perform a corresponding operation on the first context, it can send a first request message and RID-01 to C1-A respectively. In another example, when C1 needs to perform a corresponding operation on the first context, C1 can also add RID-01 to the first request message and send the first request message with RID-01 added to it to C1-A.
[0185] Step 604: C1-A sends a first request message to S2 according to the third update indication and RID-01. S2 receives the first request message.
[0186] Optionally, after receiving the first request message and RID-01, C1-A can determine that the NF service network element for receiving the first request message is S2 according to the third update indication and RID-01, so C1-A sends the first request message to S2. Since S2-A is responsible for message forwarding of S2, the first request message first passes through S2-A and is then forwarded by S2-A to S2.
[0187] Step 605: S1 sends a prefix migration preparation completion message to the platform control network element. The platform control network element receives the prefix migration preparation completion message.
[0188] Optionally, after S1 has processed all ongoing processes and backed up the stored context, it may send a prefix migration preparation completion message to the platform control network element.
[0189] Optionally, in one example, after receiving the prefix migration preparation completion message, the platform control network element may start the configured prefix migration completion timer, and when the prefix migration completion timer expires, the platform control network element may send a prefix recovery message to S1. The prefix recovery message is used to indicate that S1 can continue to use the prefix of this part of the context reference identifier. In addition, when the prefix migration completion timer expires, the platform control network element may reconfigure the mapping relationship between the prefix of this part of the context reference identifier and the information of S1, and resume the service provided by S1 for the context corresponding to the prefix of this part of the context reference identifier.
[0190] In another example, S1 may also start a configured prefix migration completion timer, and when the prefix migration completion timer expires, S1 may continue to use the prefix of this part of the context reference identifier. Optionally, S1 may send a prefix recovery message to the platform control network element after the prefix migration completion timer expires.
[0191] Optionally, when receiving the prefix recovery message, the platform controls the network element to reconfigure the mapping relationship between the prefix of this part of the context reference identifier and the information of S1, and restores the service provided by S1 for the context corresponding to the prefix of this part of the context reference identifier.
[0192] It can be seen from the above steps 601 to 605 that when a new NF service network element (such as S2) is added to the S service set, by timely and effectively allocating the prefix of a part of the context reference identifier corresponding to S1 to other NF service network elements in the S service set (such as S2), it can be ensured that the request message for the context corresponding to the prefix of this part of the context reference identifier can be accurately sent to the same new NF service network element (such as S2), and the context corresponding to the prefix of this part of the context reference identifier can be processed by the same new NF service network element. This can effectively avoid context inconsistencies, effectively improve the efficiency of message routing, and at the same time achieve good load balancing in the expanded NF service set.
[0193] See also Figure 7 , Figure 7 The following is a flow chart showing another communication method provided in the first embodiment of the present application. Figure 1 For example, the following takes the case where C1 initiates an initial request message, S1 included in the S service set receives an initial request message from C1, and the first routing identifier is a context reference identifier as an example. Figure 7 The communication method flow shown in FIG. Figure 7 The communication method shown can be applied to scenarios such as when a NF service network element in the S service set goes offline, the configuration of the S service set changes, or the load balancing strategy of the S service set changes (for example, the load balancing strategy is updated for the S service set). Figure 7 As shown, the specific process of the method may include:
[0194] Step 701: C1 sends an initial request message to C1-A. C1-A receives the initial request message.
[0195] Optionally, the initial request message is used to request the S service set to provide a corresponding service for the first terminal device. However, since the S service set has not yet created a context for the first terminal device, the initial request message does not carry a context reference identifier.
[0196] Step 702: C1-A selects S1 from the service set S according to the load balancing selection mechanism. S1 provides corresponding services for the first terminal device.
[0197] Exemplarily, the load balancing selection mechanism may include but is not limited to a polling selection mechanism or a weight selection mechanism.
[0198] For example, C1-A can use a polling method to select a NF service network element (such as S1) in the S service set to provide corresponding services for the first terminal device, or can select a NF service network element (such as S1) in the S service set according to the weight to provide corresponding services for the first terminal device, or other load balancing mechanisms can be used. The embodiment of the present application does not limit which load balancing selection mechanism C1-A selects.
[0199] Step 703: C1-A sends an initial request message to S1.
[0200] Among them, since S1-A is responsible for forwarding the message of S1, the initial request message first passes through S1-A and then is forwarded by S1-A to S1.
[0201] Step 704: S1 creates a first context for the first terminal device and allocates a context reference identifier RID1 to the first context.
[0202] Step 705: S1 sends an initial response message to S1-A. S1-A receives the initial response message.
[0203] Optionally, the initial response message carries RID1.
[0204] It should be noted that the NF service network element can assign a context reference identifier to each context, and send the context reference identifier as part of the Uniform Resource Identifier (URI) to the NF client network element in the response message of creating the context, and the subsequent NF client network element can use the resource URI.
[0205] Exemplarily, RID1 may be carried in the URI corresponding to the first context, or may be carried in the header of a response message, such as carrying RID1 in the header of a HyperText Transfer Protocol (HTTP) response message.
[0206] Optionally, when S1 needs to establish a binding relationship with the first context (ie, establish a binding relationship between RID1 corresponding to the first context and information of S1), the binding relationship may be established in the following implementation manner:
[0207] Method 1: S1 adds binding indication information in the initial response message. The binding indication information is used to indicate that there is a binding relationship between the information of RID1 and S1. After receiving the initial response message, S1-A can save the mapping relationship between the information of RID1 and S1, or can save the mapping relationship between RID1 and the information of S1-A according to the binding indication information carried in the initial response message. Optionally, RID1 may be included in the binding indication information. For example, taking the initial response message as an HTTP response message, the binding indication information may be carried in the header of the HTTP response message.
[0208] Optionally, in one example, when there are other forwarding network elements (such as C1-A, C2-A, S2-A), S1-A can send the mapping relationship between the information of RID1 and S1 or the mapping relationship between the information of RID1 and S1-A to other forwarding network elements. For example, S1-A can use multicast to send a multicast message to other forwarding network elements, and the multicast message carries the mapping relationship between the information of RID1 and S1 or the mapping relationship between the information of RID1 and S1-A, which can effectively reduce the number of messages sent, thereby saving bandwidth resources and network resources.
[0209] In another example, S1-A can send the mapping relationship between RID1 and S1's information or the mapping relationship between RID1 and S1-A's information to the platform control network element, and the platform control network element configures the mapping relationship between RID1 and S1's information or the mapping relationship between RID1 and S1-A's information to other forwarding network elements.
[0210] Method 2: S1 sends a binding request message to the platform control network element. The binding request message is used to request the platform control network element to establish a binding relationship between the information of RID1 and S1. After receiving the binding request message, the platform control network element can establish a binding relationship between the information of RID1 and S1, and save the mapping relationship between the information of RID1 and S1, or save the mapping relationship between the information of RID1 and S1-A. Afterwards, the platform control network element can send the mapping relationship between the information of RID1 and S1 to multiple forwarding network elements (such as C1-A, C2-A, S1-A, S2-A), or can send the mapping relationship between the information of RID1 and S1-A to multiple forwarding network elements. Optionally, RID1 is carried in the binding request message.
[0211] Step 706: S1-A sends an initial response message to C1. C1 receives the initial response message.
[0212] Among them, since C1-A is responsible for forwarding the message of C1, the initial response message first passes through C1-A and is then forwarded by C1-A to C1.
[0213] Optionally, when S1-A sends an initial response message to C1, it may delete the binding indication information carried in the initial response message.
[0214] Optionally, after receiving the initial response message, C1 can obtain RID1 from the initial response message. When C1 needs to perform corresponding operations on the first context (such as modifying the first context) later, the request message for the first context and RID1 can be sent to C1-A respectively, or RID1 can be added to the request message for the first context.
[0215] Step 707: C1 sends a first request message and RID1 to C1-A. C1-A receives the first request message and RID1.
[0216] Optionally, in one example, when C1 needs to perform a corresponding operation on the first context, it can send a first request message and RID1 to C1-A respectively. In another example, when C1 needs to perform a corresponding operation on the first context, C1 can also add RID1 to the first request message and send the first request message with RID1 added to C1-A.
[0217] Step 708: C1-A sends a first request message to S1 according to RID1 and the stored mapping relationship between RID1 and S1 information. S1 receives the first request message.
[0218] Since S1-A is responsible for forwarding the message of S1, the first request message first passes through S1-A and is then forwarded by S1-A to S1.
[0219] Optionally, C1-A may also send a first request message to S1-A according to RID1 and the mapping relationship between the stored information of RID1 and S1-A, and S1-A forwards the first request message to S1.
[0220] Step 709: S1 sends a first response message to S1-A. S1-A receives the first response message.
[0221] Since the first response message is a response to the first request message of C1, and C1-A is responsible for message forwarding of C1, S1-A can send the first response message to C1-A, and then C1-A forwards the first response message to C1. Optionally, the first response message carries RID1.
[0222] Optionally, when S1 determines to release the binding relationship between RID1 and S1's information, the binding relationship may be released by the following implementation method:
[0223] Method 1: S1 adds unbinding indication information in the first response message. Alternatively, S1 may also generate a separate message and carry the unbinding indication information in the message. The unbinding indication information is used to indicate the unbinding of the mapping relationship between RID1 and S1's information (or the mapping relationship between RID1 and S1-A's information). Optionally, the unbinding indication information may include RID1.
[0224] Optionally, after receiving the first response message, S1-A may delete the mapping relationship between the information of RID1 and S1 (or the mapping relationship between the information of RID1 and S1-A) according to the unbinding indication information carried in the first response message, or may not delete the mapping relationship between the information of RID1 and S1 (or the mapping relationship between the information of RID1 and S1-A), but save the unbinding indication information. The operation of saving the unbinding indication information is used to indicate that the mapping relationship between the information of RID1 and S1 (or the mapping relationship between the information of RID1 and S1-A) can be released.
[0225] Optionally, after receiving the first response message, S1-A may also send an unbinding indication message to other forwarding network elements (such as C1-A, C2-A, S2-A). The unbinding indication message is used to indicate the release of the mapping relationship between RID1 and S1's information (or the mapping relationship between RID1 and S1-A's information). Optionally, the unbinding indication message carries RID1.
[0226] For example, S1-A can use multicast to send an unbinding indication message to C1-A or C2-A or S2-A. The unbinding indication message is used to indicate the release of the mapping relationship between RID1 and S1's information (or the mapping relationship between RID1 and S1-A's information). This can effectively reduce the number of messages sent, thereby saving bandwidth resources and network resources.
[0227] In another example, S1-A may send unbinding indication information to the platform control network element, and the platform control network element sends the unbinding indication information to other forwarding network elements, such as C1-A or C2-A or S2-A.
[0228] After receiving the unbinding indication information, C1-A or C2-A or S2-A may delete the mapping relationship between the information of RID1 and S1 (or the mapping relationship between the information of RID1 and S1-A) according to the unbinding indication information, or may save the unbinding indication information. The saving operation of the unbinding indication information is used to indicate that the mapping relationship between the information of RID1 and S1 (or the mapping relationship between the information of RID1 and S1-A) can be released.
[0229] Optionally, after receiving the first response message, C1-A may delete the mapping relationship between the information of RID1 and S1 (or the mapping relationship between the information of RID1 and S1-A) according to the unbinding indication information carried in the first response message, or may not delete the mapping relationship between the information of RID1 and S1 (or the mapping relationship between the information of RID1 and S1-A), but save the unbinding indication information. The operation of saving the unbinding indication information is used to indicate that the mapping relationship between the information of RID1 and S1 (or the mapping relationship between the information of RID1 and S1-A) can be released.
[0230] Method 2: S1 sends an unbinding request message to the platform control network element. The unbinding request message is used to request the platform control network element to release the mapping relationship between RID1 and S1's information (or the mapping relationship between RID1 and S1-A's information). Optionally, RID1 is carried in the unbinding request message. After receiving the unbinding request message, the platform control network element can delete the mapping relationship between RID1 and S1's information (or the mapping relationship between RID1 and S1-A's information). Afterwards, the platform control network element can send an unbinding indication message to multiple forwarding network elements (such as C1-A or C2-A or S1-A or S2-A). After receiving the unbinding indication information, C1-A or C2-A or S1-A or S2-A may delete the mapping relationship between the information of RID1 and S1 (or the mapping relationship between the information of RID1 and S1-A) according to the unbinding indication information, or may not delete the mapping relationship between the information of RID1 and S1, but save the unbinding indication information. The saving operation of the unbinding indication information is used to indicate that the mapping relationship between the information of RID1 and S1 (or the mapping relationship between the information of RID1 and S1-A) can be released.
[0231] Optionally, the following steps (i.e., steps 710 to 713) introduce the communication process when C1 again initiates a corresponding request operation for the first context after multiple forwarding network elements delete or save the mapping relationship between RID1 and S1's information (or the mapping relationship between RID1 and S1-A's information).
[0232] Step 710: C1 sends a second request message and RID1 to C1-A. C1-A receives the second request message and RID1.
[0233] Optionally, in one example, C1 may send the second request message and RID1 to C1-A respectively. In another example, C1 may also add RID1 to the second request message, and send the second request message with RID1 added to C1-A.
[0234] Step 711: When the mapping relationship between the information of RID1 and S1 has been deleted, C1-A selects S2 in the S service set.
[0235] Optionally, when C1-A finds that there is no mapping relationship between RID1 and any NF service network element in the S set according to RID1, C1-A can select S2 in the S service set according to the load balancing selection mechanism. The implementation method of C1-A selecting S2 in the S service set according to the load balancing selection mechanism can refer to the implementation method in the above step 702, which will not be repeated here.
[0236] Optionally, when the unbinding indication information has been saved and the mapping relationship between the information of RID1 and S1 has not been deleted, C1-A selects S1 or S2 in the S service set. That is, C1-A can continue to select S1 to provide services for the context, or select another NF service network element S2 in the S service set other than S1 to provide services for the context.
[0237] Among them, when the unbinding indication information has been saved and the mapping relationship between the information of RID1 and S1 has not been deleted, C1-A will select S2 in the S service set only when S1 fails or the configuration of the S service set changes (such as the S service set is expanded or reduced in capacity) or the load balancing policy of the S service set changes (such as modifying the load balancing policy of the S service set or replacing the load balancing policy of the S service set with a new load balancing policy, etc.). Otherwise, even if S1 releases the binding relationship with RID1, C1-A will still select S1. In this way, S1 can still save the context after releasing the binding relationship with RID1, so as to speed up the business processing flow.
[0238] Step 712: C1-A sends a second request message to S2. S2 receives the second request message.
[0239] Since S2-A is responsible for forwarding the message of S2, the second request message first passes through S2-A and is then forwarded to S2 by S2-A.
[0240] Step 713: S2 sends a second response message to S2-A. S2-A receives the second response message.
[0241] Since the second response message is a response to the second request message of C1, and C1-A is responsible for message forwarding of C1, S2-A can send the second response message to C1-A, and then C1-A forwards the second response message to C1. Optionally, the second response message carries RID1.
[0242] Optionally, when S2 needs to establish a binding relationship with the first context (i.e., establish a binding relationship between RID1 corresponding to the first context and S2's information), reference can be made to the implementation method of S1 establishing a binding relationship between RID1 corresponding to the first context and S2's information in the above step 705, which will not be repeated here.
[0243] Optionally, when S2 needs to release the first context, S2 may notify each forwarding network element to release the first context in the following implementation manner.
[0244] Method 1: S2 sends context deletion indication information to S2-A. Optionally, the context deletion indication information may include RID1. The context deletion indication information is used to indicate the deletion of the first context associated with RID1. Optionally, the context deletion indication information may be carried in the second response message, or may be separately encapsulated in a notification message, such as defining a special notification message to notify the forwarding network element to delete the first context associated with RID1, and the special notification message carries the context deletion indication information.
[0245] Optionally, when there are other forwarding network elements (such as C1-A, C2-A, S1-A), S2-A can send context deletion indication information to other forwarding network elements so that other forwarding network elements can delete the first context associated with RID1 in a timely manner according to the context deletion indication information. For the specific sending method, please refer to the description of the above unbinding indication.
[0246] Method 2: S2 sends context deletion indication information to the platform control network element. After receiving the context deletion indication information, the platform control network element sends a context deletion notification message to multiple forwarding network elements (such as C1-A, C2-A, S1-A, S2-A). Among them, the context deletion notification message carries the context deletion indication information. After receiving the context deletion notification message, multiple forwarding network elements can delete the first context associated with RID1 according to the context deletion indication information carried in the context deletion notification message.
[0247] It can be seen from the above steps 701 to 713 that by assigning a context reference identifier to each context and mapping the context reference identifier to the NF service network element used to process the context, the forwarding network element used for message forwarding can promptly and accurately forward one or more request messages for the context to the same NF service network element, and the NF service network element will perform corresponding processing on the request message of the context. This can effectively avoid inconsistencies in the context and effectively improve the efficiency of message routing.
[0248] [Example 2]
[0249] Figure 8The following is a flow chart showing a communication method provided in the second embodiment of the present application. Figure 1 The communication system architecture shown in FIG. 1 is shown in FIG. 1 . The method may be performed by a first forwarding network element in a mobile communication network service architecture. The first forwarding network element may be responsible for forwarding messages of one or more NF client network elements. For example, the first forwarding network element may be Figure 1 The customer forwarding network element shown is, for example, customer forwarding network element 161 or customer forwarding network element 162.
[0250] like Figure 8 As shown, the method includes:
[0251] Step 801: A first forwarding network element obtains a first request message from a first NF client network element.
[0252] Optionally, the first request message includes the address of the first NF service network element or the address of the third forwarding network element; the third forwarding network element is responsible for message forwarding of the first NF service network element.
[0253] Exemplarily, the address may include, but is not limited to, an IP address or a Media Access Control Address (MAC) or a domain name address (such as a Fully Qualified Domain Name (FQDN) address), etc.
[0254] Step 802: When the first NF service network element goes offline or the configuration of the first NF service set where the first NF service network element is located changes or the load balancing strategy of the first NF service set changes, the first forwarding network element selects a second NF service network element in the first NF service set according to the NF service network element reselection rule.
[0255] In one implementation, the first forwarding network element may determine the first NF service set described by the first NF service network element according to the address of the first NF service network element or the address of the third forwarding network element in the first request message, and select the second NF service network element from the first NF service set.
[0256] Optionally, the NF service network element reselection rules may include but are not limited to the following situations.
[0257] Scenario 1: When the first NF service network element goes offline (for example, the first NF service network element is shut down or fails), the NF service network element reselection rule is used to instruct the designated NF service network element to receive the first request message as the second NF service network element, and the designated NF service network element is located in the first NF service set.
[0258] Scenario 2: When the first NF service network element goes offline, the NF service network element reselection rule can also be used to instruct to select one NF service network element from other NF service network elements in the first NF service set except the first NF service network element as the second NF service network element to receive the first request message.
[0259] Scenario three: When the configuration of the first NF service set changes (for example, the first NF service set is reduced or expanded) or the load balancing strategy of the first NF service set changes, the NF service network element reselection rule is used to indicate the selection of the second NF service network element from the first NF service set, and the second NF service network element receives the first request message.
[0260] Optionally, based on the above scenario three, the NF service network element reselection rule may also include the number of contexts or the ratio of the number of contexts migrated from the first NF service network element to the second NF service network element. Optionally, the NF service network element reselection rule may also include the address of the first NF service network element or the address of the third forwarding network element, so that the first forwarding network element can accurately know which messages are the first request messages, and can accurately update which information in the first request message to the relevant information of the new NF service network element.
[0261] In one example, the platform control network element can determine the number or proportion of contexts that the second NF service network element needs to serve based on the number of contexts served by the first NF service network element, and send context selection indication information to the first forwarding network element. The context selection indication information is used to indicate that a part or a certain proportion of contexts are selected from the number of contexts served by the first NF service network element to be provided with corresponding services by the second NF service network element. Exemplarily, taking the example of the first forwarding network element selecting N contexts to be provided with corresponding services by the second NF service network element, after the first forwarding network element reselects the second NF service network element for N request messages directed to the first NF service network element, it will no longer reselect the NF service network element for other request messages directed to the first NF service network element.
[0262] In another example, the number of users (i.e., the number of terminal devices) served by the first NF service network element determines the number of users or the proportion of users that the second NF service network element needs to serve, and sends context selection indication information to the first forwarding network element. The context selection indication information is used to indicate that a part or a certain proportion of users from the number of users served by the first NF service network element are selected to be provided with corresponding services by the second NF service network element.
[0263] Step 803: When the first forwarding network element updates the address of the first NF service network element included in the first request message to the address of the second NF service network element, the first forwarding network element forwards the first request message to the second NF service network element.
[0264] Optionally, when the first request message carries the address of the first NF service network element, the first forwarding network element may update the address of the first NF service network element to the address of the second NF service network element to obtain an updated first request message. Afterwards, the first forwarding network element may forward the updated first request message to the second NF service network element.
[0265] Optionally, the first request message can be first sent to the fourth forwarding network element, and then sent by the fourth forwarding network element to the second NF service network element.
[0266] Step 804: When the first forwarding network element updates the address of the third forwarding network element included in the first request message to the address of the fourth forwarding network element, the first forwarding network element forwards the first request message to the fourth forwarding network element.
[0267] Optionally, when the first request message carries the address of the third forwarding network element, the first forwarding network element may update the address of the third forwarding network element to the address of the fourth forwarding network element to obtain an updated first request message. Afterwards, the first forwarding network element may forward the updated first request message to the fourth forwarding network element. The fourth forwarding network element is responsible for forwarding messages of the second NF service network element. Afterwards, when the fourth forwarding network element receives the updated first request message, it may forward the updated first request message to the second NF service network element.
[0268] It can be seen from the above steps 801 to 804 that when the first NF service network element goes offline (for example, the first NF service network element is shut down or fails, etc.) or the configuration of the first NF service set where the first NF service network element is located changes or the load balancing strategy of the first NF service set changes, the first forwarding network element can select the second NF service network element in the first NF service set in a timely and effective manner according to the NF service network element reselection rule, so that the first forwarding network element can forward the first request message for the first context to the second NF service network element, and the second NF service network element will process the first request message accordingly. This can effectively avoid context inconsistencies and effectively improve the efficiency of message routing.
[0269] Based on the above embodiment 2, Fig. 9 The specific example shown is used to introduce the communication method provided in the above-mentioned embodiment 2 in detail. In the following example, the NF customer network element is C1, the customer forwarding network element is C1-A, the NF service network elements are S1 and S2, and the service forwarding network elements are S1-A and S2-A. Among them, C1-A is responsible for C1 message forwarding, S1-A is responsible for S1 message forwarding, S2-A is responsible for S2 message forwarding, and S1 and S2 belong to the same NF service set (such as S service set).
[0270] See also Fig. 9 , Fig. 9 The following is a flow chart showing another communication method provided in the second embodiment of the present application. Figure 1 For example, the following takes the case where C1 initiates an initial request message and S1 included in the S service set receives an initial request message from C1 as an example. Fig. 9 The communication method flow shown in FIG. Fig. 9 As shown, the specific process of the method may include:
[0271] Step 901: C1 sends an initial request message to C1-A. C1-A receives the initial request message.
[0272] Optionally, the initial request message is used to request the S service set to provide corresponding services for the first terminal device.
[0273] Exemplarily, in one example, the initial request message may carry the address of the S service set (such as an IP address), or may carry the selection parameters of the S service set. In another example, C1 may also send the initial request message and the address of the S service set to C1-A, or may send the initial request message and the selection parameters of the S service set to C1-A.
[0274] Step 902: C1-A selects S1 from the S service set according to the load balancing selection mechanism.
[0275] Optionally, when the initial request message carries the address of the S service set, C1-A can query which NF service network elements are included in the S service set according to the address of the S service set, and can select S1 in the S service set according to the load balancing selection mechanism. The implementation method of C1-A selecting S1 in the S service set according to the load balancing selection mechanism can refer to the implementation method in the above step 702, which will not be repeated here.
[0276] When the initial request message carries the selection parameter of the S service set, C1-A selects the S service set according to the selection parameter of the S service set. For example, C1-A can select the S service set through the network function repository function (NRF) network element (the NRF network element stores the mapping relationship between the selection parameter and the NF service set). After that, C1-A can select S1 in the S service set according to the load balancing selection mechanism.
[0277] Step 903: C1-A sends an initial request message to S1. S1 receives an initial response message.
[0278] Among them, since S1-A is responsible for forwarding the message of S1, the initial request message first passes through S1-A and then is forwarded by S1-A to S1.
[0279] Optionally, after receiving the initial request message, S1 may create a first context for the first terminal device.
[0280] Step 904: S1 sends an initial response message to C1. C1 receives the initial response message.
[0281] Among them, since the initial response message is a response to C1's initial request message, and C1-A is responsible for C1's message forwarding, and S1-A is responsible for S1's message forwarding, S1 can first send the initial response message to S1-A, and then S1-A sends the initial response message to C1-A, and then C1-A forwards the initial response message to C1.
[0282] Optionally, when S1 needs to establish a binding relationship with the first context (i.e., establish a binding relationship between the first context and the address of S1 (such as an IP address)), S1 can add the address of S1 in the initial response message. Optionally, the address of S1 can be carried in the URI of the initial response message. Optionally, S1 can add binding indication information in the initial response message. The binding indication information is used to indicate the mapping relationship between the first context and the address of S1.
[0283] Optionally, when the initial response message carries binding indication information, S1-A may replace the address of S1 carried in the initial response message with the address of S1-A according to the binding indication information.
[0284] Optionally, when the initial response message does not carry binding indication information, S1-A can replace the address of S1 carried in the initial response message with the address of the service set S. For example, taking the K8s cluster as an example, the address of the service set S is the Cluster IP that provides services in the K8s cluster, and the service set corresponds to the server Service in the K8s cluster.
[0285] Step 905: C1 sends a first request message to C1-A. C1-A receives the first request message.
[0286] Optionally, when C1 needs to perform a corresponding operation on the first context (such as modifying the first context), a first request message is sent to C1-A.
[0287] Optionally, in one example, the first request message may carry the address of S1-A (or the address of S1). In another example, C1 may also send the first request message and the address of S1-A (or the address of S1) to C1-A respectively.
[0288] Step 906: C1-A sends a first request message to S1-A according to the address of S1-A. S1-A receives the first request message.
[0289] Since S1-A is responsible for forwarding messages of S1, after receiving the first request message, S1-A forwards the first request message to S1. After receiving the first message, S1 processes the corresponding operation requested by the first request message.
[0290] For example, in one example, when C1-A receives the first request message, it obtains the address of S1. C1-A can also send the first request message to S1 according to the address of S1. S1 receives the first request message. Since S1-A is responsible for message forwarding of S1, the first request message first passes through S1-A and is then forwarded by S1-A to S1.
[0291] Optionally, when the initial response message carries binding indication information, C1 may add binding indication information in the first request message. In this way, C1-A may not reselect other NF service network elements in the S service set to receive the first request message based on the binding indication information carried in the first request message, but instead use the destination address specified by C1 (i.e., the address of S1-A) to send the first request message to S1-A, and S1-A forwards the first request message to S1.
[0292] Optionally, the following steps (ie, step 907 to step 911 ) are used to introduce the communication process when C1 initiates a corresponding request operation for the first context after executing step 904 when S1 is shut down or fails.
[0293] Step 907: When S1 is shut down or fails, the platform controls the network element to send the first reselection rule to C1-A.
[0294] Optionally, before C1 sends the second request message to C1-A, when the platform control network element senses that S1 is shut down or fails, a first reselection rule for reselecting the NF service network element is generated, and the first reselection rule is configured to multiple forwarding network elements (such as C1-A, C2-A, S1-A or S2-A). The first reselection rule is used to instruct S2 designated by the platform control network element to receive the request message for the first context sent to S1, or the first reselection rule is used to instruct to select one NF service network element from other NF service network elements in the S service set except S1 to receive the request message for the first context.
[0295] Optionally, the platform control network element may obtain information about S1 failure or shutdown from the cluster orchestrator. For example, when the cluster orchestrator is K8s, the platform control network element may subscribe to notifications of S1 failure or shutdown from K8s. When S1 fails or shuts down, S1 may obtain notification information, thereby formulating a first reselection rule and sending the first reselection rule to the forwarding network element.
[0296] Step 908: C1 sends a second request message to C1-A. C1-A receives the second request message.
[0297] Optionally, in one example, the second request message may carry the address of S1-A (or the address of S1). In another example, C1 may also send the second request message and the address of S1-A (or the address of S1) to C1-A respectively.
[0298] Step 909: C1-A selects S2 from the S service set according to the first reselection rule.
[0299] Exemplarily, in one example, when the second request message carries the address of S1-A, after C1-A selects S2 in the S service set, the address of S1-A carried in the second request message is replaced with the address of S2-A. In another example, when the second request message carries the address of S1, after C1-A selects S2 in the S service set, the address of S1 carried in the second request message is replaced with the address of S2.
[0300] Step 910: C1-A sends a second request message to S2. S2 receives the second request message.
[0301] Since S2-A is responsible for forwarding the message of S2, the second request message first passes through S2-A and is then forwarded to S2 by S2-A.
[0302] Step 911: S2 sends a second response message to S2-A. S2-A receives the second response message.
[0303] Among them, since the second response message is a response to the second request message of C1, and C1-A is responsible for message forwarding of C1, S2-A can first send the second response message to C1-A, and then C1-A forwards the second response message to C1.
[0304] Optionally, when S2 needs to establish a binding relationship with the first context (i.e., a binding relationship between the first context and the address of S2 (such as an IP address or FQDN)), a mapping relationship update indication may be added to the second response message. The mapping relationship update indication is used to indicate that the mapping relationship between the first context and the IP address or FQDN of S1 is updated to a mapping relationship between the first context and the IP address or FQDN of S2. In this way, the request message for the first context initiated by the NF customer network element (such as C1 or C2, etc.) can be accurately forwarded to S2 for corresponding processing.
[0305] Optionally, the following steps (ie, step 912 to step 916) are used to introduce the communication process when C1 initiates a corresponding request operation for the first context when S1 in the S service set is scaled down after step 904 is executed.
[0306] Step 912: When S1 in the S service set is reduced in capacity, the platform controls the network element to send a first load balancing policy to C1-A.
[0307] Optionally, before C1 sends the third request message to C1-A, when the platform control network element needs to reduce the capacity of S1 in the S service set, a first load balancing strategy is generated, and the first load balancing strategy can be sent to multiple forwarding network elements (such as C1-A, C2-A, S1-A or S2-A). The first load balancing strategy is used to instruct the forwarding network element to send part or all of the request messages originally served by S1 to other NF service network elements in the S service set (such as S2). Optionally, the relevant description of the first load balancing strategy can be found in the above Figure 8 The corresponding description of situation three in step 802 in the second embodiment shown is not repeated here.
[0308] Step 913: C1 sends a third request message to C1-A. C1-A receives the third request message.
[0309] Optionally, in one example, the third request message may carry the address of S1-A (or the address of S1). In another example, C1 may also send the third request message and the address of S1-A (or the address of S1) to C1-A respectively.
[0310] Step 914: C1-A selects S2 from the S service set according to the first load balancing strategy.
[0311] Optionally, in one example, when the third request message carries the address of S1-A, after C1-A selects S2 in the S service set, the address of S1-A carried in the third request message is replaced with the address of S2-A. In another example, when the third request message carries the address of S1, after C1-A selects S2 in the S service set, the address of S1 carried in the third request message is replaced with the address of S2.
[0312] Step 915: C1-A sends a third request message to S2. S2 receives the third request message.
[0313] Since S2-A is responsible for forwarding the message of S2, the third request message first passes through S2-A and is then forwarded to S2 by S2-A.
[0314] Step 916: S2 sends a third response message to S2-A. S2-A receives the third response message.
[0315] Among them, since the third response message is a response to the third request message of C1, and C1-A is responsible for message forwarding of C1, S2-A can first send the third response message to C1-A, and then C1-A forwards the third response message to C1.
[0316] Optionally, when S2 needs to establish a binding relationship with the first context (i.e., a binding relationship between the first context and the address of S2 (such as an IP address or FQDN)), a mapping relationship update indication may be added to the third response message. The mapping relationship update indication is used to indicate that the mapping relationship between the first context and the IP address or FQDN of S1 is updated to a mapping relationship between the first context and the IP address or FQDN of S2. In this way, the request message for the first context initiated by the NF customer network element (such as C1 or C2, etc.) can be accurately forwarded to S2 for corresponding processing.
[0317] Optionally, the following steps (i.e., steps 917 to 921) introduce the communication process when C1 initiates a corresponding request operation for the first context after executing step 904 when a new NF service network element (such as S2) is added to the S service set.
[0318] Step 917: When S2 is added to the S service set, the platform controls the network element to send a second load balancing policy to C1-A.
[0319] Optionally, before C1 sends the fourth request message to C1-A, when the platform control network element perceives that S2 is newly added to the S service set, a second load balancing policy is generated, and the second load balancing policy can be configured to multiple forwarding network elements (such as C1-A, C2-A, S1-A or S2-A). The second load balancing policy is used to instruct the forwarding network element to transfer part or all of the contexts originally served by other NF service network elements in the S service set except the newly added S2 to services provided by S2. Optionally, the relevant description of the second load balancing policy can be found above Figure 8 The corresponding description of situation three in step 802 in the second embodiment shown is not repeated here.
[0320] Optionally, when S2 is newly added to the S service set, the platform control network element determines to migrate a certain number of users or a certain number of contexts served by one or more existing NF service network elements to S2 to provide services by sensing the load (or the number of users served or the number of contexts served) of one or more existing NF service network elements included in the S service set.
[0321] For example, taking the S service set including an existing NF service network element (such as S1), when S2 is newly added to the S service set, the platform control network element can determine to migrate a certain number of users (or a certain number of contexts) served by S1 to S2 by sensing the load of S1 (or the number of users or the number of contexts served by S1), and S2 will provide services for this certain number of users (or a certain number of contexts).
[0322] Exemplarily, taking the number of contexts served by the NF service network element as an example, in one example, the platform control network element may send service migration indication information to multiple forwarding network elements (such as C1-A, C2-A, S1-A or S2-A, etc.). Optionally, the service migration indication information may carry the number of migrated contexts N. The service migration indication information is used to instruct the forwarding network element to reselect an NF service network element, such as S2, in the S service set for a request message for N contexts with a destination address of S1 (or S1-A), and S2 receives the request message for the N contexts. Optionally, after the forwarding network element reselects S2 for the request message for N contexts with a destination address of S1 (or S1-A), it no longer reselects an NF service network element for the request message for other contexts with a destination address of S1 (or S1-A). For example, taking C1-A as an example, after receiving the service migration indication information from the platform control network element, C1-A can select S2 to receive request messages for N contexts with the destination address being S1 (or S1-A), such as updating the address of S1 carried in the request message for the N contexts to the address of S2 (or updating the address of S1-A carried in the request message for the N contexts to the address of S2-A), and no longer reselecting the NF service network element for request messages for other contexts with the destination address being S1 (or S1-A).
[0323] In another example, the platform control network element may send service migration indication information to multiple forwarding network elements. Optionally, the service migration indication information may not carry the number of contexts N to be migrated. The service migration indication information is used to instruct the forwarding network element to reselect an NF service network element, such as S2, for a request message for multiple contexts with a destination address of S1 (or S1-A), and S2 receives the request message for multiple contexts with a destination address of S1 (or S1-A). At the same time, the platform control network element can perceive the load of S2 in real time. When the load of S1 is basically balanced with the load of S2, the platform control network element can send service migration stop indication information to multiple forwarding network elements. The service migration stop indication information is used to instruct the forwarding network element to stop reselecting the NF service network element for the request message for the context with a destination address of S1 (or S1-A). For example, continuing with C1-A, after receiving the service migration indication information from the platform control network element, C1-A may not reselect the NF service network element when obtaining a request message for one or more contexts with the destination address being S1 (or S1-A), but directly send it to S1 according to the destination address, and S1 will process the request message for one or more contexts.
[0324] Exemplarily, the platform control network element may sense the load (or the number of users of the service or the number of contexts of the service) of one or more NF service network elements included in the S service set by the following implementation method:
[0325] Method 1: The platform control network element obtains the load (or the number of service users or the number of service contexts) of one or more NF service network elements included in the S service set from the performance indicator server.
[0326] Method 2: The platform control network element directly obtains the load (or the number of users served or the number of contexts served) of the one or more NF service network elements included in the S service set.
[0327] For example, taking an NF service network element S1 included in the S service set as an example, S1 can feed back its own load (or the number of users served or the number of contexts served) to the platform control network element in real time, or the platform control network element can also collect the load of S1 (or the number of users served or the number of contexts served) in real time, or the platform control network element can also send a data acquisition request to S1, and the data acquisition request is used to request the load of S1 (or the number of users served or the number of contexts served).
[0328] Step 918: C1 sends a fourth request message to C1-A. C1-A receives the fourth request message.
[0329] Optionally, in one example, the fourth request message carries the address of S1-A (or the address of S1). In another example, C1 may also send the fourth request message and the address of S1-A (or the address of S1) to C1-A respectively.
[0330] Step 919: C1-A selects S2 from the S service set according to the second load balancing strategy.
[0331] Exemplarily, in one example, when the fourth request message carries the address of S1-A, after C1-A selects S2 in the S service set, the address of S1-A carried in the second request message is replaced with the address of S2-A. In another example, when the fourth request message carries the address of S1, after C1-A selects S2 in the S service set, the address of S1 carried in the second request message is replaced with the address of S2.
[0332] Step 920: C1-A sends a fourth request message to S2. S2 receives the fourth request message.
[0333] Since S2-A is responsible for forwarding the message of S2, the fourth request message first passes through S2-A and then is forwarded to S2 by S2-A.
[0334] Step 921: S2 sends a fourth response message to S2-A. S2-A receives the fourth response message.
[0335] Among them, since the fourth response message is a response to the fourth request message of C1, and C1-A is responsible for message forwarding of C1, S2-A can first send the fourth response message to C1-A, and then C1-A forwards the fourth response message to C1.
[0336] Optionally, when S2 needs to establish a binding relationship with the first context (i.e., a binding relationship between the first context and the address of S2 (such as an IP address or FQDN)), a mapping relationship update indication may be added to the fourth response message. The mapping relationship update indication is used to indicate that the mapping relationship between the first context and the IP address or FQDN of S1 is updated to a mapping relationship between the first context and the IP address or FQDN of S2. In this way, the request message for the first context initiated by the NF customer network element (such as C1 or C2, etc.) can be accurately forwarded to S2 for corresponding processing.
[0337] It should be noted that in the description of the present application, "at least one" refers to one or more, and "multiple" refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there may be three relationships, for example, A and / or B, which can represent: the situation where A exists alone, A and B exist at the same time, and B exists alone, wherein A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are an "or" relationship. "At least one of the following (individuals)" or its similar expression refers to any combination of these items, including any combination of single items (individuals) or plural items (individuals). For example, "at least one of A, B and C" includes A, B, C, AB, AC, BC or ABC. And, unless otherwise specified, the ordinal numbers such as "first", "second", and "third" mentioned in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects. In addition, the terms "including", "comprising", "having" and their variations appearing in the present application all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0338] In addition, it should be noted that each step involved in the above embodiments can be performed by a corresponding device, or by a chip, processor, or chip system in the device, and the embodiments of the present application do not limit them. The above embodiments are only described by taking the corresponding device as an example.
[0339] It should be noted that in the above embodiments, some steps can be selected for implementation, and the order of the steps in the diagram can be adjusted for implementation, and this application does not limit this. It should be understood that executing some steps in the diagram, adjusting the order of the steps, or combining them for specific implementation all fall within the scope of protection of this application.
[0340] It is understandable that, in order to implement the functions in the above embodiments, the various devices involved in the above embodiments include hardware structures and / or software modules corresponding to the execution of the various functions. It should be easily appreciated by those skilled in the art that, in combination with the units and method steps of the various examples described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
[0341] It should be noted that the "steps" in the embodiments of the present application are only for illustration, and are a method of expression used to better understand the embodiments, and do not constitute a substantial limitation on the execution of the scheme of the present application. For example, the "steps" can also be understood as "features". In addition, the steps do not constitute any limitation on the execution order of the scheme of the present application. Any changes in the order of steps, step merging, or step splitting made on this basis that do not affect the implementation of the overall scheme, and the resulting new technical solutions are also within the scope of the disclosure of the present application.
[0342] Based on the same concept, the present application embodiment also provides a possible communication device, which is suitable for Figure 1 The communication system architecture illustrated in the figure. Optionally, the communication device may be a communication device or a communication device that can support the communication device to implement the functions required by the communication method, such as a forwarding network element (such as a customer forwarding network element or a service forwarding network element), or a chip arranged in a forwarding network element (such as a customer forwarding network element or a service forwarding network element). Optionally, in one example, when the communication device is a customer forwarding network element, the communication device is used to implement the technical solutions involved in the customer forwarding network element in the above embodiments, or the module (such as a chip) of the communication device is used to implement the technical solutions involved in the customer forwarding network element in the above embodiments, and thus the beneficial effects possessed by the customer forwarding network element in the above embodiments can also be achieved. For example, the communication device may be as follows Figure 1 In another example, when the communication device is a service forwarding network element, the communication device is used to implement the technical solutions involved in the service forwarding network element in the above embodiments, or the module (such as a chip) of the communication device is used to implement the technical solutions involved in the service forwarding network element in the above embodiments, so the beneficial effects of the service forwarding network element in the above embodiments can also be achieved. For example, the communication device can be as follows Figure 1 The service forwarding network element shown (such as NF service network element 171 or NF service network element 172, etc.).
[0343] See also Fig.10The communication device 1000 includes a communication module 1001 and a processing module 1002. The communication device 1000 is used to implement the above Figures 3 to 9 The method embodiment shown has the functions of a customer forwarding network element or a service forwarding network element.
[0344] When the communication device 1000 is used to implement Figures 3 to 7 In the method embodiment shown, when the client forwards the network element function: the communication module 1001 is used to obtain a first request message and a first routing identifier from a first NF client network element, and the first routing identifier is used to indicate a first NF service network element that provides services for a first context of a first terminal device. The communication module 1001 is also used to forward the first request message to the first NF service network element according to a first mapping relationship, wherein the first mapping relationship is used to indicate a mapping relationship between the first routing identifier and information of the first NF service network element.
[0345] When the communication device 1000 is used to implement Figures 3 to 7 In the method embodiment shown in FIG. 1 , when the client forwards the function of the network element, a more detailed description of the communication module 1001 can be referred to the above Figures 3 to 7 The description related to the client forwarding network element in the illustrated method embodiment will not be repeated here.
[0346] When the communication device 1000 is used to implement Figures 3 to 7 When serving the function of the forwarding network element in the method embodiment shown in the figure, the description of the functions implemented by the communication module 1001 and the processing module 1002 can refer to the above Figures 3 to 7 The relevant description about the service forwarding network element in the method embodiment shown is not repeated here.
[0347] When the communication device 1000 is used to implement Figures 8 to 9In the method embodiment shown, when the client forwards the network element function: the communication module 1001 is used to obtain a first request message from the first NF client network element, wherein the first request message includes the address of the first NF service network element or the address of the third forwarding network element, and the third forwarding network element is responsible for the message forwarding of the first NF service network element. The processing module 1002 is used to select a second NF service network element in the first NF service set according to the NF service network element reselection rule when the first NF service network element is offline or the configuration of the first NF service set where the first NF service network element is located is changed or the load balancing strategy of the first NF service set is changed, wherein the NF service network element reselection rule is used to indicate that when the first NF service network element is offline or the configuration of the first NF service set is changed or the load balancing strategy of the first NF service set is changed, a NF service network element in the first NF service set is reselected to receive the first request message. The communication module 1001 is also used to forward the first request message to the second NF service network element when the address of the first NF service network element included in the first request message is updated to the address of the second NF service network element, or to forward the first request message to the fourth forwarding network element when the address of the third forwarding network element included in the first request message is updated to the address of the fourth forwarding network element, wherein the fourth forwarding network element is responsible for message forwarding of the second NF service network element.
[0348] When the communication device 1000 is used to implement Figures 8 to 9 In the method embodiment shown in FIG. 1 , when the client forwards the function of the network element, for a more detailed description of the communication module 1001 and the processing module 1002, reference can be made to the above Figures 8 to 9 The description related to the client forwarding network element in the illustrated method embodiment will not be repeated here.
[0349] When the communication device 1000 is used to implement Figures 8 to 9 When serving the function of the forwarding network element in the method embodiment shown in the figure, the description of the functions implemented by the communication module 1001 and the processing module 1002 can refer to the above Figures 8 to 9 The relevant description about the service forwarding network element in the method embodiment shown is not repeated here.
[0350] It should be understood that the communication module 1001 in the embodiment of the present application can be implemented by a communication interface or a communication interface related circuit component, and the processing module 1002 can be implemented by a processor or a processor related circuit component.
[0351] It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0352] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, or a server, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0353] Based on the same concept, the present application also provides a possible communication device, which is suitable for Figure 1 The communication system architecture shown. Optionally, the communication device may be a communication device required to execute the communication method provided in the embodiment of the present application, or may be a device that includes a communication device required to execute the communication method provided in the embodiment of the present application, or may be a device having the functions required to implement the communication method. For example, the communication device may be a forwarding network element (such as a customer forwarding network element or a service forwarding network element). When the communication device is used to implement the technical solutions involved in the customer forwarding network element in the above embodiments, the beneficial effects of the customer forwarding network element in the above method embodiments can be achieved. When the communication device is used to implement the technical solutions involved in the service forwarding network element in the above embodiments, the beneficial effects of the service forwarding network element in the above method embodiments can be achieved. See. Fig.11, the communication device 1100 includes: a communication interface 1101, a processor 1102. Optionally, the communication device 1100 also includes a memory 1103. The communication interface 1101, the processor 1102 and the memory 1103 are interconnected. When the communication device 1100 is used to implement the technical solution involved in the customer forwarding network element provided in the above embodiment, the communication interface 1101 can be used to implement the function of the above communication module 1001 when executing the technical solution involved in the customer forwarding network element, and the processor 1102 is used to implement the function of the above processing module 1002 when executing the technical solution involved in the customer forwarding network element. When the communication device 1100 is used to implement the technical solution involved in the service forwarding network element provided in the above embodiment, the communication interface 1101 can be used to implement the function of the above communication module 1001 when executing the technical solution involved in the service forwarding network element, and the processor 1102 is used to implement the function of the above processing module 1002 when executing the technical solution involved in the service forwarding network element.
[0354] Optionally, the communication interface 1101, the processor 1102 and the memory 1103 are interconnected via a bus 1104. The bus 1104 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0355] The communication interface 1101 is used to receive and send data. For example, when the communication device 1100 is Figure 1 When the client forwards the network element, the communication interface 1101 implements Figure 1 NF client network element (such as NF client network element 151 or NF client network element 152, etc.) shown in the figure, or it can also be implemented with Figure 1 The communication device 1100 is as shown in FIG. Figure 1 When the service forwarding network element is shown, the communication interface 1101 is implemented with Figure 1 171 or 172, etc.) to communicate with the NF service network element shown in the figure, or it can also be implemented with Figure 1 The customer forwarding network element shown (such as customer forwarding network element 161 or customer forwarding network element 162, etc.) communicates.
[0356] The functions of the processor 1102 can refer to the description of the corresponding functions involved in the customer forwarding network element or the service forwarding network element in the above embodiments, and will not be repeated here. Among them, the processor 1102 can be a central processing unit (CPU), a network processor (NP) or a combination of CPU and NP, etc. The processor 1102 can further include a hardware chip. The above-mentioned hardware chip can be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. When implementing the above-mentioned functions, the processor 1102 can be implemented by hardware, and of course, it can also be implemented by executing the corresponding software through hardware.
[0357] The memory 1103 is used to store program instructions, etc. Specifically, the program instructions may include program codes, and the program codes include computer operation instructions. The memory 1103 may include random access memory (RAM), and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The processor 1102 executes the program instructions stored in the memory 1103 to implement the above functions, thereby implementing the method steps required to be executed by the customer forwarding network element or the service forwarding network element in the above embodiments.
[0358] Based on the same concept, the embodiment of the present application also provides a communication system, which includes a platform control network element, an NF client network element, an NF service network element, a client forwarding network element, and a service forwarding network element, etc. Among them, the platform control network element can be used to implement the technical solution involved in the platform control network element in the above embodiment, the NF client network element can be used to implement the technical solution involved in the NF client network element in the above embodiment, the NF service network element can be used to implement the technical solution involved in the NF service network element in the above embodiment, the client forwarding network element can be used to implement the technical solution involved in the client forwarding network element in the above embodiment, and the service forwarding network element can be used to implement the technical solution involved in the service forwarding network element in the above embodiment.
[0359] Based on the same concept, an embodiment of the present application further provides a computer program product, which includes a computer program or instructions. When the computer program or instructions are executed on a computer, the computer executes the method provided in the above embodiment.
[0360] Based on the same concept, an embodiment of the present application also provides a computer-readable storage medium, in which a computer program or instruction is stored. When the computer program or instruction is executed by a computer, the computer executes the method provided in the above embodiment.
[0361] The storage medium may be any available medium that can be accessed by a computer. For example, but not limited to, a computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer.
[0362] Based on the same concept, an embodiment of the present application further provides a chip, which is coupled to a memory, and is used to read a computer program stored in the memory to implement the method provided in the above embodiment.
[0363] Based on the same concept, an embodiment of the present application also provides a chip system, which includes a processor for supporting a computer device to implement the functions involved in the platform control network element, customer forwarding network element, service forwarding network element, NF customer network element or NF service network element in the above embodiments. In a possible design, the chip system also includes a memory, which is used to store the necessary programs and data of the computer device. The chip system can be composed of chips, or it can include chips and other discrete devices.
[0364] In the method provided in the embodiment of the present application, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state drive (SSD)).
[0365] The steps of the method described in the embodiments of the present application can be directly embedded in the hardware, the software unit executed by the processor, or the combination of the two. The software unit can be stored in RAM, ROM, EEPROM, register, hard disk, removable disk, CD-ROM or other storage media of any form in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC.
[0366] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0367] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0368] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A communication method, characterized in that: A first forwarding network element is applied to a mobile communication network service architecture, the first forwarding network element being responsible for message forwarding of one or more network function NF client network elements, the method comprising: Obtaining a first request message and a first routing identifier from a first NF client network element, where the first routing identifier is used to indicate a first NF service network element that provides services for a first context of a first terminal device; Forward the first request message to the first NF service network element according to the first mapping relationship; wherein the first mapping relationship is used to indicate a mapping relationship between the first routing identifier and the information of the first NF service network element.
2. The method according to claim 1, wherein The first routing identifier is the context reference identifier of the first context or a prefix of the context reference identifier, and the context reference identifier is allocated by the first NF service network element to the first context of the first terminal device.
3. The method according to claim 1 or 2, wherein: The information of the first NF service network element is one of the following: The network protocol IP address of the first NF service network element; or the device identifier of the first NF service network element.
4. The method according to any one of claims 1 to 3, wherein Before obtaining the first request message from the first NF client network element, the method further includes: Obtain a first indication, and determine the first mapping relationship based on the first indication; wherein the first indication is used to indicate a mapping relationship between the first routing identifier and the information of the first NF service network element.
5. The method according to claim 4, wherein When the first NF service network element goes offline, or when the configuration of the first NF service set changes, or when the load balancing policy of the first NF service set changes, the method further includes: Obtain a second indication, and update the first mapping relationship according to the second indication; wherein the second indication is used to indicate a mapping relationship between the first routing identifier and the information of the second NF service network element; the first NF service set where the first NF service network element is located includes the second NF service network element.
6. The method according to claim 5, wherein After updating the first mapping relationship according to the second indication, the method further includes: Obtaining a second request message and the first routing identifier from the first NF client network element; According to the updated first mapping relationship, the second request message is forwarded to the second NF service network element.
7. The method according to claim 5 or 6, wherein: The method further comprises: The first indication and the second indication are obtained from a platform control network element.
8. The method according to claim 7, wherein After obtaining the first indication, the method further includes: Obtaining a release indication, where the release indication is used to indicate that a mapping relationship between the first routing identifier and the information of the first NF service network element is released; According to the release instruction, release the mapping relationship between the first routing identifier and the information of the first NF service network element; or Save the release indication; the saving operation of the release indication is used to indicate that the mapping relationship between the first routing identifier and the information of the first NF service network element can be released.
9. The method according to claim 8, wherein After obtaining the release instruction, the method further includes: Obtaining a third request message and the first routing identifier from the first NF client network element; When the mapping relationship between the first routing identifier and the information of the first NF service network element has been released, selecting a third NF service network element in the first NF service set where the first NF service network element is located, and sending the third request message to the third NF service network element; or When the release indication has been saved and the mapping relationship between the first routing identifier and the information of the first NF service network element has not been released, the first NF service network element or the third NF service network element is selected in the first NF service set where the first NF service network element is located, and the third request message is forwarded to the first NF service network element or the third NF service network element.
10. The method according to claim 9, wherein When the release indication has been saved and the mapping relationship between the first routing identifier and the information of the first NF service network element has not been released, the third NF service network element is selected from other NF service network elements in the first NF service set except the first NF service network element when the first NF service network element goes offline or the configuration of the first NF service set where the first NF service network element is located changes or the load balancing policy of the first NF service set changes.
11. The method according to any one of claims 8 to 10, characterized in that The method further comprises: Obtain a multicast message from another forwarding network element, where the multicast message includes the first indication and the release indication; or The first instruction and the release instruction are obtained from a platform control network element.
12. A communication method, characterized in that: A second forwarding network element is applied to a mobile communication network service architecture, the second forwarding network element being responsible for message forwarding of one or more NF service network elements, and the method includes: Obtain a first indication from a first NF service network element, where the first indication is used to indicate a mapping relationship between the first routing identifier and information about the first NF service network element, where the first routing identifier is used to indicate the first NF service network element that provides a service for a first context of the first terminal device; Send the first indication to other forwarding network elements, or send the first indication to the platform control network element, where the other forwarding network elements include the first forwarding network element, and the first forwarding network element is used to be responsible for message forwarding of the first NF client network element, and the first NF client network element provides services for the first terminal device.
13. The method according to claim 12, wherein: The method further comprises: Obtaining a release instruction from the first NF service network element, where the release instruction is used to instruct to release a mapping relationship between the first routing identifier and information about the first NF service network element; Send the release instruction to the other forwarding network elements using a multicast method; or Send the release instruction to the platform control network element.
14. A communication method, characterized in that: A first forwarding network element is applied to a mobile communication network service architecture, the first forwarding network element being responsible for message forwarding of one or more NF client network elements, and the method includes: Obtaining a first request message from a first NF client network element; the first request message includes an address of the first NF service network element or an address of a third forwarding network element; the third forwarding network element is responsible for forwarding messages from the first NF service network element; When the first NF service network element goes offline or the configuration of the first NF service set in which the first NF service network element is located changes or the load balancing policy of the first NF service set changes, a second NF service network element is selected in the first NF service set according to a NF service network element reselection rule; the NF service network element reselection rule is used to indicate that when the first NF service network element goes offline or the configuration of the first NF service set changes or the load balancing policy of the first NF service set changes, a NF service network element is reselected in the first NF service set to receive the first request message; When the address of the first NF service network element included in the first request message is updated to the address of the second NF service network element, the first request message is forwarded to the second NF service network element, or when the address of the third forwarding network element included in the first request message is updated to the address of the fourth forwarding network element, the first request message is forwarded to the fourth forwarding network element; the fourth forwarding network element is responsible for message forwarding of the second NF service network element.
15. The method according to claim 14, wherein When the first NF service network element goes offline, the NF service network element reselection rule is used to instruct a designated NF service network element to serve as the second NF service network element to receive the first request message, and the designated NF service network element is located in the first NF service set; or When the first NF service network element goes offline, the NF service network element reselection rule is used to indicate that a NF service network element is selected from other NF service network elements in the first NF service set except the first NF service network element as the second NF service network element to receive the first request message.
16. The method according to claim 14, wherein When the configuration of the first NF service set changes or the load balancing policy of the first NF service set changes, the NF service network element reselection rule is used to instruct to select a second NF service network element from the first NF service set, and the second NF service network element is used to receive the first request message.
17. The method according to claim 16, wherein The NF service network element reselection rule includes the number of contexts or the ratio of the number of contexts migrated from the first NF service network element to the number of contexts served by the second NF service network element. The number of contexts or the ratio of the number of contexts migrated from the first NF service network element to the number of contexts served by the second NF service network element is determined according to the number of contexts served by the first NF service network element.
18. The method according to any one of claims 14 to 17, wherein: The NF service network element reselection rule also includes the address of the first NF service network element or the address of the third forwarding network element.
19. A communication device, characterized in that: The method comprises means for performing the method according to any one of claims 1 to 18.
20. A communication device, characterized in that: Communication interface for receiving and sending data; Memory for storing computer program instructions and data; A processor is configured to execute and call computer program instructions and data in the memory so as to enable the communication device to perform the method according to any one of claims 1 to 18.
21. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program or instructions. When the computer program or instructions are executed by a computer, the computer executes the method according to any one of claims 1 to 11, the method according to any one of claims 12 to 13, or the method according to any one of claims 14 to 18.
22. A computer program product, characterized in that The computer program product comprises a computer program or instructions, which, when executed on a computer, causes the computer to perform the method according to any one of claims 1 to 11, or the method according to any one of claims 12 to 13, or the method according to any one of claims 14 to 18.
23. A chip, characterized in that: The chip is coupled to a memory, and the chip reads a computer program stored in the memory to execute the method according to any one of claims 1 to 11, or the method according to any one of claims 12 to 13, or the method according to any one of claims 14 to 18.
