CN109753304A - The implementation method that multichannel mobilism based on alliance's chain generates - Google Patents

The implementation method that multichannel mobilism based on alliance's chain generates Download PDF

Info

Publication number
CN109753304A
CN109753304A CN201910041028.2A CN201910041028A CN109753304A CN 109753304 A CN109753304 A CN 109753304A CN 201910041028 A CN201910041028 A CN 201910041028A CN 109753304 A CN109753304 A CN 109753304A
Authority
CN
China
Prior art keywords
configuration
template
alliance
mobilism
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910041028.2A
Other languages
Chinese (zh)
Inventor
孙夕秋
耿因志
杨国栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sinochem Energy Technology Co Ltd
Original Assignee
Sinochem Energy Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sinochem Energy Technology Co Ltd filed Critical Sinochem Energy Technology Co Ltd
Priority to CN201910041028.2A priority Critical patent/CN109753304A/en
Publication of CN109753304A publication Critical patent/CN109753304A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The implementation method that the multichannel mobilism based on alliance's chain that the invention discloses a kind of generates, comprising: predefined template generates;Creation channel request is sent to block chain application, and auto-associating simultaneously reads predefined template;Parameter identification in predefined template is obtained, parameter identification is converted into semantic and prompt information, forms the input item of business configuration;It obtains configuration template and carries out parameter and value conversion, replacement occupy-place mark generates deployment configuration;Deployment configuration is parsed, executable configuration is generated, channel is submitted to configure more Envelope;Executable configuration is read, block chain node is sent to, completes channel creation.This method can provide a kind of implementation method that the mobilism based on alliance's chain generates, and accelerate the understanding to different parameters and can do respective extension according to different application type and scene, to meet performance, capacity, user experience and other requirements of application.

Description

