A privacy protection method and system for spatial crowdsourcing task allocation
Through asymmetric inner product encryption and grid coding intersection methods, the problems of user privacy protection and task allocation in spatial crowdsourcing are solved, and efficient task allocation and user cancellation are achieved while protecting user location and interest data, improving the System security and service efficiency.
Patent Information
- Application Number
- CN202111121645.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-09-24
AI Technical Summary
In spatial crowdsourcing applications, existing technologies are difficult to achieve task allocation while protecting the privacy of user location and interest data, and existing methods have deficiencies in key management, user revocation, and accountability.
The intersection method of asymmetric inner product encryption and mesh division encoding is used to generate encryption keys through the key issuance server. The requester and worker terminals use the encryption keys to encrypt messages. The crowdsourcing server performs inner product calculation and verification to achieve task location. and interest attribute protection, and support user revocation and accountability.
On the basis of protecting the privacy of user location and interest data, the effectiveness of task allocation and user revocation are achieved, which improves the security and service efficiency of the system. It is able to sense distances without knowing the radius of workers and complete the maximum work. Person-task matching.
Smart Images

Figure CN113905047B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of spatial crowdsourcing privacy protection, and in particular to a spatial crowdsourcing task allocation privacy protection method and system. Background Art
[0002] The statements in this section merely mention background art related to the present invention and do not necessarily constitute prior art.
[0003] With the development of mobile devices and 5G technology, the Internet of Things and the Internet of Vehicles are becoming more and more widely used and provide convenient services to users, such as road congestion detection, online car-hailing, and interest search. These applications have made people's lives more convenient, but they have also brought privacy issues, such as exposing users' real-time location, hobbies and other sensitive information. In spatial crowdsourcing applications, in order to improve communication efficiency and reduce the computing burden while providing good service quality, the service platform usually directly uses the user's real location and interest plaintext data to complete the query request for the user. Although this implementation method is direct and effective, it ignores the server's honesty. The server may spy on the user's sensitive information while executing the protocol or sell this sensitive data to a third party, and then the third party uses this data to benefit from it. This sensitive information can be used to identify an individual, infer health status, or track an individual's daily trajectory, which may lead to users living in a transparent era without any privacy. Therefore, it becomes a new challenge for the service platform to complete the task allocation operation while protecting the user's location and interest information from being leaked.
[0004] The inventors found that queries based on location and interest attributes are a common query method in spatial crowdsourcing. In location-based queries, circular range queries are more practical. Workers can query tasks within a circular range with a radius r and their own location as the center. For existing spatial crowdsourcing technologies based on location queries, differential privacy can protect location privacy. This method requires adding noise to the data to achieve the purpose of data indistinguishability, which undoubtedly increases the user's computing burden and may cause data unavailability. Homomorphic privacy computing methods can also protect location information, but this method requires multiple exchanges of ciphertext information between entities to calculate location distances. This method improves the level of privacy protection but increases communication and computing costs. There is also a method of using grid division to protect location information, but the existing grid method is difficult to implement circular range queries. A common privacy protection method for interest attribute queries is searchable encryption. Most existing methods use single-user symmetric searchable encryption. Due to the single user and symmetry, such methods cannot be well implemented in terms of key management, user revocation and accountability.
[0005] Therefore, it is difficult to implement task allocation in spatial crowdsourcing applications while protecting the privacy of users' locations and interests. Summary of the invention
[0006] In order to address the deficiencies of the prior art, the present invention provides a privacy protection method and system for spatial crowdsourcing task allocation, which can realize task allocation under the premise of protecting the privacy of user location and interest data, and can also realize user withdrawal and accountability, and can also realize the maximum worker-task matching pair function.
[0007] In a first aspect, the present invention provides a privacy protection method for spatial crowdsourcing task allocation;
[0008] A privacy protection method for spatial crowdsourcing task allocation, applied to a requester terminal, comprising:
[0009] Send a registration request to the key issuing server and receive the task encryption key returned by the key issuing server;
[0010] Encrypt the task message using the task encryption key to obtain the task message ciphertext, and submit it to the crowdsourcing server;
[0011] After receiving the radius message sent by the worker terminal and verifying its validity, it uploads the task location grid code set and radius trapdoor to the crowdsourcing server.
[0012] Furthermore, the specific steps of using the task encryption key to encrypt the task message are:
[0013] The requester terminal obtains a task message, wherein the task message includes a task requirement keyword, a task location, and a task content;
[0014] Use the hash function in the task encryption key to convert the task requirement keyword into a positive integer, and set the task requirement vector and the task position vector;
[0015] Divide the task requirement vector and the task position vector into two random vectors respectively;
[0016] The random vector is encrypted using a private key in the task encryption key, and a symmetric key is randomly selected to encrypt the task content to obtain a task message ciphertext, where the task message ciphertext includes a task requirement ciphertext, a task location ciphertext, and a task content ciphertext.
[0017] Furthermore, it also includes receiving task result information sent by the worker terminal and sending accountability information to the crowdsourcing server. Specifically:
[0018] Calculate the actual location distance based on the task location and the worker location in the task result information;
[0019] Based on the real position distance, calculate the area of the real intersection circle;
[0020] The area of the actual intersection circle is compared with the approximate intersection area. If the approximate error exceeds the approximate error, an accountability message is sent to the crowdsourcing server.
[0021] In a second aspect, the present invention provides a privacy protection method for spatial crowdsourcing task allocation;
[0022] A privacy protection method for spatial crowdsourcing task allocation, applied to a worker terminal, includes:
[0023] Send a registration request to the key issuing server and receive the worker encryption key returned by the key issuing server;
[0024] Encrypt the worker message using the worker encryption key to obtain the worker message ciphertext, and submit it to the crowdsourcing server;
[0025] Receive the requester identity information ciphertext sent by the crowdsourcing server, verify its validity, upload the task worker grid code set and radius ciphertext to the crowdsourcing server, and send the radius message to the requester terminal;
[0026] Receive the final task information sent by the crowdsourcing server.
[0027] Furthermore, after receiving the final task information sent by the crowdsourcing server, the accountability information may be sent to the crowdsourcing server or the task result information may be sent to the requester terminal. Specifically:
[0028] Calculate the area of the true intersection circle according to the worker position and the task position in the final task information;
[0029] Compare the area of the real intersection circle with the approximate intersection area. If the approximate error exceeds the approximate error, send accountability information to the crowdsourcing server; otherwise, after receiving the final task information, decrypt the task and complete the task, and submit the task result information to the requester terminal.
[0030] Furthermore, the specific steps of encrypting the worker message using the worker encryption key are:
[0031] The worker terminal obtains a worker message, where the worker message includes a worker interest keyword and a worker location;
[0032] The worker interest keyword is converted into a positive integer using a hash function in the worker encryption key, and a polynomial function is constructed based on the converted worker interest keyword;
[0033] Extracting coefficients of the polynomial function as a worker interest vector and setting a worker position vector;
[0034] Divide the worker interest vector and worker position vector into two random vectors respectively;
[0035] The random vector is encrypted using a worker encryption key to obtain a worker message ciphertext, where the worker message ciphertext includes a worker interest ciphertext and a worker position ciphertext.
[0036] Furthermore, the method also includes sending a revocation request to the key issuing server.
[0037] In a third aspect, the present invention provides a privacy protection method for spatial crowdsourcing task allocation;
[0038] A privacy protection method for spatial crowdsourcing task allocation, applied to a crowdsourcing server, comprising:
[0039] Receive the task re-encryption key and the worker re-encryption key of the key issuing server, the task message ciphertext of the requester terminal and the worker message ciphertext of the worker terminal, obtain the requester identity information that meets the worker's requirements through re-encryption and inner product calculation, and forward the requester identity information ciphertext obtained after encrypting and signing the requester identity information to the worker terminal;
[0040] The task location grid code set and radius trapdoor of the requester terminal and the worker grid code set and radius ciphertext of the worker terminal are received, and the final task information is obtained after verification and intersection calculation, and sent to the worker terminal.
[0041] Furthermore, it also includes receiving accountability information sent by the requester terminal or the worker terminal.
[0042] Furthermore, it also includes receiving a revocation notification from a key issuing center, and revoking the task re-encryption key of the requester terminal or the worker re-encryption key of the worker terminal from the database.
[0043] In a fourth aspect, the present invention provides a privacy protection method for spatial crowdsourcing task allocation;
[0044] A privacy protection method for spatial crowdsourcing task allocation, applied to a key issuance server, comprising:
[0045] receiving a registration request from a requester terminal, generating a task encryption key sent to the requester terminal and a task re-encryption key sent to a crowdsourcing server;
[0046] A registration request from a worker terminal is received, and a worker encryption key is generated and sent to the worker terminal and a worker re-encryption key is sent to the crowdsourcing server.
[0047] Furthermore, it also includes receiving a revocation request sent by a requester terminal or a worker terminal, verifying its validity, and then sending a revocation notification to the crowdsourcing server.
[0048] In a fifth aspect, the present invention provides a privacy protection method for spatial crowdsourcing task allocation;
[0049] A privacy protection method for spatial crowdsourcing task allocation, comprising:
[0050] The requester terminal and the worker terminal send a registration request to the key issuance server;
[0051] The key issuance server generates a task encryption key, a task re-encryption key, a worker encryption key, and a worker re-encryption key;
[0052] The requester terminal receives the task encryption key, obtains and submits the task message ciphertext to the crowdsourcing server; the worker terminal receives the worker encryption key, obtains and submits the worker message ciphertext to the crowdsourcing server;
[0053] The crowdsourcing server obtains and forwards the requester identity information ciphertext to the worker terminal based on the inner product of the task message ciphertext and the worker message ciphertext;
[0054] Based on the ciphertext of the requester's identity information, the worker terminal obtains and uploads the task worker grid code set and radius ciphertext to the crowdsourcing server, and sends a radius message to the requester terminal at the same time; the requester terminal receives the radius message sent by the worker terminal, and uploads the task location grid code set and radius trapdoor to the crowdsourcing server;
[0055] The crowdsourcing server obtains the final task information based on the task location grid code set, radius trapdoor, worker grid code set and radius ciphertext and sends it to the worker terminal.
[0056] In a sixth aspect, the present invention provides a privacy protection system for spatial crowdsourcing task allocation;
[0057] A spatial crowdsourcing task allocation privacy protection system includes: at least one key issuance server, at least one crowdsourcing server, at least one worker terminal and at least one requester terminal;
[0058] The requester terminal is configured to: send a registration request to a key issuing server, receive a task encryption key returned by the key issuing server, obtain and submit a task message ciphertext to a crowdsourcing server; receive a radius message sent by a worker terminal, and upload a task location grid code set and a radius trapdoor to the crowdsourcing server;
[0059] The worker terminal is configured to: send a registration request to the key issuing server, receive the worker encryption key returned by the key issuing server, obtain and submit the worker message ciphertext to the crowdsourcing server; receive the requester identity information ciphertext sent by the crowdsourcing server, upload the task worker grid code set and radius ciphertext to the crowdsourcing server, and send the radius message to the requester terminal;
[0060] The crowdsourcing server is configured to: obtain and forward the requester identity information ciphertext to the worker terminal based on the task re-encryption key, the worker re-encryption key, the task message ciphertext and the worker message ciphertext; obtain the final task information based on the task location grid code set, the radius trapdoor, the worker grid code set and the radius ciphertext and send it to the worker terminal;
[0061] The key issuing server is configured to: receive a registration request from a requester terminal, generate a task encryption key and a task re-encryption key; receive a registration request from a worker terminal, generate a worker encryption key and a worker re-encryption key.
[0062] Compared with the prior art, the present invention has the following beneficial effects:
[0063] A privacy protection method for spatial crowdsourcing task allocation of the present invention utilizes asymmetric inner product encryption to effectively verify whether the location and requirements of the task meet the worker's restrictions while protecting interest and location information from being leaked.
[0064] The invention discloses a privacy protection method for spatial crowdsourcing task allocation. By using grid division and coding intersection method, a crowdsourcing server can perceive the distance without knowing the radius range of a worker and allocate the task with the shortest distance to the worker.
[0065] A privacy protection method for spatial crowdsourcing task allocation of the present invention uses a server re-encryption method to meet multi-user searchable encryption and can effectively complete user revocation.
[0066] The privacy protection method for spatial crowdsourcing task allocation of the present invention can effectively complete accountability by using coded intersection calculation. Considering the platform service efficiency, the system can implement a server allocation model to allocate tasks to the workers who are closest to it.
[0067] The privacy protection method for spatial crowdsourcing task allocation of the present invention allows workers to obtain the nearest tasks that meet their interests within their specified circular range, and can achieve task allocation under the premise of protecting the privacy of user location and interest data. At the same time, user revocation and accountability can be achieved, and considering service efficiency, the maximum worker-task matching pair can also be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The drawings in the specification, which constitute a part of the present application, are used to provide further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.
[0069] Figure 1 A schematic diagram of a privacy-preserving method for spatial crowdsourcing task assignment;
[0070] Figure 2 Schematic diagram of a privacy-preserving method for allocating tasks in spatial crowdsourcing;
[0071] Figure 3 Schematic diagram of the task with the closest distance for a privacy-preserving approach to spatial crowdsourcing task assignment. DETAILED DESCRIPTION
[0072] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.
[0073] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0074] Embodiment 1, as Figure 1-3 As shown, this embodiment provides a privacy protection method for spatial crowdsourcing task allocation, which is applied to the requester terminal. The requester terminal sends a registration request to the key issuing server, and receives the task encryption key returned by the key issuing server; uses the task encryption key to encrypt the task message to obtain the task message ciphertext, and submits it to the crowdsourcing server; receives the radius message sent by the worker terminal (by verifying the signature, it can be proved that the worker is negotiating the radius with the requester), and after verifying its validity, uploads the task location grid code set and radius trapdoor to the crowdsourcing server; receives the task result information sent by the worker terminal, and can send accountability information to the crowdsourcing server. Specifically, it includes the initialization stage, registration stage, encryption stage, verification stage, encoding stage, accountability stage, and revocation stage. The specific process is as follows:
[0075] (A) Initialization phase
[0076] The requester needs to provide the necessary personal identity information to the key issuing server to complete the registration. Specifically: the requester terminal obtains the necessary personal identity information provided by the requester, that is, the requester identity information, and sends a registration request to the key issuing server, wherein the registration request of the requester terminal includes the requester identity information.
[0077] (B) Registration Phase
[0078] After receiving the registration request sent by the requester terminal, the key issuing server returns the task encryption key to the requester terminal. j ={A j,1 ,B j,1 ,S,h s}, the task encryption key includes: a key-based hash function that converts the task requirement keyword into a positive integer And the private key A that encrypts the task requirement keywords and task location data j,1 , B j,1 .
[0079] (C) Encryption phase
[0080] The requester terminal can publish tasks on the space crowdsourcing platform. The requester terminal uses the task encryption key to encrypt the task message published by the requester on the requester terminal, obtains the task message ciphertext, and submits it to the crowdsourcing server.
[0081] The requester terminal obtains the task message (including task requirement keywords, task location and task content) published by the requester, uses the hash function in the task encryption key to convert the task requirement keywords into positive integers, sets the task requirement vector and the task location vector, divides the task requirement vector and the task location vector into two random vectors respectively, encrypts the random vector using the private key in the task encryption key, and randomly selects a symmetric key to encrypt the task content to obtain the task message ciphertext (the key for encrypting the task content is selected by yourself, which is different from the key for encrypting the attributes), where the task message ciphertext includes the task requirement ciphertext, the task location ciphertext and the task content ciphertext, and submits the task message ciphertext to the crowdsourcing service platform to match suitable workers.
[0082] Specifically, the requester terminal uses the hash function in the encryption key to convert each task requirement keyword into a positive integer and sets the task requirement keyword vector According to the task location (P x ,P y )Set the task position vector If the length of the task requirement keyword vector is less than n+1, a fake keyword is added after the vector. This keyword has nothing to do with the task requirement keyword, so it has no effect on the matching result. If the length of the task position vector is less than n+1, a number of 1s are added after the vector. After the processing is completed, the task requirement vector and task position vector are obtained as follows:
[0083]
[0084]
[0085] In the inner product of the task position vector, the crowdsourcing server only needs to get the positive and negative values of the inner product to determine the task position relationship. Therefore, in order to confuse the real inner product value, a positive integer δ′ is randomly selected to process the task position vector
[0086] Given a demand vector for each task and the task position vector According to the binary vector S,k from 1 to n+1, the requester terminal divides the task demand vector and the task location vector into two random vectors and The detailed decomposition method is as follows:
[0087]
[0088] Then, the requester terminal encrypts and Task interest ciphertext Task location ciphertext Encrypt all task requirement vectors to obtain task requirement ciphertext For task content D x , the requester terminal randomly selects a symmetric key K x (For encryption of task content, the private key is randomly generated by the requester. Each time the task content is encrypted, a different key can be selected to achieve security. When the server successfully matches the task and the worker, it partially decrypts the ciphertext, and then the worker can decrypt the task). The encrypted task content is Finally, the requester terminal submits the task location ciphertext, task requirement ciphertext, and task content ciphertext To the crowdsourcing server.
[0089] After receiving the task location, requirements and content ciphertext submitted by the requester terminal, the crowdsourcing server sends the tasks that meet the conditions to the worker terminal.
[0090] (D) Verification phase
[0091] When the worker terminal receives a task that meets the conditions assigned by the crowdsourcing server, the worker terminal will continue to request the task that is closest to it. After verifying the validity of the signature and timestamp, the worker terminal encrypts and signs the radius r and other information to obtain and Among them, sk is the key of the hash message authentication code, and then forward the radius message To the requester terminal.
[0092] The requester terminal receives and verifies the radius message sent by the worker terminal, wherein the radius message includes a verification signature and a timestamp.
[0093] (E) Encoding stage
[0094] After the requester terminal verifies the validity of the radius message, it obtains the task location grid code set and uploads it to the crowdsourcing server. That is, after the requester terminal verifies the validity of the timestamp and signature, it uploads the task location grid code set to the crowdsourcing server. Specifically: After successful verification, the requester obtains the radius r and the key of the hash message verification code in the message and maps its own position to the grid. It draws a circle with its own position as the center and r as the radius, performs hash coding on the grid within the circle, and uploads the code set (task location grid code set) to the crowdsourcing server.
[0095] Specifically: the requester terminal maps the location of the requester terminal to the grid, takes the current location as the center and draws a circle with a radius of r, and performs hash verification coding c on the grids contained in the circle i =(hmac(sk,g w,x )||hmac(sk,g w,y )), where g w,x , g w,y is the center coordinate of the contained grid, and finally the task position grid encoding set C is obtained L =(c1,c2,...,c n ) and upload it to the crowdsourcing server.
[0096] (F) Accountability Stage
[0097] (1) When the requester terminal uploads the task location grid code set, it also needs to upload the trapdoor related to the radius r to the crowdsourcing server to prevent the requester terminal from uploading the task location grid code set beyond the radius r to complete the subsequent accountability operation. Because during the code upload process, the user may upload the location code outside the circular range to obtain the allocation right. The key issuance server also needs to provide some information to the user during the registration stage. In order to facilitate the understanding of the overall framework, it is explained at this stage.
[0098] During the registration phase, the key issuing server needs to generate two multiplication cyclic groups G1 and G2 of the same prime order p, where g is the generator of G1, and define the bilinear mapping e:G1×G1→G2 and the collision-resistant hash function H1:{0,1} * →G1, select random number Generate secret polynomial function f(x)=s0+a1x, public key PK=(G1,G2,e,p,g,g1,g2,H1,EK), where Master key MSK = (s0, s1, a1, x0). The public key is transmitted to the requester terminal and the worker terminal, and the master key is only saved by the key issuing server to generate user keys for user registration. The requester terminal and the worker terminal generate the radius ciphertext after obtaining the public key and the user key.
[0099] For each user id i , the key issuing server is randomly selected Γ i =x0∪x i , then calculate the user key SK i =(D i ,E i ),in, Then forward SK i Give user id i , store user-key mapping relationship K′=K′∪(id i ,x i ,SK i ).
[0100] When the requester uploads the task location grid code set, a trapdoor is generated according to the radius r. The specific operation is to randomly select Calculate the radius trapdoor T = (T1, T2, T3, T4, T5, T6).
[0101]
[0102] The grid code set and radius trapdoor (id j ,T,C L ) to the crowdsourcing server. j is the private key SK of the requester terminal i =(D i ,E i ), r is the radius information sent by the worker terminal, requiring the requester terminal to upload the position code within the radius r, and r3 is a random number used to increase the randomness of the ciphertext. The radius ciphertext can be used to verify whether the worker and the requester have agreed on the radius, and can also be used to hold the requester accountable.
[0103] (2) After receiving the task location grid code set and radius trapdoor uploaded by the worker terminal, the crowdsourcing server verifies whether the radius has been negotiated. Verify whether the equations e(C1, T1) = e(C2, T2) e(C3, T3) and e(C4, T4) = e(C5, T5) e(C6, T6) hold, and then assign tasks to the worker terminal according to the size of the coefficient s, that is, forward (id j ,s,t,c1,c2′) to the worker terminal id i After receiving the task assigned by the crowdsourcing server, the worker terminal decrypts the task and completes it, submitting the task result and other information to the requester terminal, which includes the location of the worker terminal (x i ,y i ).
[0104] The requester terminal calculates the circular intersection area based on the received task result information (including the worker location). If the approximate error is exceeded, the crowdsourcing server is provided with the key, location, radius and other information of the message verification code for accountability. j ,y j ) and the location of the worker terminal (x i ,y i ), calculate the real position distance Then, based on the actual position distance, calculate the area of the actual intersection circle Compare approximate areas If the error exceeds the approximate error, the worker terminal may have uploaded a grid position code that exceeds the circle range boundary, and a request for accountability can be submitted. The requester terminal forwards the accountability information (sk, id i ,id j ,(x j ,y j ),(x i ,y i ),t3,r) to the crowdsourcing server.
[0105] (G) Cancellation Phase
[0106] This stage is executed by the requester terminal. The requester terminal sends a revocation request to the key issuing server. After the key issuing server verifies the identity of the requester terminal, it notifies the crowdsourcing server to revoke the user's re-encryption key from the database K, that is, to revoke the task re-encryption key of the requester terminal.
[0107] Embodiment 2, as Figure 1-3 As shown, this embodiment provides a privacy protection method for spatial crowdsourcing task allocation, which is applied to worker terminals. The worker terminal sends a registration request to the key issuing server, and receives the worker encryption key returned by the key issuing server; uses the worker encryption key to encrypt the worker message to obtain the worker message ciphertext, and submits it to the crowdsourcing server; receives the requester identity information ciphertext sent by the crowdsourcing server, and after verifying its validity, uploads the task worker grid code set and radius ciphertext to the crowdsourcing server; receives the final task information sent by the crowdsourcing server, and can send accountability information to the crowdsourcing server or send task result information to the requester terminal. Specifically, it includes initialization stage, registration stage, encryption stage, verification stage, encoding stage, accountability stage, and revocation stage. The specific process is as follows:
[0108] (A) Initialization phase
[0109] The worker needs to provide the necessary personal identity information to the key issuing server. Specifically: the worker terminal obtains the necessary personal identity information provided by the worker, that is, the worker identity information, and sends a registration request to the key issuing server to complete the registration, wherein the registration request of the worker terminal includes the worker identity information.
[0110] (B) Registration Phase
[0111] After receiving the registration request sent by the worker terminal, the key issuance server returns the worker encryption key to the worker terminal.
[0112] The worker terminal receives a worker encryption key, which includes: a key-based hash function that converts the worker interest keyword to a positive integer, and a private key that encrypts the worker interest keyword and the worker location data.
[0113] (C) Encryption phase
[0114] The worker terminal can issue a query task request on the spatial crowdsourcing platform. The worker terminal uses the worker encryption key to encrypt the worker message (including the worker interest keyword and the worker location) published by the worker on the worker terminal, obtains the worker message ciphertext (including the worker interest ciphertext and the worker location ciphertext), and submits the worker message ciphertext to the crowdsourcing platform.
[0115] The worker terminal uses the key-based hash function in the worker encryption key to convert the worker interest keyword into a positive integer, and constructs a polynomial function based on the converted worker interest keyword, with the aim of hiding the worker interest keyword information in the polynomial function; the worker terminal extracts the coefficients of the polynomial function as the worker interest vector, selects the worker interest threshold t, and sets the worker position vector, divides the worker interest vector and the worker position vector into two random vectors respectively, encrypts the random vectors using the worker encryption key, obtains the worker message ciphertext, and submits the worker message ciphertext to the crowdsourcing platform to find a suitable task.
[0116] Specifically: The worker terminal submits a query task request to the crowdsourcing server, hoping to query the nearest task that meets the worker's interest and is within the circular range. The worker terminal selects the worker's interest keyword vector {q1,q2,...,q l}, where q i is a worker interest keyword. If the number of worker interest keyword vector elements is less than n, then nl false keywords {q l+1 ,q l+2 ,...,q n}, use h s The function converts each keyword into a positive integer, and the converted worker interest keyword vector is
[0117] In order to hide the worker's interest keyword data, the worker terminal constructs a polynomial function as follows:
[0118] f(x)=(xh s (q1))×(xh s (q2))×...×(xh s (q n ))
[0119] =b0+b1x+...+b n x n
[0120] Then extract the coefficients of the polynomial function as the worker interest query vector According to the position (x i ,y i ) and query radius r, with (x i ,y i ) as the center and r as the radius to make a circle. The worker terminal selects a diameter from the circle at random and selects two endpoints on the diameter (A x ,A y ) and (B x ,B y ), get the worker position vector For worker position vectors with length less than n+1, the worker terminal randomly selects a i , (a9,a 10 ,...,a n+1 ) added to in, note In order to randomize the true inner product value, a positive integer δ is randomly selected to obtain Then the worker interest vector and worker position vector are divided into random vectors and The specific division operations are as follows:
[0121]
[0122] Then, encrypt and For worker interest ciphertext and worker position ciphertext Set the worker interest threshold t, submit to the crowdsourcing server.
[0123] (D) Verification phase
[0124] The crowdsourcing server finds out the tasks that meet the worker conditions according to the location and interest attributes uploaded by the requester, encrypts and signs the identity information of the requester of the task, and forwards it to the worker terminal. When the worker terminal receives the ciphertext of the requester's identity information that meets the conditions assigned by the crowdsourcing server, the worker terminal will continue to request the nearest task, and the worker terminal requests the requester terminal to submit the location code to complete further allocation.
[0125] The crowdsourcing server selects tasks that meet the conditions by the inner product of the position vector and the interest vector. The crowdsourcing server encrypts the information of the task requester (the requester's identity information) and signs the ciphertext to obtain the requester's identity information ciphertext. and Among them, t is the current timestamp, H() is the SHA function, id represents the user's identity, pk is the user's communication public key, and the crowdsourcing server uses the worker's public key to encrypt the requester's identity and public key information so that only the worker terminal can decrypt this message.
[0126] The worker terminal decrypts the ciphertext of the requester's identity information sent by the crowdsourcing platform, and verifies the signature and information of the crowdsourcing server.
[0127] (E) Encoding stage
[0128] After the worker terminal verifies the validity of the requester's identity information ciphertext, it obtains the worker location grid code set and uploads it to the crowdsourcing server, and sends a radius message to the requester terminal at the same time. This stage is the negotiation radius to upload the code with the same radius.
[0129] After the worker terminal verifies the validity of the requester's identity information ciphertext, the worker terminal selects the radius r and the key of the message authentication code, maps the worker's position to the grid, draws a circle with the worker's position as the center and r as the radius, and uses the key of the message authentication code to hash-code the grid contained in the circular range to obtain the worker's position grid code set, and submits the hash code set (i.e., the worker's position grid code set) to the crowdsourcing platform to find tasks that meet the location conditions.
[0130] The worker terminal integrates the radius and message authentication code key, encrypts and signs it, and forwards it to the requester terminal. After verifying the validity of the signature and timestamp, the worker terminal encrypts and signs the radius r and other information to obtain and Among them, sk is the key of the hash message authentication code, and then forward the radius message To the requester terminal.
[0131] (G) Accountability Stage
[0132] (1) This process is executed by the worker terminal. When uploading the position code, the worker terminal also needs to upload the ciphertext related to the radius information (radius ciphertext) to the crowdsourcing server to prevent the worker from uploading the grid code beyond the radius r.
[0133] The registration process here is the same as the registration process of the requester terminal accountability phase, so I will not repeat it here. Calculate the radius ciphertext C = (C1, C2, C3, C4, C5, C6).
[0134]
[0135] Then, the worker terminal submits the worker grid code set and radius ciphertext (id i ,C,C L ) to the crowdsourcing server, forwarding the radius message to the requester terminal.
[0136] (2) After the crowdsourcing server completes the task assignment, the worker terminal receives the final task information assigned, and then the worker terminal receives the final task information received (id j ,s,t,c1,c2′), where t is the task identifier, c1 is the ciphertext of the final task content, and the final task can be obtained by decrypting c1. After partial decryption by the server, the worker terminal can decrypt the final task. According to the worker position and the task position in the final task information, the area of the true intersection circle is calculated (the specific calculation method is the same as that in Example 1); the area of the true intersection circle is compared with the approximate intersection area. If the approximate error exceeds the approximate error, the accountability information (including the key, position, radius, etc. of the message verification code) is sent to the crowdsourcing server for accountability; otherwise, after receiving the assigned task, the worker terminal decrypts the task and completes the task, and submits the task result and other information to the requester terminal, which includes the location of the worker terminal (x i ,y i ).
[0137] When the latest task is assigned to the worker terminal, the worker terminal decrypts the task to obtain the real location of the task and can perform the accountability operation. This operation is symmetrical with the accountability process of the requester terminal and will not be repeated here.
[0138] (H) Cancellation Phase
[0139] The worker terminal sends a revocation request to the key issuance center to complete the user revocation operation.
[0140] Embodiment three, as Figure 1-3As shown, this embodiment provides a privacy protection method for spatial crowdsourcing task allocation, which is applied to a crowdsourcing server. The crowdsourcing server receives the task re-encryption key and the worker re-encryption key of the key issuing server, the task message ciphertext of the requester terminal and the worker message ciphertext of the worker terminal, and obtains the requester identity information that meets the worker's requirements through re-encryption and inner product calculation, and forwards the requester identity information ciphertext obtained after encrypting and signing the requester identity information to the worker terminal; receives the task position grid code set and radius trap door of the requester terminal, as well as the worker grid code set and radius ciphertext of the worker terminal, and obtains the final task information after verification and intersection calculation, and sends it to the worker terminal. Receive the accountability information sent by the requester terminal or the worker terminal. Receive the revocation notification of the key issuing center, and revoke the task re-encryption key of the requester terminal or the worker re-encryption key of the worker terminal from the database. Specifically, it includes the re-encryption stage, the inner product stage, the task allocation stage, the accountability stage, and the revocation stage. The specific process is as follows:
[0141] (1) Re-encryption stage
[0142] The key issuing server forwards the task re-encryption key rk j ={A j,2 ,B j,2} to the crowdsourcing server, and the crowdsourcing server receives the task re-encryption key submitted by the requester terminal; the key issuing server forwards the task worker re-encryption key to the crowdsourcing platform, and the crowdsourcing server receives the worker re-encryption key submitted by the worker terminal.
[0143] The ciphertext of the task message submitted by the requester terminal To the crowdsourcing server, It includes the task location ciphertext, task requirement ciphertext and task content ciphertext. The crowdsourcing server receives the task location ciphertext, task requirement ciphertext and task content ciphertext submitted by the requester terminal; the worker terminal submits the task worker interest ciphertext and worker location ciphertext to the crowdsourcing platform. After receiving the ciphertext of the worker and the requester terminal, the crowdsourcing server re-encrypts the ciphertext.
[0144] This stage is performed by the crowdsourcing server to prepare for the inner product calculation stage. After receiving the user's interest and position vector ciphertext, the crowdsourcing server uses the user's corresponding re-encryption key to convert the interest and position vector ciphertext. Re-encryption is specifically as follows: after the crowdsourcing server receives the task requirement ciphertext, task location ciphertext and task content ciphertext from the requester terminal, it uses the task re-encryption key to convert the task requirement ciphertext, task location ciphertext and task content ciphertext to obtain the task requirement conversion ciphertext, task location conversion ciphertext and task content conversion ciphertext; after the crowdsourcing server receives the worker interest ciphertext and worker location ciphertext from the worker terminal, it uses the worker re-encryption key to convert the ciphertext to obtain the worker interest conversion ciphertext and worker location conversion ciphertext.
[0145] Specific: Given the task requirement ciphertext of the requester terminal and task location ciphertext The crowdsourcing server looks up the task re-encryption key of the requester terminal and re-encrypts the task requirement ciphertext and task location ciphertext of the requester terminal as follows:
[0146]
[0147]
[0148] Finally, the crowdsourcing server converts the task content ciphertext to obtain the task content conversion ciphertext
[0149] The worker interest ciphertext for a given worker terminal and worker location ciphertext The crowdsourcing server looks up the worker re-encryption key of the worker terminal and re-encrypts the worker interest ciphertext and worker location ciphertext of the worker terminal as follows:
[0150]
[0151]
[0152] (2) Inner product stage
[0153] The specific steps of inner product calculation are as follows: the crowdsourcing server calculates the inner product of the task position conversion ciphertext and the worker position conversion ciphertext, as well as the inner product of the task requirement conversion ciphertext and the worker interest conversion ciphertext, selects the task message that meets the worker interest and the worker position based on the inner product, and encrypts and signs the task message and forwards it to the worker terminal. Specifically: the crowdsourcing server first calculates the inner product of the task position conversion ciphertext and the worker position conversion ciphertext. If the inner product meets the conditions, the task position meets the worker position (that is, the task position is within the circular range of the worker); then calculates the inner product of the task requirement conversion ciphertext and the worker interest conversion ciphertext. If the inner product meets the conditions and the number of task requirement ciphertexts that meet the conditions is greater than the threshold, the task requirement meets the worker interest; the crowdsourcing server encrypts and signs the requester identity information that meets the worker interest and the worker position, and forwards the requester identity information ciphertext to the worker terminal. After receiving the identity information of the requester, the worker terminal verifies it and negotiates the radius r with the requester terminal to upload the position code within the same radius circle range. After uploading the code, the server assigns the real task information.
[0154] This stage is performed by the crowdsourcing server. This stage is used to determine whether the location of the task is within the circular range of the worker terminal query and whether the task requirements meet the interests of the worker terminal query. In order to facilitate the understanding of the process of this stage, the principle based on this stage is first introduced.
[0155] As for the position attribute, the present invention only needs to determine whether the position of the task is within the circular range selected by the worker terminal, and convert the problem into the position relationship between the point and the circle. Assume that the position of the task is P = (x j ,y j ), the worker terminal position is (x i ,y i ) and the selected radius is r, the worker terminal circular range is Q, and any diameter is taken from Q, and the two endpoints of the diameter are A=(A x ,A y ) and B=(B x ,B y ), the positional relationship between point P and circle Q can be determined by following the following principle:
[0156]
[0157]
[0158] In order to follow the inner product encryption and protect data privacy, the partition is the inner product of two other vectors:
[0159]
[0160] If the inner product of the two position vectors given above is less than or equal to 0, the task position is within the position range of the worker terminal. The worker terminal and the requester terminal only need to be nested in the asymmetric inner product encryption in the form of the above vector.
[0161] For the interest attribute, we only need to determine the number of task requirement keywords that are the same as the worker interest keywords. n}, the worker terminal hides the keyword information into the polynomial function as follows:
[0162]
[0163] Worker terminal extraction (b0,b1,...,b n ) as the interest vector, the requester terminal takes (1,x,...,x n ) form to construct an interest vector, and use the above vector form to nest asymmetric inner product encryption. If the inner product is 0, then a keyword of the task is the same as one of the interest keywords of the worker. If the number of inner products that are 0 is greater than the threshold t, then the task satisfies the interest of the worker terminal.
[0164] After the crowdsourcing server terminal obtains the task requirement conversion ciphertext, the task position conversion ciphertext, the worker interest conversion ciphertext, and the worker position conversion ciphertext, it calculates the inner product of the task position conversion ciphertext and the worker position conversion ciphertext, and the inner product of the task requirement conversion ciphertext and the worker interest conversion ciphertext as follows:
[0165]
[0166]
[0167] In Y j = {Y j,1 ,Y j,2 ,...,Y j,n}, if the number of 0s is greater than the threshold t, then the task requirement satisfies the interest of the worker terminal. i <0, the task location is within the worker terminal range.
[0168] The crowdsourcing server selects tasks that meet the conditions by the inner product of the position vector and the interest vector. The crowdsourcing server encrypts the identity information of the task requester and signs the ciphertext to obtain the ciphertext of the requester's identity information. and Where t is the current timestamp and H() is the SHA function.
[0169] (3) Task allocation stage
[0170] After receiving the radius ciphertext and trapdoor, the crowdsourcing server verifies them. After successful verification, it calculates the intersection of the grid codes. The number of intersections can be used to perceive the distance between the task location and the worker location, and then forward the task with the closest distance to the worker terminal. The intersection calculation is as follows: the crowdsourcing server calculates the grid code set C of the task location submitted by the requester terminal and the worker terminal. L and the worker position grid code set C R , calculate the dice coefficient as follows:
[0171]
[0172] s can be used to approximate the intersection area of two circles of the same radius If the intersection area of two circles with the same radius is larger, it means that the distance between the centers of the two circles is closer. This theorem can be used to select the tasks with the closest distance from the circle. The crowdsourcing server selects the task t with the largest dice coefficient s, and then partially decrypts the converted task content ciphertext to Forward the final task information (id j ,s,t,c1,c2′) to the worker terminal id i , then record RD = (id i ,id j ,C,T,C L ,C R ,t2,s), after the worker terminal receives c1,c2′, it performs the decryption operation and Finally get the real task content.
[0173] (4) Accountability stage
[0174] Based on the received accountability information, the crowdsourcing server sends a verification request to the key issuance center. After successful verification, the crowdsourcing server calculates the circular intersection area and position coding, and determines the user who has misbehaved through position coding and comparison of approximate area and actual area operations.
[0175] Specifically, take the accountability information sent by the requester terminal as an example:
[0176] The requester terminal forwards the accountability information (sk, id i ,id j ,(x j ,y j ),(x i ,y i ), t3,r) to the crowdsourcing server, which searches for the allocation record in RD based on the identity match and verifies whether the time interval between t2 and t3 is within the allowed threshold. After successful verification, the crowdsourcing server forwards the worker terminal information (id i,C) to the key issuing server. The key issuing server searches the database K′, corresponding to id i , find its key pair (D i ,E i ), determine whether e(C5,D i )=e(E i ,C6), if the equality holds, then respond to the crowdsourcing server.
[0177] The crowdsourcing server then calculates whether the grid location code of the requester terminal is consistent with the submitted one. If so, the accountability submitted by the requester terminal is legal. Then it calculates whether the grid location code of the worker terminal is consistent with the submitted one. If not, the worker terminal will be blacklisted or given a very low reputation. At the same time, the worker terminal will also pay additional compensation.
[0178] (5) Cancellation stage
[0179] After receiving the revocation notice from the key issuing center, the crowdsourcing server deletes the user's corresponding re-encryption key from the database.
[0180] Specifically: receiving a revocation notification from a key issuing center, and revoking the task re-encryption key of the requester terminal or the worker re-encryption key of the worker terminal from the database.
[0181] Embodiment 4, as Figure 1-3 As shown, this embodiment provides a privacy protection method for spatial crowdsourcing task allocation, which is applied to a key issuance server. The key issuance server receives a registration request from a requester terminal, generates a task encryption key sent to the requester terminal and a task re-encryption key sent to a crowdsourcing server; receives a registration request from a worker terminal, generates a worker encryption key sent to the worker terminal and a worker re-encryption key sent to the crowdsourcing server. It also includes receiving a revocation request sent by a requester terminal or a worker terminal, and after verifying its validity, sending a revocation notification to the crowdsourcing server. Specifically, it includes an initialization phase, a registration phase, an accountability phase, and a revocation phase:
[0182] (1) Initialization phase
[0183] This stage is executed by the key issuing server, which receives the registration request uploaded by the requester terminal or the worker terminal; wherein the registration request of the worker terminal includes the worker identity information; the registration request of the requester terminal includes the requester identity information.
[0184] The key issuing server randomly generates an n+1-bit binary vector S, two (n+1)×(n+1) reversible matrices {M1,M2}, and a key-based hash function The function is to map any keyword to a positive integer and generate the master key msk = {M1, M2, S, h s}.
[0185] (2) Registration stage
[0186] The registration phase is performed by the key issuing server. The key issuing server generates encryption keys and re-encryption keys for the terminal based on the identity information provided by the terminal. The encryption key is forwarded to the terminal, and the re-encryption key is forwarded to the crowdsourcing server. It specifically includes requester registration and worker registration:
[0187] (a) Requester Registration
[0188] The requester provides the key issuing center with the necessary personal identity information of the requester to complete the registration; after successful registration, the requester terminal obtains the key-based hash function that converts the task requirement keyword into a positive integer and the key that encrypts the requirement keyword and the location data. In other words, after successful registration, the requester terminal obtains the task encryption key, which includes: the key-based hash function that converts the task requirement keyword into a positive integer, and the private key that encrypts the task requirement keyword and the task location data.
[0189] The key issuing server generates a task encryption key and a task re-encryption key according to the requester identity information provided by the requester terminal. The task encryption key is forwarded to the requester terminal, and the task re-encryption key is forwarded to the crowdsourcing server. Specifically:
[0190] The key issuing server randomly selects two (n+1)×(n+1) reversible matrices {A j,1 ,B j,1}, and calculate the private key for encrypting the task requirement keyword and task location data Set the task encryption key sk j ={A j,1 ,B j,1 ,S,h s} and the task re-encryption key rk j ={A j,2 ,B j,2};
[0191] Task encryption key sk j Sent to the requester's identity ID i The requester terminal, task re-encryption key rk i and the requester identity id i is sent to the crowdsourcing server, which updates the requester user-re-encryption key mapping set K = K∪(id i ,rk i ), where id jA requester identity identifier in the identity information given to the requester user.
[0192] (b) The worker provides the necessary worker personal identity information to the key issuance center to complete the registration; after successful registration, the worker terminal obtains a key-based hash function that converts the interest keyword into a positive integer and a key that encrypts the interest keyword and the location data. In other words, after successful registration, the worker terminal obtains the worker encryption key, which includes: a key-based hash function that converts the worker interest keyword into a positive integer, and a private key that encrypts the worker interest keyword and the worker location data.
[0193] The key issuance server generates a worker encryption key and a worker re-encryption key according to the identity information provided by the worker terminal, wherein the worker encryption key is forwarded to the worker terminal, and the worker re-encryption key is forwarded to the crowdsourcing server.
[0194] The worker encryption key and the worker re-encryption key are generated in the same manner as the task encryption key and the task re-encryption key.
[0195] (3) Accountability stage
[0196] After the key issuing server receives the accountability message, the validity of the radius message provides the crowdsourcing server with further accountability response.
[0197] (4) Cancellation stage
[0198] Receive the revocation request sent by the requester terminal or the worker terminal, verify its validity, and then send a revocation notification to the crowdsourcing server.
[0199] After receiving the revocation message, the key issuing server verifies the user identity and message validity, and sends a revocation notification to the crowdsourcing server.
[0200] A spatial crowdsourcing task allocation privacy protection method of the present invention, under the premise of protecting the privacy of user location and interest data, quickly finds tasks that meet the center range of the worker terminal and meet the interest through an asymmetric inner product encryption method. For the position in the grid, the method of approximate circle intersection area is used to improve the efficiency of distance perception, and further find the task that meets the interest and is the closest for the worker terminal; it can implement user revocation and accountability operations, further improving the security and availability of the system; considering the effectiveness of task allocation, it can implement a server allocation model to allocate tasks to the worker who is closest.
[0201] Embodiment 5: This embodiment provides a privacy protection method for spatial crowdsourcing task allocation, including:
[0202] The requester terminal and the worker terminal send a registration request to the key issuance server;
[0203] The key issuance server generates a task encryption key, a task re-encryption key, a worker encryption key, and a worker re-encryption key;
[0204] The requester terminal receives the task encryption key, obtains and submits the task message ciphertext to the crowdsourcing server; the worker terminal receives the worker encryption key, obtains and submits the worker message ciphertext to the crowdsourcing server;
[0205] The crowdsourcing server obtains the inner product of the task message ciphertext and the worker message ciphertext based on the task re-encryption key, the worker re-encryption key, the task message ciphertext and the worker message ciphertext, and obtains and forwards the requester identity information ciphertext to the worker terminal based on the inner product of the task message ciphertext and the worker message ciphertext;
[0206] Based on the ciphertext of the requester's identity information, the worker terminal obtains and uploads the task worker grid code set and radius ciphertext to the crowdsourcing server, and sends a radius message to the requester terminal at the same time; the requester terminal receives the radius message sent by the worker terminal, and uploads the task location grid code set and radius trapdoor to the crowdsourcing server;
[0207] The crowdsourcing server obtains the final task information based on the task location grid code set, radius trap, worker grid code set and radius ciphertext and sends it to the worker terminal;
[0208] The worker terminal receives the final task information sent by the crowdsourcing server. The detailed method is the same as the method provided in embodiments 1, 2, 3, and 4, and will not be repeated here.
[0209] Embodiment 6, this embodiment provides a spatial crowdsourcing task allocation privacy protection system;
[0210] A spatial crowdsourcing task allocation privacy protection system includes: at least one key issuance server, at least one crowdsourcing server, at least one worker terminal, and at least one requester terminal. The key issuance server, crowdsourcing server, worker terminal, and requester terminal are all communicatively connected with each other.
[0211] The key issuance server is configured to: generate the required keys, re-encryption keys and key-based hash functions for users. Specifically, it receives registration requests from requester terminals, generates task encryption keys and task re-encryption keys; receives registration requests from worker terminals, generates worker encryption keys and worker re-encryption keys; and is responsible for user revocation and accountability operations.
[0212] The crowdsourcing server is configured to: be responsible for querying tasks that meet the worker's location and interest information, specifically, after obtaining the task requirement ciphertext, the task location ciphertext, the worker interest ciphertext and the worker location ciphertext, convert and calculate the inner product of the task location conversion ciphertext and the worker location conversion ciphertext, as well as the inner product of the task requirement conversion ciphertext and the worker interest conversion ciphertext, screen the task messages that meet the worker's interest and the worker's location based on the inner product, and forward the requester identity information ciphertext obtained after encrypting and signing the requester identity information to the worker terminal; further search for the nearest task from the tasks that meet the conditions, based on the task location grid code set, the radius trap, the worker grid code set and the radius ciphertext, obtain the final task information and send it to the worker terminal, specifically, perform the intersection calculation on the worker location grid code set and the task location grid code set, obtain the distance between the task location and the worker location, and assign the task with the closest distance to the worker terminal; and the server allocation model can be implemented as required, and it can also be responsible for the user's revocation and accountability operations.
[0213] The worker terminal is configured to: upload query task information and circular range grid code set, specifically, send a registration request to the key issuance server, and receive the worker encryption key returned by the key issuance server, obtain and submit the worker message ciphertext to the crowdsourcing server; receive the requester identity information ciphertext sent by the crowdsourcing server, verify the validity of the requester identity information ciphertext, obtain the worker location grid code set and radius ciphertext and upload them to the crowdsourcing server, and send a radius message to the requester terminal at the same time to obtain the task that meets the interest conditions and is closest to the worker, and receive the final task information sent by the crowdsourcing server; verify the requester's misconduct based on the existing information to hold him accountable, and submit the user revocation request as required to complete the revocation.
[0214] The requester terminal is configured to: upload task information and circular range grid code set, specifically, send a registration request to the key issuing server, receive the task encryption key returned by the key issuing server, obtain and submit the task message ciphertext to the crowdsourcing server; receive the radius message sent by the worker terminal, verify the validity of the radius message (the worker terminal sends the ciphertext and signature containing the radius and its own identity, and the requester can obtain the radius information after decryption, and then verify the validity of the signature), obtain the task location grid code set and radius trapdoor and upload them to the crowdsourcing server; to match the appropriate worker to complete the task. Verify the worker's misconduct based on the existing information to hold him accountable, and submit the user revocation request as required to complete the revocation.
[0215] The system of the present invention can meet two needs of users. The user can become a requester terminal for issuing tasks or a worker terminal for querying tasks. This system can also be applied to task recommendation, and the operation of the worker terminal and the requester terminal only needs to be interchanged.
[0216] The detailed process of each component has been introduced in Examples 1, 2, 3, 4, and 5. Here we only introduce the specific content of the server allocation model. Given a task, the task sets the maximum acceptable number of workers. Given a worker, the worker sets the maximum acceptable number of tasks. In order to improve the efficiency of task crowdsourcing, the task allocation of workers with the same radius circular range is optimized so that the task can be completed at the shortest distance. This model is also called a server allocation model. This can improve the task completion efficiency of the requester terminal and cost less commissions for workers at a relatively long distance. In order to clearly express the algorithm, set w i Represents worker, t i Represents the task, for each worker w i , integrate the tasks that satisfy its circular range into the worker w i In the array, for example, w i ={t1,t2,...,t n}, where the tasks are arranged from large to small according to s, which means that the tasks are getting farther and farther away from the worker's location. Then set the task array t i ={w1,w2,...,w n}, the sorting method is the same as above, putting the mapping relationship between workers and tasks into the tuple Match. For example The i-th row represents worker i, and the j-th column represents the j-th task sorted from smallest to largest in distance. Specifically, the server retrieves each w i , and then retrieve each w in turn i The tasks in the task are distributed from near to far. For each task, the server checks whether the task can still be assigned a worker. If not, it continues to check the second task. If the task can still accept a worker, the server retrieves the worker t i , the workers are sorted from far to near. The server checks whether the worker can accept the task. If not, it checks the next worker. If yes, it compares the worker with t i s′ and w i With t i The size of s, whose s is larger, means the distance is closer, and the task is assigned to the closer worker. Then recursively perform this operation until all tasks are matched with workers and completed.
[0217] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A privacy protection method for spatial crowdsourcing task allocation, characterized by: include: The requester terminal and the worker terminal send a registration request to the key issuance server; The key issuance server generates a task encryption key, a task re-encryption key, a worker encryption key, and a worker re-encryption key; The requester terminal receives the task encryption key, encrypts the task message using the task encryption key to obtain the task message ciphertext, and submits the task message ciphertext to the crowdsourcing server; The worker terminal receives the worker encryption key, encrypts the worker message using the worker encryption key to obtain the worker message ciphertext, and submits the worker message ciphertext to the crowdsourcing server; The crowdsourcing server receives the task re-encryption key and the worker re-encryption key of the key issuing server, the task message ciphertext of the requester terminal and the worker message ciphertext of the worker terminal, obtains the requester identity information that meets the worker's requirements through re-encryption and inner product calculation, and forwards the requester identity information ciphertext obtained after encrypting and signing the requester identity information to the worker terminal; The worker terminal receives the requester's identity information ciphertext, verifies the validity of the requester's identity information ciphertext, obtains and uploads the task worker grid code set and radius ciphertext to the crowdsourcing server, and sends a radius message to the requester terminal at the same time; the requester terminal receives the radius message sent by the worker terminal, verifies the validity of the radius message, and uploads the task location grid code set and radius trapdoor to the crowdsourcing server; The crowdsourcing server obtains the final task information based on the task location grid code set, radius trapdoor, worker grid code set and radius ciphertext and sends it to the worker terminal.
2. A privacy protection method for spatial crowdsourcing task allocation as claimed in claim 1, characterized in that: The specific steps of using the task encryption key to encrypt the task message are: The requester terminal obtains a task message, wherein the task message includes a task requirement keyword, a task location, and a task content; Use the hash function in the task encryption key to convert the task requirement keyword into a positive integer, and set the task requirement vector and the task position vector; Divide the task requirement vector and the task position vector into two random vectors respectively; The random vector is encrypted using a private key in the task encryption key, and a symmetric key is randomly selected to encrypt the task content to obtain a task message ciphertext, where the task message ciphertext includes a task requirement ciphertext, a task location ciphertext, and a task content ciphertext.
3. A privacy protection method for spatial crowdsourcing task allocation as claimed in claim 1, characterized in that: It also includes the requester terminal receiving the task result information sent by the worker terminal and sending the accountability information to the crowdsourcing server. Specifically: Calculate the actual location distance based on the task location and the worker location in the task result information; Based on the real position distance, calculate the area of the real intersection circle; The area of the actual intersection circle is compared with the approximate intersection area. If the approximate error exceeds the approximate error, an accountability message is sent to the crowdsourcing server.
4. A privacy protection method for spatial crowdsourcing task allocation as claimed in claim 1, characterized in that: After receiving the final task information sent by the crowdsourcing server, the worker terminal sends accountability information to the crowdsourcing server or sends task result information to the requester terminal. Specifically: Calculate the area of the true intersection circle according to the worker position and the task position in the final task information; Compare the area of the real intersection circle with the approximate intersection area. If the approximate error exceeds the approximate error, send accountability information to the crowdsourcing server; otherwise, after receiving the final task information, decrypt the task and complete the task, and submit the task result information to the requester terminal.
5. A privacy protection method for spatial crowdsourcing task allocation as claimed in claim 1, characterized in that: The specific steps for encrypting a worker message using the worker encryption key are: The worker terminal obtains a worker message, where the worker message includes a worker interest keyword and a worker location; The worker interest keyword is converted into a positive integer using a hash function in the worker encryption key, and a polynomial function is constructed based on the converted worker interest keyword; Extracting coefficients of the polynomial function as a worker interest vector and setting a worker position vector; Divide the worker interest vector and worker position vector into two random vectors respectively; The random vector is encrypted using a worker encryption key to obtain a worker message ciphertext, where the worker message ciphertext includes a worker interest ciphertext and a worker position ciphertext.
6. A spatial crowdsourcing task allocation privacy protection system, characterized by comprising: at least one key issuance server, at least one crowdsourcing server, at least one worker terminal, and at least one requester terminal; The requester terminal is configured to: send a registration request to a key issuing server, receive a task encryption key returned by the key issuing server, encrypt a task message using the task encryption key to obtain a task message ciphertext, and submit the task message ciphertext to a crowdsourcing server; receive a radius message sent by a worker terminal, verify the validity of the radius message, and upload a task location grid code set and a radius trapdoor to the crowdsourcing server; The worker terminal is configured to: send a registration request to a key issuing server, receive a worker encryption key returned by the key issuing server, encrypt a worker message using the worker encryption key to obtain a worker message ciphertext, and submit the worker message ciphertext to a crowdsourcing server; Receive the requester identity information ciphertext sent by the crowdsourcing server, verify the validity of the requester identity information ciphertext, upload the task worker grid code set and radius ciphertext to the crowdsourcing server, and send the radius message to the requester terminal; The crowdsourcing server is configured to: obtain the requester identity information that meets the worker's requirements based on the task re-encryption key, the worker re-encryption key, the task message ciphertext and the worker message ciphertext, and obtain the requester identity information by re-encryption and inner product calculation, and forward the requester identity information ciphertext obtained after encrypting and signing the requester identity information to the worker terminal; Based on the task location grid code set, radius trap, worker grid code set and radius ciphertext, the final task information is obtained and sent to the worker terminal; The key issuing server is configured to: receive a registration request from a requester terminal, generate a task encryption key and a task re-encryption key; receive a registration request from a worker terminal, generate a worker encryption key and a worker re-encryption key.
Citation Information
Patent Citations
Task distribution system model of privacy protection space crowdsourcing and realization method
CN107257381A
A task assignment method for privacy preservation in spatial crowdsourcing
CN109033865A
Space crowdsourcing task allocation method and system
CN109600709A
Position strategy privacy protection method for space crowdsourcing under block chain
CN110620774A
Crowdsourcing task allocation method for user personalized privacy protection
CN111105142A
