WO2022105038A1 - Procédé de définition d'une spécification de service de données sur chaîne dans une chaîne de blocs et d'application d'une spécification de service - Google Patents
Procédé de définition d'une spécification de service de données sur chaîne dans une chaîne de blocs et d'application d'une spécification de service Download PDFInfo
- Publication number
- WO2022105038A1 WO2022105038A1 PCT/CN2020/142465 CN2020142465W WO2022105038A1 WO 2022105038 A1 WO2022105038 A1 WO 2022105038A1 CN 2020142465 W CN2020142465 W CN 2020142465W WO 2022105038 A1 WO2022105038 A1 WO 2022105038A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- information
- chain
- business
- blockchain
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000013499 data model Methods 0.000 claims abstract description 22
- 238000013475 authorization Methods 0.000 claims description 36
- 238000012795 verification Methods 0.000 claims description 8
- 238000001556 precipitation Methods 0.000 claims description 5
- 230000001376 precipitating effect Effects 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 238000007726 management method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013524 data verification Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2291—User-Defined Types; Storage management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2379—Updates performed during online database operations; commit processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/33—User authentication using certificates
- G06F21/335—User authentication using certificates for accessing specific resources, e.g. using Kerberos tickets
Definitions
- the invention relates to the fields of blockchain, data on-chain, government affairs, blockchain application and business data model, in particular to a method for defining a blockchain on-chain data business protocol and an application business protocol.
- Blockchain technology is to use the block chain data structure to verify and store data, use distributed node consensus algorithm to generate and update data, use cryptography to ensure the security of data transmission and access, and use the intelligence composed of automated script codes.
- a new distributed infrastructure and computing paradigm that uses contracts to program and manipulate data.
- Data on-chain means writing data to the blockchain.
- different blockchains in the market have different on-chain methods.
- For non-audited blockchains basically no matter who or what content can be uploaded on the chain. Any transaction that occurs can be accompanied by text messages.
- the text content is not limited, but the text size affects the cost.
- blockchain can shape many industrial applications, such as approval chain, supervision chain, license chain, sharing chain, etc.
- the various process stages in the implementation of blockchain applications are complex, and there will be frequent changes in business data on the chain, long approval processes, and a lot of business data. It is difficult for the data to adapt to business changes quickly.
- the most direct problem that follows is the need to re-develop the project. , resulting in an impact on business fluency and an increase in project costs. Therefore, there is a need for a flexible way to define the data service protocol on the chain to solve this problem.
- the purpose of the present invention is to provide a method for defining a blockchain on-chain data service protocol and an application service protocol, which can effectively improve the security of on-chain data.
- Step S1 creating an industry template for precipitating an industry on-chain data model: on the blockchain platform Create an industry template, enter the template name and template description; at the same time, create a bc_biz_type table in the mysql database to store the created industry template information to complete the precipitation of the industry on-chain data model;
- Step S2 Create the business type of the industry template;
- Step S3 Create the business specification of this business type, that is, the data model on the chain;
- Step S4 After completing the definition of the industry template, the smart contract in the blockchain platform automatically obtains the definition content, and the blockchain platform administrator needs to open the API service and Industry template association, by establishing an association relationship, it is possible to read and use the business specifications under the industry template;
- Step S5 Create developer authorization information: establish authorization for chain application developers on the blockchain platform according to the feedback requirements of operators information; first register the basic information of
- Step S6 After the authorization information is registered, the chain application developer needs to integrate The blockchain SDK implements the initialization of the SDK; obtains the certificate information by calling the pem file, and caches the numerical certificate locally; obtains the gateway address and API service in the SDK to match whether the authorization information is available; if the authorization information matches, prompts If the authorization information is correct, you can continue to use it; if the authorization information does not match, it will prompt that the authorization is incorrect, please contact the administrator, and read the biz_name information in the SDK and store it; Step S7: When the application side uploads the data to the chain, it needs to To initiate a transaction request to the SDK side, the SDK side and the smart contract layer need to verify whether the digital certificate information of the user on the application side is consistent with the digital certificate distributed when the authorization was created, and at the same time call the authorized API service to read which application the application uses through biz_name Which business type version of the business
- Step S9 After the SDK verifies the application-side information and passes the verification, the SDK receives the on-chain request data, and requires the application-side developer to call the digital certificate to sign the on-chain information, and the sender's identity information and Data binding is used to prevent others from fraudulently using the sender, to ensure the tamper-proof of the information, and to authenticate the sender's identity to prevent denial; Step S10: The SDK sends the request information to the smart contract, and the smart contract runs the corresponding API service.
- Step S11 The same application SDK allows running multiple smart contracts, In order to meet the needs of different API services, it supports multiple contracts to schedule and run; Step S12: After the data is sent to the blockchain node, a blockchain transaction is formed and enters the stage of going on the chain, and the subsequent processing on the chain Enter the blockchain consensus process.
- the specific content of the step S2 is: add a business type through the blockchain platform, add the business type of the template, and the added content includes the Chinese name, English name and version number of the business type; namely, insert the business type Chinese in the bc_biz_type table.
- Name, English name and version number content create different business types according to the needs of different business scenarios in the industry.
- step S3 adding a data model through the blockchain platform, the content of the data model includes Chinese name, English name, data type, whether it is required and whether to set the transaction primary key; after the completion of steps S1 to S3 , the industry template definition is complete.
- the present invention Compared with the prior art, the present invention has the following beneficial effects: the present invention defines different uplink data protocols according to different business needs, and at the same time, along with the development of the business, the protocol supports multi-version issuance, and supports the use of this special protocol in different business situations. Business data specification.
- FIG. 1 is a block diagram of a method according to an embodiment of the present invention.
- this embodiment provides a method for defining a blockchain on-chain data service protocol and an application service protocol, including the following steps: Step S1: Create an industry template for precipitation of the industry's on-chain data model: in the region The blockchain platform creates an industry template, and enters the template name and template description; at the same time, a bc_biz_type table is created in the mysql database to store the created industry template information to complete the precipitation industry on-chain data model; Step S2: Create the business type of the industry template ; Step S3: Create the business specification of the business type, that is, the data model on the chain; Step S4: After completing the definition of the industry template, the smart contract in the blockchain platform automatically obtains the definition content, and the blockchain platform management personnel need to open the The API service is associated with the industry template, and by establishing an association relationship, the business specifications under the industry template can be read and used; Step S5: Create developer authorization information: Develop chain applications on the blockchain platform according to the needs of the operator feedback The developer establishe
- the content of the authorization information includes the authorization appkey, secretkey, and digital certificate, and provide software development kit, namely SDK, to the developer.
- the developer obtains the specific certificate information and API interface method by calling the pem file in the SDK;
- Step S6 After the authorization information is registered, the chain application developer It is necessary to integrate the blockchain SDK first to realize the initialization of the SDK; obtain the certificate information by calling the pem file, and cache the numerical certificate locally; obtain the gateway address and API service in the SDK to match whether the authorization information is available; if the authorization information matches , it will prompt that the authorization information is correct and you can continue to use it; if the authorization information does not match, it will prompt that the authorization is incorrect, please contact the administrator, and read the information of biz_name in the SDK and store it;
- Step S7 the application side should upload the data to the chain At the same time, a transaction request needs to be initiated to the SDK side.
- the SDK side and the smart contract layer need to verify whether the digital certificate information of the user on the application side is consistent with the digital certificate distributed when the authorization was created, and at the same time call the authorized API service and read its
- the application uses the business specification of which business type and version in which industry template.
- Step S8 For the same business service, multiple versions are allowed to run at the same time, depending on the content of the smart contract, when the content of the contract Define that an API service has V1 ⁇ V2 versions of the data protocol to be used at the same time. It is agreed that V1 is used in scenario 1 and V2 is used in scenario 2.
- Step S9 After the SDK verifies the application-side information and passes the verification, the SDK receives the on-chain request data, and requires the application-side developer to call the digital certificate to sign the on-chain information, and the sender's identity information and Data binding is used to prevent others from fraudulently using the sender, to ensure the tamper-proof of the information, and to authenticate the sender's identity to prevent denial;
- Step S10 The SDK sends the request information to the smart contract, and the smart contract runs the corresponding API service.
- Step S11 The same application SDK allows running multiple smart contracts, In order to meet the needs of different API services, it supports multiple contracts to schedule and run; Step S12: After the data is sent to the blockchain node, a blockchain transaction is formed and enters the stage of going on the chain, and the subsequent processing on the chain Enter the blockchain consensus process.
- the specific content of step S2 is: adding a business type through the blockchain platform, adding the business type of the template, and the added content includes the Chinese name, English name and version number of the business type; that is, inserting in the bc_biz_type table
- the content of the Chinese name, English name and version number of the business type according to the needs of different business scenarios in the industry, create different business types.
- step S3 the specific content of step S3 is: adding a data model through the blockchain platform, the content of the data model includes Chinese name, English name, data type, whether it is required and whether to set the transaction primary key; step S1 to step After S3 is completed, the industry template definition is completed.
- this embodiment solves the problems of frequent changes, multi-version operation, compliance verification, etc. of the blockchain management platform to the on-chain data protocol by flexibly setting the blockchain on-chain data service protocol.
- the flexible configuration of the blockchain regulations and multi-version applications can be realized on the business side, and the SDK to verify the regulations and user identity security on the application side.
- the platform side through a simple data model, it can adapt to a variety of blockchain application scenarios, and at the same time, it can quickly model by precipitation specifications, improve application efficiency, reduce project R&D labor costs, time costs for downtime and deployment, and application costs caused by unsmooth business applications. .
- the blockchain management platform provides a flexible configuration method for the blockchain application on-chain data business protocol
- the configuration content includes industry template configuration, business type configuration, business protocol or data model configuration.
- the granularity of configuration supports data type, business primary key, Chinese and English names. Let the part that originally required code logic configuration be transferred to the business-side definition. Enhance business flexibility and ensure that the on-chain data protocol adapts to business changes.
- the configuration of the business protocol supports multiple versions, and after the configuration of the protocol is completed, it can be automatically read through the SDK, and there is no need to deploy the blockchain network, reducing various costs.
- the SDK is used to verify the security and compliance of the business protocol, avoid irregular data uploading, improve the threshold of data on the chain, improve the validity of the data on the chain, and ensure the quality of the data on the chain; when the business protocol is configured, it can provide business traceability
- the business side defines the business primary key by itself, so that the entire business behavior can be traced through the content of the primary key. This configuration is open to the application side, enabling flexible design of business scenario planning without being restricted by the primary key, so that the on-chain traceability can keep up with the business.
- the protocol supports multi-version issuance, and supports the use of the data protocol of the special service in different business situations.
- the on-chain data protocols used in different business scenarios are precipitated to form an industry template, which can be quickly reused when other blockchain networks in the industry are created next time.
- This embodiment provides a flexible verification method, supports the verification of the SDK and the smart contract layer, and controls it according to the traffic of the business.
- the configuration of the transaction primary key is also provided. Realize the traceability of the entire business behavior after it occurs. It is based on the high read-write efficiency of the storage structure of the blockchain platform "Key-Value" to solve the problem of complex data query.
- This embodiment can effectively improve the security of the on-chain data.
- the verification of the on-chain data in the smart contract is realized through the SDK layer, and the on-chain data model is recorded in the smart contract.
- the content of data verification includes whether the content of the on-chain protocol is consistent with the rules agreed by each node, and whether the identity information of the transaction requester is consistent with the authorized information.
- This embodiment provides a method for flexibly uploading a data service specification to the chain, and realizes rapid reuse, promotion and iteration in different projects by precipitating industry application templates.
- Different business categories can be set under different industry templates, and data models on the chain can be configured under different categories.
- the content of the model includes the Chinese name, English name, data type, and whether it is required.
- An industry application can support multiple versions of business classification, support data models of different versions to be executed together, and can be updated online in real time. It also provides configuration of transaction primary keys. Realize the traceability of the entire business behavior after it occurs.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
La présente invention concerne un procédé de définition d'une spécification de service de données sur chaîne dans une chaîne de blocs et d'application d'une spécification de service, comprenant une configuration de modèle industriel, une configuration de type de service et une configuration de modèle de données ou de spécification de service. De plus, la finesse des configurations prend en charge un type de données, qu'il s'agisse d'une clé naturelle de service ou de noms chinois et anglais. Une partie qui requiert à l'origine une configuration de logique de code est transférée à une extrémité de service à des fins de définition. Ainsi, la flexibilité de service est améliorée, et il est garanti qu'une spécification de données sur chaîne est adaptée à un changement de service. La configuration de la spécification de service prend en charge de multiples versions, et après l'achèvement de la configuration, la spécification peut être automatiquement lue au moyen d'un kit de développement de logiciel sans déployer de réseau de chaîne de blocs, ce qui permet de réduire les coûts.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011295040.5A CN112380219B (zh) | 2020-11-18 | 2020-11-18 | 一种定义区块链上链数据业务规约及应用业务规约的方法 |
CN202011295040.5 | 2020-11-18 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022105038A1 true WO2022105038A1 (fr) | 2022-05-27 |
Family
ID=74584245
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/142465 WO2022105038A1 (fr) | 2020-11-18 | 2020-12-31 | Procédé de définition d'une spécification de service de données sur chaîne dans une chaîne de blocs et d'application d'une spécification de service |
PCT/CN2021/071402 WO2022105049A1 (fr) | 2020-11-18 | 2021-01-13 | Procédé de définition d'un protocole de service de données en chaîne d'une chaîne de blocs et d'application d'un protocole de service |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/071402 WO2022105049A1 (fr) | 2020-11-18 | 2021-01-13 | Procédé de définition d'un protocole de service de données en chaîne d'une chaîne de blocs et d'application d'un protocole de service |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112380219B (fr) |
WO (2) | WO2022105038A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116668451A (zh) * | 2023-04-10 | 2023-08-29 | 中泰证券股份有限公司 | 一种证券业务的数据存证方法、设备及介质 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113609196A (zh) * | 2021-06-23 | 2021-11-05 | 云南昆钢电子信息科技有限公司 | 一种区块链上链自动化系统及方法 |
CN113766034B (zh) * | 2021-09-15 | 2024-02-02 | 城云科技(中国)有限公司 | 基于区块链的业务处理方法和装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108701145A (zh) * | 2017-02-06 | 2018-10-23 | 北方信托公司 | 用于分布式网络节点内的数字身份管理和许可控制的系统和方法 |
CN108805703A (zh) * | 2017-04-28 | 2018-11-13 | 埃森哲环球解决方案有限公司 | 权利管理系统 |
WO2019161936A1 (fr) * | 2018-02-26 | 2019-08-29 | Telefonaktiebolaget Lm Ericsson (Publ) | Découpage en tranches de réseau avec des contrats intelligents |
CN111767036A (zh) * | 2020-06-24 | 2020-10-13 | 江苏荣泽信息科技股份有限公司 | 可自定义业务模型的区块链平台 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108052321B (zh) * | 2017-12-28 | 2020-12-25 | 杭州趣链科技有限公司 | 一种基于配置信息自动生成区块链智能合约的方法 |
CN108416577B (zh) * | 2018-03-02 | 2021-03-05 | 上海汉得信息技术股份有限公司 | 一种区块链服务系统 |
US11194911B2 (en) * | 2018-07-10 | 2021-12-07 | International Business Machines Corporation | Blockchain technique for agile software development framework |
CN109377220B (zh) * | 2018-10-16 | 2020-02-18 | 中国传媒大学 | 基于区块链的传媒数据交易方法及系统、计算机存储介质 |
CN109815291B (zh) * | 2018-12-28 | 2021-08-20 | 北京城市网邻信息技术有限公司 | 数据同步方法、装置、电子设备及存储介质 |
CN110084059A (zh) * | 2019-03-21 | 2019-08-02 | 深圳壹账通智能科技有限公司 | 一种银行系统数据配置区块链的方法、装置及计算机设备 |
CN111275400A (zh) * | 2020-01-20 | 2020-06-12 | 厦门顺势共识信息科技有限公司 | 一种基于区块链的电子合同上链方法 |
CN111294356B (zh) * | 2020-02-11 | 2022-09-06 | 深圳壹账通智能科技有限公司 | 基于区块链的组织节点上链方法和系统 |
CN111461879A (zh) * | 2020-03-11 | 2020-07-28 | 中关村科技软件股份有限公司 | 一种基于区块链的政务服务处理系统和方法 |
CN111580841B (zh) * | 2020-04-07 | 2021-06-29 | 浙商银行股份有限公司 | 一种联盟链动态升级服务方法 |
CN111882319A (zh) * | 2020-07-07 | 2020-11-03 | 苏波 | 区块链数据上链处理方法、装置及设备 |
-
2020
- 2020-11-18 CN CN202011295040.5A patent/CN112380219B/zh active Active
- 2020-12-31 WO PCT/CN2020/142465 patent/WO2022105038A1/fr active Application Filing
-
2021
- 2021-01-13 WO PCT/CN2021/071402 patent/WO2022105049A1/fr active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108701145A (zh) * | 2017-02-06 | 2018-10-23 | 北方信托公司 | 用于分布式网络节点内的数字身份管理和许可控制的系统和方法 |
CN108805703A (zh) * | 2017-04-28 | 2018-11-13 | 埃森哲环球解决方案有限公司 | 权利管理系统 |
WO2019161936A1 (fr) * | 2018-02-26 | 2019-08-29 | Telefonaktiebolaget Lm Ericsson (Publ) | Découpage en tranches de réseau avec des contrats intelligents |
CN111767036A (zh) * | 2020-06-24 | 2020-10-13 | 江苏荣泽信息科技股份有限公司 | 可自定义业务模型的区块链平台 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116668451A (zh) * | 2023-04-10 | 2023-08-29 | 中泰证券股份有限公司 | 一种证券业务的数据存证方法、设备及介质 |
CN116668451B (zh) * | 2023-04-10 | 2024-01-23 | 中泰证券股份有限公司 | 一种证券业务的数据存证方法、设备及介质 |
Also Published As
Publication number | Publication date |
---|---|
CN112380219A (zh) | 2021-02-19 |
CN112380219B (zh) | 2021-10-08 |
WO2022105049A1 (fr) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022105038A1 (fr) | Procédé de définition d'une spécification de service de données sur chaîne dans une chaîne de blocs et d'application d'une spécification de service | |
US11789933B2 (en) | System and method for a hybrid contract execution environment | |
US10171992B1 (en) | Switching mobile service provider using blockchain | |
CN106681739B (zh) | 一种智能合约的自动化生成方法 | |
CN112005236A (zh) | 区块链网络上的文档访问 | |
CN110569658B (zh) | 基于区块链网络的用户信息处理方法、装置、电子设备及存储介质 | |
CN111144881A (zh) | 对资产转移数据的选择性访问 | |
CN102215488B (zh) | 智能手机数字证书的应用方法和系统 | |
US11194911B2 (en) | Blockchain technique for agile software development framework | |
CN112703499A (zh) | 用于计算以及可信验证的分布式平台 | |
WO2019139595A1 (fr) | Autorisation hors ligne d'interactions et de tâches contrôlées | |
CN112307125B (zh) | 基于区块链智能合约实现加密电子合同的签约方法及设备 | |
US11070563B2 (en) | Trace-based transaction validation and commitment | |
WO2024002103A1 (fr) | Procédé de gestion d'actifs de données et système de gestion active d'actifs de données | |
US11886810B2 (en) | System and method for electronic document interaction with external resources | |
CN111429191A (zh) | 基于区块链的电子发票流转管理方法、装置及系统 | |
KR102166690B1 (ko) | 전자문서를 위한 전자서명 관리서버 및 관리방법 | |
WO2024002105A1 (fr) | Procédé de commande d'utilisation d'actif de données, client et plateforme de service intermédiaire | |
CN112740214A (zh) | 具有托管安全的数字化合约生成 | |
CN111555891A (zh) | 一种基于区块链的材料数据自营自管系统及其使用方法 | |
CN110912893A (zh) | 一种账号合并方法 | |
CN109542926A (zh) | 区块处理方法及计算机存储介质 | |
CN111176677B (zh) | 服务器系统加固更新方法及装置 | |
CN115114372A (zh) | 基于区块链的数据处理方法、装置、设备及可读存储介质 | |
CN109388923B (zh) | 一种程序执行方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20962329 Country of ref document: EP Kind code of ref document: A1 |