WO2023098368A1 - Data caching method, network element, electronic device, and storage medium - Google Patents

Data caching method, network element, electronic device, and storage medium Download PDF

Info

Publication number
WO2023098368A1
WO2023098368A1 PCT/CN2022/128482 CN2022128482W WO2023098368A1 WO 2023098368 A1 WO2023098368 A1 WO 2023098368A1 CN 2022128482 W CN2022128482 W CN 2022128482W WO 2023098368 A1 WO2023098368 A1 WO 2023098368A1
Authority
WO
WIPO (PCT)
Prior art keywords
dynamic information
terminal
network element
request
data management
Prior art date
Application number
PCT/CN2022/128482
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 WO2023098368A1 publication Critical patent/WO2023098368A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/046Network management architectures or arrangements comprising network management agents or mobile agents therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a data caching method, network elements, electronic devices, and storage media.
  • the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) introduced the fifth generation communication system (the fifth generation, 5G) as the fifth generation mobile communication network.
  • 5G network communication technology is a It is a very important new communication technology with faster transmission rate and supports more kinds of wireless mobile communication projects.
  • the functional network element Network Function, NF caches and maintains the dynamic information of the UE (including: SUPI, general public user identification GPSI, terminal Capability information, subscription information, subscription information, connection status information, location information, session information, etc.), for use in subsequent business processing.
  • the current common method is to configure the AMF SET set for the mobile access management function (Access And Mobility Management Function, AMF) or deploy the unstructured data storage network element (Unstructured Data Storage Network Function (UDSF) stores dynamic information of terminal equipment, but this solution greatly increases the cost of operators and the difficulty of management and maintenance.
  • AMF Access And Mobility Management Function
  • UDSF Unstructured Data Storage Network Function
  • an embodiment of the present application provides a data caching method, which is applied to a unified data management network element.
  • the method includes: receiving a dynamic information caching request from a network element with a preset function, wherein the dynamic information caching request includes Terminal dynamic information; cache the terminal dynamic information according to the dynamic information caching request; after receiving the dynamic information request initiated by the preset functional network element after restarting, send it to the preset functional network element
  • the terminal dynamic information is used for the preset function network element to resume management and control of the terminal according to the terminal dynamic information.
  • an embodiment of the present application further provides a data management network element, including: a receiving module, configured to receive a dynamic information cache request from a preset function network element, wherein the dynamic information cache request includes terminal dynamic information; a caching module, configured to cache the dynamic information of the terminal according to the dynamic information caching request; a response module, configured to, after receiving the dynamic information request initiated by the preset functional network element after restarting, send The preset function network element sends the terminal dynamic information for the preset function network element to resume management and control of the terminal.
  • a receiving module configured to receive a dynamic information cache request from a preset function network element, wherein the dynamic information cache request includes terminal dynamic information
  • a caching module configured to cache the dynamic information of the terminal according to the dynamic information caching request
  • a response module configured to, after receiving the dynamic information request initiated by the preset functional network element after restarting, send The preset function network element sends the terminal dynamic information for the preset function network element to resume management and control of the terminal.
  • the embodiment of the present application also provides a functional network element, including: a sending module, configured to send a dynamic information cache request to the unified data management network element for the unified data management network element when the terminal access is successful.
  • the data management network element performs dynamic information caching, wherein the dynamic information caching request includes terminal dynamic information;
  • the request module is configured to send a dynamic information request to the unified data management network element after restarting;
  • the management module uses receiving the terminal dynamic information issued by the unified data management network element, and recovering the management and control of the terminal according to the terminal dynamic information.
  • an embodiment of the present application further provides an electronic device, the device includes: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be Instructions executed by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can execute the data caching method as described above.
  • the unified data management network element receives the dynamic information caching request sent by the preset function network element after the terminal device is successfully connected, wherein the dynamic information caching request includes the terminal dynamic information, and according to the received
  • the received dynamic information cache request caches the terminal dynamic information, and after receiving the dynamic information request initiated after the preset function network element restarts, sends the cached terminal dynamic information to the preset function network element for the preset function network element
  • the unit restores the management and control of the terminal according to the dynamic information of the terminal.
  • the terminal dynamic information is cached by using the unified data management network element, and after receiving the dynamic information request initiated by the preset function network element after restarting, the terminal dynamic information is sent to the preset function network element for recovery by the preset function network element
  • the terminal dynamic information is cached by using the unified data management network element, and after receiving the dynamic information request initiated by the preset function network element after restarting, the terminal dynamic information is sent to the preset function network element for recovery by the preset function network element
  • For terminal management and control on the premise of not requiring additional deployment of new resources, it avoids the impact of dynamic information loss on terminal management and control caused by the restart of functional network elements, and ensures user service experience without increasing operator costs.
  • Fig. 1 is a flow chart of the data caching method in the embodiment of the present application.
  • FIG. 3 is a schematic diagram of a flow for updating terminal dynamic information in an embodiment of the present application
  • FIG. 4 is a schematic diagram of a dynamic maintenance process of terminal dynamic information in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a terminal management and control restoration process in an embodiment of the present application.
  • FIG. 6 is a flowchart of a data caching method in another embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a data management network element in another embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a functional network element in another embodiment of the present application.
  • AMF SET sets or UDSF are usually configured for accessing mobility management network elements.
  • the solution will greatly increase the cost of operators and the difficulty of management and maintenance. Therefore, how to simply and efficiently solve the impact of terminal dynamic information loss on terminal device control caused by the restart of functional network elements is an urgent technical problem.
  • the embodiment of the present application provides a data caching method, which is applied to functional network elements.
  • the method includes: when the terminal access is successful, sending a dynamic information cache request to the unified data management network element for unified
  • the data management network element performs dynamic information caching, wherein the dynamic information caching request includes terminal dynamic information; after restarting, sends a dynamic information request to the unified data management network element; receives the terminal dynamic information issued by the unified data management network element, And restore the management and control of the terminal according to the dynamic information of the terminal.
  • the unified data management network element receives the dynamic information caching request sent by the preset function network element after the terminal device is successfully connected, wherein the dynamic information caching request includes the terminal dynamic information, and according to the received
  • the received dynamic information cache request caches the terminal dynamic information, and after receiving the dynamic information request initiated after the preset function network element restarts, sends the cached terminal dynamic information to the preset function network element for the preset function network element
  • the unit restores the management and control of the terminal according to the dynamic information of the terminal.
  • the terminal dynamic information is cached by using the unified data management network element, and after receiving the dynamic information request initiated by the preset function network element after restarting, the terminal dynamic information is sent to the preset function network element for recovery by the preset function network element
  • the terminal dynamic information is cached by using the unified data management network element, and after receiving the dynamic information request initiated by the preset function network element after restarting, the terminal dynamic information is sent to the preset function network element for recovery by the preset function network element
  • For terminal management and control on the premise of not requiring additional deployment of new resources, it avoids the impact of dynamic information loss on terminal management and control caused by the restart of functional network elements, and ensures user service experience without increasing operator costs.
  • the first aspect of the embodiment of the present application relates to a data caching method, which is applied to a unified data management network element.
  • the specific process of the data caching method refers to FIG. 1, at least including but not limited to the following steps:
  • Step 101 receiving a dynamic information caching request from a preset functional network element.
  • the preset function network element will connect the terminal device under its jurisdiction to the 5G service-based architecture after receiving the access request of the terminal device according to the assigned task area or task type.
  • the preset function network element After the preset function network element detects that the terminal device is online, it requests the unified data management network element to cache the dynamic information of the terminal device through the customized service interface based on the specified communication protocol and syntax.
  • UDM receives a dynamic information caching request from a preset function network element, where the dynamic information caching request includes terminal dynamic information.
  • the dynamic information cache request received by the unified data management network element may also include the user permanent identifier corresponding to the terminal device, the network element identifier of the network element with preset functions, etc., which are used to distinguish the functions corresponding to the terminal dynamic information
  • this embodiment does not specifically limit the identification information selected in specific applications.
  • Step 102 cache the terminal dynamic information according to the dynamic information caching request.
  • the unified data management network element receives the dynamic information cache request from the preset function network element through the service interface, it creates a storage address and a corresponding blank file for the terminal dynamic information according to the identification information carried in the dynamic information cache request , and then store the terminal information with storage in the database corresponding to the specified address or in the created blank file to complete the caching of the terminal dynamic information.
  • the secure storage of terminal dynamic information is realized without deploying additional network elements or databases, ensuring data security and reliability.
  • the preset functional network element is AMF
  • the unified data management network element UDM receives the dynamic information cache request and related data transmitted from the AMF through the preset service port, and according to the AMF identifier in the dynamic information cache request and the online
  • the user permanent identifier corresponding to the terminal device assigns the corresponding storage address for the terminal dynamic information in the local database, and then stores the terminal dynamic information cached by the AMF request in the form of a document to the allocated storage address, and according to the AMF ID and user
  • the permanent identifier establishes a storage address index to complete the storage of terminal dynamic information.
  • the preset functional network elements can be network elements with different functions such as the access mobile management network element AMF, the session management network element SMF, and the short message network element SMSF. Select an appropriate functional network element according to the type, and this embodiment does not limit the specific selection of the functional network element.
  • the unified data management network element caches the dynamic information of the terminal according to the dynamic information cache request, it also includes: receiving a dynamic information deletion request initiated by the preset function network element after the terminal is offline; , to delete the terminal dynamic information.
  • the terminal will change its online status according to business needs and business completion status. In order to ensure the continuity of the business, when the terminal is in the online status, it is necessary to store the dynamic information of the terminal, and when the terminal completes business processing, it goes offline. state, there is no need to continue to save terminal dynamic information to avoid meaningless resource occupation. Therefore, after the preset function network element detects that the terminal is offline, it will request the unified data management network element to delete the cached terminal dynamic information.
  • the unified data management network element After receiving the dynamic information deletion request through the preset service port, the unified data management network element For the identification information in the information deletion request, for example, the network element identification of the functional network element and the permanent user identifier, the corresponding terminal dynamic information is queried in the local database, and the queried terminal dynamic information is deleted to release the corresponding resources.
  • the cached dynamic information of the specified terminal is deleted.
  • Step S101 a terminal equipment (UE) initiates an initial access request to a preset functional network element (AMF).
  • UE terminal equipment
  • AMF preset functional network element
  • Step S102 AMF initiates an initial access request to a unified data management network element (UDM).
  • UDM unified data management network element
  • Step S103 UDM returns a response to AMF.
  • Step S104 The AMF locally caches the terminal dynamic information of the UE, and returns an initial access response to the UE.
  • Step S105 The AMF initiates a dynamic information cache request to the UDM, and the dynamic information cache request carries the user permanent identifier, network element identifier and terminal dynamic information.
  • Step S106 The UDM returns a terminal dynamic information saving response to the AMF.
  • Step S107 UE initiates an offline request to AMF.
  • Step S108 The AMF deletes the cached terminal dynamic information, and returns an offline response to the UE.
  • Step S109 The AMF initiates a dynamic information deletion request to the UDM, and the dynamic information deletion request carries the user permanent identifier and the network element identifier.
  • Step S110 The UDM returns a response to the AMF to delete the dynamic information of the terminal.
  • the unified data management network element caches the terminal dynamic information according to the dynamic information cache request, it further includes: receiving a dynamic information update request from a network element with a preset function, wherein the dynamic information update request includes the latest The terminal dynamic information; according to the dynamic information update request, update the cached terminal dynamic information to the latest terminal dynamic information.
  • the terminal dynamic information corresponding to the terminal equipment will continue to change with factors such as the business processing process.
  • the preset function network element will maintain the stored terminal dynamic information in a timely manner. After detecting that the service processing process of the terminal device has entered a new stage, it will update the terminal dynamic information cached by itself, and request the unified data management network element to update the terminal dynamic information.
  • the unified data management network element After receiving the dynamic information update request of the preset function network element, the unified data management network element updates the stored terminal dynamic information to the latest terminal dynamic information according to the latest terminal dynamic information and corresponding identification information contained in the dynamic information update request Dynamic Information. According to the dynamic information update request of the preset function network element, the cached terminal dynamic information is updated to the latest terminal dynamic information in time to ensure the timeliness and validity of the terminal dynamic information stored in the unified data management network element, thereby ensuring The terminal dynamic information stored by the data management network element can accurately restore the management and control of the terminal.
  • Step S201 after the terminal equipment UE enters a new service processing stage, it initiates a follow-up process message request.
  • Step S202 The functional network element AMF updates the dynamic information of the local terminal.
  • Step S203 AMF returns a response to UE.
  • the unified data management network element When the unified data management network element caches or updates the terminal dynamic information, it will mark the cached terminal dynamic information with the time stamp of the cache time or update time, and then periodically detect the first time corresponding to the time stamp on the cached terminal dynamic information and the time interval between the current moment, when it is detected that the time interval between the first moment and the current moment is greater than the first preset duration, it is determined that the cached terminal dynamic information has expired, and the cached terminal dynamic information is directly deleted, And release the system resources it occupies. Based on the data aging mechanism, the terminal dynamic information cached by the unified data management network element is regularly dynamically maintained to avoid meaningless resource occupation caused by invalid terminal dynamic information and improve resource utilization.
  • Step S301 when updating the cached terminal dynamic information, the unified data management network element UDM sets an update time stamp for the terminal dynamic information.
  • Step 103 After receiving the dynamic information request initiated by the preset function network element after restarting, send the terminal dynamic information to the preset function network element, so that the preset function network element can resume management and control of the terminal according to the terminal dynamic information.
  • the terminal dynamic information after the terminal dynamic information is lost due to the restart of the preset function network element, it requests the terminal dynamic information from the unified data management network element, and the unified data management network element receives the dynamic information initiated by the preset function network element after restarting
  • the terminal dynamic information requested by the preset function network element is queried. Then, the terminal dynamic information is sent to the preset function network element through the preset service interface, so that the preset function network element can restore the management and control of the terminal according to the terminal dynamic information.
  • Step S401 A restart of the default function network element AMF occurs.
  • Step S402 the unified data management network element UDM initiates a follow-up service request of the terminal device to the AMF.
  • Step S403 The AMF fails to obtain the dynamic information of the terminal locally, and initiates a dynamic information request to the UDM, and the dynamic information request carries the user permanent identifier and the network element identifier.
  • Step S404 The UDM returns a terminal dynamic information acquisition response to the AMF.
  • Step S405 The AMF initiates a follow-up service request to the UE.
  • Step S406 UE returns a response.
  • Step S407 AMF updates local terminal dynamic information, and returns a response to UDM.
  • Step S409 The UDM returns a terminal dynamic information update response to the AMF.
  • the network element with the preset function can actively initiate a follow-up service request on the network side, or initiate a dynamic information request to the unified data management network element after the terminal device initiates a service request, so as to obtain the terminal again.
  • Dynamic information restores management and control of terminal equipment and subsequent business support.
  • FIG. 6 Another aspect of the embodiment of the present application relates to a data caching method, which is applied to a functional network element.
  • the flow of the data caching method can refer to FIG. 6 , including the following steps:
  • Step 601 when the terminal access is successful, send a dynamic information cache request to the unified data management network element.
  • the functional network element when the functional network element detects that the terminal device has successfully accessed or the successfully connected terminal device is online, it locally caches the terminal dynamic information corresponding to the terminal device, and sends the dynamic information cached information to the unified data management network element.
  • the request is for the unified data management network element to cache dynamic information, wherein the dynamic information cache request includes terminal dynamic information.
  • the dynamic information caching request may also include identification information, for example, the network element identification of the functional network element and the user permanent identifier corresponding to the terminal device.
  • the functional network element after the functional network element sends a dynamic information cache request to the unified data management network element, and caches the terminal dynamic information to the unified data management network element, it also includes: after the terminal dynamic information changes, send the unified data management network The element sends a dynamic information update request for the unified data management network element to update the cached terminal dynamic information; wherein, the dynamic information update request includes the latest terminal dynamic information.
  • the terminal dynamic information corresponding to the terminal equipment will change.
  • the functional network element detects that the locally cached terminal dynamic information occurs, it will send a dynamic information update request to the unified data management network element.
  • the dynamic information deletion request can include the user corresponding to the terminal device
  • the permanent identifier and the network element identifier of the functional network element are used as the identification information of the terminal dynamic information to be deleted, so that the unified data management network element can accurately delete invalid terminal dynamic information, and avoid resource occupation of invalid terminal dynamic information.
  • Step 602 after restarting, send a dynamic information request to the unified data management network element.
  • the stored dynamic information of the terminal will be lost.
  • the subsequent service request initiated by the network side or the terminal device it will initiate a dynamic information request to the unified data management network element, requesting Get the terminal dynamic information of the terminal device.
  • the dynamic information request may include the user permanent identifier corresponding to the terminal device and the network element identifier of the functional network element as the identification information of the requested terminal dynamic information, so as to accurately obtain the required terminal dynamic information.
  • FIG. 7 Another aspect of the embodiment of the present application also provides a data management network element, referring to FIG. 7, including:
  • the receiving module 701 is configured to receive a dynamic information caching request from a preset function network element, wherein the dynamic information caching request includes terminal dynamic information.
  • the cache module 702 is configured to cache the terminal dynamic information according to the dynamic information cache request.
  • the response module 703 is configured to send terminal dynamic information to the preset function network element after receiving the dynamic information request initiated by the preset function network element after restarting, so that the preset function network element can restore the management and control of the terminal.
  • this embodiment is a device embodiment corresponding to the method embodiment applied to the unified data management network element, and this embodiment can be implemented in cooperation with the method embodiment.
  • the relevant technical details mentioned in the method embodiments are still valid in this embodiment, and will not be repeated here in order to reduce repetition.
  • the related technical details mentioned in this embodiment can also be applied in the method embodiment.
  • modules involved in this embodiment are logical modules.
  • a logical unit can be a physical unit, or a part of a physical unit, or multiple physical units. Combination of units.
  • units that are not closely related to solving the technical problem proposed in the present application are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.
  • FIG. 8 Another aspect of the embodiment of the present application also provides a functional network element, referring to FIG. 8 , including:
  • the sending module 801 is configured to send a dynamic information cache request to the unified data management network element for the unified data management network element to cache the dynamic information when the terminal access is successful, wherein the dynamic information cache request includes terminal dynamic information.
  • the request module 802 is configured to send a dynamic information request to the unified data management network element after restarting.
  • the management module 803 is configured to receive terminal dynamic information issued by the unified data management network element, and resume management and control of the terminal according to the terminal dynamic information.
  • this embodiment is an apparatus embodiment corresponding to a method embodiment applied to a functional network element, and this embodiment can be implemented in cooperation with the method embodiment.
  • the relevant technical details mentioned in the method embodiments are still valid in this embodiment, and will not be repeated here in order to reduce repetition.
  • the related technical details mentioned in this embodiment can also be applied in the method embodiment.
  • modules involved in this embodiment are logical modules.
  • a logical unit can be a physical unit, or a part of a physical unit, or multiple physical units. Combination of units.
  • units that are not closely related to solving the technical problem proposed in the present application are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.
  • FIG. 9 Another aspect of the embodiment of the present application also provides an electronic device, referring to FIG. 9 , including: at least one processor 901; Instructions executed by at least one processor 901, the instructions are executed by at least one processor 901, so that at least one processor 901 can execute the data caching method described in any one of the foregoing method embodiments.
  • the memory 902 and the processor 901 are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors 901 and various circuits of the memory 902 together.
  • the bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein.
  • the bus interface provides an interface between the bus and the transceivers.
  • a transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium.
  • the data processed by the processor 901 is transmitted on the wireless medium through the antenna.
  • the antenna also receives the data and transmits the data to the processor 901 .
  • Processor 901 is responsible for managing the bus and general processing, and may also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. And the memory 902 may be used to store data used by the processor 901 when performing operations.
  • Embodiments of the present application also provide a computer-readable storage medium storing a computer program.
  • the above method embodiments are implemented when the computer program is executed by the processor.
  • a storage medium includes several instructions to make a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .

Abstract

The present application relates to the technical field of communications. Disclosed are a data caching method, a network element, an electronic device, and a storage medium. The method comprises: when applied to a unified data management network function and when there is successful access of a terminal, sending a dynamic information caching request to the unified data management network function, such that the unified data management network function performs dynamic information caching, wherein the dynamic information caching request comprises dynamic information of the terminal; after restart, sending a dynamic information request to the unified data management network function; and receiving the dynamic information of the terminal, which is issued by the unified data management network function, and recovering the management and control over the terminal according to the dynamic information of the terminal.

Description

数据缓存方法、网元、电子设备和存储介质Data caching method, network element, electronic device and storage medium
相关申请related application
本申请要求于2021年12月2号申请的、申请号为202111460547.6的中国专利申请的优先权。This application claims the priority of the Chinese patent application with application number 202111460547.6 filed on December 2, 2021.
技术领域technical field
本申请实施例涉及通信技术领域,特别涉及一种数据缓存方法、网元、电子设备和存储介质。The embodiments of the present application relate to the field of communication technologies, and in particular, to a data caching method, network elements, electronic devices, and storage media.
背景技术Background technique
随着通信技术的发展进步,第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)引入了第五代通信系统(the fifth generation,5G)作为第五代移动通信网络,5G网通信技术是一项十分重要的新通信技术,具备更快的传输速率、支持更多种无线移动通信工程。目前,在5G网络中,终端设备(User Equipment,UE)上线后,功能网元(Network Function,NF)缓存并维护UE的动态信息(包含:用户永久标识符SUPI、通用公共用户标识GPSI、终端能力信息、签约信息、订阅信息、连接状态信息、位置信息、会话信息等),以便后续业务处理过程中使用。对于一些专用网络,例如电表网络,终端设备活跃度不频繁,例如:一到两个月才与功能网元交互一次。一旦功能网元由于某些原因重启,则会导致终端动态信息丢失,进而导致终端设备处于脱管状态,功能网元无法判断终端设备是否正常,也无法对终端设备进行维护和管理以保证服务的延续性,极大的降低了用户的服务体验度。With the development and progress of communication technology, the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) introduced the fifth generation communication system (the fifth generation, 5G) as the fifth generation mobile communication network. 5G network communication technology is a It is a very important new communication technology with faster transmission rate and supports more kinds of wireless mobile communication projects. At present, in the 5G network, after the terminal equipment (User Equipment, UE) goes online, the functional network element (Network Function, NF) caches and maintains the dynamic information of the UE (including: SUPI, general public user identification GPSI, terminal Capability information, subscription information, subscription information, connection status information, location information, session information, etc.), for use in subsequent business processing. For some dedicated networks, such as electric meter networks, terminal devices are infrequently active, for example, interacting with functional network elements only once in one to two months. Once the functional network element is restarted due to some reasons, the dynamic information of the terminal will be lost, and the terminal device will be in an off-management state. The functional network element cannot judge whether the terminal device is normal, nor can it maintain and manage the terminal device to ensure service. Continuity greatly reduces the user's service experience.
为了解决这一问题,结合3GPP协议的分析结果,当前常用的手段是通过为移动接入管理网元(Access And Mobility Management Function,AMF)配置AMF SET集或者部署非结构化数据存储网元(Unstructured Data Storage Network Function,UDSF)进行终端设备动态信息的存储,但这种解决方案极大的提升了运营商的成本以及管理维护难度。In order to solve this problem, combined with the analysis results of the 3GPP protocol, the current common method is to configure the AMF SET set for the mobile access management function (Access And Mobility Management Function, AMF) or deploy the unstructured data storage network element (Unstructured Data Storage Network Function (UDSF) stores dynamic information of terminal equipment, but this solution greatly increases the cost of operators and the difficulty of management and maintenance.
发明内容Contents of the invention
本申请实施例的主要目的在于提出一种数据缓存方法、网元、电子设备和存储介质,旨在避免运营商成本和管理维护难度上升的基础上,保证功能网元在重启后能够及时恢复对终端设备的管控。The main purpose of the embodiments of the present application is to propose a data caching method, network element, electronic equipment, and storage medium, aiming at avoiding the increase in operator costs and difficulty in management and maintenance, and ensuring that functional network elements can recover in time after restarting. Management and control of terminal equipment.
为实现上述目的,本申请实施例提供了一种数据缓存方法,应用于统一数据管理网元,方法包括:接收预设功能网元的动态信息缓存请求,其中,所述动态信息缓存请求中包括终端动态信息;根据所述动态信息缓存请求,对所述终端动态信息进行缓存;在接收到所述预设功能网元在重启后发起的动态信息请求后,向所述预设功能网元发送所述终端动态信息,供所述预设功能网元根据所述终端动态信息恢复对终端的管控。In order to achieve the above purpose, an embodiment of the present application provides a data caching method, which is applied to a unified data management network element. The method includes: receiving a dynamic information caching request from a network element with a preset function, wherein the dynamic information caching request includes Terminal dynamic information; cache the terminal dynamic information according to the dynamic information caching request; after receiving the dynamic information request initiated by the preset functional network element after restarting, send it to the preset functional network element The terminal dynamic information is used for the preset function network element to resume management and control of the terminal according to the terminal dynamic information.
为实现上述目的,本申请实施例还提供了一种数据缓存方法,应用于功能网元,方法包括:在终端接入成功的情况下,向统一数据管理网元发送动态信息缓存请求,供所述统一数据管理网元进行动态信息缓存,其中,所述动态信息缓存请求中包括终端动态信息;在重新 启动后,向所述统一数据管理网元发送动态信息请求;接收所述统一数据管理网元下发的所述终端动态信息,并根据所述终端动态信息恢复对所述终端的管控。In order to achieve the above purpose, the embodiment of the present application also provides a data caching method, which is applied to a functional network element. The method includes: when the terminal access is successful, sending a dynamic information caching request to the unified data management network element for all The unified data management network element performs dynamic information caching, wherein the dynamic information caching request includes terminal dynamic information; after restarting, sends a dynamic information request to the unified data management network element; receives the unified data management network element The terminal dynamic information delivered by the unit, and restore the management and control of the terminal according to the terminal dynamic information.
为了实现上述目的,本申请实施例还提供了一种数据管理网元,包括:接收模块,用于接收预设功能网元的动态信息缓存请求,其中,所述动态信息缓存请求中包括终端动态信息;缓存模块,用于根据所述动态信息缓存请求,对所述终端动态信息进行缓存;响应模块,用于在接收到所述预设功能网元在重启后发起的动态信息请求后,向所述预设功能网元发送所述终端动态信息,供所述预设功能网元恢复对终端的管控。In order to achieve the above purpose, an embodiment of the present application further provides a data management network element, including: a receiving module, configured to receive a dynamic information cache request from a preset function network element, wherein the dynamic information cache request includes terminal dynamic information; a caching module, configured to cache the dynamic information of the terminal according to the dynamic information caching request; a response module, configured to, after receiving the dynamic information request initiated by the preset functional network element after restarting, send The preset function network element sends the terminal dynamic information for the preset function network element to resume management and control of the terminal.
为了实现上述目的,本申请实施例还提供了一种功能网元,包括:发送模块,用于在终端接入成功的情况下,向统一数据管理网元发送动态信息缓存请求,供所述统一数据管理网元进行动态信息缓存,其中,所述动态信息缓存请求中包括终端动态信息;请求模块,用于在重新启动后,向所述统一数据管理网元发送动态信息请求;管理模块,用于接收所述统一数据管理网元下发的所述终端动态信息,并根据所述终端动态信息恢复对所述终端的管控。In order to achieve the above purpose, the embodiment of the present application also provides a functional network element, including: a sending module, configured to send a dynamic information cache request to the unified data management network element for the unified data management network element when the terminal access is successful. The data management network element performs dynamic information caching, wherein the dynamic information caching request includes terminal dynamic information; the request module is configured to send a dynamic information request to the unified data management network element after restarting; the management module uses receiving the terminal dynamic information issued by the unified data management network element, and recovering the management and control of the terminal according to the terminal dynamic information.
为实现上述目的,本申请实施例还提供了一种电子设备,所述设备包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上所述的数据缓存方法。To achieve the above purpose, an embodiment of the present application further provides an electronic device, the device includes: at least one processor; and a memory connected to the at least one processor in communication; wherein, the memory stores information that can be Instructions executed by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can execute the data caching method as described above.
为实现上述目的,本申请实施例还提供了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的数据缓存方法。To achieve the above purpose, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, and implementing the above-mentioned data caching method when the computer program is executed by a processor.
本申请实施例提供的数据缓存方法,统一数据管理网元接收预设功能网元在终端设备成功接入后发送的动态信息缓存请求,其中,动态信息缓存请求中包含终端动态信息,并根据接收到的动态信息缓存请求,对终端动态信息进行缓存,在接收到预设功能网元重启后发起的动态信息请求后,将缓存的终端动态信息发送给预设功能网元,供预设功能网元根据终端动态信息恢复对终端的管控。通过利用统一数据管理网元进行终端动态信息缓存,并在接收到预设功能网元重启后发起的动态信息请求后,将终端动态信息发送给预设功能网元,供预设功能网元恢复对终端的管控,在不需要额外部署新增资源的前提下,避免功能网元重启导致动态信息丢失对终端管控带来的影响,在不增加运营商成本的基础上,保证用户的服务体验。In the data caching method provided by the embodiment of the present application, the unified data management network element receives the dynamic information caching request sent by the preset function network element after the terminal device is successfully connected, wherein the dynamic information caching request includes the terminal dynamic information, and according to the received The received dynamic information cache request, caches the terminal dynamic information, and after receiving the dynamic information request initiated after the preset function network element restarts, sends the cached terminal dynamic information to the preset function network element for the preset function network element The unit restores the management and control of the terminal according to the dynamic information of the terminal. The terminal dynamic information is cached by using the unified data management network element, and after receiving the dynamic information request initiated by the preset function network element after restarting, the terminal dynamic information is sent to the preset function network element for recovery by the preset function network element For terminal management and control, on the premise of not requiring additional deployment of new resources, it avoids the impact of dynamic information loss on terminal management and control caused by the restart of functional network elements, and ensures user service experience without increasing operator costs.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定。One or more embodiments are exemplified by pictures in the accompanying drawings, and these exemplifications are not intended to limit the embodiments.
图1是本申请实施例中的数据缓存方法流程图;Fig. 1 is a flow chart of the data caching method in the embodiment of the present application;
图2是本申请实施例中的终端动态信息缓存和清除流程示意图;FIG. 2 is a schematic diagram of a terminal dynamic information caching and clearing process in an embodiment of the present application;
图3是本申请实施例中的终端动态信息更新流程示意图;FIG. 3 is a schematic diagram of a flow for updating terminal dynamic information in an embodiment of the present application;
图4是本申请实施例中的终端动态信息动态维护流程示意图;FIG. 4 is a schematic diagram of a dynamic maintenance process of terminal dynamic information in an embodiment of the present application;
图5是本申请实施例中的终端管控恢复流程示意图;FIG. 5 is a schematic diagram of a terminal management and control restoration process in an embodiment of the present application;
图6是本申请另一实施例中的数据缓存方法流程图;FIG. 6 is a flowchart of a data caching method in another embodiment of the present application;
图7是本申请另一实施例中的数据管理网元的结构示意图;FIG. 7 is a schematic structural diagram of a data management network element in another embodiment of the present application;
图8是本申请另一实施例中的功能网元的结构示意图;FIG. 8 is a schematic structural diagram of a functional network element in another embodiment of the present application;
图9是本申请另一实施例中的电子设备的结构示意图。Fig. 9 is a schematic structural diagram of an electronic device in another embodiment of the present application.
具体实施方式Detailed ways
由背景技术可知,当下为了解决功能网元重启导致终端动态信息丢失对终端设备管控带来的影响这一问题,通常会为接入移动管理网元配置AMF SET集或者部署UDSF,但是,这样的解决方案会极大的提升运营商成本和管理维护难度。因此,如何简单高效的解决功能网元重启导致终端动态信息丢失对终端设备管控带来的影响是一个迫切的技术问题。It can be seen from the background technology that in order to solve the problem of the impact of terminal dynamic information loss on terminal equipment control caused by the restart of functional network elements, AMF SET sets or UDSF are usually configured for accessing mobility management network elements. However, such The solution will greatly increase the cost of operators and the difficulty of management and maintenance. Therefore, how to simply and efficiently solve the impact of terminal dynamic information loss on terminal device control caused by the restart of functional network elements is an urgent technical problem.
为了解决上述问题,本申请的实施例提供了一种数据缓存方法,应用于功能网元,方法包括:在终端接入成功的情况下,向统一数据管理网元发送动态信息缓存请求,供统一数据管理网元进行动态信息缓存,其中,动态信息缓存请求中包括终端动态信息;在重新启动后,向统一数据管理网元发送动态信息请求;接收统一数据管理网元下发的终端动态信息,并根据终端动态信息恢复对终端的管控。In order to solve the above problems, the embodiment of the present application provides a data caching method, which is applied to functional network elements. The method includes: when the terminal access is successful, sending a dynamic information cache request to the unified data management network element for unified The data management network element performs dynamic information caching, wherein the dynamic information caching request includes terminal dynamic information; after restarting, sends a dynamic information request to the unified data management network element; receives the terminal dynamic information issued by the unified data management network element, And restore the management and control of the terminal according to the dynamic information of the terminal.
本申请实施例提供的数据缓存方法,统一数据管理网元接收预设功能网元在终端设备成功接入后发送的动态信息缓存请求,其中,动态信息缓存请求中包含终端动态信息,并根据接收到的动态信息缓存请求,对终端动态信息进行缓存,在接收到预设功能网元重启后发起的动态信息请求后,将缓存的终端动态信息发送给预设功能网元,供预设功能网元根据终端动态信息恢复对终端的管控。通过利用统一数据管理网元进行终端动态信息缓存,并在接收到预设功能网元重启后发起的动态信息请求后,将终端动态信息发送给预设功能网元,供预设功能网元恢复对终端的管控,在不需要额外部署新增资源的前提下,避免功能网元重启导致动态信息丢失对终端管控带来的影响,在不增加运营商成本的基础上,保证用户的服务体验。In the data caching method provided by the embodiment of the present application, the unified data management network element receives the dynamic information caching request sent by the preset function network element after the terminal device is successfully connected, wherein the dynamic information caching request includes the terminal dynamic information, and according to the received The received dynamic information cache request, caches the terminal dynamic information, and after receiving the dynamic information request initiated after the preset function network element restarts, sends the cached terminal dynamic information to the preset function network element for the preset function network element The unit restores the management and control of the terminal according to the dynamic information of the terminal. The terminal dynamic information is cached by using the unified data management network element, and after receiving the dynamic information request initiated by the preset function network element after restarting, the terminal dynamic information is sent to the preset function network element for recovery by the preset function network element For terminal management and control, on the premise of not requiring additional deployment of new resources, it avoids the impact of dynamic information loss on terminal management and control caused by the restart of functional network elements, and ensures user service experience without increasing operator costs.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的各实施例进行详细的阐述。然而,本领域的普通技术人员可以理解,在本申请各实施例中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施例的种种变化和修改,也可以实现本申请所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本申请的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can understand that in each embodiment of the application, many technical details are provided for readers to better understand the application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in this application can also be realized. The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present application, and the embodiments can be combined and referred to each other on the premise of no contradiction.
下面将对结合具体的实施例的对本申请记载的数据缓存方法的实现细节进行具体的说明,以下内容仅为方便理解提供的实现细节,并非实施本方案的必须。The implementation details of the data caching method recorded in the present application will be described in detail below in conjunction with specific embodiments. The following content is only the implementation details provided for easy understanding, and is not necessary for implementing this solution.
本申请实施例的第一方面涉及一种数据缓存方法,应用于统一数据管理网元,数据缓存方法的具体流程参考图1,至少包括但不限于以下步骤:The first aspect of the embodiment of the present application relates to a data caching method, which is applied to a unified data management network element. The specific process of the data caching method refers to FIG. 1, at least including but not limited to the following steps:
步骤101,接收预设功能网元的动态信息缓存请求。 Step 101, receiving a dynamic information caching request from a preset functional network element.
具体地说,5G服务化架构开始投入使用后,预设功能网元根据分配的任务区域或者任务类型,在接收到终端设备的接入请求后,将管辖的终端设备接入5G服务化架构。预设功能网元检测到终端设备上线后,通过定制的服务化接口,基于指定的通信协议和语法请求统一数据管理网元对终端设备的动态信息进行缓存,统一数据管理网元(Unified Data Management,UDM)接收预设功能网元的动态信息缓存请求,其中,动态信息缓存请求中包括终端动态信息。Specifically, after the 5G service-based architecture is put into use, the preset function network element will connect the terminal device under its jurisdiction to the 5G service-based architecture after receiving the access request of the terminal device according to the assigned task area or task type. After the preset function network element detects that the terminal device is online, it requests the unified data management network element to cache the dynamic information of the terminal device through the customized service interface based on the specified communication protocol and syntax. , UDM) receives a dynamic information caching request from a preset function network element, where the dynamic information caching request includes terminal dynamic information.
值得一提的是,统一数据管理网元接收到的动态信息缓存请求中还可以包括终端设备对 应的用户永久标识符、预设功能网元的网元标识等用于区分终端动态信息对应的功能网元及终端设备的标识信息,本实施例对具体应用中选择的标识信息不做具体的限制。It is worth mentioning that the dynamic information cache request received by the unified data management network element may also include the user permanent identifier corresponding to the terminal device, the network element identifier of the network element with preset functions, etc., which are used to distinguish the functions corresponding to the terminal dynamic information For the identification information of network elements and terminal devices, this embodiment does not specifically limit the identification information selected in specific applications.
步骤102,根据动态信息缓存请求,对终端动态信息进行缓存。 Step 102, cache the terminal dynamic information according to the dynamic information caching request.
具体地说,统一数据管理网元通过服务化接口接收到预设功能网元的动态信息缓存请求后,根据动态信息缓存请求中携带的标识信息,为终端动态信息创建存储地址和相应的空白文件,然后将带存储的终端信息存入指定地址对应的数据库中或创建的空白文件中,完成对终端动态信息进行缓存。通过利用统一数据管理网元对终端动态信息进行存储,在不需要部署额外网元或数据库的基础上,实现终端动态信息的安全存储,保证数据安全可靠。Specifically, after the unified data management network element receives the dynamic information cache request from the preset function network element through the service interface, it creates a storage address and a corresponding blank file for the terminal dynamic information according to the identification information carried in the dynamic information cache request , and then store the terminal information with storage in the database corresponding to the specified address or in the created blank file to complete the caching of the terminal dynamic information. By using unified data management network elements to store terminal dynamic information, the secure storage of terminal dynamic information is realized without deploying additional network elements or databases, ensuring data security and reliability.
例如,预设功能网元为AMF,统一数据管理网元UDM接收到来自AMF通过预设服务化端口传输到的动态信息缓存请求及相关数据后,根据动态信息缓存请求中的AMF标识及上线的终端设备对应的用户永久标识符,在本地数据库中为终端动态信息分配对应的存储地址,然后将AMF请求缓存的终端动态信息以文档的形式存储到分配到的存储地址,并根据AMF标识和用户永久标识符建立存储地址索引,完成终端动态信息的存储。For example, the preset functional network element is AMF, and the unified data management network element UDM receives the dynamic information cache request and related data transmitted from the AMF through the preset service port, and according to the AMF identifier in the dynamic information cache request and the online The user permanent identifier corresponding to the terminal device assigns the corresponding storage address for the terminal dynamic information in the local database, and then stores the terminal dynamic information cached by the AMF request in the form of a document to the allocated storage address, and according to the AMF ID and user The permanent identifier establishes a storage address index to complete the storage of terminal dynamic information.
值得一提的是,预设的功能网元可以是接入移动管理网元AMF、会话管理网元SMF、短信网络网元SMSF等具有不同功能的网元,实际应用中可以根据终端办理的业务的类型选择适当的功能网元,本实施例对功能网元的具体选择不做限制。It is worth mentioning that the preset functional network elements can be network elements with different functions such as the access mobile management network element AMF, the session management network element SMF, and the short message network element SMSF. Select an appropriate functional network element according to the type, and this embodiment does not limit the specific selection of the functional network element.
在一个例子中,统一数据管理网元在根据动态信息缓存请求,对终端动态信息进行缓存后,还包括:接收预设功能网元在终端离线后发起的动态信息删除请求;根据动态信息删除请求,删除终端动态信息。具体而言,终端会根据业务需要和业务完成状态变更自身的在线状态,为了保证业务的延续性,在终端处于在线状态的情况下,需要存储好终端动态信息,而在终端完成业务办理进入离线状态后,不需要继续保存终端动态信息避免无意义的资源占用。因此,预设功能网元在检测到终端离线后,会请求统一数据管理网元删除缓存的终端动态信息,统一数据管理网元通过预设的服务化端口接收到动态信息删除请求后,根据动态信息删除请求中的标识信息,例如,功能网元的网元标识和用户永久标识符,在本地数据库中查询出对应的终端动态信息,并将查询到的终端动态信息删除,释放相应的资源。通过根据预设功能网元在终端离线后发起的动态信息删除请求,对缓存的指定终端动态信息进行删除,通过灵活的维护方式,避免无意义的终端动态信息缓存对资源的占用,提高资源利用率。In an example, after the unified data management network element caches the dynamic information of the terminal according to the dynamic information cache request, it also includes: receiving a dynamic information deletion request initiated by the preset function network element after the terminal is offline; , to delete the terminal dynamic information. Specifically, the terminal will change its online status according to business needs and business completion status. In order to ensure the continuity of the business, when the terminal is in the online status, it is necessary to store the dynamic information of the terminal, and when the terminal completes business processing, it goes offline. state, there is no need to continue to save terminal dynamic information to avoid meaningless resource occupation. Therefore, after the preset function network element detects that the terminal is offline, it will request the unified data management network element to delete the cached terminal dynamic information. After receiving the dynamic information deletion request through the preset service port, the unified data management network element For the identification information in the information deletion request, for example, the network element identification of the functional network element and the permanent user identifier, the corresponding terminal dynamic information is queried in the local database, and the queried terminal dynamic information is deleted to release the corresponding resources. Through the dynamic information deletion request initiated by the network element according to the preset function after the terminal is offline, the cached dynamic information of the specified terminal is deleted. Through flexible maintenance methods, the resource occupation of meaningless terminal dynamic information cache is avoided, and resource utilization is improved. Rate.
根据终端在线状态进行终端动态数据缓存和维护的流程可以参考图2,包括以下步骤:Refer to Figure 2 for the process of terminal dynamic data caching and maintenance according to the terminal online status, including the following steps:
步骤S101:终端设备(UE)向预设功能网元(AMF)发起初始接入请求。Step S101: a terminal equipment (UE) initiates an initial access request to a preset functional network element (AMF).
步骤S102:AMF向统一数据管理网元(UDM)发起初始接入请求。Step S102: AMF initiates an initial access request to a unified data management network element (UDM).
步骤S103:UDM向AMF返回响应。Step S103: UDM returns a response to AMF.
步骤S104:AMF本地缓存UE的终端动态信息,并向UE返回初始接入响应。Step S104: The AMF locally caches the terminal dynamic information of the UE, and returns an initial access response to the UE.
步骤S105:AMF向UDM发起动态信息缓存请求,动态信息缓存请求中携带用户永久标识符、网元标识和终端动态信息。Step S105: The AMF initiates a dynamic information cache request to the UDM, and the dynamic information cache request carries the user permanent identifier, network element identifier and terminal dynamic information.
步骤S106:UDM向AMF返回保存终端动态信息响应。Step S106: The UDM returns a terminal dynamic information saving response to the AMF.
步骤S107:UE向AMF发起下线请求。Step S107: UE initiates an offline request to AMF.
步骤S108:AMF删除缓存的终端动态信息,并向UE返回下线响应。Step S108: The AMF deletes the cached terminal dynamic information, and returns an offline response to the UE.
步骤S109:AMF向UDM发起动态信息删除请求,动态信息删除请求中携带用户永久标识符和网元标识。Step S109: The AMF initiates a dynamic information deletion request to the UDM, and the dynamic information deletion request carries the user permanent identifier and the network element identifier.
步骤S110:UDM向AMF返回删除终端动态信息的响应。Step S110: The UDM returns a response to the AMF to delete the dynamic information of the terminal.
在另一个例子中,统一数据管理网元在根据动态信息缓存请求,对终端动态信息进行缓存后,还包括:接收预设功能网元的动态信息更新请求,其中,动态信息更新请求中包括最新的终端动态信息;根据动态信息更新请求,将缓存的终端动态信息更新为最新的终端动态信息。具体而言,终端设备对应的终端动态信息随着业务处理进程等因素会持续发生改变,为了保证对终端设备的准确管控和业务支持,预设功能网元会及时维护存储的终端动态信息。在检测到终端设备的业务处理进程进入新的阶段后,会对自身缓存的终端动态信息进行更新,并请求统一数据管理网元进行终端动态信息的更新。统一数据管理网元在接收到预设功能网元的动态信息更新请求后,根据动态信息更新请求中包含的最新的终端动态信息及相应的标识信息,将存储的终端动态信息更新为最新的终端动态信息。通过根据预设功能网元的动态信息更新请求,及时将缓存的终端动态信息更新为最新的终端动态信息,保证统一数据管理网元存储的终端动态信息的时效性和有效性,进而保证根据统一数据管理网元存储的终端动态信息能够准确恢复对终端的管控。In another example, after the unified data management network element caches the terminal dynamic information according to the dynamic information cache request, it further includes: receiving a dynamic information update request from a network element with a preset function, wherein the dynamic information update request includes the latest The terminal dynamic information; according to the dynamic information update request, update the cached terminal dynamic information to the latest terminal dynamic information. Specifically, the terminal dynamic information corresponding to the terminal equipment will continue to change with factors such as the business processing process. In order to ensure accurate control of the terminal equipment and business support, the preset function network element will maintain the stored terminal dynamic information in a timely manner. After detecting that the service processing process of the terminal device has entered a new stage, it will update the terminal dynamic information cached by itself, and request the unified data management network element to update the terminal dynamic information. After receiving the dynamic information update request of the preset function network element, the unified data management network element updates the stored terminal dynamic information to the latest terminal dynamic information according to the latest terminal dynamic information and corresponding identification information contained in the dynamic information update request Dynamic Information. According to the dynamic information update request of the preset function network element, the cached terminal dynamic information is updated to the latest terminal dynamic information in time to ensure the timeliness and validity of the terminal dynamic information stored in the unified data management network element, thereby ensuring The terminal dynamic information stored by the data management network element can accurately restore the management and control of the terminal.
更新缓存的终端动态信息的流程可以参考图3,包括以下步骤:Refer to Figure 3 for the process of updating the cached terminal dynamic information, including the following steps:
步骤S201:终端设备UE进入新的业务处理阶段后发起后续进程消息请求。Step S201: after the terminal equipment UE enters a new service processing stage, it initiates a follow-up process message request.
步骤S202:功能网元AMF更新本地终端动态信息。Step S202: The functional network element AMF updates the dynamic information of the local terminal.
步骤S203:AMF向UE返回响应。Step S203: AMF returns a response to UE.
步骤S204:AMF向统一数据管理网元UDM发起动态信息更新请求,动态信息更新请求中携带用户永久标识符、网元标识和最新的终端动态信息。Step S204: The AMF initiates a dynamic information update request to the unified data management network element UDM, and the dynamic information update request carries the user permanent identifier, the network element identifier and the latest terminal dynamic information.
步骤S205:UDM向AMF返回终端动态信息更新响应。Step S205: UDM returns terminal dynamic information update response to AMF.
在另一个例子中,统一数据管理网元在根据动态信息缓存请求,对终端动态信息进行缓存后,还包括:为缓存的终端动态信息设置更新时间戳,其中,更新时间戳包括终端动态信息最后一次更新的第一时刻;在第一时刻与当前时刻的时间间隔大于预设时长的情况下,删除终端动态信息。具体而言,统一数据管理网元在对终端动态信息进行存储后,为了避免缓存过多的终端动态信息带来无意义的资源占用,还可以基于数据老化机制对定期对缓存的终端动态信息进行动态维护。统一数据管理网元在对终端动态信息进行缓存或更新时,会为缓存的终端动态信息打上缓存时刻或更新时刻的时间戳,然后定期检测缓存的终端动态信息上的时间戳对应的第一时刻和当前时刻之间的时间间隔,在检测到第一时刻和当前时刻之间的时间间隔大于第一预设时长的情况下,判定缓存的终端动态信息已失效,直接删除缓存的终端动态信息,并释放其占用的系统资源。通过基于数据老化机制定期对统一数据管理网元缓存的终端动态信息进行动态维护,避免失效的终端动态信息带来的无意义资源占用,提高资源利用率。In another example, after the unified data management network element caches the terminal dynamic information according to the dynamic information cache request, it further includes: setting an update timestamp for the cached terminal dynamic information, where the update timestamp includes the terminal dynamic information last The first moment of an update; when the time interval between the first moment and the current moment is greater than the preset duration, delete the terminal dynamic information. Specifically, after the unified data management network element stores the terminal dynamic information, in order to avoid meaningless resource occupation caused by caching too much terminal dynamic information, the cached terminal dynamic information can also be periodically updated based on the data aging mechanism. Dynamic maintenance. When the unified data management network element caches or updates the terminal dynamic information, it will mark the cached terminal dynamic information with the time stamp of the cache time or update time, and then periodically detect the first time corresponding to the time stamp on the cached terminal dynamic information and the time interval between the current moment, when it is detected that the time interval between the first moment and the current moment is greater than the first preset duration, it is determined that the cached terminal dynamic information has expired, and the cached terminal dynamic information is directly deleted, And release the system resources it occupies. Based on the data aging mechanism, the terminal dynamic information cached by the unified data management network element is regularly dynamically maintained to avoid meaningless resource occupation caused by invalid terminal dynamic information and improve resource utilization.
在一实施方式中,统一数据管理网元对终端动态信息进行缓存,包括:缓存终端动态信息,并存储终端动态信息对应的注册信息;其中,注册信息根据终端在预设功能网元上的接入状态动态维护;在删除终端动态信息前,还包括:检测终端动态信息是否存在对应的注册信息;在终端动态信息不存在对应的注册信息的情况下,删除终端动态信息。具体而言,统一数据管理网元在对终端动态信息进行缓存时,还会对缓存的终端动态信息对应的终端设备的注册信息进行缓存,建立注册信息表并且根据终端设备在预设功能网元上的接入状态对终端的注册信息进行动态维护。在对缓存的终端动态信息进行删除前,同一数据管理网元还可 以检测注册信息表中是否还存在待删除的终端动态信息对应的注册信息,在检测到终端动态信息对应的注册信息不存在的情况下,判定终端设备已下线,终端动态信息已失效,然后再删除确定出的待删除的终端动态信息;在检测到终端动态信息对应的注册信息仍存在的情况下,可以保留待删除的终端动态信息,并统计终端动态信息未发生变动的时长,然后上报管理员进行处理。通过在缓存终端动态信息的时候存储对应的注册信息,并根据终端在预设功能网元上的接入状态对注册信息进行动态维护,根据注册信息表与动态信息表的对比结果进行过期终端动态信息的动态维护,避免对未失效的终端动态信息误删除的同时,尽可能降低终端动态信息的资源占用。In one embodiment, the unified data management network element caches the dynamic information of the terminal, including: caching the dynamic information of the terminal, and storing the registration information corresponding to the dynamic information of the terminal; Dynamic maintenance of the entry state; before deleting the terminal dynamic information, it also includes: detecting whether there is corresponding registration information in the terminal dynamic information; if there is no corresponding registration information in the terminal dynamic information, deleting the terminal dynamic information. Specifically, when the unified data management network element caches terminal dynamic information, it also caches the registration information of the terminal device corresponding to the cached terminal dynamic information, establishes a registration information table, and The registration information of the terminal is dynamically maintained through the access state on the Internet. Before deleting the cached terminal dynamic information, the same data management network element can also detect whether the registration information corresponding to the terminal dynamic information to be deleted still exists in the registration information table, and if it is detected that the registration information corresponding to the terminal dynamic information does not exist If it is determined that the terminal device is offline and the terminal dynamic information is invalid, then delete the determined terminal dynamic information to be deleted; if it is detected that the registration information corresponding to the terminal dynamic information still exists, the to-be-deleted Terminal dynamic information, and count the length of time that the terminal dynamic information has not changed, and then report it to the administrator for processing. By storing the corresponding registration information when caching the terminal dynamic information, and dynamically maintaining the registration information according to the access status of the terminal on the preset function network element, and performing expired terminal dynamic information based on the comparison result between the registration information table and the dynamic information table The dynamic maintenance of information avoids accidental deletion of terminal dynamic information that has not expired, and at the same time reduces the resource occupation of terminal dynamic information as much as possible.
统一数据管理网元基于数据老化机制,对终端动态数据进行动态维护的流程可以参考图4,包括以下步骤:Based on the data aging mechanism, the unified data management network element can refer to Figure 4 for the dynamic maintenance process of terminal dynamic data, including the following steps:
步骤S301:统一数据管理网元UDM更新缓存的终端动态信息时,给终端动态信息设置更新时间戳。Step S301: when updating the cached terminal dynamic information, the unified data management network element UDM sets an update time stamp for the terminal dynamic information.
步骤S302:UDM设置终端动态信息老化定时器。Step S302: The UDM sets an aging timer for terminal dynamic information.
步骤S303:UDM循环查询终端动态信息的更新时间戳,找出更新时间戳对应时刻距离当前时间超过24小时(时长可配)的终端动态信息。Step S303: The UDM cyclically inquires the updated timestamp of the terminal dynamic information, and finds out the terminal dynamic information whose corresponding time of the updated timestamp is more than 24 hours away from the current time (time length can be configured).
步骤S304:UDM检测到终端动态信息对应的注册信息已删除。Step S304: The UDM detects that the registration information corresponding to the terminal dynamic information has been deleted.
步骤S305:UDM删除该终端动态信息。Step S305: UDM deletes the terminal dynamic information.
然后重复步骤S303,直到所有更新时间戳对应时刻距离当前时间超过24小时的终端动态信息处理完毕。Then step S303 is repeated until all the terminal dynamic information whose time corresponding to the updated timestamp is more than 24 hours away from the current time is processed.
步骤103,在接收到预设功能网元在重启后发起的动态信息请求后,向预设功能网元发送终端动态信息,供预设功能网元根据终端动态信息恢复对终端的管控。Step 103: After receiving the dynamic information request initiated by the preset function network element after restarting, send the terminal dynamic information to the preset function network element, so that the preset function network element can resume management and control of the terminal according to the terminal dynamic information.
具体地说,预设功能网元在发生重启导致终端动态信息丢失后,向统一数据管理网元请求终端动态信息,统一数据管理网元在接收到预设功能网元在重启后发起的动态信息请求后,根据动态信息请求中的标识信息,例如,网元标识和用户永久标识符,查询出预设功能网元请求的终端动态信息。然后通过预设的服务化接口向预设功能网元发送终端动态信息,供预设功能网元根据终端动态信息恢复对终端的管控。Specifically, after the terminal dynamic information is lost due to the restart of the preset function network element, it requests the terminal dynamic information from the unified data management network element, and the unified data management network element receives the dynamic information initiated by the preset function network element after restarting After the request, according to the identification information in the dynamic information request, for example, the network element identification and the user permanent identifier, the terminal dynamic information requested by the preset function network element is queried. Then, the terminal dynamic information is sent to the preset function network element through the preset service interface, so that the preset function network element can restore the management and control of the terminal according to the terminal dynamic information.
预设功能网元恢复对终端管控的流程图可以参考图5,包括以下步骤:Refer to Figure 5 for the flow chart of how network elements with preset functions recover terminal control, including the following steps:
步骤S401:预设功能网元AMF发生重启。Step S401: A restart of the default function network element AMF occurs.
步骤S402:统一数据管理网元UDM向AMF发起终端设备的后续业务请求。Step S402: the unified data management network element UDM initiates a follow-up service request of the terminal device to the AMF.
步骤S403:AMF本地获取终端动态信息失败,向UDM发起动态信息请求,动态信息请求中携带用户永久标识符和网元标识。Step S403: The AMF fails to obtain the dynamic information of the terminal locally, and initiates a dynamic information request to the UDM, and the dynamic information request carries the user permanent identifier and the network element identifier.
步骤S404:UDM向AMF返回获取终端动态信息响应。Step S404: The UDM returns a terminal dynamic information acquisition response to the AMF.
步骤S405:AMF向终端设备UE发起后续业务请求。Step S405: The AMF initiates a follow-up service request to the UE.
步骤S406:UE返回响应。Step S406: UE returns a response.
步骤S407:AMF更新本地终端动态信息,并向UDM返回响应。Step S407: AMF updates local terminal dynamic information, and returns a response to UDM.
步骤S408:AMF向UDM发起动态信息更新请求,动态信息更新请求中携带用户永久标识符、网元标识,最新的终端动态信息。Step S408: The AMF initiates a dynamic information update request to the UDM, and the dynamic information update request carries the user permanent identifier, the network element identifier, and the latest terminal dynamic information.
步骤S409:UDM向AMF返回更新终端动态信息响应。Step S409: The UDM returns a terminal dynamic information update response to the AMF.
值得一提的是,预设功能网元重启后,可以在网络侧主动发起后续业务请求,也可以在 终端设备主动发起业务请求后,向统一数据管理网元发起动态信息请求,以重新获取终端动态信息恢复对终端设备的管控和后续业务支持。It is worth mentioning that after the network element with the preset function is restarted, it can actively initiate a follow-up service request on the network side, or initiate a dynamic information request to the unified data management network element after the terminal device initiates a service request, so as to obtain the terminal again. Dynamic information restores management and control of terminal equipment and subsequent business support.
本申请实施例的另一方面涉及一种数据缓存方法,应用于功能网元,数据缓存方法的流程可以参考图6,包括以下步骤:Another aspect of the embodiment of the present application relates to a data caching method, which is applied to a functional network element. The flow of the data caching method can refer to FIG. 6 , including the following steps:
步骤601,在终端接入成功的情况下,向统一数据管理网元发送动态信息缓存请求。 Step 601, when the terminal access is successful, send a dynamic information cache request to the unified data management network element.
具体地说,功能网元在检测到终端设备成功接入或者接入成功的终端设备处于在线状态的情况下,本地缓存终端设备对应的终端动态信息,并向统一数据管理网元发送动态信息缓存请求,供统一数据管理网元进行动态信息缓存,其中,动态信息缓存请求中包括终端动态信息。值得一提的是,动态信息缓存请求中还可以包括标识信息,例如,功能网元的网元标识和终端设备对应的用户永久标识符。Specifically, when the functional network element detects that the terminal device has successfully accessed or the successfully connected terminal device is online, it locally caches the terminal dynamic information corresponding to the terminal device, and sends the dynamic information cached information to the unified data management network element. The request is for the unified data management network element to cache dynamic information, wherein the dynamic information cache request includes terminal dynamic information. It is worth mentioning that the dynamic information caching request may also include identification information, for example, the network element identification of the functional network element and the user permanent identifier corresponding to the terminal device.
在一个例子中,功能网元在向统一数据管理网元发送动态信息缓存请求,将终端动态信息缓存到统一数据管理网元后,还包括:在终端动态信息发生变动后,向统一数据管理网元发送动态信息更新请求,供统一数据管理网元对缓存的终端动态信息进行更新;其中,动态信息更新请求包括最新的终端动态信息。伴随着业务进程的改变,终端设备对应的终端动态信息会发生变化,功能网元在检测到本地缓存的终端动态信息发生的情况下,向统一数据管理网元发送动态信息更新请求,其中,动态信息更新请求中包括最新的终端动态信息,供统一数据管理网元将缓存的终端动态信息更新为最新的终端动态信息。另外,动态信息更新请求中还可以包括终端动态信息对应的标识信息,例如,功能网元的网元标识和终端设备对应的用户永久标识符,便于统一数据管理网元进行准确高效的终端动态信息更新。In an example, after the functional network element sends a dynamic information cache request to the unified data management network element, and caches the terminal dynamic information to the unified data management network element, it also includes: after the terminal dynamic information changes, send the unified data management network The element sends a dynamic information update request for the unified data management network element to update the cached terminal dynamic information; wherein, the dynamic information update request includes the latest terminal dynamic information. With the change of the service process, the terminal dynamic information corresponding to the terminal equipment will change. When the functional network element detects that the locally cached terminal dynamic information occurs, it will send a dynamic information update request to the unified data management network element. Among them, the dynamic The information update request includes the latest terminal dynamic information for the unified data management network element to update the cached terminal dynamic information to the latest terminal dynamic information. In addition, the dynamic information update request may also include identification information corresponding to the terminal dynamic information, for example, the network element identifier of the functional network element and the user permanent identifier corresponding to the terminal device, so that the unified data management network element can perform accurate and efficient terminal dynamic information renew.
在另一个例子中,功能网元在向统一数据管理网元发送动态信息缓存请求,将终端动态信息缓存到统一数据管理网元后,还包括:在检测到终端下线后,向统一数据管理网元发送动态信息删除请求,供统一数据管理网元删除终端动态信息。功能网元在检测到终端设备的业务处理完毕处于离线状态后,清除本地缓存的终端动态信息,并向统一数据管理网元发送动态信息删除请求,动态信息删除请求中可以包括终端设备对应的用户永久标识符和功能网元的网元标识作为待删除的终端动态信息的标识信息,供统一数据管理网元准确的删除无效的终端动态信息,避免无效的终端动态信息的资源占用。In another example, after the functional network element sends the dynamic information caching request to the unified data management network element, and caches the terminal dynamic information to the unified data management network element, it also includes: after detecting that the terminal is offline, sending a request to the unified data management network element. The network element sends a dynamic information deletion request for the unified data management network element to delete the terminal dynamic information. After the functional network element detects that the service processing of the terminal device is offline, it clears the terminal dynamic information cached locally, and sends a dynamic information deletion request to the unified data management network element. The dynamic information deletion request can include the user corresponding to the terminal device The permanent identifier and the network element identifier of the functional network element are used as the identification information of the terminal dynamic information to be deleted, so that the unified data management network element can accurately delete invalid terminal dynamic information, and avoid resource occupation of invalid terminal dynamic information.
值得一提的是,功能网元可以是AMF、SMF、SMSF等网元,可以根据终端办理的业务选择具体的接入网元,本实施例对功能网元的具体选择不做限制。It is worth mentioning that the functional network element can be AMF, SMF, SMSF and other network elements, and the specific access network element can be selected according to the service handled by the terminal. This embodiment does not limit the specific selection of the functional network element.
步骤602,在重新启动后,向统一数据管理网元发送动态信息请求。 Step 602, after restarting, send a dynamic information request to the unified data management network element.
具体地说,功能网元在发生重启后,会导致存储的终端动态信息丢失,在接收到网络侧或终端设备发起的后续业务请求的情况下,向统一数据管理网元发起动态信息请求,请求获取终端设备的终端动态信息。动态信息请求中可以包括终端设备对应的用户永久标识符及功能网元的网元标识作为请求的终端动态信息的标识信息,便于准确的获取到需要的终端动态信息。Specifically, after the restart of the functional network element, the stored dynamic information of the terminal will be lost. When receiving the subsequent service request initiated by the network side or the terminal device, it will initiate a dynamic information request to the unified data management network element, requesting Get the terminal dynamic information of the terminal device. The dynamic information request may include the user permanent identifier corresponding to the terminal device and the network element identifier of the functional network element as the identification information of the requested terminal dynamic information, so as to accurately obtain the required terminal dynamic information.
步骤603,接收统一数据管理网元下发的终端动态信息,并根据终端动态信息恢复对终端的管控。Step 603: Receive the terminal dynamic information issued by the unified data management network element, and restore the management and control of the terminal according to the terminal dynamic information.
具体地说,功能网元在接收到统一数据管理网元下发的终端动态信息后,根据接收到的终端动态信息,向终端设备发起后续业务请求,并根据终端设备的业务响应对终端动态信息进行更新,恢复对终端设备的管控和业务支持。通过利用统一数据管理网元实现动态信息缓 存来达到避免功能网元动态信息丢失导致无法提供业务支持、提升用户体验的目的,不需要额外部署新的资源的情况下实现功能网元的容灾功能,间接提高了网络服务质量和适应能力。Specifically, after receiving the terminal dynamic information issued by the unified data management network element, the functional network element initiates a follow-up service request to the terminal device according to the received terminal dynamic information, and updates the terminal dynamic information according to the service response of the terminal device. Perform updates to restore control and business support for terminal devices. By using unified data management network elements to realize dynamic information caching, the purpose of avoiding the loss of dynamic information of functional network elements, resulting in the inability to provide service support and improving user experience, is to realize the disaster recovery function of functional network elements without additional deployment of new resources. , indirectly improving the network service quality and adaptability.
此外,应当理解的是,上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。In addition, it should be understood that the division of steps in the above methods is only for clarity of description, and may be combined into one step or split into multiple steps during implementation. As long as the same logical relationship is included, all Within the scope of protection of this patent; adding insignificant modifications or introducing insignificant designs to the algorithm or process, but not changing the core design of the algorithm and process are all within the scope of protection of the patent.
本申请实施例的另一方面还提供了一种数据管理网元,参考图7,包括:Another aspect of the embodiment of the present application also provides a data management network element, referring to FIG. 7, including:
接收模块701,用于接收预设功能网元的动态信息缓存请求,其中,动态信息缓存请求中包括终端动态信息。The receiving module 701 is configured to receive a dynamic information caching request from a preset function network element, wherein the dynamic information caching request includes terminal dynamic information.
缓存模块702,用于根据动态信息缓存请求,对终端动态信息进行缓存。The cache module 702 is configured to cache the terminal dynamic information according to the dynamic information cache request.
响应模块703,用于在接收到预设功能网元在重启后发起的动态信息请求后,向预设功能网元发送终端动态信息,供预设功能网元恢复对终端的管控。The response module 703 is configured to send terminal dynamic information to the preset function network element after receiving the dynamic information request initiated by the preset function network element after restarting, so that the preset function network element can restore the management and control of the terminal.
不难发现,本实施例为与应用在统一数据管理网元的方法实施例相对应的装置实施例,本实施例可与方法实施例互相配合实施。方法实施例中提到的相关技术细节在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在方法实施例中。It is not difficult to find that this embodiment is a device embodiment corresponding to the method embodiment applied to the unified data management network element, and this embodiment can be implemented in cooperation with the method embodiment. The relevant technical details mentioned in the method embodiments are still valid in this embodiment, and will not be repeated here in order to reduce repetition. Correspondingly, the related technical details mentioned in this embodiment can also be applied in the method embodiment.
值得一提的是,本实施例中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本申请的创新部分,本实施例中并没有将与解决本申请所提出的技术问题关系不太密切的单元引入,但这并不表明本实施例中不存在其它的单元。It is worth mentioning that all the modules involved in this embodiment are logical modules. In practical applications, a logical unit can be a physical unit, or a part of a physical unit, or multiple physical units. Combination of units. In addition, in order to highlight the innovative part of the present application, units that are not closely related to solving the technical problem proposed in the present application are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.
本申请实施例的另一方面还提供了一种功能网元,参考图8,包括:Another aspect of the embodiment of the present application also provides a functional network element, referring to FIG. 8 , including:
发送模块801,用于在终端接入成功的情况下,向统一数据管理网元发送动态信息缓存请求,供统一数据管理网元进行动态信息缓存,其中,动态信息缓存请求中包括终端动态信息。The sending module 801 is configured to send a dynamic information cache request to the unified data management network element for the unified data management network element to cache the dynamic information when the terminal access is successful, wherein the dynamic information cache request includes terminal dynamic information.
请求模块802,用于在重新启动后,向统一数据管理网元发送动态信息请求。The request module 802 is configured to send a dynamic information request to the unified data management network element after restarting.
管理模块803,用于接收统一数据管理网元下发的终端动态信息,并根据终端动态信息恢复对终端的管控。The management module 803 is configured to receive terminal dynamic information issued by the unified data management network element, and resume management and control of the terminal according to the terminal dynamic information.
不难发现,本实施例为与应用在功能网元的方法实施例相对应的装置实施例,本实施例可与方法实施例互相配合实施。方法实施例中提到的相关技术细节在本实施例中依然有效,为了减少重复,这里不再赘述。相应地,本实施例中提到的相关技术细节也可应用在方法实施例中。It is not difficult to find that this embodiment is an apparatus embodiment corresponding to a method embodiment applied to a functional network element, and this embodiment can be implemented in cooperation with the method embodiment. The relevant technical details mentioned in the method embodiments are still valid in this embodiment, and will not be repeated here in order to reduce repetition. Correspondingly, the related technical details mentioned in this embodiment can also be applied in the method embodiment.
值得一提的是,本实施例中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本申请的创新部分,本实施例中并没有将与解决本申请所提出的技术问题关系不太密切的单元引入,但这并不表明本实施例中不存在其它的单元。It is worth mentioning that all the modules involved in this embodiment are logical modules. In practical applications, a logical unit can be a physical unit, or a part of a physical unit, or multiple physical units. Combination of units. In addition, in order to highlight the innovative part of the present application, units that are not closely related to solving the technical problem proposed in the present application are not introduced in this embodiment, but this does not mean that there are no other units in this embodiment.
本申请实施例的另一方面还提供了一种电子设备,参考图9,包括:至少一个处理器901;以及,与至少一个处理器901通信连接的存储器902;其中,存储器902存储有可被至少一个处理器901执行的指令,指令被至少一个处理器901执行,以使至少一个处理器901能够执行上述任一方法实施例所描述的数据缓存方法。Another aspect of the embodiment of the present application also provides an electronic device, referring to FIG. 9 , including: at least one processor 901; Instructions executed by at least one processor 901, the instructions are executed by at least one processor 901, so that at least one processor 901 can execute the data caching method described in any one of the foregoing method embodiments.
其中,存储器902和处理器901采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器901和存储器902的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器901处理的数据通过天线在无线介质上进行传输,在一实施方式中,天线还接收数据并将数据传输给处理器901。Wherein, the memory 902 and the processor 901 are connected by a bus, and the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors 901 and various circuits of the memory 902 together. The bus may also connect together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and therefore will not be further described herein. The bus interface provides an interface between the bus and the transceivers. A transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, providing means for communicating with various other devices over a transmission medium. The data processed by the processor 901 is transmitted on the wireless medium through the antenna. In one embodiment, the antenna also receives the data and transmits the data to the processor 901 .
处理器901负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器902可以被用于存储处理器901在执行操作时所使用的数据。 Processor 901 is responsible for managing the bus and general processing, and may also provide various functions, including timing, peripheral interface, voltage regulation, power management, and other control functions. And the memory 902 may be used to store data used by the processor 901 when performing operations.
本申请的实施方式还提供了一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述方法实施例。Embodiments of the present application also provide a computer-readable storage medium storing a computer program. The above method embodiments are implemented when the computer program is executed by the processor.
即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, the program is stored in a storage medium, and includes several instructions to make a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .
本领域的普通技术人员可以理解,上述各实施例是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned embodiments are specific embodiments for realizing the present application, and in practical applications, various changes can be made to it in form and details without departing from the spirit and spirit of the present application. scope.

