CN110533393A - Educational information storage method, equipment and medium - Google Patents
Educational information storage method, equipment and medium Download PDFInfo
- Publication number
- CN110533393A CN110533393A CN201910825500.1A CN201910825500A CN110533393A CN 110533393 A CN110533393 A CN 110533393A CN 201910825500 A CN201910825500 A CN 201910825500A CN 110533393 A CN110533393 A CN 110533393A
- Authority
- CN
- China
- Prior art keywords
- block chain
- node device
- chain node
- educational information
- block
- 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
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000004422 calculation algorithm Methods 0.000 claims description 28
- 238000004590 computer program Methods 0.000 claims description 3
- 238000012795 verification Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 16
- 238000012545 processing Methods 0.000 description 16
- 239000000203 mixture Substances 0.000 description 8
- 238000011160 research Methods 0.000 description 8
- 230000007115 recruitment Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 238000012360 testing method Methods 0.000 description 4
- 238000013459 approach Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000003752 improving hair Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004575 stone Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/604—Tools and structures for managing or administering access control systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/105—Human resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/20—Education
- G06Q50/205—Education administration or guidance
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- General Health & Medical Sciences (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Bioethics (AREA)
- Computer Hardware Design (AREA)
- Educational Technology (AREA)
- Educational Administration (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Development Economics (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Automation & Control Theory (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Electrically Operated Instructional Devices (AREA)
Abstract
The embodiment of the invention discloses a kind of educational information storage method, equipment and media, wherein educational information storage method includes: that the first block chain node device obtains educational information and educational information type;First block chain node device obtains the corresponding intelligent contract of educational information type, and obtain the associated node device of intelligent contract according to the corresponding relationship of educational information type and intelligent contract;The block chain network that the associated node device of intelligent contract is constituted is determined as block chain network belonging to the first block chain node device by the first block chain node device;When the first block chain node device verifies successfully educational information, the first block chain node device generates block according to educational information;Block is published to block chain network belonging to the first block chain node device by the first block chain node device.Using the embodiment of the present invention, the confidentiality and tamper-resistance properties of educational information can be effectively realized, and improve the reliability of educational information.
Description
Technical field
The present invention relates to Internet technical fields, and in particular to educational information storage method, equipment and medium.
Background technique
With progress of the epoch, society it is higher and higher to the repeatability of education, in education sector, educational information also with
The raising of level of education increases increasingly, construction and pipe in particular for educational informations such as personal education experience and certificate informations
Reason is particularly important.
In terms of the mode of management of current personal educational information predominantly stays in labor management, personal education experience and card
The related educational informations such as letter breath by educational institution personnel typing educational system, for third-party platform such as enterprises recruitment,
Use is checked in colleges and universities' enrollment etc., and the approach that usually this third-party platform obtains educational information is that education letter is obtained from educational system
Breath.And in this case, the educational information of educational system may be subjected to the attack of the illegal operator such as hacker, lead to
The educational information that tripartite's platform is got has been tampered with, therefore there are unreliable for the educational information got in this way
Property.
Summary of the invention
The embodiment of the invention provides educational information storage method, equipment and media, through the embodiment of the present invention, will educate
Information is uploaded in the block chain network determined according to educational information type, effectively realizes the tamper-resistance properties of educational information, and
And improve the reliability of educational information.
In a first aspect, the embodiment of the invention provides a kind of educational information storage methods, this method comprises:
First block chain node device obtains educational information and educational information type;First block chain node device according to
The corresponding relationship of educational information type and intelligent contract obtains the corresponding intelligent contract of educational information type, and obtains intelligence
The associated node device of contract;The block link network that first block chain node device is constituted the associated node device of intelligent contract
Network is determined as block chain network belonging to the first block chain node device;When the first block chain node device verifies educational information
When success, the first block chain node device generates block according to educational information;Block is published to by the first block chain node device
Block chain network belonging to first block chain node device.Using the embodiment of the present invention, closed according to educational information type and intelligence
About corresponding relationship, after the block of the block chain node device composition determined according to educational information type is uploaded to block chain network,
It can effectively realize the confidentiality and tamper-resistance properties of personal educational information, and can be according to education when needing to obtain educational information
It is obtained in the block chain network that information type determines, improves educational information and obtain efficiency.
In the technical scheme, the first block chain node device is relevant to educational information according to the determination of educational information type
Block chain node device forms block chain network.When verify in successful situation to educational information, educational information is generated
Block is distributed in block chain network.In this way, educational information is uploaded to the area determined according to educational information type
In block chain network, the tamper-resistance properties of educational information are effectively realized, and improve the reliability of educational information.
Second aspect, the present invention provides a kind of educational informations to store equipment, which, which has, realizes described in first aspect
Educational information storage method function.The function can also be executed corresponding soft by hardware realization by hardware
Part is realized.The hardware or software include one or more modules corresponding with above-mentioned function.
The third aspect, the embodiment of the invention provides a kind of block chain node device, which includes memory, processing
Device, memory store batch processing code, and processor calls the program code stored in memory, for executing first aspect institute
The operation being related to.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, for being stored as block chain link
Computer program instructions used in point device, it includes for executing program involved in above-mentioned first aspect.
Using the embodiment of the present invention, block chain node device relevant to educational information is determined according to educational information type,
Form block chain network.When verify in successful situation to educational information, educational information generation block is distributed to block
In chain network.In this way, educational information is uploaded in the block chain network determined according to educational information type, effectively
The tamper-resistance properties of educational information are realized, and improve the reliability of educational information.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the configuration diagram that a kind of existing business applied to job hunting recruits system;
Fig. 2 is a kind of structural schematic diagram of block chain disclosed by the embodiments of the present invention;
Fig. 3 is a kind of configuration diagram of block catenary system provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of educational information storage method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another educational information storage method provided in an embodiment of the present invention;
Fig. 6 is a kind of table schematic diagram of intelligent contract provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of block chain node device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another block chain node device provided in an embodiment of the present invention.
Specific embodiment
Present society realizes IT application in education sector to the management of personal educational information, personal education experience, diploma,
The educational informations such as prize-winning certificate mainly pass through educational institution personnel and educational information typing instructional management system (IMS) are carried out personal religion
The implementation management of information is educated, personal educational information, which is uploaded to after educational system, to be looked into for third-party platform from educational system acquisition
It sees.After existing enterprises recruitment class third-party platform gets personal educational information in educational system, it can be used for the trick of enterprise
It engages, by taking the configuration diagram of the business recruitment system shown in FIG. 1 for being applied to job hunting as an example.The approach of enterprise's acquisition educational information
It is by obtaining educational information from educational system.And in this case, the educational information of educational system may be subjected to black
The attack of the illegal operator such as visitor causes educational information to have been tampered with, therefore the education that enterprise gets in this way
Information reliability is lower.
Based on this, block chain technology is introduced the operation system for being applied to manage personal educational information by the embodiment of the present invention
In, propose a kind of educational information storage method.This method is specifically: the first block chain node device obtains educational information and religion
Educate information type;First block chain node device obtains education letter according to the corresponding relationship of educational information type and intelligent contract
The corresponding intelligent contract of type is ceased, and obtains the associated node device of intelligent contract;First block chain node device will be intelligent
The block chain network that the associated node device of contract is constituted is determined as block chain network belonging to the first block chain node device;
When the first block chain node device verifies successfully the educational information, the first block chain node device is according to institute
It states educational information and generates block;The block is published to the first block chain node and set by the first block chain node device
Standby affiliated block chain network.
Block chain (Block Chain) is that data block is combined by one kind in such a way that sequence is connected sequentially in time
A kind of linked data structure, and guarantee in a manner of cryptography the distributed account book that data can not be distorted and can not be forged.It is multiple
Independent distributed node (i.e. block chain node device) saves identical record.Block chain technology realizes decentralization, at
For the foundation stone of the storage of believable digital asset, transfer and transaction.
By taking the structural schematic diagram of block chain shown in Fig. 2 as an example, whenever there is new data to need to be written block chain, these are counted
It according to that can be aggregated into a block (block), adds in the end of existing block chain, guarantees that each node is new by common recognition algorithm
The block of addition is identical.Several transaction records are had recorded in each block, while containing previous block
Hash (hash) value, all blocks are exactly the hash value saved in previous block in this way, are connected in order, composition
Block chain.The cryptographic Hash that previous block can be stored in block chain in the block head of next block, when in previous block
Educational information when changing, the cryptographic Hash of this block can also change correspondingly, therefore by being uploaded in block chain network
Educational information is difficult to be tampered, and only block chain node device relevant to educational information can store the educational information, mention
The high reliability of educational information.
In the technical scheme, the first block chain node device verifies educational information, is verifying successful situation
Under, the block is published to block link network belonging to the first block chain node device by the first block chain node device
The confidence level of educational information can be improved in network in this way.Educational information is generated block by the first block chain node device
It is distributed to block chain network belonging to the first block chain node device, i.e., so that each block chain node in block chain network is set
It is standby to store the educational information, the publication of educational information can be made for all block chain node devices in block chain network
It is Fairshare.
A kind of educational information storage method and relevant device disclosed in embodiment in order to better understand the present invention, lower kept man of a noblewoman
The block catenary system being first applicable in the embodiment of the present invention is described.
Referring to Fig. 3, by taking a kind of configuration diagram of block catenary system shown in Fig. 3 as an example.As shown in figure 3, the education is believed
Breath storage system include at least one terminal device 301, at least one first block chain node device 302 and at least one second
Block chain node device 303, it should be noted that the framework of block catenary system shows as just the present embodiment in the present embodiment
Meaning, does not define this programme, for example, be applied in another embodiment, the framework of corresponding block catenary system can be with
It is that at least one terminal device 301, at least one first block chain node device 302, at least one second block chain node are set
For 303 and at least one third block chain node device.It should be noted that terminal device 301 is also possible to block chain network
In the first block chain node device 302.
In one implementation, in the case where the educational information type that user uploads is education experience, terminal device
301 can be user mobile phone terminal or computer terminal, and the first block chain node device 302 is appointing in block chain node device
Anticipate a node device, the first block chain node device 302 be in block chain network all block chain node devices according to common recognition
The block chain node device that algorithm elects, wherein common recognition algorithm includes but is not limited to proof of work (Proof of
Work, PoW) algorithm, equity prove that (Proof of Stake, PoS) algorithm, authorization equity prove (Delegated Proof
Of Stake, DPoS) algorithm, practical Byzantine failure tolerance (Practical Byzantine Fault Tolerance, PBFT) calculation
Method etc..Second block chain node device is to remove other block chain nodes of the first block chain node device in block chain network to set
It is standby.Wherein, the first block chain node device can be obtained by the periodically election of common recognition algorithm, different cycles elect the
One block chain node device can be identical, can not also be identical.
It should be noted that at least one second block chain node device 303 and the first block chain node device 302 form
Block chain network, for storing the block comprising educational information, block chain network shown in Fig. 3 is set by a first block chain node
It is given for example only for 302 and three the second block chain node devices 303 compositions, does not constitute the restriction to the embodiment of the present invention,
For example, being applied in another embodiment, block chain network be can also be by a first block chain node device 302 and five
Second block chain node device 303 composition.
Wherein, terminal device can be access terminal, user equipment (user equipment, UE), subscriber unit, user
It stands, movement station, mobile station, remote station, remote terminal, mobile terminal, user terminal, terminal, wireless telecom equipment, user agent
Or user apparatus.Access terminal can be cellular phone, wireless phone, Session initiation Protocol (session initiation
Protocol, SIP) phone, wireless local loop (wireless local loop, WLL) stand, personal digital assistant
(personal digital assistant, PDA), the handheld device with wireless communication function calculate equipment or are connected to
Other processing equipments of radio modem, mobile unit, wearable device, the terminal device in Internet of Things, virtual reality
Public land mobile network (the public land mobile of equipment, the terminal device in future 5G network or the following evolution
Network, PLMN) in terminal device etc..
In the embodiment of the present application, 302 receiving terminal apparatus 301 of the first block chain node device in block chain network is uploaded
Educational information, the educational information received is verified, to educational information verification pass through after, which is generated
Block.The block is published to the second block chain node device 303 in block chain network by the first block chain node device 302
In.
For example, the first block chain node device 302 can be school official website, and the second block chain node device 303 can
To be local education authority, the second block chain node device 303 can be research institute, and the second block chain node device 303 can be with
It is enterprise official website.If enterprise is recruited, in the prior art, enterprise can be by the first block chain node device
The educational information of job hunter is found in 302 (i.e. school official websites), and generally can not work as in the second block chain node device 303
Go to search more educational informations of the job hunter in ground education department and research institute.And in present example, personal education
After information is successfully distributed to block chain network, each block chain node relevant to the educational information in block chain network is set
It is standby to can store the educational information.That is, after educational information is successfully distributed to block chain network, in the first block chain link
Personal educational information can be found in point device 302, each second block chain node device 303, i.e., in enterprises recruitment
In the case of, enterprise not only only can go to find the educational information of the job hunter in the school where the job hunter, equally work as
The ground Ministry of Education or even research institute can also find educational information.As it can be seen that in embodiments of the present invention, school official website, enterprise, education
It portion can be with Fairshare educational information.
In one implementation, after block is published to block chain network by the first block chain node device 302, block
Either block chain node device in chain network can receive educational information acquisition request, which can take
With the block-identified of the block, which can search block-identified identified block, obtain in the block
Educational information.Either block chain node device in block chain network can be the first block chain node device 302 or the second
Block chain node device 303.
For example, the colleges and universities recruit student, which can so that the first block chain node device 302 is certain colleges and universities as an example
Educational information acquisition request is sent in block chain network, which can carry the block-identified of the block
For the educational information comprising diploma, education experience, which can search block-identified marked
The block of knowledge obtains the diploma in the block, education is undergone.
For another example, by taking the second block chain node device 303 is certain enterprise as an example, which carries out workplace recruitment, which can
Educational information acquisition request is sent in block chain network, which can carry the block-identified of the block
For the educational information comprising diploma, prize-winning certificate, which can search block-identified marked
The block of knowledge obtains diploma, prize-winning certificate in the block.
Optionally, after the first block chain node device 302 passes through educational information verification, educational information can be sent to
Each second block chain node device 303.Each second block chain node device 303 verifies educational information, obtains school
It tests as a result, check results are sent to the first block chain node device 302 by each second block chain node device 303.Firstth area
It is to verify the quantity of successful second block chain node device 303 that block chain node device 302, which counts check results, will be verified successfully
The second block chain node device 303 quantity and preset quantity threshold value comparison, set when verifying successful second block chain node
When standby 303 quantity is more than or equal to preset quantity threshold value, which is published to block by the first block chain node device 302
In chain network.
In this way, when the block chain node device in block chain network greater than preset quantity threshold value is to educational information
When verifying successfully, it may be considered that most of block chain node device holds approval attitude to educational information, educational information is improved
It is distributed to the confidence level of block chain network.
It is understood that the block catenary system of description of the embodiment of the present invention is of the invention real in order to more clearly illustrate
The technical solution of example is applied, the restriction for technical solution provided in an embodiment of the present invention, ordinary skill people are not constituted
Member is it is found that technical solution provided in an embodiment of the present invention is for class with the differentiation of system architecture and the appearance of new business scene
As technical problem, it is equally applicable.
Based on the configuration diagram of block catenary system shown in Fig. 3, Fig. 4 is referred to, Fig. 4 is provided in an embodiment of the present invention
A kind of flow diagram of educational information storage method, this method includes but is not limited to following steps:
S401: the first block chain node device obtains educational information.
When specific implementation, the first block chain node device receives educational information upload request, the educational information upload request
In carry educational information, the first block chain node device obtains the educational information in educational information upload request, education letter
Breath may include one or more of diploma, education experience, prize-winning certificate.
Wherein, educational information upload request can be user and be sent by terminal device to the first block chain node device
, it is also possible to what other block chain node devices in block chain network were sent to the first block chain node device.
In one implementation, when what the first block chain node device reception user uploaded contains the religion of diploma
When educating information, user is that the educational information for containing diploma is uploaded to block chain network by school official website, at this time
One block chain node device is the user school official website, the educational information that the first block chain node device can be uploaded according to user
The educational information is verified.
S402: the first block chain node device verifies the educational information.
When specific implementation, educational information that the first block chain node device receives may for diploma, education experience,
It is one of or a variety of in prize-winning certificate.Wherein, the first block chain node device may to the verification mode of educational information
There are several ways, such as keyword recognition algorithm, image recognition algorithm etc..
In one implementation, the first block chain node device is identified in educational information based on keyword recognition algorithm
The first keyword, the first block chain node device by the first keyword and the first presetting database the second keyword carry out
Compare, when there is the second keyword identical with the first keyword in the first presetting database, the first block chain node device
Determination verifies successfully educational information.When there is no the second keywords identical with the first keyword in the first presetting database
When, the first block chain node device, which determines to verify educational information, to fail, and the first block chain node device then deletes education letter
Breath.
Wherein, the first presetting database refers to the data base set comprising the keywords such as school, graduation, profession, universities and colleges composition
System.
For example, the first block chain node device is known when being identified by keyword recognition algorithm to educational information
It is clipped in the educational information comprising the keywords such as " graduation ", " profession ", " school ", " universities and colleges ", the first block chain node device can
To be compared according to the keywords such as " graduation ", " profession ", " school ", " universities and colleges " with the keyword in the first presetting database,
When meet the keyword in educational information it is identical as the keyword in the first presetting database when, then the first block chain node device
Determination verifies successfully educational information.
In one implementation, the first block chain node device is identified in educational information based on image recognition algorithm
First electronic certificate, the first block chain node device is by the second electronic certificate in the first electronic certificate and the second presetting database
It is compared, when there is the second electronic certificate identical with the first electronic certificate in the second presetting database, the first block chain
Node device determination verifies successfully educational information.When there is no identical with the first electronic certificate the in the second presetting database
When two electronic certificates, the first block chain node device, which determines to verify educational information, to fail.
Wherein, the second presetting database refers to the data of the official seal comprising the associated mechanisms unit such as government, colleges and universities, Ministry of Education
Library system.
For example, the first block chain node device is identified when being identified by image recognition algorithm to educational information
To there is electronic certificate, the electronics in electronic certificate and the second presetting database that the first block chain node device can recognize with
Card compares, when meet the electronic certificate in educational information it is identical as the electronic certificate in the first presetting database when, then the firstth area
The determination of block chain node device verifies successfully educational information.
In this way, the first block chain node device verifies educational information, can determine the educational information
Whether it is the information for belonging to education sector, the authenticity of the educational information can be examined.
S403: after the first block chain node device verifies successfully the educational information, the first block chain node
Equipment generates block according to the educational information.
When specific implementation, when the first block chain node device verifies successfully the educational information, described first
The block is published to block chain network belonging to the first block chain node device by block chain node device.
Optionally, after the first block chain node device passes through educational information verification, educational information can be sent to respectively
A second block chain node device.Each second block chain node device verifies educational information, obtains check results, respectively
A second block chain node device high-ranking officers test result and are sent to the first block chain node device.First block chain node device statistics
Check results are to verify the quantity of successful second block chain node device, will verify successful second block chain node device
Quantity and preset quantity threshold value comparison, when the quantity for verifying successful second block chain node device is more than or equal to present count
When measuring threshold value, which is published in block chain network by the first block chain node device.
Wherein, each node device (i.e. the second block chain node device) receives from the first block in block chain network
After the educational information that chain node device is sent, which can be verified.In one implementation, education letter
Breath may include the identity information of sender's (i.e. the first block chain node device), and the second block chain node device is to educational information
During being verified, the identity of the sender of educational information can be verified, and then improve and be published in block chain network
The confidence level of educational information.For example, educational information may include the digital signature of the first block chain node device, wherein number
Signature is private key of the first block chain node device according to the first block chain node device, carries out signature to educational information and handles
It arrives.It, can be according to first after second block chain node device receives the educational information from the first block chain node device
The public key of block chain node device, verifies digital signature, successfully shows that the sender of educational information is the if verifying
One block chain node device.In this way, be conducive to improve the confidence level of educational information.
S404: the block is published to belonging to the first block chain node device by the first block chain node device
Block chain network.
When specific implementation, which is distributed to the first block chain node device and the secondth area by the first block chain node device
In the block chain network of block chain node device composition.
In one implementation, block is distributed to belonging to the first block chain node device by the first block chain node device
The specific embodiment of block chain network can be with are as follows: the first block chain node device generates the first block according to educational information;
First block is distributed to block chain network belonging to the first block chain node device by the first block chain node device.
In the technical scheme, the first block chain node device can verification is successful, current at least one not be packaged
A educational information is packaged into a block, and block is distributed to block chain network belonging to the first block chain node device, into
And it is completed at the same time issuing process of at least one educational information in block chain network, be conducive to the publication effect for improving educational information
Rate.
A kind of educational information storage method based on Fig. 4, referring to Fig. 5, Fig. 5 is a kind of education provided in an embodiment of the present invention
Information storage means flow diagram, this method include but is not limited to following steps:
S501: the first block chain node device obtains educational information and educational information type.
When specific implementation, the first block chain node device receives educational information upload request, and the educational information upload is asked
It include educational information and educational information type in asking.Where it is assumed that educational information is prize-winning certificate, then the religion of prize-winning certificate
Educating information type can be educational information Class1, it is assumed that educational information is diploma, then the educational information class of diploma
Type can be educational type 2, it is assumed that educational information is education experience, then the educational information type for educating experience can be education
Information type 3.Educational information may include diploma, educate one of different educational information type in experience and prize-winning certificate
Kind is a variety of.
In one implementation, the mode that the first block chain node device obtains educational information may include following two
Kind: one, user by terminal device to first block chain node device send educational information upload request, first block chain node
Equipment obtains the educational information in educational information upload request.Two, educational information is any one block in block chain network
Chain node device is sent to the first block chain node device.Source this programme of educational information does not limit this.
For example, user A sends educational information upload request by computer terminal, the first block chain node device obtains education
Information and educational information type are diploma.Wherein, the first block chain node device can be school official website, education department
Deng.
For another example, user A sends educational information upload request by school official website, and the first block chain node device obtains education
Information and educational information type are diploma.The first block chain node device is just consistent with first terminal equipment at this time,
For school official website.
In one implementation, the first block chain node device obtains educational information, is known by keyword recognition, image
Other scheduling algorithm obtains the educational information type of the educational information.For example, the first block chain node device, which is worked as, passes through keyword recognition
Algorithm identifies educational information, has recognized the keywords such as " graduation ", " profession ", " school ", " universities and colleges ", the first block chain
Node device can determine that the education type of the educational information is diploma, and the first block chain node device is known when by image
Other algorithm identifies educational information, has recognized electronic certificate, and the first block chain node device can determine that the education is believed
The education type of breath is prize-winning certificate.
S502: the first block chain node device obtains education according to the corresponding relationship of educational information type and intelligent contract
The corresponding intelligent contract of information type.
When specific implementation, before the first block chain node device verifies educational information, in block chain network
Stored to have intelligent contract, the first block chain node device stores the corresponding relationship of educational information type and intelligent contract.
Intelligent contract in block chain network is the computer program that can be performed automatically, it can be to receiving
Information is responded, and can receive and store value, can also be sent out information and value.This program can be with just as one
The people being trusted can temporarily take care of assets, always execute operation according to prior rule.It is applied particularly in embodiment, when
After block chain node device in block chain network receives the educational information of user's upload, the first block in block chain network
The operation of chain node device and the matched intelligent contract of the educational information that user uploads.
In the technical scheme, the type of different educational information corresponds to different intelligent contracts.Wherein, it is deposited in intelligent contract
The corresponding relationship of the educational information of storage and intelligent contract can there are many data structure, such as table, file, intelligence shown in fig. 6
Energy contract schematic diagram is only used for illustrating, and does not constitute the restriction to the embodiment of the present invention.As shown in fig. 6, intelligent contract is with table
Form occur, can include but is not limited to following parameter in the text stored in table: when educational information type is prize-winning card
When book, corresponding intelligence contract is intelligence and about 1;When educational information type is diploma, corresponding intelligence contract is intelligence
It can be with about 2;When educational information is that education is lasted, corresponding intelligence contract is intelligence and about 3.
In one implementation, the first block chain node device obtains educational information and educational information type;First
Block chain node device obtains the corresponding intelligence of educational information type according to the corresponding relationship of educational information type and intelligent contract
Contract, and obtain the associated node device of intelligent contract;First block chain node device sets the associated node of intelligent contract
The standby block chain network constituted is determined as block chain network belonging to the first block chain node device.
Wherein, the block chain node device that different intelligent contracts is related to can also be different.For example, working as educational information type
When for diploma, the block chain node device that intelligent contract is related to can be school official website, Ministry of Education's block chain node
Equipment, when educational information type is education experience, the block chain node device that intelligent contract is related to may include but not
It is limited to the blocks chain node device such as school official website, the Ministry of Education, government, when educational information type is prize-winning certificate, intelligence
The block chain node device that contract is related to can include but is not limited to the blocks such as school official website, the Ministry of Education, institutional units, research institute
Chain node device.
In the technical scheme, the node device that different intelligent contracts is related to is different, in the first block chain node device
After getting different types of educational information block can be formed according to the corresponding block chain node device that intelligent contract is related to
Chain network, for example, when the educational information type of upload is diploma, block involved in the block of diploma composition
Chain node device is school official website, Ministry of Education etc., avoids the block chain node device unrelated with diploma and stores the graduation
Certificate can be searched when requiring to look up diploma in the block formed according to diploma, improve education letter
Cease the efficiency searched.
S503: the first block chain node device verifies educational information according to intelligent contract.
When specific implementation, the first block chain node device obtains the type of the educational information, according to intelligent contract and education
The corresponding relationship of information type obtains intelligent contract corresponding with educational information type, and according to the intelligence contract to the religion
Information is educated to be verified.
It is applied particularly in example, for example, the first block chain node device can when educational information type is diploma
The true and false for verifying diploma, determines whether the user attends school and graduate in the graduated school, when the first block chain node device
Verify successfully that then user's diploma is true to diploma.When educational information type is prize-winning certificate, the firstth area
Block chain node device can verify the true and false of prize-winning certificate according to the electronic certificate on prize-winning certificate, determine whether the user participated in
The event is simultaneously won a prize, and is true when the first block chain node device verifies successfully the prize-winning certificate of the then user to diploma
's.
During verifying by the educational information that the first block chain node device uploads user, religion can be verified
The authenticity for educating information improves the confidence level for the educational information being distributed in block chain network.
In one implementation, the first block chain node device obtains educational information type, and the first block chain node is set
The standby educational information type obtained is certificate of winning a prize, and according to the corresponding relationship of educational information type and intelligent contract, obtains education
The corresponding intelligent contract of information type is intelligence and about 1, the first block chain node device according to intelligence and about 1 pair of educational information into
Row verification.Wherein, the first block chain node device includes but is not limited to keyword check, electronics to the verification mode of prize-winning certificate
Credential verification.
When specific implementation, the first block chain node device identifies the first electricity in prize-winning certificate based on image recognition algorithm
Sub- voucher, the first block chain node device compare the second electronic certificate in the first electronic certificate and the second presetting database
Compared with when there is the second electronic certificate identical with the first electronic certificate in the second presetting database, the first block chain node is set
Standby determine verifies successfully prize-winning certificate, when there is no the second electronics identical with the first electronic certificate in the second presetting database
When voucher, the first block chain node device, which determines to verify prize-winning certificate, to fail, and the first block chain node device is then deleted this and obtained
Encourage certificate.First block chain node device identifies the first keyword in prize-winning certificate based on keyword recognition algorithm, first
The second keyword in first keyword and the first presetting database is compared by block chain node device, when the first present count
When according to there is the second keyword identical with first keyword in library, the first block chain node device is determined to prize-winning certificate
It verifies successfully, when the second keyword identical with first keyword is not present in the first presetting database, the first block
Chain node device, which determines to verify prize-winning certificate, to fail, and the first block chain node device then deletes the prize-winning certificate.Wherein, described
First presetting database refers to the Database Systems comprising the keywords such as school, graduation, profession, universities and colleges composition, the second present count
Refer to the Database Systems of the official seal comprising the associated mechanisms unit such as government, colleges and universities, Ministry of Education according to library.Search key and electricity
Whether sub- voucher exists in the first presetting database and the second presetting database, to verify the authenticity of prize-winning certificate, improves
The confidence level of prize-winning certificate.
In one implementation, the educational information type that the first block chain node device obtains is diploma.According to
The corresponding relationship of educational information type and intelligence contract, obtaining the corresponding intelligent contract of educational information type is intelligence and about 2, the
One block chain node device is verified according to intelligence and about 2 pairs of educational informations.First block chain node device is known based on image
Other algorithm identifies that the first electronic certificate in diploma, the first block chain node device are pre- by the first electronic certificate and second
If the second electronic certificate in database is compared, when having identical with the first electronic certificate the in the second presetting database
When two electronic certificates, the determination of the first block chain node device verifies successfully diploma.When not deposited in the second presetting database
In the second electronic certificate identical with the first electronic certificate, the first block chain node device is determined to verify diploma and be lost
It loses, the first block chain node device then deletes the diploma;First block chain node device is known based on keyword recognition algorithm
Not Chu the first keyword in diploma, the first block chain node device will be in the first keyword and the first presetting database
Second keyword is compared, when there is the second keyword identical with first keyword in the first presetting database,
First block chain node device, which determines, verifies successfully diploma, when there is no close with described first in the first presetting database
When identical second keyword of key word, the first block chain node device, which determines to verify diploma, to fail, the first block chain link
Point device then deletes the diploma.Specifically, assuming that the first keyword is " Chongqing Mail and Telephones Unvi ", the first presetting database is
Chongqing's education portion, then in the first presetting database there are the second keyword " Chongqing Mail and Telephones Unvi ", the first keyword and at this time
Two keywords are identical, then the first block chain node device determination verifies successfully the diploma.
In one implementation, the educational information type that the first block chain node device obtains is education experience.Education
Text is usually related only in experience, then for the verification of education experience, the first block chain node device is known based on keyword
Other algorithm identifies the first keyword in education experience, and the first block chain node device is by the first keyword and the first present count
Be compared according to the second keyword in library, when in the first presetting database exist the second keyword identical with the first keyword
When, the first block chain node device, which determines, verifies successfully education experience;When there is no close with first in the first presetting database
When identical second keyword of key word, the first block chain node device, which is determined, undergoes verification failure, the first block chain link to education
Point device then deletes education experience.
S504: after educational information verifies successfully, the first block chain node device educational information generates block.
When specific implementation, the first block chain node device obtains the educational information type, the first block chain node device
According to the corresponding relationship of the educational information type and intelligent contract, the corresponding intelligent contract of the educational information type is obtained,
And the intelligent associated node device of contract is obtained, the first block chain node device is by the associated node device institute structure of intelligent contract
At block chain network be determined as block chain network belonging to the first block chain node device, when the first block chain node device pair
When educational information is verified successfully, the first block chain node device generates block according to educational information.
In one implementation, it is prize-winning certificate that the first block chain node device, which obtains the educational information type, the
One block chain node device obtains the prize-winning corresponding intelligence of certificate according to the corresponding relationship of educational information type and intelligent contract
Contract is intelligence and about 1, and intelligence and about 1 corresponding block chain node device are school official website, the Ministry of Education, institutional units, research
Institute, the first block chain node device then the first block chain node device and school official website, the Ministry of Education, institutional units, area, research institute
Block chain node device forms block 1.
In one implementation, it is diploma that the first block chain node device, which obtains the educational information type, the
One block chain node device obtains the corresponding intelligence of the diploma according to the corresponding relationship of educational information type and intelligent contract
Contract is intelligence and about 2, and intelligence and about 2 corresponding block chain node devices are school official website, the Ministry of Education, the first block chain node
Then the first block chain node device and school official website, Ministry of Education's block chain node device form block 2 to equipment.
In one implementation, it is diploma that the first block chain node device, which obtains the educational information type, the
One block chain node device obtains the corresponding intelligence of the diploma according to the corresponding relationship of educational information type and intelligent contract
Contract is intelligence and about 3, and intelligence and about 3 corresponding block chain node devices are school official website, the Ministry of Education, government, the first block
Then the first block chain node device and school official website, the Ministry of Education, government's block chain node device form block 3 to chain node device.
S505: the first block chain node device sends block to block chain network.
When specific implementation, the block generated according to educational information is sent in block by the first block chain node device
Each block chain node device so that each block chain node device verifies the educational information in block.
In one implementation, block 1 is sent to each block chain link in block 1 by the first block chain node device
Point device, i.e. school official website, the Ministry of Education, institutional units, research institute's block chain node device, so that school official website, the Ministry of Education, machine
Structure unit, research institute's block chain node device verify educational information.
After the first block chain node device sends block to block chain network, the block chain node for receiving the block is set
Standby is the second block chain node device, it should be noted that the second block chain node device more than one, in the block
Comprising educational information, the second block chain node device verifies educational information.Wherein, the second block chain node device is to religion
Educate the verification mode of information and the first block chain node device verifies educational information in step S503 verification mode phase
Together, the embodiment of the present application repeats no more.
In one implementation, educational information may include the identity letter of sender's (i.e. the first block chain node device)
Breath, during the second block chain node device verifies educational information, can verify the body of the sender of educational information
Part, and then improve the confidence level for the educational information being published in block chain network.For example, educational information may include the first block
The digital signature of chain node device, wherein digital signature is the first block chain node device according to the first block chain node device
Private key, what signature was handled is carried out to educational information.Second block chain node device, which receives, comes from the first block chain node
After the educational information of equipment, digital signature can be verified according to the public key of the first block chain node device, if verification
Success then shows that the sender of educational information is the first block chain node device.In this way, be conducive to improve education letter
The confidence level of breath.
In one implementation, educational information can also include the digital signature and first of the first block chain node device
The digital certificate of block chain node device.Wherein, the digital certificate of the first block chain node device can be by block chain network
In certification node device be sent to the first block chain node device.The digital certificate includes but is not limited to authenticate node device
Digital signature, the identity information of the first block chain node device and the public key of the first block chain node device.It needs to illustrate
It is that certification node device can be any one or more block chain node devices in block chain network, authenticates node device
It can be by the election of all block chain node device periods in block chain network, be also possible to changeless, the present invention
Embodiment is not construed as limiting this.
In one implementation, after the first block chain node device verifies successfully educational information, the first block chain
Educational information is sent to the second block chain node device by node device, is carried out in the second block chain node device to educational information
After verification, educational information check results are back to the first block chain node device by the second block chain node device, in the secondth area
After block chain node device verifies successfully educational information, educational information is distributed to the first block chain by the first block chain node device
Block chain network belonging to node device.
In the technical scheme, the first block chain node device receives the check results of the second block chain node device, into
And determining whether educational information passes through the verification of block chain network, i.e. educational information check results are according in block chain network
What the educational information verification response that each second block chain node device returns determined jointly.In this way, can make
Each second block chain node device in block chain network both participates in the checking procedure for educational information, is conducive to improve hair
Cloth to block chain network educational information confidence level.
When specific implementation, after the completion of the second block chain node device verifies educational information, the second block chain
Check results are sent to the first block chain node device by node device, and the first block chain node device is receiving each second
After block chain node device is to the check results of educational information, the first block chain node device statistics check results are to verify successfully
Block chain node device quantity, the first block chain node device judges that check results set to verify successful block chain node
Whether standby quantity is greater than preset quantity threshold value.It should be noted that regardless of check results are to pass through or do not pass through, the secondth area
Block chain node device can send educational information check results to the first block chain node device.
Wherein, different amount thresholds can be arranged according to the different educational information type of educational information in preset quantity threshold value.
Applied in embodiment, when educational information type is diploma, the corresponding amount threshold of diploma is amount threshold A;
When educational information type is prize-winning certificate, the corresponding amount threshold of certificate of winning a prize is amount threshold B;Educational information type is religion
Educating is lasted, and it is amount threshold C that corresponding amount threshold is undergone in education.Wherein, amount threshold A, B, C is positive integer.
It should be noted that amount threshold can there are many parametric forms, such as positive integer or percentage.
In one implementation, when the first block chain node device judges check results for successful secondth area of verification
The quantity of block chain node device is 6, and preset quantity threshold value is 5, verifies the quantity of successful second block chain node device at this time
Greater than preset quantity threshold value, illustrate that the educational information confidence level is very high, the first block chain node device can send out the educational information
Cloth is into block chain network;When the first block chain node device judges check results for the successful second block chain node of verification
The quantity of equipment is 5, and the quantity for verifying successful second block chain node device at this time is equal to preset quantity threshold value 5, illustrates this
Educational information confidence level is relatively high, which can be distributed in block chain network by the first block chain node device;When
One block chain node device judges that check results are that verify the quantity of successful second block chain node device be 3, at this time school
The quantity for testing successful second block chain node device is less than preset quantity threshold value 5, illustrates that the educational information confidence level is not high enough,
First block chain node device then deletes the educational information.
In one implementation, when the first block chain node device judges check results for successful secondth area of verification
The quantity of block chain node device is 8, and the second block chain node device total quantity is 11, and preset quantity threshold value is 70%, then verifies
As a result it is that verify the number percent of successful second block chain node device be 8/10, verifies successful node device at this time
Number percent is greater than preset quantity threshold value 70%, illustrates that the educational information confidence level is very high, and the first block chain node device will
The educational information is distributed in block chain network;When the first block chain node device judges check results to verify successful the
The quantity of two block chain node devices is 7, then check results are the quantity percentage for verifying successful second block chain node device
Than being 7/10, the number percent for verifying successful second block chain node device at this time is equal to preset quantity threshold value 70%, says
The bright educational information confidence level is relatively high, which is distributed in block chain network by the first block chain node device;When
First block chain node device judges that check results are that verify the quantity of successful second block chain node device be 6, then school
Testing result is that verify the number percent of successful second block chain node device be 6/10, verifies successful second block at this time
The number percent of chain node device is less than preset quantity threshold value 70%, illustrates that the educational information confidence level is not high enough, the firstth area
Block chain node device then deletes the educational information.
It should be noted that the educational information being uploaded in block chain network permanent can be stored in block chain network
In, which obtains and checks from block chain network for user or other clients.Applied in embodiment, such as
When colleges and universities' enrollment, enterprises recruitment, individual check, relevant departments need to obtain educational information and are checked.Wherein, on
Educational information after reaching block chain network can it is permanent, be securely stored in block chain, strengthen personal educational information
Confidentiality, avoid the possibility that educational information in the prior art is tampered, effectively realize the confidentiality of educational information and anti-
Tamper.
When specific implementation, the first block chain node device responds the educational information acquisition request from first terminal equipment.
Wherein, the first block chain node device can be any one block chain node in block chain network belonging to the educational information
Equipment is also possible to the block chain node that each block chain node device in block chain network is elected according to common recognition algorithm
Equipment, first terminal equipment can be user terminal, such as mobile phone, iPad, PC etc..First block chain node device root
It goes in block chain node device to find accordingly according to first terminal educational information acquisition request by educational information, the first block chain link
Educational information is sent to first terminal equipment by point device.
In one embodiment, colleges and universities recruit student, and first terminal equipment is colleges and universities at this time, and the colleges and universities are according to trick
Raw demand obtains educational information of student, such as education experience, prize-winning certificate etc. in local education authority, at this time the first block chain
Node device can be education department, and the educational information of student is then sent to the colleges and universities by the first block chain node device.
In one implementation, enterprise is recruited, and first terminal equipment is enterprise at this time, and the enterprise is according to need
The school official website required for enterprise is asked to obtain the educational information of student, the first block chain node device can be school official at this time
The educational information of student is then sent to the enterprise by net, the first block chain node device.By this educational information acquisition modes,
For enterprise, it is ensured that the authenticity of the personal educational information got meets enterprises recruitment demand, comes to applicant
It says, guarantees that personal educational information not will be leaked and distort, therefore, reached to both sides' all beneficial effects, confirmed again
The present invention may be implemented the confidentiality of personal educational information and the effect of tamper-resistance properties.
Fig. 7 is referred to, Fig. 7 is a kind of structural schematic diagram of block chain node device provided in an embodiment of the present invention, the area
Block chain node device is used to execute step performed by the first block chain node device in the corresponding embodiment of the method for Fig. 4 or Fig. 5,
The block chain node device can include:
Processing module 701, for obtaining educational information and educational information type;
Processing module 701 is also used to obtain the educational information class according to the corresponding relationship of the type and intelligent contract
The corresponding intelligent contract of type, and obtain the associated node device of the intelligent contract;
Processing module 701 is also used to determine the block chain network that the intelligent associated node device of contract is constituted
For block chain network belonging to the first block chain node device;
Processing module 701 is also used to when verifying successfully to the educational information, according to the educational information generation area
Block;
Sending module 702, for the block to be published to block chain network belonging to the block chain node device.
In one implementation, the block that processing module 701 is constituted the intelligent associated node device of contract
Chain network is determined as block chain network belonging to the first block chain node device, comprising:
Keyword recognition is carried out to the educational information, obtains the keyword of the educational information;
It will be determined as the corresponding node device of the intelligent contract with the node device of the keyword match;
Using the corresponding node device of the intelligence contract as the block chain network.
In one implementation, sending module 702 are also used to be generated in processing module 701 according to the educational information
Before block, when verifying successfully to the educational information, the educational information is published to block chain node device institute
The block chain network of category, so that each node device verifies the educational information in the block chain network;
The block chain node device can also include receiving module 703;
Receiving module 703, the check results sent for receiving each node device;
When check results be verify successful node device quantity be greater than preset quantity threshold value when, trigger processing module
701 execute the step of generating block according to the educational information.
In one implementation, processing module 701 are also used to receiving module 703 and receive each node device hair
After the check results sent, the educational information type is obtained, according to pair of the educational information type and preset quantity threshold value
It should be related to, obtain the corresponding preset quantity threshold value of the educational information type.
In one implementation, processing module 701 verifies the educational information, comprising:
Obtain the educational information type;
According to the corresponding relationship of educational information type and intelligent contract, obtains the corresponding intelligence of the educational information type and close
About;
The educational information is verified according to the intelligent contract.
In one implementation, processing module 701 verifies the educational information, comprising:
The first keyword in the educational information is identified based on keyword recognition algorithm;
The second keyword in first keyword and the first presetting database is compared;
When there is the second keyword identical with first keyword in first presetting database, determine to institute
Educational information is stated to verify successfully.
In one implementation, processing module 701 verifies the educational information, comprising:
The first electronic certificate in the educational information is identified based on image recognition algorithm;
The second electronic certificate in first electronic certificate and the second presetting database is compared;
When there is the second electronic certificate identical with first electronic certificate in second presetting database, determine
The educational information is verified successfully.
It should be noted that unmentioned content and modules execute the specific of step in the corresponding embodiment of Fig. 7
Implementation can be found in Fig. 4 or embodiment illustrated in fig. 5 and foregoing teachings, and which is not described herein again.
Fig. 8 is referred to, Fig. 8 is a kind of structural schematic diagram of block chain node device provided in an embodiment of the present invention, the area
Block chain node device is used to execute step performed by the first block chain node device in the corresponding embodiment of the method for Fig. 4 or Fig. 5,
The block chain node device 80 includes processor 801, memory 802, communication interface 803, the processor 801, the storage
Device 802, the communication interface 803 are connected by one or more communication bus.
Processor 801 is configured as that block chain node device is supported to execute block chain management in Fig. 3-embodiment illustrated in fig. 6
The corresponding function of device.The processor 801 can be central processing unit (central processing unit, CPU), network
Processor (network processor, NP), hardware chip or any combination thereof.
Memory 802 is for storing program code etc..Memory 802 may include volatile memory (volatile
), such as random access memory (random access memory, RAM) memory;Memory 802 also may include non-easy
The property lost memory (non-volatile memory), such as read-only memory (read-only memory, ROM), flash
Device (flash memory), hard disk (hard disk drive, HDD) or solid state hard disk (solid-state drive, SSD);
Memory 802 can also include the combination of the memory of mentioned kind.
Communication interface 803 is for sending and receiving data, for example, communication interface 803 comes from the second block chain for receiving
The educational information of node device, alternatively, communication interface 803 is used for each block chain link being distributed to block in block chain network
Point device etc..
In embodiments of the present invention, which includes multiple communication interfaces, wherein for sending data
Communication interface and communication interface for receiving data can not be the same communication interface.
Processor 801 and communication interface 803 can call the program code stored in memory 802 to execute following behaviour
Make:
Processor 801 obtains educational information and educational information type;
Processor 801 obtains the educational information class according to the corresponding relationship of the educational information type and intelligent contract
The corresponding intelligent contract of type, and obtain the associated node device of the intelligent contract;
The block chain network that the intelligent associated node device of contract is constituted is determined as described first by processor 801
Block chain network belonging to block chain node device;
Processor 801 generates block when verifying successfully to the educational information, according to the educational information;
The block is published to block chain network belonging to the block chain node device by communication interface 803.
In one implementation, the block chain that processor 801 is constituted the intelligent associated node device of contract
Network is determined as block chain network belonging to the first block chain node device, comprising:
Keyword recognition is carried out to the educational information, obtains the keyword of the educational information;
It will be determined as the corresponding node device of the intelligent contract with the node device of the keyword match;
Using the corresponding node device of the intelligence contract as the block chain network.
In one implementation, communication interface 803 are also used in processor 801 according to the educational information generation area
Before block, when being verified successfully to the educational information, the educational information is published to belonging to the block chain node device
Block chain network so that each node device verifies the educational information in the block chain network;
Communication interface 803 is also used to receive the check results that each node device is sent;
When check results be verify successful node device quantity be greater than preset quantity threshold value when, trigger processor 801
Execute the step of block is generated according to the educational information.
In one implementation, processor 801 are also used to communication interface 803 and receive each node device transmission
Check results after, the educational information type is obtained, according to the correspondence of the educational information type and preset quantity threshold value
Relationship obtains the corresponding preset quantity threshold value of the educational information type.
In one implementation, processor 801 verifies the educational information, comprising:
Obtain the educational information type;
According to the corresponding relationship of educational information type and intelligent contract, obtains the corresponding intelligence of the educational information type and close
About;
The educational information is verified according to the intelligent contract.
In one implementation, processor 801 verifies the educational information, comprising:
The first keyword in the educational information is identified based on keyword recognition algorithm;
The second keyword in first keyword and the first presetting database is compared;
When there is the second keyword identical with first keyword in first presetting database, determine to institute
Educational information is stated to verify successfully.
In one implementation, processor 801 verifies the educational information, comprising:
The first electronic certificate in the educational information is identified based on image recognition algorithm;
The second electronic certificate in first electronic certificate and the second presetting database is compared;
When there is the second electronic certificate identical with first electronic certificate in second presetting database, determine
The educational information is verified successfully.
The embodiment of the present invention also provides a kind of computer readable storage medium, can be used for storing and implement shown in Fig. 4~Fig. 5
Computer software instructions used in block chain node device in example, it includes for executing in above-described embodiment as block chain node
Program designed by equipment.
Above-mentioned computer readable storage medium includes but is not limited to flash memory, hard disk, solid state hard disk.
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (10)
1. a kind of educational information storage method characterized by comprising
First block chain node device obtains educational information and educational information type;
The first block chain node device obtains the religion according to the corresponding relationship of the educational information type and intelligent contract
The corresponding intelligent contract of information type is educated, and obtains the associated node device of the intelligent contract;
The first block chain node device determines the block chain network that the intelligent associated node device of contract is constituted
For block chain network belonging to the first block chain node device;
When the first block chain node device verifies successfully the educational information, the first block chain node device root
Block is generated according to the educational information;
The block is published to block chain belonging to the first block chain node device by the first block chain node device
Network.
2. the method according to claim 1, wherein the first block chain node device is by the intelligent contract
The block chain network that associated node device is constituted is determined as block chain network belonging to the first block chain node device,
Include:
The first block chain node device carries out keyword recognition to the educational information, obtains the key of the educational information
Word;
The first block chain node device will be determined as the intelligent contract with the node device of the keyword match and be associated with
Node device;
The first block chain node device determines the block chain network that the intelligent associated node device of contract is constituted
For block chain network belonging to the first block chain node device.
3. the method according to claim 1, wherein the first block chain node device is believed according to the education
Breath generates before block, further includes:
When the first block chain node device verifies successfully the educational information, the first block chain node device will
The educational information is published to block chain network belonging to the first block chain node device, so that in the block chain network
Each node device verifies the educational information;
The first block chain node device receives the check results that each node device is sent;
When check results are to verify the quantity of successful node device to be greater than preset quantity threshold value, triggering executes firstth area
The step of block chain node device generates block according to the educational information.
4. according to the method described in claim 3, it is characterized in that, the first block chain node device receives each section
After the check results that point device is sent, further includes:
The first block chain node device obtains the educational information type;
The first block chain node device obtains institute according to the corresponding relationship of the educational information type and preset quantity threshold value
State the corresponding preset quantity threshold value of educational information type.
5. the method according to claim 1, wherein the first block chain node device is to the educational information
It is verified, comprising:
The first block chain node device obtains the educational information type;
The first block chain node device obtains the education letter according to the corresponding relationship of educational information type and intelligent contract
Cease the corresponding intelligent contract of type;
The first block chain node device verifies the educational information according to the intelligent contract.
6. the method according to claim 1, wherein the first block chain node device is to the educational information
It is verified, comprising:
The first block chain node device identifies the first keyword in the educational information based on keyword recognition algorithm;
The first block chain node device carries out the second keyword in first keyword and the first presetting database
Compare;
When there is the second keyword identical with first keyword in first presetting database, first block
The determination of chain node device verifies successfully the educational information.
7. the method according to claim 1, wherein the first block chain node device is to the educational information
It is verified, comprising:
The first block chain node device identifies the first electronic certificate in the educational information based on image recognition algorithm;
The first block chain node device is by the second electronic certificate in first electronic certificate and the second presetting database
It is compared;
When there is the second electronic certificate identical with first electronic certificate in second presetting database, described first
The determination of block chain node device verifies successfully the educational information.
8. a kind of block chain node device, which is characterized in that including for executing side as described in any one of claims 1 to 7
The module of method.
9. a kind of block chain node device, which is characterized in that including memory and processor, the memory stores one group of journey
Sequence code, the processor call the program code stored in the memory, for executing any one of 1~7 operation.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence, the computer program include program instruction, and described program instruction executes the processor such as
The described in any item methods of claim 1~7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910825500.1A CN110533393A (en) | 2019-08-30 | 2019-08-30 | Educational information storage method, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910825500.1A CN110533393A (en) | 2019-08-30 | 2019-08-30 | Educational information storage method, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110533393A true CN110533393A (en) | 2019-12-03 |
Family
ID=68666190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910825500.1A Pending CN110533393A (en) | 2019-08-30 | 2019-08-30 | Educational information storage method, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110533393A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111274482A (en) * | 2020-01-18 | 2020-06-12 | 大连交通大学 | Intelligent education system and method based on virtual reality and big data |
WO2021128033A1 (en) * | 2019-12-24 | 2021-07-01 | 广州工商学院 | Blockchain-based high-level higher education system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107438003A (en) * | 2016-05-27 | 2017-12-05 | 索尼公司 | Electronic equipment, method and information processing system for electronic equipment |
US20180082256A1 (en) * | 2016-09-19 | 2018-03-22 | Sap Se | Decentralized credentials verification network |
CN107943996A (en) * | 2017-12-04 | 2018-04-20 | 四川长虹电器股份有限公司 | A kind of academic querying method and device based on block chain |
CN108615150A (en) * | 2018-04-24 | 2018-10-02 | 深圳市轱辘车联数据技术有限公司 | Vehicle related information processing method and processing device based on block chain |
CN109472569A (en) * | 2018-10-25 | 2019-03-15 | 杭州云象网络技术有限公司 | A kind of education services transaction implementation method based on alliance's chain |
-
2019
- 2019-08-30 CN CN201910825500.1A patent/CN110533393A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107438003A (en) * | 2016-05-27 | 2017-12-05 | 索尼公司 | Electronic equipment, method and information processing system for electronic equipment |
US20180082256A1 (en) * | 2016-09-19 | 2018-03-22 | Sap Se | Decentralized credentials verification network |
CN107943996A (en) * | 2017-12-04 | 2018-04-20 | 四川长虹电器股份有限公司 | A kind of academic querying method and device based on block chain |
CN108615150A (en) * | 2018-04-24 | 2018-10-02 | 深圳市轱辘车联数据技术有限公司 | Vehicle related information processing method and processing device based on block chain |
CN109472569A (en) * | 2018-10-25 | 2019-03-15 | 杭州云象网络技术有限公司 | A kind of education services transaction implementation method based on alliance's chain |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021128033A1 (en) * | 2019-12-24 | 2021-07-01 | 广州工商学院 | Blockchain-based high-level higher education system and method |
CN111274482A (en) * | 2020-01-18 | 2020-06-12 | 大连交通大学 | Intelligent education system and method based on virtual reality and big data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106254374B (en) | A kind of cloud data public audit method having duplicate removal function | |
CN108235805A (en) | Account unifying method and device and storage medium | |
CN109829326A (en) | Cross-domain certification and fair audit duplicate removal cloud storage system based on block chain | |
CN108959911A (en) | A kind of key chain generates, verification method and its device | |
CN108667612A (en) | A kind of trust service framework and method based on block chain | |
CN105227317B (en) | A kind of cloud data integrity detection method and system for supporting authenticator privacy | |
CN103236927B (en) | A kind of authentication method based on dynamic ID mark and system | |
CN105978855B (en) | Personal information safety protection system and method under a kind of system of real name | |
CN108400981A (en) | The public cloud auditing system and method for lightweight and secret protection in smart city | |
CN109300199A (en) | Attendance checking system and Work attendance method based on block chain | |
CN110557276B (en) | Block chain computer room management system based on Fabric architecture | |
CN109981287A (en) | A kind of code signature method and its storage medium | |
CN106487786A (en) | A kind of cloud data integrity verification method based on biological characteristic and system | |
CN108900309A (en) | A kind of method for authenticating and right discriminating system | |
CN110298152A (en) | It is a kind of protection privacy of user and system safety line on identity management method | |
CN110071897A (en) | A kind of block catenary system based on mobile terminal | |
CN110533393A (en) | Educational information storage method, equipment and medium | |
CN106060097A (en) | Management system and management method for information security competition | |
CN109754322A (en) | A kind of data service system | |
US20230050280A1 (en) | Computer-implemented user identity verification method | |
CN110233850A (en) | Register method, application server, user terminal and system based on alliance's chain | |
CN114003925A (en) | Signature combined online declaration method and system based on block chain | |
CN105210071B (en) | Knowledge/factor for the secret protection of lasting certification possesses test | |
CN103716316B (en) | A kind of authenticating user identification system | |
CN109981736A (en) | A kind of dynamic public audit method for supporting user and Cloud Server to trust each other |
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 |