A data security exchange system for a "cloud-edge-end" mobile communication system

Through the combination of blockchain technology and IPFS, the issues of data integrity and privacy security in mobile communication systems are solved, costs and energy consumption are reduced, the security and credibility of data exchange are improved, and it is suitable for applications where computing resources are subject to restrictions. limited system.

CN117857199BActive Publication Date: 2024-09-17SUN KAISENS BEIJING TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410076799.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-18
Publication Date
2024-09-17
Estimated Expiration
2044-01-18

AI Technical Summary

Technical Problem

Mobile communication systems have security issues such as data integrity and privacy during data transmission. The decentralized and heterogeneous nature of 5G networks increases the risk of network attacks, and the upgrade and maintenance costs are high.

Method used

Using the blockchain-enabled SDN secure communication module, the blockchain-enabled SLA security management module, and the secure storage and access transmission module based on IPFS and blockchain, we use blockchain technology to ensure data security and privacy, and design PoM The consensus algorithm provides QoS reliability at low cost and leverages IPFS to reduce storage costs.

Benefits of technology

It solves the privacy and storage problems caused by SDN centralized control, ensures the non-tamperability and privacy of data, reduces the operating cost and energy consumption of the system, prevents the risk of unauthorized access, and improves the security of data exchange. and credibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117857199B
    Figure CN117857199B
Patent Text Reader

Abstract

The "cloud-edge-end" mobile communication system data security exchange system disclosed in the present invention relates to the field of electrical communication technology. The blockchain-enabled SDN security communication module constructed by the present invention solves the privacy and storage problems caused by SDN centralized control and storage. In addition, in order to solve the problem of unstable QoS from edge to cloud caused by the huge heterogeneity of the system, a blockchain-enabled SLA security management module is provided. At the same time, a PoM consensus algorithm is designed in the blockchain-enabled SLA security management module, so that SSLA can provide QoS reliability at low cost and low energy consumption. The invention also provides a secure storage and access transmission module based on IPFS and blockchain to ensure the security and credibility of data exchange, prevent the risk of unauthorized access, and use IPFS as the main body of data storage, reducing unnecessary storage cost burden, which is suitable for mobile communication systems with limited computing resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electrical communication technology, and in particular to a data security exchange system for a "cloud-edge-end" mobile communication system. Background Art

[0002] Mobile communication systems are highly flexible and mobile communication systems that can be quickly deployed and moved on demand to achieve communication interactions in different locations and mobile states. They play an extremely important role in modern society. For example, in the field of public safety, mobile communication systems can quickly provide communication support, which is helpful for emergency rescue and disaster management; in the field of transportation, mobile communication systems support intelligent traffic management, including traffic monitoring, vehicle tracking and traffic information sharing to improve road safety and traffic flow; in the military field, mobile communication systems can be used for mobile forces, command and control, and provide important support for military operations. In general, mobile communication systems have become a powerful tool for responding to different communication needs and have great development potential and prospects.

[0003] High-speed and reliable communication is a key element to ensure that mobile communication systems can play a role in many fields such as public safety, traffic management, and military applications. However, with the development of information technology, the number of devices connected in mobile communication systems has exploded, making it difficult to ensure the demand for high-speed and reliable communication, and the system cannot respond and make decisions in time at critical moments. Therefore, in order to meet the system's growing demand for high-bandwidth, low-latency and high-reliability data transmission and interaction, the 5G network with many advantages such as high bandwidth, low latency and wide coverage is considered by the industry to be the key to solving the data communication problem of mobile communication systems. 5G networks provide higher data transmission speeds and greater bandwidth, allowing mobile communication systems to transmit data faster. 5G networks have lower latency and communication is almost real-time, which is suitable for environments that require rapid response, such as emergency rescue, autonomous driving, and telemedicine. 5G networks have expanded coverage, including urban, suburban and rural areas, and improved the communication capabilities of mobile communication systems. The revolutionary changes in 5G networks make communications faster, more powerful and more flexible. Mobile communication systems using 5G technology can effectively improve communication efficiency, expand coverage and meet evolving communication needs.

[0004] Although 5G-based mobile communication system technology can meet the increasing communication needs, it will also bring some new negative problems in actual use. First, compared with current cellular networks, 5G wireless networks are decentralized and service-oriented. However, it is challenging to maintain the security of 5G-based mobile communication systems because the diversity and large number of connected devices increase the risk of network attacks, reduce network reliability, and damage data integrity and privacy. Secondly, in order to make data processing and application in 5G networks more effective, 5G-based mobile communication system technology has been closely linked with edge computing technology so that the system can achieve more efficient, low-latency, high-bandwidth and highly responsive applications. However, the huge heterogeneity of computing infrastructure and networks in the system increases the difficulty of managing the service level agreement (SLA) in edge-to-cloud computing, which in turn affects the system's quality of service (QoS). Finally, 5G-based mobile communication systems may face some cost issues during development and implementation. Upgrading or building 5G network infrastructure is a complex and expensive task, and high-speed, high-density 5G networks require more management and maintenance work to ensure high performance and stability of the network, which may result in additional manpower and resource costs.

