Communication service system based on block chain

Through the blockchain-based communication service system, the problems of insufficient communication delay and data security are solved, and fast and secure communication services are realized, which reduces user waiting time and improves system efficiency.

CN118945213AInactive Publication Date: 2024-11-12胡娴静
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410936268.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-11-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing communication service system has unreasonable resource allocation, resulting in delayed communication time, unable to meet user needs in the fast life mode, and insufficient data security.

Method used

Using a blockchain-based communication service system, data security and communication efficiency are ensured through steps such as establishing a communication chain, detecting the most appropriate link, processing and caching data, segmenting and optimizing node load rate, and disconnecting.

Benefits of technology

Reduces communication delay, improves data security, ensures data integrity and security during user communication, and reduces waiting time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945213A_ABST
    Figure CN118945213A_ABST
Patent Text Reader

Abstract

The invention discloses a communication service method based on a block chain, and the method comprises the following steps: 1, building a communication chain of the block chain, and enabling an administrator to register respective nodes for a user, a service request and a server; 2, detecting the most suitable communication chain, generating an identifier corresponding to the most suitable communication chain, and identifying the identifier to access the communication chain to a user side equipment interface; 3, the node processes user communication data, caches the processed data, transmits the data to a target area, and receives server feedback data; 4, segmenting the data, calculating a node load rate, optimizing the node load rate, and recombining and caching the data to a server; and step 5, disconnecting the communication chain connection, clearing system cache data and closing the auxiliary node. The communication service system based on the block chain comprises a communication chain management module, a communication service module and a node management module. The method has the characteristics of reducing the communication time delay and improving the data security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a communication service system based on blockchain. Background Art

[0002] Communication networks generally use optical fiber, wireless, and wired networks as information transmission carriers to ultimately achieve network interoperability. Relying on communication networks, information can be transmitted and shared.

[0003] With the development of communication technology, network communication services have become an indispensable part of people's daily lives. People's dependence on network communication services has gradually increased. For this reason, people's requirements for communication services are also constantly increasing, and they are pursuing faster response speeds. However, under the existing technology, communication service resources cannot be reasonably allocated, resulting in long waiting times for communication, which cannot bring people the best experience in a fast-paced life mode. Therefore, it is necessary to design a blockchain-based communication service system that reduces communication delays and improves data security. Summary of the invention

[0004] The purpose of the present invention is to provide a blockchain-based communication service system to solve the problems raised in the above-mentioned background technology.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a communication service method based on blockchain, the method comprising the following steps:

[0006] Step 1: Establish the communication chain of the blockchain. The administrator registers the nodes for users, service requests, and servers respectively;

[0007] Step 2: Detect the most suitable communication link, generate an identifier corresponding to it, identify the identifier and connect the communication link to the user terminal device interface;

[0008] Step 3: The node processes the user communication data, caches the processed data, transmits it to the target area, and receives the server feedback data;

[0009] Step 4: Split the data and calculate the node load rate, optimize the node load rate, and reassemble and cache the data to the server;

[0010] Step 5: Disconnect the communication link, clear the system cache data and shut down the secondary node.

[0011] According to the above technical solution, the steps of detecting the most suitable communication link, generating an identifier corresponding thereto, identifying the identifier and linking the communication link to the user terminal device interface include:

[0012] The communication chain detection module detects the user-end device and identifies the best communication chain suitable for the device. The communication chain detection module detects the user network status and selects the best communication protocol according to the network bandwidth. After the communication chain is connected to the user-end device interface, the communication chain detection module detects the communication chain connection status in real time. The identification generation module generates corresponding connection identifications according to the best communication chain and communication protocol selected by the communication chain detection module. The access control module obtains the connection identification, compares the connection identification with the identification in the system database, identifies the communication chain and communication protocol corresponding to the connection identification, and connects the communication chain to the user-end device interface.

[0013] According to the above technical solution, the node processes user communication data, caches the processed data, transmits it to the target area, and receives the server feedback data, including:

[0014] The data flow processing module obtains the data input or imported by the user, analyzes and organizes the data, and organizes the data into a data set that meets the node processing standards according to the system preset rules. The data cache module obtains the data set and caches the entire data set in the edge server node. The data transmission module transmits the data set to the target area for storage and record, and prints a timestamp on the storage record to record the storage or modification time. The data transmission module transmits the communication data between the user-end node and the server node. The response receiving module receives the server's response to the user's communication transmission.

