CN-122028031-A - Communication method, device and communication equipment
Abstract
The disclosure provides a communication method, a device and communication equipment, and relates to the technical field of communication. The method comprises the steps of determining whether connection is established with a second network function according to roaming attributes of user equipment, establishing connection with the second network function under the condition that connection is established with the second network function, sending the roaming attributes of the user equipment, and receiving strategies corresponding to the roaming attributes sent by the second network function through connection. Therefore, the dynamic control of whether to establish connection is realized based on the roaming attribute of the user equipment, and the corresponding strategy is provided based on the roaming attribute of the user equipment, so that the differentiated strategy dynamic control for roaming and non-roaming scenes is realized.
Inventors
- QIU WEI
- LI DAN
- KONG LILI
- ZHAI MENGDI
- GUO HONGFENG
- QIN SHIHUI
- LI QIN
- CHENG DONGFANG
Assignees
- 中国移动通信集团设计院有限公司
- 中国移动通信集团有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260211
Claims (14)
- 1. A method of communication, for application to a first network function, the method comprising: Determining whether to establish connection with a second network function according to a roaming attribute of user equipment, wherein the roaming attribute is used for indicating whether the user equipment is in a roaming state; And in response to determining that the connection is established with the second network function, establishing the connection with the second network function, sending the roaming attribute of the user equipment, and receiving the strategy corresponding to the roaming attribute sent by the second network function through the connection.
- 2. The method of claim 1, wherein the manner of determining the roaming attribute comprises at least 1 of: determining a roaming attribute of the user equipment according to whether first area information in equipment identification of a third network function to which the user equipment belongs is consistent with second area information in equipment identification of the first network function, wherein the third network function is used for storing subscription data of the user equipment; And determining the roaming attribute of the user equipment according to the locally stored information of the rule corresponding to the user equipment identifier and the roaming attribute.
- 3. The method of claim 1, wherein prior to the receiving the policy corresponding to the roaming attribute sent by the second network function over the connection, the method further comprises: Receiving a first event subscription message corresponding to the roaming attribute of the user equipment, which is sent by the second network function, through the connection; A first event notification message for the first event subscription message is sent to the second network function over the connection.
- 4. The method of claim 1, wherein prior to the receiving the policy corresponding to the roaming attribute sent by the second network function over the connection, the method further comprises: receiving a second event subscription message sent by the second network function through the connection, wherein the second event subscription message comprises first indication information, and the first indication information is used for indicating the first network function to report the roaming attribute of the user equipment; And sending a second event notification message for the second event subscription message to the second network function through the connection, wherein the second event notification message at least comprises roaming attributes of the user equipment.
- 5. The method according to claim 3 or 4, wherein said receiving, via said connection, a policy corresponding to said roaming property sent by said second network function, comprises: and receiving a first message sent by the second network function through the connection, wherein the first message is used for indicating a strategy corresponding to the roaming attribute of the user equipment.
- 6. A method of communication, for use with a second network function, the method comprising: and sending a strategy corresponding to the roaming attribute of the user equipment to the first network function through the connection established with the first network function, wherein the roaming attribute is used for indicating whether the user equipment is in a roaming state.
- 7. The method of claim 6, wherein prior to the sending the policy corresponding to the roaming attribute of the user equipment to the first network function over the connection established with the first network function, the method further comprises: sending a first event subscription message corresponding to a roaming attribute of the user equipment to the first network function through the connection; a first event notification message sent by the first network function for the first event subscription message is received over the connection.
- 8. The method of claim 6, wherein prior to the sending the policy corresponding to the roaming attribute of the user equipment to the first network function over the connection established with the first network function, the method further comprises: Sending a second event subscription message to the first network function through the connection, wherein the second event subscription message comprises first indication information, and the first indication information is used for indicating the first network function to report the roaming attribute of the user equipment; And receiving a second event notification message sent by the first network function for the second event subscription message through the connection, wherein the second event notification message at least comprises roaming attributes of the user equipment.
- 9. The method according to claim 7 or 8, wherein said sending a policy corresponding to a roaming property of a user equipment to the first network function via the connection comprises: And sending a first message to the first network function through the connection, wherein the first message is used for indicating a strategy corresponding to the roaming attribute of the user equipment.
- 10. A communication device for use with a first network function, the device comprising: A determining module, configured to determine whether to establish a connection with a second network function according to a roaming attribute of a user equipment, where the roaming attribute is used to indicate whether the user equipment is in a roaming state; and the first communication module is used for responding to the condition that connection is established with the second network function, establishing connection with the second network function, sending the roaming attribute of the user equipment, and receiving the strategy corresponding to the roaming attribute, which is sent by the second network function, through the connection.
- 11. A communication device for use with a second network function, the device comprising: And the second communication module is used for sending a strategy corresponding to the roaming attribute of the user equipment to the first network function through the connection established by the first network function, wherein the roaming attribute is used for indicating whether the user equipment is in a roaming state or not.
- 12. A communication device comprising a processor, and a memory communicatively coupled to the processor; The memory stores computer-executable instructions; the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-5 or the method of any one of claims 6-9.
- 13. A computer readable storage medium having stored therein computer executable instructions for implementing the method of any of claims 1-5 or the method of any of claims 6-9 when executed by a processor.
- 14. A computer program product comprising a computer program which, when executed by a processor, implements the method of any one of claims 1-5 or the method of any one of claims 6-9.
Description
Communication method, device and communication equipment Technical Field The disclosure relates to the field of communication technologies, and in particular, to a communication method, a device and communication equipment. Background In the related art, during registration of a user equipment, related network functions (e.g., access and mobility management functions (ACCESS AND Mobility Management Function, AMF), session management functions (Session Management Function, SMF)) in a network to which the user equipment is connected are typically connected to a policy control function (Policy Control Function, PCF) to obtain related policies of the user equipment through the PCF. However, the policies that network functions acquire from PCFs are typically fixed and unified, lacking dynamic control capabilities. Disclosure of Invention Based on the above, the disclosure provides a communication method, a device and a communication apparatus. In a first aspect, the disclosure provides a communication method applied to a first network function, the method comprising determining whether to establish a connection with a second network function according to a roaming attribute of a user equipment, wherein the roaming attribute is used for indicating whether the user equipment is in a roaming state, establishing a connection with the second network function in response to determining that the connection is established with the second network function, sending the roaming attribute of the user equipment, and receiving a policy corresponding to the roaming attribute sent by the second network function through the connection. In a second aspect, the present disclosure provides a communication method applied to a second network function, the method comprising sending a policy corresponding to a roaming attribute of a user equipment to a first network function through a connection established with the first network function, wherein the roaming attribute is used to indicate whether the user equipment is in a roaming state. In a third aspect, the disclosure provides a communication device applied to a first network function, the device comprising a determining module configured to determine whether to establish a connection with a second network function according to a roaming attribute of a user equipment, where the roaming attribute is used to indicate whether the user equipment is in a roaming state, and a first communication module configured to establish a connection with the second network function in response to determining that the connection is established with the second network function, send the roaming attribute of the user equipment, and receive a policy corresponding to the roaming attribute sent by the second network function through the connection. In a fourth aspect, the present disclosure provides a communication apparatus, applied to a second network function, including a second communication module configured to send, to a first network function, a policy corresponding to a roaming attribute of a user equipment through a connection established with the first network function, where the roaming attribute is used to indicate whether the user equipment is in a roaming state. In a fifth aspect, the present disclosure provides a communication device, including a processor, and a memory communicatively connected to the processor, where the memory stores computer-executable instructions, and the processor executes the computer-executable instructions stored in the memory to implement a communication method disclosed in an embodiment of the present disclosure. In a sixth aspect, the present disclosure provides a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, are configured to implement a communication method disclosed in an embodiment of the present disclosure. In a seventh aspect, the present disclosure provides a computer program product comprising a computer program which, when executed by a processor, implements the communication method disclosed by the embodiments of the present disclosure. The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: Determining whether to establish connection with the second network function according to the roaming attribute of the user equipment, establishing connection with the second network function under the condition of determining to establish connection with the second network function, sending the roaming attribute of the user equipment, and receiving a strategy corresponding to the roaming attribute sent by the second network function through the connection. Therefore, the dynamic control of whether to establish connection is realized based on the roaming attribute of the user equipment, and the corresponding strategy is provided based on the roaming attribute of the user equipment, so that the differentiated strategy dynamic con