WO2024012542A1 - Subscription information processing method and apparatus, device, and storage medium - Google Patents

Subscription information processing method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2024012542A1
WO2024012542A1 PCT/CN2023/107303 CN2023107303W WO2024012542A1 WO 2024012542 A1 WO2024012542 A1 WO 2024012542A1 CN 2023107303 W CN2023107303 W CN 2023107303W WO 2024012542 A1 WO2024012542 A1 WO 2024012542A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual network
target
template
terminal
group
Prior art date
Application number
PCT/CN2023/107303
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 WO2024012542A1 publication Critical patent/WO2024012542A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2474Sequence data queries, e.g. querying versioned data
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Definitions

  • the embodiments of the present disclosure relate to the field of communications, and in particular, to a contract information processing method, device, equipment and storage medium.
  • the current signing session management information for IoT user number signing function options is all stored in UDR (Unified Data Repository, unified data repository), causing UDR to occupy a large amount of storage resources.
  • UDR Unified Data Repository, unified data repository
  • Embodiments of the present disclosure provide a subscription information processing method, device, equipment and storage medium to solve the problem that all subscription session management information is stored in UDR, causing UDR to occupy a large amount of storage resources.
  • the first aspect provides a contract information processing method, including:
  • the second aspect provides a contract information processing method, including:
  • a target virtual network group template is created to store the subscription matching the target internal group identifier. information.
  • a contract information query device including:
  • the first obtaining unit is used to obtain a query request of the terminal, where the query request includes the identification of the terminal;
  • a second acquisition unit configured to acquire the internal group identifier of the terminal from the unified data storage library based on the identifier of the terminal;
  • a third acquisition unit configured to acquire the target contract information matching the internal group identifier from the locally stored contract information
  • a return unit configured to return the target subscription information and the internal group identification to the terminal.
  • a device for storing contract information including:
  • the fourth acquisition unit is used to acquire the latest assigned target internal group identifier of the terminal
  • An update unit configured to use the target internal group identifier, update the internal group identifier in the unified data repository, and obtain the update result
  • a creation unit configured to, if the update result indicates that the update is successful, and when it is determined that there is no target virtual network group template matching the target internal group identifier stored locally, create a target virtual network group template to store the target internal group template.
  • the group ID matches the contract information.
  • an electronic device which is characterized in that it includes: a processor, a memory and a communication bus, wherein the processor and the memory complete communication with each other through the communication bus;
  • the memory is used to store computer programs
  • the processor is configured to execute the program stored in the memory to implement the contract information processing method described in the first aspect or the second aspect.
  • a sixth aspect provides a computer-readable storage medium storing a computer program, When the computer program is executed by the processor, the contract information processing method described in the first aspect or the second aspect is implemented.
  • Figure 1 is a schematic flow chart of a contract information processing method in an embodiment of the present disclosure
  • Figure 2 is a signaling diagram of a contract information processing method in an embodiment of the present disclosure
  • Figure 3 is another schematic flowchart of a contract information processing method in an embodiment of the present disclosure
  • Figure 4 is another signaling diagram of the contract information processing method in the embodiment of the present disclosure.
  • Figure 5 is a schematic structural diagram of a contract information processing device in an embodiment of the present disclosure.
  • Figure 6 is another structural schematic diagram of a contract information processing device in an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure.
  • the system obtains session management data, and the session management data is used to identify the signing process of the IoT terminal.
  • the session management subscription data of the same type of IoT terminal except for the slight difference in the Internal Group ID in the session management subscription data, other parameters remain the same.
  • the same IoT terminal can sign up with multiple VN Groups. Based on the above two situations, when a 5G IoT terminal signs multiple VN Groups, UDR will occupy a large amount of storage resources.
  • related technologies Based on the method of using UDR to save the session management contract data of IoT terminals in related technologies, related technologies also provide the following two methods to obtain 5G things through query and subscription.
  • SMF sends a query request to UDM, where the query request carries query parameters indicating a request to query session management subscription data.
  • UDM After receiving the query request, UDM reads the subscription information stored in UDR, obtains the session management subscription data from the subscription information, and returns the obtained session management subscription data to SMF.
  • Subscription sessions manage subscription data changes through the subscription interface.
  • the specific steps for implementation are as follows:
  • SMF sends a subscription request to UDM to subscribe to session management subscription data.
  • UDM After receiving the subscription request, UDM stores the SMF subscription information and returns a response.
  • UDM will send a message to notify SMF, which carries the new session management subscription data.
  • SMF resends the query message to obtain the session management subscription data.
  • Session management subscription data is stored in UDR, and UDM supports the update and retrieval of session management subscription data:
  • UDM supports operators to notify UDM to update the session management subscription data stored in UDR through the BOSS interface
  • UDM supports SMF to query UDM for session management contract data stored in UDR.
  • UDR When there are many 5G IoT terminals, UDR will occupy a large amount of storage resources, which will further cause slow response to user queries and subscriptions, affecting user experience.
  • embodiments of the present disclosure provide a contract information processing method, which can be applied in UDM;
  • the method may include the following steps:
  • Step 101 Obtain the query request of the terminal, and the query request includes the identification of the terminal;
  • Step 102 Based on the identification of the terminal, obtain the internal group identification of the terminal from the unified data repository;
  • Step 103 Obtain the target contract information that matches the internal group identifier from the locally stored contract information
  • Step 104 Return the target subscription information and internal group identification to the terminal.
  • the relevant data of the terminal subscription is divided into two parts for storage.
  • One part i.e., the internal group identification
  • the remaining part i.e., the contract information matching the internal group identification
  • the unified data repository only saves the internal group identifier and does not need to store other data related to the contract. Therefore, compared with related technologies, all data related to the contract is stored in the UDR, which greatly reduces the storage space occupied by the UDR.
  • mapping relationship can be configured by the 5G network when the terminal signs a contract with the 5G network.
  • the target subscription information from the locally stored subscription information it can be achieved by querying the mapping relationship between the preset internal group identifier and the subscription information.
  • different subscription information is set to be stored in different virtual network group templates. It should be noted that the different subscription information here refers to the subscription information of different types of terminals.
  • the process of obtaining the target subscription information may be as follows:
  • the target virtual network group template matching the internal group identifier can be obtained by querying the mapping relationship between the preset internal group identifier and the virtual network group template.
  • this embodiment configures the same virtual network group template for terminals of the same type. Due to the same type of end The first four digits of the internal group ID on both ends are the same. Therefore, when obtaining the target virtual network group template, the sub-identifier of the internal group ID is used to obtain the target virtual network group template.
  • a sub-identity used to reflect template information is extracted from the internal group identification; a virtual network group template matching the sub-identity is queried from all virtual network group templates; the virtual network group template as the target virtual network group template.
  • the prefix sequence of the internal group identifier can be used as a sub-identifier that embodies template information. It should be understood that the preamble sequence here may be the first four digits of the internal group identifier, which is not specifically limited in this embodiment.
  • the protocol specifies the format of the internal group identifier as follows:
  • the first four digits are sub-identifiers that reflect template information.
  • the internal group identifiers of the electric lights in the park are:
  • the internal logos of the robots in the park are:
  • the locally stored virtual network group templates are marked with indexes.
  • Each virtual network group template corresponds to a unique index. Therefore, when searching for the virtual network group template matching the sub-identification, it can be implemented based on the index. .
  • a virtual network group template whose index matches the sub-identity is searched for from all virtual network group templates; the virtual network group template whose index matches the sub-identity is used as the virtual network group template that matches the sub-identity.
  • Netgroup template is used as the virtual network group template that matches the sub-identity.
  • the query request of the terminal is obtained, and the query request packet Including the identification of the terminal; based on the identification of the terminal, obtain the internal group identification of the terminal from the unified data repository; obtain the target signing information matching the internal group identification from the locally stored signing information; return the target signing information and internal group identification to the terminal Group ID. Since only the internal group identifier is stored in the unified data repository and no other data related to the contract is stored, compared to related technologies where all data related to the contract is stored in the UDR, the storage space occupied by the UDR is greatly reduced. Moreover, in this embodiment, the subscription information of terminals of the same type is stored in the same virtual network group template, so the retrieval time can be reduced and the user's retrieval efficiency can be improved on the basis of reducing the storage space occupied by UDR.
  • SMF sends an HTTP Get message to UDM, which carries query parameters and instructs the query sm-data (session management contract data); after UDM receives the query request, it sends LDAP (Lightweight Directory Access) to UDR. Protocol) request; UDM receives the LDAP response and verifies the user subscription information; UDM matches the VN Group information template according to the internal group identifier of the contract; UDM returns sm-data data to SMF, which contains VN Group information.
  • LDAP Lightweight Directory Access
  • the embodiment of the present disclosure provides a contract information processing method, which can be applied in UDM. As shown in Figure 3, the method can include the following steps:
  • Step 301 Obtain the latest assigned target internal group ID of the terminal
  • Step 302 Use the target internal group identifier to update the internal group identifier in the unified data repository and obtain the update result;
  • Step 303 If the update result indicates that the update is successful and it is determined that the target virtual network group template matching the target internal group ID is not stored locally, create a target virtual network group template to store the subscription information matching the target internal group ID.
  • update structure indicates that the update was successful, indicating that the target internal group identification was stored in the unified data repository.
  • this embodiment configures the same virtual network group template for terminals of the same type. Since the first four digits of the internal group identifiers of terminals of the same type are the same, when determining that the target virtual network group template is stored locally, the sub-identifier of the internal group identifier is used.
  • a sub-identity used to reflect template information in the target internal group identification is obtained; when it is determined that all locally stored virtual network templates do not include a virtual network template matching the sub-identity, determine that the local No target virtual network group template is stored.
  • the locally stored virtual network group templates are marked with an index.
  • Each virtual network group template corresponds to a unique index. Therefore, the determination of all locally stored virtual network group templates does not include matching the sub-identifier.
  • Virtual network templates can be implemented based on indexes.
  • search for a virtual network group template whose index matches the sub-identity from all virtual network group templates; when it is determined that all virtual network templates do not include a virtual network group whose index matches the sub-identity.
  • selecting a template it is determined that all virtual network templates stored locally do not include a virtual network template that matches the sub-id.
  • the latest assigned target internal group ID of the terminal is obtained; the target internal group ID is used to update the internal group ID in the unified data repository to obtain the update result; if the update result indicates that the update is successful, when it is determined
  • the target virtual network group template matching the target internal group ID is not stored locally, create a target virtual network group template to store the subscription information matching the target internal group ID. Since only the target internal group ID is stored in the unified data repository, and the contract information matching the target internal group ID is stored in UDM, the storage space occupied by UDR can be greatly reduced.
  • SMF sends an HTTP Post message to UDM and subscribes to sm-data; after UDM receives the subscription request, it sends an LDAP request to UDR and stores the subscription record; UDM receives an LDAP response; UDM returns a successful subscription to SMF; BOSS interface Execute command repair Change user subscription information; UDM sends an LDAP request to UDR to update user subscription data; UDM receives an LDAP response, indicating that the user subscription data has been updated successfully; UDM matches the VN Group information template table based on the internal group identifier of user subscription; UDM sends a message to SMF Subscribe to the notification message to indicate the change content of sm-data; SMF returns successfully.
  • the embodiment of the present disclosure provides a contract information processing device.
  • the device mainly includes:
  • the first obtaining unit 501 is used to obtain the query request of the terminal, where the query request includes the identification of the terminal;
  • the second obtaining unit 502 is configured to obtain the internal group identification of the terminal from the unified data storage library based on the identification of the terminal;
  • the third acquisition unit 503 is configured to acquire the target subscription information that matches the internal group identifier from the locally stored subscription information;
  • the return unit 504 is used to return the target subscription information and internal group identification to the terminal.
  • the third acquisition unit 503 is used for:
  • the third acquisition unit 503 is used for:
  • the third acquisition unit 503 is used for:
  • the embodiment of the present disclosure provides a contract information processing device.
  • the device mainly includes:
  • the fourth obtaining unit 601 is used to obtain the latest assigned target internal group identification of the terminal;
  • the update unit 602 is configured to use the target internal group identifier, update the internal group identifier in the unified data repository, and obtain the update result;
  • Creation unit 603 configured to create a target virtual network group template to store subscriptions matching the target internal group ID if the update result indicates that the update is successful and when it is determined that the target virtual network group template matching the target internal group ID is not stored locally. information.
  • Creation unit 603 is used for:
  • Creation unit 603 is used for:
  • an embodiment of the present disclosure also provides an electronic device.
  • the electronic device mainly includes: a processor 701, a memory 702, and a communication bus 703.
  • the processor 701 and the memory 702 communicate through Bus 703 completes mutual communication.
  • the memory 702 stores programs that can be executed by the processor 701.
  • the processor 701 executes the programs stored in the memory 702 to implement the following steps:
  • the query request of the terminal includes the identification of the terminal; based on the identification of the terminal, obtain the internal group identification of the terminal from the unified data repository; obtain the target contract information matching the internal group identification from the locally stored contract information; Return target subscription information and internal group identification to the terminal;
  • the communication bus 703 mentioned in the above electronic equipment may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the communication bus 703 can be divided into an address bus, a data bus, a control bus, etc. For ease of presentation, only one thick line is used in Figure 7, but it does not mean that there is only one bus or one type of bus.
  • the memory 702 may include random access memory (RAM) or non-volatile memory (non-volatile memory), such as at least one disk memory.
  • RAM random access memory
  • non-volatile memory non-volatile memory
  • the memory may also be at least one storage device located remotely from the aforementioned processor 701 .
  • the above-mentioned processor 701 can be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc., or it can also be a digital signal processor (Digital Signal Processing, referred to as DSP). ), Application Specific Integrated Circuit (ASIC for short), Field-Programmable Gate Array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • a computer-readable storage medium stores a computer program.
  • the computer program When the computer program is run on a computer, it causes the computer to execute the above embodiments.
  • the described contract information processing method is also provided.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another, e.g., from a website, computer, server, or data center via a wireline (e.g., Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, microwave, etc.) means to transmit to another website, computer, server or data center.
  • the computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • the available media may be magnetic media (such as floppy disks, hard disks, magnetic tapes, etc.), optical media (such as DVDs), or semiconductor media (such as solid state drives).

Abstract

Embodiments of the present disclosure relate to a subscription information processing method and apparatus, a device, and a storage medium. The method comprises: obtaining a query request of a terminal, the query request comprising an identifier of the terminal; on the basis of the identifier of the terminal, obtaining an internal group identifier of the terminal from a unified data repository; obtaining target subscription information matching the internal group identifier from locally stored subscription information; and returning the target subscription information and the internal group identifier to the terminal.

Description

签约信息处理方法、装置、设备及存储介质Contract information processing methods, devices, equipment and storage media 技术领域Technical field
本公开实施例涉及通信领域,尤其涉及一种签约信息处理方法、装置、设备及存储介质。The embodiments of the present disclosure relate to the field of communications, and in particular, to a contract information processing method, device, equipment and storage medium.
背景技术Background technique
在4G时代,就提出了万物相连的互联网,即物联网概念,进入5G后,随着业务的不断扩展,要求物联网用户号码能够签约更多的功能选项。In the 4G era, the Internet where everything is connected, that is, the concept of the Internet of Things, was proposed. After entering 5G, with the continuous expansion of services, Internet of Things user numbers are required to be able to sign up for more functional options.
当前物联网用户号码签约功能选项时的签约会话管理信息,全部存储在UDR(Unified Data Repository,统一数据存储库)中,导致UDR会占用大量的存储资源。The current signing session management information for IoT user number signing function options is all stored in UDR (Unified Data Repository, unified data repository), causing UDR to occupy a large amount of storage resources.
发明内容Contents of the invention
本公开实施例提供了一种签约信息处理方法、装置、设备及存储介质,用以解决签约会话管理信息全部存储在UDR,导致UDR会占用大量的存储资源的。Embodiments of the present disclosure provide a subscription information processing method, device, equipment and storage medium to solve the problem that all subscription session management information is stored in UDR, causing UDR to occupy a large amount of storage resources.
第一方面,提供一种签约信息处理方法,包括:The first aspect provides a contract information processing method, including:
获取终端的查询请求,所述查询请求包括所述终端的标识;Obtain a query request from the terminal, where the query request includes the identification of the terminal;
基于所述终端的标识,从统一数据存储库中获取所述终端的内部组标识;Based on the identification of the terminal, obtain the internal group identification of the terminal from the unified data repository;
从本地存储的签约信息中,获取与所述内部组标识匹配的目标签约信息;Obtain the target contract information matching the internal group identifier from the locally stored contract information;
向所述终端返回所述目标签约信息和所述内部组标识。Return the target subscription information and the internal group identification to the terminal.
第二方面,提供一种签约信息处理方法,包括:The second aspect provides a contract information processing method, including:
获取所述终端最新被分配的目标内部组标识; Obtain the latest assigned target internal group identifier of the terminal;
采用所述目标内部组标识,更新统一数据存储库中的内部组标识,得到更新结果;Using the target internal group identifier, update the internal group identifier in the unified data repository to obtain the update result;
若所述更新结果指示更新成功,当确定本地未存储有与所述目标内部组标识匹配的目标虚拟网络组模板时,创建目标虚拟网络组模板,以存储与所述目标内部组标识匹配的签约信息。If the update result indicates that the update is successful, when it is determined that the target virtual network group template matching the target internal group identifier is not stored locally, a target virtual network group template is created to store the subscription matching the target internal group identifier. information.
第三方面,提供一种签约信息查询装置,包括:In a third aspect, a contract information query device is provided, including:
第一获取单元,用于获取终端的查询请求,所述查询请求包括所述终端的标识;The first obtaining unit is used to obtain a query request of the terminal, where the query request includes the identification of the terminal;
第二获取单元,用于基于所述终端的标识,从统一数据存储库中获取所述终端的内部组标识;a second acquisition unit, configured to acquire the internal group identifier of the terminal from the unified data storage library based on the identifier of the terminal;
第三获取单元,用于从本地存储的签约信息中,获取与所述内部组标识匹配的目标签约信息;A third acquisition unit configured to acquire the target contract information matching the internal group identifier from the locally stored contract information;
返回单元,用于向所述终端返回所述目标签约信息和所述内部组标识。A return unit, configured to return the target subscription information and the internal group identification to the terminal.
第四方面,提供一种签约信息保存装置,包括:In the fourth aspect, a device for storing contract information is provided, including:
第四获取单元,用于获取所述终端最新被分配的目标内部组标识;The fourth acquisition unit is used to acquire the latest assigned target internal group identifier of the terminal;
更新单元,用于采用所述目标内部组标识,更新统一数据存储库中的内部组标识,得到更新结果;An update unit, configured to use the target internal group identifier, update the internal group identifier in the unified data repository, and obtain the update result;
创建单元,用于若所述更新结果指示更新成功,当确定本地未存储有与所述目标内部组标识匹配的目标虚拟网络组模板时,创建目标虚拟网络组模板,以存储与所述目标内部组标识匹配的签约信息。A creation unit configured to, if the update result indicates that the update is successful, and when it is determined that there is no target virtual network group template matching the target internal group identifier stored locally, create a target virtual network group template to store the target internal group template. The group ID matches the contract information.
第五方面,提供一种电子设备,其特征在于,包括:处理器、存储器和通信总线,其中,处理器和存储器通过通信总线完成相互间的通信;In a fifth aspect, an electronic device is provided, which is characterized in that it includes: a processor, a memory and a communication bus, wherein the processor and the memory complete communication with each other through the communication bus;
所述存储器,用于存储计算机程序;The memory is used to store computer programs;
所述处理器,用于执行所述存储器中所存储的程序,实现第一方面或第二方面所述的签约信息处理方法。The processor is configured to execute the program stored in the memory to implement the contract information processing method described in the first aspect or the second aspect.
第六方面,提供一种计算机可读存储介质,存储有计算机程序, 所述计算机程序被处理器执行时实现第一方面或第二方面所述的签约信息处理方法。A sixth aspect provides a computer-readable storage medium storing a computer program, When the computer program is executed by the processor, the contract information processing method described in the first aspect or the second aspect is implemented.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those of ordinary skill in the art, It is said that other drawings can be obtained based on these drawings without exerting creative labor.
图1为本公开实施例中签约信息处理方法的一种流程示意图;Figure 1 is a schematic flow chart of a contract information processing method in an embodiment of the present disclosure;
图2为本公开实施例中签约信息处理方法的一种信令图;Figure 2 is a signaling diagram of a contract information processing method in an embodiment of the present disclosure;
图3为本公开实施例中签约信息处理方法的又一种流程示意图;Figure 3 is another schematic flowchart of a contract information processing method in an embodiment of the present disclosure;
图4为本公开实施例中签约信息处理方法的又一种信令图;Figure 4 is another signaling diagram of the contract information processing method in the embodiment of the present disclosure;
图5为本公开实施例中签约信息处理装置的一种结构示意图;Figure 5 is a schematic structural diagram of a contract information processing device in an embodiment of the present disclosure;
图6为本公开实施例中签约信息处理装置的又一种结构示意图;Figure 6 is another structural schematic diagram of a contract information processing device in an embodiment of the present disclosure;
图7为本公开实施例中电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments These are some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments obtained by those of ordinary skill in the art without any creative efforts fall within the scope of protection of this disclosure.
需要说明的是,本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互 换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. order. It should be understood that data used in this way can, under appropriate circumstances, be substitutions so that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus that encompasses a series of steps or units and need not be limited to those explicitly listed. Those steps or elements may instead include other steps or elements not expressly listed or inherent to the process, method, product or apparatus.
为了方便阅读,以下先通过表一对本公开方案涉及到的技术术语进行简单介绍。For the convenience of reading, the technical terms involved in this disclosed solution are briefly introduced below through a table.
表一
Table I
相关技术中,物联网终端签约系统的VN Group后,系统得到会话管理数据,会话管理数据用于标识物联网终端的签约过程。对于同类型的物联网终端的会话管理签约数据,除了会话管理签约数据中的Internal Group ID稍有区别外,其它的参数保持一致。另外,同一个物联网终端可以签约多个VN Group。基于以上两种情况,当5G物联网终端签约多个VN Group时,UDR将会占用大量的存储资源。In related technology, after the IoT terminal signs the VN Group of the system, the system obtains session management data, and the session management data is used to identify the signing process of the IoT terminal. For the session management subscription data of the same type of IoT terminal, except for the slight difference in the Internal Group ID in the session management subscription data, other parameters remain the same. In addition, the same IoT terminal can sign up with multiple VN Groups. Based on the above two situations, when a 5G IoT terminal signs multiple VN Groups, UDR will occupy a large amount of storage resources.
基于相关技术中采用UDR保存物联网终端的会话管理签约数据的方式,相关技术中还提供了以下通过查询和订阅两种方式来获取5G物 联网终端的会话管理签约数据的方式。Based on the method of using UDR to save the session management contract data of IoT terminals in related technologies, related technologies also provide the following two methods to obtain 5G things through query and subscription. The method of session management of contract data for networked terminals.
通过查询接口获取会话管理签约数据,实现的具体步骤如下所示:Obtain session management subscription data through the query interface. The specific steps for implementation are as follows:
1.SMF向UDM发送查询请求,其中查询请求携带查询参数,指示请求查询会话管理签约数据。1. SMF sends a query request to UDM, where the query request carries query parameters indicating a request to query session management subscription data.
2.UDM收到查询请求后,读取UDR存储的签约信息,从签约信息中获取会话管理签约数据,并将获取的会话管理签约数据返回给SMF。2. After receiving the query request, UDM reads the subscription information stored in UDR, obtains the session management subscription data from the subscription information, and returns the obtained session management subscription data to SMF.
通过订阅接口订阅会话管理签约数据变更,实现的具体步骤如下所示:Subscription sessions manage subscription data changes through the subscription interface. The specific steps for implementation are as follows:
1.SMF向UDM发送订阅请求,以订阅会话管理签约数据。1. SMF sends a subscription request to UDM to subscribe to session management subscription data.
2.UDM收到订阅请求后,存储SMF的订阅信息,并返回响应。2. After receiving the subscription request, UDM stores the SMF subscription information and returns a response.
3.会话管理签约数据发生变更,UDM会发送消息通知SMF,其中携带新的会话管理签约数据。3. If the session management subscription data changes, UDM will send a message to notify SMF, which carries the new session management subscription data.
4.SMF重新发送查询消息获取会话管理签约数据。4. SMF resends the query message to obtain the session management subscription data.
会话管理签约数据存储在UDR中,UDM支持会话管理签约数据的更新和检索:Session management subscription data is stored in UDR, and UDM supports the update and retrieval of session management subscription data:
UDM通过BOSS接口,支持运营商通知UDM更新UDR存储的会话管理签约数据;UDM supports operators to notify UDM to update the session management subscription data stored in UDR through the BOSS interface;
UDM通过N10接口,支持SMF向UDM查询UDR存储的用会话管理签约数据。Through the N10 interface, UDM supports SMF to query UDM for session management contract data stored in UDR.
当5G物联网终端较多时,UDR会占用大量的存储资源,会进一步导致用户的查询和订阅的响应速度慢,影响用户体验。When there are many 5G IoT terminals, UDR will occupy a large amount of storage resources, which will further cause slow response to user queries and subscriptions, affecting user experience.
为了解决相关技术中存在的问题,本公开实施例提供一种签约信息处理方法,该方法可应用于UDM中;In order to solve the problems existing in related technologies, embodiments of the present disclosure provide a contract information processing method, which can be applied in UDM;
如图1所示,该方法可以包括以下步骤:As shown in Figure 1, the method may include the following steps:
步骤101、获取终端的查询请求,查询请求包括终端的标识;Step 101: Obtain the query request of the terminal, and the query request includes the identification of the terminal;
步骤102、基于终端的标识,从统一数据存储库中获取终端的内部组标识; Step 102: Based on the identification of the terminal, obtain the internal group identification of the terminal from the unified data repository;
步骤103、从本地存储的签约信息中,获取与内部组标识匹配的目标签约信息;Step 103: Obtain the target contract information that matches the internal group identifier from the locally stored contract information;
步骤104、向终端返回目标签约信息和内部组标识。Step 104: Return the target subscription information and internal group identification to the terminal.
本实施例中将终端签约的相关数据分为两部分存储,一部分(即内部组标识)存储于统一数据存储库中,剩余部分(即与内部组标识匹配的签约信息)存储于UDM中,由于统一数据存储库中仅保存内部组标识,而不用存储签约相关的其它数据,所以相比于相关技术中将签约相关的数据都存储于UDR中,大大降低了对UDR对存储空间的占用。In this embodiment, the relevant data of the terminal subscription is divided into two parts for storage. One part (i.e., the internal group identification) is stored in the unified data storage database, and the remaining part (i.e., the contract information matching the internal group identification) is stored in the UDM. Since The unified data repository only saves the internal group identifier and does not need to store other data related to the contract. Therefore, compared with related technologies, all data related to the contract is stored in the UDR, which greatly reduces the storage space occupied by the UDR.
应理解,在从统一数据库中获取终端的内部组标识时,可以通过查询预先配置的终端的标识和内部组标识的映射关系实现。实际应用中,该映射关系可以为终端向5G网络进行签约时,由5G网络进行配置。It should be understood that when obtaining the internal group identifier of the terminal from the unified database, this can be achieved by querying the mapping relationship between the preconfigured terminal identifier and the internal group identifier. In actual applications, the mapping relationship can be configured by the 5G network when the terminal signs a contract with the 5G network.
本实施例中,从本地存储的签约信息中获取目标签约信息时,可以通过查询预先设置的内部组标识与签约信息的映射关系实现。In this embodiment, when obtaining the target subscription information from the locally stored subscription information, it can be achieved by querying the mapping relationship between the preset internal group identifier and the subscription information.
应用中,为了对本地存储的不同的签约信息进行隔离和区分,设置不同的签约信息由不同的虚拟网络组模板进行存储。应注意,这里不同的签约信息指的是不同类型终端的签约信息。In the application, in order to isolate and distinguish different locally stored subscription information, different subscription information is set to be stored in different virtual network group templates. It should be noted that the different subscription information here refers to the subscription information of different types of terminals.
相应地,当以虚拟网络组模板存储目标签约信息时,获取目标签约信息的过程具体可以为:Correspondingly, when the target subscription information is stored in the virtual network group template, the process of obtaining the target subscription information may be as follows:
从本地存储的所有虚拟网络组模板中,获取与内部组标识匹配的目标虚拟网络组模板;获取目标虚拟网络组模板中的签约信息;将目标虚拟网络组模板中的签约信息作为目标签约信息。Obtain the target virtual network group template that matches the internal group identifier from all locally stored virtual network group templates; obtain the contract information in the target virtual network group template; use the contract information in the target virtual network group template as the target contract information.
本实施例中,可以通过查询预先设置的内部组标识与虚拟网络组模板的映射关系,获取内部组标识匹配的目标虚拟网络组模板。In this embodiment, the target virtual network group template matching the internal group identifier can be obtained by querying the mapping relationship between the preset internal group identifier and the virtual network group template.
应用中,由于同类型的终端的会话管理数据除了内部组标识之外其它的保持一致,因此为了节省存储空间,减少对存储空间的占用,本实施例针对同类型的终端配置同一虚拟网络组模板。由于同类型终 端的内部组标识的前四个数字相同,所以,在获取目标虚拟网络组模板时,采用内部组标识的子标识去获取目标虚拟网络组模板。In the application, since the session management data of terminals of the same type are consistent except for the internal group identifier, in order to save storage space and reduce the occupation of storage space, this embodiment configures the same virtual network group template for terminals of the same type. . Due to the same type of end The first four digits of the internal group ID on both ends are the same. Therefore, when obtaining the target virtual network group template, the sub-identifier of the internal group ID is used to obtain the target virtual network group template.
具体实现时,一个可选实施例中,从内部组标识中,提取用于体现模板信息的子标识;从所有虚拟网络组模板中,查询与子标识匹配的虚拟网络组模板;将虚拟网络组模板作为目标虚拟网络组模板。During specific implementation, in an optional embodiment, a sub-identity used to reflect template information is extracted from the internal group identification; a virtual network group template matching the sub-identity is queried from all virtual network group templates; the virtual network group template as the target virtual network group template.
应用中,可以将内部组标识的前置序列作为体现模板信息的子标识。应理解,这里的前置序列可以为内部组标识的前四位,本实施例对此不作具体限定。In applications, the prefix sequence of the internal group identifier can be used as a sub-identifier that embodies template information. It should be understood that the preamble sequence here may be the first four digits of the internal group identifier, which is not specifically limited in this embodiment.
协议规定内部组标识的格式如下:The protocol specifies the format of the internal group identifier as follows:
Pattern:′^[A-Fa-f0-9]{8}-[0-9]{3}-[0-9]{2,3}-([A-Fa-f0-9][A-Fa-f0-9]){1,10}$′.Pattern: ′^[A-Fa-f0-9]{8}-[0-9]{3}-[0-9]{2, 3}-([A-Fa-f0-9][A- Fa-f0-9]){1,10}$′.
UDM签约时,内部组标识的格式如下:When signing a UDM contract, the format of the internal group identifier is as follows:
^[0~9]{4}[A-Fa-f0-9]{4}-[0-9]{3}-[0-9]{2,3}-([A-Fa-f0-9][A-Fa-f0-9]){1,10}$^[0~9]{4}[A-Fa-f0-9]{4}-[0-9]{3}-[0-9]{2,3}-([A-Fa-f0- 9][A-Fa-f0-9]){1,10}$
其中,前四位为体现模板信息的子标识。Among them, the first four digits are sub-identifiers that reflect template information.
比如园区的电灯的内部组标识都是:For example, the internal group identifiers of the electric lights in the park are:
00010000-460-00-01~00010000-460-00-999900010000-460-00-01~00010000-460-00-9999
园区的机器人的内部标识都是:The internal logos of the robots in the park are:
00080000-460-00-01~00010000-460-00-999900080000-460-00-01~00010000-460-00-9999
因此,在获取园区的电灯的签约信息时,采用0001获取与电灯匹配的虚拟网络组模板,以便获取电灯的签约信息;而在获取园区的机器人的签约信息时,采用0008获取与机器人匹配的虚拟网络组模板,以便获取机器人的签约信息。Therefore, when obtaining the contract information of the electric lights in the park, use 0001 to obtain the virtual network group template matching the electric light in order to obtain the contract information of the electric lights; and when obtaining the contract information of the robot in the park, use 0008 to obtain the virtual network group template matching the robot. Network group template to obtain the robot's contract information.
本实施例中,为了方便处理,本地存储的虚拟网络组模板用索引进行标记,每个虚拟网络组模板对应唯一的索引,因此在查找与子标识匹配的虚拟网络组模板时,可以基于索引实现。In this embodiment, in order to facilitate processing, the locally stored virtual network group templates are marked with indexes. Each virtual network group template corresponds to a unique index. Therefore, when searching for the virtual network group template matching the sub-identification, it can be implemented based on the index. .
具体实现时,一个可选实施例中,从所有虚拟网络组模板中,查找索引与子标识匹配的虚拟网络组模板;将索引与子标识匹配的虚拟网络组模板,作为与子标识匹配的虚拟网络组模板。During specific implementation, in an optional embodiment, a virtual network group template whose index matches the sub-identity is searched for from all virtual network group templates; the virtual network group template whose index matches the sub-identity is used as the virtual network group template that matches the sub-identity. Netgroup template.
本实施例提供的技术方案中,获取终端的查询请求,查询请求包 括终端的标识;基于终端的标识,从统一数据存储库中获取终端的内部组标识;从本地存储的签约信息中,获取与内部组标识匹配的目标签约信息;向终端返回目标签约信息和内部组标识。由于统一数据存储库中仅保存内部组标识,而不用存储签约相关的其它数据,所以相比于相关技术中将签约相关的数据都存储于UDR中,大大降低了对UDR对存储空间的占用。并且,本实施例中同类型终端的签约信息由同一个虚拟网络组模板进行存储,所以还可以在降低UDR对存储空间的占用的基础上,降低检索时间,提高用户的检索效率。In the technical solution provided by this embodiment, the query request of the terminal is obtained, and the query request packet Including the identification of the terminal; based on the identification of the terminal, obtain the internal group identification of the terminal from the unified data repository; obtain the target signing information matching the internal group identification from the locally stored signing information; return the target signing information and internal group identification to the terminal Group ID. Since only the internal group identifier is stored in the unified data repository and no other data related to the contract is stored, compared to related technologies where all data related to the contract is stored in the UDR, the storage space occupied by the UDR is greatly reduced. Moreover, in this embodiment, the subscription information of terminals of the same type is stored in the same virtual network group template, so the retrieval time can be reduced and the user's retrieval efficiency can be improved on the basis of reducing the storage space occupied by UDR.
为了方便理解,给出如图2所示的签约信息处理方法的信令流程图。To facilitate understanding, the signaling flow chart of the contract information processing method shown in Figure 2 is given.
在图2中,SMF向UDM发送HTTP Get消息,其中携带查询参数,指示查询sm-data(会话管理签约数据);UDM收到查询请求后,向UDR发送LDAP(轻量目录访问,Lightweight Directory Access Protocol)请求;UDM收到LDAP响应,校验用户签约信息;UDM根据签约的内部组标识,匹配VN Group信息模板;UDM向SMF返回sm-data数据,其中包含VN Group信息。In Figure 2, SMF sends an HTTP Get message to UDM, which carries query parameters and instructs the query sm-data (session management contract data); after UDM receives the query request, it sends LDAP (Lightweight Directory Access) to UDR. Protocol) request; UDM receives the LDAP response and verifies the user subscription information; UDM matches the VN Group information template according to the internal group identifier of the contract; UDM returns sm-data data to SMF, which contains VN Group information.
基于相同的公开构思,本公开实施例提供一种签约信息处理方法,该方法可应用于UDM中,如图3所示,该方法可以包括以下步骤:Based on the same disclosed concept, the embodiment of the present disclosure provides a contract information processing method, which can be applied in UDM. As shown in Figure 3, the method can include the following steps:
步骤301、获取终端最新被分配的目标内部组标识;Step 301: Obtain the latest assigned target internal group ID of the terminal;
步骤302、采用目标内部组标识,更新统一数据存储库中的内部组标识,得到更新结果;Step 302: Use the target internal group identifier to update the internal group identifier in the unified data repository and obtain the update result;
步骤303、若更新结果指示更新成功,当确定本地未存储有与目标内部组标识匹配的目标虚拟网络组模板时,创建目标虚拟网络组模板,以存储与目标内部组标识匹配的签约信息。Step 303: If the update result indicates that the update is successful and it is determined that the target virtual network group template matching the target internal group ID is not stored locally, create a target virtual network group template to store the subscription information matching the target internal group ID.
应理解,当本地存储有与目标内部组标识匹配的目标虚拟网络组模板时,不用再创建目标虚拟网络组模板,此时结束流程。It should be understood that when the target virtual network group template matching the target internal group identifier is stored locally, there is no need to create a target virtual network group template, and the process ends at this time.
应理解,更新结构指示更新成功,表示在统一数据存储库中存储了目标内部组标识。 It should be understood that the update structure indicates that the update was successful, indicating that the target internal group identification was stored in the unified data repository.
为了节省存储空间,减少对存储空间的占用,本实施例针对同类型的终端配置同一虚拟网络组模板。由于同类型终端的内部组标识的前四个数字相同,所以,在确定本地存储有目标虚拟网络组模板时,采用内部组标识的子标识去实现。In order to save storage space and reduce storage space occupation, this embodiment configures the same virtual network group template for terminals of the same type. Since the first four digits of the internal group identifiers of terminals of the same type are the same, when determining that the target virtual network group template is stored locally, the sub-identifier of the internal group identifier is used.
具体实现时,一个可选实施例中,获取目标内部组标识中用于体现模板信息的子标识;当确定本地存储的所有虚拟网络模板中未包括与子标识匹配的虚拟网络模板时,确定本地未存储有目标虚拟网络组模板。During specific implementation, in an optional embodiment, a sub-identity used to reflect template information in the target internal group identification is obtained; when it is determined that all locally stored virtual network templates do not include a virtual network template matching the sub-identity, determine that the local No target virtual network group template is stored.
本实施例中,为了方便处理,本地存储的虚拟网络组模板用索引进行标记,每个虚拟网络组模板对应唯一的索引,因此在确定本地存储的所有虚拟网络组模板中未包括与子标识匹配的虚拟网络模板时,可以基于索引实现。In this embodiment, in order to facilitate processing, the locally stored virtual network group templates are marked with an index. Each virtual network group template corresponds to a unique index. Therefore, the determination of all locally stored virtual network group templates does not include matching the sub-identifier. Virtual network templates can be implemented based on indexes.
具体实现时,一个可选实施例中,从所有虚拟网络组模板中,查找索引与子标识匹配的虚拟网络组模板;当确定所有虚拟网络模板中,未包括索引与子标识匹配的虚拟网络组模板时,确定本地存储的所有虚拟网络模板中未包括与子标识匹配的虚拟网络模板。During specific implementation, in an optional embodiment, search for a virtual network group template whose index matches the sub-identity from all virtual network group templates; when it is determined that all virtual network templates do not include a virtual network group whose index matches the sub-identity. When selecting a template, it is determined that all virtual network templates stored locally do not include a virtual network template that matches the sub-id.
本实施例提供的技术方案中,获取终端最新被分配的目标内部组标识;采用目标内部组标识,更新统一数据存储库中的内部组标识,得到更新结果;若更新结果指示更新成功,当确定本地未存储有与目标内部组标识匹配的目标虚拟网络组模板时,创建目标虚拟网络组模板,以存储与目标内部组标识匹配的签约信息。由于只有目标内部组标识存储于统一数据存储库中,而与目标内部组标识匹配的签约信息存储则存储于UDM中,所以可以大大降低UDR对存储空间的占用。In the technical solution provided by this embodiment, the latest assigned target internal group ID of the terminal is obtained; the target internal group ID is used to update the internal group ID in the unified data repository to obtain the update result; if the update result indicates that the update is successful, when it is determined When the target virtual network group template matching the target internal group ID is not stored locally, create a target virtual network group template to store the subscription information matching the target internal group ID. Since only the target internal group ID is stored in the unified data repository, and the contract information matching the target internal group ID is stored in UDM, the storage space occupied by UDR can be greatly reduced.
为了方便理解,给出如图4所示的签约信息处理方法的信令流程图。To facilitate understanding, a signaling flow chart of the contract information processing method shown in Figure 4 is provided.
在图4中,SMF向UDM发送HTTP Post消息,订阅sm-data;UDM收到订阅请求后,向UDR发送LDAP请求,存储订阅记录;UDM收到LDAP响应;UDM向SMF返回订阅成功;BOSS接口执行命令修 改用户签约信息;UDM向UDR发送LDAP请求,更新用户签约数据;UDM收到LDAP响应,指示用户签约数据更新成功;UDM根据用户签约的内部组标识,匹配VN Group信息模板表;UDM向SMF发送订阅通知消息,指示sm-data变更内容;SMF返回成功。In Figure 4, SMF sends an HTTP Post message to UDM and subscribes to sm-data; after UDM receives the subscription request, it sends an LDAP request to UDR and stores the subscription record; UDM receives an LDAP response; UDM returns a successful subscription to SMF; BOSS interface Execute command repair Change user subscription information; UDM sends an LDAP request to UDR to update user subscription data; UDM receives an LDAP response, indicating that the user subscription data has been updated successfully; UDM matches the VN Group information template table based on the internal group identifier of user subscription; UDM sends a message to SMF Subscribe to the notification message to indicate the change content of sm-data; SMF returns successfully.
基于同一构思,本公开实施例中提供了一种签约信息处理装置,该装置的具体实施可参见方法实施例部分的描述,重复之处不再赘述,如图5所示,该装置主要包括:Based on the same concept, the embodiment of the present disclosure provides a contract information processing device. For the specific implementation of the device, please refer to the description in the method embodiment section, and the repeated parts will not be repeated. As shown in Figure 5, the device mainly includes:
第一获取单元501,用于获取终端的查询请求,查询请求包括终端的标识;The first obtaining unit 501 is used to obtain the query request of the terminal, where the query request includes the identification of the terminal;
第二获取单元502,用于基于终端的标识,从统一数据存储库中获取终端的内部组标识;The second obtaining unit 502 is configured to obtain the internal group identification of the terminal from the unified data storage library based on the identification of the terminal;
第三获取单元503,用于从本地存储的签约信息中,获取与内部组标识匹配的目标签约信息;The third acquisition unit 503 is configured to acquire the target subscription information that matches the internal group identifier from the locally stored subscription information;
返回单元504,用于向终端返回目标签约信息和内部组标识。The return unit 504 is used to return the target subscription information and internal group identification to the terminal.
第三获取单元503用于:The third acquisition unit 503 is used for:
从本地存储的所有虚拟网络组模板中,获取与内部组标识匹配的目标虚拟网络组模板;Obtain the target virtual network group template that matches the internal group ID from all locally stored virtual network group templates;
获取目标虚拟网络组模板中的签约信息;Obtain the contract information in the target virtual network group template;
将目标虚拟网络组模板中的签约信息作为目标签约信息。Use the contract information in the target virtual network group template as the target contract information.
第三获取单元503用于:The third acquisition unit 503 is used for:
从内部组标识中,提取用于体现模板信息的子标识;From the internal group identifier, extract the sub-identity used to reflect the template information;
从所有虚拟网络组模板中,查询与子标识匹配的虚拟网络组模板;Query the virtual network group template matching the sub-identity from all virtual network group templates;
将虚拟网络组模板作为目标虚拟网络组模板。Use the virtual network group template as the target virtual network group template.
第三获取单元503用于:The third acquisition unit 503 is used for:
从所有虚拟网络组模板中,查找索引与子标识匹配的虚拟网络组模板;From all virtual network group templates, find the virtual network group template whose index matches the sub-id;
将索引与子标识匹配的虚拟网络组模板,作为与子标识匹配的虚拟网络组模板。 Index the virtual network group template that matches the subid as the virtual network group template that matches the subid.
基于同一构思,本公开实施例中提供了一种签约信息处理装置,该装置的具体实施可参见方法实施例部分的描述,重复之处不再赘述,如图6所示,该装置主要包括:Based on the same concept, the embodiment of the present disclosure provides a contract information processing device. For the specific implementation of the device, please refer to the description in the method embodiment section, and the repeated parts will not be repeated. As shown in Figure 6, the device mainly includes:
第四获取单元601,用于获取终端最新被分配的目标内部组标识;The fourth obtaining unit 601 is used to obtain the latest assigned target internal group identification of the terminal;
更新单元602,用于采用目标内部组标识,更新统一数据存储库中的内部组标识,得到更新结果;The update unit 602 is configured to use the target internal group identifier, update the internal group identifier in the unified data repository, and obtain the update result;
创建单元603,用于若更新结果指示更新成功,当确定本地未存储有与目标内部组标识匹配的目标虚拟网络组模板时,创建目标虚拟网络组模板,以存储与目标内部组标识匹配的签约信息。Creation unit 603, configured to create a target virtual network group template to store subscriptions matching the target internal group ID if the update result indicates that the update is successful and when it is determined that the target virtual network group template matching the target internal group ID is not stored locally. information.
创建单元603用于:Creation unit 603 is used for:
获取目标内部组标识中用于体现模板信息的子标识;Obtain the sub-identity used to reflect template information in the target internal group identification;
当确定本地存储的所有虚拟网络模板中未包括与子标识匹配的虚拟网络模板时,确定本地未存储有目标虚拟网络组模板。When it is determined that all virtual network templates stored locally do not include a virtual network template matching the sub-identity, it is determined that the target virtual network group template is not stored locally.
创建单元603用于:Creation unit 603 is used for:
从所有虚拟网络组模板中,查找索引与子标识匹配的虚拟网络组模板;From all virtual network group templates, find the virtual network group template whose index matches the sub-id;
当确定所有虚拟网络模板中,未包括索引与子标识匹配的虚拟网络组模板时,确定本地存储的所有虚拟网络模板中未包括与子标识匹配的虚拟网络模板。When it is determined that all virtual network templates do not include a virtual network group template whose index matches the sub-identity, it is determined that all locally stored virtual network templates do not include a virtual network template that matches the sub-identity.
基于同一构思,本公开实施例中还提供了一种电子设备,如图7所示,该电子设备主要包括:处理器701、存储器702和通信总线703,其中,处理器701和存储器702通过通信总线703完成相互间的通信。其中,存储器702中存储有可被处理器701执行的程序,处理器701执行存储器702中存储的程序,实现如下步骤:Based on the same concept, an embodiment of the present disclosure also provides an electronic device. As shown in Figure 7, the electronic device mainly includes: a processor 701, a memory 702, and a communication bus 703. The processor 701 and the memory 702 communicate through Bus 703 completes mutual communication. Among them, the memory 702 stores programs that can be executed by the processor 701. The processor 701 executes the programs stored in the memory 702 to implement the following steps:
获取终端的查询请求,查询请求包括终端的标识;基于终端的标识,从统一数据存储库中获取终端的内部组标识;从本地存储的签约信息中,获取与内部组标识匹配的目标签约信息;向终端返回目标签约信息和内部组标识; Obtain the query request of the terminal, and the query request includes the identification of the terminal; based on the identification of the terminal, obtain the internal group identification of the terminal from the unified data repository; obtain the target contract information matching the internal group identification from the locally stored contract information; Return target subscription information and internal group identification to the terminal;
或,or,
获取终端最新被分配的目标内部组标识;采用目标内部组标识,更新统一数据存储库中的内部组标识,得到更新结果;若更新结果指示更新成功,当确定本地未存储有与目标内部组标识匹配的目标虚拟网络组模板时,创建目标虚拟网络组模板,以存储与目标内部组标识匹配的签约信息Obtain the latest assigned target internal group ID of the terminal; use the target internal group ID to update the internal group ID in the unified data repository and obtain the update result; if the update result indicates that the update is successful, when it is determined that the target internal group ID is not stored locally When the target virtual network group template matches the target virtual network group template, create the target virtual network group template to store the subscription information that matches the target internal group ID.
上述电子设备中提到的通信总线703可以是外设部件互连标准(Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。该通信总线703可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus 703 mentioned in the above electronic equipment may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus 703 can be divided into an address bus, a data bus, a control bus, etc. For ease of presentation, only one thick line is used in Figure 7, but it does not mean that there is only one bus or one type of bus.
存储器702可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。可选地,存储器还可以是至少一个位于远离前述处理器701的存储装置。The memory 702 may include random access memory (RAM) or non-volatile memory (non-volatile memory), such as at least one disk memory. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor 701 .
上述的处理器701可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等,还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor 701 can be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc., or it can also be a digital signal processor (Digital Signal Processing, referred to as DSP). ), Application Specific Integrated Circuit (ASIC for short), Field-Programmable Gate Array (FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
在本公开的又一实施例中,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,当该计算机程序在计算机上运行时,使得计算机执行上述实施例中所描述的签约信息处理方法。In yet another embodiment of the present disclosure, a computer-readable storage medium is also provided. The computer-readable storage medium stores a computer program. When the computer program is run on a computer, it causes the computer to execute the above embodiments. The described contract information processing method.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者 其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机指令时,全部或部分地产生按照本公开实施例所述的流程或功能。该计算机可以时通用计算机、专用计算机、计算机网络或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、微波等)方式向另外一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质(例如软盘、硬盘、磁带等)、光介质(例如DVD)或者半导体介质(例如固态硬盘)等。In the above embodiments, it may be implemented in whole or in part through software, hardware, firmware or Any combination of them can be achieved. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, processes or functions described in accordance with embodiments of the present disclosure are produced in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another, e.g., from a website, computer, server, or data center via a wireline (e.g., Coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, microwave, etc.) means to transmit to another website, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media. The available media may be magnetic media (such as floppy disks, hard disks, magnetic tapes, etc.), optical media (such as DVDs), or semiconductor media (such as solid state drives).
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as “first” and “second” are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations. Furthermore, the terms "comprises," "comprises," or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开实施例。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开实施例的精神或范围的情况下,在其它实施例中实现。因此,本公 开将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above descriptions are only specific implementations of the present disclosure, enabling those skilled in the art to understand or implement the embodiments of the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be practiced in other embodiments without departing from the spirit or scope of the disclosed embodiments. Therefore, I The invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (11)

  1. 一种签约信息处理方法,包括:A method for processing contract information, including:
    获取终端的查询请求,所述查询请求包括所述终端的标识;Obtain a query request from the terminal, where the query request includes the identification of the terminal;
    基于所述终端的标识,从统一数据存储库中获取所述终端的内部组标识;Based on the identification of the terminal, obtain the internal group identification of the terminal from the unified data repository;
    从本地存储的签约信息中,获取与所述内部组标识匹配的目标签约信息;Obtain the target contract information matching the internal group identifier from the locally stored contract information;
    向所述终端返回所述目标签约信息和所述内部组标识。Return the target subscription information and the internal group identification to the terminal.
  2. 根据权利要求1所述的方法,其中,从本地存储的签约信息中,获取与所述内部组标识匹配的目标签约信息,包括:The method according to claim 1, wherein obtaining target subscription information matching the internal group identifier from locally stored subscription information includes:
    从本地存储的所有虚拟网络组模板中,获取与所述内部组标识匹配的目标虚拟网络组模板;Obtain the target virtual network group template that matches the internal group identifier from all locally stored virtual network group templates;
    获取所述目标虚拟网络组模板中的签约信息;Obtain the contract information in the target virtual network group template;
    将所述目标虚拟网络组模板中的签约信息作为所述目标签约信息。The subscription information in the target virtual network group template is used as the target subscription information.
  3. 根据权利要求2所述的方法,其中,从本地存储的所有虚拟网络组模板中,获取与所述内部组标识匹配的目标虚拟网络组模板,包括:The method of claim 2, wherein obtaining a target virtual network group template matching the internal group identifier from all locally stored virtual network group templates includes:
    从所述内部组标识中,提取用于体现模板信息的子标识;From the internal group identifier, extract a sub-identity used to reflect template information;
    从所述所有虚拟网络组模板中,查询与所述子标识匹配的虚拟网络组模板;Query the virtual network group template matching the sub-identity from all the virtual network group templates;
    将所述虚拟网络组模板作为所述目标虚拟网络组模板。Use the virtual network group template as the target virtual network group template.
  4. 根据权利要求3所述的方法,其中,从所述所有虚拟网络组模板中,查询与所述子标识匹配的虚拟网络组模板,包括:The method according to claim 3, wherein querying the virtual network group template matching the sub-identity from all virtual network group templates includes:
    从所述所有虚拟网络组模板中,查找索引与所述子标识匹配的虚拟网络组模板;From all virtual network group templates, search for a virtual network group template whose index matches the sub-identity;
    将索引与所述子标识匹配的虚拟网络组模板,作为与所述子标识匹配的虚拟网络组模板。 Index the virtual network group template that matches the sub-identity as the virtual network group template that matches the sub-identity.
  5. 一种签约信息处理方法,包括:A method for processing contract information, including:
    获取所述终端最新被分配的目标内部组标识;Obtain the latest assigned target internal group identifier of the terminal;
    采用所述目标内部组标识,更新统一数据存储库中的内部组标识,得到更新结果;Using the target internal group identifier, update the internal group identifier in the unified data repository to obtain the update result;
    若所述更新结果指示更新成功,当确定本地未存储有与所述目标内部组标识匹配的目标虚拟网络组模板时,创建目标虚拟网络组模板,以存储与所述目标内部组标识匹配的签约信息。If the update result indicates that the update is successful, when it is determined that the target virtual network group template matching the target internal group identifier is not stored locally, a target virtual network group template is created to store the subscription matching the target internal group identifier. information.
  6. 根据权利要求5所述的方法,其中,确定本地未存储有与所述目标内部组标识匹配的目标虚拟网络组模板,包括:The method according to claim 5, wherein determining that no target virtual network group template matching the target internal group identifier is stored locally includes:
    获取所述目标内部组标识中用于体现模板信息的子标识;Obtain the sub-identity used to reflect template information in the target internal group identification;
    当确定本地存储的所有虚拟网络模板中未包括与所述子标识匹配的虚拟网络模板时,确定本地未存储有所述目标虚拟网络组模板。When it is determined that all virtual network templates stored locally do not include a virtual network template matching the sub-identification, it is determined that the target virtual network group template is not stored locally.
  7. 根据权利要求6所述的方法,其中,确定本地存储的所有虚拟网络模板中未包括与所述子标识匹配的虚拟网络模板,包括:The method according to claim 6, wherein determining that all locally stored virtual network templates do not include a virtual network template matching the sub-identification includes:
    从所述所有虚拟网络组模板中,查找索引与所述子标识匹配的虚拟网络组模板;From all virtual network group templates, search for a virtual network group template whose index matches the sub-identity;
    当确定所述所有虚拟网络模板中,未包括索引与所述子标识匹配的虚拟网络组模板时,确定本地存储的所有虚拟网络模板中未包括与所述子标识匹配的虚拟网络模板。When it is determined that all virtual network templates do not include a virtual network group template whose index matches the sub-identity, it is determined that all locally stored virtual network templates do not include a virtual network template matching the sub-identity.
  8. 一种签约信息处理装置,包括:A contract information processing device, including:
    第一获取单元,设置为获取终端的查询请求,所述查询请求包括所述终端的标识;The first obtaining unit is configured to obtain a query request of the terminal, where the query request includes the identification of the terminal;
    第二获取单元,设置为基于所述终端的标识,从统一数据存储库中获取所述终端的内部组标识;The second acquisition unit is configured to acquire the internal group identifier of the terminal from the unified data storage library based on the identifier of the terminal;
    第三获取单元,设置为从本地存储的签约信息中,获取与所述内部组标识匹配的目标签约信息;The third acquisition unit is configured to acquire the target contract information matching the internal group identifier from the locally stored contract information;
    返回单元,设置为向所述终端返回所述目标签约信息和所述内部组标识。 A return unit configured to return the target subscription information and the internal group identification to the terminal.
  9. 一种签约信息处理装置,包括:A contract information processing device, including:
    第四获取单元,设置为获取所述终端最新被分配的目标内部组标识;The fourth acquisition unit is configured to acquire the latest assigned target internal group identifier of the terminal;
    更新单元,设置为采用所述目标内部组标识,更新统一数据存储库中的内部组标识,得到更新结果;The update unit is configured to use the target internal group identifier, update the internal group identifier in the unified data repository, and obtain the update result;
    创建单元,设置为若所述更新结果指示更新成功,当确定本地未存储有与所述目标内部组标识匹配的目标虚拟网络组模板时,创建目标虚拟网络组模板,以存储与所述目标内部组标识匹配的签约信息。A creation unit configured to create a target virtual network group template to store the target internal group template matching the target internal group ID if the update result indicates that the update is successful and when it is determined that the target virtual network group template matching the target internal group identifier is not stored locally. The group ID matches the contract information.
  10. 一种电子设备,包括:处理器、存储器和通信总线,其中,处理器和存储器通过通信总线完成相互间的通信;An electronic device includes: a processor, a memory and a communication bus, wherein the processor and the memory complete communication with each other through the communication bus;
    所述存储器,用于存储计算机程序;The memory is used to store computer programs;
    所述处理器,用于执行所述存储器中所存储的程序,实现权利要求1-4任一项所述的签约信息处理方法或权利要求5-7任一项所述的签约信息处理方法。The processor is configured to execute the program stored in the memory to implement the contract information processing method described in any one of claims 1-4 or the contract information processing method described in any one of claims 5-7.
  11. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1-4任一项所述的签约信息处理方法或权利要求5-7任一项所述的签约信息处理方法。 A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the contract information processing method described in any one of claims 1-4 or the contract information processing method described in any one of claims 5-7 is implemented. The contract information processing method described above.
PCT/CN2023/107303 2022-07-14 2023-07-13 Subscription information processing method and apparatus, device, and storage medium WO2024012542A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210829675.1A CN117440006A (en) 2022-07-14 2022-07-14 Subscription information processing method, device, equipment and storage medium
CN202210829675.1 2022-07-14

Publications (1)

Publication Number Publication Date
WO2024012542A1 true WO2024012542A1 (en) 2024-01-18

Family

ID=89535637

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/107303 WO2024012542A1 (en) 2022-07-14 2023-07-13 Subscription information processing method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN117440006A (en)
WO (1) WO2024012542A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175247A (en) * 2007-09-28 2008-05-07 中兴通讯股份有限公司 Method for centralized storing and using user data
CN110830422A (en) * 2018-08-10 2020-02-21 中国移动通信有限公司研究院 Terminal behavior data processing method and equipment
CN112449337A (en) * 2019-09-02 2021-03-05 中兴通讯股份有限公司 Roaming control method and device, UDM (Universal data management) equipment and storage medium
US10993200B1 (en) * 2020-04-22 2021-04-27 T-Mobile Usa, Inc. Session management function (SMF) data storage in cellular network registration
US20210337374A1 (en) * 2020-04-22 2021-10-28 T-Mobile Usa, Inc. Access and mobility function (amf) data storage in cellular network registration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175247A (en) * 2007-09-28 2008-05-07 中兴通讯股份有限公司 Method for centralized storing and using user data
CN110830422A (en) * 2018-08-10 2020-02-21 中国移动通信有限公司研究院 Terminal behavior data processing method and equipment
CN112449337A (en) * 2019-09-02 2021-03-05 中兴通讯股份有限公司 Roaming control method and device, UDM (Universal data management) equipment and storage medium
US10993200B1 (en) * 2020-04-22 2021-04-27 T-Mobile Usa, Inc. Session management function (SMF) data storage in cellular network registration
US20210337374A1 (en) * 2020-04-22 2021-10-28 T-Mobile Usa, Inc. Access and mobility function (amf) data storage in cellular network registration