Claims (12)

  1. 一种数据缓存方法,应用于统一数据管理网元,包括:A data caching method, applied to a unified data management network element, comprising:
    接收预设功能网元的动态信息缓存请求,其中,所述动态信息缓存请求中包括终端动态信息;receiving a dynamic information cache request from a preset function network element, wherein the dynamic information cache request includes terminal dynamic information;
    根据所述动态信息缓存请求,对所述终端动态信息进行缓存;Cache the terminal dynamic information according to the dynamic information cache request;
    在接收到所述预设功能网元在重启后发起的动态信息请求后,向所述预设功能网元发送所述终端动态信息,供所述预设功能网元根据所述终端动态信息恢复对终端的管控。After receiving the dynamic information request initiated by the preset functional network element after restarting, sending the terminal dynamic information to the preset functional network element for the preset functional network element to restore according to the terminal dynamic information Control over the terminal.
  2. 根据权利要求1所述的数据缓存方法,其中,在所述根据所述动态信息缓存请求,对所述终端动态信息进行缓存后,还包括:The data caching method according to claim 1, wherein, after caching the terminal dynamic information according to the dynamic information caching request, further comprising:
    接收所述预设功能网元在终端离线后发起的动态信息删除请求;receiving a dynamic information deletion request initiated by the preset function network element after the terminal is offline;
    根据所述动态信息删除请求,删除所述终端动态信息。Delete the terminal dynamic information according to the dynamic information deletion request.
  3. 根据权利要求1所述的数据缓存方法,其中,在所述根据所述动态信息缓存请求,对所述终端动态信息进行缓存后,还包括:The data caching method according to claim 1, wherein, after caching the terminal dynamic information according to the dynamic information caching request, further comprising:
    接收所述预设功能网元的动态信息更新请求,其中,所述动态信息更新请求中包括最新的终端动态信息;receiving a dynamic information update request from the preset functional network element, wherein the dynamic information update request includes the latest terminal dynamic information;
    根据所述动态信息更新请求,将缓存的所述终端动态信息更新为所述最新的终端动态信息。Update the cached terminal dynamic information to the latest terminal dynamic information according to the dynamic information update request.
  4. 根据权利要求1至3中任一项所述的数据缓存方法,其中,在所述根据所述动态信息缓存请求,对所述终端动态信息进行缓存后,还包括:The data caching method according to any one of claims 1 to 3, wherein, after caching the terminal dynamic information according to the dynamic information caching request, further comprising:
    为缓存的所述终端动态信息设置更新时间戳,其中,所述更新时间戳包括所述终端动态信息最后一次更新的第一时刻;Setting an update timestamp for the cached terminal dynamic information, where the update timestamp includes the first moment when the terminal dynamic information was last updated;
    在所述第一时刻与当前时刻的时间间隔大于预设时长的情况下,删除所述终端动态信息。If the time interval between the first moment and the current moment is greater than a preset duration, the terminal dynamic information is deleted.
  5. 根据权利要求4所述的数据缓存方法,其中,所述对所述终端动态信息进行缓存,包括:The data caching method according to claim 4, wherein caching the dynamic information of the terminal comprises:
    缓存所述终端动态信息,并存储所述终端动态信息对应的注册信息;其中,所述注册信息根据所述终端在所述预设功能网元上的接入状态动态维护;Cache the terminal dynamic information, and store registration information corresponding to the terminal dynamic information; wherein, the registration information is dynamically maintained according to the access state of the terminal on the preset functional network element;
    在所述删除所述终端动态信息前,还包括:Before the deletion of the terminal dynamic information, it also includes:
    检测所述终端动态信息是否存在对应的所述注册信息;Detecting whether there is corresponding registration information in the dynamic information of the terminal;
    在所述终端动态信息不存在对应的所述注册信息的情况下,删除所述终端动态信息。If the terminal dynamic information does not have corresponding registration information, the terminal dynamic information is deleted.
  6. 一种数据缓存方法,应用于功能网元,包括:A data caching method applied to a functional network element, comprising:
    在终端接入成功的情况下,向统一数据管理网元发送动态信息缓存请求,供所述统一数据管理网元进行动态信息缓存,其中,所述动态信息缓存请求中包括终端动态信息;When the terminal access is successful, send a dynamic information caching request to the unified data management network element for the unified data management network element to perform dynamic information caching, wherein the dynamic information caching request includes terminal dynamic information;
    在重新启动后,向所述统一数据管理网元发送动态信息请求;After restarting, send a dynamic information request to the unified data management network element;
    接收所述统一数据管理网元下发的所述终端动态信息,并根据所述终端动态信息恢复对所述终端的管控。receiving the terminal dynamic information issued by the unified data management network element, and restoring the management and control of the terminal according to the terminal dynamic information.
  7. 根据权利要求6所述的数据缓存方法,还包括:The data caching method according to claim 6, further comprising:
    在所述终端动态信息发生变动后,向所述统一数据管理网元发送动态信息更新请求,供所述统一数据管理网元对缓存的所述终端动态信息进行更新;After the terminal dynamic information changes, send a dynamic information update request to the unified data management network element, so that the unified data management network element can update the cached terminal dynamic information;
    其中,所述动态信息更新请求包括最新的终端动态信息。Wherein, the dynamic information update request includes the latest terminal dynamic information.
  8. 根据权利要求6或7所述的数据缓存方法,还包括:The data caching method according to claim 6 or 7, further comprising:
    在检测到所述终端下线后,向所述统一数据管理网元发送动态信息删除请求,供所述统一数据管理网元删除所述终端动态信息。After detecting that the terminal is offline, sending a dynamic information deletion request to the unified data management network element for the unified data management network element to delete the terminal dynamic information.
  9. 一种数据管理网元,包括:A data management network element, comprising:
    接收模块,用于接收预设功能网元的动态信息缓存请求,其中,所述动态信息缓存请求中包括终端动态信息;A receiving module, configured to receive a dynamic information cache request from a preset functional network element, wherein the dynamic information cache request includes terminal dynamic information;
    缓存模块,用于根据所述动态信息缓存请求,对所述终端动态信息进行缓存;A cache module, configured to cache the terminal dynamic information according to the dynamic information cache request;
    响应模块,用于在接收到所述预设功能网元在重启后发起的动态信息请求后,向所述预设功能网元发送所述终端动态信息,供所述预设功能网元恢复对终端的管控。A response module, configured to send the terminal dynamic information to the preset functional network element after receiving the dynamic information request initiated by the preset functional network element after restarting, for the preset functional network element to restore Terminal management and control.
  10. 一种功能网元,包括:A functional network element, comprising:
    发送模块,用于在终端接入成功的情况下,向统一数据管理网元发送动态信息缓存请求,供所述统一数据管理网元进行动态信息缓存,其中,所述动态信息缓存请求中包括终端动态信息;A sending module, configured to send a dynamic information caching request to a unified data management network element when the terminal access is successful, for the unified data management network element to perform dynamic information caching, wherein the dynamic information caching request includes the terminal Dynamic Information;
    请求模块,用于在重新启动后,向所述统一数据管理网元发送动态信息请求;A request module, configured to send a dynamic information request to the unified data management network element after restarting;
    管理模块,用于接收所述统一数据管理网元下发的所述终端动态信息,并根据所述终端动态信息恢复对所述终端的管控。The management module is configured to receive the terminal dynamic information issued by the unified data management network element, and resume the management and control of the terminal according to the terminal dynamic information.
  11. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及,at least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至5中任意一项所述的数据缓存方法,或权利要求6至8中任一项所述的数据缓存方法。The memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor, so that the at least one processor can perform the operation described in any one of claims 1 to 5 The data caching method described above, or the data caching method described in any one of claims 6 to 8.
  12. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至5中任意一项所述的数据缓存方法,或权利要求6至8中任一项所述的数据缓存方法。A computer-readable storage medium storing a computer program, wherein, when the computer program is executed by a processor, the data caching method according to any one of claims 1 to 5 is implemented, or any one of claims 6 to 8 A data caching method described herein.