[0015] According to the above technical solution, the steps of dividing the data and calculating the node load rate, optimizing the node load rate, and recombining and caching the data to the server include:

[0016] The data segmentation module obtains the data set, uses the data probe of the data segmentation module to detect the data identifier, identifies the information on the data identifier, selects the appropriate data set segmentation container according to the information on the digital identifier, divides the data into a×b data blocks, and encodes each data block. The node load calculation module identifies the number of data blocks M that are throughput i , count the number of remaining data blocks to be processed by the node N i , where i = 1, 2, 3...n, the node load calculation module calculates the node load rate, adjusts the node load rate through node optimization according to the node load rate, and obtains the node load rate by the node optimization module. When the node load rate is greater than the maximum threshold preset by the system, the node optimization module wakes up the child nodes under the node, and distributes part of the data blocks through the child nodes to reduce the load rate of the parent node. The data reorganization module obtains the data processed by the node, and uses the code recognition probe of the data reorganization module to identify the code on the data block, and recombines the data blocks according to the recognized code to form a new data set.

[0017] According to the above technical solution, the step of calculating the node load includes:

[0018] Get the node data block throughput M i and the number of remaining data blocks to be processed by the node N i , calculate the node load rate κ i The formula is:

[0019]

[0020] Where i = 1, 2, 3...n, κ represents the node load rate, which is a percentage, μ represents the node load coefficient, λ represents the average optimal throughput data block number of the node, M i It represents the actual throughput of the node. The load rate is calculated by the node load calculation module. When the load rate is greater than the maximum threshold preset by the system, the node optimization module wakes up the child node to process data. The node load calculation module calculates the current child node load rate. If the child node load rate is still greater than the maximum threshold, the node optimization module will wake up another child node.

[0021] According to the above technical solution, the steps of disconnecting the communication link, clearing the system cache data and shutting down the secondary node include:

[0022] The communication chain management module calls the communication chain detection module to detect the communication chain connected to the user-end device interface, the access control module cuts off all user-end communication chains, the access control unit clears all data sets cached in the node through the communication chain connected to each node, the communication chain detection module detects the communication chain connected to the sub-node, the communication chain management module calls the node optimization module to shut down all sub-nodes, put all sub-nodes into a dormant state, and cuts off the communication chain connection of the sub-node through the access control module, cuts off all the communication chains of the user-end device and the sub-node communication chains through the access control unit, and clears all node cache data sets.

[0023] According to the above technical solution, the system includes:

[0024] Blockchain module, used to establish a communication chain;

[0025] A communication chain management module, used for managing the communication chain;

[0026] Communication service module, used for processing user communication data;

[0027] Node management module, users optimize node processing speed.

[0028] According to the above technical solution, the communication chain management module includes:

[0029] An identification establishment module is used to establish the best communication chain and communication protocol identification corresponding to the device;

[0030] A communication chain detection module is used to detect the best connection communication chain and communication protocol at the user end;

[0031] The access control module is used to control the disconnection and connection of the communication link.

[0032] According to the above technical solution, the communication service module includes:

[0033] A data stream processing module, used for processing the data used by users for communication transmission;

[0034] A data cache module, used to cache user communication data sets;

[0035] A data transmission module, used for transmitting data;

[0036] The response receiving module is used to receive the server response.

[0037] According to the above technical solution, the node management module includes:

[0038] A data segmentation module is used to segment the data set into data blocks;

[0039] A node load calculation module is used to calculate the node load rate;

[0040] Node optimization module, used to optimize node load rate and improve node throughput efficiency;

[0041] The data reorganization module is used to reorganize data blocks into data sets.

[0042] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention, by providing a communication chain detection module and an access control module, detects and controls the disconnection and connection of the communication chain, protects the user's data from being lost during the communication transmission process, and ensures the security of the data. A data segmentation module and a data reorganization module are also provided to ensure that the user data will not be stolen. Even if it is stolen, the original data cannot be pieced together, further improving the security of the data. The node optimization module adjusts the child node to share the parent node's load according to the load situation of the node load calculation module, thereby speeding up communication transmission, reducing user waiting time, and reducing the delay of communication services. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0044] Figure 1 This is a flowchart of a communication service method based on blockchain provided in Embodiment 1 of the present invention;

