Block chain-based after-class service distributed management platform
By adopting a distributed management platform based on blockchain in the after-school service technology system, the problems of insufficient data security and difficulty in sharing information in the existing technology are solved, and the secure storage, transmission and access of data are realized, and the efficiency and security of data utilization are improved.
Patent Information
- Application Number
- CN202411612953.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-18
AI Technical Summary
The existing after-school service technology system has insufficient security and difficulty in information sharing in terms of data protection, which makes it difficult to ensure the security of students' personal privacy and academic research results, and data is difficult to share, resulting in information asymmetry and waste of resources.
The blockchain-based after-school service distributed management platform is adopted to store and transmit data through the blockchain network, and the multi-layer authentication factor checksum dynamic encryption strategy is used to ensure the security and privacy of data, and different permissions are set according to the user role to achieve secure sharing of data.
Through blockchain technology, data security, authenticity and immutability are ensured, data security and privacy protection are solved, data security storage, transmission and access are realized, and data utilization efficiency and security are improved.
Smart Images

Figure CN119648483A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and more specifically, to a distributed management platform for after-school services based on blockchain. Background Art
[0002] Driven by the information society, the education industry is undergoing a revolutionary change. Advanced technologies such as big data, cloud computing, and artificial intelligence have been widely used in educational scenarios. The existing after-school service technology system involves a large amount of personal information and sensitive data. Data protection in the field of education is unique. From campus management systems to online education platforms, a large amount of educational data is being produced, processed, and transmitted. This includes not only students' personal information and learning trajectories, but also teachers' teaching methods, academic research data, and other sensitive and important information resources. However, with the continuous growth of the amount of educational data, the risk of data leakage has also increased, especially the security issues of students' personal privacy and academic research results have become increasingly prominent, and these data are often difficult to share and circulate, resulting in information asymmetry, difficulty in information sharing, and waste of resources, which seriously hinders the healthy development of the industry. Summary of the invention
[0003] In order to overcome the above-mentioned defects of the prior art, the present invention provides the following technical solutions: a distributed management platform for after-school services based on blockchain, comprising: a plurality of terminals, a server, and a blockchain network, characterized in that the plurality of terminals are configured as execution terminals; The server is used to act as a scheduling center to assign accounting tasks to the selected nodes and the terminal, and the terminal and the blockchain network are both connected to the server; The server includes a data transmission module, a data receiving module, a first determination module and a second determination module; The data transmission module is used for data transmission and converts the uploaded data information into account book records; The data receiving module is used to receive data sent by the terminal through the server; The first determining module is used to determine, through the server, a processing instruction for uploaded data, wherein the uploaded data includes common data and private data; The second determining module is used to determine the location information of the location where the data is stored through the server; The blockchain network is used to record the accounting nodes and the consensus nodes responsible for consistency verification. When any accounting node needs to update data, it must be submitted to the consensus node for verification. After the verification is passed, the relevant change information will be propagated to all other accounting nodes in the network to ensure that the data of the entire network remains up-to-date and consistent; The blockchain network includes a user management module, a verification module and a data storage module; The user management module interacts with the blockchain network through the server and is used to receive user transmission instructions, including user login, identity authentication, and permission level setting; The data storage module is used to store the data in a distributed manner in the plurality of terminals through the server; The verification module is configured to verify the identity of the access user and the encryption block.
[0004] In addition, different permissions and services are set for users according to different user roles, including authorized and unauthorized users, low-authority administrators, and high-authority administrators. The low-authority administrator has the function of viewing the public block data of ordinary users and sending in-site messages to ordinary users; the high-authority administrator includes the functions of the low-authority administrator by default.
[0005] The verification module is configured to verify the identity of accessing users and encrypted blocks, including multi-layer authentication factor verification. On the basis of the login password set by the user, multi-layer authentication factor verification is added according to the different user identity levels, including terminal digital fingerprint, fingerprint recognition, face recognition, SMS verification code, email verification code, security questions, social media verification, and administrator verification.
[0006] The data storage module also includes a public block and an encrypted block. The public block stores common data, including open class teaching videos, practice test questions, and some teaching cases uploaded by users. The encrypted block stores private data, including user's personal learning records, encrypted test scores, and teaching videos. wherein a distributed ledger is provided in the public block, and the data block is stored in the distributed ledger so that the generated data block hash is linked to the previous data block on the distributed ledger; The public block is also provided with a public ledger, which is used to record operations. Both the public chain and the private chain are provided with nodes, and the nodes of the private chain and the public chain are different. When the encrypted blockchain is identified, the encrypted blockchain traverses each node of the public chain and the private blockchain, and the encrypted blockchain is used for the operation of identifying the nodes.
[0007] A dynamic encryption strategy is adopted for encryption, and the storage of data in the public block includes: generating an authentication code based on a random number randomly generated by a discrete algorithm, using a hash function, and using blockchain technology to add an identity identifier of a non-homogeneous digital certificate and a currently randomly assigned timestamp; using the authentication code to encrypt a second key to obtain an authentication code ciphertext, sending the random number, the authentication code ciphertext and the stored data in plain text to the server, and clearing the storage record of the terminal.
[0008] Therefore, the present invention adopts the above-mentioned blockchain-based after-school service distributed management platform with the following beneficial effects: the present invention utilizes the decentralized characteristics of blockchain to ensure the security, authenticity and non-tamperability of data, and storage through a distributed platform can effectively solve the problems of large data volume and high memory occupancy faced by blockchain storage, improve data traceability and security, and realize the safe storage, transmission and access of after-school service data. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0010] Figure 1 A schematic diagram of the structure of an after-school service open data platform based on blockchain provided by the present invention.
[0011] Figure 2 A structural schematic diagram of a dynamic encryption algorithm provided by the present invention. DETAILED DESCRIPTION
[0012] The following will be combined with the accompanying drawings in the present invention to clearly and completely describe the technical solution in the present invention. Obviously, the described technical solution is only a part of the present invention, not all of it. Based on the technical solution in the present invention, all other technical solutions obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0013] like Figure 1 As shown, a distributed management platform for after-school services based on blockchain in this embodiment includes: multiple terminals, a server, and a blockchain network, characterized in that the multiple terminals are configured as execution terminals; The server is used to act as a scheduling center to assign accounting tasks to the selected nodes and the terminal, and the terminal and the blockchain network are both connected to the server; The server includes a data transmission module, a data receiving module, a first determination module and a second determination module; The data transmission module is used for data transmission and converts the uploaded data information into account book records; The data receiving module is used to receive data sent by the terminal through the server; The first determining module is used to determine, through the server, a processing instruction for uploaded data, wherein the uploaded data includes common data and private data; The second determining module is used to determine the location information of the location where the data is stored through the server; The blockchain network is used to record the accounting nodes and the consensus nodes responsible for consistency verification. When any accounting node needs to update data, it must be submitted to the consensus node for verification. After the verification is passed, the relevant change information will be propagated to all other accounting nodes in the network to ensure that the data of the entire network remains up-to-date and consistent; The blockchain network includes a user management module, a verification module and a data storage module; The user management module interacts with the blockchain network through the server and is used to receive user transmission instructions, including user login, identity authentication, and permission level setting; The data storage module is used to store the data in a distributed manner in the plurality of terminals through the server; The verification module is configured to verify the identity of the access user and the encryption block.
[0014] Furthermore, different permissions and services are set for users according to different user roles. Permissioned and unauthorized users, low-authority administrators, high-authority administrators, and low-authority administrators can view the public block data of ordinary users and send in-site messages to ordinary users; high-authority administrators include the functions of low-authority administrators by default. Education data protection involves multiple stakeholders, and data owners include but are not limited to students, schools, teachers, students, parents, and education technology providers. Taking student data sharing as an example, teachers are high-authority administrators. The application scenarios of educational data are complex. If they need to be used for teaching improvement, curriculum development, scientific research and other purposes, these data are not open to low-authority students. Parents are low-authority administrators. In terms of data acquisition permissions, high-authority administrators and low-authority administrators can master the public block data of ordinary users of class students, including grades, behavior records, etc. At the same time, students can also set personal encrypted block data to protect personal privacy. Specifically, the role settings of high-authority and low-authority administrators and ordinary users can be adjusted according to actual needs.
[0015] Furthermore, the verification module is configured to verify the identity of the accessing user and the encrypted block, including multi-layer authentication factor verification. On the basis of the login password set by the user, multi-layer authentication factor verification is added according to the different user identity levels, including terminal digital fingerprint, fingerprint recognition, face recognition, SMS verification code, email verification code, security questions, social media verification, and administrator verification.
[0016] Furthermore, the data storage module also includes a public block and an encrypted block. The public block stores common data, including open class teaching videos, practice test questions, and some teaching cases uploaded by users. The encrypted block stores private data, including user's personal learning records, encrypted test scores, and teaching videos. wherein a distributed ledger is provided in the public block, and the data block is stored in the distributed ledger so that the generated data block hash is linked to the previous data block on the distributed ledger; The public block is also provided with a public ledger, which is used to record operations. Both the public chain and the private chain are provided with nodes, and the nodes of the private chain and the public chain are different. When the encrypted blockchain is identified, the encrypted blockchain traverses each node of the public chain and the private blockchain, and the encrypted blockchain is used for the operation of identifying the nodes.
[0017] Furthermore, the storage of data in the public block includes: encrypting with a dynamic encryption strategy, generating an authentication code based on a random number randomly generated by a discrete algorithm, using a hash function, and using blockchain technology to add an identity identifier of a non-homogeneous digital certificate and a currently randomly assigned timestamp; encrypting a second key with the authentication code to obtain an authentication code ciphertext, sending the random number, the authentication code ciphertext, and the stored data in plain text to the server, and clearing the storage record of the terminal.
[0018] The random number generated by the discrete algorithm is as follows: Among them, f represents time information, so as to ensure that even if the content is the same, the output is completely different each time; log(f+n) is a smoothing process for data, which means that the growth of timestamps can be smoothed by logarithm, and the value of n is a natural number greater than or equal to 1; the cosine function increases the complexity of timestamps by introducing periodic changes; To use modular arithmetic, By introducing periodic exponential growth, not only the range of numerical variation is limited, but also the randomness and unpredictability of numerical values are increased. The rapid growth characteristics of the exponential function help to amplify the influence of f, so that the encrypted text shows stronger time series dependence.
[0019] like Figure 2 As shown, the storage of data in the encryption block includes encrypting using a dynamic encryption strategy to generate a first key, and using the first key to encrypt the private data to obtain a first data ciphertext data; Performing a hash operation on the first data ciphertext to obtain a first ciphertext hash value; id=Hash(data,r,t1); where id represents the first ciphertext hash value, r is a random number, timestamp is t1, and {id,data,r,t1} represents the parameters used to call the creation function. Upload the first ciphertext hash value id to the blockchain; The first data ciphertext data is sent to the server, and the storage record of the terminal is cleared.
[0020] The specific process of encrypting the private data d includes: the server receives the encryption public key (g, p) in the key pair; wherein p = m·n, m and n are two prime numbers of the same length and different from each other, δ(p) = (m-1)(n - 1), and the encryption public key g is selected by the formula gcd[g,δ(p)]=1, where gcd represents the greatest common divisor; Determine the decryption private key f based on the solved g and the Euclidean algorithm, g×f = 1mod[δ(p)]; The data segment M1 is divided into groups, where the group length L = log2 p , grouping result M1= m1m2…m n ; Use the encryption algorithm to calculate the ciphertext of each group of data, that is, c1= f(m1) = m1 f modp, mod is the modulus operation, indicating m1 f remainder when divided by p; Finally, the ciphertext of each set of data is combined to obtain the ciphertext of the data, that is, C=c1c2…c n = (m1 f modp)(m2 f modp)…(m t f modp); The decryption process of the decryption module is similar to the encryption process, and the ciphertext grouping result is B = b1b2…b t The decrypted data result is Q = q1, q2…q t = (b1 f modp)(b2 f modp)…(b t f modp).
[0021] This encryption scheme achieves the security and confidentiality of data transmission through a dynamic encryption algorithm, ensuring that only authorized users can access and decrypt sensitive information. In addition, it also provides a digital signature function to ensure the integrity of the data and the identity of the sender, thereby preventing the data from being tampered with or forged during transmission.
[0022] Therefore, the present invention adopts the above-mentioned blockchain-based after-school service open data platform, which can effectively solve the problem that the security and privacy protection of after-school service data are often difficult to guarantee and the problem of data sharing, and improve the utilization efficiency and security of data.
[0023] The present invention provides a computer storage medium, wherein the computer storage medium stores at least one instruction, wherein the instruction is suitable for being loaded by a processor and executing the method steps of one or more embodiments of the present specification. The present invention provides a computer program product, wherein the computer program product stores at least one instruction, wherein the instruction is suitable for being loaded by a processor and executing the method steps of one or more embodiments of the present specification.
[0024] The present invention provides an electronic device, which may include: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps of one or more embodiments of the present specification.
[0025] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0026] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A distributed management platform for after-school services based on blockchain, including: Multiple terminals, servers, and blockchain networks, wherein the multiple terminals are configured as execution terminals; The server is used to act as a scheduling center to assign accounting tasks to the selected nodes and the terminal, and the terminal and the blockchain network are both connected to the server; The server includes a data transmission module, a data receiving module, a first determination module and a second determination module; The data transmission module is used for data transmission and converts the uploaded data information into account book records; The data receiving module is used to receive data sent by the terminal through the server; The first determining module is used to determine, through the server, a processing instruction for uploaded data, wherein the uploaded data includes common data and private data; The second determining module is used to determine the location information of the location where the data is stored through the server; The blockchain network is used to record the accounting nodes and the consensus nodes responsible for consistency verification. When any accounting node needs to update data, it must be submitted to the consensus node for verification. After the verification is passed, the relevant change information will be propagated to all other accounting nodes in the network to ensure that the data of the entire network remains up-to-date and consistent; The blockchain network includes a user management module, a verification module and a data storage module; The user management module interacts with the blockchain network through the server and is used to receive user transmission instructions, including user login, identity authentication, and permission level setting; The data storage module is used to store the data in a distributed manner in the plurality of terminals through the server; The verification module is configured to verify the identity of the access user and the encryption block.
2. The after-school service distributed management platform according to claim 1, characterized in that: Different permissions and services are set for users according to their roles, including authorized and unauthorized users, low-authorized administrators, and high-authorized administrators. The low-authorized administrator has the function of viewing the public block data of ordinary users and sending in-site messages to ordinary users; the high-authorized administrator includes the functions of the low-authorized administrator by default.
3. The after-school service distributed management platform according to claim 2 is characterized in that: The verification module is configured to verify the identity of the accessing user and the encrypted block, including multi-layer authentication factor verification. On the basis of the login password set by the user, multi-layer authentication factor verification is added according to the different user identity levels, including terminal digital fingerprint, fingerprint recognition, face recognition, SMS verification code, email verification code, security questions, social media verification, and administrator verification.
4. The after-school service distributed management platform according to claim 3 is characterized in that: The data storage module also includes a public block and an encrypted block. The public block stores common data, including open class teaching videos, practice test questions, and some teaching cases uploaded by users. The encrypted block stores private data, including user's personal learning records, encrypted test scores, and teaching videos. wherein a distributed ledger is provided in the public block, and the data block is stored in the distributed ledger so that the generated data block hash is linked to the previous data block on the distributed ledger; The public block is also provided with a public ledger, which is used to record operations. Both the public chain and the private chain are provided with nodes, and the nodes of the private chain and the public chain are different. When the encrypted blockchain is identified, the encrypted blockchain traverses each node of the public chain and the private blockchain, and the encrypted blockchain is used for the operation of identifying the nodes.
5. The after-school service distributed management platform according to claim 4 is characterized in that: The storage of data in the public block includes: encrypting with a dynamic encryption strategy, adding an identity identifier of a non-homogeneous digital certificate and a currently randomly assigned timestamp using blockchain technology based on a random number randomly generated by a discrete algorithm and a hash function to generate an authentication code; encrypting a second key using the authentication code to obtain an authentication code ciphertext, sending the random number, the authentication code ciphertext and the stored data in plain text to the server, and clearing the storage record of the terminal.
6. The after-school service distributed management platform according to claim 5, characterized in that: The random number generated by the discrete algorithm is as follows: Among them, f represents time information, so as to ensure that even if the content is the same, the output is completely different each time; log(f+n) is a smoothing process for data, which means that the growth of timestamps can be smoothed by logarithm, and the value of n is a natural number greater than or equal to 1; the cosine function increases the complexity of timestamps by introducing periodic changes; To use modular arithmetic, is the time interval.
7. According to the after-school service distributed management platform of claim 4, the storage of data in the encryption block includes: encrypting with a dynamic encryption strategy, generating a first key, and encrypting the private data with the first key to obtain a first data ciphertext data; Perform a hash operation on the first data ciphertext to obtain a first ciphertext hash value id=Hash(data,r,t1), where: id represents the first ciphertext hash value, r is a random number, timestamp t1, (id, data, r, t1) represents the parameters used to call the creation function, and the first ciphertext hash value id is uploaded to the blockchain; The first data ciphertext data is sent to the server, and the storage record of the terminal is cleared.
8. According to the after-school service distributed management platform of claim 7, the specific process of encrypting the private data d comprises: The server receives the encryption public key (g, p) in the key pair; where p = m·n, m and n are two prime numbers of the same length and different from each other, δ(p) = (m-1)(n - 1), and the encryption public key g is selected by the formula gcd[g,δ(p)] = 1, where gcd represents the greatest common divisor. Determine the decryption private key f based on the solved g and the Euclidean algorithm, g×f = 1mod[δ(p)]; The data segment M1 is divided into groups, where the group length L = log2 p , grouping result M1 = m1m2…m n ; Use the encryption algorithm to calculate the ciphertext of each group of data, that is, c1= f(m1) = m1 f modp, mod is the modulus operation, indicating m1 f remainder when divided by p; Finally, combine the ciphertexts of each set of data to obtain the ciphertext of the data C=c1c2…c n = (m1 f modp)(m2 f modp)…(m t f modp); The decryption process of the decryption module is similar to the encryption process, and the ciphertext grouping result is B = b1b2…b t The decrypted data result is Q = q1, q2…q t = (b1 f modp)(b2 f modp)…(b t f modp).
Citation Information
Patent Citations
Blockchain-based data sharing system
CN112100665A
Resume management method based on block chain
CN113065849A
Classified and graded fitness health big data sharing system and method
CN114513533A
Network information security verification method and system based on block chain technology
CN117353893A
Three-level dense chain architecture
CN117692128A