WO2020200057A1 - Communication method and apparatus - Google Patents
Communication method and apparatus Download PDFInfo
- Publication number
- WO2020200057A1 WO2020200057A1 PCT/CN2020/081515 CN2020081515W WO2020200057A1 WO 2020200057 A1 WO2020200057 A1 WO 2020200057A1 CN 2020081515 W CN2020081515 W CN 2020081515W WO 2020200057 A1 WO2020200057 A1 WO 2020200057A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network element
- network
- request message
- service request
- indication information
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 201
- 230000006854 communication Effects 0.000 title claims abstract description 86
- 238000004891 communication Methods 0.000 title claims abstract description 81
- 230000006870 function Effects 0.000 claims description 201
- 238000003860 storage Methods 0.000 claims description 118
- 230000015654 memory Effects 0.000 claims description 54
- 238000012545 processing Methods 0.000 claims description 48
- 238000004590 computer program Methods 0.000 claims description 10
- 238000013461 design Methods 0.000 description 39
- 238000007726 management method Methods 0.000 description 23
- 230000008569 process Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 15
- 230000009467 reduction Effects 0.000 description 11
- 238000013523 data management Methods 0.000 description 7
- 230000006399 behavior Effects 0.000 description 4
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 230000003252 repetitive effect Effects 0.000 description 2
- 101150119040 Nsmf gene Proteins 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000001568 sexual effect Effects 0.000 description 1
- 238000001356 surgical procedure Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/08—Mobility data transfer
- H04W8/14—Mobility data transfer between corresponding nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0231—Traffic management, e.g. flow control or congestion control based on communication conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0033—Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/16—Performing reselection for specific purposes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/16—Performing reselection for specific purposes
- H04W36/165—Performing reselection for specific purposes for reducing network power consumption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/16—Performing reselection for specific purposes
- H04W36/22—Performing reselection for specific purposes for handling the traffic
Definitions
- This application relates to the field of communication technology, and in particular to a communication method and device.
- two network elements that communicate one can be considered as a consumer (or client), and the other can be considered as a producer (or server).
- the consumer determines that the producer is currently overloaded, or the producer notifies the consumer that the producer is overloaded, the consumer will reduce the rate of sending request messages to the producer, so as to alleviate the overload state of the producer. But in this way, when consumers conduct business, they will have an impact on consumer business, affect business performance, and thereby reduce consumer experience.
- the present application provides a communication method and device to improve business performance and improve consumer experience.
- this application provides a communication method, which includes:
- the first network element determines whether it is necessary to reselect a serving network element.
- the second network element is the serving network element currently serving the first network element; when the first network element is When the network element determines that the service network element needs to be reselected, the first network element determines the third network element and sends a service request message to the third network element; or, when the first network element determines that reselection is not required When serving the network element, the first network element reduces the rate of sending the service request message to the second network element.
- the first network element can flexibly reselect the service network element according to actual conditions, thereby improving service performance and improving service experience.
- the first network element determines that the second network element is in an overload state.
- the specific method may be: after the first network element sends the service request message to the second network element, Receiving an overload indication message from the second network element, where the overload indication message is used to indicate that the second network element is currently in an overload state; or, the first network element obtains the configuration file of the second network element, The first network element determines that the second network element is in an overload state according to the configuration file of the second network element; or, the first network element obtains the configuration of the second network element from a network storage function network element When the file fails, the first network element determines that the second network element is in an overload state.
- the first network element can flexibly determine that the current state of the second network element is the overload state in a variety of ways.
- the first network element determines that the serving network element needs to be reselected.
- the specific method may be: the first network element obtains first indication information, and the first indication information is used to indicate the second The second network element supports reselection of the service network element.
- the first network element can accurately determine that after the second network element is in an overload state, the network element needs to be re-serviced, so that the reselected serving network element can subsequently provide services.
- the first network element obtains the first indication information
- the specific method may be: after the first network element sends a service request message to the second network element, from the second network element The network element receives a rejection message, and the rejection message includes the first indication information; or, the first network element receives a first message from the second network element, and the first message includes the first Indication information; or, the first network element obtains a configuration file of the second network element, and the configuration file of the second network element includes the first indication information.
- the first network element can accurately obtain the first indication information, so that the first network element subsequently determines that the serving network element needs to be reselected.
- the first indication information is an identifier of a network element set where the second network element is located. In this way, when the first network element obtains the set identifier where the second network element is located, it can be known that the serving network element needs to be reselected after the second network element is in an overload state.
- the first network element determines the third network element.
- the specific method may be: after the first network element sends the service request message to the second network element, from the The second network element receives a rejection message, where the rejection message includes the identification information of the third network element; the first network element determines the third network element according to the identification information of the third network element; or, The first network element obtains at least one candidate network element in the non-overloaded state in the network element set from the network storage function network element according to the identifier of the network element set where the second network element is located; A network element determines the third network element among the at least one candidate network element; or, the first network element sends the identifier of the network element set to the network storage function, and stores it from the network
- the function receives the configuration files of all network elements in the network element set; the first network element determines the third network element in a non-overloaded state according to the configuration information of all network elements in the network element set; or, When all network elements in the network element set are in an overload state, the
- the first network element can accurately determine the third network element, so that the third network element can subsequently provide services to the first network element through the third network element, thereby improving service performance.
- the first network element sends the service request message to the third network element
- the specific method may be: the first network element generates a resource identifier corresponding to the third network element , And send the service request message to the third network element according to the resource identifier corresponding to the third network element.
- the first network element can accurately request services from the third network element, so that the third network element subsequently provides services for the first network element and improves service performance.
- the first network element generates the identifier corresponding to the third network element
- the specific method may be: when the third network element is included in the network element set where the second network element is located In the middle, the first network element generates the resource identifier corresponding to the third network element according to the resource identifier corresponding to the second network element and the identifier of the third network element.
- the first network element can accurately determine the resource identifier corresponding to the third network element, so that the subsequent service request message can be accurately sent to the third network element.
- the service request message sent by the first network element to the third network element includes the resource identifier corresponding to the second network element or the identifier of the second network element. At least one of them. In this way, the third network element can subsequently accurately obtain the service context.
- the first network element reduces the rate of sending the service request message to the second network element.
- the specific method may be: the first network element determines that the first network element sends the service request message to the The reduced rate when the second network element sends the service request message; the first network element sends the service request message to the second network element at the reduced rate.
- the above method can alleviate the overload situation of the second network element.
- the first network element determines the reduced rate when the first network element sends the service request message to the second network element.
- the specific method may be: the first network element After sending the service request message to the second network element, a rejection message is received from the second network element, the rejection message includes second indication information, and the second indication information is used to indicate the reduced
- the first network element determines the reduced rate according to the second indication information; or, the first network element obtains a configuration file of the second network element, and the configuration file includes an indication
- the first network element can accurately determine the reduced rate, so that when the first network element does not need to reselect a serving network element, the reduced rate is used to send the The second network element sends a service request message.
- this application provides a communication method, which includes:
- the second network element After the second network element determines that it is in an overload state, the second network element sends a first update request message to the network storage function network element, where the first update request message is used to instruct the network storage function network element to The status of the second network element is updated to the overload status.
- the second network element when the second network element is overloaded, its configuration file in the network storage function is updated so that the first network element can reselect the serving network element or reduce the speed.
- the first network element When the first network element reselects the serving network element It not only reduces the load of the overloaded second network element, but also does not affect the service performance of the first network element.
- the second network element after receiving the service request message from the first network element, the second network element sends an overload indication message to the first network element, and the overload indication message is used to instruct the second network element It is currently overloaded.
- the first network element can determine that the second network element is in an overload state, so that the first network element subsequently determines whether it is necessary to reselect a serving network element.
- the overload indication message includes first indication information, and the first indication information is used to indicate that the second network element supports reselection of a serving network element.
- the first network element may determine, through the first indication information in the overload indication message, that when the second network element is in an overload state, it is necessary to reselect a serving network element.
- the second network element receives a service request message from the first network element; the second network element sends a rejection message to the first network element, and the rejection message includes the first indication information .
- the first indication information is used to indicate that the second network element supports reselection of a serving network element.
- the first network element can be made to determine that the serving network element needs to be reselected when the second network element is in an overload state through the first indication information in the rejection message.
- the rejection message further includes an identifier of a third network element, and the third network element is a serving network element that needs to be reselected by the first network element.
- the first network element can determine that the serving network element that needs to be reselected subsequently is the third network element according to the identifier of the third network element.
- the first update request message includes indication information indicating a reduced rate when the second network element receives the service request message.
- the network storage function network element can update the indication information indicating the reduced rate when the second network element receives the service request message to the configuration file of the second network element, so that When the first network element determines that there is no need to reselect the serving network element, the indication information is obtained from the configuration file of the second network element to determine the reduced rate.
- the second network element determines that it is in an overload state.
- the specific method may be: when the second network element determines that the current load of the second network element is greater than or equal to the load threshold, the second network element Make sure that you are overloaded.
- the second network element can accurately determine that it is in an overload state, so that the second network element can perform the subsequent configuration file update process.
- the second network element determines that it switches from an overload state to a non-overload state, it sends a second update request message to the network storage function network element, and the second update request message is used to indicate The network storage function network element updates the state of the second network element to a non-overloaded state.
- the second network element can update its current state to the non-overloaded state through the network storage function network element, so that subsequent other network elements can select the second network element to provide services.
- the second network element determines that it is switched from the overload state to the non-overload state.
- the specific method may be: when the second network element determines that the current load of the second network element is less than the load threshold, The second network element determines that it switches from an overload state to a non-overload state.
- the second network element can accurately determine that it is in a non-overloaded state, so that the second network element can perform the subsequent configuration file update process.
- this application provides a communication method, which may include:
- the network storage function network element receives a first update request message from the second network element, where the first update request message is used to instruct the network storage function network element to update the state of the second network element to an overload state;
- the network storage function network element updates the state of the second network element in the configuration file of the second network element from a non-overloaded state to an overloaded state according to the first update request message.
- the second network element when the second network element is overloaded, its configuration file in the network storage function is updated so that the first network element can reselect the serving network element or reduce the speed.
- the first network element When the first network element reselects the serving network element It not only reduces the load of the overloaded second network element, but also does not affect the service performance of the first network element.
- the network storage function network element receives from the first network element the identity of the network element set where the second network element is located; the network storage function network element according to the identity of the network element set, Determine at least one candidate network element in a non-overloaded state in the network element set, and send an identifier of the at least one candidate network element to the first network element.
- the first network element can determine from the at least one candidate network element that the third network element provides service for the first network element.
- the network storage function network element receives from the first network element the identity of the network element set where the second network element is located; the network storage function network element determines according to the identity of the network element set All network elements in the network element set, and sending configuration files of all the network elements to the first network element, and the configuration file of each network element includes the current status information of each network element,
- the status information is an overload state or a non-overload state.
- the first network element can select a network element in the non-overload state as the first network element according to the status information in the configuration file of each network element Provide services.
- the first update request message includes indication information indicating a reduced rate when the second network element receives the service request message.
- the network storage function network element can update the indication information indicating the reduced rate when the second network element receives the service request message to the configuration file of the second network element, so that When the first network element determines that there is no need to reselect the serving network element, the indication information is obtained from the configuration file of the second network element to determine the reduced rate.
- the network storage function receives a second update request message from the second network element, and the second update request message is used to instruct the network storage function network element to set the second network element
- the state of the network storage function is updated to the non-overloaded state; the network storage function network element updates the state of the second network element in the configuration file of the second network element from the overloaded state to the non-overloaded state according to the second update request message status.
- the second network element can update its current state to the non-overloaded state through the network storage function network element, so that subsequent other network elements can select the second network element to provide services.
- this application provides a communication method, which includes:
- the third network element receives a service request message from the first network element; the third network element is the service network element reselected by the first network element; the service request message includes the resource identifier corresponding to the second network element Or at least one of the identifiers of the second network element; the third network element obtains information from the second network element according to at least one of the identifier corresponding to the second network element or the identifier of the second network element Meta obtains the business context.
- the third network element can accurately obtain the service context, and perform the subsequent communication process with the first network element to communicate with the first network element.
- the network element provides services, which can relieve the overload state of the second network element, improve the service performance of the first network element, and improve the service experience of the first network element.
- the present application also provides a first network element that has a function of realizing the behavior of the first network element in the foregoing method example of the first aspect.
- the function can be realized by hardware, or by hardware executing corresponding software.
- the hardware or software includes one or more modules corresponding to the above-mentioned functions.
- the structure of the first network element includes a processing unit, a sending unit, and optionally a receiving unit. These units can perform the corresponding functions in the above-mentioned method example of the first aspect. For details, refer to the method example The detailed description in, will not be repeated here.
- the structure of the first network element includes a transceiver and a processor, and optionally also includes a memory
- the transceiver is used to send and receive data, and to communicate with other devices in the communication system
- the processor is configured to support the first network element to perform the corresponding function in the above-mentioned method in the first aspect.
- the memory is coupled with the processor, and stores the necessary program instructions and data of the first network element.
- the present application also provides a second network element that has the function of realizing the behavior of the second network element in the method example of the second aspect.
- the function can be realized by hardware, or by hardware executing corresponding software.
- the hardware or software includes one or more modules corresponding to the above-mentioned functions.
- the structure of the second network element includes a processing unit, a sending unit, and optionally a receiving unit. These units can perform the corresponding functions in the above-mentioned method examples of the second aspect. For details, refer to the method examples The detailed description in, will not be repeated here.
- the structure of the second network element includes a transceiver, a processor, and optionally a memory, and the transceiver is used to send and receive data and to communicate with other devices in the communication system.
- the processor is configured to support the second network element to perform the corresponding function in the above-mentioned second aspect method.
- the memory is coupled with the processor, and stores necessary program instructions and data of the second network element.
- the present application also provides a network storage function network element that has the function of realizing the behavior of the network storage function network element in the method example of the third aspect.
- the function can be realized by hardware, or by hardware executing corresponding software.
- the hardware or software includes one or more modules corresponding to the above-mentioned functions.
- the structure of the network storage function network element includes a receiving unit, a processing unit, and optionally a sending unit. These units can perform the corresponding functions in the above-mentioned method examples of the third aspect. For details, refer to the method The detailed description in the example will not be repeated here.
- the structure of the network storage function network element includes a transceiver, a processor, and optionally a memory.
- the transceiver is used to send and receive data, and to communicate with other devices in the communication system.
- the processor is configured to support the network storage function network element to perform the corresponding function in the method of the third aspect.
- the memory is coupled with the processor, and stores the necessary program instructions and data of the network storage function network element.
- this application also provides a third network element that has the function of realizing the behavior of the third network element in the method example of the fourth aspect.
- the function can be realized by hardware, or by hardware executing corresponding software.
- the hardware or software includes one or more modules corresponding to the above-mentioned functions.
- the structure of the third network element includes a receiving unit and a processing unit, and these units can perform the corresponding functions in the method example of the fourth aspect.
- these units can perform the corresponding functions in the method example of the fourth aspect.
- the structure of the third network element includes a transceiver and a processor, and optionally also includes a memory, the transceiver is used to send and receive data, and to communicate with other devices in the communication system
- the processor is configured to support the third network element to perform the corresponding function in the above-mentioned fourth aspect method.
- the memory is coupled with the processor, and stores the necessary program instructions and data of the third network element.
- this application also provides a system, which includes a first network element, and the first network element can be used to perform the first aspect and any one of the methods in the first aspect executed by the first network element step.
- the system may further include a second network element, and the second network element may be used to perform the steps performed by the second network element in any one of the first aspect and the first aspect.
- the system may further include a third network element, and the three network elements may be used to perform the steps performed by the third network element in any one of the first aspect and the first aspect.
- the system may also include other devices that interact with at least one of the first network element, the second network element, or the third network element in the solution provided in the embodiment of the application, such as a network storage function network. Yuan and so on.
- this application also provides a system, which includes a second network element, and the second network element can be used to perform the second aspect and any one of the methods in the second aspect that is executed by the second network element.
- the system may further include a network storage function network element, and the network storage function network element may be used to execute the network storage function network element in the second aspect and any one of the methods of the second aspect.
- the system may also include other devices that interact with the second network element and/or the network storage function network element in the solution provided in the embodiments of the present application, such as the first network element and so on.
- the present application also provides a system that includes a network storage function network element that can be used to perform the network storage function in the third aspect and any of the methods in the third aspect. Steps performed by the network element.
- the system may further include a second network element, and the second network element may be used to perform the steps performed by the second network element in the third aspect and any method of the third aspect.
- the system may also include other devices that interact with the second network element and/or the network storage function network element in the solution provided in the embodiments of the present application, such as the first network element and so on.
- this application also provides a system that includes a third network element, and the third network element can be used to perform any of the above-mentioned fourth aspect and the fourth aspect.
- the system may further include a first network element, and the first network element may be used to perform the steps performed by the first network element in any of the foregoing fourth aspect and the fourth aspect.
- the system may also include other devices that interact with the third network element and/or the first network element in the solution provided in the embodiments of the present application, such as the second network element and so on.
- this application also provides a computer storage medium that stores computer-executable instructions, and when called by the computer, the computer-executable instructions are used to make the computer execute the above Either way.
- this application also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any of the above methods.
- the present application also provides a chip, which is coupled with a memory, and is used to read and execute program instructions stored in the memory to implement any of the above methods.
- Fig. 1 is a schematic structural diagram of a communication system provided by this application.
- FIG. 2 is a flowchart of a communication method provided by this application.
- FIG. 3 is a flowchart of another communication method provided by this application.
- FIG. 4 is a flowchart of another communication method provided by this application.
- FIG. 5 is a flowchart of an example of a communication method provided by this application.
- FIG. 6 is a flowchart of an example of another communication method provided by this application.
- FIG. 7 is a flowchart of an example of another communication method provided by this application.
- FIG. 8 is a schematic structural diagram of a device provided by this application.
- FIG. 9 is a schematic structural diagram of another device provided by this application.
- FIG. 10 is a schematic structural diagram of another device provided by this application.
- FIG. 11 is a schematic structural diagram of another device provided by this application.
- FIG. 12 is a structural diagram of a first network element provided by this application.
- FIG. 13 is a structural diagram of a second network element provided by this application.
- FIG. 14 is a structural diagram of a network storage function network element provided by this application.
- FIG. 15 is a structural diagram of a third network element provided by this application.
- the embodiments of the present application provide a communication method and device to improve business performance and improve consumer experience.
- the method and device described in the present application are based on the same inventive concept. Since the method and the device have similar principles for solving the problem, the implementation of the device and the method can be referred to each other, and the repetition will not be repeated.
- the first network element, the second network element, and the third network element can be regarded as a client in the communication process, and the second network element and the third network element can be regarded as For the server in the communication process, the second network element and the third network element provide services for the first network element.
- the first network element is first provided by the second network element, and then when the second network element is overloaded, the third network element provides the service for the first network element.
- the first network element may be a control plane network element such as an access and mobility management function network element and a session management function network element in the core network, or a service communication agent, etc.; the second network element And the third network element may also be a control plane network element such as an access and mobility management function network element and a session management function network element in the core network. It should be understood that when the first network element communicates with the second network element, the first network element and the second network element are different network elements; or the first network element and the When the third network element communicates, the first network element and the third network element are different network elements.
- the overload state which can also be called the suspend state, refers to the state where the current load of the network element is greater than or equal to the load threshold. In this state, the network element can provide services for the current service request to a certain extent, but the service efficiency needs to be reduced. However, in this state, for newly added service requests other than the current service request, the network element cannot provide services.
- FIG. 1 shows the architecture of a possible communication system to which the communication method provided by the embodiment of the present application is applicable.
- the architecture of the communication system includes network open function network elements, network storage function network elements, policy control function network elements, Data management network element, application function network element, authentication server function, core network access and mobility management function network element, session management function network element, service communication agent, terminal equipment, access network equipment, user plane function network element And data network.
- Figure 1 shows a possible example of the architecture of the communication system, which specifically includes: NEF network element, NRF network element, PCF network element, UDM network element, AF network element, AUSF network element, AMF network element , SMF network elements, SCP, UE, access network (AN) equipment, UPF network elements and data network (DN).
- the AMF network element and the terminal device can be connected through the N1 interface
- the AMF and the AN device can be connected through the N2 interface
- the AN device and the UPF can be connected through the N3 interface
- the SMF and UPF can be connected through the N4 interface
- UPF and DN can be connected through the N6 interface.
- the interface name is only an example description, and the embodiment of the present application does not specifically limit this. It should be understood that the embodiment of the present application is not limited to the communication system shown in FIG. 1.
- the name of the network element shown in FIG. 1 is only used as an example here, and is not used as an architecture of the communication system applicable to the method of the present application. Limitations of included network elements.
- the function of each network element or device in the communication system is described in detail below:
- the terminal equipment which can also be called user equipment (UE), mobile station (MS), mobile terminal (MT), etc.
- UE user equipment
- MS mobile station
- MT mobile terminal
- the terminal device may include a handheld device with a wireless connection function, a vehicle-mounted device, and the like.
- the terminal device may be: mobile phone (mobile phone), tablet computer, notebook computer, palmtop computer, mobile internet device (MID), wearable device, virtual reality (VR) device, augmented Augmented reality (AR) equipment, wireless terminals in industrial control (industrial control), wireless terminals in self-driving (self-driving), wireless terminals in remote medical surgery, smart grid (smart grid) ), the wireless terminal in transportation safety, the wireless terminal in the smart city, or the wireless terminal in the smart home.
- the terminal device described in FIG. 1 is shown as a UE, which is only used as an example and does not limit the terminal device.
- the wireless access network may be an access network (access network, AN) as shown in FIG. 1, which provides wireless access services to the terminal device.
- the access network device is a device that connects the terminal device to a wireless network in the communication system.
- the access network device is a node in a radio access network, which can also be called a base station, or a radio access network (RAN) node (or device).
- RAN radio access network
- access network equipment are: gNB, transmission reception point (TRP), evolved Node B (evolved Node B, eNB), radio network controller (RNC), Node B (Node B, NB), base station controller (BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (base Band unit, BBU), or wireless fidelity (Wifi) access point (AP), etc.
- TRP transmission reception point
- eNB evolved Node B
- RNC radio network controller
- Node B Node B
- BSC base station controller
- base transceiver station base transceiver station
- BTS home base station
- home base station for example, home evolved NodeB, or home Node B, HNB
- baseband unit base Band unit, BBU
- Wifi wireless fidelity
- the data network for example, the data network (DN) shown in FIG. 1, may be the Internet, IP Multi-media Service (IMS) network, local network (ie, local network, such as mobile Edge computing (mobile edge computing, MEC network), etc.
- IMS IP Multi-media Service
- local network ie, local network, such as mobile Edge computing (mobile edge computing, MEC network)
- MEC mobile Edge computing
- the data network includes an application server, and the application server provides business services for the terminal device by performing data transmission with the terminal device.
- the core network is used to connect the terminal device to a DN that can implement the service of the terminal device.
- the functions of each network element in the core network are described below:
- the core network access and mobility management function network element can be used to manage the access control and mobility of the terminal device. In practical applications, it includes the long term evolution (LTE) network
- LTE long term evolution
- the mobility management function in the mobility management entity (MME) in the framework and the access management function is added, which can be specifically responsible for the registration of the terminal equipment, mobility management, tracking area update process, reachability detection, Session management function network element selection, mobile state transition management, etc.
- the core network access and mobility management function network element may be an AMF (access and mobility management function) network element.
- the core network The access and mobility management function network element can still be an AMF network element or have other names, which is not limited in this application.
- the AMF may provide Namf service.
- the session management function network element can be used to be responsible for the session management of the terminal device (including the establishment, modification and release of the session), the selection and reselection of the user plane function network element, and the internet protocol of the terminal device. , IP) address allocation, quality of service (quality of service, QoS) control, etc.
- the session management function network element may be an SMF (session management function) network element.
- SMF session management function
- the session management function network element may still be an SMF network element. Yuan, or other names, this application is not limited.
- the SMF can provide the Nsmf service.
- the authentication server function network element can be used to provide authentication services.
- the authentication server function network element may be an AUSF network element, as shown in Figure 1, for example; in future communications, such as 6G, the authentication server function network element may still be AUSF (authentication server function network element).
- the AUSF network element may provide Nausf services.
- the policy control function network element can be used to be responsible for policy control decision-making, to provide functions such as service data flow and application detection, gating control, QoS, and flow-based charging control.
- the policy control function network element may be a PCF (policy control function) network element.
- the policy control function network element may still be a PCF network. Yuan, or other names, this application is not limited.
- the PCF network element may provide Npcf service.
- the main function of the application function network element is to interact with the 3rd generation partnership project (the 3rd generation partnership project, 3GPP) core network to provide services to affect service flow routing, access network capability opening, policy control, etc.
- the application function network element may be an AF (application function) network element.
- the application function network element may still be an AF network element, or There are other names, and this application is not limited.
- the application function network element is an AF network element, the AF network element may provide Naf services.
- the data management network element may be used to manage subscription data of the terminal device, registration information related to the terminal device, and the like.
- the data management network element may be a unified data management network element (unified data management, UDM).
- UDM unified data management network element
- the data management network element may still be UDM network elements, or other names, are not limited in this application.
- the UDM network element may provide Nudm services.
- the network open function network element can be used to enable 3GPP to safely provide network service capabilities to third-party AF (for example, Service Capability Server (SCS), Application Server (AS), etc.).
- the network opening function network element may be a NEF (network exposure function) network element.
- NEF network exposure function
- the network opening function network element may still be a NEF network. Yuan, or other names, this application is not limited.
- the NEF may provide Nnef services to other network function network elements.
- the network storage function network element can be used for network function entities and description information of the services they provide, and support service discovery, network element entity discovery, etc.
- the network storage function network element may be NRF (network repository function).
- NRF network repository function
- the network element may still be NRF network element or have other names. , This application is not limited.
- the network storage function network element is an NRF network element, the NRF network element may provide Nnrf services.
- the user plane function network element can be used to forward user plane data of the terminal device.
- the main functions are data packet routing and forwarding, mobility anchors, and uplink classifiers to support routing traffic to the data network, branch points to support multi-homing packet data unit (PDU) sessions, etc.
- the user plane function network element may be a UPF (user plane function) network element, as shown in Figure 1, for example; in future communications, such as 6G, the user plane function network element may still be a UPF network element. Yuan, or other names, this application is not limited.
- the above network elements in the core network can also be called functional entities. They can be network elements implemented on dedicated hardware, software instances running on dedicated hardware, or instances of virtualized functions on an appropriate platform.
- the aforementioned virtualization platform may be a cloud platform.
- FIG. 1 the architecture of the communication system shown in FIG. 1 is not limited to only include the network elements shown in the figure, and may also include other devices not shown in the figure. The specifics of this application will not be listed here. .
- the communication system shown in FIG. 1 does not constitute a limitation of the communication system applicable to the embodiments of the present application.
- the communication system architecture shown in FIG. 1 is a 5G system architecture.
- the method in the embodiment of the present application is also applicable to various future communication systems, such as 6G or other communication networks.
- the communication method provided by the embodiment of the present application is applicable to the communication system shown in FIG. 1. As shown in Figure 2, the specific process of the method may include:
- Step 201 After the first network element determines that the second network element is in an overload state, it determines whether it is necessary to reselect the serving network element. If yes, go to step 202, otherwise go to step 203; the second network element is currently the first A service network element that provides services.
- the first network element determines that the second network element is in an overload state, which can be classified into the following three situations:
- Case a1 After the first network element sends a service request message to the second network element, it receives an overload indication message from the second network element, where the overload indication message is used to indicate that the second network element is currently Overload state.
- the second network element may send a rejection message to the first network element after receiving the service request message of the first network element, where the rejection message includes the overload indication message.
- Case a2 The first network element obtains the configuration file of the second network element, and the first network element determines that the second network element is in an overload state according to the configuration file of the second network element.
- the first network element may obtain the configuration information of the second network element from a network storage function network element, and when the first network element recognizes the configuration file of the second network element When the state of the second network element is displayed as the overload state, it is determined that the second network element is in the overload state.
- Case a3 When the first network element fails to obtain the configuration file of the second network element from the network storage function network element, the first network element determines that the second network element is in an overload state.
- the network storage function network element recognizes that the configuration file of the second network element When the status of the second network element is displayed as an overload state, it will refuse to send the configuration file of the second network element to the first network element, that is, the first network element obtains the second network element The configuration file failed.
- the status of the second network element in the configuration file of the second network element is displayed as the overload state because the second network element determines that it is in After the overload state, request the network storage function to update the configuration file of the second network element, that is, request the network storage function network element to update the status of the second network element in the configuration file of the second network element Update to overload status.
- the specific method may be: the first network element obtains first indication information, and the first indication information is used At indicating whether the second network element supports reselection of a serving network element.
- the first network element determines that it needs to reselect a serving network element; when the first indication information indicates that the second network element When the element does not support the reselection of the serving network element, the first network element determines that there is no need to reselect the serving network element.
- the first network element may obtain the first indication information in the following three manners:
- Manner b1 After the first network element sends a service request message to the second network element, it receives a rejection message from the second network element, where the rejection message includes the first indication information.
- the first indication information may also be included in the overload indication message.
- Manner b2 The first network element receives a first message from the second network element, and the first message includes the first indication information.
- the first message may be sent by the second network element to the first network element before the first network element sends the service request to the second network element.
- the first message may be sent before the overload indication message.
- Manner b3 The first network element obtains the configuration file of the second network element, and the configuration file of the second network element includes the first indication information.
- the first indication information may be an identifier of the set where the second network element is located.
- it may be stipulated in advance through an agreement that when the second network element is overloaded, whether the first network element needs to reselect a serving network element, and the first network element is stipulated based on the agreement Determine whether to reselect the service network element.
- all network elements such as the second network element serving the first network element may be regarded as serving network elements.
- the first network element mentioned above when the first network element mentioned above sends a service request to the second network element, it all sends the second network element according to the resource identifier corresponding to the second network element.
- Request for service Specifically, it may be divided into the following two situations:
- the resource identifier corresponding to the second network element may be the resource universal identifier (resource universal). resource identifier, resource URI).
- the resource identifier corresponding to the second network element is sent by the second network element to the first network element.
- Case c2 When the first network element has not created service resources on the second network element, but the first network element has already obtained the information of the second network element, for example, it may be the Identification information of the second network element. In this way, the resource identifier corresponding to the second network element may be generated by the first network element according to the information of the second network element. For example, when the first network element has obtained the identifier of the second network element, the first network element may obtain the configuration file of the second network element according to the identifier of the second network element, and Obtain the address information of the second network element from the configuration file of the second network element, so as to generate a resource URI corresponding to the second network element.
- the control plane network element in the core network sends the identifier of the second network element to the SCP, and the The SCP obtains the configuration file of the second network element, so as to obtain the address information of the second network element, so that the SCP generates a Resource URI.
- the first network element in combination with case a2 or case a3, can determine whether the second network element is in an overload state, and in combination with case b2 or case b3, the first network element can determine whether it needs Reselect the service network element.
- Step 202 When the first network element determines that a service network element needs to be reselected, the first network element determines a third network element, and sends a service request message to the third network element.
- the method for the first network element to determine the third network element may include at least the following four:
- Method d1 After the first network element sends the service request message to the second network element, receiving a rejection message from the second network element, where the rejection message includes the identification information of the third network element ; The first network element determines the third network element according to the identification information of the third network element.
- Method d2 The first network element obtains at least one candidate network element in the non-overloaded state in the network element set from the network storage function network element according to the identifier of the network element set where the second network element is located; The first network element determines the third network element among the at least one candidate network element.
- the network storage function network element is based on the information included in the network element set
- the configuration file of each network element selects at least one candidate network element in a non-overloaded state, and the first network element may select one network element from the at least one candidate network element as the third network element.
- the first network element may select one network element from the at least one candidate network element as the third network element randomly or according to other preset rules.
- Method d3 The first network element sends an identifier of the network element set to the network storage function, and receives configuration files of all network elements in the network element set from the network storage function; the first network The element determines the third network element in a non-overloaded state according to the configuration information of all network elements in the network element set.
- the first network element screens according to the network element status in the configuration file of each network element At least one network element in the non-overloaded state is selected, and then one network element is selected as the third network element among the at least one network element in the non-overloaded state; the first network element can be selected randomly or according to preset rules The coming out network element in the non-overloaded state selects one network element as the third network element.
- this application will not list them all.
- Method d4 When all network elements in the network element set are in an overload state, the first network element determines the third network element in at least one network element that has the same function as the second network element.
- the first network element may be the second network element obtained from the second network element before the second network element is overloaded.
- the first network element sends the service request message to the third network element
- the specific method may be: the first network element generates the service request message corresponding to the third network element Resource identifier; the first network element sends the service request message to the third network element according to the resource identifier corresponding to the third network element.
- the first network element generates the identifier corresponding to the third network element
- the specific method may be: when the third network element is included in the network element set where the second network element is located, The first network element generates the resource identifier corresponding to the third network element according to the resource identifier corresponding to the second network element and the identifier of the third network element.
- the identifier of the third network element may be an Internet Protocol (IP) address or a fully qualified domain name (FQDN) of the third network element.
- IP Internet Protocol
- FQDN fully qualified domain name
- the first network element when the first network element generates the resource identifier of the third network element according to the resource identifier corresponding to the second network element and the identifier of the third network element, the first network element may The authority field in the source resource URI is replaced with the address of the third network element.
- the resource URI corresponding to the third network element generated by the first network element does not point to a specific resource.
- the format of the resource URI corresponding to the second network element may be as follows: ⁇ apiRoot ⁇ /nsmf-pdusession/v1/sm-contexts / ⁇ smContextRef ⁇ / ⁇ operation>, the smContextRef in the Resource URI is a resource-related descriptor.
- the resource URI corresponding to the third network element generated by the first network element may adopt the following format: ⁇ apiRoot ⁇ /nsmf-pdusession/v1 /sm-contexts/ ⁇ operation>, the resource URI points to a set of session contexts, not to a specific session resource.
- the operation is optional and is used to instruct the third network element to perform corresponding operations.
- the service request message sent by the first network element to the third network element includes a resource identifier corresponding to the second network element or the second network element Logo. In this way, the third network element can subsequently accurately obtain the service context.
- Step 203 When the first network element determines that there is no need to reselect a serving network element, the first network element reduces the rate of sending the service request message to the second network element.
- the first network element reduces the rate of sending the service request message to the second network element.
- the specific method may be: the first network element determines that the first network element The reduced rate when the element sends the service request message to the second network element; the first network element sends the service request message to the second network element at the reduced rate.
- the first network element determining the reduced rate when the first network element sends the service request message to the second network element may include the following two methods:
- Method e1 After the first network element sends the service request message to the second network element, it receives a rejection message from the second network element, where the rejection message includes second indication information, and the second network element The indication information is used to indicate the reduced rate; the first network element determines the reduced rate according to the second indication information.
- the second indication information when the second indication information indicates the reduced speed, the second indication information may directly be the reduced speed, or the second indication information may be a speed reduction auxiliary parameter, such as speed reduction amplitude and many more.
- the first network element determines the reduced speed according to the speed reduction auxiliary parameter.
- Method e2 The first network element obtains a configuration file of the second network element, where the configuration file includes indication information indicating the reduced rate when the second network element receives a service request message; The first network element determines the reduced rate according to the indication information indicating the reduced rate.
- the indication information indicating the reduced speed may be the speed reduction assistance parameter.
- the speed reduction auxiliary parameter may also be registered in the configuration file.
- the first network element determines whether it is necessary to reselect the serving network element.
- the first network element determines a third network element, and sends a service request message to the third network element; or, when the first network element determines that there is no need to reselect a serving network element, the first network element reduces A rate at which the service request message is sent to the second network element.
- the present application also provides a communication method, which is applicable to the communication system shown in FIG. 1 and realizes the status update of the network element, so that the network element provides services for other network elements according to actual conditions.
- the specific process of the method may include:
- Step 301 The second network element determines that it is in an overload state.
- the second network element determines that it is in an overload state.
- the specific method may be: when the second network element determines that the current load of the second network element is greater than or equal to a load threshold, The second network element determines that it is in an overload state.
- Step 302 The second network element sends a first update request message to a network storage function network element, where the first update request message is used to instruct the network storage function network element to update the status of the second network element to Overload state.
- the second network element when the second network element is in an overload state, after the second network element receives a service request message from the first network element, it sends an overload indication to the first network element Message, the overload indication message is used to indicate that the second network element is currently in an overload state.
- the overload indication message may include first indication information, and the first indication information is used to indicate that the second network element supports reselection of a serving network element.
- the overload indication message may include a speed reduction assistance parameter, and the speed reduction assistance parameter is used to instruct the first network element to reduce the rate at which the service request message is sent to the second network element.
- the second network element when the second network element is in an overload state, the second network element sends a rejection message to the first network element after receiving a service request message from the first network element,
- the rejection message includes the first indication information.
- the overload indication message is sent by including the overload indication message in the rejection message when the second network element sends a rejection message.
- the rejection message when the rejection message contains the first indication information, or when the overload indication message in the rejection message always contains the first indication information, the rejection message
- the identifier of a third network element may also be included in the third network element, and the third network element is a serving network element that needs to be reselected by the first network element, so that the first network element can determine a serving network element for subsequent communication.
- the rejection message may further include second indication information, and the second indication information is used to instruct the first network element to send a service request to the second network element to reduce After the rate.
- the first network element can determine the reduced rate according to the second indication information, so that when the second network element does not support reselection of the serving network element, the first network element uses the The reduced rate sends a service request to the second network element.
- the first update request message includes indication information indicating a reduced rate when the second network element receives the service request message.
- the reduced rate is determined according to the indication information, so that when the second network element does not support reselection of the serving network element, the The first network element sends a service request to the second network element at the reduced rate.
- the second indication information and the indication information indicating the reduced rate when the second network element receives the service request message may be the reduced rate, or a speed reduction auxiliary parameter, such as speed reduction Amplitude and so on.
- the network storage function network element receives a subscription request of a fourth network element, and the subscription request is used to subscribe to the state of the second network element.
- the network storage function network element sends a notification message to the fourth network element to change The status of the second network element is sent to the fourth network element.
- the fourth network element may also be the first network element.
- Step 303 The network storage function network element updates the state of the second network element in the configuration file of the second network element from a non-overloaded state to an overloaded state according to the first update request message.
- the network element determines the At least one candidate network element in a non-overloaded state in the network element set, and sending an identifier of the at least one candidate network element to the first network element.
- the network storage function determines at least one candidate network element in a non-overloaded state according to the status in the configuration file of each network element in the network element set, so that the first network element can be One of the at least one candidate network element is selected as the reselected serving network element, that is, the third network element.
- the network element determines the network according to the identifier of the network element set. All the network elements in the element set, and send the configuration files of all the network elements to the first network element.
- the first network element can filter out at least one network element in a non-overloaded state according to the status in the configuration file of each network element, and then select one network element among the at least one network element as the The third network element.
- the second network element determines that it switches from an overload state to a non-overload state, it sends a second update request message to the network storage function network element, and
- the second update request message is used to instruct the network storage function network element to update the status of the second network element to a non-overloaded state, and then the network storage function network element updates the network storage function network element according to the second update request message.
- the state of the second network element in the configuration file of the second network element is updated from an overload state to a non-overload state.
- the second network element determines that it is switched from the overload state to the non-overload state.
- the specific method may be: the second network element determines that the current load of the second network element is less than the load threshold When the second network element determines that it is switched from the overload state to the non-overload state.
- the fourth network element subscribes to the network storage function network element for the status of the second network element, the network storage function network element is in the second network
- a notification message is sent to the fourth network element, and the state of the second network element is sent to the fourth network element.
- the second network element determines that it is in an overload state, it sends a first update request message to the network storage function network element, and the first update request message is used to instruct the network storage function network element to The status of the second network element is updated to an overload status.
- the second network element when the second network element is overloaded, its configuration file in the network storage function is updated, so that the first network element can reselect the serving network element or reduce the speed, when the first network element reselects the serving network element It not only reduces the load of the overloaded second network element, but also does not affect the service performance of the first network element.
- this application also provides a communication method, which implements the communication process after the first network element involved in the above embodiment reselects the serving network element.
- the specific process of the method may include:
- Step 401 The third network element receives a service request message from the first network element; the third network element is the service network element reselected by the first network element; the service request includes resources corresponding to the second network element At least one of the identifier or the identifier of the second network element.
- a resource identifier corresponding to the third network element needs to be generated first, and the resource identifier corresponding to the third network element Sending the service request to the third network element.
- the method and form of generating the resource identifier of the third network element refer to the related description in step 202 in the embodiment shown in FIG. 2, and the details are not repeated here.
- Step 402 The third network element obtains the service context from the second network element according to at least one of a resource identifier corresponding to the second network element or an identifier of the second network element.
- the third network element may directly obtain the resource context according to the resource-related identifier
- the resource-related identifier may be smContextRef; or the third network element may be based on the identifier of the second network element and The resource-related identifier obtains the resource context.
- the third network element when the third network element and the second network element are not in the same network element set, the third network element may be based on the resource identifier of the second network element The character obtains the resource context from the second network element.
- the resource context is the business context.
- the third network element can accurately obtain the business context, and perform the subsequent communication process with the first network element.
- the first network element provides services, thereby alleviating the overload state of the second network element, improving the service performance of the first network element, and improving the service experience of the first network element.
- the following uses specific examples, such as the embodiments shown in FIGS. 5-7, to describe in detail the communication method provided by the embodiments of the present application.
- the network storage function network element is NRF as an example.
- the specific process of an example of a communication method provided by this application may include the following steps:
- Step 501 The second network element determines that it is in an overload state.
- the description of the second network element determining that it is in an overload state may refer to the content of step 301 in the embodiment shown in FIG. 3, which is not repeated here.
- Step 502 The second network element sends a first update request message to the NRF network element, where the first update request message is used to instruct the NRF network element to update the state of the second network element to an overload state.
- step 502 refers to the content of step 302 in the embodiment shown in FIG. 3, which will not be repeated here.
- the first update request message may carry overload control information (OCI), and when the overload deceleration indication in the OCI is set to a specific value, it indicates that the second network The element is currently in an overload state. For example, when the overload speed reduction indication is set to be greater than 0, it means that the second network element is currently in an overload state.
- OCI overload control information
- the OCI may also be used to indicate a reduced rate when the first network element sends a service request to the second network element after the second network element is in an overload state.
- the OCI may also carry first indication information.
- Step 503 The NRF network element updates the state of the second network element in the configuration file of the second network element from a non-overloaded state to an overloaded state according to the first update request message.
- step 503 refers to the content in step 303 in the embodiment shown in FIG. 3, which will not be repeated here.
- the first update request message is used to instruct the NRF to update the OCI in the second network element configuration file, and accordingly, the NRF network element saves the OCI.
- Step 504 The first network element sends a service request message 1 to the second network element.
- the specific method for the first network element to send the service request message 1 to the second network element may refer to the case c1 and the case c2 in step 201 in the embodiment shown in FIG. 2. Repeat it again.
- Step 505 The second network element sends a rejection message to the first network element, where the rejection message includes an overload indication message and first indication information, and the overload indication message is used to indicate that the second network element is currently In an overload state, the first indication information indicates that the second network element supports reselection of a serving network element.
- the first indication information may be directly included in the overload indication message.
- the second network element may include OCI in the rejection message, where the OCI is used to indicate that the second network element is currently in an overload state.
- the OCI can be understood as the overload indication message.
- the OCI may also be used to indicate a reduced rate when the first network element sends a service request to the second network element after the second network element is in an overload state.
- the OCI may also carry first indication information.
- Step 506 The first network element determines a third network element.
- the first network element determines the third network element.
- Step 507 The first network element generates a resource identifier corresponding to the third network element.
- step 202 for the method for the third network element to generate the resource identifier corresponding to the third network element, reference may be made to the related description involved in step 202 in the embodiment shown in FIG. 2, which will not be described in detail here.
- Step 508 The first network element sends a service request message 2 to the third network element according to the resource identifier corresponding to the third network element.
- the service request message 2 includes at least one of a resource identifier corresponding to the second network element or an identifier of the second network element.
- Step 509 The third network element obtains the service context from the second network element according to the identifier corresponding to the second network element or the identifier of the second network element.
- Step 510 The second network element determines that it switches from an overload state to a non-overload state.
- the second network element determines that it is switched from the overload state to the non-overload state.
- the specific method may be: when the second network element determines that the current load of the second network element is less than the load threshold, the second network element The element determines that it is switched from the overload state to the non-overload state.
- Step 511 The second network element sends a second update request message to the NRF network element, where the second update request message is used to instruct the NRF network element to update the status of the second network element to not overloaded status.
- Step 512 The NRF network element updates the state of the second network element in the configuration file of the second network element from an overload state to a non-overload state according to the second update request message.
- FIG. 5 only shows the important key steps in the process of reselecting the serving network element, and the communication flow may also include other steps, which will not be shown here.
- the specific process of the example of another communication method provided in this application may include the following steps:
- Step 601 to step 603 are similar to step 501 to step 503 in the example shown in FIG. 5, and reference may be made to each other for details, and details are not repeated here.
- Step 604 The first network element obtains the configuration file of the second network element from the NRF network element.
- Step 605 The first network element determines that the second network element is in an overload state according to the configuration file of the second network element.
- Step 606 to step 612 are similar to step 506 to step 512 in the example shown in FIG. 5, and reference may be made to each other for details, and details are not repeated here.
- the specific process of the example of another communication method provided by the present application may include the following steps:
- Step 701 to step 703 are similar to step 501 to step 503 in the example shown in FIG. 5, and reference may be made to each other for details, and details are not repeated here.
- Step 704 The first network element fails to obtain the configuration file of the second network element from the NRF network element.
- Step 705 to step 711 are similar to step 506 to step 512 in the example shown in FIG. 5, and reference may be made to each other for details, and details are not repeated here.
- the embodiment of the present application also provides a device, which is applied to the first network element.
- the device may specifically be a processor in the first network element, or a chip or a chip system, or a functional module.
- the apparatus 800 may include a processing unit 801 and a sending unit 802, and optionally may also include a receiving unit 803.
- the receiving unit 803 is used for the device 800 to receive information
- the sending unit 801 is used for the device 800 to send information
- the processing unit 802 is used for controlling and managing the actions of the device 800.
- the processing unit 802 may also be used to indicate the processing procedure involving the first network element in any of the foregoing embodiments and/or other procedures of the technical solution described in this application.
- the processing unit 802 can control the receiving unit 803 and control the steps performed by the sending unit 801.
- the repetitive parts will not be repeated here.
- the aforementioned processing unit 802 can be a processor or a processing circuit, etc.; the sending unit 801 can be a transmitter or a sending circuit, etc., the receiving unit 803 can be a receiver or a receiving circuit, etc., and the sending unit 801 and the receiving unit 803 can be Form a transceiver.
- the embodiment of the present application also provides a device, which is applied to the second network element.
- the device may specifically be a processor in the second network element, or a chip or a chip system, or a functional module.
- the device 900 may include a processing unit 901 and a sending unit 902, and optionally may also include a receiving unit 903.
- the receiving unit 903 is used for the device 900 to receive information
- the sending unit 902 is used for the device 900 to send information
- the processing unit 901 is used for controlling and managing the actions of the device 900.
- the processing unit 901 may also be used to indicate the processing procedure involving the first network element in any of the foregoing embodiments and/or other procedures of the technical solution described in this application. Specifically, the processing unit 901 can control the receiving unit 903 and the steps performed by the sending unit 902. For details, refer to the above-mentioned embodiment, and the repetitive parts will not be repeated here.
- the aforementioned processing unit 901 can be a processor or a processing circuit, etc.; the sending unit 902 can be a transmitter or a sending circuit, etc., the receiving unit 903 can be a receiver or a receiving circuit, etc., and the sending unit 902 and the receiving unit 903 can be Form a transceiver.
- the embodiment of the present application also provides a device, which is applied to a network storage function network element.
- the device may specifically be a processor in a network storage function network element, or a chip or a chip system, or a functional module.
- the apparatus 1000 may include a receiving unit 1001 and a processing unit 1002, and optionally may also include a sending unit 1003.
- the receiving unit 1001 is used for the device 1000 to receive information
- the sending unit 1003 is used for the device 1000 to send information
- the processing unit 1002 is used for controlling and managing the actions of the device 1000.
- the processing unit 1002 may also be used to indicate the processing process of a network storage function network element (such as NRF) in any of the foregoing embodiments and/or other processes of the technical solution described in this application. Specifically, the processing unit 1002 can control the receiving unit 1001 and control the steps performed by the sending unit 1003. For details, refer to the above-mentioned embodiment, and the repetition will not be repeated here.
- a network storage function network element such as NRF
- the aforementioned processing unit 1002 can be a processor or a processing circuit, etc.; the sending unit 1003 can be a transmitter or a sending circuit, etc., the receiving unit 1001 can be a receiver or a receiving circuit, etc., and the sending unit 1003 and the receiving unit 1001 can be Form a transceiver.
- an embodiment of the present application also provides a device, which is applied to a third network element.
- the device may specifically be a processor in a third network element, or a chip or a chip system, or a functional module.
- the apparatus 1100 may include a receiving unit 1101 and a processing unit 1102.
- the receiving unit 1101 is used for the device 1100 to receive information
- the processing unit 1102 is used for controlling and managing the actions of the device 1100.
- the processing unit 1102 may also be used to indicate the processing procedure involving the third network element in any of the foregoing embodiments and/or other procedures of the technical solution described in this application.
- the processing unit 1102 may control the steps performed by the receiving unit 1101.
- the repetitions are not repeated here.
- the aforementioned processing unit 1102 may be a processor or a processing circuit, etc.; the receiving unit 1101 may be a receiver or a receiving circuit, etc.
- the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
- the functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
- 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.
- the technical solution of this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including a number of instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the method described in each embodiment of the present application.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program code .
- the embodiments of the present application also provide a first network element for implementing the communication method.
- the first network element 1200 may include a transceiver 1201 and a processor 1202.
- the first network element 1200 may further include a memory 1203.
- the memory 1203 may be provided inside the first network element 1200, and may also be provided outside the first network element 1200.
- the processor 1202 controls the transceiver 1201 to receive and send data, and is used to implement the method executed by the first network element in FIGS. 2 and 4 to 7.
- the processor 1202 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.
- the processor 1202 may further include a hardware chip.
- the aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
- the aforementioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (generic array logic, GAL), or any combination thereof.
- the transceiver 1201, the processor 1202, and the memory 1203 are connected to each other.
- the transceiver 1201, the processor 1202, and the memory 1203 are connected to each other through a bus 1204;
- the bus 1204 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard Structure (Extended Industry Standard Architecture, EISA) bus, etc.
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- the bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used to represent in FIG. 12, but it does not mean that there is only one bus or one type of bus.
- the memory 1203 is used to store programs and the like.
- the program may include program code, and the program code includes computer operation instructions.
- the memory 1203 may include RAM, or may also include non-volatile memory, such as one or more disk memories.
- the processor 1202 executes the application program stored in the memory 1203 to implement the above-mentioned functions, thereby implementing the communication method provided in the embodiment of the present application.
- the first network element when used to implement the communication method shown in FIG. 2, it may specifically include:
- the transceiver 1201 is used to receive and send data
- the processor 1202 is configured to determine whether a service network element needs to be reselected after determining that the second network element is in an overload state, the second network element is a service network element currently providing services for the first network element;
- the third network element is determined, and the transceiver 1201 is controlled to send a service request message to the third network element;
- control the transceiver 1201 when it is determined that there is no need to reselect the serving network element, control the transceiver 1201 to reduce the rate of sending the service request message to the second network element.
- the processor 1202 is specifically configured to: when determining that the second network element is in an overload state:
- control the transceiver 1201 After controlling the transceiver 1201 to send the service request message to the second network element, control the transceiver 1201 to receive an overload indication message from the second network element, where the overload indication message is used to indicate the first network element The second network element is currently overloaded; or
- the processor 1202 is specifically configured to: when determining that the serving network element needs to be reselected,
- Acquire first indication information where the first indication information is used to indicate that the second network element supports reselecting a serving network element.
- the processor 1202 is specifically configured to: when acquiring the first indication information:
- the first indication information is an identifier of a network element set where the second network element is located.
- the processor 1202 is specifically configured to: when determining the third network element:
- the transceiver 1201 After controlling the transceiver 1201 to send the service request message to the second network element, receive a rejection message from the second network element, where the rejection message includes the identification information of the third network element;
- the identification information of the third network element determines the third network element;
- At least one candidate network element in the network element set that is not overloaded is obtained from the network storage function network element; in the at least one candidate network element Determine the third network element in; or
- Control the transceiver 1201 to send the identification of the network element set to the network storage function, and control the transceiver 1201 to receive the configuration files of all network elements in the network element set from the network storage function; The configuration information of all network elements in the network element set, and determine the third network element in a non-overloaded state; or
- the third network element is determined in at least one network element with the same function as the second network element.
- the processor 1202 is specifically configured to: when controlling the transceiver 1201 to send the service request message to the third network element:
- the processor 1202 is specifically configured to: when generating the identifier corresponding to the third network element:
- the third network element When the third network element is included in the network element set where the second network element is located, the third network element is generated according to the resource identifier corresponding to the second network element and the identifier of the third network element The resource identifier corresponding to the network element.
- the processor 1202 controls the service request message sent by the transceiver 1201 to the third network element to include the resource identifier or the resource identifier corresponding to the second network element. At least one of the identifiers of the second network element.
- the processor 1202 is specifically configured to: when controlling the transceiver 1201 to reduce the rate of sending the service request message to the second network element:
- the processor 1202 when determining the reduced rate when the first network element sends the service request message to the second network element, is specifically configured to:
- the transceiver 1201 After controlling the transceiver 1201 to send the service request message to the second network element, receive a rejection message from the second network element, where the rejection message includes second indication information, and the second indication information is used Indicating the reduced rate; determining the reduced rate according to the second indication information; or
- the configuration file includes indication information indicating the reduced rate when the second network element receives a service request message; according to the indication information indicating the reduced rate Determine the reduced rate.
- an embodiment of the present application also provides a second network element for implementing the foregoing communication method.
- the second network element 1300 may include a transceiver 1301 and a processor 1302.
- the second network element 1300 may further include a memory 1303.
- the memory 1303 may be provided inside the second network element 1300, and may also be provided outside the second network element 1300.
- the processor 1302 controls the transceiver 1301 to receive and send data, and is used to implement the method executed by the second network element in FIGS. 3 to 7.
- the processor 1302 may be a CPU, an NP, or a combination of a CPU and NP.
- the processor 1302 may further include a hardware chip.
- the above hardware chip can be ASIC, PLD or a combination thereof.
- the above PLD can be CPLD, FPGA, GAL or any combination thereof.
- the transceiver 1301, the processor 1302, and the memory 1303 are connected to each other.
- the transceiver 1301, the processor 1302, and the memory 1303 are connected to each other through a bus 1304; the bus 1304 may be a PCI bus or an EISA bus.
- the bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.
- the memory 1303 is used to store programs and the like.
- the program may include program code, and the program code includes computer operation instructions.
- the memory 1303 may include RAM, or may also include non-volatile memory, such as one or more disk memories.
- the processor 1302 executes the application program stored in the memory 1303 to implement the foregoing functions, thereby implementing the communication method provided in the embodiment of the present application.
- the embodiment of the present application also provides a network storage function network element for implementing the foregoing communication method.
- the network storage function network element 1400 may include a transceiver 1401 and a processor 1402.
- the network storage function network element 1400 may further include a memory 1403.
- the storage 1403 may be disposed inside the network storage function network element 1400, or may be disposed outside the network storage function network element 1400.
- the processor 1402 controls the transceiver 1401 to receive and send data, and is used to implement the method executed by the network storage function network element (such as NRF) in FIG. 3 and FIG. 5-7.
- the processor 1402 may be a CPU, an NP, or a combination of a CPU and NP.
- the processor 1402 may further include a hardware chip.
- the above hardware chip can be ASIC, PLD or a combination thereof.
- the above PLD can be CPLD, FPGA, GAL or any combination thereof.
- the transceiver 1401, the processor 1402, and the memory 1403 are connected to each other.
- the transceiver 1401, the processor 1402, and the memory 1403 are connected to each other through a bus 1404; the bus 1404 may be a PCI bus or an EISA bus.
- the bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in FIG. 14, but it does not mean that there is only one bus or one type of bus.
- the memory 1403 is used to store programs and the like.
- the program may include program code, and the program code includes computer operation instructions.
- the memory 1403 may include RAM, or may also include non-volatile memory, such as one or more disk memories.
- the processor 1402 executes the application program stored in the memory 1403 to implement the aforementioned functions, thereby implementing the communication method provided in the embodiment of the present application.
- the embodiments of the present application also provide a third network element for implementing the above communication method.
- the third network element 1500 may include a transceiver 1501 and a processor 1502.
- the third network element 1500 may further include a memory 1503.
- the memory 1503 may be provided inside the third network element 1500, and may also be provided outside the third network element 1500.
- the processor 1502 controls the transceiver 1501 to receive and send data, and is used to implement the method executed by the third network element in FIGS. 4-7.
- the processor 1502 may be a CPU, an NP, or a combination of a CPU and NP.
- the processor 1502 may further include a hardware chip.
- the above hardware chip can be ASIC, PLD or a combination thereof.
- the above PLD can be CPLD, FPGA, GAL or any combination thereof.
- the transceiver 1501, the processor 1502, and the memory 1503 are connected to each other.
- the transceiver 1501, the processor 1502, and the memory 1503 are connected to each other through a bus 1504; the bus 1504 may be a PCI bus or an EISA bus.
- the bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only a thick line is used in FIG. 15, but it does not mean that there is only one bus or one type of bus.
- the memory 1503 is used to store programs and the like.
- the program may include program code, and the program code includes computer operation instructions.
- the memory 1503 may include RAM, or may also include non-volatile memory, such as one or more disk memories.
- the processor 1502 executes the application program stored in the memory 1503 to implement the above-mentioned functions, thereby implementing the communication method provided in the embodiment of the present application.
- the embodiments of the present application also provide a computer storage medium, the storage medium stores a software program, and when the software program is read and executed by one or more processors, any one or more of the above The method provided by the embodiment.
- the computer storage medium may include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
- the embodiments of the present application also provide a chip, which includes a processor, which is used to implement the functions involved in any one or more of the above embodiments, such as acquiring or processing the information involved in the above methods or news.
- the chip further includes a memory, and the memory is used for necessary program instructions and data executed by the processor.
- the chip can be composed of a chip, or it can include a chip and other discrete devices.
- the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
- a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
- the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
- These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
- the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A communication method and apparatus, which are used to improve service performance and improve consumer experience. The method comprises: once a first network element determines that a second network element is in an overload state, determining whether a service network element needs to be reselected, and when the first network element determines that the service network element needs to be reselected, the first network element determining a third network element and sending a service request message to the third network element; or, when the first network element determines that the service network element does not need to be reselected, the first network element reducing the rate at which the service request message is sent to the second network element. By means of the described method, the first network element may flexibly reselect the service network element according to the actual situation, thereby improving the service performance and improving the service experience.
Description
本申请要求在2019年03月29日提交中国专利局、申请号为201910252252.6、申请名称为“一种通信方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201910252252.6, and the application name is "a communication method and device" on March 29, 2019, the entire content of which is incorporated into this application by reference.
本申请涉及通信技术领域,尤其涉及一种通信方法及装置。This application relates to the field of communication technology, and in particular to a communication method and device.
在现有的服务化架构中,进行通信的两个网元,一个可以认为是消费者(或者叫客户端),另一个可以认为是生产者(或者叫服务器)。其中消费者在自己确定生产者当前过载,或者生产者通知消费者生产者过载时,消费者会降低对生产者发送请求消息的速率,以便于缓解生产者的过载状态。但是这样,消费者在进行业务时,会对消费者的业务进行产生影响,影响了业务性能,从而会降低消费者的体验。In the existing service-oriented architecture, two network elements that communicate, one can be considered as a consumer (or client), and the other can be considered as a producer (or server). Among them, when the consumer determines that the producer is currently overloaded, or the producer notifies the consumer that the producer is overloaded, the consumer will reduce the rate of sending request messages to the producer, so as to alleviate the overload state of the producer. But in this way, when consumers conduct business, they will have an impact on consumer business, affect business performance, and thereby reduce consumer experience.
发明内容Summary of the invention
本申请提供一种通信方法及装置,用以提升业务性能,提升消费者的体验。The present application provides a communication method and device to improve business performance and improve consumer experience.
第一方面,本申请提供了一种通信方法,该方法包括:In the first aspect, this application provides a communication method, which includes:
第一网元确定第二网元处于过载状态后,判断是否需要重选服务网元,所述第二网元是当前为所述第一网元提供服务的服务网元;当所述第一网元确定需要重选服务网元时,所述第一网元确定第三网元,并向所述第三网元发送服务请求消息;或者,当所述第一网元确定不需要重选服务网元时,所述第一网元降低向所述第二网元发送所述服务请求消息的速率。After the first network element determines that the second network element is in an overloaded state, it determines whether it is necessary to reselect a serving network element. The second network element is the serving network element currently serving the first network element; when the first network element is When the network element determines that the service network element needs to be reselected, the first network element determines the third network element and sends a service request message to the third network element; or, when the first network element determines that reselection is not required When serving the network element, the first network element reduces the rate of sending the service request message to the second network element.
通过上述方法,所述第一网元可以根据实际情况灵活重选服务网元,从而提升业务性能,提高业务体验。Through the above method, the first network element can flexibly reselect the service network element according to actual conditions, thereby improving service performance and improving service experience.
在一个可能的设计中,所述第一网元确定所述第二网元处于过载状态,具体方法可以为:所述第一网元向所述第二网元发送所述服务请求消息后,从所述第二网元接收过载指示消息,所述过载指示消息用于指示所述第二网元当前处于过载状态;或者,所述第一网元获取所述第二网元的配置文件,所述第一网元根据所述第二网元的配置文件确定所述第二网元处于过载状态;或者,所述第一网元从网络存储功能网元获取所述第二网元的配置文件失败时,所述第一网元确定所述第二网元处于过载状态。In a possible design, the first network element determines that the second network element is in an overload state. The specific method may be: after the first network element sends the service request message to the second network element, Receiving an overload indication message from the second network element, where the overload indication message is used to indicate that the second network element is currently in an overload state; or, the first network element obtains the configuration file of the second network element, The first network element determines that the second network element is in an overload state according to the configuration file of the second network element; or, the first network element obtains the configuration of the second network element from a network storage function network element When the file fails, the first network element determines that the second network element is in an overload state.
通过上述方法,所述第一网元可以通过多种方式灵活地确定所述第二网元当前的状态为过载状态。Through the above method, the first network element can flexibly determine that the current state of the second network element is the overload state in a variety of ways.
在一个可能的设计中,所述第一网元确定需要重选服务网元,具体方法可以为:所述第一网元获取第一指示信息,所述第一指示信息用于指示所述第二网元支持重选服务网元。In a possible design, the first network element determines that the serving network element needs to be reselected. The specific method may be: the first network element obtains first indication information, and the first indication information is used to indicate the second The second network element supports reselection of the service network element.
通过上述方法,所述第一网元可以准确地确定在所述第二网元处于过载状态后,需要重新服务网元,以使后续通过重选的服务网元提供服务。Through the above method, the first network element can accurately determine that after the second network element is in an overload state, the network element needs to be re-serviced, so that the reselected serving network element can subsequently provide services.
在一个可能的设计中,所述第一网元获取所述第一指示信息,具体方法可以为:所述 第一网元向所述第二网元发送服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括所述第一指示信息;或者,所述第一网元从所述第二网元接收第一消息,所述第一消息中包括所述第一指示信息;或者,所述第一网元获取所述第二网元的配置文件,所述第二网元的配置文件中包括所述第一指示信息。In a possible design, the first network element obtains the first indication information, and the specific method may be: after the first network element sends a service request message to the second network element, from the second network element The network element receives a rejection message, and the rejection message includes the first indication information; or, the first network element receives a first message from the second network element, and the first message includes the first Indication information; or, the first network element obtains a configuration file of the second network element, and the configuration file of the second network element includes the first indication information.
通过上述方法,所述第一网元可以准确地获取到所述第一指示信息,以使所述第一网元后续确定需要重选服务网元。Through the foregoing method, the first network element can accurately obtain the first indication information, so that the first network element subsequently determines that the serving network element needs to be reselected.
在一个可能的设计中,所述第一指示信息是所述第二网元所在的网元集合的标识。这样当所述第一网元获得所述第二网元所在的集合标识时,就可以知道在所述第二网元处于过载状态后需要重选服务网元。In a possible design, the first indication information is an identifier of a network element set where the second network element is located. In this way, when the first network element obtains the set identifier where the second network element is located, it can be known that the serving network element needs to be reselected after the second network element is in an overload state.
在一个可能的设计中,所述第一网元确定所述第三网元,具体方法可以为:所述第一网元向所述第二网元发送所述服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括所述第三网元的标识信息;所述第一网元根据所述第三网元的标识信息确定所述第三网元;或者,所述第一网元根据所述第二网元所在的网元集合的标识,从网络存储功能网元中获取所述网元集合中处于未过载状态的至少一个待选网元;所述第一网元在所述至少一个待选网元中确定所述第三网元;或者,所述第一网元向所述网络存储功能发送所述网元集合的标识,并从所述网络存储功能接收所述网元集合中所有网元的配置文件;所述第一网元根据所述网元集合中所有网元的配置信息,确定处于未过载状态的所述第三网元;或者,当所述网元集合中所有网元均处于过载状态时,所述第一网元在与所述第二网元功能相同的至少一个网元确定所述第三网元。In a possible design, the first network element determines the third network element. The specific method may be: after the first network element sends the service request message to the second network element, from the The second network element receives a rejection message, where the rejection message includes the identification information of the third network element; the first network element determines the third network element according to the identification information of the third network element; or, The first network element obtains at least one candidate network element in the non-overloaded state in the network element set from the network storage function network element according to the identifier of the network element set where the second network element is located; A network element determines the third network element among the at least one candidate network element; or, the first network element sends the identifier of the network element set to the network storage function, and stores it from the network The function receives the configuration files of all network elements in the network element set; the first network element determines the third network element in a non-overloaded state according to the configuration information of all network elements in the network element set; or, When all network elements in the network element set are in an overload state, the first network element determines the third network element in at least one network element with the same function as the second network element.
通过上述方法,所述第一网元可以准确地确定所述第三网元,以使后续通过所述的第三网元为所述第一网元提供服务,从而提升业务性能。Through the above method, the first network element can accurately determine the third network element, so that the third network element can subsequently provide services to the first network element through the third network element, thereby improving service performance.
在一个可能的设计中,所述第一网元向所述第三网元发送所述服务请求消息,具体方法可以为:所述第一网元生成所述第三网元对应的资源标志符,并根据所述第三网元对应的资源标志符向所述第三网元发送所述服务请求消息。In a possible design, the first network element sends the service request message to the third network element, the specific method may be: the first network element generates a resource identifier corresponding to the third network element , And send the service request message to the third network element according to the resource identifier corresponding to the third network element.
通过上述方法,所述第一网元可以准确地向所述第三网元请求服务,以使后续所述第三网元为所述第一网元提供服务,提升业务性能。Through the above method, the first network element can accurately request services from the third network element, so that the third network element subsequently provides services for the first network element and improves service performance.
在一个可能的设计中,所述第一网元生成所述第三网元对应的标志符,具体方法可以为:当所述第三网元包含于所述第二网元所在的网元集合中时,所述第一网元根据所述第二网元对应的资源标志符和所述第三网元的标识,生成所述第三网元对应的资源标志符。In a possible design, the first network element generates the identifier corresponding to the third network element, and the specific method may be: when the third network element is included in the network element set where the second network element is located In the middle, the first network element generates the resource identifier corresponding to the third network element according to the resource identifier corresponding to the second network element and the identifier of the third network element.
通过上述方法,所述第一网元可以准确地确定所述第三网元对应的资源标志符,以使后续将服务请求消息准确发送给所述第三网元。Through the above method, the first network element can accurately determine the resource identifier corresponding to the third network element, so that the subsequent service request message can be accurately sent to the third network element.
在一个可能的设计中,所述第一网元向所述第三网元发送的所述服务请求消息中包括所述第二网元对应的资源标志符或者所述第二网元的标识中的至少一个。这样可以使所述第三网元后续准确地获得业务上下文。In a possible design, the service request message sent by the first network element to the third network element includes the resource identifier corresponding to the second network element or the identifier of the second network element. At least one of them. In this way, the third network element can subsequently accurately obtain the service context.
在一个可能的设计中,所述第一网元降低向所述第二网元发送所述服务请求消息的速率,具体方法可以为:所述第一网元确定所述第一网元向所述第二网元发送所述服务请求消息时降低后的速率;所述第一网元以所述降低后的速率向所述第二网元发送所述服务请求消息。In a possible design, the first network element reduces the rate of sending the service request message to the second network element. The specific method may be: the first network element determines that the first network element sends the service request message to the The reduced rate when the second network element sends the service request message; the first network element sends the service request message to the second network element at the reduced rate.
通过上述方法可以缓解一下所述第二网元的过载情况。The above method can alleviate the overload situation of the second network element.
在一个可能的设计中,所述第一网元确定所述第一网元向所述第二网元发送所述服务 请求消息时降低后的速率,具体方法可以为:所述第一网元向所述第二网元发送所述服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括第二指示信息,所述第二指示信息用于指示所述降低后的速率;所述第一网元根据所述第二指示信息确定所述降低后的速率;或者,所述第一网元获取所述第二网元的配置文件,所述配置文件中包括指示所述第二网元接收服务请求消息时所述降低后的速率的指示信息;所述第一网元根据指示所述降低后的速率的指示信息确定所述降低后的速率。In a possible design, the first network element determines the reduced rate when the first network element sends the service request message to the second network element. The specific method may be: the first network element After sending the service request message to the second network element, a rejection message is received from the second network element, the rejection message includes second indication information, and the second indication information is used to indicate the reduced The first network element determines the reduced rate according to the second indication information; or, the first network element obtains a configuration file of the second network element, and the configuration file includes an indication The indication information of the reduced rate when the second network element receives the service request message; the first network element determines the reduced rate according to the indication information indicating the reduced rate.
通过上述方法,所述第一网元可以准确地确定所述降低后的速率,以使所述第一网元不需要重选服务网元的情况下,以所述降低后的速率向所述第二网元发送服务请求消息。Through the above method, the first network element can accurately determine the reduced rate, so that when the first network element does not need to reselect a serving network element, the reduced rate is used to send the The second network element sends a service request message.
第二方面,本申请提供了一种通信方法,该方法包括:In the second aspect, this application provides a communication method, which includes:
第二网元确定自身处于过载状态后,所述第二网元向网络存储功能网元发送第一更新请求消息,所述第一更新请求消息用于指示所述网络存储功能网元将所述第二网元的状态更新为过载状态。After the second network element determines that it is in an overload state, the second network element sends a first update request message to the network storage function network element, where the first update request message is used to instruct the network storage function network element to The status of the second network element is updated to the overload status.
通过上述方法,当第二网元过载时,更新其在网络存储功能中的配置文件,以便第一网元可以重选服网元器或降速,当第一网元重选服务网元时既减轻了过载第二网元的负荷,又不会影响第一网元的业务性能。Through the above method, when the second network element is overloaded, its configuration file in the network storage function is updated so that the first network element can reselect the serving network element or reduce the speed. When the first network element reselects the serving network element It not only reduces the load of the overloaded second network element, but also does not affect the service performance of the first network element.
在一个可能的设计中,所述第二网元从第一网元接收服务请求消息后,向所述第一网元发送过载指示消息,所述过载指示消息用于指示所述第二网元当前处于过载状态。In a possible design, after receiving the service request message from the first network element, the second network element sends an overload indication message to the first network element, and the overload indication message is used to instruct the second network element It is currently overloaded.
通过上述方法,可以使所述第一网元确定所述第二网元处于过载状态,以使后续所述第一网元判断是否需要重选服务网元。Through the above method, the first network element can determine that the second network element is in an overload state, so that the first network element subsequently determines whether it is necessary to reselect a serving network element.
在一个可能的设计中,所述过载指示消息中包括第一指示信息,所述第一指示信息用于指示所述第二网元支持重选服务网元。In a possible design, the overload indication message includes first indication information, and the first indication information is used to indicate that the second network element supports reselection of a serving network element.
通过上述方法,所述第一网元可以通过所述过载指示消息中的所述第一指示信息确定在所述第二网元处于过载状态时,需要重选服务网元。Through the foregoing method, the first network element may determine, through the first indication information in the overload indication message, that when the second network element is in an overload state, it is necessary to reselect a serving network element.
在一个可能的设计中,所述第二网元从第一网元接收服务请求消息;所述第二网元向所述第一网元发送拒绝消息,所述拒绝消息中包含第一指示信息,所述第一指示信息用于指示所述第二网元支持重选服务网元。In a possible design, the second network element receives a service request message from the first network element; the second network element sends a rejection message to the first network element, and the rejection message includes the first indication information , The first indication information is used to indicate that the second network element supports reselection of a serving network element.
通过上述方法,可以使所述第一网元过所述拒绝消息中的所述第一指示信息确定在所述第二网元处于过载状态时,需要重选服务网元。Through the above method, the first network element can be made to determine that the serving network element needs to be reselected when the second network element is in an overload state through the first indication information in the rejection message.
在一个可能的设计中,所述拒绝消息中还包括第三网元的标识,所述第三网元为所述第一网元需要重选的服务网元。In a possible design, the rejection message further includes an identifier of a third network element, and the third network element is a serving network element that needs to be reselected by the first network element.
通过上述方法,可使所述第一网元根据所述第三网元的标识,确定后续需要重选的服务网元为所述第三网元。Through the above method, the first network element can determine that the serving network element that needs to be reselected subsequently is the third network element according to the identifier of the third network element.
在一个可能的设计中,所述第一更新请求消息中包括指示所述第二网元接收服务请求消息时降低后的速率的指示信息。In a possible design, the first update request message includes indication information indicating a reduced rate when the second network element receives the service request message.
通过上述方法,可以使所述网络存储功能网元将所述指示所述第二网元接收服务请求消息时降低后的速率的指示信息更新到所述第二网元的配置文件中,以使当所述第一网元在确定不需要重选服务网元时,从所述第二网元的配置文件中获取该指示信息来确定降低后的速率。Through the above method, the network storage function network element can update the indication information indicating the reduced rate when the second network element receives the service request message to the configuration file of the second network element, so that When the first network element determines that there is no need to reselect the serving network element, the indication information is obtained from the configuration file of the second network element to determine the reduced rate.
在一个可能的设计中,第二网元确定自身处于过载状态,具体方法可以为:所述第二网元确定所述第二网元当前负荷大于或者等于负荷阈值时,所述第二网元确定自身处于过 载状态。In a possible design, the second network element determines that it is in an overload state. The specific method may be: when the second network element determines that the current load of the second network element is greater than or equal to the load threshold, the second network element Make sure that you are overloaded.
通过上所述方法,所述第二网元可以准确地确定自身处于过载状态,以使所述第二网元进行后续的配置文件更新流程。Through the above method, the second network element can accurately determine that it is in an overload state, so that the second network element can perform the subsequent configuration file update process.
在一个可能的设计中,所述第二网元确定自身由过载状态切换为未过载状态后,向所述网络存储功能网元发送第二更新请求消息,所述第二更新请求消息用于指示所述网络存储功能网元将所述第二网元的状态更新为未过载状态。In a possible design, after the second network element determines that it switches from an overload state to a non-overload state, it sends a second update request message to the network storage function network element, and the second update request message is used to indicate The network storage function network element updates the state of the second network element to a non-overloaded state.
通过上述方法,所述第二网元可以通过所述网络存储功能网元更新自身当前的状态为未过载状态,以使后续其他网元可以选择第二网元提供服务。Through the above method, the second network element can update its current state to the non-overloaded state through the network storage function network element, so that subsequent other network elements can select the second network element to provide services.
在一个可能的设计中,所述第二网元确定自身由过载状态切换为未过载状态,具体方法可以为:所述第二网元确定所述第二网元当前负荷小于负荷阈值时,所述第二网元确定自身由过载状态切换为未过载状态。In a possible design, the second network element determines that it is switched from the overload state to the non-overload state. The specific method may be: when the second network element determines that the current load of the second network element is less than the load threshold, The second network element determines that it switches from an overload state to a non-overload state.
通过上述方法,所述第二网元可以准确地确定自身处于未过载状态,以使所述第二网元进行后续的配置文件更新流程。Through the above method, the second network element can accurately determine that it is in a non-overloaded state, so that the second network element can perform the subsequent configuration file update process.
第三方面,本申请提供了一种通信方法,该方法可以包括:In the third aspect, this application provides a communication method, which may include:
网络存储功能网元从第二网元接收第一更新请求消息,所述第一更新请求消息用于指示所述网络存储功能网元将所述第二网元的状态更新为过载状态;所述网络存储功能网元根据所述第一更新请求消息,将所述第二网元的配置文件中所述第二网元的状态由未过载状态更新为过载状态。The network storage function network element receives a first update request message from the second network element, where the first update request message is used to instruct the network storage function network element to update the state of the second network element to an overload state; The network storage function network element updates the state of the second network element in the configuration file of the second network element from a non-overloaded state to an overloaded state according to the first update request message.
通过上述方法,当第二网元过载时,更新其在网络存储功能中的配置文件,以便第一网元可以重选服网元器或降速,当第一网元重选服务网元时既减轻了过载第二网元的负荷,又不会影响第一网元的业务性能。Through the above method, when the second network element is overloaded, its configuration file in the network storage function is updated so that the first network element can reselect the serving network element or reduce the speed. When the first network element reselects the serving network element It not only reduces the load of the overloaded second network element, but also does not affect the service performance of the first network element.
在一个可能的设计中,所述网络存储功能网元从第一网元接收所述第二网元所在的网元集合的标识;所述网络存储功能网元根据所述网元集合的标识,确定所述网元集合中处于未过载状态的至少一个待选网元,并将所述至少一个待选网元的标识发送给所述第一网元。In a possible design, the network storage function network element receives from the first network element the identity of the network element set where the second network element is located; the network storage function network element according to the identity of the network element set, Determine at least one candidate network element in a non-overloaded state in the network element set, and send an identifier of the at least one candidate network element to the first network element.
通过上述方法,可以使所述第一网元在第二网元处于过载状态后,从所述至少一个待选网元中确定第三网元为所述第一网元提供服务。Through the above method, after the second network element is in an overload state, the first network element can determine from the at least one candidate network element that the third network element provides service for the first network element.
在一个可能的设计中,所述网络存储功能网元从第一网元接收所述第二网元所在的网元集合的标识;所述网络存储功能网元根据所述网元集合的标识确定所述网元集合中的所有网元,并将所述所有网元的配置文件发送给所述第一网元,每个网元的配置文件中包含所述每个网元当前的状态信息,所述状态信息为过载状态或者未过载状态。In a possible design, the network storage function network element receives from the first network element the identity of the network element set where the second network element is located; the network storage function network element determines according to the identity of the network element set All network elements in the network element set, and sending configuration files of all the network elements to the first network element, and the configuration file of each network element includes the current status information of each network element, The status information is an overload state or a non-overload state.
通过上述方法,可以使所述第一网元在第二网元处于过载状态后,根据每个网元的配置文件中的状态信息选择一个处于未过载状态的网元为所述第一网元提供服务。Through the above method, after the second network element is in the overload state, the first network element can select a network element in the non-overload state as the first network element according to the status information in the configuration file of each network element Provide services.
在一个可能的设计中,所述第一更新请求消息中包括指示所述第二网元接收服务请求消息时降低后的速率的指示信息。In a possible design, the first update request message includes indication information indicating a reduced rate when the second network element receives the service request message.
通过上述方法,可以使所述网络存储功能网元将所述指示所述第二网元接收服务请求消息时降低后的速率的指示信息更新到所述第二网元的配置文件中,以使当所述第一网元在确定不需要重选服务网元时,从所述第二网元的配置文件中获取该指示信息来确定降低后的速率。Through the above method, the network storage function network element can update the indication information indicating the reduced rate when the second network element receives the service request message to the configuration file of the second network element, so that When the first network element determines that there is no need to reselect the serving network element, the indication information is obtained from the configuration file of the second network element to determine the reduced rate.
在一个可能的设计中,所述网络存储功能从所述第二网元接收第二更新请求消息,所 述第二更新请求消息用于指示所述网络存储功能网元将所述第二网元的状态更新为未过载状态;所述网络存储功能网元根据所述第二更新请求消息,将所述第二网元的配置文件中所述第二网元的状态由过载状态更新为未过载状态。In a possible design, the network storage function receives a second update request message from the second network element, and the second update request message is used to instruct the network storage function network element to set the second network element The state of the network storage function is updated to the non-overloaded state; the network storage function network element updates the state of the second network element in the configuration file of the second network element from the overloaded state to the non-overloaded state according to the second update request message status.
通过上述方法,所述第二网元可以通过所述网络存储功能网元更新自身当前的状态为未过载状态,以使后续其他网元可以选择第二网元提供服务。Through the above method, the second network element can update its current state to the non-overloaded state through the network storage function network element, so that subsequent other network elements can select the second network element to provide services.
第四方面,本申请提供了一种通信方法,该方法包括:In a fourth aspect, this application provides a communication method, which includes:
第三网元从第一网元接收服务请求消息;所述第三网元为所述第一网元重选的服务网元;所述服务请求消息中包括第二网元对应的资源标志符或所述第二网元的标识中的至少一个;所述第三网元根据所述第二网元对应的标志符或所述第二网元的标识中的至少一个从所述第二网元获取所述业务上下文。The third network element receives a service request message from the first network element; the third network element is the service network element reselected by the first network element; the service request message includes the resource identifier corresponding to the second network element Or at least one of the identifiers of the second network element; the third network element obtains information from the second network element according to at least one of the identifier corresponding to the second network element or the identifier of the second network element Meta obtains the business context.
通过上述方法,在所述第一网元重选服务网元后,所述第三网元可以准确获取到业务上下文,进行后续的与所述第一网元的通信流程,对所述第一网元提供服务,从而可以缓解第二网元的过载状态,提升第一网元的业务性能,提升第一网元的业务体验。Through the above method, after the first network element reselects the serving network element, the third network element can accurately obtain the service context, and perform the subsequent communication process with the first network element to communicate with the first network element. The network element provides services, which can relieve the overload state of the second network element, improve the service performance of the first network element, and improve the service experience of the first network element.
第五方面,本申请还提供了一种第一网元,该第一网元具有实现上述第一方面方法实例中第一网元行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a fifth aspect, the present application also provides a first network element that has a function of realizing the behavior of the first network element in the foregoing method example of the first aspect. The function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
在一个可能的设计中,所述第一网元的结构中包括处理单元和发送单元,可选的还包括接收单元,这些单元可以执行上述第一方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In a possible design, the structure of the first network element includes a processing unit, a sending unit, and optionally a receiving unit. These units can perform the corresponding functions in the above-mentioned method example of the first aspect. For details, refer to the method example The detailed description in, will not be repeated here.
在一个可能的设计中,所述第一网元的结构中包括收发器和处理器,可选的还包括存储器,所述收发器用于收发数据,以及用于与通信系统中的其他设备进行通信交互,所述处理器被配置为支持所述第一网元执行上述第一方面方法中相应的功能。所述存储器与所述处理器耦合,其保存所述第一网元必要的程序指令和数据。In a possible design, the structure of the first network element includes a transceiver and a processor, and optionally also includes a memory, the transceiver is used to send and receive data, and to communicate with other devices in the communication system Interactively, the processor is configured to support the first network element to perform the corresponding function in the above-mentioned method in the first aspect. The memory is coupled with the processor, and stores the necessary program instructions and data of the first network element.
第六方面,本申请还提供了一种第二网元,该第二网元具有实现上述第二方面方法实例中第二网元行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In the sixth aspect, the present application also provides a second network element that has the function of realizing the behavior of the second network element in the method example of the second aspect. The function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
在一个可能的设计中,所述第二网元的结构中包括处理单元和发送单元,可选的还包括接收单元,这些单元可以执行上述第二方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In a possible design, the structure of the second network element includes a processing unit, a sending unit, and optionally a receiving unit. These units can perform the corresponding functions in the above-mentioned method examples of the second aspect. For details, refer to the method examples The detailed description in, will not be repeated here.
在一个可能的设计中,所述第二网元的结构中包括收发器和处理器,可选的还包括存储器,所述收发器用于收发数据,以及用于与通信系统中的其他设备进行通信交互,所述处理器被配置为支持所述第二网元执行上述第二方面方法中相应的功能。所述存储器与所述处理器耦合,其保存所述第二网元必要的程序指令和数据。In a possible design, the structure of the second network element includes a transceiver, a processor, and optionally a memory, and the transceiver is used to send and receive data and to communicate with other devices in the communication system. Interactively, the processor is configured to support the second network element to perform the corresponding function in the above-mentioned second aspect method. The memory is coupled with the processor, and stores necessary program instructions and data of the second network element.
第七方面,本申请还提供了一种网络存储功能网元,该网络存储功能网元具有实现上述第三方面方法实例中网络存储功能网元行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a seventh aspect, the present application also provides a network storage function network element that has the function of realizing the behavior of the network storage function network element in the method example of the third aspect. The function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
在一个可能的设计中,所述网络存储功能网元的结构中包括接收单元和处理单元,可选的还包括发送单元,这些单元可以执行上述第三方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In a possible design, the structure of the network storage function network element includes a receiving unit, a processing unit, and optionally a sending unit. These units can perform the corresponding functions in the above-mentioned method examples of the third aspect. For details, refer to the method The detailed description in the example will not be repeated here.
在一个可能的设计中,所述网络存储功能网元的结构中包括收发器和处理器,可选的还包括存储器,所述收发器用于收发数据,以及用于与通信系统中的其他设备进行通信交互,所述处理器被配置为支持所述网络存储功能网元执行上述第三方面方法中相应的功能。所述存储器与所述处理器耦合,其保存所述网络存储功能网元必要的程序指令和数据。In a possible design, the structure of the network storage function network element includes a transceiver, a processor, and optionally a memory. The transceiver is used to send and receive data, and to communicate with other devices in the communication system. For communication interaction, the processor is configured to support the network storage function network element to perform the corresponding function in the method of the third aspect. The memory is coupled with the processor, and stores the necessary program instructions and data of the network storage function network element.
第八方面,本申请还提供了一种第三网元,该第三网元具有实现上述第四方面方法实例中第三网元行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In an eighth aspect, this application also provides a third network element that has the function of realizing the behavior of the third network element in the method example of the fourth aspect. The function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
在一个可能的设计中,所述第三网元的结构中包括接收单元和处理单元,这些单元可以执行上述第四方面方法示例中的相应功能,具体参见方法示例中的详细描述,此处不做赘述。In a possible design, the structure of the third network element includes a receiving unit and a processing unit, and these units can perform the corresponding functions in the method example of the fourth aspect. For details, please refer to the detailed description in the method example. Do repeat.
在一个可能的设计中,所述第三网元的结构中包括收发器和处理器,可选的还包括存储器,所述收发器用于收发数据,以及用于与通信系统中的其他设备进行通信交互,所述处理器被配置为支持所述第三网元执行上述第四方面方法中相应的功能。所述存储器与所述处理器耦合,其保存所述第三网元必要的程序指令和数据。In a possible design, the structure of the third network element includes a transceiver and a processor, and optionally also includes a memory, the transceiver is used to send and receive data, and to communicate with other devices in the communication system Interactively, the processor is configured to support the third network element to perform the corresponding function in the above-mentioned fourth aspect method. The memory is coupled with the processor, and stores the necessary program instructions and data of the third network element.
第九方面,本申请还提供了一种系统,该系统包括第一网元,所述第一网元可用于执行上述第一方面及第一方面的任一方法中由第一网元执行的步骤。在一个可能的设计中,所述系统还可以包括第二网元,所述第二网元可用于执行上述第一方面及第一方面的任一方法中的由第二网元执行的步骤。在一个可能的设计中,所述系统还可以包括第三网元,所述三网元可用于执行上述第一方面及第一方面的任一方法中的由第三网元执行的步骤。在一个可能的设计中,该系统还可以包括本申请实施例提供的方案中与第一网元、第二网元或第三网元中的至少一个进行交互的其他设备,例如网络存储功能网元等等。In a ninth aspect, this application also provides a system, which includes a first network element, and the first network element can be used to perform the first aspect and any one of the methods in the first aspect executed by the first network element step. In a possible design, the system may further include a second network element, and the second network element may be used to perform the steps performed by the second network element in any one of the first aspect and the first aspect. In a possible design, the system may further include a third network element, and the three network elements may be used to perform the steps performed by the third network element in any one of the first aspect and the first aspect. In a possible design, the system may also include other devices that interact with at least one of the first network element, the second network element, or the third network element in the solution provided in the embodiment of the application, such as a network storage function network. Yuan and so on.
第十方面,本申请还提供了一种系统,该系统包括第二网元,所述第二网元可用于执行上述第二方面及第二方面的任一方法中由第二网元执行的步骤。在一个可能的设计中,所述系统还可以包括网络存储功能网元,所述网络存储功能网元可用于执行上述第二方面及第二方面的任一方法中的由网络存储功能网元执行的步骤。在一个可能的设计中,该系统还可以包括本申请实施例提供的方案中与第二网元和/或网络存储功能网元进行交互的其他设备,例如第一网元等等。In a tenth aspect, this application also provides a system, which includes a second network element, and the second network element can be used to perform the second aspect and any one of the methods in the second aspect that is executed by the second network element. step. In a possible design, the system may further include a network storage function network element, and the network storage function network element may be used to execute the network storage function network element in the second aspect and any one of the methods of the second aspect. A step of. In a possible design, the system may also include other devices that interact with the second network element and/or the network storage function network element in the solution provided in the embodiments of the present application, such as the first network element and so on.
第十一方面,本申请还提供了一种系统,该系统包括网络存储功能网元,所述网络存储功能网元可用于执行上述第三方面及第三方面的任一方法中由网络存储功能网元执行的步骤。在一个可能的设计中,所述系统还可以包括第二网元,所述第二网元可用于执行上述第三方面及第三方面的任一方法中由第二网元执行的步骤。在一个可能的设计中,该系统还可以包括本申请实施例提供的方案中与第二网元和/或网络存储功能网元进行交互的其他设备,例如第一网元等等。In an eleventh aspect, the present application also provides a system that includes a network storage function network element that can be used to perform the network storage function in the third aspect and any of the methods in the third aspect. Steps performed by the network element. In a possible design, the system may further include a second network element, and the second network element may be used to perform the steps performed by the second network element in the third aspect and any method of the third aspect. In a possible design, the system may also include other devices that interact with the second network element and/or the network storage function network element in the solution provided in the embodiments of the present application, such as the first network element and so on.
第十二方面,本申请还提供了一种系统,该系统包括第三网元,所述第三网元可用于执行上述第四方面及第四方面的任一方法中由第三网元执行的步骤。在一个可能的设计中,所述系统还可以包括第一网元,所述第一网元可用于执行上述第四方面及第四方面的任一方法中由第一网元执行的步骤。在一个可能的设计中,该系统还可以包括本申请实施例提供的方案中与第三网元和/或第一网元进行交互的其他设备,例如第二网元等等。In the twelfth aspect, this application also provides a system that includes a third network element, and the third network element can be used to perform any of the above-mentioned fourth aspect and the fourth aspect. A step of. In a possible design, the system may further include a first network element, and the first network element may be used to perform the steps performed by the first network element in any of the foregoing fourth aspect and the fourth aspect. In a possible design, the system may also include other devices that interact with the third network element and/or the first network element in the solution provided in the embodiments of the present application, such as the second network element and so on.
第十三方面,本申请还提供了一种计算机存储介质,所述计算机存储介质中存储有计 算机可执行指令,所述计算机可执行指令在被所述计算机调用时用于使所述计算机执行上述任一种方法。In a thirteenth aspect, this application also provides a computer storage medium that stores computer-executable instructions, and when called by the computer, the computer-executable instructions are used to make the computer execute the above Either way.
第十四方面,本申请还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一种方法。In the fourteenth aspect, this application also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any of the above methods.
第十五方面,本申请还提供了一种芯片,所述芯片与存储器耦合,用于读取并执行所述存储器中存储的程序指令,以实现上述任一种方法。In a fifteenth aspect, the present application also provides a chip, which is coupled with a memory, and is used to read and execute program instructions stored in the memory to implement any of the above methods.
图1为本申请提供的一种通信系统的结构示意图;Fig. 1 is a schematic structural diagram of a communication system provided by this application;
图2为本申请提供的一种通信方法的流程图;Figure 2 is a flowchart of a communication method provided by this application;
图3为本申请提供的另一种通信方法的流程图;Figure 3 is a flowchart of another communication method provided by this application;
图4为本申请提供的另一种通信方法的流程图;Figure 4 is a flowchart of another communication method provided by this application;
图5为本申请提供的一种通信方法的示例的流程图;FIG. 5 is a flowchart of an example of a communication method provided by this application;
图6为本申请提供的另一种通信方法的示例的流程图;FIG. 6 is a flowchart of an example of another communication method provided by this application;
图7为本申请提供的另一种通信方法的示例的流程图;FIG. 7 is a flowchart of an example of another communication method provided by this application;
图8为本申请提供的一种装置的结构示意图;FIG. 8 is a schematic structural diagram of a device provided by this application;
图9为本申请提供的另一种装置的结构示意图;FIG. 9 is a schematic structural diagram of another device provided by this application;
图10为本申请提供的另一种装置的结构示意图;FIG. 10 is a schematic structural diagram of another device provided by this application;
图11为本申请提供的另一种装置的结构示意图;FIG. 11 is a schematic structural diagram of another device provided by this application;
图12为本申请提供的一种第一网元的结构图;FIG. 12 is a structural diagram of a first network element provided by this application;
图13为本申请提供的一种第二网元的结构图;FIG. 13 is a structural diagram of a second network element provided by this application;
图14为本申请提供的一种网络存储功能网元的结构图;FIG. 14 is a structural diagram of a network storage function network element provided by this application;
图15为本申请提供的一种第三网元的结构图。FIG. 15 is a structural diagram of a third network element provided by this application.
下面将结合附图对本申请作进一步地详细描述。The application will be further described in detail below in conjunction with the accompanying drawings.
本申请实施例提供一种通信方法及装置,用以提升业务性能,提升消费者的体验。其中,本申请所述方法和装置基于同一发明构思,由于方法及装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。The embodiments of the present application provide a communication method and device to improve business performance and improve consumer experience. Among them, the method and device described in the present application are based on the same inventive concept. Since the method and the device have similar principles for solving the problem, the implementation of the device and the method can be referred to each other, and the repetition will not be repeated.
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some terms in this application are explained to facilitate the understanding of those skilled in the art.
1)、第一网元、第二网元和第三网元:所述第一网元可以认为是通信过程中的客户端,所述第二网元和所述第三网元可以认为是通信过程中的服务器,所述第二网元和所述第三网元为所述第一网元提供服务。其中,所述第一网元先由第二网元提供服务,然后当所述第二网元过载后,由所述第三网元为所述第一网元提供服务。其中,所述第一网元可以是核心网中的接入和移动性管理功能网元、会话管理功能网元等控制面网元,还可以是服务通信代理等等;所述第二网元和所述第三网元也可以是核心网中的接入和移动性管理功能网元、会话管理功能网元等控制面网元。应理解的是,所述第一网元和所述第二网元通信时,所述第一网元和所述第二网元为不同的网元;或者所述第一网元和所述第三网元通信时,所述第一网元和所述第三网元为不同的网元。1). The first network element, the second network element, and the third network element: the first network element can be regarded as a client in the communication process, and the second network element and the third network element can be regarded as For the server in the communication process, the second network element and the third network element provide services for the first network element. Wherein, the first network element is first provided by the second network element, and then when the second network element is overloaded, the third network element provides the service for the first network element. Wherein, the first network element may be a control plane network element such as an access and mobility management function network element and a session management function network element in the core network, or a service communication agent, etc.; the second network element And the third network element may also be a control plane network element such as an access and mobility management function network element and a session management function network element in the core network. It should be understood that when the first network element communicates with the second network element, the first network element and the second network element are different network elements; or the first network element and the When the third network element communicates, the first network element and the third network element are different network elements.
2)、过载(overload)状态,也可以称为暂不可用(suspend)状态,指网元当前负荷大于或者等于负荷阈值的状态。在该状态下,该网元在一定程度上可以为当前的服务请求提供服务,但是需要降低服务效率。但是在该状态下,除了当前的服务请求之外的新加入的服务请求,该网元不能提供服务。2) The overload state, which can also be called the suspend state, refers to the state where the current load of the network element is greater than or equal to the load threshold. In this state, the network element can provide services for the current service request to a certain extent, but the service efficiency needs to be reduced. However, in this state, for newly added service requests other than the current service request, the network element cannot provide services.
3)、在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。3) In the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing description, and cannot be understood as indicating or implying relative importance, nor as indicating or implying order.
为了更加清晰地描述本申请实施例的技术方案,下面结合附图,对本申请实施例提供的通信方法及装置进行详细说明。In order to more clearly describe the technical solutions of the embodiments of the present application, the communication methods and devices provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
图1示出了本申请实施例提供的通信方法适用的一种可能的通信系统的架构,所述通信系统的架构中包括网络开放功能网元、网络存储功能网元、策略控制功能网元、数据管理网元、应用功能网元、鉴权服务器功能、核心网接入和移动性管理功能网元、会话管理功能网元、服务通信代理、终端设备、接入网设备、用户面功能网元和数据网络。其中:图1示出了所述通信系统的架构的一种可能的示例,具体包括:NEF网元、NRF网元、PCF网元、UDM网元、AF网元、AUSF网元、AMF网元、SMF网元、SCP、UE、接入网(access network,AN)设备、UPF网元和数据网络(data network,DN)。其中,AMF网元与终端设备之间可以通过N1接口相连,AMF与AN设备之间可以通过N2接口相连,AN设备与UPF之间可以通过N3接口相连,SMF与UPF之间可以通过N4接口相连,UPF与DN之间可以通过N6接口相连。接口名称只是一个示例说明,本申请实施例对此不作具体限定。应理解,本申请实施例并不限于图1所示通信系统,图1中所示的网元的名称在这里仅作为一种示例说明,并不作为对本申请的方法适用的通信系统的架构中包括的网元的限定。下面对所述通信系统中的各个网元或设备的功能进行详细描述:FIG. 1 shows the architecture of a possible communication system to which the communication method provided by the embodiment of the present application is applicable. The architecture of the communication system includes network open function network elements, network storage function network elements, policy control function network elements, Data management network element, application function network element, authentication server function, core network access and mobility management function network element, session management function network element, service communication agent, terminal equipment, access network equipment, user plane function network element And data network. Among them: Figure 1 shows a possible example of the architecture of the communication system, which specifically includes: NEF network element, NRF network element, PCF network element, UDM network element, AF network element, AUSF network element, AMF network element , SMF network elements, SCP, UE, access network (AN) equipment, UPF network elements and data network (DN). Among them, the AMF network element and the terminal device can be connected through the N1 interface, the AMF and the AN device can be connected through the N2 interface, the AN device and the UPF can be connected through the N3 interface, and the SMF and UPF can be connected through the N4 interface. , UPF and DN can be connected through the N6 interface. The interface name is only an example description, and the embodiment of the present application does not specifically limit this. It should be understood that the embodiment of the present application is not limited to the communication system shown in FIG. 1. The name of the network element shown in FIG. 1 is only used as an example here, and is not used as an architecture of the communication system applicable to the method of the present application. Limitations of included network elements. The function of each network element or device in the communication system is described in detail below:
所述终端设备,又可以称之为用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等,是一种向用户提供语音和/或数据连通性的设备。例如,所述终端设备可以包括具有无线连接功能的手持式设备、车载设备等。目前,所述终端设备可以是:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self-driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端,或智慧家庭(smart home)中的无线终端等。其中,图1中所述终端设备以UE示出,仅作为示例,并不对终端设备进行限定。The terminal equipment, which can also be called user equipment (UE), mobile station (MS), mobile terminal (MT), etc., is a way to provide users with voice and/or data connectivity Sexual equipment. For example, the terminal device may include a handheld device with a wireless connection function, a vehicle-mounted device, and the like. At present, the terminal device may be: mobile phone (mobile phone), tablet computer, notebook computer, palmtop computer, mobile internet device (MID), wearable device, virtual reality (VR) device, augmented Augmented reality (AR) equipment, wireless terminals in industrial control (industrial control), wireless terminals in self-driving (self-driving), wireless terminals in remote medical surgery, smart grid (smart grid) ), the wireless terminal in transportation safety, the wireless terminal in the smart city, or the wireless terminal in the smart home. Wherein, the terminal device described in FIG. 1 is shown as a UE, which is only used as an example and does not limit the terminal device.
无线接入网络可以为图1所示的接入网(access network,AN),向所述终端设备提供无线接入服务。所述接入网设备是所述通信系统中将所述终端设备接入到无线网络的设备。所述接入网设备为无线接入网中的节点,又可以称为基站,还可以称为无线接入网(radio access network,RAN)节点(或设备)。目前,一些接入网设备的举例为:gNB、传输接收点(transmission reception point,TRP)、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(base band unit,BBU),或无线保真(wireless fidelity,Wifi)接入点(access point,AP)等。The wireless access network may be an access network (access network, AN) as shown in FIG. 1, which provides wireless access services to the terminal device. The access network device is a device that connects the terminal device to a wireless network in the communication system. The access network device is a node in a radio access network, which can also be called a base station, or a radio access network (RAN) node (or device). At present, some examples of access network equipment are: gNB, transmission reception point (TRP), evolved Node B (evolved Node B, eNB), radio network controller (RNC), Node B (Node B, NB), base station controller (BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (base Band unit, BBU), or wireless fidelity (Wifi) access point (AP), etc.
所述数据网络,例如图1所示的数据网络(data network,DN),可以是因特网(Internet)、IP多媒体业务(IP Multi-media Service,IMS)网络、区域网络(即本地网络,例如移动边缘计算(mobile edge computing,MEC)网络)等。所述数据网络中包括应用服务器,所述应用服务器通过与所述终端设备进行数据传输,为所述终端设备提供业务服务。The data network, for example, the data network (DN) shown in FIG. 1, may be the Internet, IP Multi-media Service (IMS) network, local network (ie, local network, such as mobile Edge computing (mobile edge computing, MEC network), etc. The data network includes an application server, and the application server provides business services for the terminal device by performing data transmission with the terminal device.
核心网用于将所述终端设备接入可以实现所述终端设备的业务的DN。下面对所述核心网中各个网元的功能进行描述:The core network is used to connect the terminal device to a DN that can implement the service of the terminal device. The functions of each network element in the core network are described below:
所述核心网接入和移动性管理功能网元,可用于对所述终端设备的接入控制和移动性进行管理,在实际应用中,其包括了长期演进(long term evolution,LTE)中网络框架中移动管理实体(mobility management entity,MME)里的移动性管理功能,并加入了接入管理功能,具体可以负责所述终端设备的注册、移动性管理、跟踪区更新流程、可达性检测、会话管理功能网元的选择、移动状态转换管理等。例如,在5G中,所述核心网接入和移动性管理功能网元可以是AMF(access and mobility management function)网元,例如图1所示,在未来通信,如6G中,所述核心网接入和移动性管理功能网元仍可以是AMF网元,或有其它的名称,本申请不做限定。当所述核心网接入和移动性管理功能网元是AMF网元时,所述AMF可以提供Namf服务。The core network access and mobility management function network element can be used to manage the access control and mobility of the terminal device. In practical applications, it includes the long term evolution (LTE) network The mobility management function in the mobility management entity (MME) in the framework, and the access management function is added, which can be specifically responsible for the registration of the terminal equipment, mobility management, tracking area update process, reachability detection, Session management function network element selection, mobile state transition management, etc. For example, in 5G, the core network access and mobility management function network element may be an AMF (access and mobility management function) network element. For example, as shown in Figure 1, in future communications, such as 6G, the core network The access and mobility management function network element can still be an AMF network element or have other names, which is not limited in this application. When the core network access and mobility management function network element is an AMF network element, the AMF may provide Namf service.
所述会话管理功能网元,可用于负责所述终端设备的会话管理(包括会话的建立、修改和释放),用户面功能网元的选择和重选、所述终端设备的互联网协议(internet protocol,IP)地址分配、服务质量(quality of service,QoS)控制等。例如,在5G中,所述会话管理功能网元可以是SMF(session management function)网元,例如图1所示,在未来通信,如6G中,所述会话管理功能网元仍可以是SMF网元,或有其它的名称,本申请不做限定。当会话管理功能网元时SMF网元时,所述SMF可以提供Nsmf服务。The session management function network element can be used to be responsible for the session management of the terminal device (including the establishment, modification and release of the session), the selection and reselection of the user plane function network element, and the internet protocol of the terminal device. , IP) address allocation, quality of service (quality of service, QoS) control, etc. For example, in 5G, the session management function network element may be an SMF (session management function) network element. For example, as shown in FIG. 1, in future communications, such as 6G, the session management function network element may still be an SMF network element. Yuan, or other names, this application is not limited. When the session management function network element is an SMF network element, the SMF can provide the Nsmf service.
所述鉴权服务器功能网元,可用于提供鉴权服务。例如,在5G中,所述鉴权服务器功能网元可以是AUSF网元,例如图1所示;在未来通信,如6G中,所述鉴权服务器功能网元仍可以是AUSF(authentication server function)网元,例如图1所示,在未来通信,如6G中,所述鉴权服务器功能网元仍可以是AUSF网元,或有其它的名称,本申请不做限定。当所述鉴权服务器功能网元是AUSF网元时,所述AUSF网元可以提供Nausf服务。The authentication server function network element can be used to provide authentication services. For example, in 5G, the authentication server function network element may be an AUSF network element, as shown in Figure 1, for example; in future communications, such as 6G, the authentication server function network element may still be AUSF (authentication server function network element). ) A network element, as shown in Figure 1, for example, in future communications, such as 6G, the authentication server function network element may still be an AUSF network element or have other names, which is not limited in this application. When the authentication server function network element is an AUSF network element, the AUSF network element may provide Nausf services.
所述策略控制功能网元,可用于负责策略控制决策、提供基于业务数据流和应用检测、门控、QoS和基于流的计费控制等功能等。例如,在5G中,所述策略控制功能网元可以是PCF(policy control function)网元,例如图1所示,在未来通信,如6G中,所述策略控制功能网元仍可以是PCF网元,或有其它的名称,本申请不做限定。当所述策略控制功能网元是PCF网元,所述PCF网元可以提供Npcf服务。The policy control function network element can be used to be responsible for policy control decision-making, to provide functions such as service data flow and application detection, gating control, QoS, and flow-based charging control. For example, in 5G, the policy control function network element may be a PCF (policy control function) network element. For example, as shown in Figure 1, in future communications, such as 6G, the policy control function network element may still be a PCF network. Yuan, or other names, this application is not limited. When the policy control function network element is a PCF network element, the PCF network element may provide Npcf service.
所述应用功能网元,主要功能是与第三代合作伙伴计划(the 3rd generation partnership project,3GPP)核心网交互来提供服务,来影响业务流路由、接入网能力开放、策略控制等。例如,在5G中,所述应用功能网元可以是AF(application function)网元,例如图1所示,在未来通信,如6G中,所述应用功能网元仍可以是AF网元,或有其它的名称,本申请不做限定。当所述应用功能网元是AF网元时,所述AF网元可以提供Naf服务。The main function of the application function network element is to interact with the 3rd generation partnership project (the 3rd generation partnership project, 3GPP) core network to provide services to affect service flow routing, access network capability opening, policy control, etc. For example, in 5G, the application function network element may be an AF (application function) network element. For example, as shown in FIG. 1, in future communications, such as 6G, the application function network element may still be an AF network element, or There are other names, and this application is not limited. When the application function network element is an AF network element, the AF network element may provide Naf services.
所述数据管理网元,可用于管理所述终端设备的签约数据、与所述终端设备相关的注册信息等。例如,在5G中,所述数据管理网元可以是统一数据管理网元(unified data management,UDM),例如图1所示,在未来通信,如6G中,所述数据管理网元仍可以是UDM网元,或有其它的名称,本申请不做限定。当所述数据管理网元是UDM网元时, 所述UDM网元可以提供Nudm服务。The data management network element may be used to manage subscription data of the terminal device, registration information related to the terminal device, and the like. For example, in 5G, the data management network element may be a unified data management network element (unified data management, UDM). For example, as shown in FIG. 1, in future communications, such as 6G, the data management network element may still be UDM network elements, or other names, are not limited in this application. When the data management network element is a UDM network element, the UDM network element may provide Nudm services.
所述网络开放功能网元,可用于使3GPP能够安全地向第三方的AF(例如,业务能力服务器(Services Capability Server,SCS)、应用服务器(Application Server,AS)等)提供网络业务能力等。例如,在5G中,所述网络开放功能网元可以是NEF(network exposure function)网元,例如图1所示,在未来通信,如6G中,所述网络开放功能网元仍可以是NEF网元,或有其它的名称,本申请不做限定。当所述网络开放功能网元是NEF时,所述NEF可以向其他网络功能网元提供Nnef服务。The network open function network element can be used to enable 3GPP to safely provide network service capabilities to third-party AF (for example, Service Capability Server (SCS), Application Server (AS), etc.). For example, in 5G, the network opening function network element may be a NEF (network exposure function) network element. For example, as shown in Figure 1, in future communications, such as 6G, the network opening function network element may still be a NEF network. Yuan, or other names, this application is not limited. When the network opening function network element is NEF, the NEF may provide Nnef services to other network function network elements.
所述网络存储功能网元,可用于网络功能实体以及其提供服务的描述信息,以及支持服务发现,网元实体发现等。例如,在5G中,所述网络存储功能网元可以是NRF(network repository function),例如图1所示,在未来通信,如6G中,所述仍可以是NRF网元,或有其它的名称,本申请不做限定。当所述网络存储功能网元是NRF网元时,所述NRF网元可以提供Nnrf服务。The network storage function network element can be used for network function entities and description information of the services they provide, and support service discovery, network element entity discovery, etc. For example, in 5G, the network storage function network element may be NRF (network repository function). For example, as shown in Figure 1, in future communications, such as 6G, the network element may still be NRF network element or have other names. , This application is not limited. When the network storage function network element is an NRF network element, the NRF network element may provide Nnrf services.
所述用户面功能网元,可用于转发终端设备的用户面数据。主要功能是数据包路由和转发、移动性锚点、上行分类器来支持路由业务流到数据网络、分支点来支持多归属分组数据单元(Packet Data Unit,PDU)会话等。例如,在5G中,所述用户面功能网元可以是UPF(user plane function)网元,例如图1所示;在未来通信,如6G中,所述用户面功能网元仍可以是UPF网元,或有其它的名称,本申请不做限定。The user plane function network element can be used to forward user plane data of the terminal device. The main functions are data packet routing and forwarding, mobility anchors, and uplink classifiers to support routing traffic to the data network, branch points to support multi-homing packet data unit (PDU) sessions, etc. For example, in 5G, the user plane function network element may be a UPF (user plane function) network element, as shown in Figure 1, for example; in future communications, such as 6G, the user plane function network element may still be a UPF network element. Yuan, or other names, this application is not limited.
核心网中的以上各个网元也可以称为功能实体,既可以是在专用硬件上实现的网络元件,也可以是在专用硬件上运行的软件实例,或者是在适当平台上虚拟化功能的实例,例如,上述虚拟化平台可以为云平台。The above network elements in the core network can also be called functional entities. They can be network elements implemented on dedicated hardware, software instances running on dedicated hardware, or instances of virtualized functions on an appropriate platform. For example, the aforementioned virtualization platform may be a cloud platform.
需要说明的是,图1所示的通信系统的架构中不限于仅包含图中所示的网元,还可以包含其它未在图中表示的设备,具体本申请在此处不再一一列举。It should be noted that the architecture of the communication system shown in FIG. 1 is not limited to only include the network elements shown in the figure, and may also include other devices not shown in the figure. The specifics of this application will not be listed here. .
需要说明的是,本申请实施例并不限定核心网中各个网元的分布形式,图1所示的分布形式只是示例性的,本申请不作限定。It should be noted that the embodiment of the present application does not limit the distribution form of each network element in the core network, and the distribution form shown in FIG. 1 is only exemplary, and this application does not limit it.
为方便说明,本申请后续均以图1所示的网元为例进行说明,并将XX网元直接简称为XX。应理解,本申请中所有网元的名称仅仅作为示例,在未来通信中还可以称为其它名称,或者在未来通信中本申请涉及的网元还可以通过其它具有相同功能的实体或者设备等来替代,本申请对此均不作限定。这里做统一说明,后续不再赘述。For the convenience of description, the following description of this application will take the network element shown in FIG. 1 as an example, and the XX network element will be directly referred to as XX. It should be understood that the names of all network elements in this application are merely examples, and may also be referred to as other names in future communications, or the network elements involved in this application may also be used by other entities or devices with the same functions in future communications. Instead, this application does not limit this. Here is a unified explanation, and will not be repeated in the following.
需要说明的是,图1所示的通信系统并不构成本申请实施例能够适用的通信系统的限定。图1所示的通信系统架构为5G系统架构,可选的,本申请实施例的方法还适用于未来的各种通信系统,例如6G或者其他通信网络等。It should be noted that the communication system shown in FIG. 1 does not constitute a limitation of the communication system applicable to the embodiments of the present application. The communication system architecture shown in FIG. 1 is a 5G system architecture. Optionally, the method in the embodiment of the present application is also applicable to various future communication systems, such as 6G or other communication networks.
本申请实施例提供的一种通信方法,适用于如图1所示的通信系统。参阅图2所示,该方法的具体流程可以包括:The communication method provided by the embodiment of the present application is applicable to the communication system shown in FIG. 1. As shown in Figure 2, the specific process of the method may include:
步骤201:第一网元确定第二网元处于过载状态后,判断是否需要重选服务网元,若是,则执行步骤202,否则执行步骤203;所述第二网元是当前为所述第一网元提供服务的服务网元。Step 201: After the first network element determines that the second network element is in an overload state, it determines whether it is necessary to reselect the serving network element. If yes, go to step 202, otherwise go to step 203; the second network element is currently the first A service network element that provides services.
在一种可选的实施方式中,所述第一网元确定所述第二网元处于过载状态,可以分为以下三种情况:In an optional implementation manner, the first network element determines that the second network element is in an overload state, which can be classified into the following three situations:
情况a1:所述第一网元向所述第二网元发送服务请求消息后,从所述第二网元接收过载指示消息,所述过载指示消息用于指示所述第二网元当前处于过载状态。Case a1: After the first network element sends a service request message to the second network element, it receives an overload indication message from the second network element, where the overload indication message is used to indicate that the second network element is currently Overload state.
示例性的,所述第二网元可以在接收到所述第一网元的服务请求消息之后向所述第一网元发送拒绝消息,所述拒绝消息中包括所述过载指示消息。Exemplarily, the second network element may send a rejection message to the first network element after receiving the service request message of the first network element, where the rejection message includes the overload indication message.
情况a2:所述第一网元获取所述第二网元的配置文件,所述第一网元根据所述第二网元的配置文件确定所述第二网元处于过载状态。Case a2: The first network element obtains the configuration file of the second network element, and the first network element determines that the second network element is in an overload state according to the configuration file of the second network element.
一种示例,所述第一网元可以从网络存储功能网元获取所述第二网元的配置信息,当所述第一网元识别到所述第二网元的配置文件中的所述第二网元的状态显示为过载状态时,即确定所述第二网元处于过载状态。In an example, the first network element may obtain the configuration information of the second network element from a network storage function network element, and when the first network element recognizes the configuration file of the second network element When the state of the second network element is displayed as the overload state, it is determined that the second network element is in the overload state.
情况a3:所述第一网元从网络存储功能网元获取所述第二网元的配置文件失败时,所述第一网元确定所述第二网元处于过载状态。Case a3: When the first network element fails to obtain the configuration file of the second network element from the network storage function network element, the first network element determines that the second network element is in an overload state.
具体的,当所述第一网元向所述网络存储功能网元请求所述第二网元的配置文件时,所述网络存储功能网元识别到所述第二网元的配置文件中的所述第二网元的状态显示为过载状态时,就会拒绝向所述第一网元发送所述第二网元的配置文件,也即所述第一网元获取所述第二网元的配置文件失败。Specifically, when the first network element requests the configuration file of the second network element from the network storage function network element, the network storage function network element recognizes that the configuration file of the second network element When the status of the second network element is displayed as an overload state, it will refuse to send the configuration file of the second network element to the first network element, that is, the first network element obtains the second network element The configuration file failed.
需要说明的是,在上述情况a2和情况a3中,所述第二网元的配置文件中的所述第二网元的状态显示为过载状态,是因为在所述第二网元确定自身处于过载状态后,向所述网络存储功能请求更新所述第二网元的配置文件,即请求所述网络存储功能网元将所述第二网元的配置文件中所述第二网元的状态更新为过载状态。It should be noted that in the above cases a2 and a3, the status of the second network element in the configuration file of the second network element is displayed as the overload state because the second network element determines that it is in After the overload state, request the network storage function to update the configuration file of the second network element, that is, request the network storage function network element to update the status of the second network element in the configuration file of the second network element Update to overload status.
在一种可选的实施方式中,所述第一网元判断是否需要重选服务网元时,具体方法可以为:所述第一网元获取第一指示信息,所述第一指示信息用于指示所述第二网元是否支持重选服务网元。当所述第一指示信息指示所述第二网元支持重选服务网元时,则所述第一网元确定需要重选服务网元;当所述第一指示信息指示所述第二网元不支持重选服务网元时,则所述第一网元确定不需要重选服务网元。In an optional implementation manner, when the first network element determines whether to reselect a serving network element, the specific method may be: the first network element obtains first indication information, and the first indication information is used At indicating whether the second network element supports reselection of a serving network element. When the first indication information indicates that the second network element supports reselection of a serving network element, the first network element determines that it needs to reselect a serving network element; when the first indication information indicates that the second network element When the element does not support the reselection of the serving network element, the first network element determines that there is no need to reselect the serving network element.
示例性的,所述第一网元获取所述第一指示信息的方式可以有如下三种:Exemplarily, the first network element may obtain the first indication information in the following three manners:
方式b1:所述第一网元向所述第二网元发送服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括所述第一指示信息。Manner b1: After the first network element sends a service request message to the second network element, it receives a rejection message from the second network element, where the rejection message includes the first indication information.
在这种方式中,当上述a1的情况同时发生的情况下,所述第一指示信息还可以包含在所述过载指示消息中。In this manner, when the conditions of a1 above occur simultaneously, the first indication information may also be included in the overload indication message.
方式b2:所述第一网元从所述第二网元接收第一消息,所述第一消息中包括所述第一指示信息。Manner b2: The first network element receives a first message from the second network element, and the first message includes the first indication information.
在这种方式中,所述第一消息可以是在第一网元向第二网元发送服务请求之前由第二网元发送给第一网元的。In this manner, the first message may be sent by the second network element to the first network element before the first network element sends the service request to the second network element.
示例性的,当上述a1情况下,所述第一消息可以是在所述过载指示消息之前发送的。Exemplarily, in the case of a1, the first message may be sent before the overload indication message.
方式b3:所述第一网元获取所述第二网元的配置文件,所述第二网元的配置文件中包括所述第一指示信息。Manner b3: The first network element obtains the configuration file of the second network element, and the configuration file of the second network element includes the first indication information.
在一种具体的实现方式中,所述第一指示信息可以为所述第二网元所在的集合的标识。In a specific implementation manner, the first indication information may be an identifier of the set where the second network element is located.
在另一种可选的实施方式中,可以预先协议规定好,当所述第二网元过载时,所述第一网元是否需要重选服务网元,基于协议规定所述第一网元判断是否需要重选服务网元。In another optional implementation manner, it may be stipulated in advance through an agreement that when the second network element is overloaded, whether the first network element needs to reselect a serving network element, and the first network element is stipulated based on the agreement Determine whether to reselect the service network element.
应理解,为所述第一网元服务的所述第二网元等网元均可以认为是服务网元。It should be understood that all network elements such as the second network element serving the first network element may be regarded as serving network elements.
在具体实施时,上述涉及的所述第一网元在向所述第二网元发送服务请求时,均根据所述第二网元对应的资源标志符向所述第二网元发送所述服务请求。具体的,可能分为以 下两种情况:In specific implementation, when the first network element mentioned above sends a service request to the second network element, it all sends the second network element according to the resource identifier corresponding to the second network element. Request for service. Specifically, it may be divided into the following two situations:
情况c1:所述第一网元已经在所述第二网元上创建了用于服务的资源时,所述第二网元对应的资源标志符可以是该资源的统一资源标志符(resource universal resource identifier,resource URI)。Case c1: When the first network element has created a resource for service on the second network element, the resource identifier corresponding to the second network element may be the resource universal identifier (resource universal). resource identifier, resource URI).
在此种情况中,所述第二网元对应的资源标志符是由所述第二网元发送给所述第一网元的。In this case, the resource identifier corresponding to the second network element is sent by the second network element to the first network element.
情况c2:所述第一网元并没有在所述第二网元上创建用于服务资源时,但是所述第一网元已经获取到了所述第二网元的信息,例如可以是所述第二网元的标识信息。这样,所述第二网元对应的资源标志符可以是所述第一网元根据所述第二网元的信息生成的。例如,所述第一网元已经获得了所述第二网元的标识时,所述第一网元可根据所述第二网元的标识获得该所述第二网元的配置文件,并从所述第二网元的配置文件中获得所述第二网元的地址信息,从而生成所述第二网元对应的资源标志符(resource URI)。Case c2: When the first network element has not created service resources on the second network element, but the first network element has already obtained the information of the second network element, for example, it may be the Identification information of the second network element. In this way, the resource identifier corresponding to the second network element may be generated by the first network element according to the information of the second network element. For example, when the first network element has obtained the identifier of the second network element, the first network element may obtain the configuration file of the second network element according to the identifier of the second network element, and Obtain the address information of the second network element from the configuration file of the second network element, so as to generate a resource URI corresponding to the second network element.
上述情况c2中,一种具体的实现方式中,当所述第一网元是SCP时,核心网中的控制面网元将所述第二网元的标识发送给所述SCP,由所述SCP获取所述第二网元的配置文件,以便获得所述第二网元的地址信息,从而由SCP生成Resource URI。In the above case c2, in a specific implementation manner, when the first network element is an SCP, the control plane network element in the core network sends the identifier of the second network element to the SCP, and the The SCP obtains the configuration file of the second network element, so as to obtain the address information of the second network element, so that the SCP generates a Resource URI.
上述情况c2中,结合上述情况a2或情况a3,所述第一网元可确定所述第二网元是否处于过载状态,结合上述情况b2或情况b3,所述第一网元可判断是否需要重选服务网元。In case c2 above, in combination with case a2 or case a3, the first network element can determine whether the second network element is in an overload state, and in combination with case b2 or case b3, the first network element can determine whether it needs Reselect the service network element.
步骤202:当所述第一网元确定需要重选服务网元时,所述第一网元确定第三网元,并向所述第三网元发送服务请求消息。Step 202: When the first network element determines that a service network element needs to be reselected, the first network element determines a third network element, and sends a service request message to the third network element.
具体的,当所述第一网元通过上述步骤201中的方法确定需要重选服务网元的情况下,所述第一网元确定所述第三网元的方法可以至少包括以下四种:Specifically, when the first network element determines that the serving network element needs to be reselected through the method in step 201, the method for the first network element to determine the third network element may include at least the following four:
方法d1:所述第一网元向所述第二网元发送所述服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括所述第三网元的标识信息;所述第一网元根据所述第三网元的标识信息确定所述第三网元。Method d1: After the first network element sends the service request message to the second network element, receiving a rejection message from the second network element, where the rejection message includes the identification information of the third network element ; The first network element determines the third network element according to the identification information of the third network element.
方法d2:所述第一网元根据所述第二网元所在的网元集合的标识,从网络存储功能网元中获取所述网元集合中处于未过载状态的至少一个待选网元;所述第一网元在所述至少一个待选网元中确定所述第三网元。Method d2: The first network element obtains at least one candidate network element in the non-overloaded state in the network element set from the network storage function network element according to the identifier of the network element set where the second network element is located; The first network element determines the third network element among the at least one candidate network element.
具体的,所述第一网元将所述第二网元所在的网元集合的标识发送给所述网络存储功能网元后,所述网络存储功能网元根据所述网元集合中包括的各个网元的配置文件,选出处于未过载状态的至少一个待选网元,所述第一网元可以在所述至少一个待选网元中选择一个网元作为所述第三网元。Specifically, after the first network element sends the identifier of the network element set where the second network element is located to the network storage function network element, the network storage function network element is based on the information included in the network element set The configuration file of each network element selects at least one candidate network element in a non-overloaded state, and the first network element may select one network element from the at least one candidate network element as the third network element.
当然,所述第一网元可以随机或根据其他预设规则在所述至少一个待选网元中选择一个网元作为所述第三网元。Of course, the first network element may select one network element from the at least one candidate network element as the third network element randomly or according to other preset rules.
方法d3:所述第一网元向所述网络存储功能发送所述网元集合的标识,并从所述网络存储功能接收所述网元集合中所有网元的配置文件;所述第一网元根据所述网元集合中所有网元的配置信息,确定处于未过载状态的所述第三网元。Method d3: The first network element sends an identifier of the network element set to the network storage function, and receives configuration files of all network elements in the network element set from the network storage function; the first network The element determines the third network element in a non-overloaded state according to the configuration information of all network elements in the network element set.
在这种方法中,所述网络存储功能网元将所有网元的配置文件发送给所述第一网元后,所述第一网元根据每个网元的配置文件中的网元状态筛选出至少一个处于未过载状态的网元,然后在至少一个处于未过载状态的网元中选择一个网元作为所述第三网元;所述第一网元可以随机或根据预设规则在筛选出来的处于未过载状态的网元选择一个网元作为 所述第三网元。当然还可能有其它方法,本申请不再一一列举。In this method, after the network storage function network element sends the configuration files of all network elements to the first network element, the first network element screens according to the network element status in the configuration file of each network element At least one network element in the non-overloaded state is selected, and then one network element is selected as the third network element among the at least one network element in the non-overloaded state; the first network element can be selected randomly or according to preset rules The coming out network element in the non-overloaded state selects one network element as the third network element. Of course, there may be other methods, and this application will not list them all.
方法d4:当所述网元集合中所有网元均处于过载状态时,所述第一网元在与所述第二网元功能相同的至少一个网元确定所述第三网元。Method d4: When all network elements in the network element set are in an overload state, the first network element determines the third network element in at least one network element that has the same function as the second network element.
一种可选的实施方式中,在上述方法d2和方法d3中,所述第一网元可以是在所述第二网元过载之前从所述第二网元,获得的所述第二网元所在的网元集合的标识。In an optional implementation manner, in the foregoing method d2 and method d3, the first network element may be the second network element obtained from the second network element before the second network element is overloaded. The identifier of the network element collection where the element is located.
在一种可选的实施方式中,所述第一网元向所述第三网元发送所述服务请求消息,具体方法可以为:所述第一网元生成所述第三网元对应的资源标志符;所述第一网元根据所述第三网元对应的资源标志符向所述第三网元发送所述服务请求消息。In an optional implementation manner, the first network element sends the service request message to the third network element, and the specific method may be: the first network element generates the service request message corresponding to the third network element Resource identifier; the first network element sends the service request message to the third network element according to the resource identifier corresponding to the third network element.
示例性的,所述第一网元生成所述第三网元对应的标志符,具体方法可以为:当所述第三网元包含于所述第二网元所在的网元集合中时,所述第一网元根据所述第二网元对应的资源标志符和所述第三网元的标识,生成所述第三网元对应的资源标志符。其中,所述第三网元的标识可以为所述第三网元的因特网协议地址(internet protocol,IP)地址或者全限定域名(fully qualified domain Name,FQDN)。Exemplarily, the first network element generates the identifier corresponding to the third network element, and the specific method may be: when the third network element is included in the network element set where the second network element is located, The first network element generates the resource identifier corresponding to the third network element according to the resource identifier corresponding to the second network element and the identifier of the third network element. The identifier of the third network element may be an Internet Protocol (IP) address or a fully qualified domain name (FQDN) of the third network element.
例如,所述第一网元根据所述第二网元对应的资源标志符和所述第三网元的标识生成所述第三网元的资源标识符时,所述第一网元可以将源resource URI中的授权(authority)字段替换为所述第三网元的地址。For example, when the first network element generates the resource identifier of the third network element according to the resource identifier corresponding to the second network element and the identifier of the third network element, the first network element may The authority field in the source resource URI is replaced with the address of the third network element.
又例如,当所述第三网元不在所述第二网元所在的网元集合中时,所述第一网元所生成的所述第三网元对应的resource URI不指向具体的资源。例如,以所述第二网元和所述第三网元均为SMF为例,所述第二网元对应的resource URI的格式可以如下:{apiRoot}/nsmf-pdusession/v1/sm-contexts/{smContextRef}/<operation>,该Resource URI中的smContextRef是与资源相关的描述符。所述第一网元生成的所述第三网元对应的resource URI中不包括该描述符,则所述第三网元对应的resource URI可采用如下格式:{apiRoot}/nsmf-pdusession/v1/sm-contexts/<operation>,该resource URI指向一个会话上下文集合,不指向具体一个会话资源。其中的operation是可选的,用于指示所述第三网元进行相应的操作。For another example, when the third network element is not in the network element set where the second network element is located, the resource URI corresponding to the third network element generated by the first network element does not point to a specific resource. For example, taking the second network element and the third network element as SMF as an example, the format of the resource URI corresponding to the second network element may be as follows: {apiRoot}/nsmf-pdusession/v1/sm-contexts /{smContextRef}/<operation>, the smContextRef in the Resource URI is a resource-related descriptor. If the resource URI corresponding to the third network element generated by the first network element does not include this descriptor, the resource URI corresponding to the third network element may adopt the following format: {apiRoot}/nsmf-pdusession/v1 /sm-contexts/<operation>, the resource URI points to a set of session contexts, not to a specific session resource. The operation is optional and is used to instruct the third network element to perform corresponding operations.
在一种可选的实施方式中,所述第一网元向所述第三网元发送的所述服务请求消息中包括所述第二网元对应的资源标志符或者所述第二网元的标识。这样所述第三网元后续可以准确获得服务的上下文。In an optional implementation manner, the service request message sent by the first network element to the third network element includes a resource identifier corresponding to the second network element or the second network element Logo. In this way, the third network element can subsequently accurately obtain the service context.
步骤203:当所述第一网元确定不需要重选服务网元时,所述第一网元降低向所述第二网元发送所述服务请求消息的速率。Step 203: When the first network element determines that there is no need to reselect a serving network element, the first network element reduces the rate of sending the service request message to the second network element.
在一种可选的实施方式中,所述第一网元降低向所述第二网元发送所述服务请求消息的速率,具体方法可以为:所述第一网元确定所述第一网元向所述第二网元发送所述服务请求消息时降低后的速率;所述第一网元以所述降低后的速率向所述第二网元发送所述服务请求消息。In an optional implementation manner, the first network element reduces the rate of sending the service request message to the second network element. The specific method may be: the first network element determines that the first network element The reduced rate when the element sends the service request message to the second network element; the first network element sends the service request message to the second network element at the reduced rate.
示例性的,所述第一网元确定所述第一网元向所述第二网元发送所述服务请求消息时降低后的速率,可以包括以下两种方法:Exemplarily, the first network element determining the reduced rate when the first network element sends the service request message to the second network element may include the following two methods:
方法e1:所述第一网元向所述第二网元发送所述服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括第二指示信息,所述第二指示信息用于指示所述降低后的速率;所述第一网元根据所述第二指示信息确定所述降低后的速率。Method e1: After the first network element sends the service request message to the second network element, it receives a rejection message from the second network element, where the rejection message includes second indication information, and the second network element The indication information is used to indicate the reduced rate; the first network element determines the reduced rate according to the second indication information.
其中,所述第二指示信息指示所述降低后的速率时,所述第二指示信息可以直接是所 述降低后的速率,或者所述第二指示信息是降速辅助参数,例如降速振幅等等。Wherein, when the second indication information indicates the reduced speed, the second indication information may directly be the reduced speed, or the second indication information may be a speed reduction auxiliary parameter, such as speed reduction amplitude and many more.
当所述第二指示信息是降速辅助参数时,所述第一网元根据所述降速辅助参数确定所述降低后的速率。When the second indication information is a speed reduction auxiliary parameter, the first network element determines the reduced speed according to the speed reduction auxiliary parameter.
方法e2:所述第一网元获取所述第二网元的配置文件,所述配置文件中包括指示所述第二网元接收服务请求消息时所述降低后的速率的指示信息;所述第一网元根据指示所述降低后的速率的指示信息确定所述降低后的速率。Method e2: The first network element obtains a configuration file of the second network element, where the configuration file includes indication information indicating the reduced rate when the second network element receives a service request message; The first network element determines the reduced rate according to the indication information indicating the reduced rate.
其中,所述指示所述降低后的速率的指示信息可以为所述降速辅助参数。Wherein, the indication information indicating the reduced speed may be the speed reduction assistance parameter.
示例性的,所述第二网元过载后,向网络存储功能网元请求更新所述第二网元的配置文件时,还可以将所述降速辅助参数注册到所述配置文件中。Exemplarily, after the second network element is overloaded, when requesting the network storage function network element to update the configuration file of the second network element, the speed reduction auxiliary parameter may also be registered in the configuration file.
采用本申请实施例提供的通信方法,第一网元确定第二网元处于过载状态后,判断是否需要重选服务网元,当所述第一网元确定需要重选服务网元时,所述第一网元确定第三网元,并向所述第三网元发送服务请求消息;或者,当所述第一网元确定不需要重选服务网元时,所述第一网元降低向所述第二网元发送所述服务请求消息的速率。通过上述方法,所述第一网元可以根据实际情况灵活重选服务网元,从而提升业务性能,提高业务体验。Using the communication method provided in the embodiment of the present application, after the first network element determines that the second network element is in an overload state, it determines whether it is necessary to reselect the serving network element. When the first network element determines that the service network element needs to be reselected, The first network element determines a third network element, and sends a service request message to the third network element; or, when the first network element determines that there is no need to reselect a serving network element, the first network element reduces A rate at which the service request message is sent to the second network element. Through the above method, the first network element can flexibly reselect the service network element according to actual conditions, thereby improving service performance and improving service experience.
基于上述实施例,本申请还提供了一种通信方法,该方法适用于图1所示的通信系统,实现了网元的状态更新,以使该网元根据实际情况为其他网元提供服务。参阅图3所示,该方法的具体流程可以包括:Based on the above-mentioned embodiments, the present application also provides a communication method, which is applicable to the communication system shown in FIG. 1 and realizes the status update of the network element, so that the network element provides services for other network elements according to actual conditions. Referring to Figure 3, the specific process of the method may include:
步骤301:第二网元确定自身处于过载状态。Step 301: The second network element determines that it is in an overload state.
在一种可选的实施方式中,所述第二网元确定自身处于过载状态,具体方法可以为:所述第二网元确定所述第二网元当前负荷大于或者等于负荷阈值时,所述第二网元确定自身处于过载状态。In an optional implementation manner, the second network element determines that it is in an overload state. The specific method may be: when the second network element determines that the current load of the second network element is greater than or equal to a load threshold, The second network element determines that it is in an overload state.
步骤302:所述第二网元向网络存储功能网元发送第一更新请求消息,所述第一更新请求消息用于指示所述网络存储功能网元将所述第二网元的状态更新为过载状态。Step 302: The second network element sends a first update request message to a network storage function network element, where the first update request message is used to instruct the network storage function network element to update the status of the second network element to Overload state.
在一种可选的实施方式中,在所述第二网元处于过载状态时,当所述第二网元从第一网元接收服务请求消息后,向所述第一网元发送过载指示消息,所述过载指示消息用于指示所述第二网元当前处于过载状态。In an optional implementation manner, when the second network element is in an overload state, after the second network element receives a service request message from the first network element, it sends an overload indication to the first network element Message, the overload indication message is used to indicate that the second network element is currently in an overload state.
在一种可选的实施方式中,所述过载指示消息中可以包括第一指示信息,所述第一指示信息用于指示所述第二网元支持重选服务网元。In an optional implementation manner, the overload indication message may include first indication information, and the first indication information is used to indicate that the second network element supports reselection of a serving network element.
在一种可选的实施方式中,所述过载指示消息中可以包括降速辅助参数,所述降速辅助参数用于指示第一网元降低给第二网元发送服务请求消息的速率。In an optional implementation manner, the overload indication message may include a speed reduction assistance parameter, and the speed reduction assistance parameter is used to instruct the first network element to reduce the rate at which the service request message is sent to the second network element.
在一种可选的实施方式中,当所述第二网元处于过载状态时,所述第二网元从第一网元接收服务请求消息后,向所述第一网元发送拒绝消息,所述拒绝消息中包含所述第一指示信息。In an optional implementation manner, when the second network element is in an overload state, the second network element sends a rejection message to the first network element after receiving a service request message from the first network element, The rejection message includes the first indication information.
在一种可选的实施方式中,所述过载指示消息是所述第二网元发送拒绝消息的时候,将所述过载指示消息包含在所述拒绝消息中一起发送的。In an optional implementation manner, the overload indication message is sent by including the overload indication message in the rejection message when the second network element sends a rejection message.
在一种可选的实施方式中,当所述拒绝消息中包含所述第一指示信息,或者当所述拒绝消息中的过载指示消息总中包含所述第一指示信息时,所述拒绝消息中还可以包括第三网元的标识,所述第三网元为所述第一网元需要重选的服务网元,以使所述第一网元确定后续进行通信的服务网元。In an optional implementation manner, when the rejection message contains the first indication information, or when the overload indication message in the rejection message always contains the first indication information, the rejection message The identifier of a third network element may also be included in the third network element, and the third network element is a serving network element that needs to be reselected by the first network element, so that the first network element can determine a serving network element for subsequent communication.
在一种可选的实施方式中,所述拒绝消息中还可以包括第二指示信息,所述第二指示 信息用于指示所述第一网元向所述第二网元发送服务请求时降低后的速率。这样可以使所述第一网元根据所述第二指示信息确定所述降低后的速率,以使在所述第二网元不支持重选服务网元时,所述第一网元以所述降低后的速率向所述第二网元发送服务请求。In an optional implementation manner, the rejection message may further include second indication information, and the second indication information is used to instruct the first network element to send a service request to the second network element to reduce After the rate. In this way, the first network element can determine the reduced rate according to the second indication information, so that when the second network element does not support reselection of the serving network element, the first network element uses the The reduced rate sends a service request to the second network element.
在一种可选的实施方式中,所述第一更新请求消息中包括指示所述第二网元接收服务请求消息时降低后的速率的指示信息。这样在后续所述第一网元获取到所述指示信息后,根据所述指示信息确定所述降低后的速率,以使在所述第二网元不支持重选服务网元时,所述第一网元以所述降低后的速率向所述第二网元发送服务请求。In an optional implementation manner, the first update request message includes indication information indicating a reduced rate when the second network element receives the service request message. In this way, after the first network element subsequently obtains the indication information, the reduced rate is determined according to the indication information, so that when the second network element does not support reselection of the serving network element, the The first network element sends a service request to the second network element at the reduced rate.
示例性的,所述第二指示信息和所述指示所述第二网元接收服务请求消息时降低后的速率的指示信息可以是所述降低后的速率,或者降速辅助参数,例如降速幅度等等。Exemplarily, the second indication information and the indication information indicating the reduced rate when the second network element receives the service request message may be the reduced rate, or a speed reduction auxiliary parameter, such as speed reduction Amplitude and so on.
在一种可选的实施方式中,所述网络存储功能网元接收第四网元的订阅请求,所述订阅请求用于订阅所述第二网元的状态。当所述第二网元的状态从不过载状态变为过载状态时,或者从过载状态变为不过载状态时,所述网络存储功能网元给所述第四网元发送通知消息,以便将所述第二网元的状态发送给所述第四网元。其中,需要说明的是,所述第四网元也可以是所述第一网元。In an optional implementation manner, the network storage function network element receives a subscription request of a fourth network element, and the subscription request is used to subscribe to the state of the second network element. When the state of the second network element changes from an overloaded state to an overloaded state, or changes from an overloaded state to an overloaded state, the network storage function network element sends a notification message to the fourth network element to change The status of the second network element is sent to the fourth network element. Wherein, it should be noted that the fourth network element may also be the first network element.
步骤303:所述网络存储功能网元根据所述第一更新请求消息,将所述第二网元的配置文件中所述第二网元的状态由未过载状态更新为过载状态。Step 303: The network storage function network element updates the state of the second network element in the configuration file of the second network element from a non-overloaded state to an overloaded state according to the first update request message.
在一种可选的实施方式中,所述网络存储功能网元从第一网元接收所述第二网元所在的网元集合的标识后,根据所述网元集合的标识,确定所述网元集合中处于未过载状态的至少一个待选网元,并将所述至少一个待选网元的标识发送给所述第一网元。In an optional implementation manner, after the network storage function network element receives from the first network element the identifier of the network element set where the second network element is located, the network element determines the At least one candidate network element in a non-overloaded state in the network element set, and sending an identifier of the at least one candidate network element to the first network element.
具体的,所述网络存储功能根据所述网元集合中每一个网元的配置文件中的状态,确定出处于未过载状态的至少一个待选网元,这样可以使所述第一网元在所述至少一个待选网元中选择一个网元作为重选的服务网元,也即第三网元。Specifically, the network storage function determines at least one candidate network element in a non-overloaded state according to the status in the configuration file of each network element in the network element set, so that the first network element can be One of the at least one candidate network element is selected as the reselected serving network element, that is, the third network element.
在一种可选的实施方式中,所述网络存储功能网元从第一网元接收所述第二网元所在的网元集合的标识后,根据所述网元集合的标识确定所述网元集合中的所有网元,并将所述所有网元的配置文件发送给所述第一网元。这样,所述第一网元可以根据每个网元的配置文件中的状态,筛选出至少一个处于未过载状态的网元,然后根据在所述至少一个网元中选择一个网元作为所述第三网元。In an optional implementation manner, after the network storage function network element receives from the first network element the identifier of the network element set where the second network element is located, the network element determines the network according to the identifier of the network element set. All the network elements in the element set, and send the configuration files of all the network elements to the first network element. In this way, the first network element can filter out at least one network element in a non-overloaded state according to the status in the configuration file of each network element, and then select one network element among the at least one network element as the The third network element.
在一种可选的实施方式中,在后续过程中,所述第二网元确定自身由过载状态切换为未过载状态时,向所述网络存储功能网元发送第二更新请求消息,所述第二更新请求消息用于指示所述网络存储功能网元将所述第二网元的状态更新为未过载状态,然后所述网络存储功能网元根据所述第二更新请求消息,将所述第二网元的配置文件中所述第二网元的状态由过载状态更新为未过载状态。In an optional implementation manner, in a subsequent process, when the second network element determines that it switches from an overload state to a non-overload state, it sends a second update request message to the network storage function network element, and The second update request message is used to instruct the network storage function network element to update the status of the second network element to a non-overloaded state, and then the network storage function network element updates the network storage function network element according to the second update request message. The state of the second network element in the configuration file of the second network element is updated from an overload state to a non-overload state.
在一种可选的实施方式中,所述第二网元确定自身由过载状态切换为未过载状态,具体方法可以为:所述第二网元确定所述第二网元当前负荷小于负荷阈值时,所述第二网元确定自身由过载状态切换为未过载状态。In an optional implementation manner, the second network element determines that it is switched from the overload state to the non-overload state. The specific method may be: the second network element determines that the current load of the second network element is less than the load threshold When the second network element determines that it is switched from the overload state to the non-overload state.
在一种可选的实施方式中,若所述第四网元向所述网络存储功能网元订阅了所述第二网元的状态,则所述网络存储功能网元在所述第二网元由不过载状态切换为过载状态时,或者由过载状态切换为不过载状态时向所述第四网元发送通知消息,将所述第二网元的状态发送给所述第四网元。In an optional implementation manner, if the fourth network element subscribes to the network storage function network element for the status of the second network element, the network storage function network element is in the second network When the element is switched from the overloaded state to the overloaded state, or when the overloaded state is switched to the overloaded state, a notification message is sent to the fourth network element, and the state of the second network element is sent to the fourth network element.
采用本申请提供的通信方法,第二网元确定自身处于过载状态后,向网络存储功能网 元发送第一更新请求消息,所述第一更新请求消息用于指示所述网络存储功能网元将所述第二网元的状态更新为过载状态。通过该方法,当第二网元过载时,更新其在网络存储功能中的配置文件,以便第一网元可以重选服网元器或降速,当第一网元重选服务网元时既减轻了过载第二网元的负荷,又不会影响第一网元的业务性能。Using the communication method provided in this application, after the second network element determines that it is in an overload state, it sends a first update request message to the network storage function network element, and the first update request message is used to instruct the network storage function network element to The status of the second network element is updated to an overload status. With this method, when the second network element is overloaded, its configuration file in the network storage function is updated, so that the first network element can reselect the serving network element or reduce the speed, when the first network element reselects the serving network element It not only reduces the load of the overloaded second network element, but also does not affect the service performance of the first network element.
基于以上实施例,本申请还提供了一种通信方法,实现了上述实施例中涉及的第一网元重选服务网元后的通信流程。参阅图4所示,该方法的具体流程可以包括:Based on the above embodiment, this application also provides a communication method, which implements the communication process after the first network element involved in the above embodiment reselects the serving network element. Referring to Figure 4, the specific process of the method may include:
步骤401:第三网元从第一网元接收服务请求消息;所述第三网元为所述第一网元重选的服务网元;所述服务请求中包括第二网元对应的资源标志符或所述第二网元的标识中的至少一个。Step 401: The third network element receives a service request message from the first network element; the third network element is the service network element reselected by the first network element; the service request includes resources corresponding to the second network element At least one of the identifier or the identifier of the second network element.
其中,所述第一网元向所述第三网元发送所述服务请求时,需要先生成所述第三网元对应的资源标志符,并根据所述第三网元对应的资源标志符向所述第三网元发送所述服务请求。具体的,所述第三网元的资源标志符的生成方法以及形式可以参见上述图2所示的实施例中步骤202中的相关描述,此处不再重复赘述。Wherein, when the first network element sends the service request to the third network element, a resource identifier corresponding to the third network element needs to be generated first, and the resource identifier corresponding to the third network element Sending the service request to the third network element. Specifically, for the method and form of generating the resource identifier of the third network element, refer to the related description in step 202 in the embodiment shown in FIG. 2, and the details are not repeated here.
步骤402:所述第三网元根据所述第二网元对应的资源标志符或所述第二网元的标识中的至少一个从所述第二网元获取所述业务上下文。Step 402: The third network element obtains the service context from the second network element according to at least one of a resource identifier corresponding to the second network element or an identifier of the second network element.
在一种可选的实施方式中,当所述第三网元和重选之前的第二网元同属于一个网元集合时,所述第三网元可以直接根据资源相关的标识获取资源上下文,例如,当所述第二网元和所述第三网元是SMF网元时,所述资源相关标识可以是smContextRef;或者所述第三网元可以根据所述第二网元的标识和资源相关的标识获取资源上下文。In an optional implementation manner, when the third network element and the second network element before reselection belong to the same network element set, the third network element may directly obtain the resource context according to the resource-related identifier For example, when the second network element and the third network element are SMF network elements, the resource-related identifier may be smContextRef; or the third network element may be based on the identifier of the second network element and The resource-related identifier obtains the resource context.
在另一种可选的实施方式中,当所述第三网元和所述第二网元不在同一网元集合中时,所述第三网元可以根据所述第二网元的资源标志符从所述第二网元中获取所述资源上下文。In another optional implementation manner, when the third network element and the second network element are not in the same network element set, the third network element may be based on the resource identifier of the second network element The character obtains the resource context from the second network element.
其中,所述资源上下文即为所述业务上下文。Wherein, the resource context is the business context.
采用本申请实施例提供的通信方法,在所述第一网元重选服务网元后,所述第三网元可以准确获取到业务上下文,进行后续的与第一网元的通信流程,对所述第一网元提供服务,从而可以缓解第二网元的过载状态,提升第一网元的业务性能,提升第一网元的业务体验。Using the communication method provided by the embodiment of the present application, after the first network element reselects the serving network element, the third network element can accurately obtain the business context, and perform the subsequent communication process with the first network element. The first network element provides services, thereby alleviating the overload state of the second network element, improving the service performance of the first network element, and improving the service experience of the first network element.
以及以上实施例,下面以具体的示例,如图5-7所示的实施例,对本申请实施例提供的通信方法进行详细说明。在以下的示例中,仅以第二网元过载后,第一网元重选第三网元的场景进行说明。在以下的示例中,以所述网络存储功能网元为NRF为例进行说明。In addition to the above embodiments, the following uses specific examples, such as the embodiments shown in FIGS. 5-7, to describe in detail the communication method provided by the embodiments of the present application. In the following example, only a scenario where the first network element reselects the third network element after the second network element is overloaded is described. In the following example, the network storage function network element is NRF as an example.
如图5所示,本申请提供的一种通信方法的示例的具体流程可以包括以下步骤:As shown in FIG. 5, the specific process of an example of a communication method provided by this application may include the following steps:
步骤501:第二网元确定自身处于过载状态。Step 501: The second network element determines that it is in an overload state.
具体的,所述第二网元确定自身处于过载状态相关描述可以参见图3所示的实施例中步骤301的内容,此处不再赘述。Specifically, the description of the second network element determining that it is in an overload state may refer to the content of step 301 in the embodiment shown in FIG. 3, which is not repeated here.
步骤502:所述第二网元向NRF网元发送第一更新请求消息,所述第一更新请求消息用于指示所述NRF网元将所述第二网元的状态更新为过载状态。Step 502: The second network element sends a first update request message to the NRF network element, where the first update request message is used to instruct the NRF network element to update the state of the second network element to an overload state.
具体的,步骤502的相关描述可以参见图3所示的实施例中步骤302的内容,此处不再赘述。Specifically, for the related description of step 502, refer to the content of step 302 in the embodiment shown in FIG. 3, which will not be repeated here.
在一种具体的实现方式中,第一更新请求消息中可携带过载控制信息(overload control information,OCI),当该OCI中的过载降速指示被设定为特定值时表示所述第二网元当前 处于过载状态,例如,当所述过载降速指示被设置为大于0时表示该第二网元当前处于过载状态。In a specific implementation manner, the first update request message may carry overload control information (OCI), and when the overload deceleration indication in the OCI is set to a specific value, it indicates that the second network The element is currently in an overload state. For example, when the overload speed reduction indication is set to be greater than 0, it means that the second network element is currently in an overload state.
可选的,所述OCI还可以用于指示在所述第二网元处于过载状态后所述第一网元向所述第二网元发送服务请求时降低后的速率。Optionally, the OCI may also be used to indicate a reduced rate when the first network element sends a service request to the second network element after the second network element is in an overload state.
可选的,所述OCI中还可以携带第一指示信息。Optionally, the OCI may also carry first indication information.
步骤503:所述NRF网元根据所述第一更新请求消息,将所述第二网元的配置文件中所述第二网元的状态由未过载状态更新为过载状态。Step 503: The NRF network element updates the state of the second network element in the configuration file of the second network element from a non-overloaded state to an overloaded state according to the first update request message.
具体的,步骤503的相关描述可以参见图3所示的实施例中步骤303中的内容,此处不再赘述。Specifically, for the related description of step 503, refer to the content in step 303 in the embodiment shown in FIG. 3, which will not be repeated here.
在一种具体的实现方式中,所述第一更新请求消息用于指示所述NRF更新所述第二网元配置文件中的OCI,相应地,NRF网元保存该OCI。In a specific implementation manner, the first update request message is used to instruct the NRF to update the OCI in the second network element configuration file, and accordingly, the NRF network element saves the OCI.
步骤504:第一网元向所述第二网元发送服务请求消息1。Step 504: The first network element sends a service request message 1 to the second network element.
具体的,所述第一网元向所述第二网元发送所述服务请求消息1的具体方法可以参见上述图2所示的实施例中步骤201中的情况c1和情况c2,此处不再赘述。Specifically, the specific method for the first network element to send the service request message 1 to the second network element may refer to the case c1 and the case c2 in step 201 in the embodiment shown in FIG. 2. Repeat it again.
步骤505:所述第二网元向所述第一网元发送拒绝消息,所述拒绝消息中包括过载指示消息和第一指示信息,所述过载指示消息用于指示所述第二网元当前处于过载状态,所述第一指示信息指示所述第二网元支持重选服务网元。Step 505: The second network element sends a rejection message to the first network element, where the rejection message includes an overload indication message and first indication information, and the overload indication message is used to indicate that the second network element is currently In an overload state, the first indication information indicates that the second network element supports reselection of a serving network element.
可选的,所述第一指示信息可以直接包含在所述过载指示消息中。Optionally, the first indication information may be directly included in the overload indication message.
在一种具体的实现方式中,所述第二网元可以在所述拒绝消息中包括OCI,其中OCI用于指示所述第二网元当前处于过载状态。此时,所述OCI可以理解为所述过载指示消息。In a specific implementation manner, the second network element may include OCI in the rejection message, where the OCI is used to indicate that the second network element is currently in an overload state. At this time, the OCI can be understood as the overload indication message.
可选的,所述OCI还可以用于指示在所述第二网元处于过载状态后所述第一网元向所述第二网元发送服务请求时降低后的速率。Optionally, the OCI may also be used to indicate a reduced rate when the first network element sends a service request to the second network element after the second network element is in an overload state.
可选的,OCI中还可携带第一指示信息。Optionally, the OCI may also carry first indication information.
步骤506:所述第一网元确定第三网元。Step 506: The first network element determines a third network element.
可选的,所述第一网元确定第三网元的具体方法有多种,可以参考图2所示的实施例中步骤202中的方法d1至方法d4四种方法,此处不再详细描述。Optionally, there are multiple specific methods for the first network element to determine the third network element. You can refer to the four methods of method d1 to method d4 in step 202 in the embodiment shown in FIG. 2, which will not be detailed here. description.
步骤507:所述第一网元生成所述第三网元对应的资源标志符。Step 507: The first network element generates a resource identifier corresponding to the third network element.
具体的,所述第三网元生成所述第三网元对应的资源标志符的方法可以参见图2所示的实施例中步骤202中涉及的相关描述,此处不再详细描述。Specifically, for the method for the third network element to generate the resource identifier corresponding to the third network element, reference may be made to the related description involved in step 202 in the embodiment shown in FIG. 2, which will not be described in detail here.
步骤508:所述第一网元根据所述第三网元对应的资源标志符向所述第三网元发送服务请求消息2。所述服务请求消息2中包括第二网元对应的资源标志符或所述第二网元的标识中的至少一个。Step 508: The first network element sends a service request message 2 to the third network element according to the resource identifier corresponding to the third network element. The service request message 2 includes at least one of a resource identifier corresponding to the second network element or an identifier of the second network element.
步骤509:所述第三网元根据所述第二网元对应的标志符或所述第二网元的标识从所述第二网元获取所述业务上下文。Step 509: The third network element obtains the service context from the second network element according to the identifier corresponding to the second network element or the identifier of the second network element.
步骤510:所述第二网元确定自身由过载状态切换为未过载状态。Step 510: The second network element determines that it switches from an overload state to a non-overload state.
具体的,所述第二网元确定自身由过载状态切换为未过载状态,具体方法可以为:所述第二网元确定所述第二网元当前负荷小于负荷阈值时,所述第二网元确定自身由过载状态切换为未过载状态。Specifically, the second network element determines that it is switched from the overload state to the non-overload state. The specific method may be: when the second network element determines that the current load of the second network element is less than the load threshold, the second network element The element determines that it is switched from the overload state to the non-overload state.
步骤511:所述第二网元向所述NRF网元发送第二更新请求消息,所述第二更新请求消息用于指示所述NRF网元将所述第二网元的状态更新为未过载状态。Step 511: The second network element sends a second update request message to the NRF network element, where the second update request message is used to instruct the NRF network element to update the status of the second network element to not overloaded status.
步骤512:所述NRF网元根据所述第二更新请求消息,将所述第二网元的配置文件中所述第二网元的状态由过载状态更新为未过载状态。Step 512: The NRF network element updates the state of the second network element in the configuration file of the second network element from an overload state to a non-overload state according to the second update request message.
需要说明的是图5所示的实施例中仅示出了重选服务网元的过程中重要的关键步骤,通信流程中还可以包括其他步骤,在此不再一一示出。It should be noted that the embodiment shown in FIG. 5 only shows the important key steps in the process of reselecting the serving network element, and the communication flow may also include other steps, which will not be shown here.
如图6所示,本申请提供的另一种通信方法的示例的具体流程可以包括以下步骤:As shown in FIG. 6, the specific process of the example of another communication method provided in this application may include the following steps:
步骤601-步骤603与图5所示的示例中的步骤501-步骤503类似,具体可以相互参见,此处不再一一赘述。Step 601 to step 603 are similar to step 501 to step 503 in the example shown in FIG. 5, and reference may be made to each other for details, and details are not repeated here.
步骤604:第一网元从NRF网元获取第二网元的配置文件。Step 604: The first network element obtains the configuration file of the second network element from the NRF network element.
步骤605:所述第一网元根据所述第二网元的配置文件确定所述第二网元处于过载状态。Step 605: The first network element determines that the second network element is in an overload state according to the configuration file of the second network element.
步骤606-步骤612与图5所示的示例中的步骤506-步骤512类似,具体可以相互参见,此处不再一一赘述。Step 606 to step 612 are similar to step 506 to step 512 in the example shown in FIG. 5, and reference may be made to each other for details, and details are not repeated here.
如图7所示,本申请提供的另一种通信方法的示例的具体流程可以包括以下步骤:As shown in FIG. 7, the specific process of the example of another communication method provided by the present application may include the following steps:
步骤701-步骤703与图5所示的示例中的步骤501-步骤503类似,具体可以相互参见,此处不再一一赘述。Step 701 to step 703 are similar to step 501 to step 503 in the example shown in FIG. 5, and reference may be made to each other for details, and details are not repeated here.
步骤704:第一网元从NRF网元获取第二网元的配置文件失败。Step 704: The first network element fails to obtain the configuration file of the second network element from the NRF network element.
步骤705-步骤711与图5所示的示例中的步骤506-步骤512类似,具体可以相互参见,此处不再一一赘述。Step 705 to step 711 are similar to step 506 to step 512 in the example shown in FIG. 5, and reference may be made to each other for details, and details are not repeated here.
应理解的是,上述图5-图7所示的示例,仅示出了可能的部分通信方法,其中示例中的一些步骤也仅仅是其中的一些可能性,还有其他可能实现的方法,具体可以参见图2-图4所示的实施例中的相关描述,此处不再一一以示例的形式列出。It should be understood that the examples shown in Figs. 5-7 above only show some possible communication methods. Some steps in the examples are only some of the possibilities, and there are other possible implementation methods. Reference may be made to the related descriptions in the embodiments shown in FIGS. 2 to 4, which are not listed here as examples.
需要说明的是,图5-图7所示的示例,仅示出了在第二网元过载后重选服务网元的情况下的通信流程,当然,在不支持重选服务网元的情况下,所述第一网元继续以降低后的速率向第二网元发送服务请求,具体的示例此处不再列举,具体可以描述图2-图4所示的实施例中涉及的相关描述。It should be noted that the examples shown in Figures 5 to 7 only show the communication flow in the case of reselecting the serving network element after the second network element is overloaded. Of course, in the case where the reselecting of the serving network element is not supported Next, the first network element continues to send service requests to the second network element at a reduced rate. Specific examples will not be listed here, and specific descriptions involved in the embodiments shown in Figures 2 to 4 can be described. .
基于与方法实施例同样的发明构思,本申请实施例还提供了一种装置,该装置应用于第一网元。该装置具体可以是第一网元中的处理器,或者芯片或者芯片系统,或者是一个功能模块等。参阅图8所示,该装置800可以包括处理单元801和发送单元802,可选的还可以包括接收单元803。所述接收单元803用于所述装置800接收信息,所述发送单元801用于所述装置800发送信息,所述处理单元802用于对所述装置800的动作进行控制管理。所述处理单元802还可以用于指示上述任意实施例中涉及第一网元的处理过程和/或本申请所描述的技术方案的其他过程。具体的,所述处理单元802可以控制所述接收单元803,以及控制所述发送单元801执行的步骤,具体可以参见上述实施例,重复之处此处不再赘述。Based on the same inventive concept as the method embodiment, the embodiment of the present application also provides a device, which is applied to the first network element. The device may specifically be a processor in the first network element, or a chip or a chip system, or a functional module. Referring to FIG. 8, the apparatus 800 may include a processing unit 801 and a sending unit 802, and optionally may also include a receiving unit 803. The receiving unit 803 is used for the device 800 to receive information, the sending unit 801 is used for the device 800 to send information, and the processing unit 802 is used for controlling and managing the actions of the device 800. The processing unit 802 may also be used to indicate the processing procedure involving the first network element in any of the foregoing embodiments and/or other procedures of the technical solution described in this application. Specifically, the processing unit 802 can control the receiving unit 803 and control the steps performed by the sending unit 801. For details, refer to the foregoing embodiment, and the repetitive parts will not be repeated here.
在硬件实现上,上述处理单元802可以为处理器或者处理电路等;发送单元801可以为发送器或者发送电路等,接收单元803可以为接收器或者接收电路等,发送单元801和接收单元803可以构成收发器。In terms of hardware implementation, the aforementioned processing unit 802 can be a processor or a processing circuit, etc.; the sending unit 801 can be a transmitter or a sending circuit, etc., the receiving unit 803 can be a receiver or a receiving circuit, etc., and the sending unit 801 and the receiving unit 803 can be Form a transceiver.
基于与方法实施例同样的发明构思,本申请实施例还提供了一种装置,该装置应用于第二网元。该装置具体可以是第二网元中的处理器,或者芯片或者芯片系统,或者是一个功能模块等。参阅图9所示,该装置900可以包括处理单元901和发送单元902,可选的 还可以包括接收单元903。所述接收单元903用于所述装置900接收信息,所述发送单元902用于所述装置900发送信息,所述处理单元901用于对所述装置900的动作进行控制管理。所述处理单元901还可以用于指示上述任意实施例中涉及第一网元的处理过程和/或本申请所描述的技术方案的其他过程。具体的,所述处理单元901可以控制所述接收单元903,以及控制所述发送单元902执行的步骤,具体可以参见上述实施例,重复之处此处不再赘述。Based on the same inventive concept as the method embodiment, the embodiment of the present application also provides a device, which is applied to the second network element. The device may specifically be a processor in the second network element, or a chip or a chip system, or a functional module. Referring to FIG. 9, the device 900 may include a processing unit 901 and a sending unit 902, and optionally may also include a receiving unit 903. The receiving unit 903 is used for the device 900 to receive information, the sending unit 902 is used for the device 900 to send information, and the processing unit 901 is used for controlling and managing the actions of the device 900. The processing unit 901 may also be used to indicate the processing procedure involving the first network element in any of the foregoing embodiments and/or other procedures of the technical solution described in this application. Specifically, the processing unit 901 can control the receiving unit 903 and the steps performed by the sending unit 902. For details, refer to the above-mentioned embodiment, and the repetitive parts will not be repeated here.
在硬件实现上,上述处理单元901可以为处理器或者处理电路等;发送单元902可以为发送器或者发送电路等,接收单元903可以为接收器或者接收电路等,发送单元902和接收单元903可以构成收发器。In terms of hardware implementation, the aforementioned processing unit 901 can be a processor or a processing circuit, etc.; the sending unit 902 can be a transmitter or a sending circuit, etc., the receiving unit 903 can be a receiver or a receiving circuit, etc., and the sending unit 902 and the receiving unit 903 can be Form a transceiver.
基于与方法实施例同样的发明构思,本申请实施例还提供了一种装置,该装置应用于网络存储功能网元。该装置具体可以是网络存储功能网元中的处理器,或者芯片或者芯片系统,或者是一个功能模块等。参阅图10所示,该装置1000可以包括接收单元1001和处理单元1002,可选的还可以包括发送单元1003。所述接收单元1001用于所述装置1000接收信息,所述发送单元1003用于所述装置1000发送信息,所述处理单元1002用于对所述装置1000的动作进行控制管理。所述处理单元1002还可以用于指示上述任意实施例中涉及网络存储功能网元(例如NRF)的处理过程和/或本申请所描述的技术方案的其他过程。具体的,所述处理单元1002可以控制所述接收单元1001,以及控制所述发送单元1003执行的步骤,具体可以参见上述实施例,重复之处此处不再赘述。Based on the same inventive concept as the method embodiment, the embodiment of the present application also provides a device, which is applied to a network storage function network element. The device may specifically be a processor in a network storage function network element, or a chip or a chip system, or a functional module. Referring to FIG. 10, the apparatus 1000 may include a receiving unit 1001 and a processing unit 1002, and optionally may also include a sending unit 1003. The receiving unit 1001 is used for the device 1000 to receive information, the sending unit 1003 is used for the device 1000 to send information, and the processing unit 1002 is used for controlling and managing the actions of the device 1000. The processing unit 1002 may also be used to indicate the processing process of a network storage function network element (such as NRF) in any of the foregoing embodiments and/or other processes of the technical solution described in this application. Specifically, the processing unit 1002 can control the receiving unit 1001 and control the steps performed by the sending unit 1003. For details, refer to the above-mentioned embodiment, and the repetition will not be repeated here.
在硬件实现上,上述处理单元1002可以为处理器或者处理电路等;发送单元1003可以为发送器或者发送电路等,接收单元1001可以为接收器或者接收电路等,发送单元1003和接收单元1001可以构成收发器。In terms of hardware implementation, the aforementioned processing unit 1002 can be a processor or a processing circuit, etc.; the sending unit 1003 can be a transmitter or a sending circuit, etc., the receiving unit 1001 can be a receiver or a receiving circuit, etc., and the sending unit 1003 and the receiving unit 1001 can be Form a transceiver.
基于与方法实施例同样的发明构思,本申请实施例还提供了一种装置,该装置应用于第三网元。该装置具体可以是第三网元中的处理器,或者芯片或者芯片系统,或者是一个功能模块等。参阅图11所示,该装置1100可以包括接收单元1101和处理单元1102。所述接收单元1101用于所述装置1100接收信息,所述处理单元1102用于对所述装置1100的动作进行控制管理。所述处理单元1102还可以用于指示上述任意实施例中涉及第三网元的处理过程和/或本申请所描述的技术方案的其他过程。具体的,所述处理单元1102可以控制所述接收单元1101执行的步骤,具体可以参见上述实施例,重复之处此处不再赘述。Based on the same inventive concept as the method embodiment, an embodiment of the present application also provides a device, which is applied to a third network element. The device may specifically be a processor in a third network element, or a chip or a chip system, or a functional module. Referring to FIG. 11, the apparatus 1100 may include a receiving unit 1101 and a processing unit 1102. The receiving unit 1101 is used for the device 1100 to receive information, and the processing unit 1102 is used for controlling and managing the actions of the device 1100. The processing unit 1102 may also be used to indicate the processing procedure involving the third network element in any of the foregoing embodiments and/or other procedures of the technical solution described in this application. Specifically, the processing unit 1102 may control the steps performed by the receiving unit 1101. For details, please refer to the foregoing embodiment, and the repetitions are not repeated here.
在硬件实现上,上述处理单元1102可以为处理器或者处理电路等;接收单元1101可以为接收器或者接收电路等。In terms of hardware implementation, the aforementioned processing unit 1102 may be a processor or a processing circuit, etc.; the receiving unit 1101 may be a receiver or a receiving circuit, etc.
需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。在本申请的实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation. The functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储 器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。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 this application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including a number of instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program code .
基于以上实施例,本申请实施例还提供一种第一网元,用于实现通信方法。参阅图12所示,所述第一网元1200中可以包括收发器1201和处理器1202。可选的,所述第一网元1200中还可以包括存储器1203。其中,所述存储器1203可以设置于所述第一网元1200内部,还可以设置于所述第一网元1200外部。其中,所述处理器1202控制所述收发器1201接收和发送数据,并用于实现图2、图4~图7中所述第一网元所执行的方法。Based on the above embodiments, the embodiments of the present application also provide a first network element for implementing the communication method. Referring to FIG. 12, the first network element 1200 may include a transceiver 1201 and a processor 1202. Optionally, the first network element 1200 may further include a memory 1203. Wherein, the memory 1203 may be provided inside the first network element 1200, and may also be provided outside the first network element 1200. Wherein, the processor 1202 controls the transceiver 1201 to receive and send data, and is used to implement the method executed by the first network element in FIGS. 2 and 4 to 7.
具体的,所述处理器1202可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。所述处理器1202还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。Specifically, the processor 1202 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP. The processor 1202 may further include a hardware chip. The aforementioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The aforementioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (generic array logic, GAL), or any combination thereof.
其中,所述收发器1201、所述处理器1202和所述存储器1203之间相互连接。可选的,所述收发器1201、所述处理器1202和所述存储器1203通过总线1204相互连接;所述总线1204可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图12中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Wherein, the transceiver 1201, the processor 1202, and the memory 1203 are connected to each other. Optionally, the transceiver 1201, the processor 1202, and the memory 1203 are connected to each other through a bus 1204; the bus 1204 may be a Peripheral Component Interconnect (PCI) bus or an extended industry standard Structure (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used to represent in FIG. 12, but it does not mean that there is only one bus or one type of bus.
在一种可选的实施方式中,所述存储器1203,用于存放程序等。具体地,程序可以包括程序代码,该程序代码包括计算机操作指令。所述存储器1203可能包括RAM,也可能还包括非易失性存储器(non-volatile memory),例如一个或多个磁盘存储器。所述处理器1202执行所述存储器1203所存放的应用程序,实现上述功能,从而实现本申请实施例提供的通信方法。In an optional implementation manner, the memory 1203 is used to store programs and the like. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory 1203 may include RAM, or may also include non-volatile memory, such as one or more disk memories. The processor 1202 executes the application program stored in the memory 1203 to implement the above-mentioned functions, thereby implementing the communication method provided in the embodiment of the present application.
示例性的,所述第一网元用于实现图2所示的通信方法时,具体可以包括:Exemplarily, when the first network element is used to implement the communication method shown in FIG. 2, it may specifically include:
所述收发器1201,用于接收和发送数据;The transceiver 1201 is used to receive and send data;
所述处理器1202,用于确定第二网元处于过载状态后,判断是否需要重选服务网元,所述第二网元是当前为所述第一网元提供服务的服务网元;The processor 1202 is configured to determine whether a service network element needs to be reselected after determining that the second network element is in an overload state, the second network element is a service network element currently providing services for the first network element;
当确定需要重选服务网元时,确定第三网元,并控制所述收发器1201向所述第三网元发送服务请求消息;When it is determined that the service network element needs to be reselected, the third network element is determined, and the transceiver 1201 is controlled to send a service request message to the third network element;
或者,当确定不需要重选服务网元时,控制所述收发器1201降低向所述第二网元发送所述服务请求消息的速率。Or, when it is determined that there is no need to reselect the serving network element, control the transceiver 1201 to reduce the rate of sending the service request message to the second network element.
在一种可选的实施方式中,所述处理器1202,在确定所述第二网元处于过载状态时,具体用于:In an optional implementation manner, the processor 1202 is specifically configured to: when determining that the second network element is in an overload state:
控制所述收发器1201向所述第二网元发送所述服务请求消息后,控制所述收发器1201从所述第二网元接收过载指示消息,所述过载指示消息用于指示所述第二网元当前处于过载状态;或者After controlling the transceiver 1201 to send the service request message to the second network element, control the transceiver 1201 to receive an overload indication message from the second network element, where the overload indication message is used to indicate the first network element The second network element is currently overloaded; or
获取所述第二网元的配置文件,根据所述第二网元的配置文件确定所述第二网元处于过载状态;或者Obtain the configuration file of the second network element, and determine that the second network element is in an overload state according to the configuration file of the second network element; or
控制所述收发器1201从网络存储功能网元获取所述第二网元的配置文件失败时,确定所述第二网元处于过载状态。When controlling the transceiver 1201 to obtain the configuration file of the second network element from a network storage function network element fails, it is determined that the second network element is in an overload state.
在一种可选的实施方式中,所述处理器1202,在确定需要重选服务网元时,具体用于:In an optional implementation manner, the processor 1202 is specifically configured to: when determining that the serving network element needs to be reselected,
获取第一指示信息,所述第一指示信息用于指示所述第二网元支持重选服务网元。Acquire first indication information, where the first indication information is used to indicate that the second network element supports reselecting a serving network element.
在一种可选的实施方式中,所述处理器1202,在获取所述第一指示信息时,具体用于:In an optional implementation manner, the processor 1202 is specifically configured to: when acquiring the first indication information:
控制所述收发器1201向所述第二网元发送服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括所述第一指示信息;或者After controlling the transceiver 1201 to send a service request message to the second network element, receive a rejection message from the second network element, where the rejection message includes the first indication information; or
控制所述收发器1201从所述第二网元接收第一消息,所述第一消息中包括所述第一指示信息;或者Control the transceiver 1201 to receive a first message from the second network element, where the first message includes the first indication information; or
获取所述第二网元的配置文件,所述第二网元的配置文件中包括所述第一指示信息。Acquire the configuration file of the second network element, where the configuration file of the second network element includes the first indication information.
在一种可选的实施方式中,所述第一指示信息是所述第二网元所在的网元集合的标识。In an optional implementation manner, the first indication information is an identifier of a network element set where the second network element is located.
在一种可选的实施方式中,所述处理器1202,在确定所述第三网元时,具体用于:In an optional implementation manner, the processor 1202 is specifically configured to: when determining the third network element:
控制所述收发器1201向所述第二网元发送所述服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括所述第三网元的标识信息;根据所述第三网元的标识信息确定所述第三网元;或者After controlling the transceiver 1201 to send the service request message to the second network element, receive a rejection message from the second network element, where the rejection message includes the identification information of the third network element; The identification information of the third network element determines the third network element; or
根据所述第二网元所在的网元集合的标识,从网络存储功能网元中获取所述网元集合中处于未过载状态的至少一个待选网元;在所述至少一个待选网元中确定所述第三网元;或者According to the identifier of the network element set where the second network element is located, at least one candidate network element in the network element set that is not overloaded is obtained from the network storage function network element; in the at least one candidate network element Determine the third network element in; or
控制所述收发器1201向所述网络存储功能发送所述网元集合的标识,并控制所述收发器1201从所述网络存储功能接收所述网元集合中所有网元的配置文件;根据所述网元集合中所有网元的配置信息,确定处于未过载状态的所述第三网元;或者Control the transceiver 1201 to send the identification of the network element set to the network storage function, and control the transceiver 1201 to receive the configuration files of all network elements in the network element set from the network storage function; The configuration information of all network elements in the network element set, and determine the third network element in a non-overloaded state; or
当所述网元集合中所有网元均处于过载状态时,在与所述第二网元功能相同的至少一个网元确定所述第三网元。When all the network elements in the network element set are in an overload state, the third network element is determined in at least one network element with the same function as the second network element.
在一种可选的实施方式中,所述处理器1202,在控制所述收发器1201向所述第三网元发送所述服务请求消息时,具体用于:In an optional implementation manner, the processor 1202 is specifically configured to: when controlling the transceiver 1201 to send the service request message to the third network element:
生成所述第三网元对应的资源标志符;Generating a resource identifier corresponding to the third network element;
根据所述第三网元对应的资源标志符控制所述收发器1201向所述第三网元发送所述服务请求消息。Control the transceiver 1201 to send the service request message to the third network element according to the resource identifier corresponding to the third network element.
在一种可选的实施方式中,所述处理器1202,在生成所述第三网元对应的标志符时,具体用于:In an optional implementation manner, the processor 1202 is specifically configured to: when generating the identifier corresponding to the third network element:
当所述第三网元包含于所述第二网元所在的网元集合中时,根据所述第二网元对应的资源标志符和所述第三网元的标识,生成所述第三网元对应的资源标志符。When the third network element is included in the network element set where the second network element is located, the third network element is generated according to the resource identifier corresponding to the second network element and the identifier of the third network element The resource identifier corresponding to the network element.
在一种可选的实施方式中,所述处理器1202控制所述收发器1201向所述第三网元发送的所述服务请求消息中包括所述第二网元对应的资源标志符或者所述第二网元的标识中的至少一个。In an optional implementation manner, the processor 1202 controls the service request message sent by the transceiver 1201 to the third network element to include the resource identifier or the resource identifier corresponding to the second network element. At least one of the identifiers of the second network element.
在一种可选的实施方式中,所述处理器1202,在控制所述收发器1201降低向所述第二网元发送所述服务请求消息的速率时,具体用于:In an optional implementation manner, the processor 1202 is specifically configured to: when controlling the transceiver 1201 to reduce the rate of sending the service request message to the second network element:
确定所述第一网元向所述第二网元发送所述服务请求消息时降低后的速率;Determine the reduced rate when the first network element sends the service request message to the second network element;
控制所述收发器1201以所述降低后的速率向所述第二网元发送所述服务请求消息。Control the transceiver 1201 to send the service request message to the second network element at the reduced rate.
在一种可选的实施方式中,所述处理器1202,在确定所述第一网元向所述第二网元发 送所述服务请求消息时降低后的速率时,具体用于:In an optional implementation manner, the processor 1202, when determining the reduced rate when the first network element sends the service request message to the second network element, is specifically configured to:
控制所述收发器1201向所述第二网元发送所述服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括第二指示信息,所述第二指示信息用于指示所述降低后的速率;根据所述第二指示信息确定所述降低后的速率;或者After controlling the transceiver 1201 to send the service request message to the second network element, receive a rejection message from the second network element, where the rejection message includes second indication information, and the second indication information is used Indicating the reduced rate; determining the reduced rate according to the second indication information; or
获取所述第二网元的配置文件,所述配置文件中包括指示所述第二网元接收服务请求消息时所述降低后的速率的指示信息;根据指示所述降低后的速率的指示信息确定所述降低后的速率。Acquire a configuration file of the second network element, where the configuration file includes indication information indicating the reduced rate when the second network element receives a service request message; according to the indication information indicating the reduced rate Determine the reduced rate.
基于以上实施例,本申请实施例还提供一种第二网元,用于实现上述通信方法。参阅图13所示,所述第二网元1300中可以包括收发器1301和处理器1302。可选的,所述第二网元1300中还可以包括存储器1303。其中,所述存储器1303可以设置于所述第二网元1300内部,还可以设置于所述第二网元1300外部。其中,所述处理器1302控制所述收发器1301接收和发送数据,并用于实现图3~图7中所述第二网元所执行的方法。Based on the foregoing embodiment, an embodiment of the present application also provides a second network element for implementing the foregoing communication method. Referring to FIG. 13, the second network element 1300 may include a transceiver 1301 and a processor 1302. Optionally, the second network element 1300 may further include a memory 1303. Wherein, the memory 1303 may be provided inside the second network element 1300, and may also be provided outside the second network element 1300. The processor 1302 controls the transceiver 1301 to receive and send data, and is used to implement the method executed by the second network element in FIGS. 3 to 7.
具体的,所述处理器1302可以是CPU,NP或者CPU和NP的组合。所述处理器1302还可以进一步包括硬件芯片。上述硬件芯片可以是ASIC,PLD或其组合。上述PLD可以是CPLD,FPGA,GAL或其任意组合。Specifically, the processor 1302 may be a CPU, an NP, or a combination of a CPU and NP. The processor 1302 may further include a hardware chip. The above hardware chip can be ASIC, PLD or a combination thereof. The above PLD can be CPLD, FPGA, GAL or any combination thereof.
其中,所述收发器1301、所述处理器1302和所述存储器1303之间相互连接。可选的,所述收发器1301、所述处理器1302和所述存储器1303通过总线1304相互连接;所述总线1304可以是PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Wherein, the transceiver 1301, the processor 1302, and the memory 1303 are connected to each other. Optionally, the transceiver 1301, the processor 1302, and the memory 1303 are connected to each other through a bus 1304; the bus 1304 may be a PCI bus or an EISA bus. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.
在一种可选的实施方式中,所述存储器1303,用于存放程序等。具体地,程序可以包括程序代码,该程序代码包括计算机操作指令。所述存储器1303可能包括RAM,也可能还包括非易失性存储器(non-volatile memory),例如一个或多个磁盘存储器。所述处理器1302执行所述存储器1303所存放的应用程序,实现上述功能,从而实现本申请实施例提供的通信方法。In an optional implementation manner, the memory 1303 is used to store programs and the like. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory 1303 may include RAM, or may also include non-volatile memory, such as one or more disk memories. The processor 1302 executes the application program stored in the memory 1303 to implement the foregoing functions, thereby implementing the communication method provided in the embodiment of the present application.
基于以上实施例,本申请实施例还提供一种网络存储功能网元,用于实现上述通信方法。参阅图14所示,所述网络存储功能网元1400中可以包括收发器1401和处理器1402。可选的,所述网络存储功能网元1400中还可以包括存储器1403。其中,所述存储器1403可以设置于所述网络存储功能网元1400内部,还可以设置于所述网络存储功能网元1400外部。其中,所述处理器1402控制所述收发器1401接收和发送数据,并用于实现图3、图5~图7中所述网络存储功能网元(例如NRF)所执行的方法。Based on the foregoing embodiment, the embodiment of the present application also provides a network storage function network element for implementing the foregoing communication method. Referring to FIG. 14, the network storage function network element 1400 may include a transceiver 1401 and a processor 1402. Optionally, the network storage function network element 1400 may further include a memory 1403. Wherein, the storage 1403 may be disposed inside the network storage function network element 1400, or may be disposed outside the network storage function network element 1400. Wherein, the processor 1402 controls the transceiver 1401 to receive and send data, and is used to implement the method executed by the network storage function network element (such as NRF) in FIG. 3 and FIG. 5-7.
具体的,所述处理器1402可以是CPU,NP或者CPU和NP的组合。所述处理器1402还可以进一步包括硬件芯片。上述硬件芯片可以是ASIC,PLD或其组合。上述PLD可以是CPLD,FPGA,GAL或其任意组合。Specifically, the processor 1402 may be a CPU, an NP, or a combination of a CPU and NP. The processor 1402 may further include a hardware chip. The above hardware chip can be ASIC, PLD or a combination thereof. The above PLD can be CPLD, FPGA, GAL or any combination thereof.
其中,所述收发器1401、所述处理器1402和所述存储器1403之间相互连接。可选的,所述收发器1401、所述处理器1402和所述存储器1403通过总线1404相互连接;所述总线1404可以是PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图14中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Wherein, the transceiver 1401, the processor 1402, and the memory 1403 are connected to each other. Optionally, the transceiver 1401, the processor 1402, and the memory 1403 are connected to each other through a bus 1404; the bus 1404 may be a PCI bus or an EISA bus. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in FIG. 14, but it does not mean that there is only one bus or one type of bus.
在一种可选的实施方式中,所述存储器1403,用于存放程序等。具体地,程序可以包 括程序代码,该程序代码包括计算机操作指令。所述存储器1403可能包括RAM,也可能还包括非易失性存储器(non-volatile memory),例如一个或多个磁盘存储器。所述处理器1402执行所述存储器1403所存放的应用程序,实现上述功能,从而实现本申请实施例提供的通信方法。In an optional implementation manner, the memory 1403 is used to store programs and the like. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory 1403 may include RAM, or may also include non-volatile memory, such as one or more disk memories. The processor 1402 executes the application program stored in the memory 1403 to implement the aforementioned functions, thereby implementing the communication method provided in the embodiment of the present application.
基于以上实施例,本申请实施例还提供一种第三网元,用于实现上述通信方法。参阅图15所示,所述第三网元1500中可以包括收发器1501和处理器1502。可选的,所述第三网元1500中还可以包括存储器1503。其中,所述存储器1503可以设置于所述第三网元1500内部,还可以设置于所述第三网元1500外部。其中,所述处理器1502控制所述收发器1501接收和发送数据,并用于实现图4~图7中所述第三网元所执行的方法。Based on the above embodiments, the embodiments of the present application also provide a third network element for implementing the above communication method. Referring to FIG. 15, the third network element 1500 may include a transceiver 1501 and a processor 1502. Optionally, the third network element 1500 may further include a memory 1503. Wherein, the memory 1503 may be provided inside the third network element 1500, and may also be provided outside the third network element 1500. Wherein, the processor 1502 controls the transceiver 1501 to receive and send data, and is used to implement the method executed by the third network element in FIGS. 4-7.
具体的,所述处理器1502可以是CPU,NP或者CPU和NP的组合。所述处理器1502还可以进一步包括硬件芯片。上述硬件芯片可以是ASIC,PLD或其组合。上述PLD可以是CPLD,FPGA,GAL或其任意组合。Specifically, the processor 1502 may be a CPU, an NP, or a combination of a CPU and NP. The processor 1502 may further include a hardware chip. The above hardware chip can be ASIC, PLD or a combination thereof. The above PLD can be CPLD, FPGA, GAL or any combination thereof.
其中,所述收发器1501、所述处理器1502和所述存储器1503之间相互连接。可选的,所述收发器1501、所述处理器1502和所述存储器1503通过总线1504相互连接;所述总线1504可以是PCI总线或EISA总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Wherein, the transceiver 1501, the processor 1502, and the memory 1503 are connected to each other. Optionally, the transceiver 1501, the processor 1502, and the memory 1503 are connected to each other through a bus 1504; the bus 1504 may be a PCI bus or an EISA bus. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only a thick line is used in FIG. 15, but it does not mean that there is only one bus or one type of bus.
在一种可选的实施方式中,所述存储器1503,用于存放程序等。具体地,程序可以包括程序代码,该程序代码包括计算机操作指令。所述存储器1503可能包括RAM,也可能还包括非易失性存储器(non-volatile memory),例如一个或多个磁盘存储器。所述处理器1502执行所述存储器1503所存放的应用程序,实现上述功能,从而实现本申请实施例提供的通信方法。In an optional implementation manner, the memory 1503 is used to store programs and the like. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory 1503 may include RAM, or may also include non-volatile memory, such as one or more disk memories. The processor 1502 executes the application program stored in the memory 1503 to implement the above-mentioned functions, thereby implementing the communication method provided in the embodiment of the present application.
基于以上实施例,本申请实施例还提供了一种计算机存储介质,该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现上述任意一个或多个实施例提供的方法。所述计算机存储介质可以包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。Based on the above embodiments, the embodiments of the present application also provide a computer storage medium, the storage medium stores a software program, and when the software program is read and executed by one or more processors, any one or more of the above The method provided by the embodiment. The computer storage medium may include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
基于以上实施例,本申请实施例还提供了一种芯片,该芯片包括处理器,用于实现上述任意一个或多个实施例所涉及的功能,例如获取或处理上述方法中所涉及的信息或者消息。可选地,所述芯片还包括存储器,所述存储器,用于处理器所执行必要的程序指令和数据。该芯片,可以由芯片构成,也可以包含芯片和其他分立器件。Based on the above embodiments, the embodiments of the present application also provide a chip, which includes a processor, which is used to implement the functions involved in any one or more of the above embodiments, such as acquiring or processing the information involved in the above methods or news. Optionally, the chip further includes a memory, and the memory is used for necessary program instructions and data executed by the processor. The chip can be composed of a chip, or it can include a chip and other discrete devices.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用 于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This application is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to the embodiments of this application. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. In this way, if these modifications and variations of the embodiments of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.
Claims (40)
- 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:第一网元确定第二网元处于过载状态后,判断是否需要重选服务网元,所述第二网元是当前为所述第一网元提供服务的服务网元;After the first network element determines that the second network element is in an overload state, it determines whether a service network element needs to be reselected, and the second network element is a service network element currently providing services for the first network element;当所述第一网元确定需要重选服务网元时,所述第一网元确定第三网元,并向所述第三网元发送服务请求消息;When the first network element determines that a service network element needs to be reselected, the first network element determines a third network element, and sends a service request message to the third network element;或者,当所述第一网元确定不需要重选服务网元时,所述第一网元降低向所述第二网元发送所述服务请求消息的速率。Alternatively, when the first network element determines that there is no need to reselect a serving network element, the first network element reduces the rate of sending the service request message to the second network element.
- 如权利要求1所述的方法,其特征在于,所述第一网元确定所述第二网元处于过载状态,包括:The method according to claim 1, wherein the determining by the first network element that the second network element is in an overload state comprises:所述第一网元向所述第二网元发送所述服务请求消息后,从所述第二网元接收过载指示消息,所述过载指示消息用于指示所述第二网元当前处于过载状态;或者After the first network element sends the service request message to the second network element, it receives an overload indication message from the second network element, where the overload indication message is used to indicate that the second network element is currently overloaded Status; or所述第一网元获取所述第二网元的配置文件,所述第一网元根据所述第二网元的配置文件确定所述第二网元处于过载状态;或者Acquiring, by the first network element, a configuration file of the second network element, and the first network element determines that the second network element is in an overload state according to the configuration file of the second network element; or所述第一网元从网络存储功能网元获取所述第二网元的配置文件失败时,所述第一网元确定所述第二网元处于过载状态。When the first network element fails to obtain the configuration file of the second network element from the network storage function network element, the first network element determines that the second network element is in an overload state.
- 如权利要求1或2所述的方法,其特征在于,所述第一网元确定需要重选服务网元,包括:The method according to claim 1 or 2, wherein the determining that the first network element needs to reselect a serving network element comprises:所述第一网元获取第一指示信息,所述第一指示信息用于指示所述第二网元支持重选服务网元。The first network element obtains first indication information, where the first indication information is used to indicate that the second network element supports reselection of a serving network element.
- 如权利要求3所述的方法,其特征在于,所述第一网元获取所述第一指示信息,包括:The method according to claim 3, wherein acquiring the first indication information by the first network element comprises:所述第一网元向所述第二网元发送服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括所述第一指示信息;或者After the first network element sends a service request message to the second network element, receiving a rejection message from the second network element, where the rejection message includes the first indication information; or所述第一网元从所述第二网元接收第一消息,所述第一消息中包括所述第一指示信息;或者The first network element receives a first message from the second network element, and the first message includes the first indication information; or所述第一网元获取所述第二网元的配置文件,所述第二网元的配置文件中包括所述第一指示信息。The first network element obtains the configuration file of the second network element, and the configuration file of the second network element includes the first indication information.
- 如权利要求3或4所述的方法,其特征在于,所述第一指示信息是所述第二网元所在的网元集合的标识。The method according to claim 3 or 4, wherein the first indication information is an identifier of a network element set where the second network element is located.
- 如权利要求1-5任一项所述的方法,其特征在于,所述第一网元确定所述第三网元,包括:5. The method according to any one of claims 1-5, wherein the determining of the third network element by the first network element comprises:所述第一网元向所述第二网元发送所述服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括所述第三网元的标识信息;所述第一网元根据所述第三网元的标识信息确定所述第三网元;或者After the first network element sends the service request message to the second network element, it receives a rejection message from the second network element, where the rejection message includes the identification information of the third network element; The first network element determines the third network element according to the identification information of the third network element; or所述第一网元根据所述第二网元所在的网元集合的标识,从网络存储功能网元中获取所述网元集合中处于未过载状态的至少一个待选网元;所述第一网元在所述至少一个待选网元中确定所述第三网元;或者The first network element obtains at least one candidate network element in the non-overloaded state in the network element set from the network storage function network element according to the identifier of the network element set where the second network element is located; A network element determines the third network element among the at least one candidate network element; or所述第一网元向所述网络存储功能发送所述网元集合的标识,并从所述网络存储功能 接收所述网元集合中所有网元的配置文件;所述第一网元根据所述网元集合中所有网元的配置信息,确定处于未过载状态的所述第三网元;或者The first network element sends the identification of the network element set to the network storage function, and receives the configuration files of all network elements in the network element set from the network storage function; The configuration information of all network elements in the network element set, and determine the third network element in a non-overloaded state; or当所述网元集合中所有网元均处于过载状态时,所述第一网元在与所述第二网元功能相同的至少一个网元确定所述第三网元。When all network elements in the network element set are in an overload state, the first network element determines the third network element in at least one network element with the same function as the second network element.
- 如权利要求1-6任一项所述的方法,其特征在于,所述第一网元向所述第三网元发送所述服务请求消息,包括:7. The method according to any one of claims 1 to 6, wherein the sending of the service request message by the first network element to the third network element comprises:所述第一网元生成所述第三网元对应的资源标志符;Generating, by the first network element, a resource identifier corresponding to the third network element;所述第一网元根据所述第三网元对应的资源标志符向所述第三网元发送所述服务请求消息。The first network element sends the service request message to the third network element according to the resource identifier corresponding to the third network element.
- 如权利要求7所述的方法,其特征在于,所述第一网元生成所述第三网元对应的标志符,包括:The method according to claim 7, wherein the first network element generating the identifier corresponding to the third network element comprises:当所述第三网元包含于所述第二网元所在的网元集合中时,所述第一网元根据所述第二网元对应的资源标志符和所述第三网元的标识,生成所述第三网元对应的资源标志符。When the third network element is included in the network element set where the second network element is located, the first network element is based on the resource identifier corresponding to the second network element and the identifier of the third network element To generate a resource identifier corresponding to the third network element.
- 如权利要求1-8任一项所述的方法,其特征在于,所述第一网元向所述第三网元发送的所述服务请求消息中包括所述第二网元对应的资源标志符或者所述第二网元的标识中的至少一个。The method according to any one of claims 1-8, wherein the service request message sent by the first network element to the third network element includes a resource identifier corresponding to the second network element Or at least one of the identifier of the second network element.
- 如权利要求1-9任一项所述的方法,其特征在于,所述第一网元降低向所述第二网元发送所述服务请求消息的速率,包括:The method according to any one of claims 1-9, wherein the first network element reducing the rate of sending the service request message to the second network element comprises:所述第一网元确定所述第一网元向所述第二网元发送所述服务请求消息时降低后的速率;Determining, by the first network element, the reduced rate when the first network element sends the service request message to the second network element;所述第一网元以所述降低后的速率向所述第二网元发送所述服务请求消息。The first network element sends the service request message to the second network element at the reduced rate.
- 如权利要求10所述的方法,其特征在于,所述第一网元确定所述第一网元向所述第二网元发送所述服务请求消息时降低后的速率,包括:The method of claim 10, wherein the first network element determining the reduced rate when the first network element sends the service request message to the second network element comprises:所述第一网元向所述第二网元发送所述服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括第二指示信息,所述第二指示信息用于指示所述降低后的速率;所述第一网元根据所述第二指示信息确定所述降低后的速率;或者After the first network element sends the service request message to the second network element, it receives a rejection message from the second network element, where the rejection message includes second indication information, and the second indication information is used Indicating the reduced rate; the first network element determines the reduced rate according to the second indication information; or所述第一网元获取所述第二网元的配置文件,所述配置文件中包括指示所述第二网元接收服务请求消息时所述降低后的速率的指示信息;所述第一网元根据指示所述降低后的速率的指示信息确定所述降低后的速率。The first network element obtains a configuration file of the second network element, where the configuration file includes indication information indicating the reduced rate when the second network element receives a service request message; the first network The element determines the reduced rate according to the indication information indicating the reduced rate.
- 一种第一网元,其特征在于,包括:A first network element, characterized in that it comprises:收发器,用于接收和发送数据;Transceiver, used to receive and send data;处理器,用于确定第二网元处于过载状态后,判断是否需要重选服务网元,所述第二网元是当前为所述第一网元提供服务的服务网元;A processor, configured to determine whether a service network element needs to be reselected after determining that the second network element is in an overload state, where the second network element is a service network element currently providing services for the first network element;当确定需要重选服务网元时,确定第三网元,并控制所述收发器向所述第三网元发送服务请求消息;When it is determined that the service network element needs to be reselected, the third network element is determined, and the transceiver is controlled to send a service request message to the third network element;或者,当确定不需要重选服务网元时,控制所述收发器降低向所述第二网元发送所述服务请求消息的速率。Or, when it is determined that there is no need to reselect the serving network element, control the transceiver to reduce the rate of sending the service request message to the second network element.
- 如权利要求12所述的第一网元,其特征在于,所述处理器,在确定所述第二网元处于过载状态时,具体用于:The first network element according to claim 12, wherein the processor is specifically configured to: when determining that the second network element is in an overload state:控制所述收发器向所述第二网元发送所述服务请求消息后,控制所述收发器从所述第 二网元接收过载指示消息,所述过载指示消息用于指示所述第二网元当前处于过载状态;或者After controlling the transceiver to send the service request message to the second network element, control the transceiver to receive an overload indication message from the second network element, where the overload indication message is used to instruct the second network element The element is currently overloaded; or获取所述第二网元的配置文件,根据所述第二网元的配置文件确定所述第二网元处于过载状态;或者Obtain the configuration file of the second network element, and determine that the second network element is in an overload state according to the configuration file of the second network element; or控制所述收发器从网络存储功能网元获取所述第二网元的配置文件失败时,确定所述第二网元处于过载状态。When controlling the transceiver to obtain the configuration file of the second network element from the network storage function network element fails, it is determined that the second network element is in an overload state.
- 如权利要求12或13所述的第一网元,其特征在于,所述处理器,在确定需要重选服务网元时,具体用于:The first network element according to claim 12 or 13, wherein the processor is specifically configured to: when it is determined that the serving network element needs to be reselected:获取第一指示信息,所述第一指示信息用于指示所述第二网元支持重选服务网元。Acquire first indication information, where the first indication information is used to indicate that the second network element supports reselecting a serving network element.
- 如权利要求14所述的第一网元,其特征在于,所述处理器,在获取所述第一指示信息时,具体用于:The first network element according to claim 14, wherein the processor, when acquiring the first indication information, is specifically configured to:控制所述收发器向所述第二网元发送服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括所述第一指示信息;或者After controlling the transceiver to send a service request message to the second network element, receive a rejection message from the second network element, where the rejection message includes the first indication information; or控制所述收发器从所述第二网元接收第一消息,所述第一消息中包括所述第一指示信息;或者Controlling the transceiver to receive a first message from the second network element, where the first message includes the first indication information; or获取所述第二网元的配置文件,所述第二网元的配置文件中包括所述第一指示信息。Acquire the configuration file of the second network element, where the configuration file of the second network element includes the first indication information.
- 如权利要求14或15所述的第一网元,其特征在于,所述第一指示信息是所述第二网元所在的网元集合的标识。The first network element according to claim 14 or 15, wherein the first indication information is an identifier of a network element set where the second network element is located.
- 如权利要求12-16任一项所述的第一网元,其特征在于,所述处理器,在确定所述第三网元时,具体用于:The first network element according to any one of claims 12-16, wherein the processor is specifically configured to: when determining the third network element:控制所述收发器向所述第二网元发送所述服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括所述第三网元的标识信息;根据所述第三网元的标识信息确定所述第三网元;或者After controlling the transceiver to send the service request message to the second network element, it receives a rejection message from the second network element, where the rejection message includes the identification information of the third network element; The identification information of the third network element determines the third network element; or根据所述第二网元所在的网元集合的标识,从网络存储功能网元中获取所述网元集合中处于未过载状态的至少一个待选网元;在所述至少一个待选网元中确定所述第三网元;或者According to the identifier of the network element set where the second network element is located, at least one candidate network element in the network element set that is not overloaded is obtained from the network storage function network element; in the at least one candidate network element Determine the third network element in; or控制所述收发器向所述网络存储功能发送所述网元集合的标识,并控制所述收发器从所述网络存储功能接收所述网元集合中所有网元的配置文件;根据所述网元集合中所有网元的配置信息,确定处于未过载状态的所述第三网元;或者Control the transceiver to send the identification of the network element set to the network storage function, and control the transceiver to receive the configuration files of all network elements in the network element set from the network storage function; The configuration information of all network elements in the element set is determined to be the third network element in a non-overloaded state; or当所述网元集合中所有网元均处于过载状态时,在与所述第二网元功能相同的至少一个网元确定所述第三网元。When all the network elements in the network element set are in an overload state, the third network element is determined in at least one network element with the same function as the second network element.
- 如权利要求12-17任一项所述的第一网元,其特征在于,所述处理器,在控制所述收发器向所述第三网元发送所述服务请求消息时,具体用于:The first network element according to any one of claims 12-17, wherein the processor is specifically configured to control the transceiver to send the service request message to the third network element :生成所述第三网元对应的资源标志符;Generating a resource identifier corresponding to the third network element;根据所述第三网元对应的资源标志符控制所述收发器向所述第三网元发送所述服务请求消息。Controlling the transceiver to send the service request message to the third network element according to the resource identifier corresponding to the third network element.
- 如权利要求18所述的第一网元,其特征在于,所述处理器,在生成所述第三网元对应的标志符时,具体用于:The first network element according to claim 18, wherein the processor is specifically configured to: when generating the identifier corresponding to the third network element:当所述第三网元包含于所述第二网元所在的网元集合中时,根据所述第二网元对应的资源标志符和所述第三网元的标识,生成所述第三网元对应的资源标志符。When the third network element is included in the network element set where the second network element is located, the third network element is generated according to the resource identifier corresponding to the second network element and the identifier of the third network element The resource identifier corresponding to the network element.
- 如权利要求12-19任一项所述的第一网元,其特征在于,所述处理器控制所述收发器向所述第三网元发送的所述服务请求消息中包括所述第二网元对应的资源标志符或者所述第二网元的标识中的至少一个。The first network element according to any one of claims 12-19, wherein the processor controls the transceiver to send the service request message to the third network element to include the second network element. At least one of the resource identifier corresponding to the network element or the identifier of the second network element.
- 如权利要求12-20任一项所述的第一网元,其特征在于,所述处理器,在控制所述收发器降低向所述第二网元发送所述服务请求消息的速率时,具体用于:The first network element according to any one of claims 12-20, wherein the processor, when controlling the transceiver to reduce the rate of sending the service request message to the second network element, Specifically used for:确定所述第一网元向所述第二网元发送所述服务请求消息时降低后的速率;Determine the reduced rate when the first network element sends the service request message to the second network element;控制所述收发器以所述降低后的速率向所述第二网元发送所述服务请求消息。Controlling the transceiver to send the service request message to the second network element at the reduced rate.
- 如权利要求21所述的第一网元,其特征在于,所述处理器,在确定所述第一网元向所述第二网元发送所述服务请求消息时降低后的速率时,具体用于:The first network element according to claim 21, wherein the processor, when determining the reduced rate when the first network element sends the service request message to the second network element, specifically Used for:控制所述收发器向所述第二网元发送所述服务请求消息后,从所述第二网元接收拒绝消息,所述拒绝消息中包括第二指示信息,所述第二指示信息用于指示所述降低后的速率;根据所述第二指示信息确定所述降低后的速率;或者After controlling the transceiver to send the service request message to the second network element, receive a rejection message from the second network element, where the rejection message includes second indication information, and the second indication information is used for Indicating the reduced rate; determining the reduced rate according to the second indication information; or获取所述第二网元的配置文件,所述配置文件中包括指示所述第二网元接收服务请求消息时所述降低后的速率的指示信息;根据指示所述降低后的速率的指示信息确定所述降低后的速率。Acquire a configuration file of the second network element, where the configuration file includes indication information indicating the reduced rate when the second network element receives a service request message; according to the indication information indicating the reduced rate Determine the reduced rate.
- 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:第二网元确定自身处于过载状态;The second network element determines that it is in an overload state;所述第二网元向网络存储功能网元发送第一更新请求消息,所述第一更新请求消息用于指示所述网络存储功能网元将所述第二网元的状态更新为过载状态。The second network element sends a first update request message to the network storage function network element, where the first update request message is used to instruct the network storage function network element to update the state of the second network element to an overload state.
- 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:网络存储功能网元从第二网元接收第一更新请求消息,所述第一更新请求消息用于指示所述网络存储功能网元将所述第二网元的状态更新为过载状态;The network storage function network element receives a first update request message from the second network element, where the first update request message is used to instruct the network storage function network element to update the state of the second network element to an overload state;所述网络存储功能网元根据所述第一更新请求消息,将所述第二网元的配置文件中所述第二网元的状态由未过载状态更新为过载状态。The network storage function network element updates the state of the second network element in the configuration file of the second network element from a non-overloaded state to an overloaded state according to the first update request message.
- 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:第三网元从第一网元接收服务请求消息;所述第三网元为所述第一网元重选的服务网元;所述服务请求消息中包括第二网元对应的资源标志符或所述第二网元的标识中的至少一个;The third network element receives a service request message from the first network element; the third network element is the service network element reselected by the first network element; the service request message includes the resource identifier corresponding to the second network element Or at least one of the identifiers of the second network element;所述第三网元根据所述第二网元对应的标志符或所述第二网元的标识中的至少一个从所述第二网元获取所述业务上下文。The third network element obtains the service context from the second network element according to at least one of an identifier corresponding to the second network element or an identifier of the second network element.
- 一种装置,所述装置为第一网元,其特征在于,包括:发送单元和处理单元;A device, the device being a first network element, characterized by comprising: a sending unit and a processing unit;所述发送单元,用于执行权利要求1-11任一项所述的方法中在所述装置侧进行数据的发送操作;The sending unit is configured to perform data sending operations on the device side in the method according to any one of claims 1-11;所述处理单元,用于执行权利要求1-11任一项所述的方法。The processing unit is configured to execute the method according to any one of claims 1-11.
- 一种装置,所述装置为第二网元,其特征在于,包括:发送单元和处理单元;A device, the device being a second network element, characterized by comprising: a sending unit and a processing unit;所述处理单元,用于确定自身处于过载状态;The processing unit is used to determine that it is in an overload state;所述发送单元,用于向网络存储功能网元发送第一更新请求消息,所述第一更新请求消息用于指示所述网络存储功能网元将所述第二网元的状态更新为过载状态。The sending unit is configured to send a first update request message to a network storage function network element, where the first update request message is used to instruct the network storage function network element to update the state of the second network element to an overload state .
- 一种装置,所述装置为网络存储功能网元,其特征在于,包括:接收单元和处理单元;A device, the device is a network storage function network element, characterized by comprising: a receiving unit and a processing unit;所述接收单元,用于从第二网元接收第一更新请求消息,所述第一更新请求消息用于指示所述网络存储功能网元将所述第二网元的状态更新为过载状态;The receiving unit is configured to receive a first update request message from a second network element, where the first update request message is used to instruct the network storage function network element to update the state of the second network element to an overload state;所述处理单元,用于根据所述第一更新请求消息,将所述第二网元的配置文件中所述第二网元的状态由未过载状态更新为过载状态。The processing unit is configured to update the state of the second network element in the configuration file of the second network element from a non-overloaded state to an overloaded state according to the first update request message.
- 一种装置,所述装置为第三网元,其特征在于,包括:接收单元和处理单元;A device, the device being a third network element, characterized by comprising: a receiving unit and a processing unit;所述接收单元,用于从第一网元接收服务请求消息;所述第三网元为所述第一网元重选的服务网元;所述服务请求消息中包括第二网元对应的资源标志符或所述第二网元的标识中的至少一个;The receiving unit is configured to receive a service request message from a first network element; the third network element is a service network element reselected by the first network element; and the service request message includes a service request message corresponding to the second network element At least one of a resource identifier or an identifier of the second network element;所述处理单元,用于根据所述第二网元对应的标志符或所述第二网元的标识中的至少一个从所述第二网元获取所述业务上下文。The processing unit is configured to obtain the service context from the second network element according to at least one of an identifier corresponding to the second network element or an identifier of the second network element.
- 一种装置,所述装置为第二网元,其特征在于,包括:A device, the device being a second network element, characterized by comprising:收发器,用于接收和发送数据;Transceiver, used to receive and send data;处理器,用于执行上述权利要求23所述的方法。The processor is configured to execute the method of claim 23.
- 一种装置,所述装置为网络存储功能网元,其特征在于,包括:A device, the device is a network storage function network element, characterized by comprising:收发器,用于接收和发送数据;Transceiver, used to receive and send data;处理器,用于执行上述权利要求24所述的方法。The processor is configured to execute the method of claim 24.
- 一种装置,所述装置为第三网元,其特征在于,包括:A device, the device being a third network element, characterized by comprising:收发器,用于接收和发送数据;Transceiver, used to receive and send data;处理器,用于执行上述权利要求25所述的方法。The processor is configured to execute the method of claim 25.
- 一种装置,其特征在于,用于执行权利要求1-11任一项所述的方法。A device, characterized in that it is used to execute the method of any one of claims 1-11.
- 一种装置,其特征在于,用于执行权利要求23所述的方法。A device, characterized in that it is used to implement the method of claim 23.
- 一种装置,其特征在于,用于执行权利要求24所述的方法。A device, characterized in that it is used to execute the method of claim 24.
- 一种装置,其特征在于,用于执行权利要求25所述的方法。A device, characterized in that it is used to implement the method of claim 25.
- 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得计算机执行如权利要求1-11、23-25任一项所述的方法。A computer program product containing instructions, characterized in that, when the computer program product runs on a computer, the computer is caused to execute the method according to any one of claims 1-11, 23-25.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令在被计算机调用时,使得所述计算机执行如权利要求1-11、23-25任一项所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, which when called by a computer, cause the computer to execute , The method of any one of 23-25.
- 一种芯片,其特征在于,所述芯片与存储器耦合,用于读取并执行所述存储器中存储的程序指令,以实现如权利要求1-11、23-25任一项所述的方法。A chip, characterized in that the chip is coupled with a memory, and is used to read and execute program instructions stored in the memory to implement the method according to any one of claims 1-11, 23-25.
- 一种系统,其特征在于,包括如权利要求12-22任一项所述的第一网元或26-36任一项所述的装置中的一个或多个。A system, characterized by comprising one or more of the first network element according to any one of claims 12-22 or the device according to any one of 26-36.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910252252.6A CN111757313A (en) | 2019-03-29 | 2019-03-29 | Communication method and device |
CN201910252252.6 | 2019-03-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020200057A1 true WO2020200057A1 (en) | 2020-10-08 |
Family
ID=72664977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/081515 WO2020200057A1 (en) | 2019-03-29 | 2020-03-26 | Communication method and apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111757313A (en) |
WO (1) | WO2020200057A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022206597A1 (en) * | 2021-04-01 | 2022-10-06 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods, network nodes and computer readable media for network node reselection |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116980921A (en) * | 2022-04-21 | 2023-10-31 | 华为技术有限公司 | Communication method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7509390B1 (en) * | 2005-06-01 | 2009-03-24 | Cisco Technology, Inc. | Methods and apparatus for controlling the transmission of data |
CN103220717A (en) * | 2012-01-20 | 2013-07-24 | 华为技术有限公司 | Load balancing method and related device |
CN103688512A (en) * | 2011-07-14 | 2014-03-26 | 阿尔卡特朗讯 | Negotiations for alternate download options between an end user and a server |
CN104581340A (en) * | 2015-01-16 | 2015-04-29 | 京东方科技集团股份有限公司 | Client-side, streaming media data receiving method and streaming media data transmission system |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101459928B (en) * | 2008-04-16 | 2010-12-08 | 中兴通讯股份有限公司 | Overload notification method between network elements |
US8416690B2 (en) * | 2010-01-11 | 2013-04-09 | Research In Motion Limited | Explicit congestion notification based rate adaptation using binary marking in communication systems |
CN102571552B (en) * | 2010-12-31 | 2015-04-22 | 中国移动通信集团公司 | Gateway congestion regulation and control method and system, gateway and network element |
CN102325082B (en) * | 2011-07-19 | 2014-04-02 | 天津理工大学 | Nomadic application-oriented network congestion control method |
EP2747364A1 (en) * | 2012-12-20 | 2014-06-25 | British Telecommunications public limited company | Overload control for session setups |
US9497125B2 (en) * | 2013-07-28 | 2016-11-15 | Mellanox Technologies Ltd. | Congestion control enforcement in a virtualized environment |
CN104956614B (en) * | 2013-12-10 | 2017-12-29 | 华为技术有限公司 | The overload controlling method and device of opposite end network element |
CN108667739B (en) * | 2017-03-27 | 2020-12-08 | 华为技术有限公司 | Congestion control method, device and system |
CN107294864B (en) * | 2017-06-23 | 2020-07-03 | 深圳市盛路物联通讯技术有限公司 | Method for reducing network congestion of Internet of things and router |
-
2019
- 2019-03-29 CN CN201910252252.6A patent/CN111757313A/en active Pending
-
2020
- 2020-03-26 WO PCT/CN2020/081515 patent/WO2020200057A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7509390B1 (en) * | 2005-06-01 | 2009-03-24 | Cisco Technology, Inc. | Methods and apparatus for controlling the transmission of data |
CN103688512A (en) * | 2011-07-14 | 2014-03-26 | 阿尔卡特朗讯 | Negotiations for alternate download options between an end user and a server |
CN103220717A (en) * | 2012-01-20 | 2013-07-24 | 华为技术有限公司 | Load balancing method and related device |
CN104581340A (en) * | 2015-01-16 | 2015-04-29 | 京东方科技集团股份有限公司 | Client-side, streaming media data receiving method and streaming media data transmission system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022206597A1 (en) * | 2021-04-01 | 2022-10-06 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods, network nodes and computer readable media for network node reselection |
Also Published As
Publication number | Publication date |
---|---|
CN111757313A (en) | 2020-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11917498B2 (en) | Communication method and communications apparatus | |
US12015682B2 (en) | Service subscription method and system for reporting service change in communication system | |
US20200304983A1 (en) | Obtaining of ue policy | |
CN110049070B (en) | Event notification method and related equipment | |
WO2022007899A1 (en) | Upf selection method and apparatus | |
WO2018228505A1 (en) | Communication method and system, network device and terminal device | |
US12041135B2 (en) | Session establishment method and apparatus | |
CN113767672B (en) | Mobile communication core network apparatus and method for managing wireless communication after inserting an intermediate session management function | |
WO2020224622A1 (en) | Information configuration method and device | |
US12058139B2 (en) | Method for implementing user plane security policy, apparatus, and system | |
EP3713372A1 (en) | Method and device for creating user group | |
WO2019033796A1 (en) | Session processing method and related device | |
WO2020001562A1 (en) | Communication method and apparatus | |
US20220369401A1 (en) | Method and apparatus for admission control of sessions based on priority | |
WO2020015649A1 (en) | Network slice mutual exclusion relation processing method, device and system, and medium | |
WO2019096306A1 (en) | Request processing method, and corresponding entity | |
CN111615844A (en) | Method and apparatus for selecting a session management entity serving a wireless communication device | |
GB2590728A (en) | Scope parameter for binding indication | |
WO2020156404A1 (en) | Terminal capability reporting method and apparatus | |
WO2020200057A1 (en) | Communication method and apparatus | |
CN111757312A (en) | Session processing method and device | |
WO2021147105A1 (en) | Communication method and apparatus | |
WO2021244622A1 (en) | Communication method and apparatus, and computer-readable storage medium | |
US11805085B2 (en) | Enhancements to rich communication group messaging based on operating system | |
WO2024032603A1 (en) | Communication method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20783883 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20783883 Country of ref document: EP Kind code of ref document: A1 |