[0005] In response to the negative issues mentioned above, some relevant measures have been proposed. First, for the network security issues existing in 5G networks, researchers have proposed 5G-based software-defined networking (SDN). SDN provides a more flexible, intelligent and secure management method for 5G networks, which helps to cope with the ever-changing network security threats and needs. However, due to the centralization of SDN control planes and data storage, the risk of cloud computing control centers being attacked will increase significantly, and privacy issues will also arise. Secondly, to solve the problem of unstable QoS from edge to cloud caused by the huge heterogeneity of the system, researchers have combined multiple computing resources and dynamically deployed computing resources by providing coordinators and load balancing capabilities to maintain QoS stability. However, this method involves multiple computing entities in data processing, which may lead to system data leakage and tampering. Finally, although upgrading to 5G mobile communication systems may involve high initial costs, these costs will usually decrease over time, and researchers are constantly seeking more cost-effective deployment solutions. However, new deployment solutions are bound to bring new management and maintenance work, thereby increasing the risk of unauthorized access.

[0006] It can be seen that although existing research can alleviate some of the negative effects brought about by 5G-based mobile communication systems, further research is still needed on security issues such as data integrity and privacy in data transmission. Summary of the invention

[0007] In order to solve the above-mentioned problems existing in the prior art, the present invention provides a "cloud-edge-end" mobile communication system data security exchange system.

[0008] To achieve the above object, the present invention provides the following solutions:

[0009] A data security exchange system of a "cloud-edge-end" mobile communication system, comprising:

[0010] The blockchain-enabled SDN secure communication module acts on the security and privacy layer of the 5G mobile communication system, is used to initialize terminal devices, register communications between terminal devices and SDN controllers, and conduct secure communications between terminal devices;

[0011] A blockchain-enabled SLA security management module, acting in the edge-to-cloud decision-making layer of the 5G mobile communication system, is used to provide a blockchain-based SSLA management process, and is used to provide a PoM consensus algorithm for the blockchain-based SSLA management process;

[0012] The secure storage and access transmission module based on IPFS and blockchain acts on the data storage layer of the 5G mobile communication system to authenticate the data requester and the data owner.

[0013] Optionally, in the blockchain-enabled SDN secure communication module, the OpenFlow protocol is used for communication, and a hybrid structure is adopted to ensure communication between different components; the security of communication between different components and identity authentication are achieved through the cryptographic hash function SHA-256 and elliptic curve cryptography (ECC); the hybrid structure includes a secure communication channel and an SDN network communication structure.

[0014] Optionally, the process of the blockchain-enabled SDN secure communication module initializing the terminal device includes:

[0015] Control terminal device users so that they send their identity information to the SDN controller;

[0016] Controlling the SDN controller so that the SDN controller sends the identity information of the base station and the identity information of the SDN controller to the terminal device user;

[0017] Control the tamper-proof device so that the tamper-proof device generates a public-private key pair for the terminal device.

[0018] Optionally, the process of the blockchain-enabled SDN secure communication module registering the communication between the terminal device and the SDN controller includes:

[0019] Control the terminal device so that the terminal device sends verification information to the SDN controller for registration;

[0020] Control the SDN controller so that the SDN controller verifies the information and returns registration confirmation information;

[0021] Control the terminal device so that the terminal device verifies the validity of the registration confirmation information.

[0022] Optionally, the process of the blockchain-enabled SDN secure communication module performing secure communication between terminal devices includes:

[0023] Using the first terminal device to send the ciphertext to the second terminal device;

[0024] Determine whether the second terminal device stores the public key of the first terminal device, and obtain a first determination result;

[0025] If the first judgment result is yes, the second terminal device responds;

[0026] If the first judgment result is no, the second terminal device sends a request to the base station to obtain the public key of the first terminal device and then responds; wherein the base station sends a request to the SDN controller to obtain the public key of the first terminal device, the SDN controller sends the public key of the first terminal device to the base station, and the base station sends the public key of the first terminal device to the second terminal device;

[0027] The process of the second terminal device responding is: the second terminal device replies to the information sent by the first terminal device; the first terminal device determines the authenticity of the reply information of the second terminal device.

[0028] Optionally, the blockchain-based SSLA management process includes: a startup phase, a monitoring phase and a termination phase.