PCT/CN2022/128482 2021-12-02 2022-10-31 Data caching method, network element, electronic device, and storage medium WO2023098368A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111460547.6 2021-12-02
CN202111460547.6A CN116261153A (en) 2021-12-02 2021-12-02 Data caching method, network element, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023098368A1 true WO2023098368A1 (en) 2023-06-08

Family

ID=86611486

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/128482 WO2023098368A1 (en) 2021-12-02 2022-10-31 Data caching method, network element, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN116261153A (en)
WO (1) WO2023098368A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109818766A (en) * 2017-11-21 2019-05-28 中兴通讯股份有限公司 A kind of communication means, network functional entity, network function storage and computer readable storage medium
CN112586060A (en) * 2018-08-20 2021-03-30 瑞典爱立信有限公司 Method and apparatus for service discovery
KR20210043095A (en) * 2019-10-11 2021-04-21 에스케이텔레콤 주식회사 Method and System for Deregistration and Registration of Terminal in network single registration mode
CN112788085A (en) * 2019-11-11 2021-05-11 华为技术有限公司 Data caching method and device
CN112866932A (en) * 2019-11-28 2021-05-28 中兴通讯股份有限公司 Communication connection method, device and storage medium
CN113133129A (en) * 2019-12-30 2021-07-16 华为技术有限公司 Method, device and system for processing service

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109818766A (en) * 2017-11-21 2019-05-28 中兴通讯股份有限公司 A kind of communication means, network functional entity, network function storage and computer readable storage medium
CN112586060A (en) * 2018-08-20 2021-03-30 瑞典爱立信有限公司 Method and apparatus for service discovery
KR20210043095A (en) * 2019-10-11 2021-04-21 에스케이텔레콤 주식회사 Method and System for Deregistration and Registration of Terminal in network single registration mode
CN112788085A (en) * 2019-11-11 2021-05-11 华为技术有限公司 Data caching method and device
CN112866932A (en) * 2019-11-28 2021-05-28 中兴通讯股份有限公司 Communication connection method, device and storage medium
CN113133129A (en) * 2019-12-30 2021-07-16 华为技术有限公司 Method, device and system for processing service

