CN115460231A - User data storage method based on block chain in mobile communication core network - Google Patents

User data storage method based on block chain in mobile communication core network Download PDF

Info

Publication number
CN115460231A
CN115460231A CN202211084387.4A CN202211084387A CN115460231A CN 115460231 A CN115460231 A CN 115460231A CN 202211084387 A CN202211084387 A CN 202211084387A CN 115460231 A CN115460231 A CN 115460231A
Authority
CN
China
Prior art keywords
block chain
network
user
data
user information
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202211084387.4A
Other languages
Chinese (zh)
Inventor
巩译
缪林隆
孟繁轲
杨磊
于泊远
徐湛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Information Science and Technology University
Original Assignee
Beijing Information Science and Technology University
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 Beijing Information Science and Technology University filed Critical Beijing Information Science and Technology University
Priority to CN202211084387.4A priority Critical patent/CN115460231A/en
Publication of CN115460231A publication Critical patent/CN115460231A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • 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

Landscapes

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

Abstract

The invention discloses a user data storage method based on a block chain in a mobile communication core network, which belongs to the technical field of mobile communication and comprises the following steps: the method comprises the steps of obtaining user information data stored on a UDR module of a core network, issuing an intelligent contract on a block chain network, storing the user information data under the intelligent contract, initiating block chain transaction on a block chain, adding the user information data serving as a parameter into the block chain transaction for calling the intelligent contract, issuing the block chain transaction in the block chain network, packaging in the block chain network to confirm the block chain transaction, and finishing storage of the user information data. The block chain ensures the reliability of data on the chain, and has the functions of protection and recovery even if some nodes are attacked.

Description

