CN107943996A - A kind of academic querying method and device based on block chain - Google Patents

A kind of academic querying method and device based on block chain Download PDF

Info

Publication number
CN107943996A
CN107943996A CN201711260827.6A CN201711260827A CN107943996A CN 107943996 A CN107943996 A CN 107943996A CN 201711260827 A CN201711260827 A CN 201711260827A CN 107943996 A CN107943996 A CN 107943996A
Authority
CN
China
Prior art keywords
academic
inquiry
information
block chain
person
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711260827.6A
Other languages
Chinese (zh)
Other versions
CN107943996B (en
Inventor
袁海波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201711260827.6A priority Critical patent/CN107943996B/en
Publication of CN107943996A publication Critical patent/CN107943996A/en
Application granted granted Critical
Publication of CN107943996B publication Critical patent/CN107943996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to Internet technical field.Purpose is to provide a kind of academic querying method and device based on block chain, which is:The academic inquiry request information of user terminal transmission is received by academic inquiry unit first;Then the validity of academic inquiry request information is verified by academic inquiry unit;The academic history block chain and/or the academic inquiry response information of generation for the person of being queried are obtained by academic inquiry unit again;Finally academic inquiry response information is sent to inquiry from academic inquiry unit to user terminal.It can solve the problems, such as that academic information tamper-resistance is poor, the academic information efficiency of inquiry is low using this method.

Description

A kind of academic querying method and device based on block chain
Technical field
The present invention relates to Internet technical field, and in particular to a kind of academic querying method and device based on block chain.
Background technology
Block chain is the Floor layer Technology of the digital cash such as bit coin, ether coin, is a kind of new decentralization information technology, Numeral transaction or other data, information, which can safely be stored, can not forge and distort.Block chain technology is by block chain type number According to structure come verify and store data, using distributed node formula algorithm to generate and update the data, utilize ripe password System is to ensure data transfer and the safety accessed, using intelligent contract come a kind of brand-new distributed computing technology of operation data Framework and calculation paradigm.
At present, user educational background experience prove mainly in the form of papery certificate exist, the certificate number of papery certificate and Corresponding information is stored in the server of educational institution or authority on education mechanism.First, the academic information of each user is independent It is present in the server of educational institution, does not form association, tamper-resistance is poor, can not effectively prevent newly-increased pseudo- educational background letter The problem of breath.Secondly, all academic information of user may be stored respectively in the clothes of each educational institution for providing educational background service It is engaged in device, for the users with multiple educational background experience, inquires about all academic information asking there are inefficiency of some user Topic.
The content of the invention
In view of this, a kind of academic querying method and device based on block chain provided by the invention, the querying method and Device solves the problems, such as that academic information tamper-resistance is poor, the academic information efficiency of inquiry is low.
For achieving the above object, the technical solution adopted in the present invention is:A kind of educational background inquiry based on block chain Method, comprises the following steps:
Step 1:Academic inquiry unit receives the academic inquiry request information that user terminal is sent;
Step 2:The validity of the academic inquiry request information of educational background inquiry unit verification;
Step 3:Academic inquiry unit obtains the academic history block chain and/or the academic inquiry response of generation for the person of being queried Information;
Step 4:Academic inquiry unit sends academic inquiry response information to inquiry to user terminal.
Preferably, the academic inquiry request information includes inquiry's identification information, inquiry's credential information, inquiry Type and the person's of being queried information.
Preferably, inquiry's credential information refer to the verification code information obtained from academic block chain management system and/ Or the qualification information of inquiry;The query type includes being used to inquire about the first inquiry class of the authenticity of the academic information provided Type, further includes the second query type of the academic information for obtaining the person of being queried;The person's of being queried information includes being queried The identification information of person and/or academic information to be verified.
Preferably, the step 2 specifically includes:Looking into the academic inquiry request information of educational background inquiry unit verification Whether the identification information and inquiry's credential information of inquiry person be effective, and whether revene lookup type has corresponding inquiry power Limit.
Preferably, the step 3 specifically includes:
Step 1:If academic inquiry request information effectively if enter step 2, if academic inquiry request information is invalid direct Enter step 5;
Step 2:If the query type that academic inquiry request is included is first kind query type, 3 are entered step;If learn It is the second class query type to go through the query type that inquiry request is included, then enters step 4;
Step 3:The corresponding academic history block of the person's of being queried identification information is first obtained in academic block chain network Chain, then search and the academic information phase that is included of the person's of being queried information in educational background inquiry request in academic history block chain The academic block matched somebody with somebody;
Step 4:The corresponding academic history block of the person's of being queried identification information is first obtained in academic block chain network Chain, corresponding academic block is then extracted in academic history block chain and extracts the educational institution's body included in academic block Part mark, the academic history block chain of corresponding educational institution is obtained further according to educational institution's identity, is finally searched again Whether the academic history block chain of rope educational institution includes the academic block to match;
Step 5:The academic inquiry response information of educational background inquiry unit generation.
Preferably, the academic response message include academic inquiry request information, the person's of being queried mark, miscue code and To the signature of academic inquiry response information.
Preferably, the academic response message includes the person's of being queried name, educational institution's identity, described to be verified The sign of academic information, the academic information to be verified for true or false and the signature to academic inquiry response information.
Preferably, the academic information of one or more that the academic response message includes the person of being queried, and educational background is looked into Ask the signature of response message;The educational background information specifically include the person's of being queried name, educational institution's identity, academic grade, Academic certificate is numbered and date of graduation.
A kind of academic inquiry unit based on block chain, including the academic inquiry unit interacted with user terminal, it is described Academic inquiry unit includes the receiving module that is connected with user terminal output terminal, the receiving module output terminal and authentication module it is defeated Enter end connection, the output terminal of the authentication module is connected with the input terminal of intelligent contract module, the intelligent contract module it is defeated Outlet is connected with sending module input terminal, and the output terminal of the sending module and the input terminal of user terminal connect.
Preferably, the authentication module is also connected with permission configuration module and the second acquisition module, and described second obtains mould Block input terminal is connected with provisioning module output terminal.
The invention has the advantages that:In the inventive solutions, the academic querying method of the present invention utilizes The academic history block chain for the person of being queried that inquiry unit is obtained in academic block chain management system is gone through, by using block chain skill Art and intelligent contract technology are to solve the problems, such as academic information inquiry inefficiency.And the academic history block for passing through the person of being queried Chain is matched with the academic history block chain of educational institution, enhances the academic anti-tamper energy of history block chain for the person of being queried Power.
Brief description of the drawings
Fig. 1 is the flow chart of the present invention;
Fig. 2 is the overall structure block diagram of the present invention;
Fig. 3 is the structure diagram of the intelligent contract module of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained without creative efforts Example is applied, belongs to the scope of protection of the invention.
With reference to shown in Fig. 1, a kind of academic querying method based on block chain of the invention is used for server-side, its work step It is as follows:
Step S1:Academic inquiry unit 1 receives academic inquiry request information;
Step S2:Academic inquiry unit 1 verifies the validity of academic inquiry request information;
Step S3:Academic inquiry unit 1 obtains the academic history block chain and/or the academic inquiry response of generation for the person of being queried Information;
Step S4:Academic inquiry unit 1 sends academic inquiry response information to inquiry.
Further, the step S1 particular contents are:Receiving module 11 in the educational background inquiry unit 1 receives user The academic inquiry request information that end 2 is sent.
The user terminal 2 is terminal, end application or the front end query interface that academic block chain management system provides, The inquiry that academic inquiry request information is sent using user terminal 2 is an entity, it can be a natural person or an enterprise The organizations such as industry, public institution.The educational background block chain management system refers to utilize block chain technical management educational background interests phase The system of the academic relevant information of pass person.The educational background inquiry request information includes at least inquiry's identification information, inquiry Person's credential information, query type, the person's of being queried information.
Inquiry's identification information is to refer to uniquely represent inquiry's body in academic block chain management system The information of part.When the inquiry is a natural person, inquiry's identification information can be ID card No. or Academic block chain management system is the unique identity code of academic stakeholder's distribution;The inquiry is a tissue machine During structure, inquiry's identification information can be the energy such as enterprise institution's code or enterprise's industrial and commercial registration number or enterprise's duty paragraph The information of enough unique mark inquiry's identity.People that the educational background stakeholder refers to participate in the learning experiences of academic user or Organization, such as student, teacher, school etc..
Inquiry's credential information refers to that the voucher for the academic inquiry request that inquiry provides proves information, for verifying Whether inquiry has the authority of academic inquiry request.The voucher proof information can be inquiry in advance from academic block chain The verification code information and/or the qualification information of inquiry that management system obtains.
The query type includes the first query type and the second inquiry, and first query type is queried for inquiry The authenticity for the academic information that person provides, second query type, which is used to be obtained according to the person's of being queried identification information, to be looked into The academic information of inquiry person.The query type that the educational background inquiry request information is included is the first query type or the second inquiry class Type.
The person's of being queried information includes the identification information for the person of being queried and/or academic information to be verified.It is described The identification information for the person of being queried is that the information of the person's of being queried identity can be uniquely represented in academic block chain management system. When the person of being queried is a natural person, then the identification information of the person of being queried can be ID card No. or Go through the unique identity code that block chain management system is academic stakeholder's distribution;When the person of being queried is an organization When, then the identification information of the person of being queried can be enterprise institution's code or enterprise's industrial and commercial registration number or taxes on enterprise Number etc. be capable of the information of unique mark inquiry's identity.The academic information to be verified includes the one or more of authenticatee Academic information, the educational background information can be the person's of being queried name, educational institution's identity, academic grade, academic certificate volume Number and date of graduation etc..In query type in the embodiment of the first query type, the person's of being queried information mainly includes quilt The identification information of inquiry and academic information to be verified;And in the embodiment that query type is the second query type, The person's of being queried information mainly includes the identification information for the person of being queried.
Further, the particular content of the step S2 is:Authentication module 12 in the educational background inquiry unit 1 is used to test The validity of the academic inquiry request information of card.When academic inquiry request information include inquiry's identification information, inquiry with When demonstrate,proving information, query type, the person's of being queried information, the first authentication unit of the authentication module 12 believes inquiry's identity Breath is identified, and can be identified by it, and it is effective to think inquiry's identification information;Or inquiry's identity letter Breath meets the predefined rule of the first authentication unit, then it is assumed that inquiry's identification information is effective;Or inquiry's body Part identification information is present in the pre-configured identity storehouse of the first authentication unit, then it is assumed that inquiry's identification information is that have Effect.
Have in the pre-configured voucher storehouse of second authentication unit of the authentication module 12 consistent with inquiry's credential information Information, then it is assumed that inquiry's credential information is effective;Or the credential information of inquiry meets authentication module 12 and predefines Rule, then the credential information for thinking inquiry is also effective;Such as the credential information of inquiry be inquiry in advance from The verification code information that academic block chain management system obtains, if the verification code information of inquiry's offer and academic block chain management The verification code information matching of system storage, then the credential information for thinking inquiry is effective.
The inquiry class that the academic inquiry request that 3rd authentication unit revene lookup person of the authentication module 12 provides includes The corresponding search access right of type search access right corresponding with the credential information that academic inquiry request includes is matched, successful match that Think that inquiry has the search access right corresponding to query type.The search access right is by the authority in academic inquiry unit 1 Configuration module 15 configures, and the search access right includes the first search access right and the second search access right, first search access right Queried access for the first query type controls, and second search access right is used for the queried access control of the second query type System, second search access right are stringenter than the credential information required by the first search access right.
When query type is the second query type, and the query type pair that the academic inquiry request of inquiry's offer includes The search access right answered search access right corresponding with the credential information that academic inquiry request includes mismatches, and the person of being queried passes through The pre-configured search access right of provisioning module 16 in academic inquiry unit 1, by the second acquisition module 17 to authentication module 12 Asynchronously pre-configured search access right obtains the authorization message for the person of being queried, if the authorization message for the person of being queried is contained to this The mandate of secondary educational background inquiry request, then be also considered as inquiry with the search access right corresponding to query type.
Further, the particular content of the step S3 is:Intelligent contract module 13 in the educational background inquiry unit 1 obtains Take the academic history block chain for the person of being queried and generate academic inquiry response information.The educational background history block chain refers to utilize area A kind of data structure of the academic relevant information of block chain technical management educational background stakeholder, each educational background stakeholder exist All there are corresponding academic history block chain in academic block chain management system.
A kind of embodiment of the present invention is, when the academic inquiry request information verified in step S2 is effective, and educational background The query type that inquiry request is included is the second class query type.So step S3 comprises the following steps:
Step S31a:First acquisition unit 131 in the intelligence contract module 13 obtains quilt in academic block chain network The academic history block chain of the corresponding person of being queried of inquiry's identification information;The first acquisition unit 131 is according to inquiry Person searches in academic block chain network in the identification information of the person of being queried included in academic inquiry request and is queried The correspondence of the academic history block chain of person, the identification information for the person of being queried and the academic history block chain for the person of being queried It is stored in academic block chain management system, and the identification information for the person of being queried is contained in the academic history for the person of being queried The academic block of block chain, the educational background for being also contained in the academic block chain of other stakeholder are signed and issued in affairs.
Step S32a:The academic history of the first extraction unit 132 extraction person of being queried in the intelligence contract module 13 Newest effectively academic block in block chain, and extract educational institution's identity that newest effectively academic block includes.
Step S33a:The intelligent education machine that first acquisition unit 131 in the intelligence contract module 13 is obtained by step S32 Structure identity, obtains the academic history block chain of educational institution corresponding with educational institution identity in block chain network.
Step S34a:The educational background of the first search unit 133 search educational institution in the intelligence contract module 13 The academic area that whether history block chain includes and the newest effectively academic block of the academic history block chain for the person of being queried matches Block.Search may travel through each academic block of the academic history block chain of educational institution and each academic block included Each educational background signs and issues affairs.Verify that two corresponding academic blocks are included by the comparing unit in the first search unit 133 User identifier whether match;Whether the user name that the corresponding academic block of verification two is included matches;Verification two is right Whether educational institution's identity that the academic block answered is included matches;The corresponding academic block of verification two is included Go through whether grade matches;Whether the academic certificate numbering that the corresponding academic block of verification two is included matches;Verification two is right Whether the date of graduation that the academic block answered is included matches.The academic history block chain of the educational institution can be stored with burst And index is established, to improve traversal efficiency.
Since the newest effectively academic block that the academic history block chain for the person of being queried is included is the educational background for the person of being queried Last block of history block chain, the academic history block chain people's renewal frequency for the person of being queried is than relatively low.According to block chain Essence, the tamper-resistance of last block is poor, it is also possible to is forged.And the academic history block chain of educational institution is more New frequency is high, for example, there is thousands of graduate in educational institution every year, the academic history block chain of educational institution has every year Substantial amounts of renewal.By checking the academic history block chain for the person of being queried and the academic history block chain respective block of educational institution Or educational background signs and issues the correspondence of affairs, the newest effectively academic area that the academic history block chain for the person of being queried is included is added The confidence level of block.
Step S35a:Transmission of the response generation unit 134 into academic inquiry unit 1 in the intelligence contract module 13 Module 14 sends the corresponding academic inquiry response information of academic inquiry request.
If the academic history block chain of the educational institution includes the newest of the academic history block chain for the person of being queried The block or educational background that effectively educational background block matches sign and issue affairs, and the educational background inquiry response information includes:The one of the person of being queried A or multiple academic information, and the signature to academic inquiry response information.The educational background information specifically includes the person's of being queried name Word, educational institution's identity, academic grade, academic certificate numbering, date of graduation.If academic inquiry request, which includes, obtains quilt The highest educational background information of inquiry, then, academic inquiry response packet contains the academic history block chain for the person of being queried most The academic information that new effectively academic block is included.If academic inquiry request includes all educational background letters for obtaining the person of being queried Breath, then, all academic information that academic inquiry response information includes the person of being queried are the academic history block chain for the person of being queried. The signature of academic inquiry response information can be signed academic inquiry response information using public key algorithm (RSA, ECC) Name.
If the academic history block chain of the educational institution does not include the newest of the academic history block chain for the person of being queried The block or educational background that effectively educational background block matches sign and issue affairs, then the educational background inquiry response information includes:The educational background Inquiry request information, the person's of being queried mark, miscue code, and the signature to academic inquiry response information.Miscue code It can be expressed as:The person of being queried is not present, search access right not enough, the keying of unknown error etc..
Another embodiment of the present invention is, when the academic inquiry request information verified in step S2 is effective, and learns It is first kind query type to go through the query type that inquiry request is included.So step S3 comprises the following steps:
Step S31b:First acquisition unit 131 in the intelligence contract module 13 obtains quilt in academic block chain network The academic history block chain of the corresponding person of being queried of inquiry's identification information;The first acquisition unit 131 is according to inquiry Person searches for the person of being queried in the identification information for the person of being queried that academic inquiry request is included in academic block chain network Academic history block chain.The correspondence of the identification information for the person of being queried and the academic history block chain for the person of being queried is deposited Storage is in academic block chain management system, and the identification information for the person of being queried is contained in the academic history area for the person of being queried The academic block of block chain, the educational background for being also contained in the academic block chain of other stakeholder are signed and issued in affairs.
Step S32b:The academic history of the first search unit 133 search person of being queried in the intelligence contract module 13 Whether block chain includes the academic block with the academic information match that the person's of being queried information is included in academic inquiry request. First search unit 133 searches for each academic block and its for the academic history block chain that may travel through the person of being queried Go through and sign and issue affairs.The academic information in the academic inquiry request of comparing unit verification in first search unit 133 whether with Whether the user identifier that its matched academic block is included matches;Academic information in the academic inquiry request of verification whether with its Whether the user name that matched educational background block is included matches;Academic information in the academic inquiry request of verification whether with its Whether educational institution's identity that the academic block matched somebody with somebody is included matches;Whether the academic information in the academic inquiry request of verification Whether the academic grade that matched academic block is included matches;Academic information in the academic inquiry request of verification whether with Whether the academic certificate numbering that its matched academic block is included matches;Whether the academic information in the academic inquiry request of verification Whether the date of graduation that matched academic block is included matches.If comparing unit verifies that all check items all match, It is considered that described being looked into of being included of the academic block that includes of the academic history block chain for the person of being queried and academic inquiry request The academic information that inquiry person's information is included is the academic block to match.If the academic history block chain for the person of being queried is not The block of the academic information match included comprising the person's of being queried information described in being included with academic inquiry request, that It is the academic information forged to think academic information to be verified.
Step S33b:Transmission of the response generation unit 134 into academic inquiry unit 1 in the intelligence contract module 13 Module 14 sends the corresponding academic inquiry response information of academic inquiry request.
The educational background inquiry response information includes at least the person's of being queried name, educational institution's identity, described to be verified Academic information, the sign that the academic information to be verified is true or false, and the signature to academic inquiry response information.Institute State the form for being denoted as the binary factor that academic information to be verified is true or false, such as " 1 " and " 0 ", "true" and "false", " effective " With engineering noise etc..
The present invention another embodiment be, when the academic inquiry request information verified in step S2 be it is invalid, it is described Step S3 particular contents are:Transmission of the response generation unit 134 into academic inquiry unit 1 in the intelligence contract module 13 Module 14 sends the corresponding academic inquiry response information of academic inquiry request.
The educational background inquiry response information includes at least:The educational background inquiry request information, the person's of being queried mark, mistake carry Show code, and the signature to academic inquiry response information.Miscue code can be expressed as:The person of being queried is not present, the power of inquiring about Limit the keying of inadequate, unknown error etc..
The signature to academic inquiry response information is the authoritative means of the academic inquiry response information of protection.Signature Algorithm includes signature algorithm SM9 and the ECC signature algorithm of RSA signature algorithm, IBS based on mark etc..
Further, the particular content of the step S4 is:Sending module 14 in the educational background inquiry unit 1 is to user End 2 sends academic inquiry response information.
The sending module 14 can send academic inquiry response by sending method either synchronously or asynchronously to user terminal 2 to be believed Breath, the callback interface that described sender formula is provided including mail, passive web page interrogation, inquiry etc..
With reference to shown in Fig. 2, a kind of academic inquiry unit based on block chain provided by the invention includes academic inquiry unit 1, the educational background inquiry unit 1 is interacted with user terminal 2.The user terminal 2 is provided by academic block chain management system Terminal or end application or front end query interface send academic inquiry request information, the educational background to academic inquiry unit 1 Academic inquiry response information is sent to user terminal 2, described sender formula by inquiry unit 1 by sending method either synchronously or asynchronously Specifically include mail, any one mode therein such as callback interface that passive web page interrogation, user provide.
The educational background inquiry unit 1 specifically includes the receiving module 11 being connected with 2 output terminal of user terminal, the receiving module 11 output terminals are connected with the input terminal of authentication module 12, the output terminal of the authentication module 12 and the input of intelligent contract module 13 End connection, the output terminal of the intelligence contract module 13 are connected with 14 input terminal of sending module, the output of the sending module 14 End is connected with the input terminal of user terminal 2, and the authentication module 12 is also connected with 15 and second acquisition module 17 of permission configuration module, Second acquisition module, 17 input terminal is connected with 16 output terminal of provisioning module.
The receiving module 11 is used for the academic inquiry request information for receiving the transmission of user terminal 2, and the authentication module 12 is used In the validity of the academic inquiry request information of verification, the intelligence contract module 13 is used for the academic history area for obtaining the person of being queried Block chain simultaneously generates academic inquiry response information, and the sending module 14 is used to send academic inquiry response information to user terminal 2, institute The search access right that permission configuration module 15 is used to configure academic information is stated, the provisioning module 16 is used for pre-configured user terminal 2 Academic search access right, second acquisition module 17 sends the pre-configured academic search access right of user terminal 2 to authentication module 12 Information.
Further, the authentication module 12 includes the first authentication unit, the second authentication unit, the 3rd authentication unit, institute Whether the identification information for stating the first authentication unit for revene lookup person is effective, and second authentication unit is used for revene lookup person Whether credential information is effective, and the 3rd authentication unit is used for whether revene lookup person to there is the inquiry corresponding to query type to weigh Limit.
Further, with reference to shown in Fig. 3, when query type is the second query type, the intelligence contract module 13 is wrapped Include the first acquisition unit 131 being sequentially connected, the first extraction unit 132, the first search unit 133, response generation unit 134. The first acquisition unit 131 is used for obtain the corresponding person of being queried of the person's of being queried identification information in block chain network Clearly history block chain, the educational background for being additionally operable to obtain the corresponding educational institution of educational institution's identity described in block chain network are gone through History block chain;First extraction unit 132 is used for newest effectively academic area in the academic history block chain of the extraction person of being queried Educational institution's identity of block;First search unit 133 be used for search for educational institution academic history block chain whether Comprising and the person of being queried academic history block chain the block that matches of newest effectively academic block, the response generation unit 134 are used for the corresponding academic inquiry response information of academic inquiry request.
First search unit 133 further includes comparing unit, and the comparing unit is used to verify two corresponding educational backgrounds Whether the user identifier that block is included matches;Whether the user name that the corresponding academic block of verification two is included matches; Whether educational institution's identity that the corresponding academic block of verification two is included matches;The corresponding academic block of verification two Comprising academic grade whether match;Whether the academic certificate numbering that the corresponding academic block of verification two is included matches; Whether the date of graduation that the corresponding academic block of verification two is included matches.
When query type is the first query type, the first acquisition that the intelligence contract module 13 includes being sequentially connected is single First 131, first search unit 133, response generation unit 134.The first acquisition unit 131 is used to obtain in block chain network The academic history block chain of the corresponding person of being queried of the person's of being queried identification information;First search unit 133 is used to search The academic information phase that whether the academic history block chain of the rope person of being queried includes and the person's of being queried information is included The block matched somebody with somebody;The response generation unit 134 is used to send the corresponding educational background inquiry sound of academic inquiry request to sending module 14 Answer information.
If query type is included and looked into for the academic history block chain of the second query type and the educational institution The block or educational background that the newest effectively academic block of the academic history block chain of inquiry person matches sign and issue affairs, the educational background inquiry Response message includes:The academic information of one or more for the person of being queried, and the signature to academic inquiry response information. Going through information includes the person's of being queried name, educational institution's identity, academic grade, academic certificate numbering, date of graduation.Work as educational background When inquiry request includes the highest educational background information for obtaining the person of being queried, then academic inquiry response information includes the person of being queried The academic information that clearly the newest effectively academic block of history block chain is included.When academic inquiry request includes the acquisition person of being queried All academic information when, then all academic information that academic inquiry response information includes the person of being queried are the person of being queried Clearly history block chain.
The educational background inquiry response information includes at least the person's of being queried name, educational institution's identity, described to be verified Academic information, the academic information to be verified be the sign of true or false, the signature to academic inquiry response information.It is described to treat The academic information of verification be true or false the form for being denoted as the binary factor, such as " 1 " and " 0 ", "true" and "false", " effective " and Engineering noise etc..
If the academic inquiry request of verification is invalid, then the educational background inquiry response information includes at least: Go through inquiry request information, the person's of being queried mark, miscue code, and the signature to academic inquiry response information.Miscue The representation person of being queried is not present, search access right not enough, the keying of unknown error etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention god.

Claims (10)

  1. A kind of 1. academic querying method based on block chain, it is characterised in that:Comprise the following steps:
    Step 1:Academic inquiry unit (1) receives the academic inquiry request information that user terminal (2) is sent;
    Step 2:The validity of the academic inquiry request information of educational background inquiry unit (1) verification;
    Step 3:The educational background inquiry unit (1) obtains the academic history block chain for the person of being queried and/or generation educational background inquiry is rung Answer information;
    Step 4:The educational background inquiry unit (1) sends academic inquiry response information to inquiry to user terminal (2).
  2. A kind of 2. academic querying method based on block chain according to claim 1, it is characterised in that:The educational background inquiry Solicited message includes inquiry's identification information, inquiry's credential information, query type and the person's of being queried information.
  3. A kind of 3. academic querying method based on block chain according to claim 2, it is characterised in that:The inquiry with Card information refers to the qualification information of the verification code information and/or inquiry obtained from academic block chain management system;The inquiry Type includes being used to inquire about the first query type of the authenticity of the academic information provided, further includes for obtaining the person's of being queried Second query type of academic information;The identification information of the person's of being queried information including the person of being queried and/or to be verified Academic information.
  4. A kind of 4. academic querying method based on block chain according to claim 1, it is characterised in that:The step 2 tool Body includes:The identification information of inquiry in the academic inquiry request information of educational background inquiry unit (1) verification and inquiry Whether person's credential information is effective, and whether revene lookup type has corresponding search access right.
  5. A kind of 5. academic querying method based on block chain according to claim 1, it is characterised in that:The step 3 tool Body includes:
    Step 1:If academic inquiry request information effectively if enter step 2, be directly entered if academic inquiry request information is invalid Step 5;
    Step 2:If the query type that academic inquiry request is included is first kind query type, 3 are entered step;If educational background is looked into It is the second class query type to ask and ask included query type, then enters step 4;
    Step 3:The corresponding academic history block chain of the person's of being queried identification information is first obtained in academic block chain network, so Search and the person's of being queried information is included in academic inquiry request academic information match in academic history block chain afterwards Academic block;
    Step 4:The corresponding academic history block chain of the person's of being queried identification information is first obtained in academic block chain network, so Corresponding academic block is extracted in academic history block chain afterwards and extracts the educational institution's identity mark included in academic block Know, the academic history block chain of corresponding educational institution is obtained further according to educational institution's identity, finally searches again for teaching Whether the academic history block chain for educating mechanism includes the academic block to match;
    Step 5:The academic inquiry response information of educational background inquiry unit (1) generation.
  6. A kind of 6. academic querying method based on block chain according to claim 5, it is characterised in that:The educational background response Information includes academic inquiry request information, the person's of being queried mark, miscue code and the signature to academic inquiry response information.
  7. A kind of 7. academic querying method based on block chain according to claim 5, it is characterised in that:The educational background response Information includes the person's of being queried name, educational institution's identity, the academic information to be verified, the educational background letter to be verified Cease the sign for true or false and the signature to academic inquiry response information.
  8. A kind of 8. academic querying method based on block chain according to claim 5, it is characterised in that:The educational background response Information includes the academic information of one or more for the person of being queried, and the signature to academic inquiry response information;The educational background letter Breath specifically includes the person's of being queried name, educational institution's identity, academic grade, academic certificate numbering and date of graduation.
  9. 9. a kind of academic inquiry unit based on block chain, including the academic inquiry unit (1) interacted with user terminal (2), It is characterized in that:The educational background inquiry unit (1) includes the receiving module (11) being connected with user terminal (2) output terminal, described to connect Receive module (11) output terminal to be connected with the input terminal of authentication module (12), the output terminal of the authentication module (12) and intelligent contract The input terminal connection of module (13), the output terminal of the intelligence contract module (13) are connected with sending module (14) input terminal, institute The output terminal for stating sending module (14) is connected with the input terminal of user terminal (2).
  10. A kind of 10. academic inquiry unit based on block chain according to claim 8, it is characterised in that:The verification mould Block (12) is also connected with permission configuration module (15) and the second acquisition module (17), the second acquisition module (17) input terminal with Provisioning module (16) output terminal connects.
CN201711260827.6A 2017-12-04 2017-12-04 Learning calendar query method and device based on block chain Active CN107943996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711260827.6A CN107943996B (en) 2017-12-04 2017-12-04 Learning calendar query method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711260827.6A CN107943996B (en) 2017-12-04 2017-12-04 Learning calendar query method and device based on block chain

Publications (2)

Publication Number Publication Date
CN107943996A true CN107943996A (en) 2018-04-20
CN107943996B CN107943996B (en) 2020-06-30

Family

ID=61947453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711260827.6A Active CN107943996B (en) 2017-12-04 2017-12-04 Learning calendar query method and device based on block chain

Country Status (1)

Country Link
CN (1) CN107943996B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108665946A (en) * 2018-05-08 2018-10-16 阿里巴巴集团控股有限公司 A kind of access method and device of business datum
CN108959457A (en) * 2018-06-15 2018-12-07 北京文创园投资管理有限公司 A kind of inquiry of certificate, verification method and system
CN109034571A (en) * 2018-07-12 2018-12-18 天津中教优效教育科技有限公司 Educational assessment method, platform, storage medium and system based on block chain
CN109063138A (en) * 2018-08-03 2018-12-21 上海点融信息科技有限责任公司 For in block chain, that is, service platform search data method, equipment and storage medium
CN109242481A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Information approach, device and computer equipment are pledged based on block chain query
CN109299058A (en) * 2018-11-06 2019-02-01 北京新唐思创教育科技有限公司 Academic storage method, academic querying method and computer storage medium
CN109299347A (en) * 2018-11-16 2019-02-01 大唐高鸿信息通信研究院(义乌)有限公司 A kind of academic information query method and system based on 5G framework and block chain
CN109432784A (en) * 2018-11-07 2019-03-08 四川长虹电器股份有限公司 A kind of account transaction processing method and device based on block chain
CN109493093A (en) * 2018-09-26 2019-03-19 百度在线网络技术(北京)有限公司 User behavior information processing method and device based on block chain
CN109508521A (en) * 2018-11-12 2019-03-22 四川长虹电器股份有限公司 A kind of electric appliances service personnel's verification mechanism based on block chain
CN110019490A (en) * 2019-04-01 2019-07-16 北京柏链基石科技有限公司 Information query method, device and its equipment based on block chain
CN110533393A (en) * 2019-08-30 2019-12-03 腾讯科技(深圳)有限公司 Educational information storage method, equipment and medium
CN110634068A (en) * 2018-06-21 2019-12-31 北京果仁宝软件技术有限责任公司 Community-chain-based credit investigation data processing method and system
WO2020042801A1 (en) * 2018-08-31 2020-03-05 阿里巴巴集团控股有限公司 Insurance policy information processing method, device and block chain data storage system
WO2020124288A1 (en) * 2018-12-16 2020-06-25 吉安市井冈山开发区金庐陵经济发展有限公司 Information classification processing method
CN111858627A (en) * 2020-06-24 2020-10-30 南京信息职业技术学院 Academic degree and academic calendar query system and method based on block chain
US11861031B2 (en) 2020-06-15 2024-01-02 Allstate Solutions Private Limited Distributed ledger interface system for background verification of an individual

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107077682A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Method and device for inquiring state information of electronic ticket and block link point
CN107257341A (en) * 2017-06-21 2017-10-17 济南浪潮高新科技投资发展有限公司 A kind of student status based on block chain reviews authentication method
CN107392813A (en) * 2017-09-12 2017-11-24 杭州趣链科技有限公司 A kind of student status information sharing system based on block chain
US20170344988A1 (en) * 2016-05-24 2017-11-30 Ubs Ag System and method for facilitating blockchain-based validation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170344988A1 (en) * 2016-05-24 2017-11-30 Ubs Ag System and method for facilitating blockchain-based validation
CN107077682A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Method and device for inquiring state information of electronic ticket and block link point
CN107257341A (en) * 2017-06-21 2017-10-17 济南浪潮高新科技投资发展有限公司 A kind of student status based on block chain reviews authentication method
CN107392813A (en) * 2017-09-12 2017-11-24 杭州趣链科技有限公司 A kind of student status information sharing system based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
方兴书: "基于区块链的可信学位查询系统的关键技术实现", 《HTTP://WWW.DOC88.COM/P-3317476212215.HTML》 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108665946A (en) * 2018-05-08 2018-10-16 阿里巴巴集团控股有限公司 A kind of access method and device of business datum
CN108959457A (en) * 2018-06-15 2018-12-07 北京文创园投资管理有限公司 A kind of inquiry of certificate, verification method and system
CN108959457B (en) * 2018-06-15 2020-11-13 北京文创园投资管理有限公司 Method and system for inquiring and verifying certificate
CN110634068A (en) * 2018-06-21 2019-12-31 北京果仁宝软件技术有限责任公司 Community-chain-based credit investigation data processing method and system
CN109242481A (en) * 2018-06-28 2019-01-18 平安科技(深圳)有限公司 Information approach, device and computer equipment are pledged based on block chain query
WO2020000770A1 (en) * 2018-06-28 2020-01-02 平安科技(深圳)有限公司 Block chain-based method and apparatus for querying pledge information, and computer device
CN109034571A (en) * 2018-07-12 2018-12-18 天津中教优效教育科技有限公司 Educational assessment method, platform, storage medium and system based on block chain
CN109063138A (en) * 2018-08-03 2018-12-21 上海点融信息科技有限责任公司 For in block chain, that is, service platform search data method, equipment and storage medium
CN109063138B (en) * 2018-08-03 2021-07-30 上海点融信息科技有限责任公司 Method, apparatus, and storage medium for searching data in a blockchain as a service platform
WO2020042801A1 (en) * 2018-08-31 2020-03-05 阿里巴巴集团控股有限公司 Insurance policy information processing method, device and block chain data storage system
CN109493093A (en) * 2018-09-26 2019-03-19 百度在线网络技术(北京)有限公司 User behavior information processing method and device based on block chain
CN110956470A (en) * 2018-09-26 2020-04-03 百度在线网络技术(北京)有限公司 Block chain-based personal experience information processing method and device
CN109299058A (en) * 2018-11-06 2019-02-01 北京新唐思创教育科技有限公司 Academic storage method, academic querying method and computer storage medium
CN109299058B (en) * 2018-11-06 2021-04-09 北京新唐思创教育科技有限公司 Academic calendar storage method, academic calendar query method and computer storage medium
CN109432784A (en) * 2018-11-07 2019-03-08 四川长虹电器股份有限公司 A kind of account transaction processing method and device based on block chain
CN109508521A (en) * 2018-11-12 2019-03-22 四川长虹电器股份有限公司 A kind of electric appliances service personnel's verification mechanism based on block chain
CN109299347A (en) * 2018-11-16 2019-02-01 大唐高鸿信息通信研究院(义乌)有限公司 A kind of academic information query method and system based on 5G framework and block chain
WO2020124288A1 (en) * 2018-12-16 2020-06-25 吉安市井冈山开发区金庐陵经济发展有限公司 Information classification processing method
CN110019490A (en) * 2019-04-01 2019-07-16 北京柏链基石科技有限公司 Information query method, device and its equipment based on block chain
CN110533393A (en) * 2019-08-30 2019-12-03 腾讯科技(深圳)有限公司 Educational information storage method, equipment and medium
US11861031B2 (en) 2020-06-15 2024-01-02 Allstate Solutions Private Limited Distributed ledger interface system for background verification of an individual
CN111858627A (en) * 2020-06-24 2020-10-30 南京信息职业技术学院 Academic degree and academic calendar query system and method based on block chain
CN111858627B (en) * 2020-06-24 2024-05-31 南京信息职业技术学院 System and method for inquiring academic calendar based on blockchain

Also Published As

Publication number Publication date
CN107943996B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN107943996A (en) A kind of academic querying method and device based on block chain
CN107294721B (en) The method and apparatus of identity registration, certification based on biological characteristic
CN109257342A (en) Authentication method, system, server and readable storage medium storing program for executing of the block chain across chain
CN104767613B (en) Signature verification method, apparatus and system
KR102180658B1 (en) Secure collection of sensitive data
CN105164689B (en) Customer certification system and method
US20190342073A1 (en) Digital education record management method based on blockchain token technology
CN106790034B (en) A kind of method of internet of things equipment certification and secure accessing
Azrour et al. New Efficient and Secured Authentication Protocol for Remote Healthcare Systems in Cloud‐IoT
CN111738893B (en) Identity authentication method, device, equipment and medium based on blockchain
CN108055253A (en) Software login verification method, device and system
CN107481140A (en) Voucher identification code processing method and system, server and storage medium
CN107423632A (en) Customizable sensitive data desensitization method and system
CN108985100A (en) Element Security Proof method, apparatus, equipment and medium based on block chain
CN110535971A (en) Interface configuration processing method, device, equipment and storage medium based on block chain
KR101202295B1 (en) Method of paying with unique key value and apparatus thereof
CN102088353A (en) Two-factor authentication method and system based on mobile terminal
CN108496380A (en) server, mobile terminal and program
Gambs et al. Prover anonymous and deniable distance-bounding authentication
CN106060097B (en) A kind of management system and management method of information security contest
CN103051643B (en) Fictitious host computer secure connection dynamic establishing method and system under cloud computing environment
CN112035813B (en) Method and computer readable medium for generating distributed identities based on fingerprint identification layering in blockchain
CN108650223A (en) A kind of point-to-point authentic authentication method of the network equipment and system
CN108769013A (en) Identity registration method and device based on Ether house
CN107635028A (en) A kind of naming method of resource, device, block scm cluster and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant