Method, apparatus, and storage medium for providing data service

By encrypting user information and generating reputation values, the problem of users with poor credit records arbitrarily obtaining and uploading false data in data services is solved, thus achieving privacy protection and fairness in data transactions.

CN116248374BActive Publication Date: 2026-05-26BEIJING UNIV OF POSTS & TELECOMM

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING UNIV OF POSTS & TELECOMM
Filing Date
2023-01-30
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In existing technologies, the data server does not effectively assess the user, allowing users with poor credit to freely obtain and upload false data, leading to privacy issues.

Method used

By encrypting users' personal information, collecting user data using the encrypted personal information and task instructions, calculating the truth value of the collected results and generating a reputation value, and providing data services only when the reputation value meets a threshold.

Benefits of technology

It ensures user authentication and data authenticity, guaranteeing privacy protection and fairness in data transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116248374B_ABST
    Figure CN116248374B_ABST
Patent Text Reader

Abstract

This disclosure provides a method, apparatus, electronic device, and storage medium for providing data services, including: acquiring a user's personal information and encrypting the personal information to obtain encrypted personal information; collecting the user's data information based on the encrypted personal information and task instructions, and obtaining collection results; calculating the truth value of the collection results, and generating the user's reputation value based on the truth value; and providing data services to the user in response to the reputation value being greater than a preset threshold. This disclosure first acquires and encrypts the user's personal information, then collects the user's data information using the encrypted personal information and task instructions present in the system, then determines the user's reputation value based on the collection results, and finally provides data services to the user when the reputation value meets specific requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data communication technology, and in particular to a method, apparatus, electronic device, and storage medium for providing data services. Background Technology

[0002] With the development of digital communication technology, users have increasingly diverse requirements for data services. In current vehicle-to-everything (V2X) systems, the use of data services is even more prevalent. Data owners, such as vehicle nodes, can upload their data to data service providers, enabling these providers to back up, manage, and use the raw data for training and prediction to provide data services.

[0003] In existing technologies, when a user needs to access data services, the user terminal typically sends a request to the data server, which then directly responds to complete the request. However, because the data server does not analyze or assess the user's identity when sending the request, users with poor credit can freely access data and even upload fake data. Furthermore, the ability for users to freely access and upload data can lead to privacy issues during data transactions. Summary of the Invention

[0004] In view of this, the purpose of this disclosure is to provide a method, apparatus, electronic device and storage medium for providing data services.

[0005] As one aspect of this disclosure, a method for providing a data service is provided, characterized by comprising:

[0006] Obtain the user's personal information and encrypt the personal information to obtain encrypted personal information;

[0007] The user's data is collected based on the encrypted personal information and task instructions, and the collection results are obtained.

[0008] Calculate the truth value of the collected results, and generate the user's reputation value based on the truth value;

[0009] In response to the reputation value exceeding a preset threshold, data services are provided to the user.

[0010] Optionally, the step of obtaining the user's personal information and encrypting the personal information to obtain encrypted personal information includes:

[0011] A public and private key are generated using a preset encryption algorithm;

[0012] The personal information is encrypted using the public and private keys to obtain the encrypted personal information.

[0013] Optionally, the step of generating public and private keys using a preset encryption algorithm includes:

[0014] A random value is pre-selected as the private key;

[0015] A finite field is generated based on a prime number of not less than a preset number of bits;

[0016] Several elliptic curves with bilinear mapping relationships are selected over the finite field;

[0017] Obtain the Nth-order generators of several of the elliptic curves;

[0018] The public key is calculated based on the N-order generator and the private key.

[0019] Optionally, the step of collecting the user's data information based on the encrypted personal information and task instructions, and obtaining the collection results, includes:

[0020] The user's data information set is determined based on the encrypted personal information;

[0021] The data information in the data information set is collected based on the task instruction, and the collection result is obtained; wherein the collection result includes the data information corresponding to the task instruction.