User data storage method based on block chain in mobile communication core network
Technical Field
The invention relates to the technical field of mobile communication, in particular to a user data storage method based on a block chain in a mobile communication core network.
Background
Currently, a mobile communication core network generally uses a Service-based Architecture (SBA), in which storage-related Service modules store all user data of the core network, and these storage services are based on a traditional database Architecture. The traditional database has many problems in the scene, and once the database is down, the core network stops service. When a service surge or DDoS attack is encountered, the database also becomes a performance bottleneck, which causes a reduction in service capability, and conventionally, the base stations of each operator are deployed independently, connected to respective private networks, and cannot be shared.
Disclosure of Invention
The invention provides a user data storage method based on a block chain in a mobile communication core network, which comprises the following steps:
acquiring user information data stored on a UDR module of a core network;
issuing an intelligent contract on a block chain network, and storing user information data under the intelligent contract;
initiating a blockchain transaction on a blockchain;
adding user information data serving as a parameter into a blockchain transaction for calling an intelligent contract;
issuing a blockchain transaction in a blockchain network;
packaging and confirming the blockchain transaction in the blockchain network;
and finishing the storage of the user information data.
Preferably, the user information data stored in the UDR module of the core network includes:
IMSI information, SUPI information, authentication mode information, operator ID information, key information, sequence number information, slice information, and other network configuration information.
Preferably, further comprising organizing and managing user data on the blockchain network, comprising:
storing user data of different operators under different intelligent contracts;
different operators add, inquire, delete and modify respective user data through intelligent contracts.
Preferably, the system further comprises user information data saved on the call block chain, which comprises:
checking data stored in the block chain by adopting a Web page;
and calling the user information data stored by the block chain network through the UDR of the mobile core network.
Preferably, the method further comprises converting the format of the user information data when the user information data is added as a parameter to a blockchain transaction invoking the intelligent contract, and the method comprises the following steps:
and serializing the formatted data of the user information into a JSON format and storing the JSON format as String on an intelligent contract of the block chain.
Preferably, the method further comprises invoking user data format conversion of the user information data stored by the blockchain network through the UDR of the mobile core network, which comprises:
deserializing String stored on the blockchain network into formatted user information data.
Compared with the prior art, the embodiment of the invention provides a user data storage method based on a block chain in a mobile communication core network, which has the following beneficial effects that:
compared with the traditional scheme, the data storage mode has robustness, disaster tolerance and usability, and in addition, the block chain architecture naturally has stronger transverse expansion capability, has better performance under the condition of high load, can avoid single-point bottleneck.
Drawings
Fig. 1 is a block chain based mobile core network architecture diagram in an embodiment of the present invention;
FIG. 2 is a block chain architecture diagram according to an embodiment of the present invention;
FIG. 3 is a diagram of a 5G/6G core network architecture in an embodiment of the present invention;
fig. 4 is a schematic overall flow chart in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Embodiment 1, store core network user data into Ethereum federation chain:
as shown in fig. 1, a 5G/6G core network architecture based on a block chain according to an embodiment of the present invention includes:
a control plane 1 of a core network, a block chain 2, a base station 3, a user plane 4 of the core network and an external data network 5;
a control plane 1 of the core Network, which is used for establishing and disconnecting session connection, and includes various Network Functions (NF), before two Network functions interact, they first need to register with the NRF, so that they can discover each other from the NRF, and the AMF is dedicated to managing access of the system; SMF is responsible for establishing conversation between user and 5G/6G core network, AUSF is responsible for user authentication, PCF provides policy rule for other control plane network function and user, UDM and UDR provide data storage management service, UDM stores subscription data to UDR and retrieves subscription data from UDR;
the block chain 2 is used for storing the user data received by the core network and simultaneously performing identity authentication of the user;
the base station 3 is used for accessing the mobile equipment to the Internet;
the user plane 4 of the core network is used for transmitting data packets, and promotes monitoring, management, control and redirection of user plane traffic;
and the external data network 5 is used for the user to surf the internet.
Specifically, the user information provided by the embodiment of the present invention includes: IMSI, local network ID, keys, serial number, slice information, and other network configuration information.
Collectively, as shown in fig. 2, the design of the block chain provided by the embodiment of the present invention includes:
on a block chain operation platform taking geth as a block chain, taking six ubuntu system physical machines under the same local area network as block nodes, and recording packaging transaction and contract information for the block chain platform; and reserving three physical machines of the ubuntu system as the block chain browsers of three different local area network ID operators to directly view and call the information on the chain.
Specifically, as shown in fig. 3, the core network internal data storage structure provided in the embodiment of the present invention includes:
WebUI is an interface for browsing all subscribed user data; flowRule itself is part of the user data and therefore will also be upgraded to read data from the blockchain; most of the fixed user data involved in UDR will also be read and written over the block chain; part of temporary data and state data which are not related to user information are stored by using the MongoDB.
Specifically, as shown in fig. 4, the method for building a core network architecture based on a block chain according to the embodiment of the present invention includes:
s101, upgrading all user data to a block chain for storage;
s102, storing data of each operator in an intelligent contract, wherein only data under the same local area network is stored in one contract;
s103, carrying out an experiment by using two open source projects of ueransim and free5G/6Gc, wherein the ueransim simulates user equipment and a base station, and the free5G/6Gc simulates a 5G/6G core network;
s104, the user establishes Radio Resource Control (RRC) connection with the base station so that the user can communicate with a core network through the base station;
s105, the user initiates registration through the AMF, and simultaneously the AMF checks access authentication and authorization with the AUSF, requests subscription data of the user from the block chain, and checks access and mobility strategies from the PCF;
s106, the user establishes a PDU Session managed by the SMF, and selects a UPF as a PDU Session Anchor (PSA). The PSA is an entry point for a user to access or receive packets from the data network;
s107, the user initiates data plane data transfer with the designated data network via RAN and UPF as PSA.
Specifically, the block chain provided in the embodiment of the present invention performs Hash processing on data of a subscriber, and deploys an intelligent contract for the data of each user of a local area network, where the specific method includes:
step 1, configuring a plurality of ubuntu18.04 system servers;
step 2, installing a latest version geth (Go Ethereum) client on each server;
step 3, creating an creature file in a json format by using a puppeth tool of geth;
step 4, initializing the creating json files by the nodes 1 to 3 respectively;
step 5, creating a new address accounts [0] and using the new address accounts as an exchange of the node;
step 6, inquiring node information of the three nodes and creating a static node file;
step 7, setting related starting items, starting three nodes and packing blocks;
step 8, importing a keystore file and connecting metamask;
step 9, compiling an intelligent contract and deploying the intelligent contract on the block chain;
step 10, acquiring user information from a core network UDR module;
step 11, constructing a transaction, calling the contract deployed in the step 9 through the transaction, serializing a piece of user information and then adding the user information to a transaction parameter;
step 12, sending the transaction in the step 11 to a blockchain, and waiting for the transaction to be packaged and confirmed;
and 13, repeating the steps 11 to 12 until all the user information is stored in the block chain.
In the case of the example 2, the following examples are given,
storing the core network user data into an Ethereum public chain:
step 1, importing an account with a certain ETH balance into metamask;
step 2, compiling an intelligent contract to be deployed on the Ethereum public chain;
step 3, acquiring user information from a core network UDR module;
step 4, constructing a transaction, calling the contract deployed in the step 2 through the transaction, serializing a piece of user information and then attaching the user information to a transaction parameter;
step 5, the transaction in the step 4 is sent to the Ethereum public chain, and the transaction is packaged and confirmed;
and 6, repeating the steps 4-5 until all the user information is stored in the block chain.
In the case of the embodiment 3, the following examples,
storing core network user data into a BTC alliance chain:
step 1, configuring a plurality of ubuntu18.04 system servers;
step 2, acquiring a bitcoin source code, and modifying the bitcoin source code into an alliance chain;
step 3, compiling and deploying the modified codes to a server;
step 4, starting and initializing BTC alliance chains by the nodes 1-3;
step 5, generating two addresses, namely an address A and an address B;
step 6, acquiring user information from a core network UDR module;
step 7, constructing a transaction transferring from the address A to the address B with the credit of 0.0001, and taking an OP _ RETURN field which is added to the transaction after user information is serialized;
step 8, sending the transaction in the step 7 to a blockchain, and waiting for the transaction to be packaged and confirmed;
and 9, repeating the steps 7 to 8 until all the user information is stored in the block chain.
Although the embodiments of the present invention have been disclosed in the foregoing for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying drawings.

