Crowd sensing distributed malicious node detection method based on secure multi-party computing
Through a distributed malicious node detection method based on secret sharing and Paillier homomorphic encryption, evaluation indicators such as social closeness are used to generate voting information, which solves the single point of failure and privacy protection problems of centralized detection, and achieves efficient malicious node detection and Information privacy protection.
Patent Information
- Application Number
- CN202410912749.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-08
AI Technical Summary
Centralized malicious node detection has the problem of single point failure risk and intensive computing resources, cannot effectively protect the privacy of sensing nodes, and limits the scale and performance of the crowd sensing network.
Adopting a voting model based on secret sharing and Paillier homomorphic encryption technology, voting information is generated by sensing the social closeness, activity and interaction timeliness of nodes, using blind signatures to verify legitimacy, distributing secret shares and counting malicious intent through majority voting. A collection of nodes to ensure information privacy and reliability of calculation results.
It realizes distributed malicious node detection, improves detection accuracy and information privacy protection, avoids single point of failure and intensive computing resources, and improves network availability and trust.
Smart Images

Figure CN118748587A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of group intelligence perception and relates to a distributed malicious node detection method based on secure multi-party computing. Background Art
[0002] In recent years, with the rise and popularity of mobile devices such as smartphones, sports bracelets, tablets and connected cars, various built-in sensors embedded in mobile devices (such as gyroscopes, cameras and microphones) have accumulated a large amount of useful information, which has aroused the attention of enterprises to the potential value of this information. In this context, crowd sensing networks have emerged. Crowd sensing is a human-centered data acquisition model. A large number of ordinary users use mobile smart devices to collect perception data and upload the perception data to the server. The service provider records and processes the data and provides services to users. Therefore, the crowd sensing network does not require special deployment and maintenance when applied, which greatly improves the efficiency and flexibility of task execution. Today, crowd sensing has been widely used in environmental monitoring, urban traffic conditions, social networks and health care, and it will be applied to more scenarios in the foreseeable future.
[0003] The provision of perception services depends on the perception data uploaded by the perception nodes, and large-scale recruitment provides almost all users with the opportunity to participate in the perception task. Therefore, malicious nodes mixed in deliberately submit wrong data for personal gain, which seriously affects the quality of perception services. Especially in key areas such as medical health, navigation control systems, etc., wrong data may cause significant losses or even accidents. In addition, the long-distance information exchange between perception nodes with limited power provides malicious nodes with opportunities to steal node privacy and tamper with information. These security risks not only reduce the availability of the perception network, but also make perception users lose trust in the perception network. At present, malicious node detection in MCS mainly relies on a third-party trusted platform to conduct centralized and unified trusted evaluation of perception nodes. Centralized malicious node detection faces the following two main challenges.
[0004] 1) The detection process is concentrated in a central node, making the central node an easy target for attack. Once attacked, it will cause a single point failure, which will not only cause the perception task to fail to proceed normally, but also the privacy of the perception node will be at risk of being leaked.
[0005] 2) Centralized detection requires a large amount of computing resources, which is contrary to the concept of crowd sensing. Not only can it not bring out the advantages of group intelligence and collaborative cooperation in the crowd sensing network, but it also limits the scale and performance of the network.
[0006] In view of the challenges in the centralized malicious node detection mentioned above, this paper proposes a distributed malicious node detection method based on secure multi-party computing. By constructing a voting model based on secret sharing, the sensing node acts as a voting participant and generates votes based on experience information. Secret sharing and Paillier homomorphic encryption technology are used to protect the privacy of nodes during the malicious node detection process. At the same time, the voting information is counted based on the majority voting method, thereby achieving distributed malicious node detection. Summary of the invention
[0007] In order to improve the accuracy of malicious node detection and protect the information privacy of perception nodes in collaborative computing, we proposed a distributed malicious node detection method based on secure multi-party computing. First, a voting model for malicious node detection is designed. In the process of node participation in voting, secret sharing and blind signature technology are used to ensure the legitimacy and privacy of voting information. In addition, Paillier homomorphic encryption technology is used to ensure that perception nodes use the correct computing method to participate in collaborative computing. Finally, the majority voting method is used to count the voting information to obtain the set of malicious nodes. The overall framework of this method is as follows: Figure 1 , mainly includes the following four parts.
[0008] 1) Generate voting information. The sensing node calculates the social intimacy, social activity and interaction timeliness of the neighboring nodes based on the interaction experience, and uses the entropy weight method to conduct a comprehensive evaluation of the neighboring nodes to generate voting information.
[0009] 2) Verify voting information. Each sensing node needs to submit its voting information to the sensing platform for blind signature to ensure the legitimacy of the voting node and the uniqueness of the voting information.
[0010] 3) Distribute voting information. Based on secret sharing technology, each legitimate voting information needs to be divided into secret shares equal to the number of voting nodes, ensuring that each voting node holds a share of each secret.
[0011] 4) Collaborative vote counting: Paillier homomorphic encryption technology is used to verify that the nodes use the correct calculation method to ensure the reliability of the calculation results.
[0012] 5) Count voting information. The voting information of all sensing nodes is statistically analyzed through the majority voting method to generate a set of malicious nodes.
[0013] Compared with the prior art, the beneficial effects of the present invention are as follows: in view of the fact that the existing centralized malicious node detection method cannot cope with single point failures and lacks privacy protection, a distributed malicious node detection method based on secure multi-party computing is proposed. First, a voting model is constructed based on secret sharing technology to realize distributed malicious node detection. Each sensing node evaluates neighbor nodes based on interactive experience information to generate voting information. Then, the perception platform verifies the legitimacy of the voting information through blind signatures. At the same time, Paillier homomorphic encryption technology is used to ensure the privacy and verifiability of the voting information. Finally, in order to improve the scientific nature of the results, the majority voting method is used to generate a set of malicious nodes. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 The overall logical framework of the present invention
[0015] Figure 2 Process for verifying voting information
[0016] Figure 3 The process of allocating secret shares
[0017] Figure 4 Process for verifying partial values DETAILED DESCRIPTION
[0018] Generating voting information: A method for calculating voting information based on the entropy weight method is proposed to generate voting information by integrating multiple evaluation indicators. In the crowd sensing network, sensing nodes interact through social networks. According to the self-organizing pattern mentioned in social network analysis, nodes will form groups of different sizes based on attributes such as interests, interactions and characteristics, thereby spontaneously generating trust information with each other. Therefore, social intimacy, social activity and interaction timeliness are selected as the three key indicators for calculating voting information. The calculation methods of each indicator are introduced in turn below.
[0019] Social intimacy: Additional information such as hobbies, consumption records, and opinion evaluations can well describe the image of a sensing node. Generally, sensing nodes with the same interests interact more and have closer relationships. The Pearson correlation coefficient is used to calculate the social intimacy between sensing nodes. i and a j Represent the sensing node i and the sensing node j respectively, then a i and a j Social intimacy between ij It can be calculated by the following formula: Among them, P(i) and P(j) are a i and a j A collection of projects you have participated in. ikis a i The rating of item k, R jk is a j The rating of item k, and Respectively represent a i and a j The average item rating.
[0020] Social activity: Social activity is used to evaluate the activity of sensor nodes in the crowd-sensing network, which is crucial for understanding the social interaction and network participation of sensor nodes. Generally speaking, more active sensor nodes in the network tend to have a certain degree of authority and influence, and are more likely to be trusted by other sensor nodes. i For sensor node a j Social activity level A ij The evaluation can be calculated using the following formula: where |P(i)| represents a i The total number of participating projects, |K i (j)| means in a i Among the projects I participated in, a j Also the number of projects participated in.
[0021] Interaction timeliness: Perception node a i In the social process, respond to a i The shortest sensing node takes t short , then for a i For example, the sensing node a j In response to a i One of the sensing nodes, a j Timely interaction T ij The score is calculated using the following formula:
[0022] Comprehensive evaluation: perception node a i After completing the evaluation of each indicator of the neighboring nodes, the comprehensive evaluation matrix X is obtained. Then the entropy weight method is used to measure the evaluation weights of the three indicators of social intimacy, social activity and interaction timeliness, so as to conduct a comprehensive evaluation of the neighboring nodes. First, the Min-Max normalization method is used to obtain the standardized evaluation matrix X. For matrix elements Then, through Compute perception node a j Weight on index f (f = 1, 2, 3) pass Calculate the entropy value of the f-th indicator, and then, through Calculate the weight of index f and perceive node a i For neighbor node a j The comprehensive evaluation is calculated using the following formula:
[0023] Initialization: In a malicious node detection, there are m sensing nodes participating in the voting, denoted as P = {p1, ..., p m}. Voting node p i (i=1,2,...,m) Fill in voting information s i , a total of m voting records are generated, denoted as S = {s1, ..., s m}.
[0024] Perception node blind voting information: p i Randomly generate a random number k i As the bit commitment key, the voting information is encrypted using the bit commitment function, and the encryption result is s i =ε(s i , k i ). Next, p i Randomly select a blinding factor r i , and use the blind signature function ψ to i Perform blind processing and get s i =ψ(s i , r i ). Finally, p i Will s i Send to the perception platform.
[0025] The perception platform verifies voting information: When the perception platform receives p i Voting information i When p i Whether it has voting rights, if p i If you don't have the right to vote, then reject p i voting request; if p i To be eligible to vote, you need to i Sign and send the signed result s i =sig(s i ) is sent to p as an authorization certificate i , and p i Generate a unique natural number ID.
[0026] Signature verification: p i By s i =δ(s i , r i) Check the correctness of the signature, where δ is the deblinding function. If the signature is correct, proceed to the next step, otherwise return to the preparation stage. Figure 2 The process of verifying voting information using blind signature technology is demonstrated.
[0027] Generate secret polynomial: Implement distributed voting based on Shamir's secret sharing scheme. Each voting information must be divided into secret shares equal to the number of sensor nodes participating in the vote, ensuring that each sensor node can obtain a secret share from other sensor nodes. i (i=1, ..., m) Divide the voting information into m secret shares and select t-1 random coefficients a i , a i,1 , ..., a i,t-1 , where a i =s i , then p i The secret polynomial is generated by the following formula
[0028] Distribute voting information: p i calculate and use them as secret shares i,1, s i,2 ...,s i,m Sent to the perception nodes with corresponding IDs respectively. Figure 4 The process of secret distribution among different sensing nodes is shown. These six sensing nodes distribute their secret shares among other sensing nodes.
[0029] Restoring voting information: Any t or more sensing nodes can restore the voting information of all sensing nodes. Any t sensing nodes among n sensing nodes can calculate s1+s2+...+s m . because: The following formula can be derived from the above formula: Therefore, the voting information of all sensing nodes can be restored by homomorphic addition of the secret shares of any t or more sensing nodes. k (x) represents the joint function of the secret polynomial. Each sensing node calculates g based on its own secret share. k (x) partial values, together complete g k (x), when x = 0, the following formula can be obtained:
[0030] Verify partial values: Using Paillier homomorphic encryption technology, without exposing the secret share held by the sensing node, verify that the partial value provided by the sensing node is obtained through the correct calculation method.
[0031] Paillier homomorphic encryption: The perception platform generates a public key pk and a private key sk, publishes the public key pk, and retains the private key sk. i According to the secret share held Calculate the partial value S i , then make S public i The hash value H i (S i ). Perception node p i The public key pk is used to encrypt the secret share it owns. The encrypted secret share is expressed as p i The encrypted secret share is sent to the perception platform. The perception platform uses the same partial value calculation method to obtain E(S i ) and uses the private key sk to decrypt E(S i ) to get S i The perception platform calculates and publishes H′ i (S i ).
[0032] Counting voting results: According to the majority voting method, if the number of votes received by a node is greater than half of the number of its neighboring nodes, the node is considered a malicious node.
[0033] The core Matlab code corresponding to the above process is as follows:
[0034] The above-mentioned implementation method is a preferred implementation method of the present invention, but the implementation method of the present invention is not limited to the above-mentioned method. Any other changes, modifications, substitutions, combinations, and simplifications made without departing from the spirit and principle of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.
Claims
1. A crowd-sensing distributed malicious node detection method based on secure multi-party computing, It is characterized in that The method mainly comprises the following steps: Step 1. Build a malicious node detection model based on the voting method; Step 2. Generate voting information based on entropy weight method; Step 3. Verify voting information based on blind signature; Step 4. Calculate voting information based on secret sharing and Paillier homomorphic encryption technology; Step 5: Count the voting information based on majority voting.
2. According to the method for detecting malicious nodes by crowd-sensing based on secure multi-party computing according to claim 1, It is characterized in that In step 1, the malicious node detection model based on voting method includes: the perception node generates voting information; the perception platform verifies the voting information of the perception node based on blind signature; the perception node implements distributed voting through secret sharing and Paillier homomorphic encryption technology.
3. According to the method for detecting malicious nodes by crowd-sensing based on secure multi-party computing according to claim 1, It is characterized in that In step 2, the generation of voting information based on the entropy weight method includes: the perception node calculates the social intimacy, social activity and interaction timeliness of the neighboring nodes based on the empirical information, and uses the entropy weight method to conduct a comprehensive evaluation of the neighboring nodes to determine the voting information for subsequent distributed voting.
4. According to claim 1, a method for detecting distributed malicious nodes based on crowd intelligence perception and secure multi-party computing, It is characterized in that In step 3, the voting information verification based on blind signature includes: the perception platform verifies the voting information provided by the perception node through blind signature, ensuring that only verified voting information can participate in subsequent voting, and ensuring that each perception node only has one copy of the voting information.
5. According to claim 1, a method for detecting distributed malicious nodes based on crowd intelligence perception and secure multi-party computing, It is characterized in that In step 4, the calculation of voting information based on secret sharing and Paillier homomorphic encryption technology includes: distributing and recovering voting information through secret sharing technology, each sensing node needs to distribute the secret share of voting information it holds among all sensing nodes, and ensure that each sensing node can obtain a secret share from other sensing nodes. In the process of recovering voting information, Paillier homomorphic encryption technology is used to verify that the partial value provided by the sensing node is obtained through the correct calculation method without exposing the secret share held by the sensing node.
6. According to claim 1, a method for detecting distributed malicious nodes based on crowd intelligence perception and secure multi-party computing, It is characterized in that In step 5, the counting of voting information based on the majority voting method includes: if the number of votes received by a node is greater than half of the number of its neighboring nodes, the node is considered to be a malicious node, and the voting information of all nodes is counted to obtain a set of malicious nodes.
