WO2021093763A1 - Data caching method and apparatus - Google Patents

Data caching method and apparatus Download PDF

Info

Publication number
WO2021093763A1
WO2021093763A1 PCT/CN2020/128081 CN2020128081W WO2021093763A1 WO 2021093763 A1 WO2021093763 A1 WO 2021093763A1 CN 2020128081 W CN2020128081 W CN 2020128081W WO 2021093763 A1 WO2021093763 A1 WO 2021093763A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
network function
network
function network
udsf
Prior art date
Application number
PCT/CN2020/128081
Other languages
French (fr)
Chinese (zh)
Inventor
杨文进
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021093763A1 publication Critical patent/WO2021093763A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a data caching method and device.
  • the fifth-generation (5th-Generation, 5G) core system architecture of the Rel.15 standard is based on a service-based architecture (SBA), and the main purpose is to split each network function (NF) network element One or more network function network element services (NF service), each network function network element service intercommunication with other network function network element services through standard interfaces.
  • SBA service-based architecture
  • NF service network function network element services
  • the 5G system architecture allows any NF to store and read unstructured data in an unstructured data storage function (UDSF), such as user equipment (UE) context.
  • UDSF unstructured data storage function
  • UE user equipment
  • Multiple NFs can share one UDSF network element, or have their own independent UDSF network elements.
  • AMF access and mobility management function
  • the embodiments of the present application provide a data caching method and device, which can alleviate the impact of the signaling storm on the UDSF network element after the elastic scaling or failure, and reduce the service delay.
  • a data caching method including: an unstructured data storage function UDSF determines that a first network function network element is faulty; the UDSF sends unstructured data corresponding to the first network function network element to a second network function network element ,
  • the second network function network element is a backup device of the first network function network element. Since the UDSF can manage the unstructured data of each network function network element, when the first network function network element fails, the UE or the network side in the prior art will request unstructured data from the UDSF, which will cause trust to the UDSF. Make an impact.
  • the UDSF when the UDSF determines that the first network function network element is faulty, it can actively push the unstructured data corresponding to the first network function network element and send it to the non-faulty second network function network element for the UE or the network side. It can request unstructured data from the second network function network element to alleviate the impact of UDSF signaling. Unstructured data can be contextual data.
  • the second network function network element may be a backup entity of the first network function network element.
  • the UDSF determining that the first network function network element is faulty includes: if the UDSF receives a notification message from the network storage function NRF, and the notification message indicates that the first network function network element is faulty, the UDSF determines the first network function The network element is faulty. Since NRF can manage the registration, update or de-registration of each NF, when the first network function network element fails, NRF can know that the first network function network element is faulty, and then NRF can detect the first network function network element failure. The event is notified to other NFs, including the second network function network element, UDSF, SMF, etc., and the UDSF can determine the failure of the first network function network element according to the event.
  • the first network function network element may also notify the RAN of a message that the first network function network element is unavailable. In this way, when RNA or other network function network elements, etc., receive a service request, the service request can be sent to the network function network element that is the backup of the first network function network element.
  • the notification message includes the correspondence between different identifiers and the identifier of the standby entity of the first network function network element; the standby entity includes the second network function network element; the non-identifier corresponding to each identifier Structured data is different.
  • UDSF sending the unstructured data corresponding to the first network function network element to the second network function network element includes: UDSF sends the unstructured data corresponding to the first network function network element to the second network function network element according to the corresponding relationship Part of the data; the part of the data includes unstructured data under the identifier corresponding to the identifier of the second network function network element.
  • the backup entity of the first network function network element is multiple second network function network elements
  • the identifier is the globally unique access and mobility management function AMF identifier GUAMI.
  • the UDSF sending the unstructured data corresponding to the first network function network element to the second network function network element includes: the UDSF sends the first network function network element to the second network function network element according to the priority of the unstructured data.
  • Unstructured data corresponding to network function network elements may be: priority of time or priority of data, etc.
  • the cache hit rate of high-priority users or high-priority services can be improved to ensure user experience.
  • a data caching method including: a first network function network element determines that a second network function network element is faulty; the first network function network element obtains the information of the second network function network element from an unstructured data storage function UDSF Unstructured data.
  • the difference from the first aspect is that the backup entity of the failed second network function network element, that is, the first network function network element can actively subscribe to the UDSF for unstructured data of the second network function network element. The effect can be seen in the first aspect.
  • the first network function network element determining that the second network function network element is faulty includes: if the first network function network element receives a notification message from the network storage function NRF, the notification message indicates the second network function network If the element is faulty, it is determined that the second network function network element is faulty. The effect of this design can be seen in the first aspect.
  • the notification message includes the correspondence between different identifiers and the identifier of the backup entity of the first network function network element; the backup entity includes the first network function network element; each identifier corresponds to The unstructured data of the first network function network element is different from the unstructured data storage function UDSF.
  • the unstructured data stored by the second network function network element includes: the first network function network element receives the second network function from the UDSF Part of the data of the unstructured data corresponding to the network element; the part of the data includes the unstructured data under the identifier corresponding to the identifier of the second network function network element.
  • the identifier is the globally unique access and mobility management function AMF identifier GUAMI.
  • the method further includes: the first network function network element receives a first request message, the first request message is used to obtain the first unstructured data; if the first network function network element determines that it is not stored locally For the first unstructured data, the first network function network element requests the UDSF to obtain the first unstructured data. That is, if the first network function network element has not obtained the first unstructured data from the UDSF in time, when the first network function network element has received the first request message, it may request the UDSF to obtain the first unstructured data.
  • a communication device including: a processing unit, configured to determine a failure of a first network function network element; a transceiver unit, configured to send an unstructured network element corresponding to the first network function network element to a second network function network element Data, the second network function network element is a backup device of the first network function network element.
  • the processing unit is configured to, if it is determined that the transceiver unit is used to receive a notification message from the network storage function NRF, and the notification message indicates that the first network function network element is faulty, determine that the first network function network element is faulty .
  • the transceiver unit is used to send part of the unstructured data corresponding to the first network function network element to the second network function network element; part of the data includes the unstructured data of the terminal device corresponding to the same identifier Data; among them, the identifier is the globally unique access and mobility management function AMF identifier GUAMI.
  • the transceiver unit is configured to send the unstructured data corresponding to the first network function network element to the second network function network element according to the priority of the unstructured data.
  • a communication device including: a processing unit, configured to determine the failure of a second network function network element; and a transceiver unit, configured to obtain the unstructured network element of the second network function network element from the unstructured data storage function UDSF data.
  • the processing unit is configured to, if the transceiver unit is configured to receive a notification message from the network storage function NRF, and the notification message indicates that the second network function network element is faulty, determine that the second network function network element is faulty.
  • the processing unit is configured to: obtain part of the unstructured data corresponding to the second network function network element from the UDSF; the part of the unstructured data includes unstructured data of the terminal device corresponding to the same identifier; where , Identified as the globally unique access and mobility management function AMF identifier GUAMI.
  • the transceiver unit is used to receive the first request message, which is used to obtain the first unstructured data; the transceiver unit is used to if the first network function network element determines that the first network element does not store the first request message locally. For unstructured data, a request is made to the UDSF to obtain the first unstructured data.
  • a computer-readable storage medium including a program or instruction.
  • the program or instruction is executed by a processor, the method described in the first aspect and any one of the possible designs of the first aspect is carried out.
  • a computer-readable storage medium including a program or instruction.
  • the program or instruction is executed by a processor, the method described in the first aspect and any one of the possible designs of the first aspect is carried out.
  • a computer program product is provided.
  • the computer program product runs on a computer, the method described in the second aspect and any one of the possible designs of the second aspect is executed.
  • An eighth aspect provides a computer program product.
  • the computer program product runs on a computer, the method described in the second aspect and any one of the possible designs of the second aspect is executed.
  • an embodiment of the present application provides a communication system, which may include a first network function network element, a second network function network element, and a UDSF in any possible implementation manner of any of the above aspects.
  • the UDSF can execute the data caching method in the first aspect and any possible design
  • the first network function network element can execute the data caching method in the second aspect and any possible design.
  • FIG. 1 is a schematic diagram of any NF caching context data to the UDSF according to an embodiment of the application
  • FIG. 2 is a schematic diagram of a network architecture provided by an embodiment of the application.
  • FIG. 3 is a schematic flowchart of a data caching method provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of signaling interaction of a data caching method provided by an embodiment of the application.
  • FIG. 5 is a schematic flowchart of a data caching method provided by an embodiment of the application.
  • 6A is a schematic flowchart of a data caching method provided by an embodiment of the application.
  • 6B is a schematic flowchart of a data caching method provided by an embodiment of the application.
  • FIG. 7 is a schematic diagram of signaling interaction of a data caching method provided by an embodiment of the application.
  • FIG. 8 is a schematic structural diagram of a network function network element provided by an embodiment of this application.
  • FIG. 9 is a schematic structural diagram of a network function network element provided by an embodiment of this application.
  • FIG. 10 is a schematic structural diagram of a network function network element provided by an embodiment of this application.
  • FIG. 11 is a schematic structural diagram of a network function network element provided by an embodiment of this application.
  • AMF It is the end point of the radio access network (Radio Access Network, RAN) signaling interface (N2), and the end point of the network attached storage (NAS) (N1) signaling. It is mainly responsible for the encryption and encryption of NAS messages. Complete security, responsible for registration, access, mobility, authentication, transparent SMS and context management and other functions. In addition, when interacting with an evolved packet system (EPS) network, it is also responsible for the distribution of the identification (ID) of the EPS bearer, etc.
  • EPS evolved packet system
  • UDSF The 5G system architecture allows any NF to store and retrieve its unstructured data in UDSF (such as UE messages).
  • the UDSF belongs to the same public land mobile network (PLMN) where the network function network element is located.
  • PLMN public land mobile network
  • NFs can share the UDSF used to store their respective unstructured data, or each NF can have its own corresponding UDSF (for example, the UDSF can be located near the corresponding NF).
  • Network storage function supports the service discovery function, that is, receives the NF-Discovery-Request (NF-Discovery-Request) sent by the network element, and then provides the discovered network element information to the requester; maintains available network element instances
  • the characteristics of the network element and the service capabilities it supports; the characteristic parameters of a network element mainly include: network element instance ID, network element type, network fragment related ID, network element IP or domain name, network element capability information, and supported services Ability name, etc. It can also be said that NRF can be responsible for the registration and management of NF.
  • Session management function The main functions include the end point of session management (SM) messages of NAS messages; the establishment, modification, and release of sessions; UE internet protocol (IP) ) Allocation management; dynamic host configuration protocol (dynamic host configuration protocol, DHCP) function; select and control user plane function (UPF) for a session; collect billing data and support billing interface; determine a session Service and session continuity (SSC) mode; downlink data indication, etc.
  • SM session management function
  • IP internet protocol
  • DHCP dynamic host configuration protocol
  • UPF select and control user plane function
  • Unified data management The main functions that are responsible include: generating the third generation partnership project (3rd generation partnership project, 3gpp) authentication certificate/authentication parameter; storing and managing the permanent user ID of the 5G system ; 3) Subscription information management; 4) Mobile-terminated-short message service (MT-SMS) delivery; 5) SMS management; 6) User’s service network element registration management (for example, the current terminal device Provide business AMF, SMF, etc.).
  • PCF Policy control function entity
  • the main functions are: support a unified policy framework to manage network behaviors; provide policy rules for network entities to implement and execute; access to unified data repository (UDR) subscription information Wait.
  • UDR unified data repository
  • RAN It can be a radio access network in a 5G system, including two functional entities: a centralized unit (CU) and a distributed unit (DU).
  • CU assumes radio resource control (Radio Resource Control, RRC)/packet data convergence protocol (PDCP) layer functions
  • DU assumes radio link control (RLC) layer/media access control (medium access control)
  • RLC radio link control
  • MAC physical layer
  • PHY physical layer
  • Auto scaling A management service that automatically adjusts the scale of cloud resources based on monitoring indicators or preset policies. Automatic scaling supports timing and alarm scaling without manual intervention, which can reduce tedious manual operations. It can also be understood that with elastic scaling, scaling rules can be set according to business needs and policies, ECS instances are automatically added to ensure computing capacity when business needs grow, and elastic computing services (ECS) are automatically reduced when business needs drop. Examples to save costs. Elastic scaling is not only suitable for applications with constantly fluctuating business volume, but also for applications with stable business volume.
  • dynamically adjust computing resources according to business needs such as automatically adding instances to the inspur server load balancer (InSLB) backend during business peaks, and reducing instances when the business is low; automatically replacing unhealthy InSLB backends Examples to ensure the normal operation of the business without manual intervention; set a regular schedule to automatically create a batch of cloud hosts before promotional activities, and cooperate with intelligent scaling to ensure the normal operation of the business.
  • InSLB inspur server load balancer
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” may explicitly or implicitly include one or more of these features. In the description of the present embodiment, unless otherwise specified, "plurality" means two or more.
  • This application addresses the problem that a large number of signaling accesses have a great impact on UDSF after AMF elastic scaling or failure in a 5G system, and proposes a data caching method and device, which can be applied to NF elastic scaling or failure. How to cache the unstructured data stored on the above to another unfaulted NF to ensure uninterrupted services and reduce the impact of a large number of signaling accesses on the UDSF.
  • the NF is not limited to AMF, but can also be UDM, PCF, NRF, etc.
  • the network architecture of the present application may include RAN on the access network side, SMF, NRF, AMF, and UDSF on the core network side.
  • the main functions of each network element can be referred to the above description of related concepts.
  • all network elements surrounding the AMF on the core network side in this application can be applied to this embodiment of this application.
  • AMF can be replaced with UDMA, PCF, or NRF, etc.
  • This application takes AMF as an example for description.
  • NF such as AMF
  • UDSF supports data caching locally Function
  • UDSF detects a certain NF failure
  • it can gradually push the unstructured data of the NF to the local cache of other NFs
  • subscribe to or push the NF's Unstructured data subscribe to or push the NF's Unstructured data.
  • the existing technology is triggered by a business request to obtain unstructured data from the UDSF, and this application can actively push the unstructured data of the NF to the local cache of the unfaulted NF through the UDSF, or UDSF responds to the request of the unfaulted NF and pushes unstructured data to the unfaulted NF local cache.
  • the service request of the terminal device can request the unfaulted NF, which can alleviate the impact of the signaling storm on the UDSF network element and reduce Business delay.
  • the embodiment of the present application provides a data caching method. As shown in FIG. 3, the method includes:
  • the first network function network element stores unstructured data in the UDSF.
  • the embodiment of the present application takes unstructured data as context data as an example for description.
  • the first network function network element is AMF1 as an example.
  • the AMF1 can buffer the context data of the UE, and the AMF1 also sends the locally buffered context data to the UDSF for storage. Multiple context data sent by AMF can be stored in the UDSF.
  • the UDSF determines that the first network function network element is faulty.
  • the UDSF determining that the first network function network element is faulty may include: if the UDSF receives a notification message from the NRF, and the notification message indicates that the first network function network element is faulty, the UDSF determines that the first network function network element is faulty.
  • the first network function network element is AMF1 as an example.
  • AMF1 can notify the RAN that AMF will withdraw from service, and at the same time notify the RAN that it can subsequently request service from a backup NF, such as AMF2. In this way, when the RAN receives the service request of the UE, it can send the service request to AMF2.
  • each NF provides external services through a service-oriented interface, and allows other NFs to access or call their own services.
  • the NF that provides the service can be called the "NF service provider”, and the NF that accesses or calls the service can be called the "NF service user", and these activities require the management and monitoring of the NRF. That is, when each NF is activated, it must register with the NRF to provide services. For example, if NF1 wants NF2 to provide services, first go to NRF for service discovery. In addition, when a certain NF information is changed, it will also be automatically synchronized to the NRF, and will also be deregistered with the NRF when the NF is powered off.
  • NRF can maintain information about deployed NFs, process NF discovery requests from other network elements, and can also register and manage NFs. That is, NRF needs to maintain real-time information about all network element services in the entire network.
  • NRF When AMF1 elastically scales or fails, referring to Figure 4, if NRF receives a de-registration request sent by AMF1, NRF confirms that AMF1 is faulty. When NRF confirms that AMF1 is faulty, NRF can actively send a notification message to UDSF to notify AMF1 of the fault.
  • the embodiment of the present application includes the elastic expansion and contraction within the scope of the failure.
  • the NRF can perform two-way periodic state detection with each NF.
  • the NRF can notify other related NFs of the abnormal state of the failed NF.
  • Other NFs include UDSF, SMF and RAN, etc.
  • the first network function network element is AMF1 as an example.
  • the UDSF determining that the first network function network element is faulty may include: the UDSF may periodically detect whether multiple AMFs corresponding to the UDSF are faulty.
  • the multiple AMFs corresponding to the UDSF may be multiple AMFs that cache unstructured data in the UDSF. For example, when the cycle time arrives, when the UDSF sends a detection message to AMF1, if it does not receive a response from AMF1 within a certain period of time, the UDSF determines that AMF1 is faulty.
  • the UDSF sends unstructured data corresponding to the first network function network element to the second network function network element, and the second network function network element is a backup device of the first network function network element.
  • the UDSF when the UDSF determines that the first network function network element is faulty, the UDSF may actively push the cached unstructured data of the first network function network element AMF1 to the second network function network element AMF2.
  • the NRF can maintain the information of the deployed NF
  • the information includes the information of the backup NF once the NF fails, that is, the backup relationship between the NFs, such as the first network function network element AMF1
  • the backup NF of AMF2 is AMF2.
  • the UDSF can query the NRF to find that the backup NF of AMF1 is AMF2. In this way, the UDSF can send the locally cached context data of AMF1 to AMF2.
  • the RAN when the UE initiates a service request (service request) to the RAN, or the network side initiates a service process, for example, when the service request is used to request context data, the RAN can request a service from AMF2. Or, when a session request arrives at the SMF, the SMF has learned from the NRF that AMF1 has failed. At this time, the SMF can send the session request to AMF2. If the session request is used to request the UE or the network side to request context data, AMF 2 can request The local cache reads the context data and sends it to the SMF so that the SMF can continue to process the business process based on the context data.
  • the UDSF when the UDSF detects a NF failure, it can push the unstructured data corresponding to the failed NF to the local cache of other unfaulted NFs, so that the UE or the network side
  • the sent service request can obtain unstructured data from the standby NF in order to continue business processing.
  • the method in the embodiments of this application can reduce the need for UDSF network elements. The impact of the signaling, which can increase the service delay.
  • the embodiment of the present application also provides a data caching method, as shown in FIG. 5, including:
  • the second network function network element stores unstructured data in the UDSF.
  • step 501 refer to the implementation of the first network function network element in step 301.
  • the first network function network element determines that the second network function network element is faulty.
  • the first network function network element is AMF2
  • the second network function network element is AMF1 as an example.
  • a de-registration process can be sent to the NRF to notify the NRF that AMF1 has failed.
  • the NRF can then notify other NFs of the AMF1 failure event, including the backup NF of AMF1 ( AMF2), UDSF and RAN, etc.
  • AMF2 obtains the event of AMF1 failure, AMF2 determines that AMF1 has failed. For example, if AMF2 receives a notification message from NRF, and the notification message indicates that AMF1 is faulty, it is determined that AMF1 is faulty.
  • the first network function network element obtains unstructured data of the second network function network element from the UDSF.
  • AMF2 may send a request message to UDSF.
  • the request message is used to request context data corresponding to AMF1 cached in UDSF from UDSF.
  • the SMF when the UE initiates a service request or the network side initiates a service process, when the service request or service process reaches the SMF, the SMF has learned from the NRF that AMF1 has failed. At this time, the SMF can send the service request of the UE or the service process of the network side Sent to AMF2, AMF2 can read the context data requested by the UE or the network side from the local cache and send it to SMF, so that SMF can continue to process the business process according to the context data.
  • AMF2 can request it from UDSF Context data.
  • AMF2 receives the first request message, which is used to obtain the first unstructured data; if AMF2 determines that the first unstructured data is not stored locally, AMF2 requests the UDSF to obtain the first unstructured data ⁇ Data.
  • the difference from the previous embodiment is that in this embodiment, the backup NF of the failed NF can actively subscribe to the UDSF for unstructured data of the failed NF, and the effect is the same as the previous embodiment. .
  • an embodiment of the present application also provides a data caching method, as shown in FIG. 6A, including:
  • the first network function network element stores unstructured data in the UDSF.
  • step 601A For the implementation of step 601A, refer to step 301.
  • the UDSF determines that the first network function network element is faulty.
  • step 602A For the implementation of step 602A, refer to step 302.
  • step 302 The difference from step 302 is that if the UDSF receives the notification message sent by the NRF to notify the AMF of the failure, the notification message also includes the correspondence between the different identifiers and the identifiers of the backup entities of the first network function network element.
  • the backup entity includes a second network function network element. The unstructured data corresponding to each identifier is different.
  • the identifier may be a globally unique access and mobility management function AMF identifier (globally unique AMF identifier, GUAMI).
  • the AMF when the AMF caches the context data of the UE, it can group the context data of multiple UEs according to GUAMI, that is, each AMF can store one or more GUAMIs.
  • the AMF can allocate a temporary identifier for the UE: 5G globally unique temporary identifier (5G-GUTI), and 5G-GUTI includes GUAMI. That is, the AMF can select a GUAMI and establish the corresponding relationship between the context data of the UE and the GUAMI.
  • the AMF will also send the corresponding relationship between the context data of the UE and the GUAMI to the UDSF for caching. That is, the corresponding relationship between the context data of the UE in the AMF and the GUAMI is also cached in the UDSF.
  • the UDSF sends partial data of unstructured data corresponding to the first network function network element to the second network function network element; the partial data includes unstructured data under the identifier corresponding to the identifier of the second network function network element.
  • the first network function network element is AMF1
  • the second network function network element is AMF2
  • the unstructured data is context data as an example.
  • the context data of the UE corresponding to GUAMI1 and the context data of the UE corresponding to GUAMI2 are cached in AMF1.
  • AMF1 is elastically scalable (preparing to withdraw from service), for example, AMF1 can initiate a de-registration process to NRF.
  • NRF determines that AMF is faulty, NRF can notify other NFs (such as AMF1's backup NF (AMF2), SMF, and AMF with a second notification message).
  • AMF2 AMF1's backup NF
  • SMF SMF
  • AMF AMF with a second notification message
  • the correspondence indicates that the context data corresponding to GUAMI1 cached in AMF1 needs to be migrated to the target AMF2, and the context data corresponding to GUAMI2 cached in AMF1 needs to be migrated to the target AMF3.
  • the UDSF can send the locally cached GUAMI1 and the context data corresponding to GUAMI1 to AMF2, and the locally cached GUAMI2 and the context data corresponding to GUAMI2 to AMF3.
  • AMF1 when AMF1 is about to withdraw from the service, it also needs to send the corresponding relationship between the GUAMI and the identifier of the spare AMF to the RAN.
  • the RAN can send the service request to a backup AMF of AMF1 according to the correspondence between the GUAMI and the identifier of the backup AMF.
  • the SMF receives the session message from the UE or the network side, the SMF has learned from the NRF that AMF1 has failed.
  • the SMF can send the session message to a backup AMF according to the correspondence between the GUAMI and the backup AMF identifier.
  • the AMF can read the context data requested by the UE or the network side from the local cache and send it to the SMF, so that the SMF can continue to process the business process according to the context data.
  • UDSF can push the context data of the UE according to GUAMI, which can ensure that the context data and service processing of the UE are on the same AMF node, and the AMF can directly read the context data from the local cache. Need to obtain context data from UDSF. This not only reduces the signaling impact on the UDSF, but also saves the memory resources of the spare AMF.
  • AMF2/AMF3 can also actively obtain UE context data corresponding to GUAMI on AMF1 from UDSF. For example, when AMF2 determines that AMF1 is faulty, it can subscribe to UDSF the context data of UE corresponding to GUAMI1 corresponding to AMF1; when AMF3 determines that AMF1 is faulty, it can subscribe to UDSF the context data of UE corresponding to GUAMI2 corresponding to AMF1.
  • This application also provides a data caching method. As shown in FIG. 6B, the method includes:
  • the first network function network element stores unstructured data in the UDSF.
  • step 601B For the implementation of step 601B, refer to step 301.
  • the first network function network element determines that the first network function network element is overloaded, it sends indication information to the UDSF.
  • the indication information is used to instruct the UDSF to send to the second network function network element the non-function network element corresponding to the first network function network element. Part of structured data.
  • the first network function network element determines that the first network function network element is overloaded. For example, the first network function network element determines that its own CPU is overloaded, or the first network function network element receives and receives data with a delay exceeding a preset value. Threshold etc.
  • the UDSF can store unstructured data corresponding to multiple network function network elements (including the first network function network element), or the UDSF stores unstructured data corresponding to the first network function network element
  • the network function network element can send instruction information to the UDSF storing the unstructured data of the first network function network element to instruct the UDSF to store the unstructured data corresponding to the first network function network element in the UDSF.
  • the data is sent to a second network function network element, and the second network function network element is a backup network element of the first network function network element.
  • the indication information may be used to instruct the UDSF to send part of the unstructured data that meets the trigger condition to the second network function network element.
  • the indication information includes the identification of the GUAMI and the second network function network element, which means that the first network function network element instructs the UDSF to send the locally stored unstructured data corresponding to the domain GUAMI to the second network function network element.
  • the UDSF receives instruction information from the first network function network element, and the UDSF sends partial data of unstructured data corresponding to the first network function network element to the second network function network element according to the instruction information.
  • the UDSF may send the context data of multiple UEs corresponding to the GUAMI stored in the UDSF to the second network function network element according to the indication information.
  • the RAN can send the service request to a backup network element of the first network function network element, that is, the second network function network element, according to the correspondence between the GUAMI and the backup AMF identifier.
  • the SMF receives the session message from the UE or the network side, the SMF has learned from the NRF that the first network function network element is overloaded, and has instructed the UDSF to send some unstructured data to the second network function network element.
  • the SMF can send the session message to a second network function network element according to the correspondence between the GUAMI and the identifier of the standby second network function network element, and the second network function network element can read the context requested by the UE or the network side from the local cache
  • the data is sent to the SMF so that the SMF can continue to process the business process based on the context data.
  • the UDSF when the UDSF sends the UE context data to the AMF, it can be pushed according to a certain strategy.
  • strategies usually include rules and triggers. When a trigger event occurs, data can be pushed according to the rules.
  • the trigger mainly includes events, such as NF state change, etc.
  • the embodiment of the present application may be to determine an AMF failure.
  • the rules are mainly composed of conditions and actions.
  • the condition is similar to a database record query, describing records that meet the condition.
  • the condition may be a condition for preferentially pushing context data.
  • Actions mainly include push actions.
  • the push strategy of the UDSF by defining the push strategy of the UDSF, it is possible to meet the requirements of various scenarios, for example, preferentially push the context data that meets the conditions.
  • the UDSF sends the unstructured data corresponding to the first network function network element to the second network function network element according to the priority of the unstructured data.
  • the UDSF sends partial data of the unstructured data corresponding to the first network function network element to the second network function network element according to the priority of the unstructured data.
  • the priority of unstructured data may be: priority of time or priority of data, etc.
  • the UDSF may preferentially push the context data of the UE corresponding to the service with the higher priority in time to the AMF2, that is, the context corresponding to the service with low latency is preferentially pushed. Data, and then push the context data of the UE corresponding to the lower-priority service.
  • the UDSF may preferentially push the context data of the UE corresponding to the call service to the AMF2 to ensure the call quality of the UE user.
  • the services with higher priority in time can also be ultra-reliable low-latency communications (URLLC) services, such as voice over long-term evolution (voice over long-term evolution, VoLTE) services and automatic Driving business, etc.
  • URLLC ultra-reliable low-latency communications
  • the UDSF may preferentially push the context data of the UE with the higher priority in the data to the AMF2, for example, the context data of the UE corresponding to the VIP (very important person) user, to Ensure the user experience of high-priority users.
  • pushing unstructured data according to the priority of the data through the UDSF can improve the cache hit rate of high-priority users or high-priority services and ensure user experience.
  • the network function network element includes hardware and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Those skilled in the art can use different methods for each specific application in combination with the embodiments to implement the described functions, but such implementation should not be considered as going beyond the scope of the present application.
  • the network function network element can be divided into functional modules according to the foregoing method examples.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 8 shows a schematic diagram of a possible composition of the network function network element 80 involved in the above embodiment.
  • the network function network element may be the UDSF in the above embodiment.
  • the network function network element 80 may include: a processing unit 801 and a transceiver unit 802.
  • processing unit 801 may be used to support the network function network element 80 to execute the above step 302, step 603A, step 603B, etc., and/or other processes used in the technology described herein.
  • the transceiving unit 802 may be used to support the network function network element 80 to perform the above step 303, step 603A, step 603B, etc., and/or other processes used in the technology described herein. For example, receiving notifications or unstructured data, etc., and/or other processes used in the techniques described herein.
  • the network function network element 80 provided in this embodiment is used to execute the above-mentioned data caching method, so the same effect as the above-mentioned implementation method can be achieved.
  • the network function network element 80 may include a processing module, a storage module, and a communication module.
  • the processing module may be used to control and manage the actions of the network function network element 80, for example, it may be used to support the network function network element 80 to execute the steps performed by the processing unit 801 described above.
  • the storage module may be used to support the network function network element 80 to store program codes and data.
  • the communication module may be used to support communication between the network function network element 80 and other devices, such as communication with other NFs.
  • the processing module may be a processor or a controller. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application.
  • the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on.
  • the storage module may be a memory.
  • the communication module may specifically be a transceiver, a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, and other devices that interact with other communication devices.
  • the network function network element 80 involved in this embodiment may be a network function network element 90 having the structure shown in FIG. 9 .
  • the embodiment of the present application also provides a communication device including one or more processors and one or more memories.
  • the one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes.
  • the computer program codes include computer instructions.
  • the communication device executes The above related method steps implement the data caching method in the above embodiment.
  • the embodiments of the present application also provide a computer-readable storage medium that stores computer instructions in the computer-readable storage medium.
  • the UDSF executes the above-mentioned related method steps to implement the steps in the above-mentioned embodiments. Data caching method.
  • the embodiment of the present application also provides a computer program product.
  • the computer program product runs on a computer, the computer is caused to execute the above-mentioned related steps, so as to realize the data caching method executed by the UDSF in the above-mentioned embodiment.
  • the embodiments of the present application also provide a device.
  • the device may specifically be a chip, component or module.
  • the device may include a processor and a memory connected to each other.
  • the memory is used to store computer execution instructions.
  • the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the data caching method executed by the UDSF in the foregoing method embodiments.
  • FIG. 10 shows a schematic diagram of a possible composition of the network function network element 100 involved in the foregoing embodiment.
  • the network function network element 100 may be the one in the foregoing embodiment.
  • the first network function network element or the second network function network element, the network function network element may be AMF, or other network function network elements, such as UDMA, PCF, or NRF.
  • the network function network element 100 may include: a processing unit 1001 and a transceiver unit 1002.
  • processing unit 1001 may be used to support the network function network element 80 to perform the above-mentioned step 502, etc., and/or be used in other processes of the technology described herein.
  • the transceiver unit 1002 may be used to support the network function network element 100 to perform the above-mentioned step 503, etc., and/or be used in other processes of the technology described herein. For example, receiving notifications or unstructured data, etc., and/or other processes used in the techniques described herein.
  • the network function network element 100 provided in this embodiment is used to execute the above-mentioned data caching method, so the same effect as the above-mentioned implementation method can be achieved.
  • the network function network element 100 may include a processing module, a storage module, and a communication module.
  • the processing module may be used to control and manage the actions of the network function network element 100, for example, it may be used to support the network function network element 100 to perform the steps performed by the processing unit 1001.
  • the storage module may be used to support the network function network element 100 to store program codes and data.
  • the communication module may be used to support communication between the network function network element 100 and other devices, for example, communication with other NFs (such as UDSF, NRF, etc.).
  • the processing module may be a processor or a controller. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application.
  • the processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on.
  • the storage module may be a memory.
  • the communication module may specifically be a transceiver, a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, and other devices that interact with other electronic devices.
  • the network function network element 100 involved in this embodiment may be the AMF 110 having the structure shown in FIG. 11.
  • the embodiment of the present application also provides a communication device including one or more processors and one or more memories.
  • the one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes.
  • the computer program codes include computer instructions.
  • the communication device executes The above related method steps implement the data caching method in the above embodiment.
  • the embodiments of the present application also provide a computer-readable storage medium that stores computer instructions, and when the computer instructions run on the AMF, the AMF is caused to execute the above-mentioned related method steps to implement the steps in the above-mentioned embodiments.
  • Data caching method when the computer instructions run on the AMF, the AMF is caused to execute the above-mentioned related method steps to implement the steps in the above-mentioned embodiments.
  • the embodiment of the present application also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned related steps, so as to realize the data caching method executed by the AMF in the above-mentioned embodiment.
  • the embodiments of the present application also provide a device.
  • the device may specifically be a chip, component or module.
  • the device may include a processor and a memory connected to each other.
  • the memory is used to store computer execution instructions.
  • the processor can execute the computer-executable instructions stored in the memory, so that the chip executes the data caching method executed by the AMF or other NFs in the foregoing method embodiments.
  • the UDSF, AMF, computer storage media, computer program products, or chips provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding methods provided above. The beneficial effects of the method are not repeated here.
  • Another embodiment of the present application provides a communication system, which may include the foregoing UDSF and the foregoing AMF, and may be used to implement the foregoing data caching method.
  • the disclosed device and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. It can be combined or integrated into another device, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate.
  • the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various 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 realized 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 readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the foregoing 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 codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a data caching method and apparatus, wherein same relate to the field of communications, and can alleviate the problem of the impact of massive signaling access on an unstructured data storage function (UDSF) when an AMF scales elastically or fails. The specific solution is: the UDSF determining that a first network function network element fails; and the UDSF sending, to a second network function network element, unstructured data corresponding to the first network function network element, wherein the second network function network element is a backup device of the first network function network element. The embodiments of the present application are used during the process of transferring cached unstructured data after an AMF scales elastically.

Description

一种数据缓存方法和装置Data caching method and device
本申请要求于2019年11月11日提交国家知识产权局、申请号为201911095573.6、申请名称为“一种数据缓存方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on November 11, 2019, the application number is 201911095573.6, and the application name is "a data caching method and device", the entire content of which is incorporated into this application by reference in.
技术领域Technical field
本申请实施例涉及通信技术领域,尤其涉及一种数据缓存方法和装置。The embodiments of the present application relate to the field of communication technologies, and in particular, to a data caching method and device.
背景技术Background technique
Rel.15标准的第五代(5th-Generation,5G)核心系统架构是基于服务化的架构(service based architecture,SBA),主要目的是将每个网络功能(network function,NF)网元拆分成一个或多个网络功能网元服务(NF service),每个网络功能网元服务通过标准接口和其他网络功能网元服务互通。如图1所示,5G系统架构允许任何NF在非结构化数据存储功能(unstructured data storage function,UDSF)中存储和读取非结构化数据,例如用户设备(user equipment,UE)上下文。多个NF可以共用一个UDSF网元,也可以拥有各自独立的UDSF网元。The fifth-generation (5th-Generation, 5G) core system architecture of the Rel.15 standard is based on a service-based architecture (SBA), and the main purpose is to split each network function (NF) network element One or more network function network element services (NF service), each network function network element service intercommunication with other network function network element services through standard interfaces. As shown in Figure 1, the 5G system architecture allows any NF to store and read unstructured data in an unstructured data storage function (UDSF), such as user equipment (UE) context. Multiple NFs can share one UDSF network element, or have their own independent UDSF network elements.
接入及移动性管理功能(access and mobility management function,AMF)弹性伸缩或者故障时,多个AMF可以共享一个UDSF网元,每个AMF将自己的UE上下文数据保存到UDSF。当其中一个AMF退出服务或者故障时,如果该AMF下的UE再次发起业务请求时,消息被发送到其他的AMF,其他AMF从UDSF获取该UE上下文数据,从而继续为UE提供服务,不会造成业务中断,保证了用户体验。When access and mobility management function (AMF) elastically scales or fails, multiple AMFs can share a UDSF network element, and each AMF saves its own UE context data to the UDSF. When one of the AMFs exits the service or fails, if the UE under the AMF initiates a service request again, the message is sent to the other AMFs, and the other AMFs obtain the UE context data from the UDSF, so as to continue to provide services to the UE without causing Business interruption ensures the user experience.
但是,AMF弹性伸缩或者故障后,大量的信令访问会给UDSF带来很大的冲击。此外,即使是一个用户也有可能在UDSF存储了多种上下文数据,可能需要进行多次数据读取操作,会进一步加深信令风暴对UDSF网元的冲击,且增加了业务时延。However, after AMF elastically scales or fails, a large amount of signaling access will have a great impact on UDSF. In addition, even one user may store multiple context data in the UDSF, and multiple data reading operations may be required, which will further deepen the impact of the signaling storm on the UDSF network element and increase the service delay.
发明内容Summary of the invention
本申请实施例提供一种数据缓存的方法和装置,可以缓解弹性伸缩或故障后,信令风暴对UDSF网元的冲击,减少业务时延。The embodiments of the present application provide a data caching method and device, which can alleviate the impact of the signaling storm on the UDSF network element after the elastic scaling or failure, and reduce the service delay.
为达到上述目的,本申请实施例采用如下技术方案:To achieve the foregoing objectives, the following technical solutions are adopted in the embodiments of the present application:
第一方面,提供一种数据缓存方法,包括:非结构化数据存储功能UDSF确定第一网络功能网元故障;UDSF向第二网络功能网元发送第一网络功能网元对应的非结构化数据,第二网络功能网元为第一网络功能网元的备用设备。由于UDSF中可以管理有各个网络功能网元的非结构化数据,这样当第一网络功能网元故障时,现有技术中UE或者网络侧都会向UDSF请求非结构化数据,会给UDSF造成信令冲击。而本申请实施例中,UDSF确定第一网络功能网元故障时,可以主动推送第一网络功能网元对应的非结构化数据发送给未故障的第二网络功能网元,以便UE或者网络侧可以向第二网络功能网元请求非结构化数据,缓解UDSF的信令冲击。非结构化数据可以为上下文数据。第二网络功能网元可以为第一网络功能网元的备用实体。In a first aspect, a data caching method is provided, including: an unstructured data storage function UDSF determines that a first network function network element is faulty; the UDSF sends unstructured data corresponding to the first network function network element to a second network function network element , The second network function network element is a backup device of the first network function network element. Since the UDSF can manage the unstructured data of each network function network element, when the first network function network element fails, the UE or the network side in the prior art will request unstructured data from the UDSF, which will cause trust to the UDSF. Make an impact. In the embodiment of this application, when the UDSF determines that the first network function network element is faulty, it can actively push the unstructured data corresponding to the first network function network element and send it to the non-faulty second network function network element for the UE or the network side. It can request unstructured data from the second network function network element to alleviate the impact of UDSF signaling. Unstructured data can be contextual data. The second network function network element may be a backup entity of the first network function network element.
在一种可能的设计中,UDSF确定第一网络功能网元故障包括:若UDSF接收到 来自网络存储功能NRF的通知消息,通知消息指示第一网络功能网元故障,则UDSF确定第一网络功能网元故障。由于NRF可以对各个NF的注册、更新或者去注册等进行管理,当第一网络功能网元故障时,NRF可以知道第一网络功能网元故障,这时NRF可以将第一网络功能网元故障事件通知给其他NF,包括第二网络功能网元、UDSF、SMF等,UDSF便能根据该事件确定第一网络功能网元故障。在一种可能的设计中,第一网络功能网元也可以将第一网络功能网元不可用的消息通知给RAN。这样,当RNA或者其他网络功能网元等接收到服务请求时,可以将该服务请求发送给第一网络功能网元备用的网络功能网元。In a possible design, the UDSF determining that the first network function network element is faulty includes: if the UDSF receives a notification message from the network storage function NRF, and the notification message indicates that the first network function network element is faulty, the UDSF determines the first network function The network element is faulty. Since NRF can manage the registration, update or de-registration of each NF, when the first network function network element fails, NRF can know that the first network function network element is faulty, and then NRF can detect the first network function network element failure. The event is notified to other NFs, including the second network function network element, UDSF, SMF, etc., and the UDSF can determine the failure of the first network function network element according to the event. In a possible design, the first network function network element may also notify the RAN of a message that the first network function network element is unavailable. In this way, when RNA or other network function network elements, etc., receive a service request, the service request can be sent to the network function network element that is the backup of the first network function network element.
在一种可能的设计中,通知消息包括不同的标识符与所述第一网络功能网元的备用实体的标识的对应关系;备用实体包括第二网络功能网元;每个标识符对应的非结构化数据不同。UDSF向第二网络功能网元发送第一网络功能网元对应的非结构化数据包括:UDSF按照所述对应关系向第二网络功能网元发送第一网络功能网元对应的非结构化数据的部分数据;部分数据包括与第二网络功能网元的标识对应的标识符下的非结构化数据。这是由于,如果第一网络功能网元的备用实体为多个第二网络功能网元,UDSF向每个第二网络功能网元推送第一网络功能网元的全部非结构化数据时,会导致第二网络功能网元上较大的数据冗余,浪费内存资源。如果只将部分数据发给一个第二网络功能网元,又可能导致缓存命中率下降。因此,本申请实施例中,UDSF可以按照标识符向备用的网络功能网元推送部分非结构化数据,可节省网络功能网元的内存资源,还可以提升缓存命中率。In a possible design, the notification message includes the correspondence between different identifiers and the identifier of the standby entity of the first network function network element; the standby entity includes the second network function network element; the non-identifier corresponding to each identifier Structured data is different. UDSF sending the unstructured data corresponding to the first network function network element to the second network function network element includes: UDSF sends the unstructured data corresponding to the first network function network element to the second network function network element according to the corresponding relationship Part of the data; the part of the data includes unstructured data under the identifier corresponding to the identifier of the second network function network element. This is because if the backup entity of the first network function network element is multiple second network function network elements, when UDSF pushes all the unstructured data of the first network function network element to each second network function network element, it will This leads to greater data redundancy on the second network function network element, and waste of memory resources. If only part of the data is sent to a second network function network element, the cache hit rate may decrease. Therefore, in the embodiment of the present application, the UDSF can push part of the unstructured data to the standby network function network element according to the identifier, which can save the memory resources of the network function network element and can also improve the cache hit rate.
在一种可能的设计中,标识符为全球唯一的接入和移动管理功能AMF标识符GUAMI。In one possible design, the identifier is the globally unique access and mobility management function AMF identifier GUAMI.
在一种可能的设计中,UDSF向第二网络功能网元发送第一网络功能网元对应的非结构化数据包括:UDSF按照非结构化数据的优先级向第二网络功能网元发送第一网络功能网元对应的非结构化数据。在一些实施例中,非结构化数据的优先级可以是:时间的优先级或数据的优先级等。可以提升高优先级用户或者高优先级业务的缓存命中率,保证用户体验。In a possible design, the UDSF sending the unstructured data corresponding to the first network function network element to the second network function network element includes: the UDSF sends the first network function network element to the second network function network element according to the priority of the unstructured data. Unstructured data corresponding to network function network elements. In some embodiments, the priority of unstructured data may be: priority of time or priority of data, etc. The cache hit rate of high-priority users or high-priority services can be improved to ensure user experience.
第二方面,提供一种数据缓存方法,包括:第一网络功能网元确定第二网络功能网元故障;第一网络功能网元从非结构化数据存储功能UDSF获取第二网络功能网元的非结构化数据。与第一方面不同的是,故障的第二网络功能网元的备用实体,即第一网络功能网元可以主动向UDSF订阅第二网络功能网元的非结构化数据。其效果可以参见第一方面。In a second aspect, a data caching method is provided, including: a first network function network element determines that a second network function network element is faulty; the first network function network element obtains the information of the second network function network element from an unstructured data storage function UDSF Unstructured data. The difference from the first aspect is that the backup entity of the failed second network function network element, that is, the first network function network element can actively subscribe to the UDSF for unstructured data of the second network function network element. The effect can be seen in the first aspect.
在一种可能的设计中,第一网络功能网元确定第二网络功能网元故障包括:若第一网络功能网元接收到来自网络存储功能NRF的通知消息,通知消息指示第二网络功能网元故障,则确定第二网络功能网元故障。该设计的效果可以参见第一方面。In a possible design, the first network function network element determining that the second network function network element is faulty includes: if the first network function network element receives a notification message from the network storage function NRF, the notification message indicates the second network function network If the element is faulty, it is determined that the second network function network element is faulty. The effect of this design can be seen in the first aspect.
在一种可能的设计中,所述通知消息包括不同的标识符与第一网络功能网元的备用实体的标识的对应关系;备用实体包括所述第一网络功能网元;每个标识符对应的非结构化数据不同;第一网络功能网元从非结构化数据存储功能UDSF获取第二网络功能网元存储的非结构化数据包括:第一网络功能网元接收来自UDSF的第二网络功能网元对应的非结构化数据的部分数据;部分数据包括与第二网络功能网元的标识对 应的标识符下的非结构化数据。该设计的效果可以参见第一方面。In a possible design, the notification message includes the correspondence between different identifiers and the identifier of the backup entity of the first network function network element; the backup entity includes the first network function network element; each identifier corresponds to The unstructured data of the first network function network element is different from the unstructured data storage function UDSF. The unstructured data stored by the second network function network element includes: the first network function network element receives the second network function from the UDSF Part of the data of the unstructured data corresponding to the network element; the part of the data includes the unstructured data under the identifier corresponding to the identifier of the second network function network element. The effect of this design can be seen in the first aspect.
在一种可能的设计中,标识为全球唯一的接入和移动管理功能AMF标识符GUAMI。In one possible design, the identifier is the globally unique access and mobility management function AMF identifier GUAMI.
在一种可能的设计中,该方法还包括:第一网络功能网元接收第一请求消息,第一请求消息用于获取第一非结构化数据;若第一网络功能网元确定本地未存储第一非结构化数据,则第一网络功能网元向UDSF请求获取第一非结构化数据。即若第一网络功能网元还未及时从UDSF获取到第一非结构化数据,在第一网络功能网元已经收到第一请求消息时,可以向UDSF请求获取第一非结构化数据。In a possible design, the method further includes: the first network function network element receives a first request message, the first request message is used to obtain the first unstructured data; if the first network function network element determines that it is not stored locally For the first unstructured data, the first network function network element requests the UDSF to obtain the first unstructured data. That is, if the first network function network element has not obtained the first unstructured data from the UDSF in time, when the first network function network element has received the first request message, it may request the UDSF to obtain the first unstructured data.
第三方面,提供一种通信装置,包括:处理单元,用于确定第一网络功能网元故障;收发单元,用于向第二网络功能网元发送第一网络功能网元对应的非结构化数据,第二网络功能网元为第一网络功能网元的备用设备。In a third aspect, a communication device is provided, including: a processing unit, configured to determine a failure of a first network function network element; a transceiver unit, configured to send an unstructured network element corresponding to the first network function network element to a second network function network element Data, the second network function network element is a backup device of the first network function network element.
在一种可能的设计中,处理单元,用于若确定收发单元用于接收到来自网络存储功能NRF的通知消息,通知消息指示第一网络功能网元故障,则确定第一网络功能网元故障。In a possible design, the processing unit is configured to, if it is determined that the transceiver unit is used to receive a notification message from the network storage function NRF, and the notification message indicates that the first network function network element is faulty, determine that the first network function network element is faulty .
在一种可能的设计中,收发单元,用于向第二网络功能网元发送第一网络功能网元对应的非结构化数据的部分数据;部分数据包括同一标识对应的终端设备的非结构化数据;其中,标识为全球唯一的接入和移动管理功能AMF标识符GUAMI。In a possible design, the transceiver unit is used to send part of the unstructured data corresponding to the first network function network element to the second network function network element; part of the data includes the unstructured data of the terminal device corresponding to the same identifier Data; among them, the identifier is the globally unique access and mobility management function AMF identifier GUAMI.
在一种可能的设计中,收发单元,用于按照非结构化数据的优先级向第二网络功能网元发送第一网络功能网元对应的非结构化数据。In a possible design, the transceiver unit is configured to send the unstructured data corresponding to the first network function network element to the second network function network element according to the priority of the unstructured data.
第四方面,提供一种通信装置,包括:处理单元,用于确定第二网络功能网元故障;收发单元,用于从非结构化数据存储功能UDSF获取第二网络功能网元的非结构化数据。In a fourth aspect, a communication device is provided, including: a processing unit, configured to determine the failure of a second network function network element; and a transceiver unit, configured to obtain the unstructured network element of the second network function network element from the unstructured data storage function UDSF data.
在一种可能的设计中,处理单元,用于若收发单元用于接收到来自网络存储功能NRF的通知消息,通知消息指示第二网络功能网元故障,则确定第二网络功能网元故障。In a possible design, the processing unit is configured to, if the transceiver unit is configured to receive a notification message from the network storage function NRF, and the notification message indicates that the second network function network element is faulty, determine that the second network function network element is faulty.
在一种可能的设计中,处理单元,用于:从UDSF获取第二网络功能网元对应的部分非结构化数据;部分非结构化数据包括同一标识对应的终端设备的非结构化数据;其中,标识为全球唯一的接入和移动管理功能AMF标识符GUAMI。In a possible design, the processing unit is configured to: obtain part of the unstructured data corresponding to the second network function network element from the UDSF; the part of the unstructured data includes unstructured data of the terminal device corresponding to the same identifier; where , Identified as the globally unique access and mobility management function AMF identifier GUAMI.
在一种可能的设计中,收发单元,用于接收第一请求消息,第一请求消息用于获取第一非结构化数据;收发单元,用于若第一网络功能网元确定本地未存储第一非结构化数据,则向UDSF请求获取第一非结构化数据。In a possible design, the transceiver unit is used to receive the first request message, which is used to obtain the first unstructured data; the transceiver unit is used to if the first network function network element determines that the first network element does not store the first request message locally. For unstructured data, a request is made to the UDSF to obtain the first unstructured data.
第五方面,提供一种计算机可读存储介质,包括程序或指令,当所述程序或指令被处理器运行时,如第一方面以及第一方面的任一种可能的设计所述的方法被执行。In a fifth aspect, a computer-readable storage medium is provided, including a program or instruction. When the program or instruction is executed by a processor, the method described in the first aspect and any one of the possible designs of the first aspect is carried out.
第六方面,提供一种计算机可读存储介质,包括程序或指令,当所述程序或指令被处理器运行时,如第一方面以及第一方面的任一种可能的设计所述的方法被执行。In a sixth aspect, a computer-readable storage medium is provided, including a program or instruction. When the program or instruction is executed by a processor, the method described in the first aspect and any one of the possible designs of the first aspect is carried out.
第七方面,提供一种计算机程序产品,当计算机程序产品在计算机上运行时,如第二方面以及第二方面的任一种可能的设计所述的方法所述的方法被执行。In a seventh aspect, a computer program product is provided. When the computer program product runs on a computer, the method described in the second aspect and any one of the possible designs of the second aspect is executed.
第八方面,提供一种计算机程序产品,当计算机程序产品在计算机上运行时,如第二方面以及第二方面的任一种可能的设计所述的方法被执行。An eighth aspect provides a computer program product. When the computer program product runs on a computer, the method described in the second aspect and any one of the possible designs of the second aspect is executed.
第九方面,本申请实施例提供了一种通信系统,该通信系统可以包括以上任一方面的任一项可能的实现方式中的第一网络功能网元、第二网络功能网元和UDSF。该UDSF可以执行上述第一方面及任一可能的设计中的数据缓存方法,该第一网络功能网元可以执行上述第二方面及任一可能的设计中的数据缓存方法。In a ninth aspect, an embodiment of the present application provides a communication system, which may include a first network function network element, a second network function network element, and a UDSF in any possible implementation manner of any of the above aspects. The UDSF can execute the data caching method in the first aspect and any possible design, and the first network function network element can execute the data caching method in the second aspect and any possible design.
附图说明Description of the drawings
图1为本申请实施例提供的一种任何NF向UDSF缓存上下文数据的示意图;FIG. 1 is a schematic diagram of any NF caching context data to the UDSF according to an embodiment of the application;
图2为本申请实施例提供的一种网络架构示意图;FIG. 2 is a schematic diagram of a network architecture provided by an embodiment of the application;
图3为本申请实施例提供的一种数据缓存方法流程示意图;FIG. 3 is a schematic flowchart of a data caching method provided by an embodiment of the application;
图4为本申请实施例提供的一种数据缓存方法的信令交互示意图;4 is a schematic diagram of signaling interaction of a data caching method provided by an embodiment of the application;
图5为本申请实施例提供的一种数据缓存方法流程示意图;FIG. 5 is a schematic flowchart of a data caching method provided by an embodiment of the application;
图6A为本申请实施例提供的一种数据缓存方法流程示意图;6A is a schematic flowchart of a data caching method provided by an embodiment of the application;
图6B为本申请实施例提供的一种数据缓存方法流程示意图;6B is a schematic flowchart of a data caching method provided by an embodiment of the application;
图7为本申请实施例提供的一种数据缓存方法的信令交互示意图;FIG. 7 is a schematic diagram of signaling interaction of a data caching method provided by an embodiment of the application;
图8为本申请实施例提供的一种网络功能网元的结构示意图;FIG. 8 is a schematic structural diagram of a network function network element provided by an embodiment of this application;
图9为本申请实施例提供的一种网络功能网元的结构示意图;FIG. 9 is a schematic structural diagram of a network function network element provided by an embodiment of this application;
图10为本申请实施例提供的一种网络功能网元的结构示意图;FIG. 10 is a schematic structural diagram of a network function network element provided by an embodiment of this application;
图11为本申请实施例提供的一种网络功能网元的结构示意图。FIG. 11 is a schematic structural diagram of a network function network element provided by an embodiment of this application.
具体实施方式Detailed ways
为了便于理解,示例的给出了部分与本申请实施例相关概念的说明以供参考。如下所示:For ease of understanding, some illustrations of concepts related to the embodiments of the present application are given as examples for reference. As follows:
AMF:是无线接入网(Radio Access Network,RAN)信令接口(N2)的终结点,网络附属存储(network attached storage,NAS)(N1)信令的终结点,主要负责NAS消息的加密和完保、负责注册、接入、移动性、鉴权、透传短信和上下文管理等功能。此外在和演进的分组系统(evolved packet system,EPS)网络交互时还负责EPS承载的标识(identification,ID)的分配等。AMF: It is the end point of the radio access network (Radio Access Network, RAN) signaling interface (N2), and the end point of the network attached storage (NAS) (N1) signaling. It is mainly responsible for the encryption and encryption of NAS messages. Complete security, responsible for registration, access, mobility, authentication, transparent SMS and context management and other functions. In addition, when interacting with an evolved packet system (EPS) network, it is also responsible for the distribution of the identification (ID) of the EPS bearer, etc.
UDSF:5G系统架构允许任何NF在UDSF(例如UE报文)中存储和检索其非结构化数据。UDSF属于网络功能网元所在的同一公共陆地移动网络(public land mobile network,PLMN)。NF可以共享用于存储它们各自的非结构化数据的UDSF,或者每个NF可以具有自己对应的UDSF(例如,UDSF可以位于相应的NF附近)。UDSF: The 5G system architecture allows any NF to store and retrieve its unstructured data in UDSF (such as UE messages). The UDSF belongs to the same public land mobile network (PLMN) where the network function network element is located. NFs can share the UDSF used to store their respective unstructured data, or each NF can have its own corresponding UDSF (for example, the UDSF can be located near the corresponding NF).
网络存储功能(NF repository function,NRF):支持业务发现功能,也就是接收网元发送的NF发现请求(NF-Discovery-Request),然后提供发现的网元信息给请求方;维护可用网元实例的特征和其支持的业务能力;一个网元的特征参数主要有:网元实例ID、网元类型、网络分片的相关ID、网元的IP或者域名、网元的能力信息、支持的业务能力名字等。也可以说,NRF可以负责对NF进行登记和管理。Network storage function (NF repository function, NRF): supports the service discovery function, that is, receives the NF-Discovery-Request (NF-Discovery-Request) sent by the network element, and then provides the discovered network element information to the requester; maintains available network element instances The characteristics of the network element and the service capabilities it supports; the characteristic parameters of a network element mainly include: network element instance ID, network element type, network fragment related ID, network element IP or domain name, network element capability information, and supported services Ability name, etc. It can also be said that NRF can be responsible for the registration and management of NF.
会话管理功能(session management function,SMF):主要功能有,NAS消息的会话管理(session management,SM)消息的终结点;会话(session)的建立、修改、释放;UE网际协议(internet protocol,IP)的分配管理;动态主机配置协议(dynamic host configuration protocol,DHCP)功能;为一个会话选择和控制用户面功能(user plane function,UPF);计费数据的收集以及支持计费接口;决定一个会话的服务连续会话 (serviceand session continuity,SSC)模式;下行数据指示等等。Session management function (SMF): The main functions include the end point of session management (SM) messages of NAS messages; the establishment, modification, and release of sessions; UE internet protocol (IP) ) Allocation management; dynamic host configuration protocol (dynamic host configuration protocol, DHCP) function; select and control user plane function (UPF) for a session; collect billing data and support billing interface; determine a session Service and session continuity (SSC) mode; downlink data indication, etc.
统一数据管理(unified data management,UDM):负责的主要功能有:产生第三代合作伙伴计划(3rd generation partnership project,3gpp)鉴权证书/鉴权参数;存储和管理5G系统的永久性用户ID;3)订阅信息管理;4)移动停止-短信息服务(mobile-terminated-short message service,MT-SMS)递交;5)SMS管理;6)用户的服务网元注册管理(比如当前为终端设备提供业务的AMF、SMF等)。Unified data management (UDM): The main functions that are responsible include: generating the third generation partnership project (3rd generation partnership project, 3gpp) authentication certificate/authentication parameter; storing and managing the permanent user ID of the 5G system ; 3) Subscription information management; 4) Mobile-terminated-short message service (MT-SMS) delivery; 5) SMS management; 6) User’s service network element registration management (for example, the current terminal device Provide business AMF, SMF, etc.).
策略控制功能实体(policy control function,PCF):负责的主要功能有:支持统一的策略框架管理网络行为;提供策略规则给网络实体实施执行;访问统一数据仓库(unified data repository,UDR)的订阅信息等。Policy control function entity (PCF): The main functions are: support a unified policy framework to manage network behaviors; provide policy rules for network entities to implement and execute; access to unified data repository (UDR) subscription information Wait.
RAN:可以是5G系统中的无线接入网,包括集中单元(centralized unit,CU)和分布单元(distribute unit,DU)2个功能实体。CU承担无线资源控制(Radio Resource Control,RRC)/包数据汇聚协议(packet data convergence protocol,PDCP)层功能,DU承担无线链路控制(radio link control,RLC)层/媒体介入控制(medium access control,MAC)层/物理层(physical,PHY)层功能。RAN: It can be a radio access network in a 5G system, including two functional entities: a centralized unit (CU) and a distributed unit (DU). CU assumes radio resource control (Radio Resource Control, RRC)/packet data convergence protocol (PDCP) layer functions, DU assumes radio link control (RLC) layer/media access control (medium access control) , MAC) layer / physical layer (physical, PHY) layer functions.
弹性伸缩(auto scaling):根据监控指标或预先设定的策略,自动调整云资源规模的管理服务。自动伸缩支持定时、告警伸缩,无需人工干预,可降低繁琐的人工操作。也可以理解为,使用弹性伸缩,可以根据业务需求和策略设置伸缩规则,在业务需求增长时自动增加ECS实例以保证计算能力,在业务需求下降时自动减少弹性计算服务(elastic compute service,ECS)实例以节约成本。弹性伸缩不仅适合业务量不断波动的应用程序,同时也适合业务量稳定的应用程序。举例来说,根据业务需求动态调整计算资源,如在业务高峰时,自动往负载均衡(inspur server load balancer,InSLB)后端添加实例,业务低谷时,减少实例;自动替换掉InSLB后端不健康的实例,保证业务正常运行,无需人工介入;设定定时计划,在促销等活动之前,自动创建一批云主机,配合智能伸缩,保证业务正常运行。Auto scaling: A management service that automatically adjusts the scale of cloud resources based on monitoring indicators or preset policies. Automatic scaling supports timing and alarm scaling without manual intervention, which can reduce tedious manual operations. It can also be understood that with elastic scaling, scaling rules can be set according to business needs and policies, ECS instances are automatically added to ensure computing capacity when business needs grow, and elastic computing services (ECS) are automatically reduced when business needs drop. Examples to save costs. Elastic scaling is not only suitable for applications with constantly fluctuating business volume, but also for applications with stable business volume. For example, dynamically adjust computing resources according to business needs, such as automatically adding instances to the inspur server load balancer (InSLB) backend during business peaks, and reducing instances when the business is low; automatically replacing unhealthy InSLB backends Examples to ensure the normal operation of the business without manual intervention; set a regular schedule to automatically create a batch of cloud hosts before promotional activities, and cooperate with intelligent scaling to ensure the normal operation of the business.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, unless otherwise specified, "/" means or, for example, A/B can mean A or B; "and/or" in this document is only a description of related objects The association relationship of indicates that there can be three kinds of relationships, for example, A and/or B, which can indicate: A alone exists, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "plurality" refers to two or more than two.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms “first” and “second” are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present embodiment, unless otherwise specified, "plurality" means two or more.
本申请针对5G系统中AMF弹性伸缩或者故障后,大量的信令访问给UDSF带来很大的冲击的问题,提出一种数据缓存的方法和装置,可以应用于NF弹性伸缩或者故障时,其上保存的非结构化数据如何缓存到另一未故障的NF中,以保证业务不中断,同时减少了大量信令访问对UDSF的冲击。其中,该NF不限于为AMF,还可以为UDM、PCF以及NRF等。This application addresses the problem that a large number of signaling accesses have a great impact on UDSF after AMF elastic scaling or failure in a 5G system, and proposes a data caching method and device, which can be applied to NF elastic scaling or failure. How to cache the unstructured data stored on the above to another unfaulted NF to ensure uninterrupted services and reduce the impact of a large number of signaling accesses on the UDSF. Among them, the NF is not limited to AMF, but can also be UDM, PCF, NRF, etc.
如图2所示,本申请的网络架构可以包括接入网侧的RAN,核心网侧的SMF、 NRF、AMF以及UDSF等。各网元的主要功能可以参见上文对于相关概念的说明。需要说明的是,本申请中核心网侧AMF周边的网元都可以适用于该本申请实施例,例如AMF可以替换为UDMA、PCF或NRF等,本申请以AMF为例进行说明。As shown in Figure 2, the network architecture of the present application may include RAN on the access network side, SMF, NRF, AMF, and UDSF on the core network side. The main functions of each network element can be referred to the above description of related concepts. It should be noted that all network elements surrounding the AMF on the core network side in this application can be applied to this embodiment of this application. For example, AMF can be replaced with UDMA, PCF, or NRF, etc. This application takes AMF as an example for description.
应用以上网络架构,本申请针对5G系统中AMF弹性伸缩或者故障后,大量的信令访问给UDSF带来很大的冲击的问题,提出的方案原理可以为:NF(例如AMF)本地支持数据缓存功能;当UDSF检测到某个NF故障后,可以逐步推送该NF的非结构化数据到其他的NF的本地缓存;或者当其他NF检测到某个NF故障后,向UDSF订阅或者推送该NF的非结构化数据。这样,当某个NF故障后,现有技术是由业务请求触发向UDSF获取非结构化数据的,而本申请可以通过UDSF主动推送该NF的非结构化数据到未故障的NF本地缓存,或者UDSF响应未故障的NF的请求推送非结构化数据到未故障的NF本地缓存,这样,终端设备的业务请求可以向未故障的NF进行请求,可以缓解信令风暴对UDSF网元的冲击,减少业务时延。Applying the above network architecture, this application addresses the problem of a large number of signaling accesses that have a great impact on UDSF after AMF elastic scaling or failure in a 5G system. The principle of the proposed solution can be: NF (such as AMF) supports data caching locally Function; when UDSF detects a certain NF failure, it can gradually push the unstructured data of the NF to the local cache of other NFs; or when other NFs detect a certain NF failure, subscribe to or push the NF's Unstructured data. In this way, when a certain NF fails, the existing technology is triggered by a business request to obtain unstructured data from the UDSF, and this application can actively push the unstructured data of the NF to the local cache of the unfaulted NF through the UDSF, or UDSF responds to the request of the unfaulted NF and pushes unstructured data to the unfaulted NF local cache. In this way, the service request of the terminal device can request the unfaulted NF, which can alleviate the impact of the signaling storm on the UDSF network element and reduce Business delay.
基于以上原理,下面对本申请的实施例进行说明。Based on the above principles, the embodiments of the present application will be described below.
本申请实施例提供一种数据缓存方法,如图3所示,该方法包括:The embodiment of the present application provides a data caching method. As shown in FIG. 3, the method includes:
301、第一网络功能网元将非结构化数据存储在UDSF中。301. The first network function network element stores unstructured data in the UDSF.
本申请实施例以非结构化数据为上下文数据为例进行说明。The embodiment of the present application takes unstructured data as context data as an example for description.
在一些实施例中,以第一网络功能网元为AMF1为例。参考图4,AMF1在UE进行业务处理的时,可以缓存有UE的上下文数据,AMF1同时将本地缓存的上下文数据发送给UDSF进行存储。UDSF中可以存储有多个AMF发送的上下文数据。In some embodiments, the first network function network element is AMF1 as an example. Referring to FIG. 4, when the UE is performing service processing, the AMF1 can buffer the context data of the UE, and the AMF1 also sends the locally buffered context data to the UDSF for storage. Multiple context data sent by AMF can be stored in the UDSF.
302、UDSF确定第一网络功能网元故障。302. The UDSF determines that the first network function network element is faulty.
在一些实施例中,UDSF确定第一网络功能网元故障可以包括:若UDSF接收到来自NRF的通知消息,通知消息指示第一网络功能网元故障,则UDSF确定第一网络功能网元故障。In some embodiments, the UDSF determining that the first network function network element is faulty may include: if the UDSF receives a notification message from the NRF, and the notification message indicates that the first network function network element is faulty, the UDSF determines that the first network function network element is faulty.
在一些实施例中,以第一网络功能网元为AMF1为例。In some embodiments, the first network function network element is AMF1 as an example.
当AMF1故障时,参考图4,AMF1可以向RAN通知AMF将退出服务,同时通知RAN后续可以向备用NF,例如AMF2请求服务。这样当RAN接收到UE的服务请求时,可以将该服务请求发送AMF2。When AMF1 fails, referring to FIG. 4, AMF1 can notify the RAN that AMF will withdraw from service, and at the same time notify the RAN that it can subsequently request service from a backup NF, such as AMF2. In this way, when the RAN receives the service request of the UE, it can send the service request to AMF2.
此外,每个NF都通过服务化接口对外提供服务,并允许其他NF访问或调用自身的服务。提供服务的NF可以称作“NF服务提供者”,访问或调用服务的NF可以称作“NF服务使用者”,而这些活动都需要NRF的管理和监控。即每个NF启动时,要到NRF进行注册登记才能提供服务。例如NF1想要让NF2来提供服务,先到NRF进行服务发现。并且,在某个NF信息变更时也会自动同步到NRF,在NF下电时也会向NRF进行去注册。In addition, each NF provides external services through a service-oriented interface, and allows other NFs to access or call their own services. The NF that provides the service can be called the "NF service provider", and the NF that accesses or calls the service can be called the "NF service user", and these activities require the management and monitoring of the NRF. That is, when each NF is activated, it must register with the NRF to provide services. For example, if NF1 wants NF2 to provide services, first go to NRF for service discovery. In addition, when a certain NF information is changed, it will also be automatically synchronized to the NRF, and will also be deregistered with the NRF when the NF is powered off.
可知,NRF中可以维护已经部署的NF的信息,以及处理来自其他网元的NF发现请求,也可以对NF进行登记和管理,即NRF需要维护整个网络内所有网络功能网元服务的实时信息。It can be seen that NRF can maintain information about deployed NFs, process NF discovery requests from other network elements, and can also register and manage NFs. That is, NRF needs to maintain real-time information about all network element services in the entire network.
当AMF1弹性伸缩或者故障时,参考图4,NRF如果接收到AMF1发送的去注册请求时,NRF确认AMF1故障。当NRF确认AMF1故障时,NRF可以主动向UDSF发送通知消息,以通知AMF1故障。本申请实施例将弹性伸缩包括在故障范围内。When AMF1 elastically scales or fails, referring to Figure 4, if NRF receives a de-registration request sent by AMF1, NRF confirms that AMF1 is faulty. When NRF confirms that AMF1 is faulty, NRF can actively send a notification message to UDSF to notify AMF1 of the fault. The embodiment of the present application includes the elastic expansion and contraction within the scope of the failure.
或者,在一些实施例中,NRF可以与各NF之间进行双向定期状态检测,当某个NF故障,NRF可将该故障的NF的异常状态通知到与其相关的其他NF,其他NF包括UDSF、SMF以及RAN等。Or, in some embodiments, the NRF can perform two-way periodic state detection with each NF. When a certain NF fails, the NRF can notify other related NFs of the abnormal state of the failed NF. Other NFs include UDSF, SMF and RAN, etc.
或者,在一些实施例中,以第一网络功能网元为AMF1为例。UDSF确定第一网络功能网元故障可以包括:UDSF可以周期性地检测与UDSF对应的多个AMF是否故障。UDSF对应的多个AMF可以是缓存非结构化数据在UDSF中的多个AMF。举例来说,当周期时间到达时,UDSF向AMF1发送检测消息时,若未在一定时间内接收到AMF1的响应,则UDSF确定AMF1故障。Or, in some embodiments, the first network function network element is AMF1 as an example. The UDSF determining that the first network function network element is faulty may include: the UDSF may periodically detect whether multiple AMFs corresponding to the UDSF are faulty. The multiple AMFs corresponding to the UDSF may be multiple AMFs that cache unstructured data in the UDSF. For example, when the cycle time arrives, when the UDSF sends a detection message to AMF1, if it does not receive a response from AMF1 within a certain period of time, the UDSF determines that AMF1 is faulty.
303、UDSF向第二网络功能网元发送第一网络功能网元对应的非结构化数据,第二网络功能网元为第一网络功能网元的备用设备。303. The UDSF sends unstructured data corresponding to the first network function network element to the second network function network element, and the second network function network element is a backup device of the first network function network element.
在一些实施例中,参考图4,当UDSF确定第一网络功能网元故障时,UDSF可以主动推送缓存的第一网络功能网元AMF1的非结构化数据到第二网络功能网元AMF2。In some embodiments, referring to FIG. 4, when the UDSF determines that the first network function network element is faulty, the UDSF may actively push the cached unstructured data of the first network function network element AMF1 to the second network function network element AMF2.
示例性的,由于NRF中可以维护有已经部署的NF的信息,该信息中包括有NF一旦发生故障时的备用NF的信息,即包括NF之间的备用关系,例如第一网络功能网元AMF1的备用NF为AMF2,当UDSF确定AMF1故障时,UDSF可以向NRF查询到AMF1的备用NF为AMF2,这样,UDSF可以将本地缓存的AMF1的上下文数据发送给AMF2。Exemplarily, because the NRF can maintain the information of the deployed NF, the information includes the information of the backup NF once the NF fails, that is, the backup relationship between the NFs, such as the first network function network element AMF1 The backup NF of AMF2 is AMF2. When the UDSF determines that AMF1 is faulty, the UDSF can query the NRF to find that the backup NF of AMF1 is AMF2. In this way, the UDSF can send the locally cached context data of AMF1 to AMF2.
这样,参考图4,当UE发起服务请求(service request)到RAN,或者网络侧发起服务流程时,例如服务请求用于请上下文数据时,RAN可以向AMF2请求服务。或者,当有会话请求到达SMF时,SMF已经从NRF获知AMF1已经故障,这时,SMF可以将会话请求发送给AMF2,若该会话请求用于请求UE或者网络侧请求上下文数据,AMF 2可以从本地缓存读取上下文数据发送给SMF,以便SMF继续根据上下文数据进行业务流程处理。In this way, referring to FIG. 4, when the UE initiates a service request (service request) to the RAN, or the network side initiates a service process, for example, when the service request is used to request context data, the RAN can request a service from AMF2. Or, when a session request arrives at the SMF, the SMF has learned from the NRF that AMF1 has failed. At this time, the SMF can send the session request to AMF2. If the session request is used to request the UE or the network side to request context data, AMF 2 can request The local cache reads the context data and sends it to the SMF so that the SMF can continue to process the business process based on the context data.
由此,本申请提供的数据缓存方法中,当UDSF检测到NF故障时,可以将故障的NF对应的非结构化数据推送给备用的其他未故障的NF的本地缓存中,以便UE或网络侧发送的服务请求可以从备用NF中获取非结构化数据,以便继续进行业务处理。相对于现有技术中,如果UE通过RAN向故障的AMF未获取到非结构化数据,而都向UDSF请求获取,造成UDSF的信令风暴来说,本申请实施例方法可以减少对于UDSF网元的信令冲击,从而可以提升业务时延。Therefore, in the data caching method provided by the present application, when the UDSF detects a NF failure, it can push the unstructured data corresponding to the failed NF to the local cache of other unfaulted NFs, so that the UE or the network side The sent service request can obtain unstructured data from the standby NF in order to continue business processing. Compared with the prior art, if the UE does not obtain unstructured data from the failed AMF through the RAN, but all requests the UDSF to obtain the unstructured data, causing a signaling storm in the UDSF, the method in the embodiments of this application can reduce the need for UDSF network elements. The impact of the signaling, which can increase the service delay.
本申请实施例还提供一种数据缓存方法,如图5所示,包括:The embodiment of the present application also provides a data caching method, as shown in FIG. 5, including:
501、第二网络功能网元将非结构化数据存储在UDSF中。501. The second network function network element stores unstructured data in the UDSF.
步骤501的实现方式可以参见步骤301中第一网络功能网元的实现方式。For the implementation of step 501, refer to the implementation of the first network function network element in step 301.
502、第一网络功能网元确定第二网络功能网元故障。502. The first network function network element determines that the second network function network element is faulty.
参见图4,以第一网络功能网元为AMF2,第二网络功能网元为AMF1为例。Referring to FIG. 4, the first network function network element is AMF2, and the second network function network element is AMF1 as an example.
在一些实施例中,当AMF1弹性伸缩或者不可用时,可以向NRF发送去注册流程,用于通知NRF知晓AMF1已故障,NRF可以将AMF1故障的事件再通知给其他NF,包括AMF1的备用NF(AMF2)、UDSF以及RAN等。当AMF2获取到AMF1故障的事件时,AMF2确定AMF1故障。举例来说,若AMF2接收到来自NRF的通知消息,通知消息指示AMF1故障,则确定AMF1故障。In some embodiments, when AMF1 is elastically scalable or unavailable, a de-registration process can be sent to the NRF to notify the NRF that AMF1 has failed. The NRF can then notify other NFs of the AMF1 failure event, including the backup NF of AMF1 ( AMF2), UDSF and RAN, etc. When AMF2 obtains the event of AMF1 failure, AMF2 determines that AMF1 has failed. For example, if AMF2 receives a notification message from NRF, and the notification message indicates that AMF1 is faulty, it is determined that AMF1 is faulty.
503、第一网络功能网元从UDSF获取第二网络功能网元的非结构化数据。503. The first network function network element obtains unstructured data of the second network function network element from the UDSF.
在一些实施例中,当AMF2确定AMF1故障时,AMF2可以向UDSF发送请求消息,请求消息用于向UDSF请求UDSF中缓存的AMF1对应的上下文数据。In some embodiments, when AMF2 determines that AMF1 is faulty, AMF2 may send a request message to UDSF. The request message is used to request context data corresponding to AMF1 cached in UDSF from UDSF.
这样,当UE发起service request或者网络侧发起服务流程时,该服务请求或者服务流程到达SMF时,SMF已经从NRF获知AMF1已经故障,这时,SMF可以将UE的服务请求或者网络侧的服务流程发送给AMF2,AMF 2可以从本地缓存读取UE或者网络侧请求的上下文数据发送给SMF,以便SMF继续根据上下文数据进行业务流程处理。In this way, when the UE initiates a service request or the network side initiates a service process, when the service request or service process reaches the SMF, the SMF has learned from the NRF that AMF1 has failed. At this time, the SMF can send the service request of the UE or the service process of the network side Sent to AMF2, AMF2 can read the context data requested by the UE or the network side from the local cache and send it to SMF, so that SMF can continue to process the business process according to the context data.
需要说明的是,如果AMF2中还未来得及从UDSF获取上下文数据就已经接收到了UE的服务请求或者网络侧的服务流程,AMF2未从本地缓存中读取到上下文数据时,AMF2可以向UDSF请求获取上下文数据。It should be noted that if AMF2 has received the UE's service request or network-side service process before it can obtain context data from UDSF in the future, and AMF2 has not read the context data from the local cache, AMF2 can request it from UDSF Context data.
在一些实施例中,AMF2接收第一请求消息,第一请求消息用于获取第一非结构化数据;若AMF2确定本地未存储第一非结构化数据,则AMF2向UDSF请求获取第一非结构化数据。In some embodiments, AMF2 receives the first request message, which is used to obtain the first unstructured data; if AMF2 determines that the first unstructured data is not stored locally, AMF2 requests the UDSF to obtain the first unstructured data化数据。 Data.
由此,本实施例中,与上一实施例不同的是,本实施例中可以由故障的NF的备用NF主动向UDSF订阅故障的NF的非结构化数据,其效果与上一实施例相同。Therefore, in this embodiment, the difference from the previous embodiment is that in this embodiment, the backup NF of the failed NF can actively subscribe to the UDSF for unstructured data of the failed NF, and the effect is the same as the previous embodiment. .
以上实施例中,尽管UDSF可以推送上下文数据到其他NF的本地缓存中,其他NF即备用NF如果有多个时,考虑到数据冗余和缓存命中率的问题,即当其他NF中的每个NF都缓存了上下文数据的全量数据时,会导致较大的数据冗余,浪费内存资源;当缓存上下文数据的部分数据到其他NF的本地缓存时,又会出现缓存命中率下降的问题,对此,本申请实施例还提供一种数据缓存方法,如图6A所示,包括:In the above embodiment, although the UDSF can push context data to the local cache of other NFs, if there are multiple other NFs, that is, backup NFs, the data redundancy and cache hit rate are considered, that is, when each of the other NFs When all NFs cache the full amount of context data, it will cause greater data redundancy and waste memory resources; when some data of the context data is cached to the local cache of other NFs, the cache hit rate will drop again. Therefore, an embodiment of the present application also provides a data caching method, as shown in FIG. 6A, including:
601A、第一网络功能网元将非结构化数据存储在UDSF中。601A. The first network function network element stores unstructured data in the UDSF.
步骤601A的实现方式可以参见步骤301。For the implementation of step 601A, refer to step 301.
602A、UDSF确定第一网络功能网元故障。602A. The UDSF determines that the first network function network element is faulty.
步骤602A的实现方式可以参见步骤302。For the implementation of step 602A, refer to step 302.
与步骤302不同的是,UDSF若接收到的NRF发送的通知消息,通知AMF故障时,该通知消息中还包括不同的标识符与第一网络功能网元的备用实体的标识的对应关系,该备用实体包括第二网络功能网元。每个标识符对应的非结构化数据不同。The difference from step 302 is that if the UDSF receives the notification message sent by the NRF to notify the AMF of the failure, the notification message also includes the correspondence between the different identifiers and the identifiers of the backup entities of the first network function network element. The backup entity includes a second network function network element. The unstructured data corresponding to each identifier is different.
在一些实施例中,标识符可以为全球唯一的接入和移动管理功能AMF标识符(globally unique AMF identifier,GUAMI)。In some embodiments, the identifier may be a globally unique access and mobility management function AMF identifier (globally unique AMF identifier, GUAMI).
在任何一个AMF中,AMF在缓存UE的上下文数据时,可以按照GUAMI对多个UE的上下文数据进行分组,即每个AMF中可以存储有一个或者多个GUAMI。当某个UE注册到AMF时,AMF可以为该UE分配临时标识:5G全球唯一临时标识(5G globally unique temporary identifier,5G-GUTI),5G-GUTI中包含有GUAMI。即AMF可以选择一个GUAMI,并建立UE的上下文数据与该GUAMI的对应关系。AMF也会将UE的上下文数据与该GUAMI的对应关系发送给UDSF进行缓存。即UDSF中也缓存有AMF中UE的上下文数据与该GUAMI的对应关系。In any AMF, when the AMF caches the context data of the UE, it can group the context data of multiple UEs according to GUAMI, that is, each AMF can store one or more GUAMIs. When a UE is registered with the AMF, the AMF can allocate a temporary identifier for the UE: 5G globally unique temporary identifier (5G-GUTI), and 5G-GUTI includes GUAMI. That is, the AMF can select a GUAMI and establish the corresponding relationship between the context data of the UE and the GUAMI. The AMF will also send the corresponding relationship between the context data of the UE and the GUAMI to the UDSF for caching. That is, the corresponding relationship between the context data of the UE in the AMF and the GUAMI is also cached in the UDSF.
603A、UDSF向第二网络功能网元发送第一网络功能网元对应的非结构化数据的部分数据;部分数据包括与第二网络功能网元的标识对应的标识符下的非结构化数据。603A. The UDSF sends partial data of unstructured data corresponding to the first network function network element to the second network function network element; the partial data includes unstructured data under the identifier corresponding to the identifier of the second network function network element.
本实施例中,以第一网络功能网元为AMF1,第二网络功能网元为AMF2,非结构化数据为上下文数据为例。In this embodiment, the first network function network element is AMF1, the second network function network element is AMF2, and the unstructured data is context data as an example.
参考图7,AMF1中缓存有GUAMI1对应的UE的上下文数据,以及GUAMI2对应的UE的上下文数据。当AMF1弹性伸缩(准备退出服务)时,例如AMF1可以向NRF发起去注册流程,当NRF确定AMF故障时,NRF可以以第二通知消息通知其他NF(例如AMF1的备用NF(AMF2)、SMF以及UDSF等)GUAMI与备用的AMF的标识的对应关系。例如该对应关系指示AMF1中缓存的GUAMI1对应的上下文数据需迁移到目标AMF2中,AMF1中缓存的GUAMI2对应的上下文数据需迁移到目标AMF3中。当UDSF接收到AMF1的通知时,UDSF可以将本地缓存的GUAMI1以及GUAMI1对应的上下文数据发送给AMF2,将本地缓存的GUAMI2以及GUAMI2对应的上下文数据发送给AMF3。Referring to FIG. 7, the context data of the UE corresponding to GUAMI1 and the context data of the UE corresponding to GUAMI2 are cached in AMF1. When AMF1 is elastically scalable (preparing to withdraw from service), for example, AMF1 can initiate a de-registration process to NRF. When NRF determines that AMF is faulty, NRF can notify other NFs (such as AMF1's backup NF (AMF2), SMF, and AMF with a second notification message). UDSF, etc.) The correspondence between the GUAMI and the identifier of the spare AMF. For example, the correspondence indicates that the context data corresponding to GUAMI1 cached in AMF1 needs to be migrated to the target AMF2, and the context data corresponding to GUAMI2 cached in AMF1 needs to be migrated to the target AMF3. When the UDSF receives the notification of AMF1, the UDSF can send the locally cached GUAMI1 and the context data corresponding to GUAMI1 to AMF2, and the locally cached GUAMI2 and the context data corresponding to GUAMI2 to AMF3.
此外,AMF1将要退出服务时,还需要向RAN发送GUAMI与备用的AMF的标识的对应关系。In addition, when AMF1 is about to withdraw from the service, it also needs to send the corresponding relationship between the GUAMI and the identifier of the spare AMF to the RAN.
这样,当UE发起service request到达RAN时,RAN可以将该service request按照GUAMI与备用的AMF的标识的对应关系发送给AMF1的一个备用AMF。或者,当SMF接收到UE或者网络侧的会话消息时,SMF已经从NRF获知AMF1已经故障,这时,SMF可以将会话消息按照GUAMI与备用的AMF的标识的对应关系发送给一个备用AMF,备用AMF可以从本地缓存读取UE或者网络侧请求的上下文数据发送给SMF,以便SMF继续根据上下文数据进行业务流程处理。In this way, when the UE initiates a service request and arrives at the RAN, the RAN can send the service request to a backup AMF of AMF1 according to the correspondence between the GUAMI and the identifier of the backup AMF. Or, when the SMF receives the session message from the UE or the network side, the SMF has learned from the NRF that AMF1 has failed. At this time, the SMF can send the session message to a backup AMF according to the correspondence between the GUAMI and the backup AMF identifier. The AMF can read the context data requested by the UE or the network side from the local cache and send it to the SMF, so that the SMF can continue to process the business process according to the context data.
由此,与以上实施例不同的是,UDSF可以按照GUAMI推送UE的上下文数据,可以保证UE的上下文数据和业务处理在同一个AMF节点上,AMF可以直接从本地缓存中读取上下文数据,不需要向UDSF获取上下文数据。这样既减少了对UDSF的信令冲击,也节省了备用AMF的内存资源。Therefore, the difference from the above embodiment is that UDSF can push the context data of the UE according to GUAMI, which can ensure that the context data and service processing of the UE are on the same AMF node, and the AMF can directly read the context data from the local cache. Need to obtain context data from UDSF. This not only reduces the signaling impact on the UDSF, but also saves the memory resources of the spare AMF.
相应地,AMF2/AMF3也可以主动从UDSF获取AMF1上的GUAMI对应的UE的上下文数据。例如,AMF2确定AMF1故障时,可以向UDSF订阅AMF1对应的GUAMI1对应的UE的上下文数据;AMF3确定AMF1故障时,可以向UDSF订阅AMF1对应的GUAMI2对应的UE的上下文数据。Correspondingly, AMF2/AMF3 can also actively obtain UE context data corresponding to GUAMI on AMF1 from UDSF. For example, when AMF2 determines that AMF1 is faulty, it can subscribe to UDSF the context data of UE corresponding to GUAMI1 corresponding to AMF1; when AMF3 determines that AMF1 is faulty, it can subscribe to UDSF the context data of UE corresponding to GUAMI2 corresponding to AMF1.
本申请还提供一种数据缓存方法,如图6B所示,该方法包括:This application also provides a data caching method. As shown in FIG. 6B, the method includes:
601B、第一网络功能网元将非结构化数据存储在UDSF中。601B. The first network function network element stores unstructured data in the UDSF.
步骤601B的实现方式可以参见步骤301。For the implementation of step 601B, refer to step 301.
602B、第一网络功能网元确定该第一网络功能网元过载时,向UDSF发送指示信息,该指示信息用于指示UDSF向第二网络功能网元发送与第一网络功能网元对应的非结构化数据的部分数据。602B. When the first network function network element determines that the first network function network element is overloaded, it sends indication information to the UDSF. The indication information is used to instruct the UDSF to send to the second network function network element the non-function network element corresponding to the first network function network element. Part of structured data.
第一网络功能网元确定第一网络功能网元发生过载方式可以有多种,例如第一网络功能网元确定其自身的CPU过载,或者第一网络功能网元收发数据的时延超过预设阈值等。There may be multiple ways for the first network function network element to determine that the first network function network element is overloaded. For example, the first network function network element determines that its own CPU is overloaded, or the first network function network element receives and receives data with a delay exceeding a preset value. Threshold etc.
由于UDSF中可以存储多个网络功能网元(包括第一网络功能网元)对应的非结构化数据,或UDSF中存储有与第一网络功能网元对应的非结构化数据,因此,第一网络功能网元为了缓解压力,可以向存储有第一网络功能网元的非结构化数据的 UDSF发送指示信息,以指示UDSF将UDSF中存储的有与第一网络功能网元对应的非结构化数据发送给第二网络功能网元,第二网络功能网元为第一网络功能网元的备用网元。Since the UDSF can store unstructured data corresponding to multiple network function network elements (including the first network function network element), or the UDSF stores unstructured data corresponding to the first network function network element, the first In order to relieve the pressure, the network function network element can send instruction information to the UDSF storing the unstructured data of the first network function network element to instruct the UDSF to store the unstructured data corresponding to the first network function network element in the UDSF. The data is sent to a second network function network element, and the second network function network element is a backup network element of the first network function network element.
在一些实施例中,该指示信息可以用于指示UDSF将满足触发条件的部分非结构化数据发送给第二网络功能网元。例如,该指示信息包括GUAMI与第二网络功能网元的标识,意味着第一网络功能网元指示UDSF将本地存储的域GUAMI对应的非结构化数据发送给第二网络功能网元。In some embodiments, the indication information may be used to instruct the UDSF to send part of the unstructured data that meets the trigger condition to the second network function network element. For example, the indication information includes the identification of the GUAMI and the second network function network element, which means that the first network function network element instructs the UDSF to send the locally stored unstructured data corresponding to the domain GUAMI to the second network function network element.
603B、UDSF接收来自第一网络功能网元的指示信息,UDSF根据该指示信息向第二网络功能网元发送与第一网络功能网元对应的非结构化数据的部分数据。603B. The UDSF receives instruction information from the first network function network element, and the UDSF sends partial data of unstructured data corresponding to the first network function network element to the second network function network element according to the instruction information.
如果指示信息中包括GUAMI与第二网络功能网元的标识,那么UDSF可以根据该指示信息将UDSF中存储的该GUAMI对应的多个UE的上下文数据发送给第二网络功能网元。If the indication information includes the identification of the GUAMI and the second network function network element, the UDSF may send the context data of multiple UEs corresponding to the GUAMI stored in the UDSF to the second network function network element according to the indication information.
这样,当UE发起service request到达RAN时,RAN可以将该service request按照GUAMI与备用的AMF的标识的对应关系发送给第一网络功能网元的一个备用网元,即第二网络功能网元。或者,当SMF接收到UE或者网络侧的会话消息时,SMF已经从NRF获知第一网络功能网元过载,已指示UDSF将部分非结构化数据发送给了第二网络功能网元,这时,SMF可以将会话消息按照GUAMI与备用的第二网络功能网元的标识的对应关系发送给一个第二网络功能网元,第二网络功能网元可以从本地缓存读取UE或者网络侧请求的上下文数据发送给SMF,以便SMF继续根据上下文数据进行业务流程处理。在以上步骤303、或步骤602A或步骤602B中,UDSF向AMF发送UE的上下文数据时,可以按照某种策略来推送。通常来讲,策略通常包括规则和触发器。当触发器事件发生时,可按照规则来进行数据推送。In this way, when the UE initiates a service request and arrives at the RAN, the RAN can send the service request to a backup network element of the first network function network element, that is, the second network function network element, according to the correspondence between the GUAMI and the backup AMF identifier. Or, when the SMF receives the session message from the UE or the network side, the SMF has learned from the NRF that the first network function network element is overloaded, and has instructed the UDSF to send some unstructured data to the second network function network element. At this time, The SMF can send the session message to a second network function network element according to the correspondence between the GUAMI and the identifier of the standby second network function network element, and the second network function network element can read the context requested by the UE or the network side from the local cache The data is sent to the SMF so that the SMF can continue to process the business process based on the context data. In the above step 303, or step 602A or step 602B, when the UDSF sends the UE context data to the AMF, it can be pushed according to a certain strategy. Generally speaking, strategies usually include rules and triggers. When a trigger event occurs, data can be pushed according to the rules.
在一些实施例中,触发器主要包括事件,例如NF状态改变等,本申请实施例可以是确定AMF故障。规则主要由条件和动作组成。其中,条件类似于数据库记录查询,描述满足条件的记录,例如,本申请实施例中,条件可以为优先推送上下文数据的条件。动作主要包括推送的动作。In some embodiments, the trigger mainly includes events, such as NF state change, etc. The embodiment of the present application may be to determine an AMF failure. The rules are mainly composed of conditions and actions. Wherein, the condition is similar to a database record query, describing records that meet the condition. For example, in the embodiment of the present application, the condition may be a condition for preferentially pushing context data. Actions mainly include push actions.
在一些实施例中,通过定义UDSF的推送策略,可以满足多种场景要求,例如优先推送满足条件的上下文数据。In some embodiments, by defining the push strategy of the UDSF, it is possible to meet the requirements of various scenarios, for example, preferentially push the context data that meets the conditions.
例如在步骤303中,UDSF按照非结构化数据的优先级向第二网络功能网元发送第一网络功能网元对应的非结构化数据。For example, in step 303, the UDSF sends the unstructured data corresponding to the first network function network element to the second network function network element according to the priority of the unstructured data.
例如在步骤603A中,UDSF按照非结构化数据的优先级向第二网络功能网元发送第一网络功能网元对应的非结构化数据的部分数据。For example, in step 603A, the UDSF sends partial data of the unstructured data corresponding to the first network function network element to the second network function network element according to the priority of the unstructured data.
在一些实施例中,非结构化数据的优先级可以是:时间的优先级或数据的优先级等。In some embodiments, the priority of unstructured data may be: priority of time or priority of data, etc.
示例性的,若按照时间的优先级,则在步骤303中,UDSF可以优先向AMF2推送时间上优先级较高的业务对应的UE的上下文数据,也就是优先推送低时延的业务对应的上下文数据,然后再推送优先级较低的业务对应的UE的上下文数据。例如按照UE的用户位置,在一些话务量比较高的地区,UDSF可以优先向AMF2推送通话业务对应的UE的上下文数据,以保证UE的用户的通话质量。其中,时间上优先级 较高的业务还可以为极可靠低时延通信(ultra reliable low latency communications,URLLC)类的业务,例如长期演进语音承载(voice over long-term evolution,VoLTE)业务以及自动驾驶业务等。Exemplarily, if according to the priority of time, in step 303, the UDSF may preferentially push the context data of the UE corresponding to the service with the higher priority in time to the AMF2, that is, the context corresponding to the service with low latency is preferentially pushed. Data, and then push the context data of the UE corresponding to the lower-priority service. For example, according to the user location of the UE, in some areas with relatively high traffic volume, the UDSF may preferentially push the context data of the UE corresponding to the call service to the AMF2 to ensure the call quality of the UE user. Among them, the services with higher priority in time can also be ultra-reliable low-latency communications (URLLC) services, such as voice over long-term evolution (voice over long-term evolution, VoLTE) services and automatic Driving business, etc.
若按照数据的优先级,则在步骤303中,UDSF可以优先向AMF2推送数据上优先级较高的UE的上下文数据,例如对于贵宾(very important person,VIP)用户对应的UE的上下文数据,以保证高优先级用户的用户体验。If according to the priority of the data, in step 303, the UDSF may preferentially push the context data of the UE with the higher priority in the data to the AMF2, for example, the context data of the UE corresponding to the VIP (very important person) user, to Ensure the user experience of high-priority users.
由此,通过UDSF按照数据的优先级推送非结构化数据,可以提升高优先级用户或者高优先级业务的缓存命中率,保证用户体验。As a result, pushing unstructured data according to the priority of the data through the UDSF can improve the cache hit rate of high-priority users or high-priority services and ensure user experience.
可以理解的是,为了实现上述功能,网络功能网元包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above-mentioned functions, the network function network element includes hardware and/or software modules corresponding to each function. In combination with the algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Those skilled in the art can use different methods for each specific application in combination with the embodiments to implement the described functions, but such implementation should not be considered as going beyond the scope of the present application.
本实施例可以根据上述方法示例对网络功能网元进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment, the network function network element can be divided into functional modules according to the foregoing method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图8示出了上述实施例中涉及的网络功能网元80的一种可能的组成示意图,该网络功能网元可以为上述实施例中的UDSF。如图8所示,该网络功能网元80可以包括:处理单元801以及收发单元802。In the case of dividing each function module corresponding to each function, FIG. 8 shows a schematic diagram of a possible composition of the network function network element 80 involved in the above embodiment. The network function network element may be the UDSF in the above embodiment. . As shown in FIG. 8, the network function network element 80 may include: a processing unit 801 and a transceiver unit 802.
其中,处理单元801可以用于支持网络功能网元80执行上述步骤302、步骤603A和步骤603B等,和/或用于本文所描述的技术的其他过程。Wherein, the processing unit 801 may be used to support the network function network element 80 to execute the above step 302, step 603A, step 603B, etc., and/or other processes used in the technology described herein.
收发单元802可以用于支持网络功能网元80执行上述步骤303、步骤603A和步骤603B等,和/或用于本文所描述的技术的其他过程。例如接收通知或者非结构化数据等,和/或用于本文所描述的技术的其他过程。The transceiving unit 802 may be used to support the network function network element 80 to perform the above step 303, step 603A, step 603B, etc., and/or other processes used in the technology described herein. For example, receiving notifications or unstructured data, etc., and/or other processes used in the techniques described herein.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of the steps involved in the foregoing method embodiments can be cited in the functional description of the corresponding functional module, and will not be repeated here.
本实施例提供的网络功能网元80,用于执行上述数据缓存方法,因此可以达到与上述实现方法相同的效果。The network function network element 80 provided in this embodiment is used to execute the above-mentioned data caching method, so the same effect as the above-mentioned implementation method can be achieved.
在采用集成的单元的情况下,网络功能网元80可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对网络功能网元80的动作进行控制管理,例如,可以用于支持网络功能网元80执行上述处理单元801执行的步骤。存储模块可以用于支持网络功能网元80存储程序代码和数据等。通信模块,可以用于支持网络功能网元80与其他设备的通信,例如与其他NF的通信。In the case of an integrated unit, the network function network element 80 may include a processing module, a storage module, and a communication module. The processing module may be used to control and manage the actions of the network function network element 80, for example, it may be used to support the network function network element 80 to execute the steps performed by the processing unit 801 described above. The storage module may be used to support the network function network element 80 to store program codes and data. The communication module may be used to support communication between the network function network element 80 and other devices, such as communication with other NFs.
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为收发器、射频 电路、蓝牙芯片、Wi-Fi芯片等与其他通信设备交互的设备。Among them, the processing module may be a processor or a controller. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on. The storage module may be a memory. The communication module may specifically be a transceiver, a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, and other devices that interact with other communication devices.
在一个实施例中,当处理模块为处理器,存储模块为存储器,通信模块为收发器时,本实施例所涉及的网络功能网元80可以为具有图9所示结构的网络功能网元90。In an embodiment, when the processing module is a processor, the storage module is a memory, and the communication module is a transceiver, the network function network element 80 involved in this embodiment may be a network function network element 90 having the structure shown in FIG. 9 .
本申请实施例还提供一种通信装置,包括一个或多个处理器以及一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得通信装置执行上述相关方法步骤实现上述实施例中的数据缓存方法。The embodiment of the present application also provides a communication device including one or more processors and one or more memories. The one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes. The computer program codes include computer instructions. When the one or more processors execute the computer instructions, the communication device executes The above related method steps implement the data caching method in the above embodiment.
本申请的实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,当该计算机指令在UDSF上运行时,使得UDSF执行上述相关方法步骤实现上述实施例中的数据缓存方法。The embodiments of the present application also provide a computer-readable storage medium that stores computer instructions in the computer-readable storage medium. When the computer instructions run on the UDSF, the UDSF executes the above-mentioned related method steps to implement the steps in the above-mentioned embodiments. Data caching method.
本申请的实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中UDSF执行的数据缓存方法。The embodiment of the present application also provides a computer program product. When the computer program product runs on a computer, the computer is caused to execute the above-mentioned related steps, so as to realize the data caching method executed by the UDSF in the above-mentioned embodiment.
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中UDSF执行的数据缓存方法。In addition, the embodiments of the present application also provide a device. The device may specifically be a chip, component or module. The device may include a processor and a memory connected to each other. The memory is used to store computer execution instructions. When the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the data caching method executed by the UDSF in the foregoing method embodiments.
在采用对应各个功能划分各个功能模块的情况下,图10示出了上述实施例中涉及的网络功能网元100的一种可能的组成示意图,该网络功能网元100可以为上述实施例中的第一网络功能网元或第二网络功能网元,该网络功能网元可以为AMF,还可以为其他网络功能网元,例如UDMA、PCF或NRF等。如图10所示,该网络功能网元100可以包括:处理单元1001、收发单元1002。In the case of dividing each functional module corresponding to each function, FIG. 10 shows a schematic diagram of a possible composition of the network function network element 100 involved in the foregoing embodiment. The network function network element 100 may be the one in the foregoing embodiment. The first network function network element or the second network function network element, the network function network element may be AMF, or other network function network elements, such as UDMA, PCF, or NRF. As shown in FIG. 10, the network function network element 100 may include: a processing unit 1001 and a transceiver unit 1002.
其中,处理单元1001可以用于支持网络功能网元80执行上述步骤502等,和/或用于本文所描述的技术的其他过程。Wherein, the processing unit 1001 may be used to support the network function network element 80 to perform the above-mentioned step 502, etc., and/or be used in other processes of the technology described herein.
收发单元1002可以用于支持网络功能网元100执行上述步骤503等,和/或用于本文所描述的技术的其他过程。例如接收通知或者非结构化数据等,和/或用于本文所描述的技术的其他过程。The transceiver unit 1002 may be used to support the network function network element 100 to perform the above-mentioned step 503, etc., and/or be used in other processes of the technology described herein. For example, receiving notifications or unstructured data, etc., and/or other processes used in the techniques described herein.
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of the steps involved in the foregoing method embodiments can be cited in the functional description of the corresponding functional module, and will not be repeated here.
本实施例提供的网络功能网元100,用于执行上述数据缓存方法,因此可以达到与上述实现方法相同的效果。The network function network element 100 provided in this embodiment is used to execute the above-mentioned data caching method, so the same effect as the above-mentioned implementation method can be achieved.
在采用集成的单元的情况下,网络功能网元100可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对网络功能网元100的动作进行控制管理,例如,可以用于支持网络功能网元100执行上述处理单元1001执行的步骤。存储模块可以用于支持网络功能网元100存储程序代码和数据等。通信模块,可以用于支持网络功能网元100与其他设备的通信,例如与其他NF(例如UDSF和NRF等)的通信。In the case of an integrated unit, the network function network element 100 may include a processing module, a storage module, and a communication module. The processing module may be used to control and manage the actions of the network function network element 100, for example, it may be used to support the network function network element 100 to perform the steps performed by the processing unit 1001. The storage module may be used to support the network function network element 100 to store program codes and data. The communication module may be used to support communication between the network function network element 100 and other devices, for example, communication with other NFs (such as UDSF, NRF, etc.).
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP) 和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为收发器、射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。Among them, the processing module may be a processor or a controller. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on. The storage module may be a memory. The communication module may specifically be a transceiver, a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, and other devices that interact with other electronic devices.
在一个实施例中,当处理模块为处理器,存储模块为存储器,通信模块为收发器时,本实施例所涉及的网络功能网元100可以为具有图11所示结构的AMF110。In an embodiment, when the processing module is a processor, the storage module is a memory, and the communication module is a transceiver, the network function network element 100 involved in this embodiment may be the AMF 110 having the structure shown in FIG. 11.
本申请实施例还提供一种通信装置,包括一个或多个处理器以及一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得通信装置执行上述相关方法步骤实现上述实施例中的数据缓存方法。The embodiment of the present application also provides a communication device including one or more processors and one or more memories. The one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes. The computer program codes include computer instructions. When the one or more processors execute the computer instructions, the communication device executes The above related method steps implement the data caching method in the above embodiment.
本申请的实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,当该计算机指令在AMF上运行时,使得AMF执行上述相关方法步骤实现上述实施例中的数据缓存方法。The embodiments of the present application also provide a computer-readable storage medium that stores computer instructions, and when the computer instructions run on the AMF, the AMF is caused to execute the above-mentioned related method steps to implement the steps in the above-mentioned embodiments. Data caching method.
本申请的实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中AMF执行的数据缓存方法。The embodiment of the present application also provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute the above-mentioned related steps, so as to realize the data caching method executed by the AMF in the above-mentioned embodiment.
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中AMF或者其他NF执行的数据缓存方法。In addition, the embodiments of the present application also provide a device. The device may specifically be a chip, component or module. The device may include a processor and a memory connected to each other. The memory is used to store computer execution instructions. When the device is running, The processor can execute the computer-executable instructions stored in the memory, so that the chip executes the data caching method executed by the AMF or other NFs in the foregoing method embodiments.
其中,本实施例提供的UDSF、AMF、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Among them, the UDSF, AMF, computer storage media, computer program products, or chips provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the corresponding methods provided above. The beneficial effects of the method are not repeated here.
本申请另一实施例提供了一种通信系统,该系统可以包括上述UDSF和上述AMF,可以用于实现上述数据缓存方法。Another embodiment of the present application provides a communication system, which may include the foregoing UDSF and the foregoing AMF, and may be used to implement the foregoing data caching method.
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can understand that for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. The function module is completed, that is, the internal structure of the device is divided into different function modules to complete all or part of the functions described above.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. It can be combined or integrated into another device, or some features can be omitted or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate parts may or may not be physically separate. The parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成 的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various 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 realized 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 readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The foregoing 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 codes.
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above content is only the specific implementation of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Covered in the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (22)

  1. 一种数据缓存方法,其特征在于,包括:A data caching method is characterized in that it includes:
    非结构化数据存储功能UDSF确定第一网络功能网元故障;The unstructured data storage function UDSF determines that the first network function network element is faulty;
    所述UDSF向第二网络功能网元发送所述第一网络功能网元对应的非结构化数据,所述第二网络功能网元为所述第一网络功能网元的备用设备。The UDSF sends unstructured data corresponding to the first network function network element to a second network function network element, and the second network function network element is a backup device of the first network function network element.
  2. 根据权利要求1所述的方法,其特征在于,所述UDSF确定第一网络功能网元故障包括:The method according to claim 1, wherein the UDSF determining that the first network function network element is faulty comprises:
    若所述UDSF接收到来自网络存储功能NRF的通知消息,所述通知消息指示所述第一网络功能网元故障,则所述UDSF确定所述第一网络功能网元故障。If the UDSF receives a notification message from a network storage function NRF, and the notification message indicates that the first network function network element is faulty, the UDSF determines that the first network function network element is faulty.
  3. 根据权利要求2所述的方法,其特征在于,所述通知消息包括不同的标识符与所述第一网络功能网元的备用实体的标识的对应关系;所述备用实体包括所述第二网络功能网元;每个标识符对应的用户不同非结构化数据不同;The method according to claim 2, wherein the notification message includes a correspondence between a different identifier and an identifier of a backup entity of the first network function network element; the backup entity includes the second network Functional network element; the unstructured data corresponding to each identifier is different for different users;
    所述UDSF向第二网络功能网元发送所述第一网络功能网元对应的非结构化数据包括:The sending by the UDSF to the second network function network element the unstructured data corresponding to the first network function network element includes:
    所述UDSF按照所述对应关系向所述第二网络功能网元发送所述第一网络功能网元对应的非结构化数据中的部分数据,所述部分数据包括与所述第二网络功能网元的标识对应的标识符下的非结构化数据。The UDSF sends part of the data in the unstructured data corresponding to the first network function network element to the second network function network element according to the corresponding relationship, and the part of the data includes the same data as the second network function network element. Unstructured data under the identifier corresponding to the meta identifier.
  4. 根据权利要求3所述的方法,其特征在于,所述标识符为全球唯一的接入和移动管理功能AMF标识符GUAMI。The method according to claim 3, wherein the identifier is a globally unique access and mobility management function AMF identifier GUAMI.
  5. 根据权利要求1或2所述的方法,其特征在于,所述UDSF向第二网络功能网元发送所述第一网络功能网元对应的非结构化数据包括:The method according to claim 1 or 2, wherein the sending, by the UDSF, to a second network function network element the unstructured data corresponding to the first network function network element comprises:
    所述UDSF按照非结构化数据的优先级向所述第二网络功能网元发送所述第一网络功能网元对应的非结构化数据。The UDSF sends the unstructured data corresponding to the first network function network element to the second network function network element according to the priority of the unstructured data.
  6. 一种数据缓存方法,其特征在于,包括:A data caching method is characterized in that it includes:
    第一网络功能网元确定第二网络功能网元故障;The first network function network element determines that the second network function network element is faulty;
    所述第一网络功能网元从非结构化数据存储功能UDSF获取所述第二网络功能网元的非结构化数据。The first network function network element obtains the unstructured data of the second network function network element from an unstructured data storage function UDSF.
  7. 根据权利要求6所述的方法,其特征在于,所述第一网络功能网元确定第二网络功能网元故障包括:The method according to claim 6, wherein the first network function network element determining that the second network function network element is faulty comprises:
    若所述第一网络功能网元接收到来自网络存储功能NRF的通知消息,所述通知消息指示所述第二网络功能网元故障,则确定所述第二网络功能网元故障。If the first network function network element receives a notification message from a network storage function NRF, and the notification message indicates that the second network function network element is faulty, it is determined that the second network function network element is faulty.
  8. 根据权利要求7所述的方法,其特征在于,所述通知消息包括不同的标识符与所述第一网络功能网元的备用实体的标识的对应关系;所述备用实体包括所述第二网络功能网元;每个标识符对应的非结构化数据不同;The method according to claim 7, wherein the notification message includes a correspondence between a different identifier and an identifier of a backup entity of the first network function network element; the backup entity includes the second network Functional network element; the unstructured data corresponding to each identifier is different;
    所述第一网络功能网元从非结构化数据存储功能UDSF获取所述第二网络功能网元存储的非结构化数据包括:The obtaining, by the first network function network element, the unstructured data stored by the second network function network element from the unstructured data storage function UDSF includes:
    所述第一网络功能网元接收来自所述UDSF的所述第二网络功能网元对应的非结构化数据的部分数据;所述部分数据包括与所述第二网络功能网元的标识对应的标识符下的非结构化数据。The first network function network element receives partial data of unstructured data corresponding to the second network function network element from the UDSF; the partial data includes data corresponding to the identifier of the second network function network element Unstructured data under the identifier.
  9. 根据权利要求8所述的方法,其特征在于,所述标识符为全球唯一的接入和移动管理功能AMF标识符GUAMI。The method according to claim 8, wherein the identifier is a globally unique access and mobility management function AMF identifier GUAMI.
  10. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    所述第一网络功能网元接收第一请求消息,所述第一请求消息用于获取第一非结构化数据;Receiving, by the first network function network element, a first request message, where the first request message is used to obtain first unstructured data;
    若所述第一网络功能网元确定本地未存储所述第一非结构化数据,则所述第一网络功能网元向所述UDSF请求获取所述第一非结构化数据。If the first network function network element determines that the first unstructured data is not stored locally, the first network function network element requests the UDSF to obtain the first unstructured data.
  11. 一种通信装置,其特征在于,包括:A communication device, characterized in that it comprises:
    处理单元,用于确定第一网络功能网元故障;A processing unit, configured to determine the failure of the first network function network element;
    收发单元,用于向第二网络功能网元发送所述第一网络功能网元对应的非结构化数据,所述第二网络功能网元为所述第一网络功能网元的备用设备。The transceiver unit is configured to send unstructured data corresponding to the first network function network element to a second network function network element, where the second network function network element is a backup device of the first network function network element.
  12. 根据权利要求11所述的装置,其特征在于,所述处理单元,用于若确定所述收发单元用于接收到来自网络存储功能NRF的通知消息,所述通知消息指示所述第一网络功能网元故障,则确定所述第一网络功能网元故障。The apparatus according to claim 11, wherein the processing unit is configured to, if it is determined that the transceiver unit is used to receive a notification message from a network storage function NRF, the notification message indicates the first network function If the network element is faulty, it is determined that the first network function network element is faulty.
  13. 根据权利要求12所述的装置,其特征在于,所述通知消息包括不同的标识符与所述第一网络功能网元的备用实体的标识的对应关系;所述备用实体包括所述第二网络功能网元;每个标识符对应的非结构化数据不同;The apparatus according to claim 12, wherein the notification message includes a correspondence between a different identifier and an identifier of a backup entity of the first network function network element; the backup entity includes the second network Functional network element; the unstructured data corresponding to each identifier is different;
    所述收发单元,用于按照所述对应关系向所述第二网络功能网元发送所述第一网络功能网元对应的非结构化数据的部分数据;所述部分数据包括与所述第二网络功能网元的标识对应的标识符下的非结构化数据;The transceiving unit is configured to send partial data of unstructured data corresponding to the first network function network element to the second network function network element according to the corresponding relationship; the partial data includes the data corresponding to the second network function network element; Unstructured data under the identifier corresponding to the identifier of the network function network element;
    其中,所述标识符为全球唯一的接入和移动管理功能AMF标识符GUAMI。Wherein, the identifier is the globally unique access and mobility management function AMF identifier GUAMI.
  14. 根据权利要求11或12所述的装置,其特征在于,所述收发单元,用于按照非结构化数据的优先级向所述第二网络功能网元发送所述第一网络功能网元对应的非结构化数据。The device according to claim 11 or 12, wherein the transceiving unit is configured to send to the second network function network element corresponding to the first network function network element according to the priority of unstructured data Unstructured data.
  15. 一种通信装置,其特征在于,包括:A communication device, characterized in that it comprises:
    处理单元,用于确定第二网络功能网元故障;A processing unit, configured to determine the failure of the second network function network element;
    收发单元,用于从非结构化数据存储功能UDSF获取所述第二网络功能网元的非结构化数据。The transceiver unit is configured to obtain the unstructured data of the second network function network element from the unstructured data storage function UDSF.
  16. 根据权利要求15所述的装置,其特征在于,所述处理单元,用于若所述收发单元用于接收到来自网络存储功能NRF的通知消息,所述通知消息指示所述第二网络功能网元故障,则确定所述第二网络功能网元故障。The device according to claim 15, wherein the processing unit is configured to, if the transceiver unit is configured to receive a notification message from a network storage function NRF, the notification message instructs the second network function network If the element is faulty, it is determined that the second network function network element is faulty.
  17. 根据权利要求16所述的装置,其特征在于,所述通知消息包括不同的标识符与第一网络功能网元的备用实体的标识的对应关系;所述备用实体包括所述第二网络功能网元;每个标识符对应的非结构化数据不同;The apparatus according to claim 16, wherein the notification message includes a correspondence between a different identifier and an identifier of a backup entity of the first network function network element; the backup entity includes the second network function network element; Meta; the unstructured data corresponding to each identifier is different;
    所述收发单元,用于:The transceiver unit is used to:
    接收来自所述UDSF的所述第二网络功能网元对应的非结构化数据的部分数据;所述部分数据包括与所述第二网络功能网元的标识对应的标识符下的非结构化数据;Partial data of unstructured data corresponding to the second network function network element is received from the UDSF; the part of data includes unstructured data under the identifier corresponding to the identifier of the second network function network element ;
    其中,所述标识符为全球唯一的接入和移动管理功能AMF标识符GUAMI。Wherein, the identifier is the globally unique access and mobility management function AMF identifier GUAMI.
  18. 根据权利要求15所述的装置,其特征在于,所述收发单元,用于接收第一请 求消息,所述第一请求消息用于获取第一非结构化数据;The apparatus according to claim 15, wherein the transceiver unit is configured to receive a first request message, and the first request message is used to obtain first unstructured data;
    所述收发单元,用于若第一网络功能网元确定本地未存储所述第一非结构化数据,则向所述UDSF请求获取所述第一非结构化数据。The transceiving unit is configured to request the UDSF to obtain the first unstructured data if the first network function network element determines that the first unstructured data is not stored locally.
  19. 一种计算机可读存储介质,其特征在于,包括程序或指令,当所述程序或指令被处理器运行时,如权利要求1至5中任意一项所述的方法被执行。A computer-readable storage medium, characterized by comprising a program or instruction, when the program or instruction is executed by a processor, the method according to any one of claims 1 to 5 is executed.
  20. 一种计算机可读存储介质,其特征在于,包括程序或指令,当所述程序或指令被处理器运行时,如权利要求6至10中任意一项所述的方法被执行。A computer-readable storage medium, characterized by comprising a program or instruction, when the program or instruction is executed by a processor, the method according to any one of claims 6 to 10 is executed.
  21. 一种计算机程序产品,其特征在于,当计算机程序产品在计算机上运行时,如权利要求1至5中任意一项所述的方法被执行。A computer program product, characterized in that, when the computer program product runs on a computer, the method according to any one of claims 1 to 5 is executed.
  22. 一种计算机程序产品,其特征在于,当计算机程序产品在计算机上运行时,如权利要求6至10中任意一项所述的方法被执行。A computer program product, characterized in that, when the computer program product runs on a computer, the method according to any one of claims 6 to 10 is executed.