Claims (6)

1. A user data storage method based on block chain in mobile communication core network is characterized by comprising the following steps:
acquiring user information data stored on a UDR module of a core network;
issuing an intelligent contract on a block chain network, and storing user information data under the intelligent contract;
initiating a blockchain transaction on a blockchain;
adding user information data serving as a parameter into a blockchain transaction for calling an intelligent contract;
publishing blockchain transactions in a blockchain network;
packaging and confirming the blockchain transaction in the blockchain network;
and finishing the storage of the user information data.
2. The method as claimed in claim 1, wherein the user information data stored in the UDR module of the core network includes:
IMSI information, SUPI information, authentication mode information, operator ID information, key information, serial number information, slice information, and other network configuration information.
3. The method as claimed in claim 1, further comprising organizing and managing user data in the blockchain network, which comprises:
storing user data of different operators under different intelligent contracts;
different operators add, inquire, delete and modify respective user data through intelligent contracts.
4. The method as claimed in claim 1, further comprising the step of storing the user information data in the calling blockchain, which includes:
checking data stored in the block chain by adopting a Web page;
and calling the user information data stored by the block chain network through the UDR of the mobile core network.
5. The method as claimed in claim 1, further comprising converting a format of the subscriber information data when the subscriber information data is added as a parameter to a blockchain transaction invoking an intelligent contract, which comprises:
and serializing the formatted data of the user information into a JSON format and storing the JSON format as String on an intelligent contract of the block chain.
6. The method of claim 4, further comprising invoking the user data format conversion of the user information data stored by the blockchain network through the UDR of the mobile core network, which comprises:
deserializing String stored on the blockchain network into formatted user information data.
CN202211084387.4A 2022-09-06 2022-09-06 User data storage method based on block chain in mobile communication core network Pending CN115460231A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211084387.4A CN115460231A (en) 2022-09-06 2022-09-06 User data storage method based on block chain in mobile communication core network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211084387.4A CN115460231A (en) 2022-09-06 2022-09-06 User data storage method based on block chain in mobile communication core network

