Blockchain-based data service value assessment method
Patent Information
- Application Number
- CN202110841153.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-23
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2041-07-23
AI Technical Summary
[0009]本发明的目的是提供一种基于区块链的数据服务价值评估方法,这是一种去中心化的、客观的数据服务价值评估方法,用于实现企业各种数据服务的注册、数据服务使用、数据服务价值评估、数据服务价值发布,以解决数据服务价值不能得到客观评估和体现的问题
[0053]第一、采用了区块链技术,使数据服务价值评估更加客观,解决了传统的数据服务价值评估体系中主观性强的问题。
Smart Images

Figure CN115689318B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data service value assessment technology, and in particular to a blockchain-based data service value assessment method. Background Technology
[0002] The state has listed data as a crucial factor of production, and data resources have truly become core strategic assets for enterprises. However, enterprise data resources are often scattered across databases in various application systems, leading to issues such as duplicate data collection, inconsistent data standards, and inconsistent statistical definitions. Furthermore, the use of one-to-one data interfaces for data services increases the workload of data interface development and maintenance, and can easily cause instability, posing significant challenges to data discovery and utilization. To address this, some enterprises have established data centers to provide unified data services, but this has also brought problems such as the inability to objectively and effectively assess the value of data services, increased complexity in data service management, and a greater workload for data management personnel.
[0003] To address the issue of unified data services across different systems, a number of similar products or tools have emerged on the market. However, none of them can fully resolve the issues of objectivity in data service value assessment, data service quality, data service efficiency, and the complexity of data service operation and maintenance management, and they have many shortcomings.
[0004] These products or tools cannot fully meet the needs of data service value assessment. The main reason is that the current data service system of enterprises adopts a centralized data service technology architecture. That is, the data resources of each application system are loaded into the data center according to the unified data architecture and unified data standards, and the data center provides unified data services to the outside world. However, the data service value assessment is highly subjective. Therefore, how to ensure the objectivity of data service value assessment and reflect the true value of data services is the biggest technical bottleneck that currently hinders similar products or tools from achieving data service value assessment.
[0005] Chinese patent application CN202010412806.7 involves various methods, apparatuses, devices, and systems for providing business services based on blockchain. One method includes: receiving first business information of a target business provided by a first user, storing the first business information of the target business in a blockchain, and writing the first business information of the target business into a smart contract pre-deployed on the blockchain; receiving second business information of the target business provided by a second user, and storing the second business information based on the smart contract; upon receiving a business evaluation request for the second business information of the target business sent by a third party, obtaining the second business information based on the smart contract, and sending the second business information to the third party for evaluation processing to obtain business evaluation information of the second business information; receiving and storing the business evaluation information; and sending the business evaluation information to the first user and / or the second user upon receiving a query request from the first user and / or the second user.
[0006] Chinese patent application CN201810476443.6 discloses a blockchain-based resource value assessment method and apparatus, wherein the blockchain includes a plurality of device nodes equipped with sensors for sensing or collecting parameters related to the resource value. The method includes: acquiring information data published on the blockchain, wherein the information data is published on the blockchain by the plurality of sensor-equipped device nodes, and the information data includes the parameters related to the resource value; determining whether the parameter values in the information data exceed a preset threshold or threshold range; and if so, calculating the value of the resource according to a preset resource value assessment logic.
[0007] Chinese patent application CN201911301355.3 discloses a blockchain-based IoT data service reputation evaluation model, characterized by: a bottom-up structure consisting of a data plane, a control plane, and an interaction plane; the data plane comprising a data source layer and an IPFS layer; the data source layer composed of data sources managed by different IoT organizations, laboratories, or individuals; storage methods including cloud storage, FTP, and local databases; and relational databases such as MySQL and MongoDB. DB stands for Non-Relational Database; the IPFS layer is used to build the IPFS network; the IPFS network is responsible for storing various data information that occupy a large amount of space, including detailed data descriptions, popular data, and data access messages; the control plane provides users with completely transparent and reliable data connection and management operations through blockchain and smart contracts; the blockchain layer is the foundation for realizing the overall decentralized architecture, recording all key business processes in a transactional manner and ensuring that they are not tampered with; the contract layer is the core of the business logic, written in Solidity, and includes three modules: account management, data management, and data quality evaluation; account management implements user access, data source account information management, and system access control; data management includes data publishing, data retrieval, data subscription, data request, data access permission control, data location, and download; data quality evaluation includes data quality evaluation, user reputation scoring, malicious node detection, and reputation calculation; the interaction plane acts as a software connector between the user and the control plane; based on the concept of interface programming, the service layer separates function definition and implementation through standardized function call interfaces and packages smart contract functions into different services; the presentation layer provides a visual interface for data exchange parties to communicate with each other.
[0008] The existing technologies described above are significantly different from our invention and have failed to solve the technical problems we seek to address. Therefore, we have invented a new blockchain-based, decentralized data service value assessment method that solves the aforementioned technical problems. Summary of the Invention
[0009] The purpose of this invention is to provide a blockchain-based data service value assessment method. This is a decentralized and objective data service value assessment method used to realize the registration, use, value assessment, and value publication of various data services for enterprises, thereby solving the problem that the value of data services cannot be objectively assessed and reflected.
[0010] The objective of this invention can be achieved through the following technical measures: a data service value assessment method based on blockchain technology, which includes:
[0011] Step 1: Register information on data service providers and data service users, and design data service value assessment indicators;
[0012] Step 2: The data service provider registers the data service.
[0013] Step 3: The data service provider publishes the data service;
[0014] Step 4: The data service user invokes the data service;
[0015] Step 5: Calculate the value of data services;
[0016] Step 6: Release the value of data services.
[0017] The objective of this invention can also be achieved through the following technical measures:
[0018] In step 1, the registered data service provider information includes the data service provider name, contact person name, and contact information; the registered data service user information includes the data service user name, application system name, development language, contact person name, and contact information.
[0019] In step 1, a data service value assessment index system is designed. First, a basic assessment index pool is established, covering all indicators for data service value assessment and can be expanded as needed. The specific assessment scheme is composed of several indicators selected from the assessment index pool. Each indicator has a default assessment standard and weight coefficient. The assessment standard and weight coefficient of each indicator can be adjusted as needed. Finally, a complete calculation formula is synthesized, and a data service registration portal is provided.
[0020] In step 2, the data service provider registers its data service through the data service registration portal in step 1, ensuring that the registered data service does not duplicate existing data services. The registration information is then broadcast to other data service providers. After confirmation by a specified number of data service providers, the data service registration information is added to the blockchain.
[0021] Step 2 includes:
[0022] (2a) Data service providers register data services through the data service registration portal. When registering a data service, the data service provider shall include the data service identifier, data service name, a list and description of input parameters when calling the data service, the expected return result data format, a data service call example, and permission description. The data service identifier is uniformly generated by the blockchain and is globally unique and runs through the entire life cycle of the data service. A block can only contain one data service.
[0023] (2b) The data service provider checks whether the data service is duplicated. If the data service is duplicated, the registration cannot be successful and the data service status is marked as application failed because the data service is duplicated. If the data service is not duplicated, the data service registration information is broadcast to other data service providers.
[0024] (2c) Other data service providers confirm the newly registered data service through blockchain technology. Only when a certain number of data service providers confirm the data service with their keys will the data service be recognized as a valid data service. Otherwise, the data service block will be discarded as a short chain.
[0025] In step 3, after the newly registered data service is confirmed to be valid, it enters the queue of data services to be published, waiting to be published. The data service provider then publishes the data service on the data service platform for potential data service users to call.
[0026] Step 3 includes:
[0027] (3a) The data service provider sets the data service usage permissions, including the data service user's access permissions, permissions to data fields, and permissions to data content;
[0028] (3b) The data service provider shall explain the conditions for input parameters when calling the data service, specifying which conditions are mandatory and which are optional.
[0029] (3c) The data service provider shall provide a description of the expected output results, including the format, encoding, and whether the results are encrypted;
[0030] (3d) The data service provider officially releases the microservice call interface for the data service and provides a call example;
[0031] (3e) Data service providers monitor the operational health of the data services they provide to ensure the availability and efficiency of the data services.
[0032] In step 4, the data service user follows the data service interface and instructions published by the data service provider to call the published data service, receive the returned result data, and supply it to the application system. When calling the required data service, the data service user uses blockchain dual-key authentication technology to control the data service access permissions, and unauthorized users cannot call the data service.
[0033] Step 4 includes:
[0034] (4a) Data service users retrieve the data services they need from the data service platform;
[0035] (4b) Data service users refer to the example to call the required data service;
[0036] (4c) The data service user receives the result data returned by the data service and processes it accordingly in its own application system;
[0037] (4d) The history of this data service call is registered in the blockchain.
[0038] In step 5, the value of the data service is calculated based on the data service call records in the blockchain, according to the formula and set parameters, to reflect the objective value of the data service.
[0039] Step 5 includes:
[0040] (5a) Set a base value for the value of data services and record this value in the blockchain;
[0041] (5b) Set the data service coefficients for each application system;
[0042] (5c) Based on the data service value blockchain, count the number of times data services are used on the same day;
[0043] (5d) Calculate the value of each data service according to the formula.
[0044] In step 5d, the formula for calculating the value of each data service is:
[0045]
[0046] Among them, V ds V represents the current value of the data service; base V represents the fundamental value of data services. use_last λi represents the most recent usage value of the data service, λi represents the weight coefficient of the data service user, Ni represents the number of times the data service user actually called the data service on that day, and N represents the total number of times the data service user called the data service on that day. total This represents the total number of times all data services were invoked on that day.
[0047] In step 6, data services that are widely recognized will be rewarded through data service value release, while data services that have not been used for a long time will cease to provide services to the public.
[0048] Step 6 includes:
[0049] (6a) Adhere to the data service value assessment system and publish a data service value ranking list;
[0050] (6b) For data service providers that provide high-value data services, priority shall be awarded for publishing data services, that is, if two data service providers submit the same data service at the same time, the data service provider with high value shall have priority.
[0051] (6c) Data services that have reached the minimum score for data service value assessment will be discontinued.
[0052] The data service value assessment method based on blockchain of the present invention establishes a decentralized data service value assessment system, allowing data service providers to register their data services. After confirmation by a specified number of data service providers, the data service is officially released for all potential data service users to access. After accessing the data service, users register their usage records in the blockchain. Finally, a weighted calculation is performed based on the data service usage records in the blockchain, and each data service receives a reasonable score representing its intrinsic value. The main advantages of this invention are as follows:
[0053] First, it adopts blockchain technology, which makes the assessment of data service value more objective and solves the problem of strong subjectivity in the traditional data service value assessment system.
[0054] Secondly, the confirmation of data service registration adopted blockchain technology, which enabled multi-party verification, reducing the management costs of the data management department and improving overall work efficiency.
[0055] Third, assessing the value of data services based on publicly available and tamper-proof data service usage records resolves the issue of data service provider credibility. Providers of high-quality data services are rewarded, while those providing substandard services are penalized accordingly. Simultaneously, this effectively prevents malicious evaluations of certain data services by individual users.
[0056] Fourth, decomposing the management responsibility of data services to each data service provider can greatly reduce the workload of the data management department and facilitate the refined and scientific management of data services. Attached Figure Description
[0057] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0058] Figure 1 A flowchart illustrating a specific embodiment of the blockchain-based data service value assessment method of the present invention;
[0059] Figure 2 A flowchart illustrating the construction of a decentralized data service value assessment system in a specific embodiment of the present invention;
[0060] Figure 3 This is a flowchart illustrating a data service registration process based on blockchain technology in a specific embodiment of the present invention.
[0061] Figure 4 This is a flowchart illustrating the data service publishing process in a specific embodiment of the present invention;
[0062] Figure 5 This is a flowchart illustrating the data service invocation process in a specific embodiment of the present invention. Detailed Implementation
[0063] To make the above and other objects, technical solutions, and advantages of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of the present application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without inventive effort are within the scope of protection of the present application.
[0064] The blockchain-based data service value assessment method of the present invention includes the following steps:
[0065] Step 101: Register information on data service providers and data service users, and design data service value assessment indicators;
[0066] Step 102: The data service provider registers the data service.
[0067] Step 103: The data service provider publishes the data service;
[0068] Step 104: The data service user invokes the data service;
[0069] Step 105: Calculate the value of data services;
[0070] Step 106: Release the value of data services.
[0071] Example 1:
[0072] In a specific embodiment 1 of the present invention, the blockchain-based data service value assessment method of the present invention includes the following steps:
[0073] Step 101, as follows Figure 2 The flowchart shown illustrates the process of building a decentralized data service value assessment system, which includes three parts:
[0074] (1) Register the information of the data service provider, including the name of the data service provider (unit or organization name), database type, contact person's name, and contact information.
[0075] (2) Register the information of the data service user, including the name of the data service user (unit or organization name), the name of the application system, the development language, the name of the contact person, and the contact information.
[0076] (3) Design a data service value assessment index system, including calculation formulas, design data service value assessment indicators, set data service value assessment standards and correlation coefficients, and provide a data service registration portal.
[0077] Step 102: The data service provider registers its data service on the data service platform, attaching the corresponding test documentation to ensure the data service has undergone rigorous testing and that the registered data service does not duplicate existing data services. The registered data service forms a valid data service block and is added to the data service blockchain.
[0078] Step 102 implementation process, as follows Figure 3 As shown:
[0079] (1) Data service provider A registers its data service through the data service registration portal, including the data service identifier, data service name, a list and description of input parameters when calling the data service, the expected return result data format, a data service call example, and permission instructions. The data service identifier is uniformly generated by the blockchain and is globally unique, persisting throughout the entire lifecycle of the data service; data service provider A cannot modify it. Data service provider A also needs to provide actual test documentation for the data service.
[0080] (2) Check if the data service is duplicated. If the data service is duplicated, the registration will fail and the data service status will be marked as "application failed" because "duplicate data service". If the data service is not duplicated, broadcast the data service registration information to other data service providers (data service provider B, data service provider C, ... data service provider N).
[0081] (3) Other data service providers confirm the newly registered data service through blockchain technology. Only when more than a certain number of data service providers confirm the data service with a key will the data service be recognized as a valid data service. Otherwise, the data service block will be discarded as a short chain.
[0082] (4) Once the data service is uploaded to the blockchain and is validly confirmed, the block containing the data service will be added to the overall data service blockchain as a valid block, indicating that the data service has officially come into effect and the status of the data service will be marked as "unpublished".
[0083] Step 103: After the newly registered data service is confirmed to be valid, it enters the queue of data services to be published, and waits to be published on the data service platform for potential data service users to call.
[0084] Step 103 implementation process, such as Figure 4 As shown:
[0085] (1) After the data service provider A registers a new data service and it is confirmed as valid by other data service providers, it enters the queue of data services to be published. The queue adopts the FIFO (first-in, first-out) principle and publishes data services in the order they enter the queue.
[0086] (2) Data service provider A sets data service usage permissions, including access permissions for data service users, permissions for data fields, and permissions for data content;
[0087] (3) Data service provider A shall explain the conditions for input parameters when calling the data service, specifying which conditions are mandatory and which are optional.
[0088] (4) Data service provider A shall provide an explanation of the expected output results, including the format, encoding, and whether the results are encrypted.
[0089] (5) Data service provider A officially releases the microservice call interface for the data service and provides a call example;
[0090] (6) The information of the data service will be broadcast to all potential data service users, indicating that the data service is in operation;
[0091] (7) Data service provider A monitors the operational health of the data service to ensure its availability.
[0092] Step 104: The data service user writes code to call the published data service based on the data service interface and instructions published by data service provider A, receives the returned result data, and supplies it to the user system.
[0093] Step 104 implementation process, such as Figure 5 As shown:
[0094] (1) Data service users retrieve the data services they need from the data service platform;
[0095] (2) Data service users write code in their own application systems to call the required data services;
[0096] (3) The data service checks the permissions of the data service user. If the permissions do not meet the requirements, the corresponding error code is returned.
[0097] (4) The data service checks the input parameters. If the parameters do not meet the requirements, it returns the corresponding error code.
[0098] (5) The data service accesses the database and retrieves the corresponding data according to the input parameters;
[0099] (6) The data service checks the data content, removes data that the data service user does not have access to, and packages the data that meets the conditions and returns it to the data service user;
[0100] (7) The data service user receives the results returned by the data service and unpacks them, and then processes them accordingly in its own application system.
[0101] (8) This data service call is recorded in the blockchain as the basis for the data service value assessment. The information is public and cannot be tampered with.
[0102] Step 105: Based on the data service usage records stored in the blockchain, automatically calculate the value of the data service to reflect the objectivity of the data service value.
[0103] Formula for calculating the value of data services:
[0104] V ds =V base +V use
[0105] Among them, V ds V represents the current value of the data service; base This represents the fundamental value of the data service; this fundamental value is set by management and can be adjusted as needed; V use This represents the current use value of the data service. The use value is dynamic and its calculation formula is as follows:
[0106] V use =V use_last +V use_current
[0107] Among them, V use_last This represents the value of the data service in the most recent evaluation. If it's the first evaluation, this value is 0; otherwise, it's the V value from the previous evaluation. use The value is used as V in this case. use_last Value; V use_currentThis represents the usage value of the data service on that day. This value is calculated based on the data service usage recorded in the blockchain, and the calculation formula is as follows:
[0108] V use_current =N this_ds / N total
[0109] Where, N this_ds N represents the weighted number of times the data service was accessed that day. total This represents the total number of times all data services were invoked that day (unweighted). N this_ds The calculation formula is as follows:
[0110]
[0111] Wherein, λi represents the weight coefficient of the data service user (application system), which is set by the administrator; Ni represents the number of times the data service user (application system) actually calls the data service on that day.
[0112] The above formulas are combined into the general formula:
[0113]
[0114] Step 105 includes:
[0115] (1) Set a base value for the data service and record this value in the blockchain. This base value can be adjusted according to needs;
[0116] (2) Set the weight coefficients for each application system. The set of weight coefficient values is {0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1}. The setting principle is: the more important the application system (such as the core business system), the larger its weight coefficient.
[0117] (3) Based on the actual records of data service calls to the blockchain, calculate the number of data service usages for the day according to the above formula;
[0118] (4) Calculate the value of each data service based on the above formula.
[0119] Step 106: Release the value of data services. Data services that are widely recognized will be rewarded, while data services that have not been used for a long time will cease to be available to the public.
[0120] Step 106 includes:
[0121] (1) Follow the data service value assessment system, conduct hotspot analysis, and publish the data service value ranking;
[0122] (2) For data service providers that provide high-value data services, priority shall be awarded for publishing data services. That is, if two data service providers submit the same data service at the same time, the data service provider with high value shall have priority.
[0123] (3) Data services that reach the minimum score for data service value assessment will be discontinued.
[0124] Example 2:
[0125] In a specific embodiment 2 of the present invention, the blockchain-based data service value assessment method of the present invention includes the following steps:
[0126] Step 101, as follows Figure 2 The flowchart shown illustrates the process of building a decentralized data service value assessment system, which includes three parts:
[0127] (1) Register the information of the data service provider, including the name of the data service provider (unit or organization name), database type, contact person's name, and contact information.
[0128] (2) Register the information of the data service user, including the name of the data service user (unit or organization name), the name of the application system, the development language, the name of the contact person, and the contact information.
[0129] (3) Design a data service value assessment index system, including calculation formulas, design data service value assessment indicators, set data service value assessment standards and correlation coefficients, and provide a data service registration portal.
[0130] Step 102: The data service provider registers its data service on the data service platform, attaching the corresponding test documentation to ensure the data service has undergone rigorous testing and that the registered data service does not duplicate existing data services. The registered data service forms a valid data service block and is added to the data service blockchain.
[0131] Step 102 implementation process, as follows Figure 3 As shown:
[0132] (1) Data service provider A registers its data service through the data service registration portal, including the data service identifier, data service name, a list and description of input parameters when calling the data service, the expected return result data format, a data service call example, and permission instructions. The data service identifier is uniformly generated by the blockchain and is globally unique, persisting throughout the entire lifecycle of the data service; data service provider A cannot modify it. Data service provider A also needs to provide actual test documentation for the data service.
[0133] (2) Check if the data service is duplicated. If the data service is duplicated, the registration will fail and the data service status will be marked as "application failed" because "duplicate data service". If the data service is not duplicated, broadcast the data service registration information to other data service providers (data service provider B, data service provider C, ... data service provider N).
[0134] (3) Other data service providers confirm the newly registered data service through blockchain technology. Only when more than a certain number of data service providers confirm the data service with a key will the data service be recognized as a valid data service. Otherwise, the data service block will be discarded as a short chain.
[0135] (4) Once the data service is uploaded to the blockchain and is validly confirmed, the block containing the data service will be added to the overall data service blockchain as a valid block, indicating that the data service has officially come into effect and the status of the data service will be marked as "unpublished".
[0136] Step 103: After the newly registered data service is confirmed to be valid, it enters the queue of data services to be published, and waits to be published on the data service platform for potential data service users to call.
[0137] Step 103 implementation process, such as Figure 4 As shown:
[0138] (1) After the data service provider A registers a new data service and it is confirmed as valid by other data service providers, it enters the queue of data services to be published. The queue adopts the FIFO (first-in, first-out) principle and publishes data services in the order they enter the queue.
[0139] (2) Data service provider A sets data service usage permissions, including access permissions for data service users, permissions for data fields, and permissions for data content;
[0140] (3) Data service provider A shall explain the conditions for input parameters when calling the data service, specifying which conditions are mandatory and which are optional.
[0141] (4) Data service provider A shall provide an explanation of the expected output results, including the format, encoding, and whether the results are encrypted.
[0142] (5) Data service provider A officially releases the microservice call interface for the data service and provides a call example;
[0143] (6) The information of the data service will be broadcast to all potential data service users, indicating that the data service is in operation;
[0144] (7) Data service provider A monitors the operational health of the data service to ensure its availability.
[0145] Step 104: The data service user writes code to call the published data service based on the data service interface and instructions published by data service provider A, receives the returned result data, and supplies it to the user system.
[0146] Step 104 implementation process, such as Figure 5 As shown:
[0147] (1) Data service users retrieve the data services they need from the data service platform;
[0148] (2) Data service users write code in their own application systems to call the required data services;
[0149] (3) The data service checks the permissions of the data service user. If the permissions do not meet the requirements, the corresponding error code is returned.
[0150] (4) The data service checks the input parameters. If the parameters do not meet the requirements, it returns the corresponding error code.
[0151] (5) The data service accesses the database and retrieves the corresponding data according to the input parameters;
[0152] (6) The data service checks the data content, removes data that the data service user does not have access to, and packages the data that meets the conditions and returns it to the data service user;
[0153] (7) The data service user receives the results returned by the data service and unpacks them, and then processes them accordingly in its own application system.
[0154] (8) This data service call is recorded in the blockchain as the basis for the data service value assessment. The information is public and cannot be tampered with.
[0155] Step 105: Based on the data service usage records stored in the blockchain, automatically calculate the value of the data service to reflect the objectivity of the data service value.
[0156] Formula for calculating the value of data services:
[0157] V ds =V base +V use
[0158] Among them, V ds V represents the current value of the data service; base This represents the fundamental value of the data service; this fundamental value is set by management and can be adjusted as needed; Vuse This represents the current use value of the data service. The use value is dynamic and its calculation formula is as follows:
[0159] V use =V use_last +V use_current
[0160] Among them, V use_last This represents the value of the data service in the most recent evaluation. If it's the first evaluation, this value is 0; otherwise, it's the V value from the previous evaluation. use The value is used as V in this case. use_last Value; V use_current This represents the usage value of the data service on that day. This value is calculated based on the data service usage recorded in the blockchain, and the calculation formula is as follows:
[0161] V use_current =N this_ds / N total
[0162] Where, N this_ds N represents the weighted number of times the data service was accessed that day. total This represents the total number of times all data services were invoked that day (unweighted). N this_ds The calculation formula is as follows:
[0163]
[0164] Wherein, λi represents the weight coefficient of the data service user (application system), which is set by the administrator; Ni represents the number of times the data service user (application system) actually calls the data service on that day.
[0165] The above formulas are combined into the general formula:
[0166]
[0167] Step 105 includes:
[0168] (1) Set a base value for the data service and record this value in the blockchain. This base value can be adjusted according to needs;
[0169] (2) Based on the big data of application system access logs, the weight coefficient of each application system is automatically calculated. The calculation formula is: weight coefficient of application system S = access volume of application system S / total access volume of all application systems. The minimum value of the weight coefficient is 0, and the maximum value will not exceed 1.
[0170] (3) Based on the actual records of data service calls to the blockchain, calculate the number of data service usages for the day according to the above formula;
[0171] (4) Calculate the value of each data service based on the above formula.
[0172] Step 106: Release the value of data services. Data services that are widely recognized will be rewarded, while data services that have not been used for a long time will cease to be available to the public.
[0173] Step 106 includes:
[0174] (1) Follow the data service value assessment system, conduct hotspot analysis, and publish the data service value ranking;
[0175] (2) For data service providers that provide high-value data services, priority shall be awarded for publishing data services. That is, if two data service providers submit the same data service at the same time, the data service provider with high value shall have priority.
[0176] (3) Data services that reach the minimum score for data service value assessment will be discontinued.
[0177] Example 3:
[0178] In a specific embodiment 3 of the present invention, the blockchain-based data service value assessment method of the present invention includes the following steps:
[0179] Step 101, as follows Figure 2 The flowchart shown illustrates the process of building a decentralized data service value assessment system, which includes three parts:
[0180] (1) Register the information of the data service provider, including the name of the data service provider (unit or organization name), database type, contact person's name, and contact information.
[0181] (2) Register the information of the data service user, including the name of the data service user (unit or organization name), the name of the application system, the development language, the name of the contact person, and the contact information.
[0182] (3) Design a data service value assessment index system, including calculation formulas, design data service value assessment indicators, set data service value assessment standards and correlation coefficients, and provide a data service registration portal.
[0183] Step 102: The data service provider registers its data service on the data service platform, attaching the corresponding test documentation to ensure the data service has undergone rigorous testing and that the registered data service does not duplicate existing data services. The registered data service forms a valid data service block and is added to the data service blockchain.
[0184] Step 102 implementation process, as follows Figure 3 As shown:
[0185] (1) Data service provider A registers its data service through the data service registration portal, including the data service identifier, data service name, a list and description of input parameters when calling the data service, the expected return result data format, a data service call example, and permission instructions. The data service identifier is uniformly generated by the blockchain and is globally unique, persisting throughout the entire lifecycle of the data service; data service provider A cannot modify it. Data service provider A also needs to provide actual test documentation for the data service.
[0186] (2) Check if the data service is duplicated. If the data service is duplicated, the registration will fail and the data service status will be marked as "application failed" because "duplicate data service". If the data service is not duplicated, broadcast the data service registration information to other data service providers (data service provider B, data service provider C, ... data service provider N).
[0187] (3) Other data service providers confirm the newly registered data service through blockchain technology. Only when more than a certain number of data service providers confirm the data service with a key will the data service be recognized as a valid data service. Otherwise, the data service block will be discarded as a short chain.
[0188] (4) Once the data service is uploaded to the blockchain and is validly confirmed, the block containing the data service will be added to the overall data service blockchain as a valid block, indicating that the data service has officially come into effect and the status of the data service will be marked as "unpublished".
[0189] Step 103: After the newly registered data service is confirmed to be valid, it enters the queue of data services to be published, and waits to be published on the data service platform for potential data service users to call.
[0190] Step 103 implementation process, such as Figure 4 As shown:
[0191] (1) After the data service provider A registers a new data service and it is confirmed as valid by other data service providers, it enters the queue of data services to be published. The queue adopts the FIFO (first-in, first-out) principle and publishes data services in the order they enter the queue.
[0192] (2) Data service provider A sets data service usage permissions, including access permissions for data service users, permissions for data fields, and permissions for data content;
[0193] (3) Data service provider A shall explain the conditions for input parameters when calling the data service, specifying which conditions are mandatory and which are optional.
[0194] (4) Data service provider A shall provide an explanation of the expected output results, including the format, encoding, and whether the results are encrypted.
[0195] (5) Data service provider A officially releases the microservice call interface for the data service and provides a call example;
[0196] (6) The information of the data service will be broadcast to all potential data service users, indicating that the data service is in operation;
[0197] (7) Data service provider A monitors the operational health of the data service to ensure its availability.
[0198] Step 104: The data service user writes code to call the published data service based on the data service interface and instructions published by data service provider A, receives the returned result data, and supplies it to the user system.
[0199] Step 104 implementation process, such as Figure 5 As shown:
[0200] (1) Data service users retrieve the data services they need from the data service platform;
[0201] (2) Data service users write code in their own application systems to call the required data services;
[0202] (3) The data service checks the permissions of the data service user. If the permissions do not meet the requirements, the corresponding error code is returned.
[0203] (4) The data service checks the input parameters. If the parameters do not meet the requirements, it returns the corresponding error code.
[0204] (5) The data service accesses the database and retrieves the corresponding data according to the input parameters;
[0205] (6) The data service checks the data content, removes data that the data service user does not have access to, and packages the data that meets the conditions and returns it to the data service user;
[0206] (7) The data service user receives the results returned by the data service and unpacks them, and then processes them accordingly in its own application system.
[0207] (8) This data service call is recorded in the blockchain as the basis for the data service value assessment. The information is public and cannot be tampered with.
[0208] Step 105: Based on the data service usage records stored in the blockchain, automatically calculate the value of the data service to reflect the objectivity of the data service value.
[0209] Formula for calculating the value of data services:
[0210] V ds =V base +V use
[0211] Among them, V ds V represents the current value of the data service; base This represents the fundamental value of the data service; this fundamental value is set by administrators and can be adjusted as needed; V use This represents the current use value of the data service. The use value is dynamic and its calculation formula is as follows:
[0212] V use =V use_last +V use_current
[0213] Among them, V use_last This represents the value of the data service in the most recent evaluation. If it's the first evaluation, this value is 0; otherwise, it's the V value from the previous evaluation. use The value is used as V in this case. use_last Value; V use_current This represents the usage value of the data service on that day. This value is calculated based on the data service usage recorded in the blockchain, and the calculation formula is as follows:
[0214] V use_current =N this_ds / N total
[0215] Where, N this_ds N represents the weighted number of times the data service was accessed that day. total This represents the total number of times all data services were invoked that day (unweighted). N this_ds The calculation formula is as follows:
[0216]
[0217] Wherein, λi represents the weight coefficient of the data service user (application system), which is set by the administrator; Ni represents the number of times the data service user (application system) actually calls the data service on that day.
[0218] The above formulas are combined into the general formula:
[0219]
[0220] Step 105 includes:
[0221] (1) Set a base value for the data service and record this value in the blockchain. This base value can be adjusted according to needs;
[0222] (2) Set the weight coefficients for each application system. The set of weight coefficient values is {0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1}. The setting principle is: the more important the application system (such as the core business system), the larger its weight coefficient.
[0223] (3) Based on the actual records of data service calls to the blockchain, calculate the number of data service usages for the day according to the above formula;
[0224] (4) Calculate the value of each data service based on the above formula.
[0225] Step 106: Release the value of data services. Data services that are widely recognized will be rewarded, while data services that have not been used for a long time will cease to be available to the public.
[0226] Step 106 includes:
[0227] (1) Follow the data service value assessment system, conduct hotspot analysis, and publish the data service value ranking;
[0228] (2) For data service providers that provide high-value data services, priority shall be awarded for publishing data services. That is, if two data service providers submit the same data service at the same time, the data service provider with high value shall have priority.
[0229] (3) Data services that reach the minimum score for data service value assessment will be discontinued;
[0230] (4) Any party within the data service system may initiate a vote to suspend data services. The vote will be conducted anonymously via blockchain to determine whether to suspend one or more data services. If the number of votes supporting suspension reaches the required number within the specified time, the data service will be suspended immediately. If the number of votes supporting suspension does not reach the required number within the specified time, the vote will be closed and the data service will remain in its original state.
[0231] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
[0232] Except for the technical features described in the specification, all other technologies are known to those skilled in the art.
Claims
1. A data service value assessment method based on blockchain, characterized in that, The blockchain-based data service value assessment method includes: Step 1: Register information on data service providers and data service users, and design data service value assessment indicators; Step 2: The data service provider registers the data service. Step 3: The data service provider publishes the data service; Step 4: The data service user invokes the data service; Step 5, calculate the value of the data service using the following formula: V ds = V base + (V use_last + / N total ), Among them, V ds V represents the current value of the data service; base V represents the fundamental value of data services. use_last This indicates the value of the most recent use of the data service. This represents the weighting coefficient of the data service user. This indicates the number of times the data service was actually accessed by the user on that day. This indicates the weighted number of times the data service was accessed that day. / N total V represents the usage value of the data service on that day. use_last + / N total N represents the current use value of the data service. total This represents the total number of times all data services were accessed that day. Step 6: Release the value of data services.
2. The data service value assessment method based on blockchain according to claim 1, characterized in that, In step 1, the registered data service provider information includes the data service provider name, contact person name, and contact information; the registered data service user information includes the data service user name, application system name, development language, contact person name, and contact information.
3. The data service value assessment method based on blockchain according to claim 1, characterized in that, In step 1, a data service value assessment index system is designed. First, a basic assessment index pool is established, covering all data service value assessment indicators and can be expanded as needed. The specific evaluation scheme is composed of several indicators selected from the evaluation indicator pool. Each indicator has a default evaluation standard and weight coefficient. The evaluation standard and weight coefficient of each indicator can be adjusted as needed. Finally, a complete calculation formula is synthesized, and a data service registration portal is provided.
4. The data service value assessment method based on blockchain according to claim 3, characterized in that, In step 2, the data service provider registers its data service through the data service registration portal in step 1, ensuring that the registered data service does not duplicate existing data services. The registration information is then broadcast to other data service providers. After confirmation by a specified number of data service providers, the data service registration information is added to the blockchain.
5. The data service value assessment method based on blockchain according to claim 4, characterized in that, Step 2 includes: (2a) Data service providers register data services through the data service registration portal. When registering data services, data service providers include data service identifier, data service name, list and description of input parameters when calling data services, expected return result data format, data service call example, and permission description. The data service identifier is uniformly generated by the blockchain and is globally unique and runs through the entire life cycle of the data service. A block can only contain one data service. (2b) The data service provider checks whether the data service is duplicated. If the data service is duplicated, the registration cannot be successful and the data service status is marked as application failed because the data service is duplicated. If the data service is not duplicated, the data service registration information is broadcast to other data service providers. (2c) Other data service providers confirm the newly registered data service through blockchain technology. Only when a certain number of data service providers confirm the data service with a key will the data service be recognized as a valid data service. Otherwise, the data service block will be discarded as a short chain.
6. The data service value assessment method based on blockchain according to claim 1, characterized in that, In step 3, after the newly registered data service is confirmed to be valid, it enters the queue of data services to be published, waiting to be published. The data service provider then publishes the data service on the data service platform for potential data service users to call.
7. The data service value assessment method based on blockchain according to claim 6, characterized in that, Step 3 includes: (3a) The data service provider sets the data service usage permissions, including the data service user's access permissions, permissions to data fields, and permissions to data content; (3b) The data service provider shall explain the conditions for input parameters when calling the data service, specifying which conditions are mandatory and which are optional. (3c) The data service provider shall provide a description of the expected output results, including the format, encoding, and whether the results are encrypted; (3d) The data service provider officially releases the microservice call interface for the data service and provides a call example; (3e) The data service provider monitors the operational health of the data services it provides to ensure the availability and efficiency of the data services.
8. The data service value assessment method based on blockchain according to claim 1, characterized in that, In step 4, the data service user follows the data service interface and instructions published by the data service provider, calls the published data service, receives the returned result data, and supplies it to the application system. When users of data services call upon the data services they need, blockchain dual-key authentication technology is used to control access permissions for the data services, and unauthorized users cannot call upon the data services.
9. The data service value assessment method based on blockchain according to claim 8, characterized in that, Step 4 includes: (4a) Data service users retrieve the data services they need from the data service platform; (4b) Data service users refer to the example to call the required data service; (4c) The data service user receives the result data returned by the data service and processes it accordingly in its own application system; (4d) The history of this data service call is registered in the blockchain.
10. The data service value assessment method based on blockchain according to claim 1, characterized in that, In step 5, the value of the data service is calculated based on the data service call records in the blockchain, according to the formula and set parameters, to reflect the objective value of the data service.
11. The data service value assessment method based on blockchain according to claim 10, characterized in that, Step 5 includes: (5a) Set a base value for the value of data services and record this value in the blockchain; (5b) Set the data service coefficients for each application system; (5c) Based on the data service value blockchain, count the number of times the data service is used on the same day; (5d) Calculate the value of each data service according to the formula.
12. The data service value assessment method based on blockchain according to claim 1, characterized in that, In step 6, data services that are widely recognized will be rewarded through data service value release, while data services that have not been used for a long time will cease to provide services to the public.
13. The data service value assessment method based on blockchain according to claim 12, characterized in that, Step 6 includes: (6a) Adhere to the data service value assessment system and publish a data service value ranking list; (6b) For data service providers that provide high-value data services, priority shall be awarded for publishing data services, that is, if two data service providers submit the same data service at the same time, the data service provider with high value shall have priority. (6c) Data services that reach the minimum score for data service value assessment will be discontinued.
Citation Information
Patent Citations
Blockchain-based resource value evaluation method and device
CN108648071A
Methods, apparatus, equipment and systems for providing blockchain-based business services
CN111339565B
Internet of Things data service reputation evaluation method based on block chain
CN111062807A