CN110535654A - Parallel system dispositions method, device and computer equipment based on block chain - Google Patents

Parallel system dispositions method, device and computer equipment based on block chain Download PDF

Info

Publication number
CN110535654A
CN110535654A CN201910665972.5A CN201910665972A CN110535654A CN 110535654 A CN110535654 A CN 110535654A CN 201910665972 A CN201910665972 A CN 201910665972A CN 110535654 A CN110535654 A CN 110535654A
Authority
CN
China
Prior art keywords
terminal
address
block chain
approval
examination
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.)
Granted
Application number
CN201910665972.5A
Other languages
Chinese (zh)
Other versions
CN110535654B (en
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910665972.5A priority Critical patent/CN110535654B/en
Priority to PCT/CN2019/117215 priority patent/WO2021012500A1/en
Publication of CN110535654A publication Critical patent/CN110535654A/en
Application granted granted Critical
Publication of CN110535654B publication Critical patent/CN110535654B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Medical Informatics (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application discloses a kind of parallel system dispositions method, device, computer equipment and storage mediums based on block chain, the described method includes: the first HASH value that the first terminal for receiving current approval system is sent, and judge whether the first HASH value and the HASH value prestored are identical;If the first HASH value is identical as the HASH value prestored, if the data on flows of first terminal meets preset flow standard, first terminal is denoted as temporary terminal;Acquire the IP address of multiple temporary terminals;Specified data are sent to the application terminal and the examination & approval terminal;Receive the registration request of designated terminal;If the designated terminal is the application terminal or the examination & approval terminal, the information of the registration request is recorded;The information for sending IP address and communication port to the designated terminal and all block chain nodes improves confidentiality, the safety, information accuracy of approval system to complete to dispose.

Description

Parallel system dispositions method, device and computer equipment based on block chain
Technical field
This application involves computer field is arrived, especially relate to a kind of parallel system dispositions method based on block chain, Device, computer equipment and storage medium.
Background technique
The approval system that traditional technology uses, examines details process for example, by using mailing system, applicant Member or auditor pass through the processing terminal in these approval systems and carry out application operation or review operations.Due to these For the confidentiality of data, safety, accuracy (because a certain flow nodes only relate in traditional approval system in approval system And small part terminal, therefore the confidentiality that can influence data, safety, accurate is interfered on these small part terminals Property) it cannot be guaranteed that.Especially in the approval system more than approval process length, level, once there is error in data, it is possible to cause Catastrophic consequence, and after error causes to be difficult to send out since the trace of approval process does not retain or hold easily modified Existing mistake root.Also, the prior art, when disposing block chain, the method for use is usually to install block chain software in terminal, Time-consuming;Or the control authority of terminal being obtained using the method remotely controlled, and then block chain software is installed, safety obtains not To guarantee, (because long-range control makes the installation of block chain be not that terminal itself is initiated, it is therefore possible to result in center The loss of change has violated the original intention of block chain, safety is caused to decline).Also, traditional technology is when transplanting approval system, and one As be all to transplant the terminal of former approval system, can not accomplish effectively to screen, therefore the approval system after transplanting has effect The not high problem of rate.Therefore in terms of the approval system of the prior art haves the defects that confidentiality, safety, accuracy, do not have yet In the mature technology for guaranteeing efficiently to transplant approval system to block chain under the premise of safety, more without Effective selection terminal at Cooking technique.
Summary of the invention
The main purpose of the application is to provide a kind of parallel system dispositions method, device, computer based on block chain to set Standby and storage medium, it is intended under the premise of ensuring information security property, the workability of terminal, improve the deployment effect of parallel system Rate.
In order to achieve the above-mentioned object of the invention, the application proposes a kind of parallel system dispositions method based on block chain, application Center is disposed in block chain, comprising the following steps:
The first HASH value that the first terminal of current approval system is sent is received, and judges the first HASH value and prestores HASH value it is whether identical;If the first HASH value is identical as the HASH value prestored, the flow of the first terminal is judged Whether data meet preset flow standard, if the data on flows of the first terminal meets preset flow standard, by institute It states first terminal and is denoted as temporary terminal;
The IP address of multiple temporary terminals of current approval system is acquired, wherein the multiple temporary terminal includes at least Shen Please terminal and examination & approval terminal, block chain deployment center is a block chain node in the block chain network of preparatory framework, Block chain deployment center prestores virtual machine image and block chain node container mirror image;
Using the IP address, specified data, the specified data are sent to the application terminal and the examination & approval terminal Including at least the virtual machine image and the block chain node container mirror image;
Receive the designated terminal that the block chain node container mirror image has been installed and activated in the virtual machine image Registration request, the registration request are accompanied with the IP address of the designated terminal and the information of communication port;
Whether the IP address for judging the designated terminal is the IP address or the examination & approval terminal for applying for terminal IP address;
If the IP address of the designated terminal is the IP address or the IP address for examining terminal of the application terminal, The IP address of the designated terminal and the information of communication port are then recorded, and is generated and is represented according to the IP address of the designated terminal The application digital certificate of the designated terminal identity perhaps examine digital certificate and by the application digital certificate or examination & approval number Word certificate is sent to the designated terminal;
The IP address of all block chain nodes prestored and the information of communication port, Yi Jixiang are sent to the designated terminal All block chain nodes send the IP address of the designated terminal and the information of communication port, exist to complete the designated terminal Deployment with current approval system in the parallel block chain network.
The application provides a kind of parallel system deployment device based on block chain, is applied to block chain and disposes center, comprising:
Temporary terminal label unit, the first HASH value that the first terminal for receiving current approval system is sent, and sentence Whether the first HASH value of breaking and the HASH value prestored are identical;If the first HASH value is identical as the HASH value prestored, Judge whether the data on flows of the first terminal meets preset flow standard, if the data on flows of the first terminal meets The first terminal is then denoted as temporary terminal by preset flow standard;
IP address acquisition unit, the IP address of multiple temporary terminals for acquiring current approval system, wherein described more A temporary terminal includes at least application terminal and examination & approval terminal, and block chain deployment center is the block chain network of preparatory framework In a block chain node, block chain deployment center prestores virtual machine image and block chain node container mirror image;
Specified data transmission unit is sent for utilizing the IP address to the application terminal and the examination & approval terminal Specified data, the specified data include at least the virtual machine image and the block chain node container mirror image;
The block chain node has been installed and activated for receiving in registration request receiving unit in the virtual machine image The registration request of the designated terminal of container mirror image, the registration request are accompanied with the IP address and communication port of the designated terminal Information;
IP address judging unit, for judging whether the IP address of the designated terminal is the IP address for applying for terminal Or the IP address of the examination & approval terminal;
Digital certificate transmission unit, if for the designated terminal IP address be it is described application terminal IP address or The IP address of the examination & approval terminal, then record the IP address of the designated terminal and the information of communication port, and according to the finger The IP address for determining terminal generates the application digital certificate for representing the designated terminal identity or examination & approval digital certificate, and will be described Application digital certificate or examination & approval digital certificate are sent to the designated terminal;
Letter hair transmission unit, for sending the IP address and communication of all block chain nodes prestored to the designated terminal The information of port, and the IP address of the designated terminal and the information of communication port are sent to all block chain nodes, thus Complete deployment of the designated terminal in the block chain network parallel with current approval system.
The application provides a kind of computer equipment, including memory and processor, and the memory is stored with computer journey The step of sequence, the processor realizes any of the above-described the method when executing the computer program.
The application provides a kind of computer readable storage medium, is stored thereon with computer program, the computer program The step of method described in any of the above embodiments is realized when being executed by processor.
Parallel system dispositions method, device, computer equipment and the storage medium based on block chain of the application, works as reception The first HASH value it is identical as the HASH value prestored when, then judge whether the data on flows of the first terminal meets preset stream The first terminal is denoted as temporary end if the data on flows of the first terminal meets preset flow standard by amount standard End;Acquire the IP address of multiple temporary terminals of current approval system;Using the IP address, to the application terminal and described It examines terminal and sends specified data;Receive the registration request of designated terminal;If the designated terminal be the application terminal or The examination & approval terminal, then record the information of the registration request;IP is sent to the designated terminal and all block chain nodes The information of address and communication port improves confidentiality, the safety, information accuracy of approval system to complete to dispose.
Detailed description of the invention
Fig. 1 is the flow diagram of the parallel system dispositions method based on block chain of one embodiment of the application;
Fig. 2 is that the parallel system based on block chain of one embodiment of the application disposes the structural schematic block diagram of device;
Fig. 3 is the structural schematic block diagram of the computer equipment of one embodiment of the application.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Referring to Fig.1, the embodiment of the present application provides a kind of parallel system dispositions method based on block chain, is applied to block chain Deployment center, comprising the following steps:
The first HASH value that S1, the first terminal for receiving current approval system are sent, and judge the first HASH value with Whether the HASH value prestored is identical;If the first HASH value is identical as the HASH value prestored, the first terminal is judged Whether data on flows meets preset flow standard, if the data on flows of the first terminal meets preset flow standard, The first terminal is denoted as temporary terminal;
The IP address of multiple temporary terminals of S2, the current approval system of acquisition, wherein the multiple temporary terminal is at least wrapped Application terminal and examination & approval terminal are included, block chain deployment center is a block chain link in the block chain network of preparatory framework Point, block chain deployment center prestore virtual machine image and block chain node container mirror image;
S3, using the IP address, send specified data, the specified number to the application terminal and the examination & approval terminal According to including at least the virtual machine image and the block chain node container mirror image;
The designated terminal of the block chain node container mirror image has been installed and activated in S4, reception in the virtual machine image Registration request, the registration request is accompanied with the IP address of the designated terminal and the information of communication port;
Whether S5, the IP address for judging the designated terminal are the IP address or the examination & approval terminal for applying for terminal IP address;
If the IP address of S6, the designated terminal is for the IP address of the application terminal or the IP of the examination & approval terminal Location then records the IP address of the designated terminal and the information of communication port, and is generated according to the IP address of the designated terminal Represent the designated terminal identity application digital certificate perhaps examine digital certificate and by the application digital certificate or examine It criticizes digital certificate and is sent to the designated terminal;
S7, Xiang Suoshu designated terminal send the IP address of all block chain nodes prestored and the information of communication port, with And the IP address of the designated terminal and the information of communication port are sent to all block chain nodes, to complete the specified end Hold the deployment in the block chain network parallel with current approval system.
The application disposes center using block chain, and the participation group of current approval system is migrated to the block of preparatory framework In chain network, to form the parallel system based on block chain, to guarantee examination & approval using the characteristics such as be difficult to tamper with of block chain Confidentiality, safety, accuracy.Block chain deployment center is more utilized to be disposed, wherein the deployment center does not manage Member's permission can not log in or control other nodes, and can unify to provide respective resources (virtual machine image and the area of deployment Block chain node container mirror image etc.), to increase block chain deployment efficiency on the basis of adhering to decentralization.More use Function H (t) will be in the first terminal in normal operating conditions as the parallel system of subsequent deployment to identify first terminal Node basis.Efficiency, ensuring information security property are disposed to which the application improves, improve terminal identification accuracy.
As described in above-mentioned steps S1, the first HASH value that the first terminal of current approval system is sent is received, and judge institute Whether state the first HASH value identical as the HASH value that prestores;If the first HASH value is identical as the HASH value prestored, judge Whether the data on flows of the first terminal meets preset flow standard, if the data on flows of the first terminal meet it is default Flow standard, then the first terminal is denoted as temporary terminal.First HASH (Hash) value can be by default HASH algorithm calculates the data for the identity that can arbitrarily represent the first terminal and is obtained, and wherein block chain disposes center The HASH value for the identity for representing the first terminal is prestored, if the first HASH value is identical as the HASH value prestored, table The authentication of bright first terminal is errorless.Further, judge whether the data on flows of the first terminal meets preset stream The first terminal is denoted as temporary end if the data on flows of the first terminal meets preset flow standard by amount standard The method at end is for example are as follows: according to formula:
H (t)=min (G (t), m), whereinObtain function H (t), the flow function that wherein F (t) changes over time for the flow of the first terminal, f (t) are preset normal flow letter Number, E (t) are the difference functions of the flow function F (t) and the normal flow function f (t),For the difference letter Number time differential functions, min refer to minimum value function, and t is the time, m be it is preset be greater than 0 error parameter value;Obtain institute State H (t) on a timeline not equal to m when first time length and the second time span when equal to m;According to formula: normal Flow-time accounting=first time length/(the first time length+second time span) calculates described Normal discharge time accounting;Judge whether the normal discharge time accounting is greater than default accounting threshold value;If the normal discharge Time accounting is greater than default accounting threshold value, then the first terminal is denoted as temporary terminal.
Wherein function H (t) is to characterize traffic conditions of the first terminal as current approval system, as function H (t) When value is m, indicates that flow is excessive, be in abnormality;When function H (t) value is not m, indicate that flow is normal, in just Normal state calculates the normal discharge time accounting accordingly, and it is default to judge whether the normal discharge time accounting is greater than Accounting threshold value;If the normal discharge time accounting is greater than default accounting threshold value, the first terminal is denoted as temporary terminal. To which the temporary terminal can be used as the alternative terminal of new parallel approval system.
As described in above-mentioned steps S2, the IP address of multiple temporary terminals of current approval system is acquired, wherein the multiple Temporary terminal includes at least application terminal and examination & approval terminal, and block chain deployment center is in the block chain network of preparatory framework A block chain node, block chain deployment center prestores virtual machine image and block chain node container mirror image.Wherein, The block chain network built in advance can be publicly-owned chain, alliance's chain or privately owned chain.Deployment center, which refers to, to prestore for portion Affix one's name to the virtual machine image of block chain node and the terminal or server of block chain node container mirror image.Wherein, virtual machine image is used In providing basic running environment, for example, the environment of operation block chain link point container mirror image, program language running environment or Master tool packet etc..Block chain node container mirror image is preserved public account book and (such as is examined the having for current approval system Batch record transfers to as public account book) etc. data, for after block chain node container mirror image is installed and activated having, the terminal There are basic condition (such as information such as IP address for also needing to obtain other block chain nodes, the Yi Jigao as block chain node Know the information such as the IP address of this terminal of other block chain nodes, could complete that the block chain network is added).Wherein, the Shen Please terminal refer to issue examination & approval application terminal, it is described examination & approval terminal refer to examine it is described examination & approval application terminal.Wherein, it builds in advance Block chain network in the block chain network that can erect for any way, preferably only a node chain node (is disposed Center) block chain network, then realized by the application and dispose other block chain nodes in the block chain network.It is described Parallel system refers to the approval system based on block chain parallel with current approval system, that is, examining based on block chain made of disposing The system of criticizing and current approval system are concurrency relation, can be operated without interfering with each other.
As described in above-mentioned steps S3, using the IP address, sent to the application terminal and the examination & approval terminal specified Data, the specified data include at least the virtual machine image and the block chain node container mirror image.The application terminal It is the participation main body of current approval system with the examination & approval terminal, and the participation main body for the parallel system that will be disposed, therefore In the parallel system of addition in whole or in part that described should will apply for terminal and the examination & approval terminal.Accordingly, institute is utilized IP address is stated, sends specified data to the application terminal and the examination & approval terminal, the specified data include at least the void Quasi- machine mirror image and the block chain node container mirror image.To which the application terminal and the examination & approval terminal can use the void The preparation that quasi- machine mirror image and the block chain node container mirror image carry out addition block chain (is installed in the virtual machine image And after starting the block chain node container mirror image, the preparation that block chain is added can be completed).
As described in above-mentioned steps S4, the block chain node container has been installed and activated in reception in the virtual machine image The registration request of the designated terminal of mirror image, the registration request are accompanied with the IP address of the designated terminal and the letter of communication port Breath.Block chain will be added in the designated terminal, should know the IP address of other block chain nodes and the information of communication port, together When should also be as that other block chain nodes is allowed to know the IP address of the designated terminal and the information of communication port.To described After block chain is added in designated terminal, the designated terminal communicates with the information of other block chain nodes and is no longer needed for passing through deployment Center, namely realize decentralization.Wherein, the communication port is arbitrary port, for example, different service providing communications Port, such as 999 be data synchronous port etc..
As described in above-mentioned steps S5, judge the designated terminal IP address whether be it is described application terminal IP address or The IP address of terminal is examined described in person.If the IP address of the designated terminal is the IP address or described careful of the application terminal The IP address for criticizing terminal shows application terminal or examination & approval terminal that the designated terminal is current approval system respectively, namely By the application node and approval node as parallel system.If the IP address of the designated terminal is not the IP of the application terminal Address, while being also not the IP address of the examination & approval terminal, i.e., the described designated terminal is not belonging to current approval system, at this time should Refuse registration request.
As described in above-mentioned steps S6, if the IP address of the designated terminal is the IP address or described of the application terminal The IP address for examining terminal, then record the IP address of the designated terminal and the information of communication port, and according to the specified end The IP address at end generates the application digital certificate for representing the designated terminal identity or examination & approval digital certificate, and by the application Digital certificate or examination & approval digital certificate are sent to the designated terminal.In the application, deployment center not only provides block chain link The resource (virtual machine image etc.) that point deployment needs, additionally it is possible to record the IP address and communication port of the designated terminal of designated terminal Information, and provide between designated terminal and block chain node at least information exchange of the IP address and communication port of first time, And sign and issue the application digital certificate for representing the designated terminal identity or examination & approval digital certificate.The wherein application digital certificate Show that the terminal for holding this certificate has permission and initiates application approval request;The examination & approval digital certificate shows to hold the end of this certificate End has permission examination & approval application approval request.Accordingly, the designated terminal exists according to application digital certificate or examination & approval digital certificate Corresponding operation is executed in parallel system.
As described in above-mentioned steps S7, Xiang Suoshu designated terminal sends the IP address and communication of all block chain nodes prestored The information of port, and the IP address of the designated terminal and the information of communication port are sent to all block chain nodes, thus Complete deployment of the designated terminal in the block chain network parallel with current approval system.Designated terminal will be deployed in In the block chain network, the IP address and communication port of other block chain nodes should be known, and allow other block chain nodes Know the IP address and communication port of designated terminal.Therefore, Xiang Suoshu designated terminal sends all block chain nodes prestored The information of IP address and communication port, and send to all block chain nodes the IP address and communication port of the designated terminal Information, to complete deployment of the designated terminal in the block chain network parallel with current approval system.
In one embodiment, the IP address of multiple temporary terminals of the current approval system of acquisition, wherein described Multiple temporary terminals include at least application terminal and examine the step S2 of terminal, comprising:
S201, the log for obtaining the current approval system, and parse the log and obtain participating in the current examination & approval system The terminal of the application for execution operation of system and the terminal for executing review operation, are denoted as initial application terminal and initial examination & approval eventually respectively End;
The error logging number of S202, the statistics initial application terminal and the initial examination & approval terminal, obtains the mistake Misdescription records the initial application terminal that number is less than default first number of errors threshold value, and obtains the error logging number Less than the initial examination & approval terminal of default second number of errors threshold value;
S203, the initial application terminal that the error logging number is less than default first number of errors threshold value is denoted as Apply for terminal, and, the initial examination & approval terminal that the error logging number is less than default second number of errors threshold value is remembered To examine terminal;
The IP address of S204, the acquisition application terminal and the examination & approval terminal.
As described above, realizing the IP address for acquiring multiple temporary terminals of current approval system.Current approval system Log describes approval record, and the information for initiating the terminal of examination & approval application can be known from approval record, is participated in described in audit The information of the terminal of application is examined, audit passes through or unacceptable information etc..Accordingly, it by parsing the log, can obtain To the terminal with execution review operation of the terminal for the application for execution operation for participating in the current approval system, it is denoted as respectively initial Apply for terminal and initial examination & approval terminal.Due to this, leading to the not competent application of part terminal or examination & approval responsibility there are certain, Therefore the application obtains the mistake by counting the initial error logging number for applying for terminal and the initial examination & approval terminal Misdescription records the initial application terminal that number is less than default first number of errors threshold value, and obtains the error logging number Less than the initial examination & approval terminal of default second number of errors threshold value;The error logging number is less than default first mistake The initial application terminal of amount threshold is denoted as application terminal, and, the error logging number is wrong less than default second Accidentally the initial examination & approval terminal of amount threshold is denoted as the mode of examination & approval terminal, and the excessive terminal of the error logging number is arranged Except going out in the parallel system that will dispose, to guarantee the running quality of parallel system.Accordingly, acquire the application terminal with it is described Examine the IP address of terminal.
In one embodiment, described to utilize the IP address, it is sent to the application terminal and the examination & approval terminal Specified data, the specified data include at least the step S3 of the virtual machine image and the block chain node container mirror image, Include:
S301, the operation system information for obtaining the application terminal and the examination & approval terminal;
S302, the correct virtual machine to match with the operation system information is selected from a variety of virtual machine images prestored Mirror image;
S303, using the IP address, send specified data to the application terminal and the examination & approval terminal, it is described specified Data include at least the correct virtual machine image and the block chain node container mirror image.
Specified data, the specified data are sent as described above, realizing to the application terminal and the examination & approval terminal Including at least the correct virtual machine image and the block chain node container mirror image.Wherein, virtual machine image is according to operation The type of system and the version of operating system are respectively arranged with corresponding virtual machine image, such as the linux of different editions is grasped Make system, such as redhat, centos, ubuntu, three kinds of corresponding virtual machine images is respectively adopted, to pointedly send just The specified data of true virtual machine image and the block chain node container mirror image, avoid the virtual machine image and the block chain Node container mirror image is not available, and block chain node deployment is caused to fail.
In one embodiment, the IP address for judging the designated terminal whether be the application terminal IP After the step S5 of the IP address of location or the examination & approval terminal, comprising:
If the IP address of S51, the designated terminal is not the IP address of the application terminal, while the designated terminal IP address is also not the IP address of the examination & approval terminal, then it is preset new to judge whether the IP address of the designated terminal is recorded in Increase in IP address of terminal list;
If the IP address of S52, the designated terminal is not recorded in preset newly-increased IP address of terminal list, refuse institute Registration request is stated, and reduces the privilege of access rank of the designated terminal.
As described above, realizing the refusal registration request, and reduce the privilege of access rank of the designated terminal.According to Actual needs when excessive (such as examination & approval pressure), it is only whole using the terminal of current approval system as the participation of the parallel system End can make to examine efficiency reduction.If the IP address that therefore the application passes through the designated terminal is not the IP of the application terminal Address, while the IP address of the designated terminal is also not the IP address of the examination & approval terminal, then judges the designated terminal Whether IP address is recorded in preset newly-increased IP address of terminal list;If the IP address of the designated terminal is not recorded in default Newly-increased IP address of terminal list in, then refuse the registration request, and reduce the privilege of access rank of the designated terminal;If The IP address of the designated terminal is recorded in preset newly-increased IP address of terminal list, then with recording the IP of the designated terminal The information of location and communication port, and the application number for representing the designated terminal identity is generated according to the IP address of the designated terminal Word certificate perhaps examines digital certificate and the application digital certificate or examination & approval digital certificate is sent to the specified end End.To realize the quantity that dynamic adjustment participates in the terminal of parallel system, to improve examination & approval efficiency.The wherein privilege of access Rank refers to the priority level at designated terminal access block chain deployment center, i.e., preferentially receives other terminals and dispose to block chain The access request at center, and postpone the designated terminal to the access request at block chain deployment center.
In one embodiment, if the IP address of the designated terminal be it is described application terminal IP address or The IP address of the examination & approval terminal, then record the IP address of the designated terminal and the information of communication port, and according to the finger The IP address for determining terminal generates the application digital certificate for representing the designated terminal identity or examination & approval digital certificate, and will be described Application digital certificate examines the step S6 that digital certificate is sent to the designated terminal, comprising:
If the IP address of S601, the designated terminal is the IP address of the application terminal or the IP of the examination & approval terminal Address then records the IP address of the designated terminal and the information of communication port, and raw according to the IP address of the designated terminal Cheng represents the application digital certificate or examination & approval digital certificate of the designated terminal identity;
S602, the parsing current approval system obtain the approval process of the current approval system, and are examined according to described Process is criticized, intelligent contract is generated;
S603, the intelligent contract is sent to the designated terminal, while by the application digital certificate or examination & approval Digital certificate is sent to the designated terminal.
As described above, realizing the information of the IP address and communication port that record the designated terminal, and according to the finger The IP address for determining terminal generates the application digital certificate for representing the designated terminal identity or examination & approval digital certificate, and will be described Application digital certificate or examination & approval digital certificate are sent to the designated terminal.Present embodiment is examined according to current approval system Process is criticized, intelligent contract flexibly and is in real time generated, the parallel system that deployment obtains can be realized and currently examination & approval are to limit It unites identical function.Wherein the intelligent contract is a kind of calculating for being intended to propagate, verify or execute in a manner of information-based contract Machine agreement.Intelligent contract permission carries out credible transaction in no third-party situation, these transaction are traceable and irreversible. The intelligent contract is sent to the designated terminal, after the designated terminal is installed and uses the intelligent contract, Ji Keyu Other are installed and the terminal of the intelligent contract are used to complete approval process.Wherein, the intelligent contract is flowed according to the examination & approval Cheng Shengcheng, therefore the examination & approval rule in the parallel system limited is identical as current approval system, to ensure that parallel block chain The consistency of system and former approval system.
In one embodiment, it is described to the designated terminal send the IP address of all block chain nodes prestored and The information of communication port, and the IP address of the designated terminal and the information of communication port are sent to all block chain nodes, To complete the designated terminal after the step S7 of the deployment in the block chain network parallel with current approval system, Include:
S71, the modification request for receiving modification IP address or communication port that the designated terminal is sent;
S72, according to the modification request, modified in the registration information of the designated terminal terminal IP address or Person's communication port;
S73, the information of the IP address of the modified terminal or communication port is sent to all block chain nodes.
As described above, realizing more new IP address or communication port by deployment center.As the IP of the designated terminal After address or communication port change, in order to make other block chain nodes that can also find the designated terminal, then it should incite somebody to action The information of modified IP address or communication port is sent to other block chain nodes.Specifically, described in deployment center receives The modification request for the modification IP address or communication port that designated terminal is sent, was requested according to the modification, at the specified end Modified in the registration information at end the IP address of the terminal perhaps communication port by the IP address of the modified terminal or The information of communication port is sent to all block chain nodes.To realize IP address or communication port by deployment center It updates.Further, deployment center can also actively judge whether the IP address of designated terminal or communication port are modified, If being modified, the IP address or communication port of modified designated terminal are obtained, and in the note of the designated terminal Modified in volume information the IP address of the terminal perhaps communication port again by the IP address or communication of the modified terminal The information of port is sent to all block chain nodes.
In one embodiment, the IP address of multiple temporary terminals of the current approval system of acquisition, wherein described Multiple temporary terminals include at least application terminal and examination & approval terminal, and block chain deployment center is the block link network of preparatory framework A block chain node in network, block chain deployment center prestore virtual machine image and block chain node container mirror image Before step S2, comprising:
S11, block chain class is created using appointed language, and will obtain wound generation block, In after block chain class instantiation 0 is set by the cryptographic Hash of previous block in the wound generation block;
S12, be based on the wound generation block, other blocks are generated using preset block generation technique, wherein described in other Block records the cryptographic Hash of previous block;
S13, using default terminal as block chain node, to build the block chain network.
The block chain network is built as described above, realizing.The language for wherein creating block chain class can be arbitrarily may be used Row language, such as JAVA, C++, Go language etc., the preferred Go language of present embodiment, to optimize block chain class.Wherein block chain Class (class) is the definition to block chain, is the design parameter of determining block chain by block chain class instantiation, to obtain First block (wound generation block) is obtained, thus the generation foundation as other blocks.It is real since wound generation block is first block Block before not having on border, therefore 0 is set by the cryptographic Hash of previous block in wound generation block.The wherein default terminal For the terminal of the default common recognition mechanism of the receiving block chain network, the default common recognition mechanism can be any common recognition mechanism, example For example proof of work mechanism, equity prove mechanism, Byzantine failure tolerance mechanism etc., the preferred Byzantine failure tolerance machine of present embodiment System.It is wherein, for example, that block head, block body are set using preset block generation technique;The previous block in the block head Cryptographic Hash, the cryptographic Hash and timestamp of local area block;Pre-prepd data are stored in block body, thus the block head A block is constituted with the block body.
The parallel system dispositions method based on block chain of the application, when received first HASH value and the HASH value prestored When identical, then judge whether the data on flows of the first terminal meets preset flow standard, if the stream of the first terminal The preset flow standard of data fit is measured, then the first terminal is denoted as temporary terminal;Acquire the multiple of current approval system The IP address of temporary terminal;Using the IP address, specified data are sent to the application terminal and the examination & approval terminal;It receives The registration request of designated terminal;If the designated terminal is the application terminal or the examination & approval terminal, the note is recorded The information of volume request;The information of IP address and communication port is sent to the designated terminal and all block chain nodes, thus Deployment is completed, confidentiality, the safety, information accuracy of approval system are improved.
Referring to Fig. 2, the embodiment of the present application provides a kind of parallel system deployment device based on block chain, is applied to block chain Deployment center, comprising:
Temporary terminal label unit 10, the first HASH value that the first terminal for receiving current approval system is sent, and Judge whether the first HASH value and the HASH value prestored are identical;If the first HASH value is identical as the HASH value prestored, Then judge whether the data on flows of the first terminal meets preset flow standard, if the data on flows of the first terminal accords with Preset flow standard is closed, then the first terminal is denoted as temporary terminal;
IP address acquisition unit 20, the IP address of multiple temporary terminals for acquiring current approval system, wherein described Multiple temporary terminals include at least application terminal and examination & approval terminal, and block chain deployment center is the block link network of preparatory framework A block chain node in network, block chain deployment center prestore virtual machine image and block chain node container mirror image;
Specified data transmission unit 30 is sent out for utilizing the IP address to the application terminal and the examination & approval terminal Specified data are sent, the specified data include at least the virtual machine image and the block chain node container mirror image;
The block chain link has been installed and activated for receiving in registration request receiving unit 40 in the virtual machine image The registration request of the designated terminal of point container mirror image, the registration request are accompanied with the IP address and communication ends of the designated terminal The information of mouth;
IP address judging unit 50, for judge the designated terminal IP address whether be the application terminal IP The IP address of location or the examination & approval terminal;
Digital certificate transmission unit 60, if for the designated terminal IP address be it is described application terminal IP address or The IP address that terminal is examined described in person, then record the IP address of the designated terminal and the information of communication port, and according to described The IP address of designated terminal generates the application digital certificate for representing the designated terminal identity or examination & approval digital certificate, and by institute It states application digital certificate or examination & approval digital certificate is sent to the designated terminal;
Letter hair transmission unit 70, for sending the IP address of all block chain nodes prestored to the designated terminal and leading to Believe the information of port, and sends the IP address of the designated terminal and the information of communication port to all block chain nodes, from And complete deployment of the designated terminal in the block chain network parallel with current approval system.
As described in said units 10, the first HASH value that the first terminal of current approval system is sent is received, and judge institute Whether state the first HASH value identical as the HASH value that prestores;If the first HASH value is identical as the HASH value prestored, judge Whether the data on flows of the first terminal meets preset flow standard, if the data on flows of the first terminal meet it is default Flow standard, then the first terminal is denoted as temporary terminal.First HASH (Hash) value can be by default HASH algorithm calculates the data for the identity that can arbitrarily represent the first terminal and is obtained, and wherein block chain disposes center The HASH value for the identity for representing the first terminal is prestored, if the first HASH value is identical as the HASH value prestored, table The authentication of bright first terminal is errorless.Further, judge whether the data on flows of the first terminal meets preset stream The first terminal is denoted as temporary end if the data on flows of the first terminal meets preset flow standard by amount standard The method at end is for example are as follows: according to formula:
Obtain function H (t), the flow function that wherein F (t) changes over time for the flow of the first terminal, f (t) are preset normal flow letter Number, E (t) are the difference functions of the flow function F (t) and the normal flow function f (t),For the difference functions Time differential function, min refer to minimum value function, and t is the time, m be it is preset be greater than 0 error parameter value;Obtain the H (t) first time length when being not equal to m on a timeline and the second time span when equal to m;According to formula: normal discharge Time accounting=first time length/(the first time length+second time span) calculates described normal Flow-time accounting;Judge whether the normal discharge time accounting is greater than default accounting threshold value;If the normal discharge time Accounting is greater than default accounting threshold value, then the first terminal is denoted as temporary terminal.
Wherein function H (t) is to characterize traffic conditions of the first terminal as current approval system, as function H (t) When value is m, indicates that flow is excessive, be in abnormality;When function H (t) value is not m, indicate that flow is normal, in just Normal state calculates the normal discharge time accounting accordingly, and it is default to judge whether the normal discharge time accounting is greater than Accounting threshold value;If the normal discharge time accounting is greater than default accounting threshold value, the first terminal is denoted as temporary terminal. To which the temporary terminal can be used as the alternative terminal of new parallel approval system.
As described in said units 20, the IP address of multiple temporary terminals of current approval system is acquired, wherein the multiple Temporary terminal includes at least application terminal and examination & approval terminal, and block chain deployment center is in the block chain network of preparatory framework A block chain node, block chain deployment center prestores virtual machine image and block chain node container mirror image.Wherein, The block chain network built in advance can be publicly-owned chain, alliance's chain or privately owned chain.Deployment center, which refers to, to prestore for portion Affix one's name to the virtual machine image of block chain node and the terminal or server of block chain node container mirror image.Wherein, virtual machine image is used In providing basic running environment, for example, the environment of operation block chain link point container mirror image, program language running environment or Master tool packet etc..Block chain node container mirror image is preserved public account book and (such as is examined the having for current approval system Batch record transfers to as public account book) etc. data, for after block chain node container mirror image is installed and activated having, the terminal There are basic condition (such as information such as IP address for also needing to obtain other block chain nodes, the Yi Jigao as block chain node Know the information such as the IP address of this terminal of other block chain nodes, could complete that the block chain network is added).Wherein, the Shen Please terminal refer to issue examination & approval application terminal, it is described examination & approval terminal refer to examine it is described examination & approval application terminal.Wherein, it builds in advance Block chain network in the block chain network that can erect for any way, preferably only a node chain node (is disposed Center) block chain network, then realized by the application and dispose other block chain nodes in the block chain network.It is described Parallel system refers to the approval system based on block chain parallel with current approval system, that is, examining based on block chain made of disposing The system of criticizing and current approval system are concurrency relation, can be operated without interfering with each other.
As described in said units 30, using the IP address, sent to the application terminal and the examination & approval terminal specified Data, the specified data include at least the virtual machine image and the block chain node container mirror image.The application terminal It is the participation main body of current approval system with the examination & approval terminal, and the participation main body for the parallel system that will be disposed, therefore In the parallel system of addition in whole or in part that described should will apply for terminal and the examination & approval terminal.Accordingly, institute is utilized IP address is stated, sends specified data to the application terminal and the examination & approval terminal, the specified data include at least the void Quasi- machine mirror image and the block chain node container mirror image.To which the application terminal and the examination & approval terminal can use the void The preparation that quasi- machine mirror image and the block chain node container mirror image carry out addition block chain (is installed in the virtual machine image And after starting the block chain node container mirror image, the preparation that block chain is added can be completed).
As described in said units 40, the block chain node container has been installed and activated in reception in the virtual machine image The registration request of the designated terminal of mirror image, the registration request are accompanied with the IP address of the designated terminal and the letter of communication port Breath.Block chain will be added in the designated terminal, should know the IP address of other block chain nodes and the information of communication port, together When should also be as that other block chain nodes is allowed to know the IP address of the designated terminal and the information of communication port.To described After block chain is added in designated terminal, the designated terminal communicates with the information of other block chain nodes and is no longer needed for passing through deployment Center, namely realize decentralization.Wherein, the communication port is arbitrary port, for example, different service providing communications Port, such as 999 be data synchronous port etc..
As described in said units 50, judge the designated terminal IP address whether be it is described application terminal IP address or The IP address of terminal is examined described in person.If the IP address of the designated terminal is the IP address or described careful of the application terminal The IP address for criticizing terminal shows application terminal or examination & approval terminal that the designated terminal is current approval system respectively, namely By the application node and approval node as parallel system.If the IP address of the designated terminal is not the IP of the application terminal Address, while being also not the IP address of the examination & approval terminal, i.e., the described designated terminal is not belonging to current approval system, at this time should Refuse registration request.
As described in said units 60, if the IP address of the designated terminal is the IP address or described of the application terminal The IP address for examining terminal, then record the IP address of the designated terminal and the information of communication port, and according to the specified end The IP address at end generates the application digital certificate for representing the designated terminal identity or examination & approval digital certificate, and by the application Digital certificate or examination & approval digital certificate are sent to the designated terminal.In the application, deployment center not only provides block chain link The resource (virtual machine image etc.) that point deployment needs, additionally it is possible to record the IP address and communication port of the designated terminal of designated terminal Information, and provide between designated terminal and block chain node at least information exchange of the IP address and communication port of first time, And sign and issue the application digital certificate for representing the designated terminal identity or examination & approval digital certificate.The wherein application digital certificate Show that the terminal for holding this certificate has permission and initiates application approval request;The examination & approval digital certificate shows to hold the end of this certificate End has permission examination & approval application approval request.Accordingly, the designated terminal exists according to application digital certificate or examination & approval digital certificate Corresponding operation is executed in parallel system.
As described in said units 70, Xiang Suoshu designated terminal sends the IP address and communication of all block chain nodes prestored The information of port, and the IP address of the designated terminal and the information of communication port are sent to all block chain nodes, thus Complete deployment of the designated terminal in the block chain network parallel with current approval system.Designated terminal will be deployed in In the block chain network, the IP address and communication port of other block chain nodes should be known, and allow other block chain nodes Know the IP address and communication port of designated terminal.Therefore, Xiang Suoshu designated terminal sends all block chain nodes prestored The information of IP address and communication port, and send to all block chain nodes the IP address and communication port of the designated terminal Information, to complete deployment of the designated terminal in the block chain network parallel with current approval system.
In one embodiment, the IP address acquisition unit 20, comprising:
Log acquisition subelement for obtaining the log of the current approval system, and parses the log and is participated in The terminal of the application for execution operation of the current approval system and the terminal for executing review operation, are denoted as initial application terminal respectively With initial examination & approval terminal;
Error logging number counts subelement, for counting the mistake of the initial application terminal and the initial examination & approval terminal Misdescription records number, obtains the initial application terminal that the error logging number is less than default first number of errors threshold value, with And obtain the initial examination & approval terminal that the error logging number is less than default second number of errors threshold value;
Terminal label subelement, for the error logging number to be less than the described first of default first number of errors threshold value The application terminal that begins is denoted as application terminal, and, the error logging number is less than described in default second number of errors threshold value Initial examination & approval terminal is denoted as examination & approval terminal;
IP address acquires subelement, for acquiring the IP address of the application terminal and the examination & approval terminal.
As described above, realizing the IP address for acquiring multiple temporary terminals of current approval system.Current approval system Log describes approval record, and the information for initiating the terminal of examination & approval application can be known from approval record, is participated in described in audit The information of the terminal of application is examined, audit passes through or unacceptable information etc..Accordingly, it by parsing the log, can obtain To the terminal with execution review operation of the terminal for the application for execution operation for participating in the current approval system, it is denoted as respectively initial Apply for terminal and initial examination & approval terminal.Due to this, leading to the not competent application of part terminal or examination & approval responsibility there are certain, Therefore the application obtains the mistake by counting the initial error logging number for applying for terminal and the initial examination & approval terminal Misdescription records the initial application terminal that number is less than default first number of errors threshold value, and obtains the error logging number Less than the initial examination & approval terminal of default second number of errors threshold value;The error logging number is less than default first mistake The initial application terminal of amount threshold is denoted as application terminal, and, the error logging number is wrong less than default second Accidentally the initial examination & approval terminal of amount threshold is denoted as the mode of examination & approval terminal, and the excessive terminal of the error logging number is arranged Except going out in the parallel system that will dispose, to guarantee the running quality of parallel system.Accordingly, acquire the application terminal with it is described Examine the IP address of terminal.
In one embodiment, the specified data transmission unit 30, comprising:
Operation system information obtains subelement, for obtaining the operating system letter of the application terminal and the examination & approval terminal Breath;
Correct virtual machine image selects subelement, for the selection from a variety of virtual machine images prestored and operation system The correct virtual machine image that system information matches;
Specified data transmission sub-unit is sent out for utilizing the IP address to the application terminal and the examination & approval terminal Specified data are sent, the specified data include at least the correct virtual machine image and the block chain node container mirror image.
Specified data, the specified data are sent as described above, realizing to the application terminal and the examination & approval terminal Including at least the correct virtual machine image and the block chain node container mirror image.Wherein, virtual machine image is according to operation The type of system and the version of operating system are respectively arranged with corresponding virtual machine image, such as the linux of different editions is grasped Make system, such as redhat, centos, ubuntu, three kinds of corresponding virtual machine images is respectively adopted, to pointedly send just The specified data of true virtual machine image and the block chain node container mirror image, avoid the virtual machine image and the block chain Node container mirror image is not available, and block chain node deployment is caused to fail.
In one embodiment, described device, comprising:
Newly-increased IP address of terminal judging unit, if the IP address for the designated terminal is not the IP of the application terminal Address, while the IP address of the designated terminal is also not the IP address of the examination & approval terminal, then judges the designated terminal Whether IP address is recorded in preset newly-increased IP address of terminal list;
Refuse unit, if the IP address for the designated terminal is not recorded in preset newly-increased IP address of terminal list In, then refuse the registration request, and reduce the privilege of access rank of the designated terminal.
As described above, realizing the refusal registration request, and reduce the privilege of access rank of the designated terminal.According to Actual needs when excessive (such as examination & approval pressure), it is only whole using the terminal of current approval system as the participation of the parallel system End can make to examine efficiency reduction.If the IP address that therefore the application passes through the designated terminal is not the IP of the application terminal Address, while the IP address of the designated terminal is also not the IP address of the examination & approval terminal, then judges the designated terminal Whether IP address is recorded in preset newly-increased IP address of terminal list;If the IP address of the designated terminal is not recorded in default Newly-increased IP address of terminal list in, then refuse the registration request, and reduce the privilege of access rank of the designated terminal;If The IP address of the designated terminal is recorded in preset newly-increased IP address of terminal list, then with recording the IP of the designated terminal The information of location and communication port, and the application number for representing the designated terminal identity is generated according to the IP address of the designated terminal Word certificate perhaps examines digital certificate and the application digital certificate or examination & approval digital certificate is sent to the specified end End.To realize the quantity that dynamic adjustment participates in the terminal of parallel system, to improve examination & approval efficiency.The wherein privilege of access Rank refers to the priority level at designated terminal access block chain deployment center, i.e., preferentially receives other terminals and dispose to block chain The access request at center, and postpone the designated terminal to the access request at block chain deployment center.
In one embodiment, the digital certificate transmission unit 60, comprising:
Digital certificate generate subelement, if for the designated terminal IP address be it is described application terminal IP address or The IP address that terminal is examined described in person, then record the IP address of the designated terminal and the information of communication port, and according to described The IP address of designated terminal generates the application digital certificate for representing the designated terminal identity or examination & approval digital certificate;
Intelligent contract subelement is generated, for parsing the current approval system, obtains examining for the current approval system Process is criticized, and according to the approval process, generates intelligent contract;
Intelligent contract subelement is sent, for the intelligent contract to be sent to the designated terminal, while by the Shen Please digital certificate or examination & approval digital certificate be sent to the designated terminal.
As described above, realizing the information of the IP address and communication port that record the designated terminal, and according to the finger The IP address for determining terminal generates the application digital certificate for representing the designated terminal identity or examination & approval digital certificate, and will be described Application digital certificate or examination & approval digital certificate are sent to the designated terminal.Present embodiment is examined according to current approval system Process is criticized, intelligent contract flexibly and is in real time generated, the parallel system that deployment obtains can be realized and currently examination & approval are to limit It unites identical function.Wherein the intelligent contract is a kind of calculating for being intended to propagate, verify or execute in a manner of information-based contract Machine agreement.Intelligent contract permission carries out credible transaction in no third-party situation, these transaction are traceable and irreversible. The intelligent contract is sent to the designated terminal, after the designated terminal is installed and uses the intelligent contract, Ji Keyu Other are installed and the terminal of the intelligent contract are used to complete approval process.Wherein, the intelligent contract is flowed according to the examination & approval Cheng Shengcheng, therefore the examination & approval rule in the parallel system limited is identical as current approval system, to ensure that parallel block chain The consistency of system and former approval system.
In one embodiment, described device, comprising:
Request reception unit is modified, for receiving the modification IP address of the designated terminal transmission or repairing for communication port Change request;
Unit is modified, for requesting according to the modification, the terminal is modified in the registration information of the designated terminal IP address or communication port;
Information transmitting unit after modification, for sending out the information of the IP address of the modified terminal or communication port Give all block chain nodes.
As described above, realizing more new IP address or communication port by deployment center.As the IP of the designated terminal After address or communication port change, in order to make other block chain nodes that can also find the designated terminal, then it should incite somebody to action The information of modified IP address or communication port is sent to other block chain nodes.Specifically, described in deployment center receives The modification request for the modification IP address or communication port that designated terminal is sent, was requested according to the modification, at the specified end Modified in the registration information at end the IP address of the terminal perhaps communication port by the IP address of the modified terminal or The information of communication port is sent to all block chain nodes.To realize IP address or communication port by deployment center It updates.Further, deployment center can also actively judge whether the IP address of designated terminal or communication port are modified, If being modified, the IP address or communication port of modified designated terminal are obtained, and in the note of the designated terminal Modified in volume information the IP address of the terminal perhaps communication port again by the IP address or communication of the modified terminal The information of port is sent to all block chain nodes.
In one embodiment, described device, comprising:
Generation block acquiring unit is created, for creating block chain class using appointed language, and the block chain class is instantiated Wound generation block is obtained afterwards, sets 0 for the cryptographic Hash of previous block in the wound generation block;
Other block generation units generate other using preset block generation technique for being based on the wound generation block Block, wherein other described blocks record the cryptographic Hash of previous block;
Block chain node setting unit is used for using default terminal as block chain node, to build the block link network Network.
The block chain network is built as described above, realizing.The language for wherein creating block chain class can be arbitrarily may be used Row language, such as JAVA, C++, Go language etc., the preferred Go language of present embodiment, to optimize block chain class.Wherein block chain Class (class) is the definition to block chain, is the design parameter of determining block chain by block chain class instantiation, to obtain First block (wound generation block) is obtained, thus the generation foundation as other blocks.It is real since wound generation block is first block Block before not having on border, therefore 0 is set by the cryptographic Hash of previous block in wound generation block.The wherein default terminal For the terminal of the default common recognition mechanism of the receiving block chain network, the default common recognition mechanism can be any common recognition mechanism, example For example proof of work mechanism, equity prove mechanism, Byzantine failure tolerance mechanism etc., the preferred Byzantine failure tolerance machine of present embodiment System.It is wherein, for example, that block head, block body are set using preset block generation technique;The previous block in the block head Cryptographic Hash, the cryptographic Hash and timestamp of local area block;Pre-prepd data are stored in block body, thus the block head A block is constituted with the block body.
The parallel system based on block chain of the application disposes device, when received first HASH value and the HASH value prestored When identical, then judge whether the data on flows of the first terminal meets preset flow standard, if the stream of the first terminal The preset flow standard of data fit is measured, then the first terminal is denoted as temporary terminal;Acquire the multiple of current approval system The IP address of temporary terminal;Using the IP address, specified data are sent to the application terminal and the examination & approval terminal;It receives The registration request of designated terminal;If the designated terminal is the application terminal or the examination & approval terminal, the note is recorded The information of volume request;The information of IP address and communication port is sent to the designated terminal and all block chain nodes, thus Deployment is completed, confidentiality, the safety, information accuracy of approval system are improved.
Referring to Fig. 3, a kind of computer equipment is also provided in the embodiment of the present invention, which can be server, Its internal structure can be as shown in the figure.The computer equipment includes that the processor, memory, network connected by system bus connects Mouth and database.Wherein, the processor of the Computer Design is for providing calculating and control ability.The storage of the computer equipment Device includes non-volatile memory medium, built-in storage.The non-volatile memory medium be stored with operating system, computer program and Database.The internal memory provides environment for the operation of operating system and computer program in non-volatile memory medium.The meter The database of machine equipment is calculated for storing data used in the parallel system dispositions method based on block chain.The net of the computer equipment Network interface is used to communicate with external terminal by network connection.To realize a kind of base when the computer program is executed by processor In the parallel system dispositions method of block chain.
Above-mentioned processor executes the above-mentioned parallel system dispositions method based on block chain, is applied to block chain and disposes center, The following steps are included: the first HASH value that the first terminal for receiving current approval system is sent, and judge the first HASH value It is whether identical as the HASH value that prestores;If the first HASH value is identical as the HASH value prestored, according to formula:
Obtain function H (t), the flow function that wherein F (t) changes over time for the flow of the first terminal, f (t) are preset normal flow letter Number, E (t) are the difference functions of the flow function F (t) and the normal flow function f (t),For the difference functions Time differential function, min refer to minimum value function, and t is the time, m be it is preset be greater than 0 error parameter value;Obtain the H (t) first time length when being not equal to m on a timeline and the second time span when equal to m, and according to formula: normal stream Measure time accounting=first time length/(the first time length+second time span), calculate it is described just Normal flow time accounting, and judge whether the normal discharge time accounting is greater than default accounting threshold value;If the normal discharge Time accounting is greater than default accounting threshold value, then the first terminal is denoted as temporary terminal;Acquire the multiple of current approval system The IP address of temporary terminal, wherein the multiple temporary terminal includes at least application terminal and examination & approval terminal, block chain portion Administration center is a block chain node in the block chain network of preparatory framework, and block chain deployment center prestores virtual machine Mirror image and block chain node container mirror image;Using the IP address, sent to the application terminal and the examination & approval terminal specified Data, the specified data include at least the virtual machine image and the block chain node container mirror image;It receives described The registration request of the designated terminal of the block chain node container mirror image, the registration request are installed and activated in virtual machine image It is accompanied with the IP address of the designated terminal and the information of communication port;Whether the IP address for judging the designated terminal is described Apply for the IP address of terminal or the IP address of the examination & approval terminal;If the IP address of the designated terminal is the application terminal IP address or it is described examination & approval terminal IP address, then record the IP address of the designated terminal and the information of communication port, And the application digital certificate for representing the designated terminal identity or examination & approval number are generated according to the IP address of the designated terminal Certificate, and the application digital certificate or examination & approval digital certificate are sent to the designated terminal;It is sent out to the designated terminal The IP address of all block chain nodes prestored and the information of communication port are sent, and sends the finger to all block chain nodes Determine the IP address of terminal and the information of communication port, thus complete the designated terminal with current approval system it is parallel described in Deployment in block chain network.
In one embodiment, the IP address of multiple temporary terminals of the current approval system of acquisition, wherein described Multiple temporary terminals include at least the step of application terminal and examination & approval terminal, comprising: the log of the current approval system is obtained, And it parses the log and obtains participating in the terminal and the end of execution review operation that the application for execution of the current approval system operates End is denoted as initial application terminal and initial examination & approval terminal respectively;Count the initial application terminal and the initial examination & approval terminal Error logging number, obtain the initial apply end that the error logging number is less than default first number of errors threshold value End, and obtain the initial examination & approval terminal that the error logging number is less than default second number of errors threshold value;It will be described The initial application terminal that error logging number is less than default first number of errors threshold value is denoted as application terminal, and, by institute The initial examination & approval terminal that error logging number is stated less than default second number of errors threshold value is denoted as examination & approval terminal;Described in acquisition Apply for the IP address of terminal and the examination & approval terminal.
In one embodiment, described to utilize the IP address, it is sent to the application terminal and the examination & approval terminal The step of specified data, the specified data include at least the virtual machine image and the block chain node container mirror image, packet It includes: obtaining the operation system information of the application terminal and the examination & approval terminal;It is selected from a variety of virtual machine images prestored The correct virtual machine image to match with the operation system information;Using the IP address, to the application terminal and described It examines terminal and sends specified data, the specified data include at least the correct virtual machine image and the block chain node holds Device mirror image.
In one embodiment, the IP address for judging the designated terminal whether be the application terminal IP After the step of IP address of location or the examination & approval terminal, comprising: if the IP address of the designated terminal is not the application The IP address of terminal, while the IP address of the designated terminal is also not the IP address of the examination & approval terminal, then judges the finger Whether the IP address for determining terminal is recorded in preset newly-increased IP address of terminal list;If the IP address of the designated terminal is not remembered It is loaded in preset newly-increased IP address of terminal list, then refuses the registration request, and the access for reducing the designated terminal is excellent First rank.
In one embodiment, if the IP address of the designated terminal be it is described application terminal IP address or The IP address of the examination & approval terminal, then record the IP address of the designated terminal and the information of communication port, and according to the finger The IP address for determining terminal generates the application digital certificate for representing the designated terminal identity or examination & approval digital certificate, and will be described The step of application digital certificate or examination & approval digital certificate are sent to the designated terminal, comprising: if the IP of the designated terminal Address is the IP address of the application terminal or the IP address of the examination & approval terminal, then records the IP address of the designated terminal With the information of communication port, and according to the IP address of the designated terminal generate represent the designated terminal identity application number Certificate or examination & approval digital certificate;The current approval system is parsed, the approval process of the current approval system, and root are obtained According to the approval process, intelligent contract is generated;The intelligent contract is sent to the designated terminal, while by the application number Word certificate or examination & approval digital certificate are sent to the designated terminal.
In one embodiment, it is described to the designated terminal send the IP address of all block chain nodes prestored and The information of communication port, and the IP address of the designated terminal and the information of communication port are sent to all block chain nodes, After completing the designated terminal the deployment in the block chain network parallel with current approval system the step of, packet It includes: receiving the modification request of modification IP address or communication port that the designated terminal is sent;It is requested according to the modification, In The IP address or communication port of the terminal are modified in the registration information of the designated terminal;By the modified terminal The information of IP address or communication port is sent to all block chain nodes.
In one embodiment, the IP address of multiple temporary terminals of the current approval system of acquisition, wherein described Multiple temporary terminals include at least application terminal and examination & approval terminal, and block chain deployment center is the block link network of preparatory framework A block chain node in network, block chain deployment center prestore virtual machine image and block chain node container mirror image Before step, comprising: block chain class is created using appointed language, and wound generation block will be obtained after block chain class instantiation, 0 is set by the cryptographic Hash of previous block in the wound generation block;Based on the wound generation block, generated using preset block Technology generates other blocks, wherein other described blocks record the cryptographic Hash of previous block;Using default terminal as block chain Node, to build the block chain network.
It will be understood by those skilled in the art that structure shown in figure, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme.
The computer equipment of the application, when received first HASH value is identical as the HASH value prestored, then described in judgement Whether the data on flows of first terminal meets preset flow standard, if the data on flows of the first terminal meets preset stream The first terminal is then denoted as temporary terminal by amount standard;Acquire the IP address of multiple temporary terminals of current approval system;Benefit With the IP address, specified data are sent to the application terminal and the examination & approval terminal;Receive the registration request of designated terminal; If the designated terminal is the application terminal or the examination & approval terminal, the information of the registration request is recorded;To described The information that designated terminal and all block chain nodes send IP address and communication port improves examination & approval to complete to dispose The confidentiality of system, safety, information accuracy.
One embodiment of the application also provides a kind of computer readable storage medium, is stored thereon with computer program, calculates The parallel system dispositions method based on block chain is realized when machine program is executed by processor, and is applied to block chain and is disposed center, packet Include following steps: receive current approval system first terminal send the first HASH value, and judge the first HASH value with Whether the HASH value prestored is identical;If the first HASH value is identical as the HASH value prestored, according to formula:
Obtain function H (t), the flow function that wherein F (t) changes over time for the flow of the first terminal, f (t) are preset normal flow letter Number, E (t) are the difference functions of the flow function F (t) and the normal flow function f (t),For the difference functions Time differential function, min refer to minimum value function, and t is the time, m be it is preset be greater than 0 error parameter value;Obtain the H (t) first time length when being not equal to m on a timeline and the second time span when equal to m, and according to formula: normal stream Measure time accounting=first time length/(the first time length+second time span), calculate it is described just Normal flow time accounting, and judge whether the normal discharge time accounting is greater than default accounting threshold value;If the normal discharge Time accounting is greater than default accounting threshold value, then the first terminal is denoted as temporary terminal;Acquire the multiple of current approval system The IP address of temporary terminal, wherein the multiple temporary terminal includes at least application terminal and examination & approval terminal, block chain portion Administration center is a block chain node in the block chain network of preparatory framework, and block chain deployment center prestores virtual machine Mirror image and block chain node container mirror image;Using the IP address, sent to the application terminal and the examination & approval terminal specified Data, the specified data include at least the virtual machine image and the block chain node container mirror image;It receives described The registration request of the designated terminal of the block chain node container mirror image, the registration request are installed and activated in virtual machine image It is accompanied with the IP address of the designated terminal and the information of communication port;Whether the IP address for judging the designated terminal is described Apply for the IP address of terminal or the IP address of the examination & approval terminal;If the IP address of the designated terminal is the application terminal IP address or it is described examination & approval terminal IP address, then record the IP address of the designated terminal and the information of communication port, And the application digital certificate for representing the designated terminal identity or examination & approval number are generated according to the IP address of the designated terminal Certificate, and the application digital certificate or examination & approval digital certificate are sent to the designated terminal;It is sent out to the designated terminal The IP address of all block chain nodes prestored and the information of communication port are sent, and sends the finger to all block chain nodes Determine the IP address of terminal and the information of communication port, thus complete the designated terminal with current approval system it is parallel described in Deployment in block chain network.
In one embodiment, the IP address of multiple temporary terminals of the current approval system of acquisition, wherein described Multiple temporary terminals include at least the step of application terminal and examination & approval terminal, comprising: the log of the current approval system is obtained, And it parses the log and obtains participating in the terminal and the end of execution review operation that the application for execution of the current approval system operates End is denoted as initial application terminal and initial examination & approval terminal respectively;Count the initial application terminal and the initial examination & approval terminal Error logging number, obtain the initial apply end that the error logging number is less than default first number of errors threshold value End, and obtain the initial examination & approval terminal that the error logging number is less than default second number of errors threshold value;It will be described The initial application terminal that error logging number is less than default first number of errors threshold value is denoted as application terminal, and, by institute The initial examination & approval terminal that error logging number is stated less than default second number of errors threshold value is denoted as examination & approval terminal;Described in acquisition Apply for the IP address of terminal and the examination & approval terminal.
In one embodiment, described to utilize the IP address, it is sent to the application terminal and the examination & approval terminal The step of specified data, the specified data include at least the virtual machine image and the block chain node container mirror image, packet It includes: obtaining the operation system information of the application terminal and the examination & approval terminal;It is selected from a variety of virtual machine images prestored The correct virtual machine image to match with the operation system information;Using the IP address, to the application terminal and described It examines terminal and sends specified data, the specified data include at least the correct virtual machine image and the block chain node holds Device mirror image.
In one embodiment, the IP address for judging the designated terminal whether be the application terminal IP After the step of IP address of location or the examination & approval terminal, comprising: if the IP address of the designated terminal is not the application The IP address of terminal, while the IP address of the designated terminal is also not the IP address of the examination & approval terminal, then judges the finger Whether the IP address for determining terminal is recorded in preset newly-increased IP address of terminal list;If the IP address of the designated terminal is not remembered It is loaded in preset newly-increased IP address of terminal list, then refuses the registration request, and the access for reducing the designated terminal is excellent First rank.
In one embodiment, if the IP address of the designated terminal be it is described application terminal IP address or The IP address of the examination & approval terminal, then record the IP address of the designated terminal and the information of communication port, and according to the finger The IP address for determining terminal generates the application digital certificate for representing the designated terminal identity or examination & approval digital certificate, and will be described The step of application digital certificate or examination & approval digital certificate are sent to the designated terminal, comprising: if the IP of the designated terminal Address is the IP address of the application terminal or the IP address of the examination & approval terminal, then records the IP address of the designated terminal With the information of communication port, and according to the IP address of the designated terminal generate represent the designated terminal identity application number Certificate or examination & approval digital certificate;The current approval system is parsed, the approval process of the current approval system, and root are obtained According to the approval process, intelligent contract is generated;The intelligent contract is sent to the designated terminal, while by the application number Word certificate or examination & approval digital certificate are sent to the designated terminal.
In one embodiment, it is described to the designated terminal send the IP address of all block chain nodes prestored and The information of communication port, and the IP address of the designated terminal and the information of communication port are sent to all block chain nodes, After completing the designated terminal the deployment in the block chain network parallel with current approval system the step of, packet It includes: receiving the modification request of modification IP address or communication port that the designated terminal is sent;It is requested according to the modification, In The IP address or communication port of the terminal are modified in the registration information of the designated terminal;By the modified terminal The information of IP address or communication port is sent to all block chain nodes.
In one embodiment, the IP address of multiple temporary terminals of the current approval system of acquisition, wherein described Multiple temporary terminals include at least application terminal and examination & approval terminal, and block chain deployment center is the block link network of preparatory framework A block chain node in network, block chain deployment center prestore virtual machine image and block chain node container mirror image Before step, comprising: block chain class is created using appointed language, and wound generation block will be obtained after block chain class instantiation, 0 is set by the cryptographic Hash of previous block in the wound generation block;Based on the wound generation block, generated using preset block Technology generates other blocks, wherein other described blocks record the cryptographic Hash of previous block;Using default terminal as block chain Node, to build the block chain network.
The computer readable storage medium of the application, when received first HASH value is identical as the HASH value prestored, then Judge whether the data on flows of the first terminal meets preset flow standard, if the data on flows of the first terminal meets The first terminal is then denoted as temporary terminal by preset flow standard;Acquire multiple temporary terminals of current approval system IP address;Using the IP address, specified data are sent to the application terminal and the examination & approval terminal;Receive designated terminal Registration request;If the designated terminal is the application terminal or the examination & approval terminal, the letter of the registration request is recorded Breath;The information for sending IP address and communication port to the designated terminal and all block chain nodes mentions to complete to dispose The high confidentiality of approval system, safety, information accuracy.
The foregoing is merely preferred embodiment of the present application, are not intended to limit the scope of the patents of the application, all utilizations Equivalent structure or equivalent flow shift made by present specification and accompanying drawing content is applied directly or indirectly in other correlations Technical field, similarly include in the scope of patent protection of the application.

Claims (10)

1. a kind of parallel system dispositions method based on block chain is applied to block chain and disposes center characterized by comprising
The first HASH value that the first terminal of current approval system is sent is received, and judges the first HASH value and prestores Whether HASH value is identical;If the first HASH value is identical as the HASH value prestored, the flow number of the first terminal is judged It, will be described if the data on flows of the first terminal meets preset flow standard according to whether preset flow standard is met First terminal is denoted as temporary terminal;
The IP address of multiple temporary terminals of current approval system is acquired, wherein the multiple temporary terminal includes at least application eventually End and examination & approval terminal, block chain deployment center is a block chain node in the block chain network of preparatory framework, described Block chain deployment center prestores virtual machine image and block chain node container mirror image;
Using the IP address, specified data are sent to the application terminal and the examination & approval terminal, the specified data are at least Including the virtual machine image and the block chain node container mirror image;
Receive the registration that the designated terminal of the block chain node container mirror image has been installed and activated in the virtual machine image Request, the registration request are accompanied with the IP address of the designated terminal and the information of communication port;
Whether the IP address for judging the designated terminal is the IP address of the application terminal or the IP of the examination & approval terminal Location;
If the IP address of the designated terminal is the IP address of the application terminal or the IP address of the examination & approval terminal, remember The IP address of the designated terminal and the information of communication port are recorded, and according to the generation representative of the IP address of the designated terminal The application digital certificate of designated terminal identity perhaps examines digital certificate and demonstrate,proves the application digital certificate or examination & approval number Book is sent to the designated terminal;
Send the information of the IP address of all block chain nodes and communication port that prestore to the designated terminal, and to all Block chain node sends the IP address of the designated terminal and the information of communication port, thus complete the designated terminal with work as Deployment in the block chain network of preceding examination & approval system in parallel.
2. the parallel system dispositions method according to claim 1 based on block chain, which is characterized in that described in the judgement The step of whether data on flows of first terminal meets preset flow standard, then the first terminal is denoted as temporary terminal, Include:
According to formula:
H (t)=min (G (t), m), whereinE (t)=F (t)-f (t) is obtained function H (t), Middle F (t) is the flow function that the flow of the first terminal changes over time, and f (t) is preset normal flow function, E (t) For the difference functions of the flow function F (t) and the normal flow function f (t),It is the difference functions to the time Differentiation function, min refers to minimum value function, and t is the time, m be it is preset be greater than 0 error parameter value;
Obtain the H (t) on a timeline not equal to m when first time length and the second time span when equal to m;
According to formula: normal discharge time accounting=first time length/(when the first time length+described second Between length), calculate the normal discharge time accounting;
Judge whether the normal discharge time accounting is greater than default accounting threshold value;
If the normal discharge time accounting is greater than default accounting threshold value, the first terminal is denoted as temporary terminal.
3. the parallel system dispositions method according to claim 1 based on block chain, which is characterized in that the acquisition is current The IP address of multiple temporary terminals of approval system, wherein the multiple temporary terminal includes at least application terminal and examination & approval terminal The step of, comprising:
The log of the current approval system is obtained, and parses the execution Shen that the log obtains participating in the current approval system The terminal of the terminal and execution review operation that please operate is denoted as initial application terminal with initial respectively and examines terminal;
The error logging number for counting the initial application terminal and the initial examination & approval terminal, obtains the error logging number Less than the initial application terminal of default first number of errors threshold value, and the error logging number is obtained less than default the The initial examination & approval terminal of two number of errors threshold values;
The initial application terminal that the error logging number is less than default first number of errors threshold value is denoted as application terminal, And the initial examination & approval terminal that the error logging number is less than default second number of errors threshold value is denoted as examination & approval eventually End;
Acquire the IP address of the application terminal and the examination & approval terminal.
4. the parallel system dispositions method according to claim 1 based on block chain, which is characterized in that described in the utilization IP address sends specified data to the application terminal and the examination & approval terminal, and the specified data include at least described virtual The step of machine mirror image and the block chain node container mirror image, include:
Obtain the operation system information of the application terminal and the examination & approval terminal;
The correct virtual machine image to match with the operation system information is selected from a variety of virtual machine images prestored;
Using the IP address, specified data are sent to the application terminal and the examination & approval terminal, the specified data are at least Including the correct virtual machine image and the block chain node container mirror image.
5. the parallel system dispositions method according to claim 1 based on block chain, which is characterized in that described in the judgement After the step of whether IP address of designated terminal is the IP address or the IP address for examining terminal of the application terminal, Include:
If the IP address of the designated terminal is not the IP address of the application terminal, while the IP address of the designated terminal It is not the IP address of the examination & approval terminal, then judges whether the IP address of the designated terminal is recorded in preset newly-increased terminal IP In address list;
If the IP address of the designated terminal is not recorded in preset newly-increased IP address of terminal list, refuses the registration and ask It asks, and reduces the privilege of access rank of the designated terminal.
6. the parallel system dispositions method according to claim 1 based on block chain, which is characterized in that if the finger The IP address for determining terminal is the IP address of the application terminal or the IP address of the examination & approval terminal, then records the specified end The IP address at end and the information of communication port, and the designated terminal identity is represented according to the generation of the IP address of the designated terminal Application digital certificate perhaps examine digital certificate and be sent to the application digital certificate or examination & approval digital certificate described The step of designated terminal, comprising:
If the IP address of the designated terminal is the IP address of the application terminal or the IP address of the examination & approval terminal, remember The IP address of the designated terminal and the information of communication port are recorded, and according to the generation representative of the IP address of the designated terminal The application digital certificate or examination & approval digital certificate of designated terminal identity;
The current approval system is parsed, obtains the approval process of the current approval system, and according to the approval process, it is raw At intelligent contract;
The intelligent contract is sent to the designated terminal, while the application digital certificate or examination & approval digital certificate being sent out Give the designated terminal.
7. the parallel system dispositions method according to claim 1 based on block chain, which is characterized in that described to the finger Determine terminal and send the IP address of all block chain nodes prestored and the information of communication port, and is sent out to all block chain nodes Send the IP address of the designated terminal and the information of communication port, thus complete the designated terminal with current approval system simultaneously After the step of deployment in the capable block chain network, comprising:
Receive the modification request of modification IP address or communication port that the designated terminal is sent;
It is requested according to the modification, the IP address or communication ends of the terminal is modified in the registration information of the designated terminal Mouthful;
The information of the IP address of the modified terminal or communication port is sent to all block chain nodes.
8. a kind of parallel system based on block chain disposes device, it is applied to block chain and disposes center characterized by comprising
Temporary terminal label unit, the first HASH value that the first terminal for receiving current approval system is sent, and judge institute Whether state the first HASH value identical as the HASH value that prestores;If the first HASH value is identical as the HASH value prestored, judge Whether the data on flows of the first terminal meets preset flow standard, if the data on flows of the first terminal meet it is default Flow standard, then the first terminal is denoted as temporary terminal;
IP address acquisition unit, the IP address of multiple temporary terminals for acquiring current approval system, wherein the multiple temporary When terminal include at least application terminal and examination & approval terminal, block chain deployment center is in the block chain network of preparatory framework One block chain node, block chain deployment center prestore virtual machine image and block chain node container mirror image;
Specified data transmission unit is sent specified for utilizing the IP address to the application terminal and the examination & approval terminal Data, the specified data include at least the virtual machine image and the block chain node container mirror image;
The block chain node container has been installed and activated for receiving in registration request receiving unit in the virtual machine image The registration request of the designated terminal of mirror image, the registration request are accompanied with the IP address of the designated terminal and the letter of communication port Breath;
IP address judging unit, for judge the designated terminal IP address whether be it is described application terminal IP address or The IP address of the examination & approval terminal;
Digital certificate transmission unit, if the IP address for the designated terminal is the IP address or described of the application terminal The IP address for examining terminal, then record the IP address of the designated terminal and the information of communication port, and according to the specified end The IP address at end generates the application digital certificate for representing the designated terminal identity or examination & approval digital certificate, and by the application Digital certificate or examination & approval digital certificate are sent to the designated terminal;
Letter hair transmission unit, for sending the IP address and communication port of all block chain nodes prestored to the designated terminal Information, and the IP address of the designated terminal and the information of communication port are sent to all block chain nodes, to complete Deployment of the designated terminal in the block chain network parallel with current approval system.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201910665972.5A 2019-07-23 2019-07-23 Block chain based parallel system deployment method and device and computer equipment Active CN110535654B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910665972.5A CN110535654B (en) 2019-07-23 2019-07-23 Block chain based parallel system deployment method and device and computer equipment
PCT/CN2019/117215 WO2021012500A1 (en) 2019-07-23 2019-11-11 Blockchain-based parallel system deployment method and apparatus, and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910665972.5A CN110535654B (en) 2019-07-23 2019-07-23 Block chain based parallel system deployment method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN110535654A true CN110535654A (en) 2019-12-03
CN110535654B CN110535654B (en) 2021-09-14

Family

ID=68661848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910665972.5A Active CN110535654B (en) 2019-07-23 2019-07-23 Block chain based parallel system deployment method and device and computer equipment

Country Status (2)

Country Link
CN (1) CN110535654B (en)
WO (1) WO2021012500A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110378691A (en) * 2019-06-18 2019-10-25 重庆金融资产交易所有限责任公司 Block chain dispositions method, device and computer equipment based on deployment center
CN112712452A (en) * 2020-12-02 2021-04-27 杭州趣链科技有限公司 Approval information processing method and device based on block chain
WO2021159617A1 (en) * 2020-02-14 2021-08-19 深圳壹账通智能科技有限公司 Blockchain-based information processing method and platform, and electronic device
US11604633B2 (en) 2020-07-08 2023-03-14 Alipay (Hangzhou) Information Technology Co., Ltd. Trusted startup methods and apparatuses of blockchain integrated station
US11616636B2 (en) 2020-07-08 2023-03-28 Alipay (Hangzhou) Information Technology Co., Ltd. Hash updating methods and apparatuses of blockchain integrated station

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065506B (en) * 2022-05-25 2024-04-30 深圳壹盆花文创科技有限公司 Management system for identifying authenticity of artwork and authorship based on blockchain
CN116032788B (en) * 2022-12-22 2023-08-11 南凌科技股份有限公司 Method for single-arm deployment of SD-WAN system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769173A (en) * 2018-05-21 2018-11-06 阿里体育有限公司 The block chain implementation method and equipment of the intelligent contract of operation
CN108965468A (en) * 2018-08-16 2018-12-07 北京京东尚科信息技术有限公司 Block chain network service platform and its chain code installation method, storage medium
US20190013933A1 (en) * 2017-07-07 2019-01-10 Microsoft Technology Licensing, Llc Blockchain object deployment and synchronization across blockchains
CN109426567A (en) * 2017-08-22 2019-03-05 汇链丰(北京)科技有限公司 A kind of node deployment and electoral machinery of block chain
CN109543456A (en) * 2018-11-06 2019-03-29 北京新唐思创教育科技有限公司 Block generation method and computer storage medium
CN109783572A (en) * 2018-12-14 2019-05-21 平安科技(深圳)有限公司 Block chain multichain creation method, device, equipment and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11502828B2 (en) * 2017-11-15 2022-11-15 International Business Machines Corporation Authenticating chaincode to chaincode invocations of a blockchain
CN109194506B (en) * 2018-08-16 2021-10-15 北京京东尚科信息技术有限公司 Block chain network deployment method, platform and computer storage medium
CN109800056A (en) * 2019-01-16 2019-05-24 杭州趣链科技有限公司 A kind of block chain dispositions method based on container
CN109858262B (en) * 2019-01-17 2022-06-17 平安科技(深圳)有限公司 Process approval method, device and system based on block chain system and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190013933A1 (en) * 2017-07-07 2019-01-10 Microsoft Technology Licensing, Llc Blockchain object deployment and synchronization across blockchains
CN109426567A (en) * 2017-08-22 2019-03-05 汇链丰(北京)科技有限公司 A kind of node deployment and electoral machinery of block chain
CN108769173A (en) * 2018-05-21 2018-11-06 阿里体育有限公司 The block chain implementation method and equipment of the intelligent contract of operation
CN108965468A (en) * 2018-08-16 2018-12-07 北京京东尚科信息技术有限公司 Block chain network service platform and its chain code installation method, storage medium
CN109543456A (en) * 2018-11-06 2019-03-29 北京新唐思创教育科技有限公司 Block generation method and computer storage medium
CN109783572A (en) * 2018-12-14 2019-05-21 平安科技(深圳)有限公司 Block chain multichain creation method, device, equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110378691A (en) * 2019-06-18 2019-10-25 重庆金融资产交易所有限责任公司 Block chain dispositions method, device and computer equipment based on deployment center
WO2021159617A1 (en) * 2020-02-14 2021-08-19 深圳壹账通智能科技有限公司 Blockchain-based information processing method and platform, and electronic device
US11604633B2 (en) 2020-07-08 2023-03-14 Alipay (Hangzhou) Information Technology Co., Ltd. Trusted startup methods and apparatuses of blockchain integrated station
US11616636B2 (en) 2020-07-08 2023-03-28 Alipay (Hangzhou) Information Technology Co., Ltd. Hash updating methods and apparatuses of blockchain integrated station
CN112712452A (en) * 2020-12-02 2021-04-27 杭州趣链科技有限公司 Approval information processing method and device based on block chain

Also Published As

Publication number Publication date
CN110535654B (en) 2021-09-14
WO2021012500A1 (en) 2021-01-28

Similar Documents

Publication Publication Date Title
CN110535654A (en) Parallel system dispositions method, device and computer equipment based on block chain
CN110069941A (en) A kind of interface access authentication method, apparatus and computer-readable medium
CN110290189A (en) A kind of container cluster management method, apparatus and system
CN110677383B (en) Firewall wall opening method and device, storage medium and computer equipment
CN109298997A (en) Interface test method, system, computer equipment and storage medium
US20110004885A1 (en) Feedforward control method, service provision quality control device, system, program, and recording medium therefor
CN111290958B (en) Method and device for debugging intelligent contract
CN109299333B (en) Block chain network account book member management method, device, equipment and storage medium
CN111899019A (en) Method and system for cross validation and sharing of blacklist and multiple parties
CN110503297B (en) Service scene acquisition method and device, electronic equipment and medium
CN112202647B (en) Test method, device and test equipment in block chain network
CN111625474B (en) Automatic testing method of alliance chain
JP2014035595A (en) Testing device for communication system, testing program for communication system, and testing method for communication system
CN114024854A (en) System, node, method and medium for sharing slice mean subjective opinion score data
de Brito Gonçalves et al. A quality of service compliance system empowered by smart contracts and oracles
CN117131545A (en) Data processing method and device, storage medium and terminal
CN111339089B (en) Data storage and acquisition method and device applied to blockchain
WO2021128936A1 (en) Message processing method and apparatus
CN107885593A (en) User authen method and device
CN115328994A (en) Data sharing system, data sharing method thereof and storage medium
Zeydan et al. Blockchain for Network Service Orchestration: Trust and Adoption in Multi-Domain Environments
CN116248751B (en) Intelligent contract registration and verification method based on alliance chain
CN114301844B (en) Flow control method and system for Internet of things capability open platform and related components thereof
CN112187749B (en) Production transaction management method and system based on intelligent contract
CN114710542B (en) Generalized routing mock method and device based on rpc

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
GR01 Patent grant
GR01 Patent grant