[0022] Optionally, calculating the truth value of the acquisition result includes:

[0023] Randomly select any value as the predicted true value of the collected results;

[0024] Weights are assigned to the collected results based on the predicted true values;

[0025] The estimated true value is updated based on the weights, and the true value of the collected result is obtained.

[0026] The update of the estimated true value based on the weights is expressed as follows:

[0027]

[0028] Among them, t i To predict the true value, x k,i For data information, w k , where M is the weight and M is the number of participating users.

[0029] Optionally, assigning weights to the acquisition results based on the estimated true value includes:

[0030] The difference between the collected results and the estimated true value is calculated, and the calculated result is used as the weight.

[0031] The weights are represented as follows:

[0032]

[0033] Among them, w k Represents the weight, t i To estimate the true value, d represents the difference between the collected results and t. i The difference between them is M, where M is the number of participating users, and f is a function with decreasing properties.

[0034] Optionally, generating the user's reputation value based on the truth value includes:

[0035] The truth value is analyzed to obtain a score for the truth value;

[0036] The user's reputation score is generated based on the score;

[0037] The fraction is represented as:

[0038] G = rank × f(Δt) × h(A)

[0039] Where G represents the score, f(Δt) represents the user's response time, h(A) represents the size of the data, and rank represents the user's rating level.

[0040] As a second aspect of this disclosure, this disclosure also provides a data service providing apparatus, comprising:

[0041] The information encryption module is configured to: obtain the user's personal information and encrypt the personal information to obtain encrypted personal information;

[0042] The information collection module is configured to: collect the user's data information based on the encrypted personal information and task instructions, and obtain the collection results;

[0043] The reputation value generation module is configured to: calculate the truth value of the collected results and generate the user's reputation value based on the truth value;

[0044] The service providing module is configured to provide data services to the user in response to the reputation value being greater than a preset threshold.

[0045] As a third aspect of this disclosure, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the program to implement the method for providing the data services described above provided by this disclosure.

[0046] As a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is also provided, the non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the methods described in any of the foregoing embodiments.

[0047] As described above, this disclosure provides a method, apparatus, electronic device, and storage medium for providing data services. In this disclosure, user's personal information is first acquired and encrypted. Then, user data is collected using the encrypted personal information and task instructions present in the system. Next, the user's reputation value is determined based on the collected data. Finally, data services are provided to the user when the reputation value meets specific requirements. Attached Figure Description

[0048] To more clearly illustrate the technical solutions in this disclosure or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0049] Figure 1A This is a schematic diagram illustrating a method for providing a data service according to an embodiment of the present disclosure.

[0050] Figure 1B This is a schematic diagram illustrating a method for encrypting personal information provided in an embodiment of this disclosure.

[0051] Figure 1C This is a schematic diagram illustrating a method for collecting user data provided in an embodiment of this disclosure.

[0052] Figure 2 This is a schematic diagram of a data service providing apparatus provided in an embodiment of the present disclosure.

[0053] Figure 3 A schematic diagram of an electronic device structure for a data service provision method provided in an embodiment of this disclosure. Detailed Implementation

[0054] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0055] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this disclosure should have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in the embodiments of this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0056] In existing technologies, when a user needs to access data services, the user terminal typically sends a request to the data server, which then directly responds to complete the request. However, because the data server does not analyze or assess the user's identity when sending the request, users with poor credit can freely access data and even upload fake data. Furthermore, the ability for users to freely access and upload data can lead to privacy issues during data transactions.

[0057] To address the aforementioned problems, this disclosure provides a method, apparatus, electronic device, and storage medium for providing data services. Through this method, the user's personal information is first acquired and encrypted. Then, the user's data information is collected using the encrypted personal information and task instructions present in the system. Next, the user's reputation value is determined based on the collected data. Finally, data services are provided to the user when the reputation value meets specific requirements.

[0058] After introducing the basic principles of this disclosure, various non-limiting embodiments of this disclosure will be described in detail below.