Also Published As

Publication number Publication date
CN117440006A (en) 2024-01-23

Similar Documents

Publication Publication Date Title
EP2005634B1 (en) Method and apparatus for synchronizing contents of home network devices
EP3022708B1 (en) Content source discovery
WO2021120763A1 (en) Network card binding method and apparatus for multi-network card server, and electronic device and storage medium
US20190327105A1 (en) Method and apparatus for pushing information
CN112445626B (en) Data processing method and device based on message middleware
CN110049503B (en) Method and equipment for acquiring data
CN111786998A (en) Authority management method and device based on micro-service calling and storage medium
WO2019109923A1 (en) Message processing method and system, storage medium and electronic device
CN112788126A (en) Resource downloading method, device, server and storage medium
CN115168362A (en) Data processing method and device, readable medium and electronic equipment
CN113434462A (en) HDFS data transfer method and device, storage medium and electronic equipment
WO2024012542A1 (en) Subscription information processing method and apparatus, device, and storage medium
WO2015085939A1 (en) File transfer method, device, and system
CN111597259B (en) Data storage system, method, device, electronic equipment and storage medium
CN112039993B (en) Long connection address processing method and device
WO2018032705A1 (en) Method and device for providing wireless access point information packet
WO2012152076A1 (en) Service adaptation method, device and system
CN112162987A (en) Data processing method, device, equipment and storage medium
US20230045914A1 (en) Method and apparatus for controlling device in internet of things, and gateway device and storage medium
CN109960695B (en) Management method and device for database in cloud computing system
CN112783842B (en) Log collection method and device
CN113468275A (en) Data importing method and device of graph database, storage medium and electronic equipment
CN113761016A (en) Data query method, device, equipment and storage medium
WO2023143061A1 (en) Data access method and data access system thereof
CN113268488B (en) Method and device for data persistence

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

Country of ref document: EP

Kind code of ref document: A1