[0029] Optionally, the PoM consensus algorithm includes: key generation, key distribution, network monitoring and key recovery, block generation and block verification.

[0030] Optionally, the process of mutual authentication of data requesters and data owners by the secure storage and access transmission module based on IPFS and blockchain includes: system setup stage, registration stage, verification stage, access request stage, data encryption and storage stage, access control stage and data decryption stage.

[0031] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0032] The blockchain-enabled SDN secure communication module constructed by the present invention can solve the privacy and storage problems caused by SDN centralized control and storage. In addition, in order to solve the problem of unstable QoS from edge to cloud caused by the huge heterogeneity of the system, the present invention provides a blockchain-enabled SLA security management module. At the same time, a PoM consensus algorithm is designed in the blockchain-enabled SLA security management module to ensure that SSLA can provide QoS reliability at low cost and low energy consumption. In addition, considering the cost issue, the invention provides a secure storage and access transmission module based on IPFS and blockchain to ensure the security and credibility of data exchange, prevent the risk of unauthorized access, and use IPFS as the main body of data storage, which can reduce unnecessary storage cost burden, making it more suitable for mobile communication systems with limited computing resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0034] Figure 1 Implementation flow chart of the blockchain-enabled SDN secure communication module provided by the present invention;

[0035] Figure 2 This is a flowchart of the implementation of the secure storage and access transmission module based on IPFS and blockchain provided by the present invention. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] The purpose of the present invention is to provide a "cloud-edge-end" mobile communication system data security exchange system that can solve security issues such as data integrity and privacy in data transmission in mobile communication systems.

[0038] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0039] In order to solve the security problems such as data integrity and privacy in the data transmission of mobile communication systems, based on blockchain technology, the present invention proposes a "cloud-edge-end" mobile communication system data security exchange system that relies on smart contracts under 5G. First, SDN is used in existing research to provide a more flexible, intelligent and secure management method for 5G networks in order to cope with changing threats and needs. However, the centralized control and storage of SDN will not only lead to more frequent network attacks, but also cause privacy problems. Therefore, the present invention proposes a blockchain-enabled SDN secure communication module. While ensuring data security storage, the SDN controller in the system can avoid privacy issues and achieve secure communication through transparent collaborative management. Secondly, in order to solve the problem of unstable QoS from edge to cloud caused by the huge heterogeneity of the system, researchers often maintain QoS stability by combining multiple computing resources. However, this method may cause system data leakage and tampering. Therefore, the present invention designs a secure SLA (Secure SLA, SSLA) management architecture (i.e., a blockchain-enabled SLA security management module) that integrates blockchain technology, and uses blockchain technology to ensure the immutability of data. In addition, a new consensus mechanism is designed to serve the proposed SSLA management system, so that SSLA can provide QoS reliability at low cost and low energy consumption. Finally, although the integration of blockchain technology can effectively solve the above two problems, the cost of directly using blockchain technology for data management and maintenance is too high. Therefore, from the perspective of reducing costs, the present invention designs a secure storage and access transmission module based on Interplanetary File System (IPFS) and blockchain, thereby effectively reducing storage costs, improving data accessibility, and protecting the privacy of user sensitive data, while also effectively preventing the risk of unauthorized access.

[0040] Based on the above description, the "cloud-edge-end" mobile communication system data security exchange system provided by the present invention includes: a blockchain-enabled SDN security communication module, a blockchain-enabled SLA security management module, and a secure storage and access transmission module based on IPFS and blockchain.

[0041] Among them, 1) The implementation process of the blockchain-enabled SDN secure communication module is as follows: First, the SDN network is combined with blockchain technology to ensure the secure storage of data. Then, the SDN controller avoids privacy issues through transparent collaborative management. Finally, a hybrid structure is used to provide communication between different components, and communication security and identity authentication are achieved through the cryptographic hash function SHA-256 and the encryption technology ECC.

[0042] 2) The implementation process of the blockchain-enabled SLA security management module is as follows: First, in order to solve the data leakage and tampering problems caused by the existing methods, a blockchain-based SSLA management process is proposed, which gives data traceability and immutability. Secondly, a novel PoM consensus algorithm is customized for the proposed security management architecture to reduce the operating cost and loss of the system.

[0043] 3) The implementation process of the secure storage and access transmission module based on IPFS and blockchain is as follows: In order to reduce storage costs, an online + offline storage method is adopted, IPFS is used to store the data subject, and blockchain is used to store IPFS pointers. At the same time, in order to prevent the risk of unauthorized access, a model that can perform mutual authentication of data requesters and data owners is proposed.