Also Published As

Publication number Publication date
CN116261153A (en) 2023-06-13

Similar Documents

Publication Publication Date Title
AU2021277736B2 (en) Pdu type setting method, ue policy setting method, and related entity
KR100451211B1 (en) System and method for maintaining consistency of transaction cache in mobile computing environments
EP0760195B1 (en) Updating subscriber data of a mobile communication system
CN110536282B (en) Event notification method and device
CN112788085B (en) Data caching method and device
CN103024065A (en) System configuration management method for cloud storage system
EP2882227B1 (en) Processing an 'at' command when mobile phone loses coverage and switches between systems
CN101383746A (en) Access control method and system for wireless network
CN103916277A (en) Method and device for not interrupting forwarding service in rebooting process
US20220191279A1 (en) IoT Device Data Management Method, Apparatus, and System
US20220201085A1 (en) Data management method, related product, and communications system
CN108833149A (en) Method and system for monitoring network availability and self-healing of express delivery cabinet
CN104168140A (en) VTEP abnormal condition processing method and device
WO2009000214A1 (en) Method and device for configuring configuration data of user access network
JP3944491B2 (en) Context synchronization method for mobile communication system
CN102307194A (en) Graceful restarting method and device for universal protocol process
WO2023098368A1 (en) Data caching method, network element, electronic device, and storage medium
RU2542933C1 (en) Method (versions), apparatus (versions) and system for controlling access
WO2013139092A1 (en) Automatic supplement and acquisition method and device for north ftp performance file of telecommunication network management system
KR100194771B1 (en) Subscription management device for personal communication service (PCS) and its method
CN101325738B (en) Method and apparatus for repairing fault of mobile communication core network register
CN112804371B (en) Domain name resolution processing method and device
CN102355456B (en) Management method and device for restart counter
CN1984474B (en) Method and system for realizing mobile user data safety backup
KR101251182B1 (en) Method for registration in mobile telecommunications system and therfor system

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

Country of ref document: EP

Kind code of ref document: A1