[0059] In some alternative embodiments, as mentioned above, since users can freely obtain and upload data, the data information on the data server may be insecure and / or unreliable. Therefore, before users obtain the data they need, a reputation value can be assigned to each user based on their level of trustworthiness, and the decision on whether to provide data services to the user can be made based on this reputation value.

[0060] In some optional embodiments, taking a vehicle-to-everything (V2X) system as an example, assigning reputation values ​​to users based on their level of trust can be specifically done as follows: first, several task instructions (such as driving mileage) are preset in the V2X system, and then users can choose to upload their results for the tasks they are interested in (such as uploading "driving mileage - 100 kilometers").

[0061] In some optional embodiments, the vehicle-to-everything (V2X) system will detect the results uploaded by the user. If the uploaded result is true, the user will be given a higher reputation value; if the uploaded result is false, the user will be given a lower reputation value. Finally, when the user needs to read data information in the V2X system, if the user's reputation value does not reach the required threshold, the user will not be provided with this service.

[0062] Figure 1A This is a schematic diagram illustrating a method for providing a data service according to an embodiment of the present disclosure.

[0063] Figure 1A The method for providing the data service shown further includes the following steps:

[0064] Step S10: Obtain the user's personal information and encrypt the personal information to obtain encrypted personal information.

[0065] In some optional embodiments, the user's personal information can be collected first, and a corresponding unit can be created for them within the network system. Specifically, when a new user uses the vehicle networking system for the first time, since they are a new user, their personal information (such as age, vehicle age, gender, etc.) does not exist in the system. Therefore, in order to facilitate the user's use of the vehicle networking system, the user's personal information can be obtained, and a corresponding unit can be created within the vehicle networking system based on the obtained personal information.

[0066] In some optional embodiments, since the vehicle-to-everything (V2X) system is a blockchain-based network system, most of its internal information content tends to be public and transparent, which may affect a large amount of user privacy (i.e., the personal information uploaded by users). Therefore, after obtaining users' personal information, it can be encrypted to ensure user privacy and security. In the prior art, research on this issue is currently lacking, so this disclosure also proposes a privacy (encryption) protection method for user personal information, the details of which are as follows:

[0067] Figure 1B This is a schematic diagram illustrating a method for encrypting personal information provided in an embodiment of this disclosure.

[0068] In some alternative embodiments, such as Figure 1BStep S10 as shown also specifically includes:

[0069] S101: Generate public and private keys using a preset encryption algorithm.

[0070] In some optional embodiments, step S101 further includes:

[0071] S1011: Pre-select a random value as the private key.

[0072] S1012: Generate a finite field based on a prime number of not less than a preset number of bits.

[0073] S1013: Select several elliptic curves that have a bilinear mapping relationship over the finite field.

[0074] S1014: Obtain the Nth-order generators of several of the elliptic curves.

[0075] S1015: Calculate and obtain the public key based on the N-order generator and the private key.

[0076] S102: Encrypt the personal information based on the public key and private key to obtain the encrypted personal information.

[0077] In some optional embodiments, the process of generating the public key in step S101 can also be specifically described as follows: first, in the finite field F... p Select elliptic curves E1, E2 and E on the above. t Where p is a large prime number. At this point, E1, E2, and E... t The existence of a bilinear mapping relationship can be expressed as: e: E1×E2->E t Next, use G1, G2, and G... t Representing E1, E2 and E respectively t All are generators of order N. Therefore, e(G1,G2)=G t The public key can then be generated using `Enc()` and `Dec()`, where `Enc()` and `Dec()` represent symmetric encryption algorithms. It should be noted that the above public key generation process can also be implemented using other encryption algorithms.

[0078] In some optional embodiments, the preset prime number in step S1012 can also be a prime number of not less than 160 bits. Through numerous experiments, this disclosure has found that using a prime number of not less than 160 bits to define a finite field yields more beneficial results.

[0079] In some optional embodiments, step S10 can also be interpreted as follows: When the vehicle network system is initialized, each user entering the system possesses a unique identity identifier (i.e., the aforementioned public and private keys). Users can then bind their personal information to this identity identifier. At this point, the user's true identity can be read through this identifier. Subsequently, a third-party authoritative institution (e.g., a government agency) can verify the user's personal information. If verified, an authentication certificate can be generated to prove the authenticity and credibility of the user's identity.

[0080] In some optional embodiments, the process by which a third-party authoritative institution (e.g., a government agency) verifies a user's personal information can be specifically as follows: First, the system blinds the user's public and private keys. Then, the user's personal information and the blinded public and private keys are sent to the authoritative institution (e.g., a government agency). Upon receiving the user's personal information and public and private keys, the authoritative institution can verify and record the user's personal information. Simultaneously, it performs an identity signature for verified users (confirming the correctness of their personal information) and sends the result to the corresponding user. After receiving the result, the user can deblind the result to obtain the signature of the authoritative institution's corresponding public and private keys.

[0081] It is understood that the data service provision method provided in this disclosure can be applied to any scenario requiring data services. Although the embodiments of this disclosure are illustrated using only the data service process of a vehicle-to-everything (V2X) system as an example, this does not mean that the method of this disclosure can only be applied to V2X systems.

[0082] Step S20: Collect the user's data information based on the encrypted personal information and task instructions, and obtain the collection results.

[0083] Figure 1C This is a schematic diagram illustrating a method for collecting user data provided in an embodiment of this disclosure.

[0084] In some alternative embodiments, such as Figure 1C Step S20 shown also specifically includes:

[0085] S201: Determine the user's data information set based on the encrypted personal information.

[0086] S202: Collect data information from the data information set based on the task instruction, and obtain the collection result; wherein the collection result includes the data information corresponding to the task instruction.

[0087] In some optional embodiments, after the user's personal information is encrypted and a corresponding unit is created in the vehicle network system, the user can upload some personal data (such as current mileage, current road conditions, average driving speed, etc.). The data information uploaded by the user will be summarized in the unit created by the user and generate a data information set about the user.

[0088] In some optional embodiments, when it is necessary to collect user data information according to task instructions, the user's data information set (i.e., the data information set in the same unit as the user's personal information) can be determined first based on the user's encrypted personal information. Then, according to the task instructions (e.g., current traffic conditions), data information is collected from this data information set, and the collection result (i.e., the current traffic conditions uploaded by the user) is obtained.

[0089] In some optional embodiments, due to the randomness of task instructions, it is possible that no data corresponding to the task instruction can be found in the user's data set. In this case, the user needs to upload the matching data to their data set for the content of the task instruction, and then the vehicle network system will collect the data.

[0090] In some optional embodiments, task instructions, once issued, cannot be changed and are available for user querying. As mentioned earlier, the vehicle-to-everything (V2X) system is based on a blockchain network. Therefore, the system can also send its required data collection tasks (i.e., task instructions) to the blockchain. Specific content may include the data information required for the task, the task completion time, the completion location, and the task reward.

[0091] Understandably, blockchain is a decentralized distributed ledger. Each block is linked sequentially to the previous block to ensure that the data on the chain is not tampered with, and each block contains many transactions. The task publisher needs to sign and publish the specific task content data, and the nodes participating in the consensus need to verify the task content and the signature. Therefore, to reduce the data storage burden of the blockchain, the vehicle networking system in this disclosure can also package the hash value of the data information (the value used to verify whether the data content has been tampered with) and then upload it to the blockchain, which can greatly reduce the data storage burden of the blockchain.

[0092] Step S30: Calculate the truth value of the collected results and generate the user's reputation value based on the truth value.

[0093] In some optional embodiments, the user's credibility needs to be assessed before a reputation score is generated. Specifically, this means the system verifies the accuracy of the aforementioned data collection results and then assigns a reputation score to the user based on the verification results.

[0094] In some optional embodiments, the verification process for the data uploaded by the user can be accomplished by assigning a predicted true value to the user and updating the assigned predicted true value. Specifically, this can be represented as follows: first, randomly select any value as the predicted true value of the collection result; then, assign weights to the collection result based on the predicted true value; finally, update the predicted true value based on the weights, and use the updated true value as the final true value.

[0095] In some optional embodiments, updating the estimated true value can be expressed as:

[0096]

[0097] Among them, t i To predict the true value, x k,i For data information, w k , where M is the weight and M is the number of participating users.

[0098] In some optional embodiments, assigning weights to the acquisition results based on the estimated true value may further include:

[0099] The difference between the collected results and the predicted true values ​​is calculated, and the calculated results are used as weights.

[0100] The weights can be expressed as:

[0101]

[0102] Among them, w k Represents the weight, t i To estimate the true value, d represents the difference between the collected results and t. i The difference between them is M, where M is the number of participating users, and f is a function with decreasing properties.

[0103] In some optional embodiments, step S30 further includes:

[0104] S301: Analyze the truth value to obtain a score for the truth value.

[0105] S302: Generate the user's reputation value based on the score.

[0106] In some optional embodiments, after obtaining the final truth value of the acquisition result through the above steps, the system can judge the accuracy of the acquisition result based on its final truth value. Specifically, it can first analyze the final truth value of the acquisition result to obtain a score for the truth value. Then, it assigns a reputation value to the acquisition result based on the score of the truth value.

[0107] In some alternative embodiments, the fraction of truth value can be expressed as:

[0108] G = rank × f(Δt) × h(A)

[0109] Where G represents the score, f(Δt) represents the user's response time, h(A) represents the size of the data, and rank represents the user's rating level.

[0110] In some optional embodiments, the aforementioned score can be understood as a rating of the user based on the weights received during the completion of the task instructions. This rating can be represented by a rank, and its range can specifically be from -5 to -1 and from 1 to 5. It is understood that the rating range can also be larger or smaller; this embodiment only uses -5 to -1 and 1 to 5 for specific demonstration.

[0111] In some optional embodiments, many factors can influence the reputation score, including the user's response time f(Δt) and the size of the data information h(A). In practice, the evaluation of the user's response time and the size of the data information can be mapped to numbers from 0 to 1. Therefore, the truth score can be expressed as G = rank × f(Δt) × h(A). After the system calculates the truth score, it can also sign the current truth score with the user's identity (which can be understood as confirming their behavior). Then, the user can submit the result to an authoritative institution, which can review the content and verify the system's signature. At the same time, the score is uploaded as the final reputation score to the unit created by the user in the vehicle networking system and bound to their personal information. As mentioned above, verification by multiple institutions can make the final reputation score more accurate and more representative of the user's reputation.

[0112] In some optional embodiments, the process of obtaining a reputation value can also be represented as follows: a user who has completed a task instruction (participated in data information transactions) will receive a reputation value based on factors such as the weight of their contribution after the task ends. This reputation value can also be bound to the user's identity (personal information), meaning it is also stored in the unit created by the user in the vehicle networking system. The user can submit this reputation value to a third-party authoritative institution, which can verify the reputation value, ultimately determining the accurate reputation value and using it to update the initial reputation value.

[0113] Step S40: In response to the reputation value being greater than a preset threshold, provide data services to the user.

[0114] In some optional embodiments, once a user's final reputation score is obtained, the decision to provide data services to that user can be based on the magnitude of that score. Specifically, a threshold (understood as a representative value evaluated through multiple trials) can be pre-set within the vehicle-to-everything (V2X) system. Then, when a user's reputation score is greater than the pre-set threshold, data services can be provided to that user. When the user's reputation score is less than the pre-set threshold, data services cannot be provided to that user.

[0115] In some optional embodiments, when a user's reputation score is below a preset threshold, the user cannot use the data service. To ensure fairness, the user can appeal the incident. When the vehicle-to-everything (V2X) system receives the user's appeal, it can temporarily activate the data service once to address the user's immediate need. Simultaneously, the system should record this appeal. If the number of appeals by the same user exceeds a preset value (e.g., 3 times), the V2X system will not activate the data service again for that user, and the user will have to wait until the appeal is successful before using the data service again.

[0116] In some optional embodiments, after receiving a user's appeal request, the vehicle-to-everything (V2X) system can reassess the user's reputation score, using the methods described above. The latest reputation score can then be used to update the user's original reputation score. If the latest reputation score exceeds a preset threshold, the appeal is successful, and the user can use data services. The V2X system can also compensate for any previous misjudgment of the user's reputation score (i.e., provide the user with a reward). If the latest reputation score is still below the preset threshold, the user is still ineligible for data services. It is understood that the user's reputation score is updated in real time; as long as the user completes more tasks within the V2X system, their reputation score will be updated.

[0117] In summary, this disclosure protects users' personal information by acquiring and encrypting it. Furthermore, it provides users with the data services they need by assigning different reputation values ​​to each user. Ultimately, these two methods address the shortcomings of existing technologies.

[0118] Based on the same technical concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a data service providing apparatus, through which the data service providing method described in any of the above embodiments can be implemented.

[0119] Figure 2 This is a schematic diagram of a data service providing apparatus provided in an embodiment of the present disclosure.

[0120] Figure 2 The data service providing apparatus shown further includes the following modules:

[0121] Information encryption module 10, information collection module 20, reputation value generation module 30, and service provision module 40;

[0122] The information encryption module 10 is configured to: acquire the user's personal information and encrypt the personal information to obtain encrypted personal information. Specifically, the following steps are performed:

[0123] Public and private keys are generated using a preset encryption algorithm, including:

[0124] A random value is pre-selected as the private key;

[0125] A finite field is generated based on a prime number of not less than a preset number of bits;

[0126] Several elliptic curves with bilinear mapping relationships are selected over the finite field;

[0127] Obtain the Nth-order generators of several of the elliptic curves;

[0128] The public key is calculated based on the N-order generator and the private key.

[0129] The personal information is encrypted using the public and private keys to obtain the encrypted personal information.

[0130] The information collection module 20 is configured to: collect the user's data information based on the encrypted personal information and task instructions, and obtain the collection results. Specifically, the following steps are performed:

[0131] The user's data information set is determined based on the encrypted personal information;

[0132] The data information in the data information set is collected based on the task instruction, and the collection result is obtained; wherein the collection result includes the data information corresponding to the task instruction.

[0133] The reputation value generation module 30 is configured to: calculate the truth value of the collected results, and generate the user's reputation value based on the truth value. Specifically, the following steps are performed:

[0134] Randomly select any value as the predicted true value of the collected results;

[0135] Weights are assigned to the collected results based on the estimated true value, including:

[0136] The difference between the collected results and the estimated true value is calculated, and the calculated result is used as the weight.

[0137] The weights are represented as follows:

[0138]

[0139] Among them, w k Represents the weight, t i To estimate the true value, d represents the difference between the collected results and t. i The difference between them, M is the number of participating users, and f is a function with decreasing properties;

[0140] The estimated true value is updated based on the weights, and the true value of the collected result is obtained.

[0141] The update of the estimated true value based on the weights is expressed as follows:

[0142]

[0143] Among them, t i To predict the true value, x k,i For data information, w k The weight is M, and the number of participating users is M.

[0144] The truth value is analyzed to obtain a score for the truth value;

[0145] The user's reputation score is generated based on the score;

[0146] The fraction is represented as:

[0147] G = rank × f(Δt) × h(A)

[0148] Where G represents the score, f(Δt) represents the user's response time, h(A) represents the size of the data, and rank represents the user's rating level.