[0044] Based on the above description, in the actual application process, the blockchain-enabled SDN secure communication module acts on the security and privacy layer of the 5G mobile communication system, uses the OpenFlow protocol for communication, and adopts a hybrid structure to ensure communication between different components. The security of communication and identity authentication are achieved through the cryptographic hash function SHA-256 and elliptic curve cryptography (ECC). This module is divided into 3 steps: First, the terminal device performs an initialization operation, that is, the first interaction with the SDN controller. This is the initial condition for the terminal device to join the proposed 5G-based mobile communication system. Secondly, to ensure the security of communication, the terminal device registers for communication with the SDN controller, and communication will only be enabled after successful registration. Finally, secure communication is carried out between terminal devices. Communication can be direct communication between devices or through base stations in the system. The implementation process of this module is as follows: Figure 1 As shown, including:

[0045] Step 1: System initialization.

[0046] Step 1-1: The terminal device user sends the identity information to the SDN controller. The user selects a pseudo-random number n and then enters his / her identity information UID i And the corresponding terminal device information DID i , then calculate the two parameters P1 and P2 respectively, where P1 = H(DID i ||UID i ), Finally, the user sends his / her identity information through a secure channel <DID i ,P2,n> is sent to the SDN controller. Where H(||) represents the hash function operation.

[0047] Step 1-2: The SDN controller sends the base station and its own identity information to the user. After the tamper-proof device (TPD) receives the identity information from the user, the SDN controller executes Get the parameter P1, and then calculate the key separately and BPK i and CPK i Represent the base station public key and controller public key respectively. After calculating the above parameters, the SDN controller will use the key K1, K2, base station identity BID i and its own identity CID i Packaging <K1,K2,BID i ,CID i > and sent to the user through a secure channel, while the key K3 will be stored in the local storage pool to identify the terminal device. It is an XOR operation.

[0048] Step 1-3: The tamper proof device (TPD) generates a public-private key pair for the terminal device. TPD is installed in the terminal device and is a physical facility that prevents data from being tampered with. It is mainly responsible for the computing function of the terminal device and also stores some communication information. TPD generates the private key DSK of the terminal device through ECC encryption technology i =s and public key DPK i =sP, where s is a random value, P is the generator of the group G on the elliptic curve. Received message <K1,K2,BID i ,CID i >After that, TPD executes and The operations are used to obtain the base station public key BPK. i and SDN controller public key CPK i Finally, TPD will <BPK i ,CPK i ,DPK i ,DSK i ,BID i ,CID i ,BID i ,UID i >Store it for later communication.

[0049] Step 2: Communication registration.

[0050] Step 2-1: The terminal device sends verification information to the SDN controller for registration. i(i.e. the first terminal device) calculates the variable Rs=H(DID i ||UID i ||CID i ), M1=H(Rh||T1||n) and M2=E(CPK i (DPK i ,Rs)), and then the information <UID i ,DID i ,M1,M2,n,T1> is sent to the controller through a secure channel. T i Indicates a timestamp.

[0051] Step 2-2: The SDN controller verifies the information and returns the registration confirmation information. The SDN controller first checks whether ΔT1≥T2-T1 holds. i is the pre-set threshold, T i represents a timestamp, where i is a positive integer, and different i values ​​represent different individuals. If the inequality holds, the variable Rs is calculated separately * =H(DID i ||UID i ||CID i ), M1 * =H(Rh * ||T1||n)、Get(DPK i ,Rs)=E(CSK i (M2)) and Then, if Established, the controller calculates the variable M info =DPK i ||UID i ||DID i 、T H =H(M info ) and T P_H =H(Get(lastBlock)), T H is the hash value of the current block, T P_H is the hash value of the last block in the blockchain. Then, the controller generates a block BI = CreateBlock (M info ,T3,T H ,T P_H ). Finally, when the block is added to the blockchain, the controller sends the information through a secure channel.<confirmation,T3> Send to terminal device D i .

[0052] Step 2-3: The terminal device verifies the validity of the registration confirmation information. Terminal device D iReceived<confirmation,T3> Then, check whether the inequality ΔT2≥T3-T1 holds. If so, communication can start. If not, return to step 2-1.

[0053] Step 3: Terminal device communication.

[0054] Step 3-1: Terminal device D i To terminal device D j (i.e. the second terminal device) sends the ciphertext M S1 . Terminal device D i Generate ciphertext M S1 and a random number ni, and calculate M1=H(Ps||DID i ||UID i ||DID j ), M2=E(DSK i (M S1 ,Ps,UID i )). Terminal device D i send <M1,M2,T1,n i ,DID i ,DID j >To terminal device D j .

[0055] Step 3-2: Terminal device D j If the terminal device D is stored i public key, then respond directly, otherwise it needs to send a request to the base station to obtain the terminal device D i Public key. Terminal device D j Received from terminal device D i After the information is obtained, first check ΔT i ≥T * 1-T1 is established, if not, give up the response, ΔT i is a pre-set threshold. If true, the terminal device D j Find terminal device D in the local repository i The public key of the , and the following variables are calculated: Get(M S1 ,Ps,UID i )=D(DPK i (M2)), M1 * =H(Ps||DID i ||UID i ||DID j ). Then check (Ps * =Ps&M1 * =M1) is true, if so, calculate the variable and M=E(DSK i (M S2 ,Ks)) and respond to the terminal device D i However, if the terminal device D is not found in the local repository i The public key of the terminal device D j Send a request to the SDN controller via the base station to obtain the terminal device D i The request uses the variable M3=H(Qs||DID J ||UID j ||BID i )、M4=E(BPK i (Req,Qs,UID j ,DID i ))Generate and send information <M3,M4,T2,n j ,DID j >Send to base station.

[0056] Step 3-3: The base station sends a request to the SDN controller to obtain the terminal device D i The base station receives the value and first checks whether ΔT2 ≥ T * 2-T2 is true. If true, the base station performs further calculations, otherwise the request is discarded. If the above conditions are true, the base station calculates the variables Get(Req,Qs,UID j ,DID i )=D(BSK i (M4)), and M3 * =H(Qs * ||DID J ||UID j ||BID i ), then check (Qs * =Qs&M3 * =M3) is true. If true, further calculation is performed, otherwise malicious activity is reported. Finally, the base station calculates M5=H(Os||CID i ||BID i ) and M6=E(CPK i (Req,Os,DID i )) and transfer the information <M5,M6,T3,n d ,BID i >Sent to SDN controller.

[0057] Step 3-4: The SDN controller sends the terminal device D to the base station iThe SDN controller receives the data and first checks ΔT3 ≥ T * 3-Whether T3 is established. If the condition is established, then calculate Get(Req, Os, DID i )=D(CSK i (M6))、 and M5 * =H(Os * ||CID i ||BID i Then, check (Os * =Os&M5 * = M5) is true. If true, the controller calculates the DID from the blockchain i The public key of , and then calculate the variable M7=H(Ls||CID i ||BID i ) and M8=E(BPK i (DPK i ,Ls)) and transfer the information <M7,M8,T4,n c ,CID i >Sent to the requesting base station. If false, reports malicious activity.

[0058] Step 3-5: The base station sends a signal to the terminal device D j Sending terminal device D i The base station receives the response and checks ΔT4 ≥ T * 4-T4 is true. After checking, calculate Get((DPK i ,Ls))=D(BSK i (M8))、 and M7 * =H(Ls * ||CID i ||BID i Then, check (Ls * =Ls&M7 * =M7), after the check is passed, it is necessary to calculate again and M9=E(DPK j (DPK i ,Ns)). Finally, the base station will Send to terminal device D j .

[0059] Step 3-6: Terminal device D j Reply to terminal device D i Information sent. Terminal device D j Receive data and check ΔT5 ≥ T * 5-Is T5 true? If true, terminal device Dj Calculate the following, Get((DPK i ,Ns))=D(DSK j (M9)) and Then check (Ns * =Ns&M3 * = M3) is true. If true, terminal device D j calculate and M=E(DSK i (M S2 ,Ks)) and transfer the information Send to terminal device D i .

[0060] Step 3-7: Terminal Device D i Determine the authenticity of the information. Terminal device D i After receiving the response, first check ΔT6 ≥ T * 6-T6 is true, if the condition is true, calculate Get((M S2 ,Ks))=D(DSK i (M)) and Then check Is it true? Only when it is true, the terminal device D i Only then receive the ciphertext M S2 .

[0061] Furthermore, although the blockchain-enabled SDN security communication module ensures the security of communication, the huge heterogeneity of the network will cause QoS instability problems from edge to cloud. Therefore, the blockchain-enabled SLA security management module acts in the edge to cloud decision-making layer of the 5G mobile communication system. At the same time, a novel Proof-of-Monitoring (PoM) consensus algorithm is proposed in this module to ensure that SSLA can provide QoS reliability and data security at low cost and low energy consumption. Based on this, the implementation process of this module is divided into two steps: First, a blockchain-based SSLA management process is proposed. Secondly, a novel PoM consensus algorithm is customized for the proposed security management architecture. Specifically:

[0062] Step 1: SSLA management process.

[0063] Step 1-1: Startup phase. The terminal device selects a service provider (SP) based on its own needs and sends the security requirements to the SP. The SP generates a draft SSLA based on the user input and then sends the SSLA back to the user. The user has the right to request modifications, and the SP is obliged to review and modify the terms defined in the SSLA until the user is completely satisfied. Therefore, the SSLA negotiation process follows a recursive process. Once the user is satisfied with the received version of the SSLA, he or she can express his or her consent by depositing the agreed service fee defined in the SSLA.

[0064] Step 1-2: Monitoring phase. The policy manager converts the service level objectives into measurable indicators and stores them in the blockchain along with other SSLA parameters. It then sends an SSLA deployment notification to the lifecycle manager. When the start period of the contract arrives, the lifecycle manager triggers the SSLA startup process by sending an SSLA startup notification to the violation monitoring engine. The violation monitoring engine then starts monitoring the wireless channel to which the client and SP are connected to obtain measurable indicators. Subsequently, in each monitoring cycle, the violation monitoring engine reports any infringements found to the compensation calculator and reputation manager. The compensation calculator module calculates the compensation F for the customer. compensation (i) Penalty F for SP compensation and blockchain node service fee F blockchain The reputation manager calculates the reputation score of the blockchain node. If the reputation score of a blockchain node reaches a certain threshold, it will be eliminated from the system.

[0065] Step 1-3: Termination phase. The termination phase mainly includes the termination of SSLA monitoring and the settlement of final payment. SSLA termination occurs if any of the following actions are triggered: (1) If the SP has exceeded the maximum allowed number of violations, the lifecycle manager receives an SSLA termination request from the violation monitoring engine; (2) SSLA meets the contract expiration date. Subsequently, the lifecycle manager sends the SSLA termination notification to the compensation calculator and the reputation manager. If no violation is found, the compensation calculator transfers the service fees of the SP and the blockchain node. If so, it compensates the customer by transferring the compensation fee (a part of the service fee). Finally, the reputation manager calculates and updates the SP's reputation score based on the SP's violation status.

[0066] Step 2: PoM consensus algorithm.

[0067] Step 2-1: Key generation. In order to develop the consensus algorithm, the basic operations introduced in the authentication and key establishment phase of the wireless sensor network are merged into the PAuthKey protocol. The calculation program will be set in the black box of the miner software without exposing it to any blockchain node. The internal calculation includes the elliptic curve point Ru =r u G. Implicit certificate Cert u =R u +r CA G and private key SK u =H(Cert u )r u +s(modn). Among them, G is the generating point of EC curve, (PK CA ,SK CA ) is the public and private key pair of the certificate authority, r u ,r CA is a random number in the interval [1,n], and n is the order of the curve.

[0068] Step 2-2: Key distribution. The proposed consensus protocol uses the PAuthKey protocol to connect the previously calculated SK u and Cert u . Will (SK u ,Cert u ) into Secret(S), and then Shamir's secret sharing method is used to split S into n shares. Next, the mining application reveals the random key shares to each node, and the node can broadcast the received shares to the wireless channel, where SPs and clients connect via the well-known ports they have declared when joining the network.

[0069] Step 2-3: Network monitoring and key recovery. The miner’s designated task is to recover SK u and Cert u To calculate the public key PK u =SK u G / PK u =H(Cert u )*Cert u +PK CA . Therefore, the node must carefully listen to the service port, capture each key share, and reconstruct the required parameters. The system rewards those who complete the task, so that blockchain nodes are encouraged to find a solution by maximizing their resources. Miners can capture their shares while monitoring the network for violations of SSLA, thereby recovering the key.

[0070] Step 2-4: Block generation. The proposed consensus protocol states that PK u , Cert u and SK u The node with the highest miner is the winning miner, and the miner has the opportunity to create the next block of the blockchain. Regarding the composition of the block, the block header is required to include the version number, timestamp, hash of the previous block, hash of the Merkle root, and mining result RESULT = (PK udigitallysigned by SK u )+signature+Cert u The block body is required to include network monitoring data, blockchain service calls, and service fee payment data. Finally, the winning miner broadcasts the generated block to other miners for block validity verification.

[0071] Step 2-5: Block Verification. When other miners receive a new block, they first extract the information contained in the mining result RESULT. Next, they can use Cert u Calculate the public key PK u To verify the signature sent by the winning miner. If the verification is successful, the rest of the peer nodes will add the verified block to the blockchain and the winning miner will receive a reward. The proposed system allocates a portion of the service fee as an incentive.

[0072] Furthermore, the blockchain-enabled SDN security communication module and the blockchain-enabled SLA security management module both rely on blockchain technology to ensure data security, but the storage cost of blockchain technology is too high, and there is a lack of access control function for stored data. In order to solve the above problems, the secure storage and access transmission module based on IPFS and blockchain adopted in the present invention mainly acts on the data storage layer of the 5G mobile communication system. Its main goal is to provide a data security storage and access transmission system that integrates IPFS and blockchain technology. Based on this, this module provides a model that can perform mutual authentication of data requesters and data owners in order to prevent the risk of unauthorized access. At the same time, the organic integration of IPFS can effectively reduce the storage cost of equipment in mobile communication systems, improve data accessibility, and further ensure the privacy of user sensitive data.

[0073] In the specific implementation process, the secure storage and access transmission module based on IPFS and blockchain is divided into seven steps, namely: system setting stage, registration stage, verification stage, access request stage, data encryption and storage stage, access control stage and data decryption stage. Figure 2 As shown in the figure, the implementation process of this module includes:

[0074] Step 1: System setup phase. This phase is performed by the data owner, mainly generating security parameters s1 and s2, public parameters p1 and p2, and random numbers rn1 and rn2 in the range [0,1]. Afterwards, these parameters will be passed to the smart contract for subsequent calculations.

[0075] Step 2: Registration phase. This phase includes three entities: the data requester, the data owner, and the smart contract deployed by them. First, the data requester will call the smart contract deployed by the data owner to register the data access demand, mainly by entering his / her identity R into the contract. ID and data request password R pw The contract then calculates the requester’s unique security key Next, the contract will use the key K R Sent to the data owner for final registration confirmation, that is, the data owner calculates the key based on the data he owns And check the equation Finally, if the equation holds, the information (K R ,R ID ,R pw ) will be stored in the contract and the key will be returned Give the data requester, otherwise, refuse to respond.

[0076] Step 3: Verification phase. The data requester needs to generate two authentication messages in this phase. The expression of the first verification message AM1 is: The expression of the second verification message AM2 is: AM2 = E (AM1 * R pw )modrn1. The data requester sends the two generated authentication messages to the smart contract, and the smart contract calculates the verification message based on the previously stored information. Then find out Final smart contract check and Is it true? If so, the verification is successful.

[0077] Step 4: Access Request Phase. In this phase, the verified requester can send a data access request (Req, R) to the data owner through the smart contract. pw ,R ID ). After receiving the request, the data owner calculates O ID Represents the identity of the data owner, and the data owner returns an access permission AP to the data requester. Finally, the variables Vm and AP are stored in the smart contract as Vm * and AP * .

[0078] Step 5: Data storage and encryption phase. Here, all complete data of the data owner is stored in the IPFS system in an off-chain storage manner, and the corresponding data pointer returned by IPFS is stored on the blockchain. Before the data owner starts encryption, he must first find the block data D containing the IPFS pointer of the data required by the data requester from the blockchain.block , then calculate the Chebyshev polynomial equation A = 4x 3 -3x, where the variable x is calculated as x=rn1*H(O ID ||p2). Next, calculate the file encryption key K E =E(Vm||rn2)*H(s2||p2), and finally get the encrypted data (D E ,A) will be stored in the smart contract.

[0079] Step 6: Access control phase. The data applicant enters the calculation information (AP, R pw ,R ID ,O ID ), the smart contract first calculates Then calculate g = H(AP||Vm ** ||p1), and then calculate based on the locally stored data Final comparison Is it true? If the equation is true, the smart contract calculates H1 = H(s2||p2), and then (D E ,A,H1,rn2) is sent to the data requester.

[0080] Step 7: Data decryption phase. After receiving the information sent by the smart contract, the data requester first calculates Then calculate K E =E(Vm||rn2)*H(s2||p2), then calculate Finally, we can get D block Get the desired data in IPFS.

[0081] Based on the above description, first of all, the present invention constructs a new SDN framework based on blockchain, which solves the privacy and storage problems caused by SDN centralized control and storage. The application of cryptographic hash function SHA-256 and encryption technology ECC realizes the security of system communication and identity authentication. Secondly, in order to solve the problem of unstable QoS from edge to cloud caused by the huge heterogeneity of the system, the present invention proposes a zero-contact SSLA management process relying on blockchain. At the same time, a novel consensus algorithm is proposed to ensure that SSLA can provide QoS reliability at low cost and low energy consumption. Finally, considering the cost issue, a secure storage and access transmission mechanism based on IPFS and blockchain is invented. The computing process is mostly executed by smart contracts, which reduces the risk of human intervention, ensures the security and credibility of data exchange, and prevents the risk of unauthorized access. The main body of data storage is IPFS, which reduces the unnecessary storage cost burden and makes it more suitable for mobile communication systems with limited computing resources.

[0082] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0083] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A "cloud-edge-end" mobile communication system data security exchange system, characterized in that: include: The blockchain-enabled SDN secure communication module acts on the security and privacy layer of the 5G mobile communication system, is used to initialize terminal devices, register communications between terminal devices and SDN controllers, and conduct secure communications between terminal devices; A blockchain-enabled SLA security management module, acting in the edge-to-cloud decision-making layer of a 5G mobile communication system, is used to provide a blockchain-based secure service level agreement SSLA management process, and is used to provide a PoM consensus algorithm for the blockchain-based SSLA management process; The blockchain-based SSLA management process includes: a startup phase, a monitoring phase, and a termination phase. The monitoring phase specifically includes a violation monitoring engine monitoring the wireless channel connecting the client and the service provider SP to obtain measurable indicators; in each monitoring cycle, the violation monitoring engine reports any infringement found to the compensation calculator and the reputation manager, and the compensation calculator calculates the compensation to the customer, the penalty to the SP, and the blockchain node service fee; the reputation manager calculates the reputation score of the blockchain node. If the reputation score of the blockchain node reaches a certain threshold, it will be eliminated from the system; The secure storage and access transmission module based on IPFS and blockchain acts on the data storage layer of the 5G mobile communication system and is used to perform mutual authentication of data requesters and data owners; the process of mutual authentication of data requesters and data owners by the secure storage and access transmission module based on IPFS and blockchain includes: system setting stage, registration stage, verification stage, access request stage, data encryption and storage stage, access control stage and data decryption stage; the system setting stage includes the data owner executing the generation of security parameters s1, security parameters s2, public parameters p1, public parameters p2 and random numbers rn1 and rn2 in the range of [0, 1], and passing the security parameters s1 and s2, public parameters p1 and p2 and random numbers rn1 and rn2 to the smart contract; the registration stage includes three subjects, namely the data requester, the data owner and the deployed smart contract; in the verification stage, the data requester generates two authentication messages in this stage, and the expression of the first authentication message AM1 is , where H represents the hash algorithm, and the expression of the second verification message AM2 is: AM2 = E(AM1*R pw )modrn1, where E stands for encryption, For my own identity, Request a password for the data, It is the key calculated by the data owner based on the data he owns, and p1 is a public parameter. The requester who passes the verification in the access request stage sends a data access request to the data owner through the smart contract. In the data storage and encryption stage, all the complete data of the data owner is stored in the IPFS system in an off-chain storage manner, and the corresponding data pointer returned by IPFS is stored on the blockchain. Before the data owner starts encryption, he must first find the block data containing the IPFS pointer of the data required by the data requester from the blockchain, and then calculate the calculation result A of the Chebyshev polynomial equation, and then calculate the file encryption key to obtain the encrypted data D. E , will (D E ,A) Stored in smart contract.