The implementation method that multichannel mobilism based on alliance's chain generates
Technical field
The present invention relates to the block chain development technique for going to center more particularly to a kind of multichannel mobilism of alliance's chain to generate Implementation method.
Background technique
Block chain can be divided into publicly-owned chain, privately owned chain and alliance's chain according to access and administration authority.Alliance's chain emphasizes the same trade Or the value between inter-trade tissue or tissue and the weak center inside the High relevancy and alliance cooperateed with.With reduce at Originally, raising efficiency is main target.With the license of salubrity part, security privacy, high-performance, mass data etc. for technical characteristics.
Alliance's chain is an extensive improvement community.But still allow under extensive community that there are multiple and different small collection Body is both that the improvement for allowing mechanism or industry to do more depth restrains, while multiple and different small collectives share the base of alliance's chain again Infrastructure.If converging to a channel in practical operation with an improvement, that may be up to several in actual improvement scene Hundred arrive thousands of a channels.
That there is channel configurations is complicated for current alliance's chain multichannel resolution, iteration cycle is long, and channel configuration can not The problems such as reuse, and need certain technical background that could understand.During deployment, configuration parameter can usually be lacked because of user Weary understanding encounters various problem when channel being caused to create or update.
Summary of the invention
The implementation method that the multichannel mobilism based on alliance's chain that the purpose of the present invention is to provide a kind of generates, quickening pair Different parameters understand and can do respective extension according to different application type and scene.
Channel is the general designation of participant composition Business Entity in alliance's chain, can be applied this concept to any similar Scene, naming under different scenes may be different.
To achieve the above object, the realization side that the multichannel mobilism based on alliance's chain that the present invention provides a kind of generates Method, comprising: predefined template generates;Creation channel request is sent to block chain application, and auto-associating simultaneously reads predefined template; Parameter identification in predefined template is obtained, parameter identification is converted into semantic and prompt information, forms the input item of business configuration;It obtains Configuration template is taken to carry out parameter and value conversion, replacement occupy-place mark generates deployment configuration;Deployment configuration is parsed, is generated executable Configuration submits channel to configure more Envelope;Executable configuration is read, block chain node is sent to, completes channel creation.
Optional or preferred, predefined template includes configuration template and parameter identification.Predefined template includes alliance's chain The configuration of transaction structure in the creation channel of node building, according to existing service template copy modification or initial creation.
Optional or preferred, predefined template includes the configuration of transaction structure in the creation channel of alliance's chain node building. Configuration of transaction structure includes: version identifier, and being set as each element has an associated version, according to the update configured every time, Version number updates;Permission control, being set as each element has an associating policy, determines whether to repair element Change;It is set as according to associating policy content verification authority configuration, and saved in time to copy is currently configured.Hierarchical strategy, setting For the configuration group comprising multiple subgroups, each group of relevant value, associating policy and association mode, lower level obtain higher level Secondary associating policy.
Optional or preferred, analytic parameter description information includes the following steps: that parameter is returned in a manner of structural data Return client;Client is according to structural data, dynamic generation list.
It is optional or preferred, it obtains configuration template progress parameter and value conversion includes the following steps: to obtain configuration template It carries out parameter value conversion and includes the following steps: step 1, node obtains the parameter for assigning true value by client, reads in template Hold;Step 2, the flag bit that node encounters parameter terminates, and reading of content is written, and generates deployment configuration.
Optional or preferred, generating deployment configuration includes that node is closed using parameter value and the parameter in deployment configuration Connection replacement generates final executable configuration.
Optional or preferred, replacement occupy-place mark includes the following steps: that replacing occupy-place mark includes the following steps: step 1, the key assignments relation template converter defined by template parameter;Step 2, get parms value after template converter acquisition parameter value Corresponding key;Step 3, it replaces the occupy-place in configuration template according to corresponding key to identify, alternative parameter.
Optional or preferred, replacement occupy-place mark further includes being identified according to the occupy-place in corresponding key and configuration template It is associated replacement, generates final executable configuration.
Optional or preferred, submitting channel configuration more Envelope includes: ` gap marker symbol `, updates the channel of binding only One mark;` readset closes `, specifies one group of already existing configuration subset, which only includes the version word in existing configuration structure Section does not specify other content;` writes set `, and specified configuration content to be modified inherits feature according to ` configuration group ` recurrence, ` writes in set ` comprising high-rise minor element to modify high-level configuration;
It is optional or preferred, if ` writes set ` and also includes the following features: that the ` version ` of element and ` readset close the version in ` This is consistent, then only defines ` version `, do not provide ` value ` and ` strategy `.
Technical solution provided in an embodiment of the present invention has the benefit that by constructing template engine, creates one kind The implementation method that multichannel mobilism based on alliance's chain generates guarantees system flexibility and reusability.Pass through template definition, mould Plate parsing, template conversion and template execute four steps, for the position that may be changed or need to change according to visioning procedure It sets, using parameter identification occupy-place, perhaps the particular content of parameter identification passes through specific configuration and reads or receive client template Required parameter to solve the efficiency understood different parameters, and can do and accordingly open up according to different application type and scene Exhibition.
Detailed description of the invention
Fig. 1 is the implementation method flow chart that the multichannel mobilism provided in an embodiment of the present invention based on alliance's chain generates;
Fig. 2 is the implementation method template parsing that the multichannel mobilism provided in an embodiment of the present invention based on alliance's chain generates Flow chart;
Fig. 3 is the implementation method template switch that the multichannel mobilism provided in an embodiment of the present invention based on alliance's chain generates Flow chart;
Fig. 4 is that the implementation method template that the multichannel mobilism provided in an embodiment of the present invention based on alliance's chain generates executes Flow chart.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.Obviously, described embodiment only actually is illustrative or exemplary, never As to the present invention and its application or any restrictions used.In the following detailed description, many details are proposed, with Complete understanding of the present invention is just provided.But it will be apparent to those skilled in the art that the present invention can be not Implement in the case where needing the full details in these details to have appreciated that.The description of embodiment is used for the purpose of below Of the invention is better understood to provide by the example for showing of the invention.The present invention is never limited to set forth below any Concrete configuration and algorithm, but cover any of element, component and algorithm under the premise of without departing from the spirit of the present invention and repair Change, replace and improves.
Further detailed description is done to the present invention combined with specific embodiments below, but embodiments of the present invention are not limited to This.
The implementation method that a kind of mobilism based on alliance's chain provided in an embodiment of the present invention generates, includes the following steps:
In supply chain financial scenario, different participants needs to set up different channels, such as in alliance's chain, There are national tax, customs, commodity inspection, supply chain, finance, logistics, national tax needs and supply chain establishment is paid taxes channel, customs's needs and supply Chain sets up declaration channel, and commodity inspection needs and supply chain, which are set up, examines channel, and finance and supply chain need to set up financing channel, logistics It needs to set up circulation passage with supply chain.In these channels, channel of paying taxes, declaration channel can sharing channel configuration template, financing Channel and circulation passage can sharing channel templates.
Step 1: for the business demand of supply chain, predefined template, packet being created by technical staff or senior business personnel It includes channel configuration template of paying taxes, declaration channel configuration template, examine channel configuration template, financing channel configuration template, circulation logical Road configuration template, for every kind of template according to business difference, permission and strategy are different.For example, examine channel configuration template, commodity inspection for Data are read-only on chain, but user can change relative strategy in specifically used.
Step 2: when supply chain passage is added in enterprise's application, selecting specified services type, such as finance, the application of block chain is received To creation channel request, auto-associating simultaneously reads predefined financing template.
Step 3: as shown in Fig. 2, corresponding templates in supply chain are read in the application of block chain, get parms description information, and leads to Semantic conversion is crossed, information alert forms the input item easily recognized.The input item may include league name, organizational member mark, read Take write-in permission etc..For a group company, under may include numerous subsidiaries, can be directed to specific business, assign not With subsidiary's different rights.
Step 4: as shown in figure 3, being associated with by the key assignments that template parameter defines, after parameter value is acquired, get parms value Corresponding key, and according to key, occupy-place mark in configuration template is replaced, parameter replacement is completed, generates deployment configuration.
Step 5: as shown in figure 4, parsing deployment configuration, and it is sent to block chain node.
Step 6: block chain node executes operation according to the request received, and final collaboration completes channel and creates work.Block Chain applicative notifications subscriber channel creates successfully, and carries out other business games.
Area is effectively reduced using this scheme for the large number of enterprise in supply chain based on mobilism generation Block chain passage deployment cycle, improves efficiency.
In conclusion the implementation method that the multichannel mobilism based on alliance's chain of the present embodiment generates, by establishing mould Plate engine, solves to configure due to channel numerous, and needs technical background that could understand configuration parameter, and channel is caused to create or more The problem of meeting difficulty when new.It is constructed by template definition, template parsing, template switch, template execution, one can be provided The implementation method that mobilism kind based on alliance's chain generates, accelerates the understanding to different parameters and can be according to different applications Type and scene do respective extension, to meet performance, capacity, user experience and other requirements of application.
Unless otherwise defined, the technical term or scientific term used herein should be in fields of the present invention and has The ordinary meaning that the personage of general technical ability is understood.Used in the invention patent description of the invention and claims " the One ", " second " and similar word are not offered as any sequence, quantity or importance, and are used only to distinguish different Component part.Equally, the similar word such as "one" or " one " does not indicate that quantity limits yet, but indicates that there are at least one.
The foregoing is merely example embodiments of the present invention, are not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of implementation method that the multichannel mobilism based on alliance's chain generates, which comprises the steps of:
1) predefined template generates;
2) creation channel request is sent to block chain application, and auto-associating simultaneously reads predefined template;
3) parameter identification in predefined template is obtained, parameter identification is converted into semantic and prompt information, forms the defeated of business configuration Enter item;
4) it obtains configuration template and carries out parameter and value conversion, replacement occupy-place mark generates deployment configuration;
5) deployment configuration is parsed, executable configuration is generated, channel is submitted to configure more Envelope;
6) executable configuration is read, block chain node is sent to, completes channel creation.
2. the implementation method that the multichannel mobilism based on alliance's chain generates according to claim 1, which is characterized in that described Predefined template includes the configuration of transaction structure in the creation channel of alliance's chain node building, according to existing service template copy modification Or initial creation.
3. the implementation method that the multichannel mobilism based on alliance's chain generates according to claim 2, which is characterized in that described Configuration of transaction structure, comprising:
Version identifier, being set as each element has an associated version, and according to the update configured every time, version number updates;
Permission control, being set as each element has an associating policy, determines whether to modify to element;It is set as It is saved in time according to associating policy content verification authority configuration, and to copy is currently configured.
Hierarchical strategy, is set as the configuration group comprising multiple subgroups, each group of relevant value, associating policy and association mode, The associating policy of lower level acquisition higher level.
4. the implementation method that the multichannel mobilism based on alliance's chain generates according to claim 1, which is characterized in that described Analytic parameter description information, includes the following steps:
Step 1, parameter returns to client in a manner of structural data;
Step 2, client is according to structural data, dynamic generation list;
5. the implementation method that the multichannel mobilism based on alliance's chain generates according to claim 1, which is characterized in that described Configuration template progress parameter value conversion is obtained to include the following steps:
Step 1, node obtains the parameter that true value is assigned by client, reads template content;
Step 2, the flag bit that node encounters parameter terminates, and reading of content is written, and generates deployment configuration.
6. the implementation method that the multichannel mobilism based on alliance's chain generates according to claim 5, which is characterized in that described Generating deployment configuration, to include node be associated replacement using the parameter in parameter value and deployment configuration, and generating, which finally can be performed, matches It sets.
7. the implementation method that the multichannel mobilism based on alliance's chain generates according to claim 1, which is characterized in that described Replacement occupy-place mark includes the following steps:
Step 1, the key assignments relation template converter defined by template parameter;
Step 2, it gets parms after template converter acquisition parameter value and is worth corresponding key;
Step 3, it replaces the occupy-place in configuration template according to corresponding key to identify, alternative parameter.
8. the implementation method that the multichannel mobilism based on alliance's chain generates according to claim 7, which is characterized in that described Replacement occupy-place mark further includes being associated replacement according to the occupy-place mark in corresponding key and configuration template, generation finally may be used Execute configuration.
9. the implementation method that the multichannel mobilism based on alliance's chain generates according to claim 1, which is characterized in that described Submission channel configures more Envelope
` gap marker accords with `, updates the channel unique identification of binding;
` readset closes `, specifies one group of already existing configuration subset, which only includes the version field in existing configuration structure, Do not specify other content;
` writes set `, specified configuration content to be modified, inherits feature according to ` configuration group ` recurrence, writes in set ` in ` and includes High-rise minor element is to modify high-level configuration;
10. the implementation method that the multichannel mobilism based on alliance's chain generates according to claim 9, which is characterized in that institute It also includes the following features: that the ` version ` of element is consistent with the version in ` readset conjunction ` if stating ` and writing set `, only defines ` version `, ` value ` and ` strategy ` is not provided.
CN201910041028.2A 2019-01-16 2019-01-16 The implementation method that multichannel mobilism based on alliance's chain generates Pending CN109753304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910041028.2A CN109753304A (en) 2019-01-16 2019-01-16 The implementation method that multichannel mobilism based on alliance's chain generates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910041028.2A CN109753304A (en) 2019-01-16 2019-01-16 The implementation method that multichannel mobilism based on alliance's chain generates