PCT/CN2020/128081 2019-11-11 2020-11-11 Data caching method and apparatus WO2021093763A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911095573.6 2019-11-11
CN201911095573.6A CN112788085B (en) 2019-11-11 2019-11-11 Data caching method and device

Publications (1)

Publication Number Publication Date
WO2021093763A1 true WO2021093763A1 (en) 2021-05-20

Family

ID=75749085

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/128081 WO2021093763A1 (en) 2019-11-11 2020-11-11 Data caching method and apparatus

Country Status (2)

Country Link
CN (1) CN112788085B (en)
WO (1) WO2021093763A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115087074A (en) * 2022-07-08 2022-09-20 中国联合网络通信集团有限公司 Access network, communication method, network element, device and storage medium
WO2023179365A1 (en) * 2022-03-22 2023-09-28 华为技术有限公司 Communication method and communication apparatus

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113422694A (en) * 2021-06-08 2021-09-21 腾讯科技(深圳)有限公司 Communication method, communication apparatus, communication medium, and electronic device
CN113382432B (en) * 2021-08-13 2021-11-23 新华三技术有限公司 5G network service providing method, device and equipment
CN116261153A (en) * 2021-12-02 2023-06-13 中兴通讯股份有限公司 Data caching method, network element, electronic equipment and storage medium
CN116744346A (en) * 2022-03-04 2023-09-12 维沃移动通信有限公司 Network fault processing method, terminal, access network equipment and core network equipment
WO2024060150A1 (en) * 2022-09-22 2024-03-28 Apple Inc. Minimization of service interruptions of core network failure

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019015778A1 (en) * 2017-07-21 2019-01-24 Telefonaktiebolaget Lm Ericsson (Publ) Unstructured data storage function (udsf) services
CN109379206A (en) * 2017-08-07 2019-02-22 华为技术有限公司 The management method and relevant device of network function information
CN109818766A (en) * 2017-11-21 2019-05-28 中兴通讯股份有限公司 A kind of communication means, network functional entity, network function storage and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190007992A1 (en) * 2017-07-03 2019-01-03 Electronics And Telecommunications Research Institute Network triggered service request method and user equipment (ue) triggered service request method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019015778A1 (en) * 2017-07-21 2019-01-24 Telefonaktiebolaget Lm Ericsson (Publ) Unstructured data storage function (udsf) services
CN109379206A (en) * 2017-08-07 2019-02-22 华为技术有限公司 The management method and relevant device of network function information
CN109818766A (en) * 2017-11-21 2019-05-28 中兴通讯股份有限公司 A kind of communication means, network functional entity, network function storage and computer readable storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ERICSSON: "Need of loadBalancingTAURequired in NR", 3GPP DRAFT; R2-1807928 - NEED OF LOADBALANCINGTAUREQUIRED IN NR, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG2, no. Busan, Korea; 20180521 - 20180525, 20 May 2018 (2018-05-20), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051444255 *
HUAWEI: "GUAMI update in case of AMF change", 3GPP DRAFT; R3-190893, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG3, no. Athens, Greece; 20180225 - 20180301, 16 February 2019 (2019-02-16), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051604827 *
HUAWEI: "Support of AMF Management", 3GPP DRAFT; R3-180912 AMF MANAGEMENT (DISC+410), 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG3, no. Athens, Greece; 20180226 - 20180302, 14 February 2018 (2018-02-14), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP051401274 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023179365A1 (en) * 2022-03-22 2023-09-28 华为技术有限公司 Communication method and communication apparatus
CN115087074A (en) * 2022-07-08 2022-09-20 中国联合网络通信集团有限公司 Access network, communication method, network element, device and storage medium
CN115087074B (en) * 2022-07-08 2023-05-30 中国联合网络通信集团有限公司 Access network, communication method, network element, device and storage medium