2. The "cloud-edge-end" mobile communication system data security exchange system according to claim 1 is characterized in that: In the blockchain-enabled SDN secure communication module, the OpenFlow protocol is used for communication, and a hybrid structure is adopted to ensure communication between different components; the security of communication between different components and identity authentication are achieved through the cryptographic hash function SHA-256 and elliptic curve cryptography (ECC); the hybrid structure includes a secure communication channel and an SDN network communication structure.

3. The "cloud-edge-end" mobile communication system data security exchange system according to claim 1 is characterized in that: The process of the blockchain-enabled SDN secure communication module initializing the terminal device includes: Control terminal device users so that they send their identity information to the SDN controller; Controlling the SDN controller so that the SDN controller sends the identity information of the base station and the identity information of the SDN controller to the terminal device user; Control the tamper-proof device so that the tamper-proof device generates a public-private key pair for the terminal device.

4. The "cloud-edge-end" mobile communication system data security exchange system according to claim 1 is characterized in that: The process of the blockchain-enabled SDN secure communication module registering the communication between the terminal device and the SDN controller includes: Control the terminal device so that the terminal device sends verification information to the SDN controller for registration; Control the SDN controller so that the SDN controller verifies the information and returns registration confirmation information; Control the terminal device so that the terminal device verifies the validity of the registration confirmation information.

5. The "cloud-edge-end" mobile communication system data security exchange system according to claim 1 is characterized in that: The process of the blockchain-enabled SDN secure communication module performing secure communication between terminal devices includes: Using the first terminal device to send the ciphertext to the second terminal device; Determine whether the second terminal device stores the public key of the first terminal device, and obtain a first determination result; If the first judgment result is yes, the second terminal device responds; If the first judgment result is no, the second terminal device sends a request to the base station to obtain the public key of the first terminal device and then responds; wherein the base station sends a request to the SDN controller to obtain the public key of the first terminal device, the SDN controller sends the public key of the first terminal device to the base station, and the base station sends the public key of the first terminal device to the second terminal device; The process of the second terminal device responding is: the second terminal device replies to the information sent by the first terminal device; the first terminal device determines the authenticity of the reply information of the second terminal device.

6. The "cloud-edge-end" mobile communication system data security exchange system according to claim 1 is characterized in that: The PoM consensus algorithm includes: key generation, key distribution, network monitoring and key recovery, block generation and block verification.