Publications (1)

Publication Number Publication Date
CN109753304A true CN109753304A (en) 2019-05-14

Family

ID=66405751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910041028.2A Pending CN109753304A (en) 2019-01-16 2019-01-16 The implementation method that multichannel mobilism based on alliance's chain generates

Country Status (1)

Country Link
CN (1) CN109753304A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563089A (en) * 2020-04-20 2020-08-21 杭州云象网络技术有限公司 Method and device for automatically updating channel configuration during block chain certificate replacement

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294750A (en) * 2016-04-01 2017-10-24 阿里巴巴集团控股有限公司 A kind of distribution configuring management method and device for converging group energy self-identifying
CN108256864A (en) * 2018-02-13 2018-07-06 中链科技有限公司 Between a kind of block chain across the foundation of chain alliance and communication means, system
CN109033405A (en) * 2018-08-03 2018-12-18 华为技术有限公司 Safeguard method and apparatus, server and the computer readable storage medium of block chain
CN109040279A (en) * 2018-08-21 2018-12-18 北京京东金融科技控股有限公司 Block chain network network-building method, device, equipment and readable storage medium storing program for executing
CN109194506A (en) * 2018-08-16 2019-01-11 北京京东尚科信息技术有限公司 Block chain network dispositions method, platform and computer storage medium
CN110113185A (en) * 2019-04-18 2019-08-09 卓尔购电子商务(武汉)有限公司 Method, system, storage medium and the device of a kind of rapid deployment alliance chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294750A (en) * 2016-04-01 2017-10-24 阿里巴巴集团控股有限公司 A kind of distribution configuring management method and device for converging group energy self-identifying
CN108256864A (en) * 2018-02-13 2018-07-06 中链科技有限公司 Between a kind of block chain across the foundation of chain alliance and communication means, system
CN109033405A (en) * 2018-08-03 2018-12-18 华为技术有限公司 Safeguard method and apparatus, server and the computer readable storage medium of block chain
CN109194506A (en) * 2018-08-16 2019-01-11 北京京东尚科信息技术有限公司 Block chain network dispositions method, platform and computer storage medium
CN109040279A (en) * 2018-08-21 2018-12-18 北京京东金融科技控股有限公司 Block chain network network-building method, device, equipment and readable storage medium storing program for executing
CN110113185A (en) * 2019-04-18 2019-08-09 卓尔购电子商务(武汉)有限公司 Method, system, storage medium and the device of a kind of rapid deployment alliance chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘三羊: "Fabric--使用多通道", 《CSDN:HTTPS://BLOG.CSDN.NET/QQ_37133717/ARTICLE/DETAILS/80932914》 *
雄兵连队长-蕾娜: "Channel Configuration(configtx)", 《CSDN:HTTPS://BLOG.CSDN.NET/BAIDU_39649815/ARTICLE/DETAILS/76638976》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111563089A (en) * 2020-04-20 2020-08-21 杭州云象网络技术有限公司 Method and device for automatically updating channel configuration during block chain certificate replacement
CN111563089B (en) * 2020-04-20 2023-10-27 杭州云象网络技术有限公司 Method and device for automatically updating channel configuration by changing blockchain certificates

Similar Documents

Publication Publication Date Title
AU2018347193B2 (en) Cross-chain interactions using a domain name scheme in blockchain systems
CN107733855B (en) A kind of block catenary system and application method that can support publicly-owned chain, alliance's chain and privately owned chain simultaneously
CN106681739B (en) Automatic intelligent contract generation method
CN110620810B (en) Non-linked ownership of continuous asset transfer over blockchain
US20200327145A1 (en) Cooperative naming for configuration items in a distributed configuration management database environment
CN110060162A (en) Data grant, querying method and device based on block chain
CN104660680B (en) A kind of application Integrating cloud terminal platform and integrated approach
US20090205018A1 (en) Method and system for the specification and enforcement of arbitrary attribute-based access control policies
CN110009435A (en) Based on the invoice method of charging out and device of block chain, electronic equipment
CN110163483A (en) Virtual resource allocation method and apparatus based on block chain
CN108446976B (en) A kind of common reserve fund transfer method, computer readable storage medium and terminal device
CN110147684A (en) For realizing the method and apparatus of block chain data-privacy protection
CN107426134A (en) A kind of access control method based on relation
US20080104250A1 (en) Identity migration system apparatus and method
CN110020900A (en) Invoice based on block chain rushes red method and device and electronic equipment
CN111798233A (en) Linking of tokens
CN113377882B (en) Method for realizing relation model in internet organization and among organizations
Xu et al. Model-driven engineering for blockchain applications
CN109753304A (en) The implementation method that multichannel mobilism based on alliance's chain generates
Scorer Identity directories and databases
Raud Knowledge Base: Blockchain-based Service Network (BSN, 区块链服务网络)
CN108376337A (en) A kind of multi-platform virtual role management method and system
CN101431402A (en) High-efficiency linking method for LDAP account source and AAA system
CN113329060A (en) System and method for practice experience certification based on Fabric alliance chain
CN110322155A (en) A kind of office resource allocation method, device, equipment and readable storage medium storing program for executing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190514