Also Published As

Publication number Publication date
CN112788085B (en) 2022-08-09
CN112788085A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
WO2021093763A1 (en) Data caching method and apparatus
US11418413B2 (en) Sharable storage method and system for network data analytics
US20210385286A1 (en) Method and apparatus for improving service discovery
US20220191665A1 (en) Event notification method, apparatus and storage medium
US8607001B2 (en) Method, apparatus, proxy server, and system for selecting cache replacement policies
WO2019137207A1 (en) Event notification method and related device
JPWO2020185949A5 (en)
WO2019033796A1 (en) Session processing method and related device
US11251981B2 (en) Communication method and apparatus
KR20200017504A (en) Communication mode switching method, network side device and terminal device
WO2011079467A1 (en) Method, device and system for scheduling distributed buffer resources
WO2019096306A1 (en) Request processing method, and corresponding entity
WO2018127003A1 (en) Method and device for determining paging period
WO2021170033A1 (en) Network configuration method and apparatus
WO2022127319A1 (en) Data refreshing method and apparatus, and electronic device and computer-readable storage medium
CN113133063B (en) Session release method, electronic equipment and storage medium
WO2019223638A1 (en) Api information transmission method and device
WO2011150711A1 (en) Access control method and device
US20230403611A1 (en) Handover processing method and apparatus, and communication device
WO2010124527A1 (en) Method, device and system for distributing idle load capacity of core network nodes
WO2024055815A1 (en) Edge psa management method, and electronic device and computer-readable medium
US20230379845A1 (en) Methods, systems, and computer readable media for synchronization of policy data between network functions in telecommunications networks
WO2023098368A1 (en) Data caching method, network element, electronic device, and storage medium
CN117977811A (en) PDU operation energy consumption management method
CN117042212A (en) Session control method, session control device, communication equipment and storage medium

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: 20886693

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: 20886693

Country of ref document: EP

Kind code of ref document: A1