Publications (1)

Publication Number Publication Date
CN115460231A true CN115460231A (en) 2022-12-09

Family

ID=84302532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211084387.4A Pending CN115460231A (en) 2022-09-06 2022-09-06 User data storage method based on block chain in mobile communication core network

Country Status (1)

Country Link
CN (1) CN115460231A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820690A (en) * 2017-08-21 2018-03-20 达闼科技成都有限公司 Information choosing method, device, electronic equipment and computer-readable recording medium
CN110098860A (en) * 2019-05-06 2019-08-06 北京邮电大学 Unmanned Aerial Vehicle Data Transmission system and data transmission method based on block chain technology
US20210209091A1 (en) * 2020-09-29 2021-07-08 Beijing Baidu Netcom Science And Technology Co., Ltd. Blockchain-Based Data Processing Method and Apparatus, Device, and Storage Medium
CN114125812A (en) * 2021-11-12 2022-03-01 中国联合网络通信集团有限公司 Data synchronization method, device, server and storage medium
US20220263672A1 (en) * 2019-11-07 2022-08-18 Huawei Technologies Co., Ltd. Data Sharing Method, Device, and System

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820690A (en) * 2017-08-21 2018-03-20 达闼科技成都有限公司 Information choosing method, device, electronic equipment and computer-readable recording medium
CN110098860A (en) * 2019-05-06 2019-08-06 北京邮电大学 Unmanned Aerial Vehicle Data Transmission system and data transmission method based on block chain technology
US20220263672A1 (en) * 2019-11-07 2022-08-18 Huawei Technologies Co., Ltd. Data Sharing Method, Device, and System
US20210209091A1 (en) * 2020-09-29 2021-07-08 Beijing Baidu Netcom Science And Technology Co., Ltd. Blockchain-Based Data Processing Method and Apparatus, Device, and Storage Medium
CN114125812A (en) * 2021-11-12 2022-03-01 中国联合网络通信集团有限公司 Data synchronization method, device, server and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
薛淼;刘千仞;符刚;王光全;: "区块链在电信运营商应用场景的探讨", 邮电设计技术, no. 04, 20 April 2019 (2019-04-20) *

Similar Documents

Publication Publication Date Title
US11895157B2 (en) Network security management method, and apparatus
CN102349319B (en) Setup and configuration of relay nodes
CN110519085B (en) Configuration change method and block chain platform
CN113596191B (en) Data processing method, network element equipment and readable storage medium
US11102017B2 (en) Robust event handling in an electronic subscriber identity module (eSIM) notification service
CN110535627A (en) A kind of data query method and block platform chain
CN102845108A (en) Communications system
CN101248644A (en) Management of user data
CN103583067A (en) SIM lock for multi-SIM environment
US20240121606A1 (en) Pc5 root key processing method, device, ausf and remote terminal
CN113572835B (en) Data processing method, network element equipment and readable storage medium
CN113572864B (en) Data processing method, network element equipment and readable storage medium
CN115226103A (en) Communication method and device
CN108024241A (en) Terminal accessing authentication method, system and authentication server
CN110913394B (en) Method, device and equipment for service access and readable storage medium
CN105530714A (en) MIFI communication service system and MIFI and communication method thereof
CN109460388A (en) Electronic card generation method, device and storage medium
CN115460231A (en) User data storage method based on block chain in mobile communication core network
CN103118034A (en) Method for adaptively authenticating heterogenous networks
CN114339720B (en) Cloud card authentication method, device, terminal and storage medium
CN105491065A (en) Resource access method of message-oriented middleware, server, and resource access system
WO2011006439A1 (en) Method and device for storing resources
CN101287096B (en) Card for implementing identification conversion and converting method
CN108848156B (en) Access gateway processing method, device and storage medium
CN109429226B (en) Temporary user certificate generation method, user card, terminal and network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination