CN109949038A - Block chain administers method, apparatus, equipment and the readable storage medium storing program for executing of ballot - Google Patents
Block chain administers method, apparatus, equipment and the readable storage medium storing program for executing of ballot Download PDFInfo
- Publication number
- CN109949038A CN109949038A CN201910238754.3A CN201910238754A CN109949038A CN 109949038 A CN109949038 A CN 109949038A CN 201910238754 A CN201910238754 A CN 201910238754A CN 109949038 A CN109949038 A CN 109949038A
- Authority
- CN
- China
- Prior art keywords
- ballot
- logical card
- logical
- processing equipment
- special group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The present invention provides method, apparatus, equipment and readable storage medium storing program for executing that a kind of block chain administers ballot, this method comprises: generating the corresponding logical card of ballot for each event to be voted, logical card of voting is the logical card for being exclusively used in block chain and administering ballot;The logical card of ballot is distributed to the logical card processing equipment of special group user;Ballot is sent to the logical card processing equipment of special group user to start to notify;Receive the logical card of ballot that the logical card processing equipment of special group user is sent;Voting results are calculated according to the total quantity of the logical card of ballot of the quantity and distribution of the logical card of the ballot received.Since the logical card of the ballot voted is the logical card for being exclusively used in block chain and administering ballot, without the flow-through application in block chain, to improve the enthusiasm of user's ballot, and the user to vote is the user that real concern block chain administers ballot, so effectively increasing the validity that block chain administers ballot, keep voting results more accurate.
Description
Technical field
The present embodiments relate to block chain technical field more particularly to a kind of block chain administer ballot method, apparatus,
Equipment and readable storage medium storing program for executing.
Background technique
Block chain technology is also referred to as distributed book keeping operation technology, with decentralization, open and clear, can each join per capita
The characteristics of with data-base recording.Current block chain public affairs chain project using share authorisation verification mechanism (referred to as: DPoS mechanism) into
Circulation logical card is generallyd use when the improvement ballot of row block chain to vote.To replace thousands upon thousands logical cards by " representative "
The verifying and book keeping operation of processing equipment progress block data.
Due to being thrown using the improvement that the logical card of circulation carries out block chain in the block chain public affairs chain project of currently employed DPoS mechanism
Ticket needs the logical card of circulation to change ballot paper into, and convection current is demonstrate,proved all and locked when user votes.This means that
The logical circulation demonstrate,proved of circulating cannot be carried out during locking, and after the logical card of circulation changes ballot paper into, it is necessary to wait after a certain period of time
The logical card of circulation can be withdrawn.Cause the logical withdrawal overlong time demonstrate,proved that circulates, so user is reluctant to reduce the logical locking demonstrate,proved of circulation
Meaning carries out the improvement ballot of block chain, and carries out block chain to administer the user of ballot being not that real concern waits for ballot event
Crowd, validity and the accuracy for eventually leading to the improvement ballot of block chain are lower.
Summary of the invention
The embodiment of the present invention provides method, apparatus, equipment and the readable storage medium storing program for executing of a kind of block chain improvement ballot, solves
Block chain in the prior art administers that block chain administers the validity of ballot in voting method and accuracy lower technology is asked
Topic.
In a first aspect, the embodiment of the present invention provides a kind of method that block chain administers ballot, comprising:
For each event to be voted, the corresponding logical card of ballot is generated, the logical card of ballot is to be exclusively used in the improvement of block chain
The logical card of ballot;
The logical card of ballot is distributed to the logical card processing equipment of special group user;
Ballot is sent to the logical card processing equipment of the special group user to start to notify;
Receive the logical card of ballot that the logical card processing equipment of the special group user is sent;
Voting results are calculated according to the total quantity of the logical card of ballot of the quantity and distribution of the logical card of the ballot received.
Further, method as described above, it is described that the logical card of ballot is distributed to the logical card processing equipment of special group user,
It specifically includes:
The logical card of the ballot is distributed to by the logical card processing equipment of special group user using air-drop mode.
Further, method as described above, it is described that the logical card of ballot is distributed to by special group user using air-drop mode
Logical card processing equipment, specifically includes:
Ballot notice is administered to the logical card processing equipment publication of the special group user;
Obtain the corresponding logical card of ballot of the logical card processing equipment of the special group user first receives address;
The logical card of the ballot is distributed to the logical card processing equipment of special group user according to the first reception address.
Further, method as described above, the special group user are that community users or block chain administer user.
Further, method as described above, the throwing for receiving the logical card processing equipment of the special group user and sending
The logical card of ticket, specifically:
The logical card of ballot that the logical card processing equipment of the special group user is sent is received using the second reception address;
Correspondingly, described that the ballot that the logical card processing equipment of the special group user is sent is received using the second reception address
Before logical card, further includes:
Second reception address is arranged, and there is ineligibility to produce permission, so that second reception address not can be carried out
The logical card of ballot produces operation;
The total quantity of the logical card of ballot of the quantity and distribution of the logical card of the ballot that the basis receives calculate voting results it
Afterwards, further includes:
The logical card of ballot for receiving address to described second carries out auto-destruct.
Second aspect, the embodiment of the present invention provide a kind of device of block chain improvement ballot, comprising:
The logical card generation module of ballot, for generating the corresponding logical card of ballot for each event to be voted, the ballot is logical
Card is the logical card for being exclusively used in block chain and administering ballot;
The logical card distribution module of ballot is distributed to the logical card processing equipment of special group user for the logical card that will vote;
Ballot starts notification module, starts to notify for sending ballot to the logical card processing equipment of the special group user;
The logical card receiving module of ballot, the logical card of ballot sent for receiving the logical card processing equipment of the special group user;
Voting results computing module, for the logical sum demonstrate,proved of ballot according to the logical quantity demonstrate,proved of the ballot received and distribution
Amount calculates voting results.
Further, device as described above, the logical card distribution module of ballot, is specifically used for using air-drop mode by institute
It states the logical card of ballot and is distributed to the logical card processing equipment of special group user.
Further, device as described above, the logical card distribution module of ballot, specifically includes:
Ballot notice publication submodule is administered, for administering ballot to the logical card processing equipment publication of the special group user
Notice;
First receives address acquisition submodule, for obtaining the corresponding ballot of the logical card processing equipment of the special group user
The first of logical card receives address;
The logical card distribution submodule of ballot, for the logical card of the ballot to be distributed to particular cluster according to the first reception address
The logical card processing equipment of body user.
Further, device as described above, the special group user are that community users or block chain administer user.
Further, device as described above, further includes: second, which receives the logical card of address priority assignation module and ballot, destroys
Module;
Card receiving module is led in the ballot, is specifically used for receiving the logical card of the address reception special group user using second
The logical card of the ballot that processing equipment is sent;
Correspondingly, described second address priority assignation module is received, had specifically for second reception address is arranged
Ineligibility produces permission so that second reception address not can be carried out the logical card of ballot produce operation;
The logical card of ballot destroys module, and the logical card of the ballot for receiving address to described second carries out auto-destruct.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising: memory, processor and computer journey
Sequence;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor with reality
The now method as described in any one of above-mentioned first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program,
The computer program is executed by processor to realize method described in any one of first aspect.
The embodiment of the present invention provides method, apparatus, equipment and the readable storage medium storing program for executing of a kind of block chain improvement ballot, passes through
For each event to be voted, the corresponding logical card of ballot is generated, the logical card of ballot is to be exclusively used in block chain to administer the logical of ballot
Card;The logical card of ballot is distributed to the logical card processing equipment of special group user;To the logical card processing equipment hair of the special group user
Ballot is sent to start to notify;Receive the logical card of ballot that the logical card processing equipment of the special group user is sent;According to the throwing received
The total quantity of the logical card of ballot of the quantity and distribution of the logical card of ticket calculates voting results.Since the logical card of the ballot voted is dedicated
The logical card of ballot is administered in block chain, without the flow-through application in block chain, so that the enthusiasm of user's ballot is improved, and
And the user to vote is the user that real concern block chain administers ballot, so effectively increasing block chain administers ballot
Validity keeps voting results more accurate.
It should be appreciated that content described in foregoing invention content part is not intended to limit the pass of the embodiment of the present invention
Key or important feature, the range being also not intended to limit the invention.Other feature of the invention will become to hold by description below
It is readily understood.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow chart for the method that the block chain that the embodiment of the present invention one provides administers ballot;
Fig. 2 is the flow chart for the method that block chain provided by Embodiment 2 of the present invention administers ballot;
Fig. 3 is the flow chart for the method and step 202 that block chain provided by Embodiment 2 of the present invention administers ballot;
Fig. 4 is the structural schematic diagram for the device that the block chain that the embodiment of the present invention three provides administers ballot;
Fig. 5 is the structural schematic diagram for the device that the block chain that the embodiment of the present invention four provides administers ballot;
Fig. 6 is the structural schematic diagram for the electronic equipment that the embodiment of the present invention five provides.
Specific embodiment
Embodiment of the present invention will be described in more detail below with reference to accompanying drawings.Although being shown in attached drawing of the invention certain
Embodiment, it should be understood that, the present invention can be realized by various forms, and should not be construed as being limited to this
In the embodiment that illustrates, providing these embodiments on the contrary is in order to more thorough and be fully understood by the present invention.It should be understood that
It is that being given for example only property of accompanying drawings and embodiments effect of the invention is not intended to limit protection scope of the present invention.
The specification and claims of the embodiment of the present invention and the term " first " in above-mentioned attached drawing, " second ", "
Three ", the (if present)s such as " 4th " are to be used to distinguish similar objects, without for describing specific sequence or successive time
Sequence.It should be understood that the data used in this way are interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein as can
The enough sequence implementation with other than those of illustrating or describe herein.In addition, term " includes " and " having " and they
Any deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, being
System, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or
For the intrinsic other step or units of these process, methods, product or equipment.
In order to be clearly understood that the technical solution of the application, term involved in the application is explained below:
Block chain: block chain is a kind of recording technique of decentralization, any number of nodes in participation system, one section
The data that all information exchanges in time system, are recorded a block by the method for cryptography, while generating the block
Fingerprint is for linking next area's block sum check.System all participation nodes assert record and verification jointly, common to assert record
It whether is true, while each node can replicate the copy for obtaining a complete documentation.
Logical card: being that a kind of digital rights prove that the logical card of the ballot in the embodiment of the present invention is in block chain in block chain
In have administer ballot equity prove logical card.
Hereinafter reference will be made to the drawings to specifically describe embodiments herein.
Fig. 1 is the flow chart for the method that the block chain that the embodiment of the present invention one provides administers ballot, as shown in Figure 1, then originally
The executing subject of embodiment is the device that block chain administers ballot, then block chain provided in this embodiment administers the method packet of ballot
Include following steps.
Step 101, for each event to be voted, the corresponding logical card of ballot is generated, logical card of voting is to be exclusively used in block chain
Administer the logical card of ballot.
Wherein, event to be voted can administer ballot for the ballot event of adjustment block chain network parameter or other block chains
Event to be voted, this is not construed as limiting in the present embodiment.
Wherein, the logical card of ballot is to administer the logical card voted to block chain.The logical card of the ballot is to be exclusively used in block chain to control
The logical card of ballot is managed, and without other purposes in block chain.
Specifically, in the present embodiment, for each event to be voted, according to the generation standard generation pair for leading to card in block chain
The logical card of the ballot answered, and be written in intelligent contract.The quantity of the logical card of the ballot of generation is that this waits for the logical card of the ballot of ballot event
Total quantity.
Step 102, the logical card of ballot is distributed to the logical card processing equipment of special group user.
Wherein, special group user is the user that real concern block chain administers ballot.Special group can be pre-defined
Particular user.For each event to be voted, corresponding special group user can be the same or different, in the present embodiment
It does not limit this.
Wherein, the logical card processing equipment of special group user can be the node device of the special group user in block chain.
Specifically, in the present embodiment, the mailing address of the logical card processing equipment of special group user is obtained, for each wait throw
The logical card of corresponding ballot can be distributed to by air-drop mode or other modes the logical card processing of special group user and set by ticket event
It is standby.Wherein, the total quantity for being distributed to the logical card of ballot of the logical card processing equipment of all special group users is preset.It is distributed to every
The quantity of the logical card of ballot of the logical card processing equipment of a special group user can be it is random, can also be predetermined, this implementation
This is not construed as limiting in example.
Step 103, ballot is sent to the logical card processing equipment of special group user to start to notify.
Specifically, in the present embodiment, processing equipment can be demonstrate,proved to special group user is logical by modes such as forum or public platforms
It sends ballot to start to notify, can show vote interface, special group user Ke Tong in the logical card processing equipment of special group user
The ballot icon crossed in click vote interface, which leads in card to take out to vote for leading to demonstrate,prove from the ballot that itself is distributed to, votes.
Step 104, the logical card of ballot that the logical card processing equipment of special group user is sent is received.
Specifically, it in the present embodiment, presets and receives the logical logical card of card processing equipment transmission ballot of special group user
Address is received, after special group user is voted by the logical card processing equipment of user, receives in address and receives respective counts
The logical card of the ballot of amount.
Step 105, ballot knot is calculated according to the total quantity of the logical card of ballot of the quantity and distribution of the logical card of the ballot received
Fruit.
Specifically, in the present embodiment, the ballot that the logical card processing equipment of each special group user received is sent is obtained
Logical card, and the quantity of the logical card of the ballot received is counted, calculate the quantity of the logical card of the ballot received and the throwing of distribution
The ratio of the total quantity of the logical card of ticket makees the ratio of the total quantity of the logical card of ballot of the quantity and distribution of the logical card of the ballot received
For voting results, next step operation is carried out according to voting results.
The method that block chain provided in this embodiment administers ballot, by generating corresponding for each event to be voted
The logical card of ballot, logical card of voting are the logical cards for being exclusively used in block chain and administering ballot;The logical card of ballot is distributed to special group user to lead to
Demonstrate,prove processing equipment;Ballot is sent to the logical card processing equipment of special group user to start to notify;Special group user is received to lead at card
Manage the logical card of ballot that equipment is sent;It is calculated and is thrown according to the total quantity of the logical card of ballot of the quantity and distribution of the logical card of the ballot received
Ticket result.Since the logical card of the ballot voted is the logical card for being exclusively used in block chain and administering ballot, without the stream in block chain
General way, to improve the enthusiasm of user's ballot, and the user to vote is that real concern block chain administers ballot
User, so effectively increase block chain administer ballot validity, keep voting results more accurate.
Fig. 2 is the flow chart for the method that block chain provided by Embodiment 2 of the present invention administers ballot, as shown in Fig. 2, this reality
The method that the block chain of example offer administers ballot is applied, is the method base that the block chain provided in the embodiment of the present invention one administers ballot
On plinth, to step 102, the further refinement of step 104, and further comprise receive address to second after step 105
The step of logical card of ballot carries out auto-destruct, then the method that block chain provided in this embodiment administers ballot includes the following steps.
Step 201, for each event to be voted, the corresponding logical card of ballot is generated, logical card of voting is to be exclusively used in block chain
Administer the logical card of ballot.
In the present embodiment, the implementation and the implementation phase of the step 101 in the embodiment of the present invention one of step 201
Together, this is no longer going to repeat them.
Step 202, the logical card of ballot is distributed to by the logical card processing equipment of special group user using air-drop mode.
Wherein, step 202 is the further refinement to the step 102 in the embodiment of the present invention one.
Preferably, in the present embodiment, special group user is that community users or block chain administer user.Community users or area
It is the user that real relationship block chain administers ballot that block chain, which administers user,.
Further, Fig. 3 is the process for the method and step 202 that block chain provided by Embodiment 2 of the present invention administers ballot
Figure, as shown in figure 3, the logical card of ballot is distributed to special group user using air-drop mode and led at card by step 202 in the present embodiment
Equipment is managed, following steps are specifically included.
Step 202a administers ballot notice to the logical card processing equipment publication of special group user.
Specifically, it in the present embodiment, can be issued by website or other forms to the logical card processing equipment of special group user
Ballot notice is administered, so that special group user, which is known to have permission, carries out the improvement ballot of block chain.
Step 202b, obtain the corresponding logical card of ballot of the logical card processing equipment of special group user first receive address.
Wherein, the logical reception address for demonstrate,proving the logical card of the corresponding ballot of processing equipment of special group user is the first reception address.
Further, in this embodiment after special group user learns that having permission progress block chain administers ballot, it can
The device that block chain administers ballot is submitted into the first reception address of itself by logical card processing equipment, block chain administers ballot
Device to it is each it is logical card processing equipment first reception address be collected.
The logical card of ballot is distributed to the logical card processing equipment of special group user according to the first reception address by step 202c.
Further, in this embodiment determining the corresponding logical card of ballot of the logical card processing equipment of each special group user
Quantity, and the logical card of the ballot of corresponding number is sent to the logical card processing equipment corresponding first of each special group user and receives ground
Location.After the logical card processing equipment of special group user receives the logical card of ballot, it can be received first and obtain the logical card of ballot in address,
To vote.
Step 203, ballot is sent to the logical card processing equipment of special group user to start to notify.
In the present embodiment, the implementation and the implementation phase of the step 103 in the embodiment of the present invention one of step 203
Together, this is no longer going to repeat them.
Step 204, there is ineligibility to produce permission for the second reception of setting address, so that the second reception address not can be carried out
The logical card of ballot produces operation.
It is understood that step 204 can also execute before step 201 or step 202 or step 203, step 204 and step
Rapid 201, step 202, the limitation of the not stringent execution sequence of step 203.
Wherein, second the logical card of the preset reception special group user of device that address is the improvement ballot of block chain is received
The address of the logical card of the ballot that processing equipment is sent.
Preferably, it in the present embodiment, is sent receiving the logical card processing equipment of address reception special group user using second
The logical card of ballot before, there is ineligibility to produce permission for the second reception of setting address, so that the second reception address not can be carried out
The logical card of ballot produces operation, so the second reception address is the final address of the logical card of ballot, in the throwing for completing event to be voted
After ticket, address can be received second and auto-destruct is carried out to the logical card of ballot.
Step 205, address is received using second receive the logical card of ballot that the logical card processing equipment of special group user is sent.
Further, in this embodiment receiving address reception special group using permission second is produced with ineligibility
The logical card of ballot that the logical card processing equipment of user is sent.
Step 206, ballot knot is calculated according to the total quantity of the logical card of ballot of the quantity and distribution of the logical card of the ballot received
Fruit.
In the present embodiment, the implementation and the implementation phase of the step 105 in the embodiment of the present invention one of step 206
Together, this is no longer going to repeat them.
Step 207, the logical card of ballot for receiving address to second carries out auto-destruct.
Further, in this embodiment by the total quantity of the logical card of ballot of the quantity and distribution of the logical card of the ballot received
Ratio as voting results, after calculating voting results, the logical card of ballot in the second reception address can be sold automatically
It ruins, to prevent the logical card of the ballot in the second reception address to be swapped out, participates in other operations of block chain.
The method that block chain provided in this embodiment administers ballot, by generating corresponding for each event to be voted
The logical card of ballot, logical card of voting are the logical cards for being exclusively used in block chain and administering ballot;The logical card of ballot is distributed to by spy using air-drop mode
Determine the logical card processing equipment of group of subscribers, sends ballot to the logical card processing equipment of special group user and start to notify, setting second connects
Receiving address, there is ineligibility to produce permission so that the second reception address not can be carried out the logical card of ballot produce operation, using the
Two, which receive address, receives the logical card of ballot that the logical card processing equipment of special group user is sent, according to the number of the logical card of the ballot received
The total quantity of the logical card of the ballot of amount and distribution calculates voting results;The logical card of ballot for receiving address to second carries out auto-destruct,
The validity that block chain administers ballot can not only be effectively increased, keeps voting results more accurate, and complete wait vote
After the ballot of event, it can wait for this that ballot event has been completed the logical card of the ballot delivered and destroyed, prevent that throwing is completed
The logical card of the ballot passed circulates, and avoids the stream when improvement ballot of subsequent block chain since the logical card of voting of delivery is completed
It is logical, there is the inaccurate phenomenon voted, further improves the validity and accuracy of voting results.
Embodiment three
Fig. 4 is the structural schematic diagram for the device that the block chain that the embodiment of the present invention three provides administers ballot, as shown in figure 4,
The device that block chain provided in this embodiment administers ballot includes: the logical card generation module 41 of ballot, logical card distribution module 42 of voting,
Ballot starts notification module 43, vote logical card receiving module 44 and voting results computing module 45.
Wherein, the logical card generation module 41 of ballot, for generating the corresponding logical card of ballot, throwing for each event to be voted
The logical card of ticket is the logical card for being exclusively used in block chain and administering ballot.The logical card distribution module 42 of ballot, for that will vote, logical card is distributed to spy
Determine the logical card processing equipment of group of subscribers.Ballot starts notification module 43, for sending to the logical card processing equipment of special group user
Ballot starts to notify.The logical card receiving module 44 of ballot is logical for receiving the ballot that the logical card processing equipment of special group user is sent
Card.Voting results computing module 45, for the logical total quantity demonstrate,proved of ballot according to the logical quantity demonstrate,proved of the ballot received and distribution
Calculate voting results.
The device that block chain provided in this embodiment administers ballot can execute the technical side of embodiment of the method shown in Fig. 1
Case, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Example IV
Fig. 5 is the structural schematic diagram for the device that the block chain that the embodiment of the present invention four provides administers ballot, as shown in figure 5,
The device that block chain provided in this embodiment administers ballot administers the device of ballot in the block chain that the embodiment of the present invention three provides
On the basis of, further, further includes: second, which receives the logical card of address priority assignation module 51 and ballot, destroys module 52.
Preferably, in the present embodiment, special group user is that community users or block chain administer user.
Further, in this embodiment the logical card distribution module 42 of ballot, is specifically used for using air-drop mode by the logical card of ballot
It is distributed to the logical card processing equipment of special group user.
Further, in this embodiment the logical card distribution module 42 of ballot, specifically includes: administering ballot notice publication submodule
Block 42a, first receives address acquisition submodule 42b, and vote logical card distribution submodule 42c.
Wherein, ballot notice publication submodule 42a is administered, for administering to the logical card processing equipment publication of special group user
Ballot notice.First receives address acquisition submodule 42b, for obtaining the corresponding ballot of the logical card processing equipment of special group user
The first of logical card receives address.The logical card distribution submodule 42c of ballot, for being distributed to the logical card of ballot according to the first reception address
The logical card processing equipment of special group user.
Further, the logical card receiving module 44 of ballot receives special group user specifically for receiving address using second
The logical card of ballot that logical card processing equipment is sent.Correspondingly, second address priority assignation module 51 is received, is specifically used for setting second
Receiving address, there is ineligibility to produce permission so that the second reception address not can be carried out the logical card of ballot produce operation.Ballot
Logical card destroys module 52, and the logical card of the ballot for receiving address to second carries out auto-destruct.
The device that block chain provided in this embodiment administers ballot can execute the skill of embodiment of the method shown in Fig. 2 and Fig. 3
Art scheme, it is similar that the realization principle and technical effect are similar, and details are not described herein again.
Embodiment five
Fig. 6 is the structural schematic diagram for the electronic equipment that the embodiment of the present invention five provides, as shown in fig. 6, the embodiment of the present invention
Six electronic equipments provided, comprising: memory 61, processor 62 and computer program.
Wherein, computer program is stored in memory 61, and is configured as being executed by processor 62 to realize the present invention
The method that the block chain that embodiment one provides administers the method for ballot or block chain provided by Embodiment 2 of the present invention administers ballot.
Wherein, in the present embodiment, memory 61 and processor 62 are connected by bus 63.
Related description can correspond to the corresponding associated description and effect of the step of referring to Fig. 1 to Fig. 3 and be understood, herein
It does not do and excessively repeats.
Embodiment six
The embodiment of the present invention six provides a kind of computer readable storage medium, is stored thereon with computer program, computer
Program is executed by processor to realize that the block chain that the embodiment of the present invention one provides administers the method or the embodiment of the present invention voted
The method that the two block chains provided administer ballot.
The computer readable storage medium that the embodiment of the present invention six provides, is stored thereon with computer program, computer journey
Sequence is executed by processor to realize that the block chain that the embodiment of the present invention one provides administers the method or the embodiment of the present invention two voted
The method that the block chain of offer administers ballot, since the logical card of the ballot voted is to be exclusively used in block chain to administer the logical of ballot
Card, without the flow-through application in block chain, to improve the enthusiasm of user's ballot, and the user to vote is true
The positive user for being concerned about block chain and administering ballot makes voting results more so effectively increasing the validity that block chain administers ballot
It is accurate to add.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of module, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple module or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or module
It connects, can be electrical property, mechanical or other forms.
Module may or may not be physically separated as illustrated by the separation member, show as module
Component may or may not be physical module, it can and it is in one place, or may be distributed over multiple networks
In module.Some or all of the modules therein can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in a processing module
It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
The program code of method for carrying out the present invention can using any combination of one or more programming languages come
It writes.These program codes can be supplied to the place of general purpose computer, special purpose computer or other programmable data processing units
Device or controller are managed, so that program code makes defined in flowchart and or block diagram when by processor or controller execution
Function/operation is carried out.Program code can be executed completely on machine, partly be executed on machine, as stand alone software
Is executed on machine and partly execute or executed on remote machine or server completely on the remote machine to packet portion.
In the context of the present invention, machine readable media can be tangible medium, may include or is stored for
The program that instruction execution system, device or equipment are used or is used in combination with instruction execution system, device or equipment.Machine can
Reading medium can be machine-readable signal medium or machine-readable storage medium.Machine readable media can include but is not limited to electricity
Son, magnetic, optical, electromagnetism, infrared or semiconductor system, device or equipment or above content any conjunction
Suitable combination.The more specific example of machine readable storage medium will include the electrical connection of line based on one or more, portable meter
Calculation machine disk, hard disk, random access memory (RAM), read-only memory (ROM), Erasable Programmable Read Only Memory EPROM (EPROM
Or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage facilities or
Any appropriate combination of above content.
Although this should be understood as requiring operating in this way with shown in addition, depicting each operation using certain order
Certain order out executes in sequential order, or requires the operation of all diagrams that should be performed to obtain desired result.
Under certain environment, multitask and parallel processing be may be advantageous.Similarly, although containing several tools in being discussed above
Body realizes details, but these are not construed as the limitation to the scope of the present disclosure.In the context of individual embodiment
Described in certain features can also realize in combination in single realize.On the contrary, in the described in the text up and down individually realized
Various features can also realize individually or in any suitable subcombination in multiple realizations.
Although having used specific to this theme of the language description of structure feature and/or method logical action, answer
When understanding that theme defined in the appended claims is not necessarily limited to special characteristic described above or movement.On on the contrary,
Special characteristic described in face and movement are only to realize the exemplary forms of claims.
Claims (12)
1. a kind of method that block chain administers ballot characterized by comprising
For each event to be voted, the corresponding logical card of ballot is generated, the logical card of ballot is to be exclusively used in block chain to administer ballot
Logical card;
The logical card of ballot is distributed to the logical card processing equipment of special group user;
Ballot is sent to the logical card processing equipment of the special group user to start to notify;
Receive the logical card of ballot that the logical card processing equipment of the special group user is sent;
Voting results are calculated according to the total quantity of the logical card of ballot of the quantity and distribution of the logical card of the ballot received.
2. the method according to claim 1, wherein described be distributed to the logical card of special group user for the logical card of ballot
Processing equipment specifically includes:
The logical card of the ballot is distributed to by the logical card processing equipment of special group user using air-drop mode.
3. according to the method described in claim 2, it is characterized in that, it is described using air-drop mode will the logical card of ballot be distributed to it is specific
The logical card processing equipment of group of subscribers, specifically includes:
Ballot notice is administered to the logical card processing equipment publication of the special group user;
Obtain the corresponding logical card of ballot of the logical card processing equipment of the special group user first receives address;
The logical card of the ballot is distributed to the logical card processing equipment of special group user according to the first reception address.
4. method according to claim 1-3, which is characterized in that the special group user be community users or
Block chain administers user.
5. method according to claim 1-3, which is characterized in that described to receive the logical card of the special group user
The logical card of the ballot that processing equipment is sent, specifically:
The logical card of ballot that the logical card processing equipment of the special group user is sent is received using the second reception address;
Correspondingly, described that the logical card of ballot that the logical card processing equipment of the special group user is sent is received using the second reception address
Before, further includes:
Second reception address is arranged, and there is ineligibility to produce permission, so that second reception address not can be carried out ballot
Logical card produces operation;
After the total quantity of the logical card of ballot of the quantity and distribution of the logical card of the ballot that the basis receives calculates voting results, also
Include:
The logical card of ballot for receiving address to described second carries out auto-destruct.
6. the device that a kind of block chain administers ballot characterized by comprising
The logical card generation module of ballot, for generating the corresponding logical card of ballot for each event to be voted, the logical card of ballot is
It is exclusively used in the logical card that block chain administers ballot;
The logical card distribution module of ballot is distributed to the logical card processing equipment of special group user for the logical card that will vote;
Ballot starts notification module, starts to notify for sending ballot to the logical card processing equipment of the special group user;
The logical card receiving module of ballot, the logical card of ballot sent for receiving the logical card processing equipment of the special group user;
Voting results computing module, for the logical total meter demonstrate,proved of ballot according to the logical quantity demonstrate,proved of the ballot received and distribution
Calculate voting results.
7. device according to claim 6, which is characterized in that the logical card distribution module of ballot is specifically used for using empty
The logical card of the ballot is distributed to the logical card processing equipment of special group user by throwing mode.
8. device according to claim 7, which is characterized in that the logical card distribution module of ballot specifically includes:
Ballot notice publication submodule is administered, it is logical for administering ballot to the logical card processing equipment publication of the special group user
Know;
First receives address acquisition submodule, for obtaining the corresponding logical card of ballot of the logical card processing equipment of the special group user
First receive address;
The logical card distribution submodule of ballot, is used for the logical card of the ballot to be distributed to special group according to the first reception address
The logical card processing equipment in family.
9. according to the described in any item devices of claim 6-8, which is characterized in that the special group user be community users or
Block chain administers user.
10. according to the described in any item devices of claim 6-8, which is characterized in that further include: second receives address priority assignation
Module and the logical card of ballot destroy module;
The ballot, which is led to, demonstrate,proves receiving module, is specifically used for receiving the logical card processing of the address reception special group user using second
The logical card of the ballot that equipment is sent;
Correspondingly, described second address priority assignation module is received, has specifically for setting second reception address and forbids
Permission is produced in ballot so that second reception address not can be carried out the logical card of ballot produce operation;
The logical card of ballot destroys module, and the logical card of the ballot for receiving address to described second carries out auto-destruct.
11. a kind of electronic equipment characterized by comprising
Memory, processor and computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor to realize such as
Method of any of claims 1-5.
12. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program
It is executed by processor to realize method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910238754.3A CN109949038A (en) | 2019-03-27 | 2019-03-27 | Block chain administers method, apparatus, equipment and the readable storage medium storing program for executing of ballot |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910238754.3A CN109949038A (en) | 2019-03-27 | 2019-03-27 | Block chain administers method, apparatus, equipment and the readable storage medium storing program for executing of ballot |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109949038A true CN109949038A (en) | 2019-06-28 |
Family
ID=67011852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910238754.3A Pending CN109949038A (en) | 2019-03-27 | 2019-03-27 | Block chain administers method, apparatus, equipment and the readable storage medium storing program for executing of ballot |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109949038A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111010424A (en) * | 2019-11-21 | 2020-04-14 | 山东爱城市网信息技术有限公司 | Block chain-based network voting method, equipment and medium |
CN111769986A (en) * | 2020-06-29 | 2020-10-13 | 卓尔智联(武汉)研究院有限公司 | Man-machine cooperation method and device based on block chain and electronic equipment |
WO2022082547A1 (en) * | 2020-10-22 | 2022-04-28 | 贾胜 | Blockchain-based smart contract system |
WO2022082550A1 (en) * | 2020-10-22 | 2022-04-28 | 贾胜 | Management method and device for blockchain-based smart contract payment system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107835076A (en) * | 2016-09-15 | 2018-03-23 | 埃森哲环球解决方案有限公司 | Method and system for secure communication and its polymerization of token |
CN108765683A (en) * | 2018-05-23 | 2018-11-06 | 栾友祥 | A kind of ballot system based on block chain technology |
CN108961526A (en) * | 2018-06-13 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of ballot system based on block chain technology |
CN109104474A (en) * | 2018-07-27 | 2018-12-28 | 深圳市汇尊区块链技术有限公司 | A kind of common recognition mechanism mutation method |
CN109493171A (en) * | 2018-10-18 | 2019-03-19 | 尚维斯 | A kind of four-way model of a syndrome based on block chain across chain interaction |
CN109523381A (en) * | 2018-10-18 | 2019-03-26 | 尚维斯 | A kind of erasable formula date storage method based on block chain |
-
2019
- 2019-03-27 CN CN201910238754.3A patent/CN109949038A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107835076A (en) * | 2016-09-15 | 2018-03-23 | 埃森哲环球解决方案有限公司 | Method and system for secure communication and its polymerization of token |
CN108765683A (en) * | 2018-05-23 | 2018-11-06 | 栾友祥 | A kind of ballot system based on block chain technology |
CN108961526A (en) * | 2018-06-13 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of ballot system based on block chain technology |
CN109104474A (en) * | 2018-07-27 | 2018-12-28 | 深圳市汇尊区块链技术有限公司 | A kind of common recognition mechanism mutation method |
CN109493171A (en) * | 2018-10-18 | 2019-03-19 | 尚维斯 | A kind of four-way model of a syndrome based on block chain across chain interaction |
CN109523381A (en) * | 2018-10-18 | 2019-03-26 | 尚维斯 | A kind of erasable formula date storage method based on block chain |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111010424A (en) * | 2019-11-21 | 2020-04-14 | 山东爱城市网信息技术有限公司 | Block chain-based network voting method, equipment and medium |
CN111769986A (en) * | 2020-06-29 | 2020-10-13 | 卓尔智联(武汉)研究院有限公司 | Man-machine cooperation method and device based on block chain and electronic equipment |
CN111769986B (en) * | 2020-06-29 | 2023-03-28 | 卓尔智联(武汉)研究院有限公司 | Man-machine cooperation method and device based on block chain and electronic equipment |
WO2022082547A1 (en) * | 2020-10-22 | 2022-04-28 | 贾胜 | Blockchain-based smart contract system |
WO2022082550A1 (en) * | 2020-10-22 | 2022-04-28 | 贾胜 | Management method and device for blockchain-based smart contract payment system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109949038A (en) | Block chain administers method, apparatus, equipment and the readable storage medium storing program for executing of ballot | |
Cramer et al. | Secure multiparty computation | |
CN108768665A (en) | Block chain generation method, device, computer equipment and storage medium | |
CN107590738A (en) | Processing method, device and the server of selection common recognition node | |
CN108347490A (en) | A kind of campus application apparatus and system based on biological identification technology | |
CN109509287A (en) | Electronic voting system and control method | |
CN110097678A (en) | Voting method, device, computer equipment and storage medium based on block chain | |
CN110473106A (en) | A kind of method and relevant apparatus of trading processing | |
CN109509288A (en) | Electronic voting system and control method | |
CN111177797A (en) | Data processing method and device based on block chain and electronic equipment | |
CN106875322A (en) | A kind of network lottery drawing method and device | |
CN110300171A (en) | Information collecting method, system, computer readable storage medium and electronic equipment | |
CN110557276B (en) | Block chain computer room management system based on Fabric architecture | |
CN105447927A (en) | A control method for opening access control electric locks, access controllers and an access control system | |
CN109636395A (en) | A kind of across the chain transaction processing system of multi-tiling chain and method | |
CN109409670A (en) | Personnel's matching process, device, system and block chain node device | |
CN108600184A (en) | A kind of equipment authentication method of embedded chip certificate | |
CN110335424A (en) | Community's blocking card integrated machine equipment and production method based on self-service authentication | |
CN109785177A (en) | Communities of users behavior management method, apparatus, medium and equipment based on block chain | |
Ahmad et al. | Implementation of an e-voting prototype using ethereum blockchain in ganache network | |
CN112418433A (en) | Model training method, device and equipment | |
WO2020061822A1 (en) | Method and system for arbitrating authenticity of data in a blockchain | |
EP1923842A4 (en) | Method and system for preparing and carrying out an electronic vote | |
CN109191655A (en) | A kind of number of shaking system based on public security verifying user information | |
CN106034023A (en) | User equipment, authentication server, identity authentication method and identity authentication system |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190830 Address after: 100000 Building 503, East SOHO District, Chaoyang District, Beijing Applicant after: Letter Interlink (Beijing) Technology Co.,Ltd. Address before: 101149 Beijing Tongzhou District Zhongguancun Science and Technology Park Tongzhou Park Jinqiao Science and Technology Industrial Base No. 17, 26 blocks 1 to 3, 102-WKL0076 Applicant before: INTERNET CLOUD (BEIJING) TECHNOLOGY Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190628 |