[0149] The service providing module 40 is configured to provide data services to the user in response to the reputation value being greater than a preset threshold.

[0150] Based on the same technical concept, corresponding to the methods of any of the above embodiments, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the data service provision method described in any of the above embodiments.

[0151] Figure 3 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0152] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0153] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0154] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0155] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0156] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0157] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0158] The electronic devices described above are used to implement the corresponding data service provision methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0159] Based on the same technical concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the data service provision method as described in any of the above embodiments.

[0160] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0161] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to perform the data service provision method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0162] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this disclosure (including the claims) is limited to these examples; within the framework of this disclosure, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this disclosure as described above, which are not provided in detail for the sake of brevity.

[0163] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this disclosure, the provided drawings may or may not show well-known power / ground connections to integrated circuit (IC) chips and other components. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this disclosure, and this also takes into account the fact that the details of implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this disclosure will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuitry) have been set forth to describe exemplary embodiments of this disclosure, it will be apparent to those skilled in the art that the embodiments of this disclosure may be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0164] Although this disclosure has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0165] This disclosure is intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A method for providing a data service, characterized in that, include: Obtain the user's personal information and encrypt the personal information to obtain encrypted personal information; The user's data information set is determined based on the encrypted personal information; The data information in the data information set is collected based on the task instructions, and the collection results are obtained; The acquisition results include data information corresponding to the task instructions; Randomly select any value as the predicted true value of the collected results; The difference between the collected results and the estimated true value is calculated using a function with decreasing properties, and the calculated result is used as the weight of the collected results. The estimated true value is updated based on the weights to obtain the true value of the collection result; the updating of the estimated true value based on the weights is expressed as: ,in, To estimate the true value, For data information, The weight is M, and the number of participating users is M. The task number; The truth value is analyzed to obtain a score; the user's reputation score is generated based on the score; the score is represented as: ,in, Representing fractions, Indicates the user's response time. The size of the data information, the user's response time, and the assessment of the size of the data information are mapped to numbers from 0 to 1. The user's rating level is determined by the weight; In response to the reputation value exceeding a preset threshold, data services are provided to the user.

2. The method according to claim 1, characterized in that, The process of obtaining user personal information and then encrypting that personal information to obtain encrypted personal information includes: A public and private key are generated using a preset encryption algorithm; The personal information is encrypted using the public and private keys to obtain the encrypted personal information.

3. The method according to claim 2, characterized in that, The process of generating public and private keys using a preset encryption algorithm includes: A random value is pre-selected as the private key; Generate finite fields based on prime numbers of at least 160 bits; Several elliptic curves with bilinear mapping relationships are selected over the finite field; Obtain the Nth-order generators of several of the elliptic curves; The public key is calculated based on the N-order generator and the private key.

4. A data service providing apparatus, characterized in that, include: The information encryption module is configured to: obtain the user's personal information and encrypt the personal information to obtain encrypted personal information; The information collection module is configured to: determine the user's data information set based on the encrypted personal information; The data information in the data information set is collected based on the task instructions, and the collection results are obtained; The acquisition results include data information corresponding to the task instructions; The reputation value generation module is configured to randomly select any value as the estimated true value of the collected results; The difference between the collected results and the estimated true value is calculated using a function with decreasing properties, and the calculated result is used as the weight of the collected results. The estimated true value is updated based on the weights to obtain the true value of the collection result; the updating of the estimated true value based on the weights is expressed as: ,in, To estimate the true value, For data information, The weight is M, and the number of participating users is M. Let the task number be used; analyze the truth value to obtain a score; generate the user's reputation score based on the score; the score is represented as: ,in, Representing fractions, Indicates the user's response time. The size of the data information, the user's response time, and the assessment of the size of the data information are mapped to numbers from 0 to 1. The user's rating level is determined by the weight; The service providing module is configured to provide data services to the user in response to the reputation value being greater than a preset threshold.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 3.

6. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 3.