[0045] Figure 2 This is a schematic diagram of the module composition of a blockchain-based communication service system provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0046] 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.

[0047] Embodiment 1: Figure 1 This is a flowchart of a communication service system based on blockchain provided in Embodiment 1 of the present invention. This embodiment can be applied to the communication service scenario. The method can be executed by a communication service system based on blockchain provided in this embodiment. Figure 1 As shown, the method specifically comprises the following steps:

[0048] Step 1: Establish the communication chain of the blockchain. The administrator registers the nodes for users, service requests, and servers respectively;

[0049] Step 2: Detect the most suitable communication link, generate an identifier corresponding to it, identify the identifier and connect the communication link to the user terminal device interface;

[0050] In an embodiment of the present invention, during the process of communication transmission, the communication chain detection module detects the user-end device and identifies the best communication chain suitable for the device. The communication chain detection module detects the user network status and selects the best communication protocol according to the network bandwidth. After the communication chain is connected to the user-end device interface, the communication chain detection module detects the connection status of the communication chain in real time. The identification generation module generates corresponding connection identifications according to the best communication chain and communication protocol selected by the communication chain detection module. The access control module obtains the connection identification. The access control module compares the connection identification with the identification in the system database, identifies the communication chain and communication protocol corresponding to the connection identification, and connects the communication chain to the user-end device interface. The communication chain detection module detects the connection status of the communication chain in real time to prevent data loss due to communication chain interruption, thereby ensuring data integrity. By selecting the best communication chain and communication protocol, the fastest communication method for communication data transmission is selected for the user, thereby greatly reducing the delay of communication services.

[0051] Step 3: The node processes the user communication data, caches the processed data, transmits it to the target area, and receives the server feedback data;

[0052] In the embodiment of the present invention, during the process of the user performing communication services, the data flow processing module obtains the data input or imported by the user, analyzes and organizes the data, the data flow processing module organizes the data into a data set that meets the node processing standard according to the system preset rules, the data cache module obtains the data set and caches the data set in the edge server node, transmits the data set to the target area through the data transmission module for storage record, and prints a timestamp on the storage record to record the storage or modification time, the data transmission module transmits the communication data between the user end node and the server node, the response receiving module receives the response made by the server to the user communication transmission, and by processing the data flow, it is convenient for the node to transmit the data, reducing the user waiting time and the delay of the communication service, and by caching the data set, it is convenient for the user to obtain the organized data set for backup, transfer and other operations, avoiding the user waiting for the data set to be transmitted and stored in the server before retrieving the data, reducing the user waiting time, and greatly improving the efficiency of the system;

[0053] Exemplarily, the specific method for the data stream processing module to process the data stream is: obtaining the data transmitted by the user, placing the data into the data set model row, arranging the data in the data set model according to a specific arrangement method, inserting data identifiers during the data arrangement process, and when the data set model is full, closing the data set model and compressing the arranged data set to reduce the resource occupation by data and improve resource utilization.

[0054] Step 4: Split the data and calculate the node load rate, optimize the node load rate, and reassemble and cache the data to the server;

[0055] In the embodiment of the present invention, when a node processes data, the data segmentation module obtains a data set, uses the data probe of the data segmentation module to detect the data identifier, identifies the information on the data identifier, selects an applicable data set segmentation container according to the information on the digital identifier, divides the data into a×b data blocks, and encodes each of the divided data blocks. The node load calculation module identifies the number of data blocks M of the throughput. i , count the number of remaining data blocks to be processed by the node N i, where i=1,2,3......n, the node load calculation module calculates the node load rate, adjusts the node load rate through node optimization according to the node load rate, the node optimization module obtains the node load rate, when the node load rate is greater than the maximum threshold preset by the system, the node optimization module wakes up the child nodes under the node, and distributes part of the data blocks through the child nodes to reduce the load rate of the parent node, the data reorganization module obtains the data processed by the node, and uses the code recognition probe of the data reorganization module to identify the code on the data block, and recombines the data block according to the recognized code to combine into a new data set, by dividing the data into small data blocks, the speed of node communication transmission can be accelerated, and the child nodes are awakened according to the load rate of the parent node to further accelerate the node communication transmission speed, which greatly reduces the delay of communication transmission, and the data is segmented and reorganized to ensure the security of the data, and further improve the security of communication services;

[0056] Exemplarily, the specific method of calculating the node load is: obtaining the node data block throughput number M i and the number of remaining data blocks to be processed by the node N i , calculate the node load rate κ i The formula is:

[0057]

[0058] Where i = 1, 2, 3...n, κ represents the node load rate, which is a percentage, μ represents the node load coefficient, λ represents the average optimal throughput data block number of the node, M i It represents the actual throughput of the node. The load rate is calculated by the node load calculation module. When the load rate is greater than the maximum threshold preset by the system, the node optimization module wakes up the child node to process data. The node load calculation module calculates the current child node load rate. If the child node load rate is still greater than the maximum threshold, the node optimization module will wake up another child node. When the parent node load rate is not greater than the maximum threshold, the child node will not start and will not occupy system resources, thereby improving the node resource utilization rate. This method of waking up the child node to share the load can maximize the use of node resources, reduce the waiting time for user communication transmission, and reduce communication latency.

[0059] Step 5: Disconnect the communication link, clear the system cache data and shut down the secondary node.

[0060] In an embodiment of the present invention, after the user ends the communication service, the communication chain management module calls the communication chain detection module to detect the communication chain connected to the user-end device interface, the access control module cuts off all user-end communication chain connections, and the access control unit clears all data sets cached in the node through the communication chain connected to each node. The communication chain detection module detects the communication chain connected to the sub-node, the communication chain management module calls the node optimization module to close all sub-nodes, puts all sub-nodes into a dormant state, and cuts off the communication chain connection of the sub-node through the access control module, and cuts off the communication chain of the user-end device and the communication chain of the sub-node through the access control unit, and clears all node cache data sets to avoid user data leakage or theft, ensure the security of user communication data, and further improve the security of communication services.

[0061] Embodiment 2: Embodiment 2 of the present invention provides a communication service system based on blockchain. Figure 2 A schematic diagram of the module composition of a blockchain-based communication service system provided in Embodiment 2 of the present invention is shown in FIG. Figure 2 As shown, the system includes:

[0062] Blockchain module, used to establish a communication chain;

[0063] A communication chain management module, used for managing the communication chain;

[0064] Communication service module, used for processing user communication data;

[0065] Node management module, users optimize node processing speed.

[0066] In some embodiments of the present invention, the communication link management module includes:

[0067] An identification establishment module is used to establish the best communication chain and communication protocol identification corresponding to the device;

[0068] A communication chain detection module is used to detect the best connection communication chain and communication protocol at the user end;

[0069] The access control module is used to control the disconnection and connection of the communication link.

[0070] In some embodiments of the present invention, the communication service module includes:

[0071] A data stream processing module, used for processing the data used by users for communication transmission;

[0072] A data cache module, used to cache user communication data sets;

[0073] A data transmission module, used for transmitting data;

[0074] The response receiving module is used to receive the server response.

[0075] In some embodiments of the present invention, the node management module includes:

[0076] A data segmentation module is used to segment the data set into data blocks;

[0077] A node load calculation module is used to calculate the node load rate;

[0078] Node optimization module, used to optimize node load rate and improve node throughput efficiency;

[0079] The data reorganization module is used to reorganize data blocks into data sets.

[0080] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0081] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A communication service method based on blockchain, characterized in that: The method comprises the following steps: Step 1: Establish the communication chain of the blockchain. The administrator registers the nodes for users, service requests, and servers respectively; Step 2: Detect the most suitable communication link, generate an identifier corresponding to it, identify the identifier and connect the communication link to the user terminal device interface; Step 3: The node processes the user communication data, caches the processed data, transmits it to the target area, and receives the server feedback data; Step 4: Split the data and calculate the node load rate, optimize the node load rate, and reassemble and cache the data to the server; Step 5: Disconnect the communication link, clear the system cache data and shut down the secondary node.

2. A blockchain-based communication service method according to claim 1, characterized in that: The steps of detecting the most suitable communication link, generating an identifier corresponding thereto, identifying the identifier and linking the communication link to the user terminal device interface include: The communication chain detection module detects the user-end device and identifies the best communication chain suitable for the device. The communication chain detection module detects the user network status and selects the best communication protocol according to the network bandwidth. After the communication chain is connected to the user-end device interface, the communication chain detection module detects the communication chain connection status in real time. The identification generation module generates corresponding connection identifications according to the best communication chain and communication protocol selected by the communication chain detection module. The access control module obtains the connection identification, compares the connection identification with the identification in the system database, identifies the communication chain and communication protocol corresponding to the connection identification, and connects the communication chain to the user-end device interface.

3. A blockchain-based communication service method according to claim 2, characterized in that: The node processes user communication data, caches the processed data, transmits the processed data to a target area, and receives server feedback data, including: The data flow processing module obtains the data input or imported by the user, analyzes and organizes the data, and organizes the data into a data set that meets the node processing standards according to the system preset rules. The data cache module obtains the data set and caches the entire data set in the edge server node. The data transmission module transmits the data set to the target area for storage and record, and prints a timestamp on the storage record to record the storage or modification time. The data transmission module transmits the communication data between the user-end node and the server node. The response receiving module receives the server's response to the user's communication transmission.

4. A blockchain-based communication service method according to claim 3, characterized in that: The steps of dividing the data, calculating the node load rate, optimizing the node load rate, and recombining and caching the data to the server include: The data segmentation module obtains the data set, uses the data probe of the data segmentation module to detect the data identifier, identifies the information on the data identifier, selects the appropriate data set segmentation container according to the information on the digital identifier, divides the data into a×b data blocks, and encodes each data block. The node load calculation module identifies the number of data blocks M that are throughput i , count the number of remaining data blocks to be processed by the node N i , where i = 1, 2, 3...n, the node load calculation module calculates the node load rate, adjusts the node load rate through node optimization according to the node load rate, and obtains the node load rate by the node optimization module. When the node load rate is greater than the maximum threshold preset by the system, the node optimization module wakes up the child nodes under the node, and distributes part of the data blocks through the child nodes to reduce the load rate of the parent node. The data reorganization module obtains the data processed by the node, and uses the code recognition probe of the data reorganization module to identify the code on the data block, and recombines the data blocks according to the recognized code to form a new data set.

5. A blockchain-based communication service method according to claim 4, characterized in that: The step of calculating the node load includes: Get the node data block throughput M i and the number of remaining data blocks to be processed by the node N i , calculate the node load rate κ i The formula is: Where i = 1, 2, 3...n, κ represents the node load rate, which is a percentage, μ represents the node load coefficient, λ represents the average optimal throughput data block number of the node, M i It represents the actual throughput of the node. The load rate is calculated by the node load calculation module. When the load rate is greater than the maximum threshold preset by the system, the node optimization module wakes up the child node to process data. The node load calculation module calculates the current child node load rate. If the child node load rate is still greater than the maximum threshold, the node optimization module will wake up another child node.

6. A blockchain-based communication service method according to claim 5, characterized in that: The steps of disconnecting the communication link, clearing the system cache data and shutting down the secondary node include: The communication chain management module calls the communication chain detection module to detect the communication chain connected to the user-end device interface, the access control module cuts off all user-end communication chains, the access control unit clears all data sets cached in the node through the communication chain connected to each node, the communication chain detection module detects the communication chain connected to the sub-node, the communication chain management module calls the node optimization module to shut down all sub-nodes, put all sub-nodes into a dormant state, and cuts off the communication chain connection of the sub-node through the access control module, cuts off all the communication chains of the user-end device and the sub-node communication chains through the access control unit, and clears all node cache data sets.

7. A communication service system based on blockchain, characterized in that: The system comprises: Blockchain module, used to establish a communication chain; A communication chain management module, used for managing the communication chain; Communication service module, used for processing user communication data; Node management module, users optimize node processing speed.

8. A blockchain-based communication service system according to claim 7, characterized in that: The communication chain management module includes: An identification establishment module is used to establish the best communication chain and communication protocol identification corresponding to the device; A communication chain detection module is used to detect the best connection communication chain and communication protocol at the user end; The access control module is used to control the disconnection and connection of the communication link.

9. A blockchain-based communication service system according to claim 8, characterized in that: The communication service module includes: A data stream processing module, used to process the data used by users for communication transmission; A data cache module, used to cache user communication data sets; A data transmission module, used for transmitting data; The response receiving module is used to receive the server response.

10. A blockchain-based communication service system according to claim 9, characterized in that: The node management module includes: A data segmentation module is used to segment the data set into data blocks; A node load calculation module is used to calculate the node load rate; Node optimization module, used to optimize node load rate and improve node throughput efficiency; The data reorganization module is used to reorganize data blocks into data sets.

Citation Information

Cited By

  • Remote response system based on block chain

    CN119155350A