A method and system for interactive data processing based on blockchain network

Through fuzzy processing and virtual mapping address technology, the problems of low transmission efficiency and chaotic data storage in interactive data processing on the blockchain network are solved, and the security and convenience of data transmission are improved.

CN118364351BActive Publication Date: 2024-10-25江苏全天软件有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410444880.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-15
Publication Date
2024-10-25
Estimated Expiration
2044-04-15

AI Technical Summary

Technical Problem

Existing interactive data processing methods based on blockchain networks are slow in encryption and verification during transmission, resulting in low efficiency, and data storage continues to grow, affecting the convenience of data retrieval.

Method used

Fuzzy processing and virtual mapping address technology are used to perform fuzzy analysis and annotation of data through the network connection between the first node and the first agent node, and the virtual mapping address is used for data transmission, and the transmission path and access strategy are adjusted in real time.

Benefits of technology

It improves the security and efficiency of data transmission, simplifies data processing and analysis, and enhances the system's flexibility and response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118364351B_ABST
    Figure CN118364351B_ABST
Patent Text Reader

Abstract

The present invention discloses an interactive data processing method and system based on a blockchain network, and relates to the field of data processing. The interactive data processing method based on a blockchain network comprises the following steps: S1, a first node obtains the interactive data to be processed, and presets a classification rule; S2, fuzzy processes the classified interactive data, and transmits it to a first proxy node; S3, fuzzy analyzes the fuzzy interactive data through the first proxy node, and adds annotations according to the analysis results; S4, presets the control node access rights, and generates a virtual mapping address; S5, the first proxy node obtains the virtual mapping address, matches the virtual mapping address of the annotated interactive data, and transmits the interactive data according to the virtual mapping address matching result. The present invention effectively processes and analyzes the data through fuzzy processing and fuzzy analysis, and improves the security of the data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a method and system for interactive data processing based on a blockchain network. Background Art

[0002] The blockchain network is a distributed database system. Its core is an open, transparent, decentralized and tamper-proof data structure. Each blockchain contains a series of transaction records, which are packaged into blocks and connected together through encryption algorithms. Blockchain technology is a distributed database technology that maintains a growing and tamper-proof data record through network connections between different nodes. In this way, blockchain technology can ensure the integrity and security of the data. In network data processing, data is usually stored on a centralized server, and all interactive data processing needs to be carried out through this centralized server.

[0003] However, in traditional network data processing, data is usually stored on a centralized server, and all interactive data processing needs to be performed through this centralized server, which makes the server a target of attack and the security and privacy of the data may be compromised. However, through an interactive data processing method and system based on a blockchain network, the data is distributed throughout the entire blockchain network, so that each node can participate in data processing and verification, thereby improving data security and system reliability.

[0004] However, the existing interactive data processing methods and systems based on blockchain networks will greatly reduce the speed of node verification after multiple transmissions are encrypted during transmission, which greatly affects the efficiency of data transmission. As time goes by, the blockchain requires all nodes to save all transaction records, and the data stored in the blockchain will continue to accumulate and grow, resulting in chaotic data storage, which greatly affects the convenience of retrieving interactive data.

[0005] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention

[0006] In response to the problems in the related technology, the present invention proposes an interactive data processing method and system based on a blockchain network to overcome the above-mentioned technical problems existing in the existing related technology.

[0007] To this end, the specific technical solution adopted by the present invention is as follows:

[0008] According to one aspect of the present invention, a method for processing interactive data based on a blockchain network comprises the following steps:

[0009] S1. The first node obtains the interaction data to be processed and presets a classification rule;

[0010] S2, fuzzy processing the classified interaction data and transmitting it to the first proxy node;

[0011] S3, performing fuzzy analysis on the fuzzy processed interaction data through the first proxy node, and adding annotations according to the analysis results;

[0012] S4. Preset the control node access rights and generate a virtual mapping address;

[0013] S5, the first proxy node obtains the virtual mapping address, matches the annotated interactive data with the virtual mapping address, and transmits the interactive data according to the virtual mapping address matching result;

[0014] S6. Request judgment on the interactive data through the control node, and update the virtual mapping address;

[0015] S7. The first proxy node synchronizes with the updated virtual mapping address, obtains the adjusted interaction data, and classifies the data according to the annotations, and transmits the classified interaction parameters to the first node.

[0016] As a preferred solution, the classified interaction data is fuzzy processed and transmitted to the first proxy node, including the following steps:

[0017] S21, extracting features from the classified interaction data to obtain feature values;

[0018] S22, presetting a fuzzy function, and bringing the characteristic value into the fuzzy function to obtain fuzzified information;

[0019] S23, verifying the fuzzy information and performing serialization conversion on the fuzzy information;

[0020] S24, establishing a network connection between the first node and the first proxy node, and presetting a time change rule for the first proxy node;

[0021] S25. Transmit the verified obfuscated information to the first proxy node according to the network connection between the first node and the first proxy node.

[0022] As a preferred solution, performing fuzzy analysis on the fuzzy processed interaction data by the first proxy node and adding annotations according to the analysis results includes the following steps:

[0023] S31, presetting fuzzy set rules and using fuzzy mechanism theory to quantify the fuzzy-processed interaction data;

[0024] S32, analyzing the quantified interaction data according to preset fuzzy set rules, and performing fuzzy reasoning to obtain fuzzy metrics;

[0025] S33, converting the fuzzy metric into a specific output value, and making a judgment based on the specific output value;

[0026] S34. Add annotations based on the results of the judgment according to the specific output values.

[0027] As a preferred solution, according to the preset fuzzy set rules, the quantized interaction data is analyzed and fuzzy reasoning is performed to obtain the fuzzy measurement, which includes the following steps:

[0028] S321, calculating the matching degree of the fuzzy set rules and the quantified interaction data through the fuzzy association matrix, and calculating the matching degree of the quantified interaction data and the fuzzy set rules to evaluate the fuzzy rule confidence;

[0029] S322, using a fuzzy reasoning algorithm and fuzzy rule confidence, performing fuzzy logic operations on the quantified interactive data membership to obtain a comprehensive membership;

[0030] S323. Analyze according to fuzzy set rules and comprehensive membership to obtain fuzzy measurement.

[0031] As a preferred solution, the fuzzy set rules and the quantified interaction data are used to calculate the matching degree of the fuzzy set rules through the fuzzy association matrix, and the matching degree of the quantified interaction data and the fuzzy set rules is calculated to evaluate the fuzzy rule confidence, which includes the following steps:

[0032] S3211. The number of different digits between the fuzzy set rules and the quantified interaction data is calculated using a string distance algorithm. The expression for the number of different digits is:

[0033] ;

[0034] S3212. According to the fuzzy set rules and the quantified interaction data, the fuzzy rule matching degree is calculated by using the number of different digits between the character string distance calculations. The expression of the fuzzy rule matching degree is:

[0035] ;

[0036] S3213. Calculate and evaluate the fuzzy rule confidence based on the quantified interaction data and the fuzzy set rule matching degree. The expression of the fuzzy rule confidence is:

[0037] ;

[0038] in, is the number of different digits between the quantized interaction data and the fuzzy set rules;

[0039] is the linear interpolation function of the quantized interaction data to the fuzzy set rules;

[0040] is the membership degree of the fuzzy set rule;

[0041] N is the fuzzy set rule matching degree;

[0042] H is the dimension of the quantified interaction data;

[0043] D is the confidence of fuzzy set rules;

[0044] w is the weighting coefficient of the quantified interaction data;

[0045] m is the number of evaluation items included in both the fuzzy set rules and the quantified interaction data.

[0046] As a preferred solution, presetting the control node access rights and generating the virtual mapping address includes the following steps:

[0047] S41, presetting access permission policies according to the identity authentication and recognition algorithm, and updating access permission in real time according to user operation behavior;

[0048] S42, constructing a mapping table according to a preset control node, and generating a virtual address of the preset control node;

[0049] S43, adding the virtual address and the actual address of the preset control node to the mapping table;

[0050] S44, presetting a virtual address time update rule, and updating the virtual address in the mapping table according to the update rule to obtain a virtual mapping address.

[0051] As a preferred solution, presetting access permission policies according to the identity authentication algorithm and updating access permission in real time according to user operation behaviors include the following steps:

[0052] S411, presetting access rights according to the user identity, and performing identity authentication when the user attempts to log in or access specific resources;

[0053] S412, presetting access permission policies, and adjusting access permission according to identity authentication results;

[0054] S413, real-time detection of user operation behavior, and updating access rights according to the operation behavior;

[0055] S414. Record user operations and access rights adjustments and conduct regular audits.

[0056] As a preferred solution, a virtual address time update rule is preset, and the virtual address in the mapping table is updated according to the update rule. Obtaining the virtual mapping address includes the following steps:

[0057] S441, setting a scheduled task to update the virtual address according to a preset virtual address time update rule;

[0058] S442, sending the updated virtual address to the mapping table, and replacing the original virtual address;

[0059] S443. Obtain the virtual address according to the mapping table, and provide real-time feedback according to the virtual address change situation.

[0060] As a preferred solution, the first proxy node obtains the virtual mapping address, matches the annotated interactive data with the virtual mapping address, and transmits the interactive data according to the virtual mapping address matching result, including the following steps:

[0061] S51, obtaining a virtual mapping address and annotated interaction data through a first proxy node;

[0062] S52, presetting a matching rule, and matching the virtual mapping address and the annotated interaction data according to the support vector machine and the matching rule;

[0063] S53, sending the annotated interaction data to the virtual mapping address according to the matching result, and converting the virtual mapping address into the actual address of the preset control node;

[0064] S54, recording the interactive data transmission result after marking, and making a judgment, if the transmission is successful, stopping the transmission, if the transmission fails, repeating steps S52-S54 until the interactive data after marking is successfully transmitted.

[0065] According to another aspect of the present invention, an interactive data processing system based on a blockchain network includes:

[0066] A data acquisition and classification module is used for the first node to acquire the interaction data to be processed and preset classification rules;

[0067] A data processing fuzzy module, used for fuzzy processing the classified interaction data and transmitting it to the first proxy node;

[0068] A fuzzy analysis and annotation module, used to perform fuzzy analysis on the fuzzy processed interaction data through the first proxy node, and add annotations according to the analysis results;

[0069] A virtual mapping module is used to preset the access rights of the control node and generate a virtual mapping address;

[0070] The data transmission matching module is used for the first proxy node to obtain the virtual mapping address, match the annotated interactive data with the virtual mapping address, and transmit the interactive data according to the virtual mapping address matching result;

[0071] A judgment and update module, used for making a request judgment on the interactive data through the control node and updating the virtual mapping address;

[0072] The data synchronization transmission module is used to synchronize the first proxy node with the updated virtual mapping address, obtain the adjusted interaction data, and classify it according to the annotations, and transmit the classified interaction parameters to the first node.

[0073] The data acquisition classification module, the data processing fuzzy module, the fuzzy analysis and marking module, the virtual mapping module, the data transmission matching module, the judgment and updating module and the data synchronization transmission module are connected in sequence.

[0074] The beneficial effects of the present invention are:

[0075] 1. The present invention uses fuzzy processing and fuzzy analysis to effectively process and analyze data while protecting the original interactive data. At the same time, through the use of virtual mapping addresses, the actual data transmission path can be further hidden to improve data security. The data can be quickly and effectively processed through preset classification rules and fuzzy set rules, and the subsequent processing and analysis of the data can be more convenient by using the annotation of the data.

[0076] 2. The present invention effectively controls the access and transmission of data by presetting the control node access rights and generating the virtual mapping address. At the same time, by performing request judgment on the interactive data and updating the virtual mapping address, the control strategy of the system is adjusted in real time to adapt to possible changes. The virtual mapping address and the labeled interactive data are obtained through the first proxy node, and the data is updated and synchronized in real time. The data transmission path is adjusted in real time by matching the virtual mapping address and the labeled interactive data, thereby improving the flexibility and response speed of the system. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0078] Figure 1is a method flow chart of an interactive data processing method based on a blockchain network according to an embodiment of the present invention;

[0079] Figure 2 It is a system block diagram of an interactive data processing system based on a blockchain network according to an embodiment of the present invention.

[0080] In the figure:

[0081] 1. Data acquisition and classification module; 2. Data processing fuzzy module; 3. Fuzzy analysis and labeling module; 4. Virtual mapping module; 5. Data transmission and matching module; 6. Judgment and update module; 7. Data synchronization transmission module. DETAILED DESCRIPTION

[0082] To further illustrate each embodiment, the present invention provides drawings, which are part of the disclosure of the present invention and are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in the field should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.

[0083] According to an embodiment of the present invention, a method and system for interactive data processing based on a blockchain network are provided.

[0084] The present invention is further described with reference to the accompanying drawings and specific embodiments. According to one embodiment of the present invention, Figure 1 As shown, according to the interactive data processing method based on the blockchain network according to an embodiment of the present invention, the method includes the following steps:

[0085] S1. The first node obtains the interaction data to be processed and presets a classification rule;

[0086] Specifically, collect or receive interaction data to be processed, including information from the network, sensors, databases or other data sources, and store the acquired interaction data for subsequent processing, then formulate classification rules based on the attributes, content, structure, etc. of the data, classify the processed interaction data according to the classification rules, and store the classified data, archive it or store it in a specific location for subsequent processing or analysis.

[0087] S2, fuzzy processing the classified interaction data and transmitting it to the first proxy node;

[0088] In the embodiment of the present application, the fuzzy processing of the classified interaction data and the transmission to the first proxy node comprises the following steps:

[0089] S21, extracting features from the classified interaction data to obtain feature values;

[0090] Specifically, ensure that data classification has been completed and the data set that needs to extract features is available, then preset the required data features, and calculate the statistical properties of the data. The frequency domain features are extracted by using Fourier transform or wavelet transform, the text features are processed by using the bag-of-words model on the text data, and then the text is converted into numerical features, and the image features are processed by color histogram, edge detection, texture analysis, etc. on the image data to extract the numerical features of the image;

[0091] The extracted features are standardized to ensure that they are in the same size, and the extracted features are stored. The validity of the extracted features is verified through visualization and statistical methods.

[0092] S22, presetting a fuzzy function, and bringing the characteristic value into the fuzzy function to obtain fuzzified information;

[0093] Specifically, a suitable fuzzy function is selected, such as a triangular function, a trapezoidal function, a Gaussian function, etc. For each feature, a fuzzy set is defined and a fuzzy function is assigned. At the same time, for each fuzzy set, the parameters of the fuzzy function are set, such as the mean, maximum value, maximum value, etc. For each feature, its eigenvalue is brought into the corresponding fuzzy function to generate a fuzzy value, which represents the membership of the eigenvalue in the fuzzy set. Each fuzzy value in the feature is combined into a fuzzified information, which is realized through the invasion of fuzzy logic, such as minimization, maximization, averaging, etc. Then, according to the needs, the fuzzy values ​​of multiple features are logically invaded to obtain more complex fuzzified information.

[0094] S23, verifying the fuzzy information and performing serialization conversion on the fuzzy information;

[0095] Specifically, verify whether the fuzzified information complies with the preset fuzzy set rules, such as checking whether the attribute value is within a reasonable range, whether the data type is consistent, etc. Verify whether the quantification result of the fuzzified information is reasonable, such as whether the result obtained by reverse fuzzification calculation is consistent with the original information, and perform fuzzy reasoning on the fuzzified information to check whether the reasoning result meets expectations;

[0096] Define the data structure of fuzzy information, use structures, classes, etc. to encapsulate the information, serialize the attribute values ​​in the fuzzy information such as membership values, fuzzy sets, etc. into byte streams, calculate the check code for the serialized byte stream, and serialize the check code together with the byte stream. During deserialization, extract information from the byte stream and perform check code verification, and compress the serialized byte stream.

[0097] S24, establishing a network connection between the first node and the first proxy node, and presetting a time change rule for the first proxy node;

[0098] Specifically, determine the network addresses of the first node and the first proxy node, such as IP address, port number, etc., select a network communication protocol, such as TCP / IP protocol stack for network connection, establish a socket for the first node, listen to the specified port, wait for the first proxy node to connect, and establish a socket on the first proxy node, connect to the specified address and port of the first node, verify that the connection is successful, perform data transmission, and preset the time change rule of the first proxy node, such as setting a working time window, such as being in working state from 8:00 to 18:00 every day, establish a socket for the first node, listen to the specified port, wait for the first proxy node to connect, and establish a socket on the first proxy node, connect to the specified address and port of the first node, and after verifying that the connection is successful, perform data transmission, and preset the time change rule of the first proxy node, such as setting a working time window, such as being in working state from 8:00 to 18:00 every day, establish a socket on the first node, listen to the specified port, and wait for the first proxy node to connect. Point connection, the first proxy node establishes a socket, connects to the specified address and port of the first node, verifies that the connection is successful, and then transmits data. The time change rules of the first proxy node are preset, such as setting the working time window, such as being in working state from 8:00 to 18:00 every day, setting the heartbeat detection time interval, such as sending a heartbeat packet to the first node every 2 minutes, and setting the inactivity timeout. If no data is received within 10 minutes, the connection is closed. Set the heartbeat detection time interval, such as sending a heartbeat packet to the first node every 3 minutes, set the inactivity timeout. If no data is received within 10 minutes, the connection is closed.

[0099] S25. Transmit the verified obfuscated information to the first proxy node according to the network connection between the first node and the first proxy node.

[0100] Specifically, the first node verifies the acquired fuzzified information, including format and content verification, and serializes the verified fuzzified information to generate a byte stream. According to the pre-established network connection, the first node sends the serialized byte stream to the first proxy node through the Socket in the form of a data packet. The first proxy node listens to the designated port through the Socket and receives the data packet sent by the first node. The first proxy node deserializes the received data packet and restores it to the original data structure of the fuzzified information. The first proxy node verifies the format and content of the restored fuzzified information. After the verification is passed, the first proxy node can perform subsequent processing on the fuzzified information, such as storage and analysis, and the first node can adopt a flow control mechanism, such as window flow control, congestion control, etc., to ensure the orderly sending of data packets.

[0101] The first proxy node needs to reorganize the received data packets in order, and the two nodes can adopt a confirmation message mechanism. The first node waits for confirmation after sending the data packet, and the first proxy node replies with confirmation after receiving the data packet. If the connection is disconnected, a retransmission mechanism is required, and the first node resends the unconfirmed data packet.

[0102] S3, performing fuzzy analysis on the fuzzy processed interaction data through the first proxy node, and adding annotations according to the analysis results;

[0103] In the embodiment of the present application, the fuzzy analysis of the fuzzy processed interaction data by the first proxy node and adding annotations according to the analysis results include the following steps:

[0104] S31, presetting fuzzy set rules and using fuzzy mechanism theory to quantify the fuzzy-processed interaction data;

[0105] Specifically, determine the name and value range of the fuzzy variables, design the fuzzy sets, and define the membership function for each fuzzy set. Use the central average method to calculate the membership, perform fuzzy processing on the interaction data, and then map the specific values ​​to the corresponding fuzzy variables. According to the fuzzy set rules and membership functions, calculate the membership of the interaction data in each fuzzy set. Use the membership as the quantization result of the interaction data in each fuzzy set, and then normalize the membership to ensure that its sum is 1. Then output the quantization result together with the interaction data.

[0106] S32, analyzing the quantified interaction data according to preset fuzzy set rules, and performing fuzzy reasoning to obtain fuzzy metrics;

[0107] In the embodiment of the present application, the quantized interaction data is analyzed according to the preset fuzzy set rules, and fuzzy reasoning is performed to obtain the fuzzy metric, which includes the following steps:

[0108] S321, calculating the matching degree of the fuzzy set rules and the quantified interaction data through the fuzzy association matrix, and calculating the matching degree of the quantified interaction data and the fuzzy set rules to evaluate the fuzzy rule confidence;

[0109] In the embodiment of the present application, the fuzzy set rule and the quantified interaction data are used to calculate the matching degree of the fuzzy set rule through the fuzzy association matrix, and the matching degree of the quantified interaction data and the fuzzy set rule is calculated to evaluate the fuzzy rule confidence, which includes the following steps:

[0110] S3211. The number of different digits between the fuzzy set rules and the quantified interaction data is calculated using a string distance algorithm. The expression for the number of different digits is:

[0111] ;

[0112] S3212. According to the fuzzy set rules and the quantified interaction data, the fuzzy rule matching degree is calculated by using the number of different digits between the character string distance calculations. The expression of the fuzzy rule matching degree is:

[0113] ;

[0114] S3213. Calculate and evaluate the fuzzy rule confidence based on the quantified interaction data and the fuzzy set rule matching degree. The expression of the fuzzy rule confidence is:

[0115] ;

[0116] in, is the number of different digits between the quantized interaction data and the fuzzy set rules;

[0117] is the linear interpolation function of the quantized interaction data to the fuzzy set rules;

[0118] is the membership degree of the fuzzy set rule;

[0119] N is the fuzzy set rule matching degree;

[0120] H is the dimension of the quantified interaction data;

[0121] D is the confidence of fuzzy set rules;

[0122] w is the weighting coefficient of the quantified interaction data;

[0123] m is the number of evaluation items included in both the fuzzy set rules and the quantified interaction data.

[0124] S322, using a fuzzy reasoning algorithm and fuzzy rule confidence, performing fuzzy logic operations on the quantified interactive data membership to obtain a comprehensive membership;

[0125] Specifically, a fuzzy rule table is preset to record the mapping relationship between the if conditions and the then conditions of each fuzzy rule, and each fuzzy rule is assigned a confidence level to reflect the reliability of the rule. Then, based on the quantification results, it is determined which fuzzy rule conditions are established. At the same time, for each established rule, the membership is modified according to its confidence level, and then the fuzzy logic operator is used to calculate the membership level of the then condition of the established rule. The membership level of each then condition is weighted averaged according to the confidence level of the rule to obtain the comprehensive membership level.

[0126] S323. Analyze according to fuzzy set rules and comprehensive membership to obtain fuzzy measurement.

[0127] Specifically, find the fuzzy set with the largest comprehensive membership. The variable corresponding to the set is the fuzzy result of the interaction data. Take the maximum comprehensive membership as the fuzzy measurement of the interaction data. The larger the fuzzy measurement value, the more certain the result. It can also be judged comprehensively based on multiple membership values. If the maximum membership value is significantly larger than other values, directly take the maximum value as the fuzzy measurement. If the maximum value is not much different from the second largest value, it means that the result is uncertain. Take the average value or other comprehensive value as the fuzzy measurement, and then subdivide it according to the value of the fuzzy measurement to generate a fuzzy result level, and give a fuzzy result description according to the fuzzy measurement level.

[0128] S33, converting the fuzzy metric into a specific output value, and making a judgment based on the specific output value;

[0129] Specifically, according to the fuzzy set rules, determine the specific value range corresponding to each fuzzy variable, select a defuzzification algorithm, such as the center average method, midpoint method, most likely method, etc., convert the fuzzy measurement into a specific value, make a judgment based on the output value, and feedback the judgment result.

[0130] S34. Add annotations based on the results of the judgment according to the specific output values.

[0131] S4. Preset the control node access rights and generate a virtual mapping address;

[0132] In the embodiment of the present application, the preset control node access rights and generating the virtual mapping address include the following steps:

[0133] S41, presetting access permission policies according to the identity authentication and recognition algorithm, and updating access permission in real time according to user operation behavior;

[0134] In the embodiment of the present application, the preset access permission policy according to the identity authentication and recognition algorithm and the real-time update of the access permission according to the user operation behavior include the following steps:

[0135] S411, presetting access rights according to the user identity, and performing identity authentication when the user attempts to log in or access specific resources;

[0136] Specifically, preset user identity types, such as ordinary users, administrators, etc., and define corresponding access rights for each user identity type. For example, ordinary users can only access public resources, and administrators can access all resources including private resources. User identity information is recorded when users register. When users log in, verify whether the username and password are correct and obtain the user's identity type.

[0137] When a user tries to access a resource, it is determined whether the resource is within the scope of the user's access rights. If so, access is allowed. If not, a message indicating that the resource is not authorized to access is returned. Special identities should be noted. For example, administrators can override the access restrictions of other users. Fine-grained access control can also be implemented, such as allowing only viewing but not modification.

[0138] S412, presetting access permission policies, and adjusting access permission according to identity authentication results;

[0139] Specifically, design an access permission policy model, define various access permission levels, preset initial access permission levels for different user identities, record user behavior data, such as number of logins, frequency of resource access, etc., set user behavior rules, define what kind of behavior can increase or decrease access permissions, and after each user operation, evaluate whether their behavior meets the rules. If it meets the increase rules, the user's access permission level will be increased. If it meets the decrease rules, the user's access permission level will be decreased. The next time the user accesses, adjust the actual accessible scope according to the new access permission level.

[0140] S413, real-time detection of user operation behavior, and updating access rights according to the operation behavior;

[0141] Specifically, design user behavior monitoring rules, mark the types of operation behaviors that need to be monitored, such as logging in, accessing resources, etc., set monitoring codes in the corresponding positions of the user interface, monitor user behavior in real time, and then record the monitored behavior in the user behavior database, mark the time, type and other information, and regularly perform statistical analysis on user behavior records to check whether the access permission update rules are met. For example, if you log in for N consecutive days, the escalation rule is met; if the frequency of certain operations is too high, the demotion rule is met. Based on the analysis results, determine whether the user's access permission level needs to be updated. If the escalation rule is met, increase it by one level; if the demotion rule is met, reduce it by one level. Update the access permission level of the corresponding user in the user database. When the user operates next time, the background adjusts the actual accessible scope according to the new access permission level.

[0142] S414. Record user operations and access rights adjustments and conduct regular audits.

[0143] Specifically, during user operations and access rights adjustment, detailed log information is recorded and saved in a database or log file. The time for regular log audits is set. At the audit time point, all records within a specific time period are extracted from the logs. Statistical analysis is performed on the records to check whether the access rights adjustment is reasonable, whether there is any improper privilege escalation or privilege demotion, whether the adjustment frequency is normal, whether the adjustment results match the rules, etc. Questions and improvement suggestions are raised based on the analysis results, and audit reports and processing results are recorded.

[0144] S42, constructing a mapping table according to a preset control node, and generating a virtual address of the preset control node;

[0145] Specifically, a control node is preset, and its name, real network address and other attributes are recorded. A control node mapping table is constructed, and the table contains the node name, real network address, and virtual address space. A unique virtual address space is allocated to each control node, and the mapping table information is saved in a database or file. Then, according to the mapping table, a corresponding virtual address is generated for each control node, and an IP address or port number is allocated. The generated virtual address is recorded, and the virtual address information of the control node is saved and backed up. The application layer accesses the real control node by accessing the virtual address, and the virtualization layer forwards the request to access the virtual address to the corresponding real address according to the mapping table.

[0146] S43, adding the virtual address and the actual address of the preset control node to the mapping table;

[0147] Specifically, obtain the information of the control node to be added, including the node name, real network address, etc., assign a new virtual address to the control node, check whether the virtual address conflicts, if the address space has been allocated, reselect an unallocated virtual address, if the address space is not allocated, the virtual address is available, add the following information of the control node to the mapping table, save the updated mapping table information to a database or file, return the addition result, and when accessing the control node through the virtual address subsequently, find the corresponding real address according to the mapping table to forward the request, and then verify whether the address is allocated repeatedly.

[0148] S44, presetting a virtual address time update rule, and updating the virtual address in the mapping table according to the update rule to obtain a virtual mapping address.

[0149] In the embodiment of the present application, the virtual address time update rule is preset, and the virtual address in the mapping table is updated according to the update rule, and obtaining the virtual mapping address includes the following steps:

[0150] S441, setting a scheduled task to update the virtual address according to a preset virtual address time update rule;

[0151] Specifically, select a scheduled task scheduling system, write a virtual address update script, implement the mapping table address update logic, add a task in the scheduled task system, and then check whether the update task is executed on time according to the log.

[0152] S442, sending the updated virtual address to the mapping table, and replacing the original virtual address;

[0153] Specifically, the scheduled task executes the virtual address update script, the script generates a batch of new virtual addresses, and the script connects to the mapping table database, obtains the original virtual address in the record, takes out a new virtual address from the newly generated address pool, updates the record, and replaces the original address with the new address. After each record is updated, the database transaction is committed. After all records are updated, the script exits, and the scheduled task log records that the address is updated successfully. When accessing through the new address subsequently, the mapping table is queried to obtain the corresponding real address, and the access to the address after the update is realized. A synchronization mechanism is set, and after the update is completed, the relevant nodes are notified, the new mapping table is loaded, and the updated virtual address is used.

[0154] S443. Obtain the virtual address according to the mapping table, and provide real-time feedback according to the virtual address change situation.

[0155] Specifically, the access node queries the latest mapping record from the mapping table database in real time, selects the name of the control node to be accessed, searches the corresponding virtual address record in the mapping table according to the node name, returns the virtual address to the access node, and the access node uses the returned virtual address to make an access request. After receiving the access request, the mapping table node obtains the real address according to the mapping table, forwards the access request to the real address control node for processing, and returns a response to the mapping table node after processing. The mapping table node returns the response result to the access node. If the virtual address has been updated, the mapping table returns the new virtual address, and the access node uses the new address to re-request, thereby realizing access after the address is dynamically updated. The regular synchronization mechanism can push the latest mapping to each node.

[0156] S5, the first proxy node obtains the virtual mapping address, matches the annotated interactive data with the virtual mapping address, and transmits the interactive data according to the virtual mapping address matching result;

[0157] In the embodiment of the present application, the first proxy node obtains the virtual mapping address, matches the annotated interactive data with the virtual mapping address, and transmits the interactive data according to the virtual mapping address matching result, including the following steps:

[0158] S51, obtaining a virtual mapping address and annotated interaction data through a first proxy node;

[0159] Specifically, the first proxy node obtains the latest virtual address mapping record from the mapping table, the first proxy node receives the interaction data to be processed from the first node, the first proxy node labels the interaction data according to preset rules, including the interaction data content, various labels or identification information, the first proxy node combines the labeled interaction data with the virtual address mapping record and encapsulates it into a data packet, and the first proxy node returns the data packet to the node that requested it, such as the first node. After receiving the data packet, the first node extracts the virtual address mapping record and the labeled interaction data, the first node performs subsequent processing as needed, uses the virtual address to perform the next step, and identifies the interaction data type and classifies it according to the labeling results.

[0160] S52, presetting a matching rule, and matching the virtual mapping address and the annotated interaction data according to the support vector machine and the matching rule;

[0161] Specifically, preset matching rules for virtual mapping addresses and interactive data, such as content inclusion relationships, etc., convert the rules into a format that can be recognized and processed by a support vector machine model, collect virtual addresses and data as samples, annotate matching relationship labels, use the samples to train a support vector machine model, learn matching rules, and when new virtual addresses and data are acquired, perform feature extraction on the data according to preset rules, input the features into the support vector machine model, and the model determines whether the features match based on the training results. The support vector machine can recognize multiple matching relationships and perform subsequent processing based on the matching results, such as selecting the best matching virtual address.

[0162] S53, sending the annotated interaction data to the virtual mapping address according to the matching result, and converting the virtual mapping address into the actual address of the preset control node;

[0163] Specifically, the support vector machine matching algorithm returns the matching result of the virtual address and the data, selects the virtual address record with the highest matching degree from the result, extracts the virtual address from the virtual address record, searches the corresponding real address of the control node in the mapping table according to the virtual address, sends the labeled interaction data to the real address of the control node in the form of a data packet, sets the communication protocol for reliable transmission, and after receiving the data packet, the control node deserializes and restores it to the original interaction data, identifies the data type according to the labeling result, performs subsequent processing or response, and returns the response result to the requesting node, and the requesting node completes the task according to the response.

[0164] S54, recording the interactive data transmission result after marking, and making a judgment, if the transmission is successful, stopping the transmission, if the transmission fails, repeating steps S52-S54 until the interactive data after marking is successfully transmitted.

[0165] S6. Request judgment on the interactive data through the control node, and update the virtual mapping address;

[0166] Specifically, after receiving the interaction data, the control node identifies the request according to the data content, determines the request type, and whether the request is supported. If supported, it processes the request and returns a response. If not supported, the virtual address needs to be updated. The control node sends an address update request to the mapping table. After receiving the request, the mapping table regenerates a virtual address for the control node, updates the new virtual address of the control node to the mapping table record, and returns the new virtual address to the control node. The control node returns the request failure response and the new address to the request source node. The source node uses the updated virtual address to re-request next time, or the control node synchronizes the updated mapping table to other nodes.

[0167] S7. The first proxy node synchronizes with the updated virtual mapping address, obtains the adjusted interaction data, and classifies the data according to the annotations, and transmits the classified interaction parameters to the first node.

[0168] Specifically, after the mapping table updates the virtual address, the update result is notified to the first proxy node. The first proxy node receives the new virtual address mapping and synchronizes it with the local mapping table. The first proxy node obtains the previously processed and labeled interaction data according to the new mapping table, and classifies the interaction data according to the labeling results. Different processing is performed on data of different categories, such as desensitizing personal data, encrypting payment data, compressing log data, etc. The processed classified interaction parameters are encapsulated into a data packet, and the first proxy node transmits the data packet to the first node. The first node performs subsequent processing as needed and saves it to a database.

[0169] According to another embodiment of the present invention, Figure 2 As shown, an interactive data processing system based on a blockchain network is provided, the system comprising:

[0170] Data acquisition and classification module 1, used for the first node to acquire the interaction data to be processed and preset classification rules;

[0171] The data processing fuzzy module 2 is used to perform fuzzy processing on the classified interaction data and transmit it to the first proxy node;

[0172] A fuzzy analysis and annotation module 3 is used to perform fuzzy analysis on the fuzzy processed interaction data through the first proxy node, and add annotations according to the analysis results;

[0173] A virtual mapping module 4 is used to preset the access rights of the control node and generate a virtual mapping address;

[0174] The data transmission matching module 5 is used for the first proxy node to obtain the virtual mapping address, match the annotated interactive data with the virtual mapping address, and perform interactive data transmission according to the virtual mapping address matching result;

[0175] A judgment and update module 6, used for making a request judgment on the interactive data through the control node and updating the virtual mapping address;

[0176] The data synchronization transmission module 7 is used for synchronizing the first proxy node with the updated virtual mapping address, obtaining the adjusted interaction data, and classifying it according to the annotations, and transmitting the classified interaction parameters to the first node;

[0177] The data acquisition classification module 1, the data processing fuzzy module 2, the fuzzy analysis and marking module 3, the virtual mapping module 4, the data transmission matching module 5, the judgment and update module 6 and the data synchronization transmission module 7 are connected in sequence.

[0178] To sum up, with the help of the above-mentioned technical scheme of the present invention, the present invention can effectively process and analyze the data while protecting the original interaction data through fuzzy processing and fuzzy analysis. At the same time, through the use of virtual mapping addresses, the actual data transmission path can be further hidden to improve the security of the data. Through preset classification rules and fuzzy set rules, the data can be quickly and effectively processed, and the subsequent processing and analysis of the data can be made more convenient by marking the data.

[0179] In addition, the present invention effectively controls the access and transmission of data by presetting the control node access rights and generating the virtual mapping address. At the same time, by performing request judgment on the interactive data and updating the virtual mapping address, the control strategy of the system is adjusted in real time to adapt to possible changes. The virtual mapping address and the labeled interactive data are obtained through the first proxy node, and the data is updated and synchronized in real time. The data transmission path is adjusted in real time by matching the virtual mapping address and the labeled interactive data, thereby improving the flexibility and response speed of the system.

[0180] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for interactive data processing based on a blockchain network, characterized in that: The method comprises the following steps: S1. The first node obtains the interaction data to be processed and presets classification rules; S2. Fuzzy process the classified interaction data and transmit it to the first agent node; S3. Performing fuzzy analysis on the fuzzy-processed interaction data through the first proxy node, and adding annotations based on the analysis results; S4. Preset the control node access rights and generate a virtual mapping address; S5. The first proxy node obtains the virtual mapping address, matches the annotated interactive data with the virtual mapping address, and transmits the interactive data according to the virtual mapping address matching result. S6. The control node determines the request for the interactive data and updates the virtual mapping address; S7. The first proxy node synchronizes with the updated virtual mapping address, obtains the adjusted interaction data, and classifies it according to the annotations, and transmits the classified interaction parameters to the first node; The fuzzy processing of the classified interaction data and the transmission to the first proxy node comprises the following steps: S21, extracting features from the classified interaction data to obtain feature values; S22, presetting a fuzzy function, and substituting the characteristic value into the fuzzy function to obtain fuzzified information; S23, verifying the fuzzified information and performing serialization conversion on the fuzzified information; S24, establishing a network connection between the first node and the first proxy node, and presetting a time change rule for the first proxy node; S25. Transmitting the verified obfuscated information to the first proxy node according to the network connection between the first node and the first proxy node; The step of performing fuzzy analysis on the fuzzy-processed interaction data by the first proxy node and adding annotations according to the analysis results includes the following steps: S31. Preset fuzzy set rules and use fuzzy mechanism theory to quantify the interaction data after fuzzy processing; S32. Analyze the quantified interaction data according to preset fuzzy set rules, perform fuzzy reasoning, and obtain fuzzy metrics; S33, converting the fuzzy metric into a specific output value, and making a judgment based on the specific output value; S34, adding a mark based on the result of the judgment of the specific output value; The preset control node access rights and generation of a virtual mapping address include the following steps: S41. Preset access rights policy based on identity authentication and recognition algorithm, and update access rights in real time based on user operation behavior; S42. Construct a mapping table according to the preset control node and generate a virtual address of the preset control node; S43, adding the virtual address and the preset control node actual address to the mapping table; S44: Preset a virtual address time update rule, and update the virtual address in the mapping table according to the update rule to obtain a virtual mapping address.

2. The interactive data processing method based on the blockchain network according to claim 1 is characterized in that: The method of analyzing the quantified interaction data according to the preset fuzzy set rules and performing fuzzy reasoning to obtain the fuzzy metric includes the following steps: S321, calculating the matching degree of the fuzzy set rules and the quantified interaction data through the fuzzy incidence matrix, and calculating the matching degree of the quantified interaction data and the fuzzy set rules to evaluate the fuzzy rule confidence; S322, using a fuzzy inference algorithm and fuzzy rule confidence, performing fuzzy logic operations on the quantified interaction data membership to obtain a comprehensive membership; S323. Analyze according to the fuzzy set rules and comprehensive membership to obtain fuzzy measurement.

3. The interactive data processing method based on the blockchain network according to claim 2 is characterized in that: The method of calculating the matching degree of the fuzzy set rules with the quantified interaction data through a fuzzy correlation matrix, and calculating the matching degree of the quantified interaction data with the fuzzy set rules to evaluate the fuzzy rule confidence comprises the following steps: S3211. Calculate the number of different digits between the fuzzy set rules and the quantified interaction data using a string distance algorithm. The expression for the number of different digits is: ; S3212. Calculate the fuzzy rule matching degree based on the fuzzy set rules and the quantified interaction data by using the string distance to calculate the number of different digits between them. The expression of the fuzzy rule matching degree is: ; S3213. Calculate and evaluate the fuzzy rule confidence based on the quantified interaction data and the matching degree of the fuzzy set rules. The expression of the fuzzy rule confidence is: ; in, is the number of different digits between the quantized interaction data and the fuzzy set rules; is the linear interpolation function of the quantized interaction data to the fuzzy set rules; is the membership degree of the fuzzy set rule; N is the fuzzy set rule matching degree; H is the dimension of the quantified interaction data; D is the confidence of fuzzy set rules; w is the weighting coefficient of the quantified interaction data; m is the number of evaluation items included in the fuzzy set rules and the quantified interaction data.

4. The interactive data processing method based on the blockchain network according to claim 1 is characterized in that: The method of presetting the access permission policy according to the identity authentication and recognition algorithm and updating the access permission in real time according to the user's operation behavior includes the following steps: S411. Preset access rights based on user identity and authenticate the user when they attempt to log in or access specific resources. S412. Preset access permission policy and adjust access permission based on identity authentication results; S413: Detect user operation behaviors in real time and update access rights based on the operation behaviors; S414. Record user operations and access rights adjustments and conduct regular audits.

5. The interactive data processing method based on the blockchain network according to claim 4 is characterized in that: The virtual address time update rule is preset, and the virtual address in the mapping table is updated according to the update rule. Obtaining the virtual mapping address includes the following steps: S441, setting a scheduled task to update the virtual address according to a preset virtual address time update rule; S442, sending the updated virtual address to the mapping table and replacing the original virtual address; S443. Obtain the virtual address according to the mapping table, and provide real-time feedback based on the virtual address change situation.

6. The interactive data processing method based on the blockchain network according to claim 1 is characterized in that: The first proxy node obtains the virtual mapping address, matches the annotated interactive data with the virtual mapping address, and transmits the interactive data according to the virtual mapping address matching result, including the following steps: S51, obtaining a virtual mapping address and annotated interaction data through a first proxy node; S52, presetting matching rules, and matching the virtual mapping address and the annotated interaction data according to the support vector machine and the matching rules; S53: Send the marked interaction data to the virtual mapping address according to the matching result, and convert the virtual mapping address into the actual address of the preset control node; S54. Record the interactive data transmission result after marking and make a judgment. If the transmission is successful, stop the transmission. If the transmission fails, repeat steps S52-S54 until the interactive data after marking is successfully transmitted.

7. An interactive data processing system based on a blockchain network, used to implement the interactive data processing method based on a blockchain network according to any one of claims 1 to 6, characterized in that: The system includes: A data acquisition and classification module (1) is used for the first node to acquire the interaction data to be processed and preset classification rules; A data processing fuzzy module (2) is used to perform fuzzy processing on the classified interaction data and transmit it to the first agent node; A fuzzy analysis and annotation module (3) is used to perform fuzzy analysis on the fuzzy-processed interaction data through the first agent node, and add annotations according to the analysis results; A virtual mapping module (4) is used to preset the control node access rights and generate a virtual mapping address; The data transmission matching module (5) is used for the first agent node to obtain the virtual mapping address, match the marked interactive data with the virtual mapping address, and transmit the interactive data according to the virtual mapping address matching result; A judgment and update module (6) is used to make a request judgment on the interactive data through the control node and update the virtual mapping address; A data synchronization transmission module (7) is used for synchronizing the first proxy node with the updated virtual mapping address, obtaining the adjusted interaction data, classifying it according to the annotations, and transmitting the classified interaction parameters to the first node; The data acquisition classification module (1), the data processing fuzzy module (2), the fuzzy analysis and marking module (3), the virtual mapping module (4), the data transmission matching module (5), the judgment and updating module (6) and the data synchronization transmission module (7) are connected in sequence.