CN110245843B - Information management method and related device based on blockchain - Google Patents

Information management method and related device based on blockchain Download PDF

Info

Publication number
CN110245843B
CN110245843B CN201910442310.1A CN201910442310A CN110245843B CN 110245843 B CN110245843 B CN 110245843B CN 201910442310 A CN201910442310 A CN 201910442310A CN 110245843 B CN110245843 B CN 110245843B
Authority
CN
China
Prior art keywords
information
entrance
blockchain
blockchain node
user
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.)
Active
Application number
CN201910442310.1A
Other languages
Chinese (zh)
Other versions
CN110245843A (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.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201910442310.1A priority Critical patent/CN110245843B/en
Publication of CN110245843A publication Critical patent/CN110245843A/en
Application granted granted Critical
Publication of CN110245843B publication Critical patent/CN110245843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance
    • G06Q50/2053Education institution selection, admissions, or financial aid

Abstract

The application provides a block chain-based information management method and a related device. A method of blockchain-based information management comprising: the block chain node receives an information auditing request, wherein the information auditing request carries entrance information of a user and target school information; the blockchain node searches for an intelligent contract matched with the target school information, wherein the intelligent contract comprises an integral rule and an entrance condition of the target school; the blockchain node audits the entrance information through the entrance condition; if the audit is passed, the blockchain node calculates the entrance score of the user according to the score rule and the entrance information; the blockchain node updates entrance queuing information of the target school according to the entrance score; the blockchain node synchronizes the updated entrance queuing information to other blockchain nodes through a blockchain consensus mechanism. The technical scheme of the embodiment of the application improves the safety of information management.

Description

Information management method and related device based on blockchain
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a blockchain-based information management method and related devices.
Background
With more and more foreign mobile personnel in cities, however, the degree names of public schools are limited, so that the degree names are acquired by adopting a policy of integrating entrance, wherein the integrating entrance is that children of the foreign mobile personnel are arranged to enter the public schools in an integrating ranking mode, and thus the purpose of further promoting public service equalization is achieved.
At present, the method for calculating the score rank is that a manager receives the entrance application information submitted by the applicant and then manually controls to audit the entrance application information so as to judge whether the applicant obtains the score of the application school or not, but in the process, the entrance application information is audited by the manager to be manually influenced, so that the phenomenon of unfairness of score entrance is possibly caused by manually changing the information, and the safety of information management is lower.
Disclosure of Invention
The embodiment of the application provides a method and a related device for information management based on a blockchain, so as to improve the safety of information management.
The first aspect of the present application provides a method for blockchain-based information management, comprising:
The block chain node receives an information auditing request, wherein the information auditing request carries entrance information of a user and target school information;
the blockchain node searches for an intelligent contract matched with the target school information, wherein the intelligent contract comprises an integral rule and an entrance condition of the target school;
the blockchain node audits the entrance information through the entrance condition;
if the audit is passed, the blockchain node calculates the entrance score of the user according to the score rule and the entrance information;
the blockchain node updates entrance queuing information of the target school according to the entrance score;
the blockchain node synchronizes the updated entrance queuing information to other blockchain nodes through a blockchain consensus mechanism.
In a first possible implementation manner, according to the first aspect of the present application, before the blockchain node receives the information auditing request, the method includes:
and the blockchain node receives an authority setting instruction sent by the management platform, wherein the authority setting instruction is used for indicating the blockchain node to set the authority of the audit information.
In a second possible implementation manner, according to the first possible implementation manner of the first aspect of the present application, the smart contract is issued by the management platform, and the blockchain node searches for a smart contract matching the target school information includes:
The blockchain node acquires a contract address associated with the target school information from the management platform;
and the blockchain node searches the intelligent contract according to the contract address.
In a third possible implementation manner, according to any one of the foregoing possible implementation manners of the first aspect of the present application, if the audit is not passed, the blockchain node sends an audit failure message to the user, where the audit failure message is used to prompt the user to supplement the entrance information or resubmit the entrance information within a preset time.
In a fourth possible implementation manner of the first aspect of the present application, after updating the entrance queuing information of the target school according to the entrance score, the block link point includes:
searching the updated entrance queuing information for users which do not accord with the entrance condition by the blockchain node;
the blockchain node sends a queuing failure message to the user who does not meet the entrance condition.
In a fifth possible implementation form of the fourth possible implementation form of the first aspect of the application, the blockchain node receives a queuing information query request, wherein the queuing information query request carries identity information;
The blockchain node searches queuing information matched with the identity information in the updated entrance queuing information;
and the blockchain node sends the queuing information to the user corresponding to the identity information.
A second aspect of the present application provides an apparatus for blockchain-based information management, comprising:
the first receiving unit is used for receiving an information auditing request, wherein the information auditing request carries entrance information and target school information of a user;
the first searching unit is used for searching an intelligent contract matched with the target school information, wherein the intelligent contract comprises an integral rule and an entrance condition of the target school;
the auditing unit is used for auditing the entrance information through the entrance condition;
the calculation unit is used for calculating the entrance score of the user according to the score rule and the entrance information if the audit is passed;
an updating unit, configured to update entrance queuing information of the target school according to the entrance score;
and the synchronizing unit is used for synchronizing the updated entrance queuing information to other blockchain nodes through a blockchain consensus mechanism.
According to the method and the related device for managing the information based on the blockchain, when the blockchain link point receives the entrance information and the target school information of the applicant, the intelligent contract matched with the target school information is searched, then the entrance information of the applicant is automatically checked and calculated through the intelligent contract, the data cannot be manually and randomly changed in the integral calculation process, the privacy of the data is ensured, then the blockchain link point updates the entrance queuing information of the target school according to the entrance integral of the applicant, and synchronizes the updated entrance queuing information to other blockchain nodes of the blockchain, so that the entrance queuing information is disclosed at any blockchain node of the blockchain, the queuing information cannot be randomly changed, and the safety of information management is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the present application will be briefly described below with reference to the drawings that are required to be used in the embodiments.
FIG. 1 is a flow chart of a method for blockchain-based information management in accordance with an embodiment of the present application;
FIG. 2 is a flow chart of another method for blockchain-based information management provided by an embodiment of the present application;
FIG. 3 is a flow chart of another method for blockchain-based information management provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of an apparatus for blockchain-based information management according to an embodiment of the present application;
fig. 5 is a schematic diagram of an electronic device in a hardware operating environment according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a method and a related device for information management based on a blockchain, so as to improve the safety of information management.
In order to enable those skilled in the art to better understand the present application, the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
The following will describe in detail.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims and drawings are used for distinguishing between different objects and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
The embodiment of the application relates to a blockchain, which is a brand new distributed infrastructure and a computing mode for verifying and storing data by utilizing a blockchain data structure, generating and updating the data by utilizing a distributed node consensus algorithm, ensuring the safety of data transmission and access by utilizing a cryptography mode, and programming and operating the data by utilizing an intelligent contract consisting of automatic script codes, and mainly solving the trust and safety problems of transactions, so the blockchain technology provides four technical innovations:
1. the distributed account book is characterized in that transaction accounting is completed by a plurality of nodes distributed in different places, and each node records a complete account, so that the nodes can participate in supervising the validity of the transaction and can also jointly make a certificate for the transaction. Unlike traditional distributed storage, the uniqueness of the distributed storage of blockchains is mainly manifested in two aspects: firstly, each node of the block chain stores complete data according to a block chain structure, and the traditional distributed storage generally divides the data into a plurality of parts for storage according to a certain rule. And secondly, each node of the block chain is independent and equivalent in storage status, storage consistency is guaranteed by means of a consensus mechanism, and the traditional distributed storage is used for synchronizing data to other backup nodes through a central node. No one node can record ledger data alone, avoiding the possibility that a single ledger is controlled or bribed to document a ledger. And because the accounting nodes are enough, accounts are not lost theoretically unless all the nodes are destroyed, so that the safety of the account data is ensured.
2. Asymmetric encryption and authorization techniques, transaction information stored on the blockchain is public, but account identity information is highly encrypted and only accessible with authorization of the data owner, thereby ensuring data security and personal privacy.
3. The block chain provides four different consensus mechanisms, which are suitable for different application scenes and balance between efficiency and safety. Taking bitcoin as an example, using workload evidence, it is only possible to forge an absent record if accounting nodes of over 51% of the total network are controlled. When there are enough nodes to join the blockchain, this is essentially impossible, thus eliminating the possibility of counterfeits.
4. Smart contracts, which are based on these trusted, non-tamperable data, may automatically execute some predefined rules and terms. Taking insurance as an example, if everyone's information (including medical information and risk occurrence information) is said to be authentic, it is easy to make automated claims in some standardized insurance products.
Blockchains are divided into three classes, public, alliance and private, wherein public (Public Block Chains) refers to: any individual or group in the world can send a transaction and the transaction can get a valid confirmation of the blockchain and anyone can participate in its consensus process. Alliance chain (Consortium Block Chains) refers to: designating a plurality of preselected nodes as billboards from within a community, the generation of each block is determined by all preselected nodes together, other access nodes can participate in transactions, but no accounting process is performed, and any other person can conduct a defined query through the blockchain open API. The private chain (Private Block Chains) refers to: accounting is performed by using only the general ledger technique of the blockchain, and the accounting can be a company or a person, and the writing authority of the blockchain is shared independently.
The information management system of the embodiment of the application consists of a management platform and a blockchain, wherein the blockchain is a alliance chain, the current government-controlled system is managed for entrance, the authority of a blockchain node is set by the management platform, and the management platform has the highest authority.
Referring first to fig. 1, fig. 1 is a flowchart of a method for blockchain-based information management according to an embodiment of the present application. As shown in fig. 1, a method for managing information based on a blockchain according to an embodiment of the present application may include:
101. and the blockchain node receives an information auditing request, wherein the information auditing request carries the entrance information of the user and the target school information.
Optionally, the blockchain related to the embodiment of the application is a alliance chain, and the authority of all the blockchain nodes is not consistent, so before receiving the information auditing request, the blockchain node receives an authority setting instruction sent by the management platform, wherein the authority setting instruction is used for indicating the blockchain node to set the authority of auditing information.
The authority setting instruction is specifically used for indicating the blockchain node to set different level authorities of the CA certificate, and the management platform can also change the CA certificate level authority of the blockchain node after the blockchain node sets the level authority of the CA certificate.
Further optionally, in addition to setting the authority of the current blockchain node to audit information, the management platform may also set the authority of the multiple blockchain node to audit information, where the authority of each blockchain node in the multiple blockchain nodes with audit authority is the same and has the authority of audit information, other authorities are the same by default, other nodes in the blockchain without audit authority are not provided with the authority of audit information, but other inquiry authorities are the same by default. Likewise, the management platform may also alter blockchain nodes that have auditing rights.
Further, the blockchain node receives an information auditing request, wherein the information auditing request carries entrance information of a user and target school information, the entrance information comprises information such as household, housing, academic, social security and the like, and the target school information is a school for which the user applies for the entrance.
102. The blockchain node searches for an intelligent contract that matches the target school information, wherein the intelligent contract includes the goal school's scoring rules and entrance conditions.
The method for the blockchain node to search the intelligent contract matched with the target school information can be as follows:
the blockchain node acquires a contract address associated with the target school information from the management platform, and searches for the intelligent contract according to the contract address.
The intelligent contracts are issued by the management platform, each school submits respective integration rules and entrance conditions on the management platform, after the intelligent contracts are issued, the management platform issues the intelligent contracts comprising the integration rules and the entrance conditions of the schools, corresponding contract addresses are returned after the intelligent contracts are issued successfully, the association relationship between the schools and the contract addresses is maintained and updated by the management platform by default.
For example, the rules of integration in the coast city of Shenzhen city include 10 minutes for rooms around the coast city, 10 minutes for Shenzhen house openings, 10 or the like for parents over the university family, and entrance conditions of within three kilometers and 100 before integration. For another example, the integration rule in Shenzhen city test one includes that Shenzhen house is 15 minutes, shenzhen house is 10 minutes, parents have a reserved background of 10 minutes, test university is 15 minutes, and the like, and entrance conditions are that Shenzhen house and 150 times of integration are provided.
103. The blockchain node examines the entrance information through the entrance condition.
After the intelligent contract matched with the target school information is searched by the block chain link point, the entrance information of the user is checked, and specifically, the entrance condition check in the intelligent contract is adopted, wherein the entrance condition has a hard condition, and the check which does not meet the hard condition cannot be passed, for example, the hard meeting condition of the Shenzhen coastal city is that the housing is within a range of three kilometers, if the entrance information submitted by the user is not within the range of three kilometers of the Shenzhen coastal city, the check is not passed, and the block chain node sends a check failure message to the user.
Besides whether the entrance information of the auditing user meets the hard condition, the blockchain node also audits whether the entrance information of the user is comprehensive, if the entrance information is not comprehensive, the blockchain node returns an audit failure message to the user, prompts the user to supplement the entrance information or resubmit the entrance information within a certain time range, and is convenient for the blockchain node to audit again.
104. If the verification passes, the block link points calculate the entrance score of the user according to the score rule and the entrance information.
If the blockchain node passes the audit of the entrance information of the user, the blockchain node calculates the entrance score of the user according to the score rule in the intelligent contract and the entrance information of the user, and the specific process is that corresponding scores are obtained in the score rule according to the information of the household book, housing, academy, social security and the like in the entrance information of the user, and then all the scores are added to obtain the entrance score of the user.
For example, a target school applied by a user is a public school in a southern mountain area in Shenzhen city, in the entrance information of the user, the household is a deep user, and the household is a household in the southern mountain area, the corresponding score of 26 minutes can be obtained in the comparison table 1, the housing is a house purchase, and the parent property accounts for 40%, the corresponding score of 30 minutes can be obtained in the comparison table 1, the birth control situation is a solitary child, the corresponding score of 20 minutes can be obtained in the comparison table 1, the corresponding score of 10 minutes can be obtained in the social security situation, and all the scores are added to 86 minutes, namely, the entrance score of the user is 86 minutes.
Alternatively, the score rules of different schools may be different, so when calculating the incident score of the user, the score rules of the target schools are calculated according to the application.
105. The blockchain node updates entrance queuing information of the target school according to the entrance score.
After the block chain link points are calculated to obtain the entrance score of the user, queuing is carried out according to the entrance score, entrance queuing information of the target school is updated, and the target school allocates the academic ranking according to the entrance queuing information.
Optionally, after updating the entrance queuing information of the target school according to the entrance score, the block link point searches for the users who do not meet the entrance condition in the updated entrance queuing information, and sends a queuing failure message to the users who do not meet the entrance condition.
For example, a certain user submits entrance information, a public school in the south mountain area of Shenzhen is selected, entrance conditions are met, the entrance information is checked and passed, the calculated entrance score is 86 minutes, the entrance score enters a queuing queue and is arranged at 90, after the block link point updates the entrance queuing information of the school, another user originally arranged at 150 is changed into 151, the entrance conditions of the school comprise the entrance condition which is ranked within 150 (including 150), so that the entrance condition of the school is not met by the user ranked at 151, the blockchain node sends a queuing failure message to the user ranked at 151, and reminds that the current entrance score of the user cannot meet the entrance conditions, and the adjustment to other schools is suggested.
106. The blockchain nodes synchronize the updated incident queuing information to other blockchain nodes through a blockchain consensus mechanism.
After the block link points update the entrance queuing information, the updated entrance queuing information is synchronized to other block chain nodes on the block chain through a block chain consensus mechanism, so that a user can inquire the entrance queuing information at any block link point on the block chain.
Among them, the consensus mechanism is an important component of the blockchain technology, and the blockchain can support different consensus mechanisms, and today's consensus mechanisms of blockchains can be divided into four main classes: a workload certification mechanism, a rights certification mechanism, a share authorization certification mechanism, and a Pool verification Pool.
The goal of the consensus mechanism is to have all honest nodes save a consistent blockchain view while satisfying two properties:
1. consistency, i.e., the prefix portion of the blockchain that all honest nodes hold is identical.
2. The validity, that is, the information issued by a certain honest node is finally recorded in the own blockchain by all other honest nodes.
Optionally, the blockchain link point receives a queuing information query request of a user, where the queuing information query request carries identity information of the user, and the blockchain node searches for queuing information matched with the identity information of the user in the updated entrance queuing information, and then sends the queuing information to the user corresponding to the identity information.
Referring to fig. 2, fig. 2 is a flowchart of another method for blockchain-based information management according to another embodiment of the present application. In which, as shown in fig. 1, another method for information management based on blockchain according to another embodiment of the present application may include:
201. and the blockchain node receives an information auditing request, wherein the information auditing request carries the entrance information of the user and the target school information.
Optionally, the blockchain related to the embodiment of the application is a alliance chain, and the authority of all the blockchain nodes is not consistent, so before receiving the information auditing request, the blockchain node receives an authority setting instruction sent by the management platform, wherein the authority setting instruction is used for indicating the blockchain node to set the authority of auditing information.
The authority setting instruction is specifically used for indicating the blockchain node to set different level authorities of the CA certificate, and the management platform can also change the CA certificate level authority of the blockchain node after the blockchain node sets the level authority of the CA certificate.
Further optionally, in addition to setting the authority of the current blockchain node to audit information, the management platform may also set the authority of the multiple blockchain node to audit information, where the authority of each blockchain node in the multiple blockchain nodes with audit authority is the same and has the authority of audit information, other authorities are the same by default, other nodes in the blockchain without audit authority are not provided with the authority of audit information, but other inquiry authorities are the same by default. Likewise, the management platform may also alter blockchain nodes that have auditing rights.
Further, the blockchain node receives an information auditing request, wherein the information auditing request carries entrance information of a user and target school information, the entrance information comprises information such as household, housing, academic, social security and the like, and the target school information is a school for which the user applies for the entrance.
For example, the target school applied by the user is a school in the Shenzhen mountain area, and the entrance information of the user comprises household registration, housing, family planning condition and social security condition, wherein the household registration is divided into deep household and non-deep household, the deep household and the non-deep household can be further divided into other options, the housing is divided into a house purchase and a house renting in the learning area, the house purchase and the house renting in the learning area can be further divided into other options, and the social security condition is divided into two conditions of the deep household and the non-deep household and can be further divided into other options. Public schools in the southern mountain area of Shenzhen city include the southern mountain laboratory university, the northern master south mountain attached primary school, the first primary school, the second primary school, the university primary school, the western primary school and the like.
202. The blockchain node searches for an intelligent contract that matches the target school information, wherein the intelligent contract includes the goal school's scoring rules and entrance conditions.
The method for the blockchain node to search the intelligent contract matched with the target school information can be as follows:
The blockchain node acquires a contract address associated with the target school information from the management platform, and searches for the intelligent contract according to the contract address.
The intelligent contracts are issued by the management platform, each school submits respective integration rules and entrance conditions on the management platform, after the intelligent contracts are issued, the management platform issues the intelligent contracts comprising the integration rules and the entrance conditions of the schools, corresponding contract addresses are returned after the intelligent contracts are issued successfully, the association relationship between the schools and the contract addresses is maintained and updated by the management platform by default.
For example, the rules of integration in the coast city of Shenzhen city include 10 minutes for rooms around the coast city, 10 minutes for Shenzhen house openings, 10 or the like for parents over the university family, and entrance conditions of within three kilometers and 100 before integration. For another example, the integration rule in Shenzhen city test one includes that Shenzhen house is 15 minutes, shenzhen house is 10 minutes, parents have a reserved background of 10 minutes, test university is 15 minutes, and the like, and entrance conditions are that Shenzhen house and 150 times of integration are provided.
The integral entrance rule in Shenzhen city in the southern mountain area is shown in table 1:
table 1 2018 south mountain integral entrance project and score standard
203. The blockchain node examines the entrance information through the entrance condition.
After the intelligent contracts matched with the target school information are searched by the block chain link points, the entrance information of the user is checked, and the entrance information of the user is checked through the entrance conditions in the intelligent contracts, wherein the entrance conditions have hard conditions, and the check that the hard conditions are not satisfied cannot be passed, for example, the hard satisfied conditions of the Shenzhen coastal city in-city include that the housing is within a range of three kilometers, and if the house is not within the range of three kilometers of the Shenzhen coastal city in the entrance information submitted by the user, the check cannot be passed.
In addition to checking whether the entrance information of the user meets the hard condition, the blockchain node also checks whether the entrance information of the user is comprehensive, and if the entrance information is not comprehensive, the checking is not passed.
204. If the auditing is not passed, the blockchain node sends an auditing failure message to the user.
For example, the hardness satisfaction condition of Shenzhen city coast City university includes that the housing is within three kilometers, if the housing is not within three kilometers of Shenzhen city coast City university in the entrance information submitted by the user, the audit is not passed, and the blockchain node sends an audit failure message to the user.
If the entrance information is incomplete, the block chain node returns an audit failure message to the user, and prompts the user to supplement the entrance information or resubmit the entrance information within a certain time range so as to facilitate the block chain node to carry out audit again.
Referring to fig. 3, fig. 3 is a flowchart of another method for blockchain-based information management according to another embodiment of the present application. Wherein, as shown in fig. 3, another method for information management based on block chain according to another embodiment of the present application may include:
301. and the blockchain node receives an authority setting instruction sent by the management platform.
The blockchain related to the embodiment of the application is a alliance chain, and the authority of all blockchain nodes is not consistent, and the blockchain link point receives an authority setting instruction sent by a management platform, wherein the authority setting instruction is used for indicating the blockchain node to set the authority of audit information.
The authority setting instruction is specifically used for indicating the blockchain node to set different level authorities of the CA certificate, and the management platform can also change the CA certificate level authority of the blockchain node after the blockchain node sets the level authority of the CA certificate.
Further optionally, in addition to setting the authority of the current blockchain node to audit information, the management platform may also set the authority of the multiple blockchain node to audit information, where the authority of each blockchain node in the multiple blockchain nodes with audit authority is the same and has the authority of audit information, other authorities are the same by default, other nodes in the blockchain without audit authority are not provided with the authority of audit information, but other inquiry authorities are the same by default. Likewise, the management platform may also alter blockchain nodes that have auditing rights.
302. And the blockchain node receives an information auditing request, wherein the information auditing request carries the entrance information of the user and the target school information.
The information auditing request carries the entrance information of the user and the target school, wherein the entrance information comprises information such as household registers, houses, academia, social security and the like, and the target school information is the school which the user applies for to enter.
303. The blockchain node searches for an intelligent contract that matches the target school information, wherein the intelligent contract includes the goal school's scoring rules and entrance conditions.
The method for the blockchain node to search the intelligent contract matched with the target school information can be as follows:
The blockchain node acquires a contract address associated with the target school information from the management platform, and searches for the intelligent contract according to the contract address.
The intelligent contracts are issued by the management platform, each school submits respective integration rules and entrance conditions on the management platform, after the intelligent contracts are issued, the management platform issues the intelligent contracts comprising the integration rules and the entrance conditions of the schools, corresponding contract addresses are returned after the intelligent contracts are issued successfully, the association relationship between the schools and the contract addresses is maintained and updated by the management platform by default.
For example, the rules of integration in the coast city of Shenzhen city include 10 minutes for rooms around the coast city, 10 minutes for Shenzhen house openings, 10 or the like for parents over the university family, and entrance conditions of within three kilometers and 100 before integration. For another example, the integration rule in Shenzhen city test one includes that Shenzhen house is 15 minutes, shenzhen house is 10 minutes, parents have a reserved background of 10 minutes, test university is 15 minutes, and the like, and entrance conditions are that Shenzhen house and 150 times of integration are provided.
304. The blockchain node examines the entrance information through the entrance condition.
After the intelligent contract matched with the target school information is searched by the block chain link point, the entrance information of the user is checked, and specifically, the entrance condition check in the intelligent contract is adopted, wherein the entrance condition has a hard condition, and the check which does not meet the hard condition cannot be passed, for example, the hard meeting condition of the Shenzhen coastal city is that the housing is within a range of three kilometers, if the entrance information submitted by the user is not within the range of three kilometers of the Shenzhen coastal city, the check is not passed, and the block chain node sends a check failure message to the user.
Besides whether the entrance information of the auditing user meets the hard condition, the blockchain node also audits whether the entrance information of the user is comprehensive, if the entrance information is not comprehensive, the blockchain node returns an audit failure message to the user, prompts the user to supplement the entrance information or resubmit the entrance information within a certain time range, and is convenient for the blockchain node to audit again.
305. If the verification passes, the block link points calculate the entrance score of the user according to the score rule and the entrance information.
If the blockchain node passes the audit of the entrance information of the user, the blockchain node calculates the entrance score of the user according to the score rule in the intelligent contract and the entrance information of the user, and the specific process is that corresponding scores are obtained in the score rule according to the information of the household book, housing, academy, social security and the like in the entrance information of the user, and then all the scores are added to obtain the entrance score of the user.
For example, a target school applied by a user is a public school in a southern mountain area in Shenzhen city, in the entrance information of the user, the household is a deep user, and the household is a household in the southern mountain area, the corresponding score of 26 minutes can be obtained in the comparison table 1, the housing is a house purchase, and the parent property accounts for 40%, the corresponding score of 30 minutes can be obtained in the comparison table 1, the birth control situation is a solitary child, the corresponding score of 20 minutes can be obtained in the comparison table 1, the corresponding score of 10 minutes can be obtained in the social security situation, and all the scores are added to 86 minutes, namely, the entrance score of the user is 86 minutes.
Alternatively, the score rules of different schools may be different, so when calculating the incident score of the user, the score rules of the target schools are calculated according to the application.
306. The blockchain node updates entrance queuing information of the target school according to the entrance score.
After the block chain link points are calculated to obtain the entrance score of the user, queuing is carried out according to the entrance score, entrance queuing information of the target school is updated, and the target school allocates the academic ranking according to the entrance queuing information.
307. And the block chain link point searches the updated entrance queuing information for the users which do not meet the entrance condition, and sends a queuing failure message to the users which do not meet the entrance condition.
Optionally, after updating the entrance queuing information of the target school according to the entrance score, the block link point searches for the users who do not meet the entrance condition in the updated entrance queuing information, and sends a queuing failure message to the users who do not meet the entrance condition.
For example, a certain user submits entrance information, a public school in the south mountain area of Shenzhen is selected, entrance conditions are met, the entrance information is checked and passed, the calculated entrance score is 86 minutes, the entrance score enters a queuing queue and is arranged at 90, after the block link point updates the entrance queuing information of the school, another user originally arranged at 150 is changed into 151, the entrance conditions of the school comprise the entrance condition which is ranked within 150 (including 150), so that the entrance condition of the school is not met by the user ranked at 151, the blockchain node sends a queuing failure message to the user ranked at 151, and reminds that the current entrance score of the user cannot meet the entrance conditions, and the adjustment to other schools is suggested.
308. The blockchain nodes synchronize the updated incident queuing information to other blockchain nodes through a blockchain consensus mechanism.
After the block link points update the entrance queuing information, the updated entrance queuing information is synchronized to other block chain nodes on the block chain through a block chain consensus mechanism, so that a user can inquire the entrance queuing information at any block link point on the block chain.
Among them, the consensus mechanism is an important component of the blockchain technology, and the blockchain can support different consensus mechanisms, and today's consensus mechanisms of blockchains can be divided into four main classes: a workload certification mechanism, a rights certification mechanism, a share authorization certification mechanism, and a Pool verification Pool.
The goal of the consensus mechanism is to have all honest nodes save a consistent blockchain view while satisfying two properties:
1. consistency, i.e., the prefix portion of the blockchain that all honest nodes hold is identical.
2. The validity, that is, the information issued by a certain honest node is finally recorded in the own blockchain by all other honest nodes.
309. Any one block link point receives a queuing information query request of a user.
The queuing information inquiry request carries the identity information of the user, and the blockchain node searches queuing information matched with the identity information of the user in the updated entrance queuing information.
310. And sending queuing information to the user corresponding to the identity information.
Referring to fig. 4, fig. 4 is a schematic diagram of an apparatus for blockchain-based information management according to another embodiment of the present application. As shown in fig. 4, an apparatus for managing information based on a blockchain according to another embodiment of the present application may include:
a first receiving unit 401, configured to receive an information auditing request, where the information auditing request carries entrance information of a user and target school information;
a first searching unit 402, configured to search for an intelligent contract matched with the target school information, where the intelligent contract includes an integration rule and an entrance condition of the target school;
an auditing unit 403, configured to audit the entrance information through the entrance condition;
a calculating unit 404, configured to calculate an entrance score of the user according to the score rule and the entrance information if the audit passes;
an updating unit 405, configured to update entrance queuing information of the target school according to the entrance score;
and the synchronizing unit 406 is configured to synchronize the updated entrance queuing information to other blockchain nodes through a blockchain consensus mechanism.
The implementation of the apparatus for managing blockchain-based information in the present application can be found in the above embodiments of the method for managing blockchain-based information, and will not be described herein.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device in a hardware running environment according to an embodiment of the present application. As shown in fig. 5, an electronic device of a hardware running environment according to an embodiment of the present application may include:
a processor 501, such as a CPU.
The memory 502 may alternatively be a high-speed RAM memory or a stable memory, such as a disk memory.
A communication interface 503 for enabling a connected communication between the processor 501 and the memory 502.
It will be appreciated by those skilled in the art that the structure of the blockchain-based information management electronic device shown in fig. 5 does not constitute a limitation of the blockchain-based information management electronic device, and may include more or less components than illustrated, or may combine certain components, or a different arrangement of components.
As shown in FIG. 5, memory 502 may include an operating system, a network communication module, and a program for blockchain-based information management. An operating system is a program that manages and controls the electronic device hardware and software resources for blockchain-based information management, programs that support blockchain-based information management, and other software or program runs. The network communication module is used to enable communication between components within the memory 502 and other hardware and software in the electronic device for blockchain-based information management.
In the electronic device for blockchain-based information management shown in fig. 5, the processor 501 is configured to execute a program for blockchain-based information management stored in the memory 502, and implement the following steps:
the block chain node receives an information auditing request, wherein the information auditing request carries entrance information of a user and target school information;
the blockchain node searches for an intelligent contract matched with the target school information, wherein the intelligent contract comprises an integral rule and an entrance condition of the target school;
the blockchain node audits the entrance information through the entrance condition;
if the audit is passed, the blockchain node calculates the entrance score of the user according to the score rule and the entrance information;
the blockchain node updates entrance queuing information of the target school according to the entrance score;
the blockchain node synchronizes the updated entrance queuing information to other blockchain nodes through a blockchain consensus mechanism.
The implementation of the electronic device based on the blockchain information management of the present application can be found in each embodiment of the above-mentioned blockchain information management method, and will not be described herein.
Another embodiment of the present application provides a computer-readable storage medium storing a computer program that is executed by a processor to implement the steps of:
the block chain node receives an information auditing request, wherein the information auditing request carries entrance information of a user and target school information;
the blockchain node searches for an intelligent contract matched with the target school information, wherein the intelligent contract comprises an integral rule and an entrance condition of the target school;
the blockchain node audits the entrance information through the entrance condition;
if the audit is passed, the blockchain node calculates the entrance score of the user according to the score rule and the entrance information;
the blockchain node updates entrance queuing information of the target school according to the entrance score;
the blockchain node synchronizes the updated entrance queuing information to other blockchain nodes through a blockchain consensus mechanism.
The embodiment of the computer readable storage medium of the present application can refer to the above embodiments of the method for managing information based on blockchain, and will not be described herein.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application. In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (8)

1. A method of blockchain-based information management, wherein the blockchain is a federated chain, and rights of each blockchain node in the federated chain are different according to settings, comprising:
the block chain node receives an information auditing request, wherein the information auditing request carries entrance information of a user and target school information;
the blockchain node searches for an intelligent contract matched with the target school information, wherein the intelligent contract comprises an integral rule and an entrance condition of the target school;
the blockchain node audits the entrance information through the entrance condition, and the method comprises the following steps: the blockchain node checks the compliance and the comprehensiveness of the entrance information through the entrance condition;
if the audit is passed, the blockchain node calculates the entrance score of the user according to the score rule and the entrance information;
the blockchain node updates entrance queuing information of the target school according to the entrance score;
the blockchain node synchronizes the updated entrance queuing information to other blockchain nodes through a blockchain consensus mechanism;
before the blockchain node receives the information auditing request, the method comprises the following steps: and the blockchain node receives an authority setting instruction sent by the management platform, wherein the authority setting instruction is used for indicating the blockchain node to set the authority of the audit information.
2. The method of claim 1, wherein the smart contract is issued by the management platform, the blockchain node searching for a smart contract that matches the target school information comprising:
the blockchain node acquires a contract address associated with the target school information from the management platform;
and the blockchain node searches the intelligent contract according to the contract address.
3. The method according to claim 1 or 2, further comprising:
if the audit is not passed, the blockchain node sends an audit failure message to the user, wherein the audit failure message is used for prompting the user to supplement the entrance information or resubmit the entrance information in a preset time.
4. The method of claim 1, wherein the blockchain node, after updating the entrance queuing information of the target school according to the entrance score, comprises:
searching the updated entrance queuing information for users which do not accord with the entrance condition by the blockchain node;
the blockchain node sends a queuing failure message to the user who does not meet the entrance condition.
5. The method as recited in claim 4, further comprising:
The blockchain node receives a queuing information query request, wherein the queuing information query request carries identity information;
the blockchain node searches queuing information matched with the identity information in the updated entrance queuing information;
and the blockchain node sends the queuing information to the user corresponding to the identity information.
6. An apparatus for blockchain-based information management, wherein the blockchain is a federated chain, and rights of individual blockchain devices in the federated chain differ according to settings, the apparatus comprising:
the first receiving unit is used for receiving an information auditing request, wherein the information auditing request carries entrance information and target school information of a user;
the first searching unit is used for searching an intelligent contract matched with the target school information, wherein the intelligent contract comprises an integral rule and an entrance condition of the target school;
the auditing unit is used for auditing the entrance information through the entrance condition;
the calculation unit is used for calculating the entrance score of the user according to the score rule and the entrance information if the audit is passed;
an updating unit, configured to update entrance queuing information of the target school according to the entrance score;
The synchronizing unit is used for synchronizing the updated entrance queuing information to other blockchain nodes through a blockchain consensus mechanism;
the auditing unit is specifically configured to audit the compliance and comprehensiveness of the entrance information by the blockchain node according to the entrance condition in the aspect of auditing the entrance information by the entrance condition;
the apparatus further comprises: the second receiving unit is used for receiving a permission setting instruction sent by the management platform, wherein the permission setting instruction is used for indicating the blockchain node to set the permission of the audit information.
7. An electronic device for blockchain-based information management, the electronic device comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the processor, the programs comprising instructions for performing the steps of the method of any of claims 1 to 5.
8. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program, which is executed by a processor to implement the method of any one of claims 1 to 5.
CN201910442310.1A 2019-05-24 2019-05-24 Information management method and related device based on blockchain Active CN110245843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910442310.1A CN110245843B (en) 2019-05-24 2019-05-24 Information management method and related device based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910442310.1A CN110245843B (en) 2019-05-24 2019-05-24 Information management method and related device based on blockchain

Publications (2)

Publication Number Publication Date
CN110245843A CN110245843A (en) 2019-09-17
CN110245843B true CN110245843B (en) 2023-08-18

Family

ID=67884965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910442310.1A Active CN110245843B (en) 2019-05-24 2019-05-24 Information management method and related device based on blockchain

Country Status (1)

Country Link
CN (1) CN110245843B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111709595A (en) * 2019-12-16 2020-09-25 航天信息股份有限公司 Method and system for allocating resources based on block chain technology
CN111339568A (en) * 2020-02-26 2020-06-26 北京海益同展信息科技有限公司 Method and apparatus for generating an enrollment result
CN111325548A (en) * 2020-02-27 2020-06-23 苏州市星际云通区块链科技有限公司 Switched blockchain system and corresponding general blockchain interoperation method and network
CN114037576A (en) * 2021-12-20 2022-02-11 北京大学 System and method for allocating academic resources

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107332701A (en) * 2017-06-26 2017-11-07 中国人民银行数字货币研究所 The method and system of management node
CN107392813A (en) * 2017-09-12 2017-11-24 杭州趣链科技有限公司 A kind of student status information sharing system based on block chain
WO2018131749A1 (en) * 2017-01-16 2018-07-19 주식회사 더디엔에이시스템 Deep learning-based self-adaptive learning engine module
CN108733783A (en) * 2018-05-09 2018-11-02 深圳明创自控技术有限公司 A kind of student status information management system based on privately owned block chain
CN108764701A (en) * 2018-05-23 2018-11-06 深圳市元征科技股份有限公司 A kind of degree resource allocation publicity method, system and equipment and storage medium
CN109063169A (en) * 2018-08-17 2018-12-21 福建省农村信用社联合社 A kind of customer data management system 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
CN109688163A (en) * 2019-02-20 2019-04-26 中国联合网络通信集团有限公司 Data processing method, device, equipment and storage medium based on alliance's chain
CN109729168A (en) * 2018-12-31 2019-05-07 浙江成功软件开发有限公司 A kind of data share exchange system and method based on block chain
CN109784882A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Alliance's chain information distribution control method and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030041001A1 (en) * 2001-03-23 2003-02-27 Restaurant Services Inc. ("RSI") System, method and computer program product for an auction function in a supply chain management framework
US10810683B2 (en) * 2017-11-21 2020-10-20 General Electric Company Hierarchical meta-ledger transaction recording

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018131749A1 (en) * 2017-01-16 2018-07-19 주식회사 더디엔에이시스템 Deep learning-based self-adaptive learning engine module
CN107332701A (en) * 2017-06-26 2017-11-07 中国人民银行数字货币研究所 The method and system of management node
CN107392813A (en) * 2017-09-12 2017-11-24 杭州趣链科技有限公司 A kind of student status information sharing system based on block chain
CN108733783A (en) * 2018-05-09 2018-11-02 深圳明创自控技术有限公司 A kind of student status information management system based on privately owned block chain
CN108764701A (en) * 2018-05-23 2018-11-06 深圳市元征科技股份有限公司 A kind of degree resource allocation publicity method, system and equipment and storage medium
CN109063169A (en) * 2018-08-17 2018-12-21 福建省农村信用社联合社 A kind of customer data management system 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
CN109784882A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Alliance's chain information distribution control method and terminal device
CN109729168A (en) * 2018-12-31 2019-05-07 浙江成功软件开发有限公司 A kind of data share exchange system and method based on block chain
CN109688163A (en) * 2019-02-20 2019-04-26 中国联合网络通信集团有限公司 Data processing method, device, equipment and storage medium based on alliance's chain

Also Published As

Publication number Publication date
CN110245843A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN110245843B (en) Information management method and related device based on blockchain
JP7222036B2 (en) Model training system and method and storage medium
Lu et al. Zebralancer: Private and anonymous crowdsourcing system atop open blockchain
JP2023029895A (en) System, methods and apparatus for embodying model with intelligent consent, smart consent, and weighting consent for distributed ledger technology in cloud-based computing environment
CN109729168A (en) A kind of data share exchange system and method based on block chain
AU2017100968A4 (en) System for issuance, verification and use of digital identities on a public or private ledger.
US20190163887A1 (en) Multicomputer processing for data authentication using a blockchain approach
US20190166133A1 (en) Multicomputer processing for data authentication and event execution using a blockchain approach
US20190268139A1 (en) Data authentication using a blockchain approach
CN111183426A (en) System and method for block chain based notification
CN110516474A (en) User information processing method, device, electronic equipment and storage medium in block chain network
CN108876669B (en) Course notarization system and method applied to multi-platform education resource sharing
CN110602217B (en) Block chain-based alliance management method, device, equipment and storage medium
CN109491996A (en) For the block generation method of block chain network, block data access method, calculate equipment, storage medium
CN111291394B (en) False information management method, false information management device and storage medium
KR20230072462A (en) Certificate management server based on blockchain and method thereof and computer program
CN106992988A (en) A kind of cross-domain anonymous resource sharing platform and its implementation
CN110557276B (en) Block chain computer room management system based on Fabric architecture
CN109033757A (en) A kind of data sharing method and system
CN110264208A (en) For generating the method and system of Client-initiated identity federation
EP3443499A1 (en) Method and system for safeguarding stored data
CN108322468A (en) Identity authorization system
CN106060097B (en) A kind of management system and management method of information security contest
US20200349566A1 (en) Device control method and related device
Goswami et al. E-Governance: a tendering framework using blockchain with active participation of citizens

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