WO2019024126A1 - 基于区块链的知识管理方法、终端及服务器 - Google Patents

基于区块链的知识管理方法、终端及服务器 Download PDF

Info

Publication number
WO2019024126A1
WO2019024126A1 PCT/CN2017/096620 CN2017096620W WO2019024126A1 WO 2019024126 A1 WO2019024126 A1 WO 2019024126A1 CN 2017096620 W CN2017096620 W CN 2017096620W WO 2019024126 A1 WO2019024126 A1 WO 2019024126A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
server
terminal
module
blockchain
Prior art date
Application number
PCT/CN2017/096620
Other languages
English (en)
French (fr)
Inventor
袁晖
杨洋
Original Assignee
深圳市科迈爱康科技有限公司
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 深圳市科迈爱康科技有限公司 filed Critical 深圳市科迈爱康科技有限公司
Publication of WO2019024126A1 publication Critical patent/WO2019024126A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials

Definitions

  • the present invention relates to the field of Internet of Things technologies, and in particular, to a knowledge management method, a terminal, and a server based on a blockchain.
  • Blockchain is an important concept of Bitcoin.
  • a blockchain is a string of data blocks generated by cryptography. Each block contains information about all Bitcoin network transactions in the past ten minutes. Used to verify the validity of its information (anti-counterfeiting) and generate the next block.
  • the blockchain provides a decentralized credit-building paradigm that does not require trust accumulation.
  • the nature of blockchain technology is decentralized and stored in a distributed structure of data storage, transmission and certification methods, using data blocks (Block) to replace the current Internet dependence on the central server, so that all data changes or transactions are recorded On top of a cloud system, the self-proof of data in data transmission is theoretically realized.
  • Blockchain can be applied to data storage, data authentication, and asset management, but existing blockchains cannot guarantee the timely validity of knowledge information records.
  • the main object of the present invention is to provide a blockchain-based knowledge management method, terminal and server, which can ensure the timely validity of knowledge information recording.
  • the present invention provides a blockchain-based knowledge management method, comprising the steps of: transmitting data information to a server; receiving a unique code created by the server according to item information of the data information; forming according to the item information and the unique code combination
  • the packet is sent to the server; the receiving server times the packet with the time stamp; the packet containing the timestamp is written to the blockchain.
  • the step of forming a data packet according to the item information and the unique code and transmitting to the server comprises: hashing the item information to obtain a hash code; combining the unique code with the hash code to form a data packet and transmitting the data packet to the server.
  • the blockchain-based knowledge management method further comprises: sending the query information to the server; receiving the entry information obtained by the server for performing the filtering of the unique code according to the query information; and selecting the entry information for downloading.
  • the present invention further provides a terminal, including: a data sending module, configured to send data information to a server; and a creating module, connected to the sending module, configured to receive a unique identifier created by the server according to the item information of the data information.
  • a data packet forming module connected to the creating module, configured to form a data packet according to the item information and the unique code and sent to the server;
  • the timestamp receiving module is connected to the data packet forming module, and the receiving server is used to cover the data packet. Timestamp; a write module, connected to the timestamp receiving module, for writing a packet containing a timestamp to the blockchain.
  • the data packet forming module includes: a hash code acquiring module, connected to the creating module, configured to perform hash operation on the item information to obtain a hash code;
  • the binding module is coupled to the hash code acquisition module for combining the unique code with the hash code to form a data packet and transmitting the data packet to the server.
  • the present invention further provides a terminal, including: a first memory, a first processor, and a first computer program stored on the first memory and operable on the first processor, the first computer
  • a terminal including: a first memory, a first processor, and a first computer program stored on the first memory and operable on the first processor, the first computer
  • the steps of the aforementioned blockchain-based knowledge management method are implemented when the program is executed by the first processor.
  • the present invention further provides a blockchain-based knowledge management method, comprising the steps of: receiving data information sent by a terminal; and using a preset encoding manner to create a unique code for each entry information in the data information. Transmitting a time stamp for the data packet formed by the terminal according to the item information and the unique code; sending the time stamp to the terminal, so that the terminal writes the data packet including the time stamp into the blockchain.
  • the blockchain-based knowledge management method further includes: receiving query information sent by the terminal; performing entry screening and obtaining the entry information according to the query information; and transmitting the entry information to the terminal to enable the terminal to select the entry information for downloading.
  • the present invention further provides a server, comprising: a data receiving module, configured to receive data information sent by a terminal; and a unique code creating module, connected to the data receiving module, configured to adopt a preset encoding manner as data.
  • a server comprising: a data receiving module, configured to receive data information sent by a terminal; and a unique code creating module, connected to the data receiving module, configured to adopt a preset encoding manner as data.
  • Each item information in the information creates a unique code;
  • a time stamp capping module is connected to the unique code creating module for time stamping the data packet formed by the terminal according to the item information and the unique code; the time stamp sending module, and
  • a timestamp capping module connection is used to send a timestamp to the terminal so that the terminal writes a packet containing the timestamp to the blockchain.
  • the present invention further provides a server, including: a second memory, a second processor, and a first computer program stored on the second memory and operable on the second processor, the first computer
  • a server including: a second memory, a second processor, and a first computer program stored on the second memory and operable on the second processor, the first computer
  • the present invention transmits a data message to a server; receives a unique code created by the server according to the item information of the data information; forms a data packet according to the item information and the unique code and sends the data packet to the server; and receives a time stamp stamped by the server for the data packet;
  • the time-stamped data packet is written into the blockchain. Since the hash operation information is once written into the blockchain, it is difficult to change. Once a tampering occurs, even a character change will cause a significant change in the operation result. In the field of protection, hash code with timestamp can provide a reliable proof of time and ensure the timely validity of knowledge information records.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a first embodiment of a blockchain-based knowledge management method according to the present invention
  • FIG. 3 is a schematic structural diagram of a first embodiment of a terminal according to the present invention.
  • FIG. 4 is a schematic structural diagram of a second embodiment of a terminal according to the present invention.
  • FIG. 5 is a schematic flowchart diagram of a second embodiment of a blockchain-based knowledge management method according to the present invention.
  • FIG. 6 is a schematic structural diagram of a first embodiment of a server according to the present invention.
  • Figure 7 is a schematic structural view of a second embodiment of a server according to the present invention.
  • FIG. 8 is a schematic structural diagram of a server in a hardware operating environment according to an embodiment of the present invention.
  • the main solution of the embodiment of the present invention is: the terminal sends the data information to the server, and the server creates a unique code for the first item information in the data information; the terminal forms a data packet according to the item information and the unique code; the server should request the terminal as the data.
  • the stamped timestamp of the packet the terminal writes the packet containing the timestamp to the blockchain.
  • the present invention provides a solution in which the terminal sends data information to the server, and the server creates a unique code for the first item information in the data information; the terminal according to the entry The information and the unique code are combined to form a data packet; the server should request the terminal to stamp the time stamp of the data packet, and the terminal writes the data packet including the time stamp into the blockchain to ensure the timely validity of the knowledge information record.
  • FIG. 1 is a schematic structural diagram of a terminal in a hardware operating environment according to an embodiment of the present invention.
  • the terminal in the embodiment of the present invention may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving Picture). Experts Group Audio Layer III, Motion Picture Expert Compress Standard Audio Level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) Players, portable computers and other portable terminal devices with display functions.
  • MP3 Motion Picture Expert Compress Standard Audio Level 3
  • MP4 Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3 Players
  • portable computers and other portable terminal devices with display functions may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving Picture). Experts Group Audio Layer III, Motion Picture Expert Compress Standard Audio Level 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) Players, portable computers and other portable terminal devices with display functions.
  • MP3 Motion Picture Experts Group Audio Layer III, Motion Picture
  • the terminal may include a first processor 1001, such as a CPU, a first network interface 1004, a first user interface 1003, a first memory 1005, and a first communication bus 1002.
  • the first communication bus 1002 is used to implement connection communication between these components.
  • the first user interface 1003 can include a display, an input unit such as a keyboard, and the optional first user interface 1003 can also include a standard wired interface, a wireless interface.
  • the first network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the first memory 1005 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the first memory 1005 may alternatively be a storage device independent of the aforementioned first processor 1001.
  • the terminal may further include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • sensors such as light sensors, motion sensors, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or when the mobile terminal moves to the ear. Backlighting.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.
  • terminal structure shown in FIG. 1 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • a first operating system, a first network communication module, a first user interface module, and a first computer program may be included in the first memory 1005 as a computer storage medium.
  • the first network interface 1004 is mainly used to connect to the background server and perform data communication with the background server;
  • the first user interface 1003 is mainly used to connect the client (user end) and perform data communication with the client.
  • the first processor 1001 can be used to call the first computer program stored in the first memory 1005 and perform the following operations:
  • the first processor 1001 may invoke the first computer program stored in the first memory 1005, and further perform the following operations:
  • the unique code is combined with the hash code to form a data packet and sent to the server.
  • the first processor 1001 may invoke the first computer program stored in the first memory 1005, and further perform the following operations:
  • a first embodiment of the present invention provides a blockchain-based knowledge management method, and the blockchain-based knowledge management method includes:
  • step S10 the data information is sent to the server.
  • the user identity information is transmitted to the server to create a pair of keys, wherein the key includes a private key and a public key; and the login information encrypted by the private key is sent to the server for login.
  • the terminal provides content registration such as user identity information, and sends it to the server to verify the user identity information, thereby causing the server to create a pair of keys for the user.
  • the public key is open to the whole network, and the private key user saves it.
  • the terminal encrypts the login information by using the private key and sends it to the server, so that the server can decrypt and authenticate the login information by using the public key of the corresponding terminal.
  • step S10 the terminal performs advanced encryption standards on the data information to be transmitted (Advanced Encryption). Standard, AES) encryption, and send the encrypted data information to the server.
  • AES Advanced Encryption
  • the data information may include information content such as text, picture, audio, video, and the like.
  • Step S11 Receive a unique code created by the server according to the entry information of the data information.
  • the unique code includes at least one of an identity, an entry category, and an entry summary. Of course, the unique code may also include other information, which will not be described here.
  • step S12 a data packet is formed according to the item information and the unique code and sent to the server.
  • step S12 the hash information is hashed to obtain the hash code; the unique code is combined with the hash code to form a data packet and sent to the server. Since the hash operation information is once written into the blockchain, it is difficult to change. Once a tampering occurs, even a character change will cause a significant change in the operation result. In the field of intellectual property protection, the hash code can be combined with the timestamp. Provide a reliable proof of time to ensure the timely validity of knowledge information records.
  • Step S13 Receive a time stamp that the server stamps the data packet.
  • the timestamp request information is first sent to the server, so that the server stamps the data packet according to the timestamp request information, and the terminal receives the timestamp.
  • step S14 the data packet including the time stamp is written into the blockchain.
  • the high redundancy storage of the area chain (each node stores a piece of data), decentralization, high security and privacy protection make it particularly suitable for storing and protecting important private data to avoid Centralized organizations suffer large-scale data loss or leakage caused by attacks or improper rights management.
  • any data can be hashed to generate the corresponding Merkle tree and packaged into the blockchain.
  • the hashing and asymmetric encryption techniques of the internal consensus node ensure security.
  • the multi-signature technology of the blockchain can flexibly configure the access rights of data access. For example, it is necessary to obtain the private key authorization of 3 out of 5 people to obtain access rights.
  • blockchain data with timestamps, common verification and recording by consensus nodes, non-tampering and forgery, these features enable the blockchain to permanently and securely store various types of licenses, registration forms, licenses issued by government agencies. Proof, certification and record, etc., and can easily prove the existence and certain degree of authenticity of a certain data at any time.
  • the blockchain enables the identification, authorization and real-time monitoring of tangible and intangible assets in the field of asset management.
  • blockchain technology can be applied to intellectual property protection, domain name management, and point management based on time stamping techniques and non-tampering.
  • tangible assets the combination of Internet of Things technology is an asset.
  • the unique design is designed and deployed on the blockchain to form a “digital smart asset” that enables distributed asset authorization and control based on blockchain.
  • blockchains can also be used to implement flexible supply chain management and product traceability.
  • the terminal when the terminal needs to perform information query, the terminal first performs user login, and the login method is the same as the former, and details are not described herein. Then, the terminal sends the query information to the server; the receiving server obtains the item information obtained by filtering the unique code according to the query information; and selects the item information to download.
  • the query information includes identity information, storage time, and the like.
  • the present invention further provides a terminal.
  • the terminal 10 includes: a data sending module 11, a creating module 12, a data packet forming module 13, and a timestamp receiving module. 14 and write module 15.
  • the data sending module 11 is configured to send data information to the server.
  • the creating module 12 is connected to the sending module 11 for receiving a unique code created by the server according to the item information of the data information.
  • the packet forming module 13 is connected to the creating module 12 for forming a data packet according to the item information and the unique code and transmitting it to the server.
  • the timestamp receiving module 14 is connected to the data packet forming module 13 for receiving a time stamp that the server stamps the data packet.
  • the writing module 15 is connected to the time stamp receiving module 14 for writing a data packet including a time stamp into the blockchain, so that the timely validity of the knowledge information recording can be ensured.
  • the data packet forming module 13 includes: a hash code obtaining module 131 connected to the creating module 12, configured to perform hash operation on the item information to obtain a hash code;
  • the binding module 132 is coupled to the hash code acquisition module 131 for combining the unique code with the hash code to form a data packet and transmitting the data packet to the server. Since the hash operation information is once written into the blockchain, it is difficult to change. Once a tampering occurs, even a character change will cause a significant change in the operation result. In the field of intellectual property protection, the hash code can be combined with the timestamp. Provide a reliable proof of time to ensure the timely validity of knowledge information records.
  • the unique code includes at least one of an identity, an entry category, and an entry summary. Of course, the unique code may also include other information, which will not be described here.
  • the terminal 10 includes: a key creation module 16 and a login information sending module 17.
  • the key creation module 16 is configured to transmit the user identity information to the server to create a pair of keys, where the key includes a private key and a public key.
  • the login information sending module 17 is connected to the key creation module and the data sending module 11 for transmitting the login information encrypted by the private key to the server for login.
  • the terminal provides content registration such as user identity information, and sends it to the server through the key creation module 16 to verify the user identity information, thereby causing the server to create a pair of keys for the user.
  • the public key is open to the whole network, and the private key user saves it.
  • the login information transmitting module 17 encrypts the login information using the private key and transmits it to the server, so that the server can decrypt and authenticate the login information by using the public key of the corresponding terminal.
  • the advanced encryption standard is performed on the data information to be sent (Advanced Encryption). Standard, AES) encryption, and send the encrypted data information to the server.
  • the data information may include information content such as text, picture, audio, video, and the like.
  • the terminal 10 before the timestamp receiving module 14 receives the time stamp stamped by the server for the data packet, the terminal 10 first sends timestamp request information to the server, so that the server stamps the data packet according to the timestamp request information. The stamp, and thus the timestamp receiving module 14, receives the timestamp.
  • the terminal 10 includes an inquiry information transmitting module 18, an item information receiving module 19, and a downloading module 101.
  • the query information sending module 18 is connected to the login information sending module 17 for transmitting the query information to the server.
  • the entry information receiving module 19 is connected to the query information sending module 18 for receiving the server for filtering the unique code according to the query information.
  • the entry information; the download module 101 is connected to the entry information receiving module 19 for selecting the entry information for downloading.
  • the query information includes identity information, storage time, and the like.
  • an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a first computer program, and when the first computer program is executed by the processor, the following operations are implemented:
  • the unique code is combined with the hash code to form a data packet and sent to the server.
  • a second embodiment of the present invention provides a blockchain-based knowledge management method, where the blockchain-based knowledge management method includes:
  • Step S20 Receive data information sent by the terminal.
  • the data information may include information content such as text, picture, audio, video, and the like.
  • step S20 receiving user identity information sent by the terminal; creating a pair of keys according to the user identity information, wherein the key includes a private key and a public key; receiving the private key encrypted login information sent by the terminal, and applying the public key Authentication login information.
  • the terminal provides content registration such as user identity information
  • the server receives the user identity information sent by the terminal, and verifies the user identity information, thereby creating a pair of keys.
  • the public key is open to the whole network, and the private key user saves it.
  • the terminal encrypts the login information by using the private key and sends it to the server.
  • the server decrypts and authenticates the login information by using the public key of the corresponding terminal.
  • Step S21 Create a unique code for each item information in the data information by using a preset encoding manner.
  • the unique code includes at least one of an identity, an entry category, and an entry summary. Of course, the unique code may also include other information, which will not be described here.
  • the received data information needs to be decrypted and audited.
  • Step S22 time stamping the data packet formed by the terminal according to the item information and the unique code.
  • step S22 the server first receives the timestamp request sent by the terminal, and then the timestamp request should be time stamped for the data packet.
  • the data packet is formed by the terminal hashing the entry information to obtain a hash code, and then combining the unique code with the hash code. Since the hash operation information is once written into the blockchain, it is difficult to change. Once a tampering occurs, even a character change will cause a significant change in the operation result. In the field of intellectual property protection, the hash code can be combined with the timestamp. Provide a reliable proof of time to ensure the timely validity of knowledge information records.
  • Step S23 Send the timestamp to the terminal, so that the terminal writes the data packet including the timestamp into the blockchain. This completes the data storage and management based on the blockchain technology, which can ensure the timely validity of the knowledge information record.
  • the terminal when the terminal needs to perform information query, the terminal first performs user login, and the login method is the same as the former, and details are not described herein.
  • the server receives the query information sent by the terminal; performs the screening of the unique code according to the query information and obtains the entry information; and sends the entry information to the terminal to enable the terminal to select the entry information for downloading.
  • the query information includes identity information, storage time, and the like.
  • the present invention further provides a server.
  • the server 20 includes: a data receiving module 21, a unique code creating module 22, a time stamp capping module 23, and time.
  • the stamping module 24 is sent.
  • the data receiving module 21 is configured to receive data information sent by the terminal.
  • the unique code creation module 22 is connected to the data receiving module 21 for creating a unique code for each entry information in the data information by using a preset encoding manner.
  • the time stamp stamping module 23 is connected to the unique code creating module 22 for time stamping the data packets formed by the terminal according to the item information and the unique code.
  • the timestamp sending module 24 is coupled to the timestamp stamping module 23 for transmitting a timestamp to the terminal such that the terminal writes the data packet containing the timestamp to the blockchain. This completes the data storage and management based on the blockchain technology, which can ensure the timely validity of the knowledge information record.
  • the data information may include information content such as text, pictures, audio, video, and the like.
  • the unique code includes at least one of an identity, an entry category, and an entry summary. Of course, the unique code may also include other information, which will not be described here.
  • the unique code creation module 22 needs to decrypt the received data information before creating a unique code for each entry information in the data information by using a preset encoding mode.
  • the time stamp stamping module 23 stamps the data packet with the timestamp request of the terminal.
  • the data packet is formed by the terminal hashing the entry information to obtain a hash code, and then combining the unique code with the hash code. Since the hash operation information is once written into the blockchain, it is difficult to change. Once a tampering occurs, even a character change will cause a significant change in the operation result. In the field of intellectual property protection, the hash code can be combined with the timestamp. Provide a reliable proof of time to ensure the timely validity of knowledge information records.
  • the server 20 includes an identity information receiving module 25, a key creation module 26, and an authentication module 27.
  • the identity information receiving module 25 is configured to receive the user identity information sent by the terminal;
  • the key creation module 26 is connected to the identity information receiving module 25, and is configured to create according to the user identity information. a pair of keys, wherein the key includes a private key and a public key;
  • the authentication module 27 is connected to the key creation module 26 and the data receiving module 21, and is configured to receive the private key encrypted login information sent by the terminal, and apply the public key. Authentication login information.
  • the terminal provides content registration such as user identity information
  • the identity information receiving module 25 receives the user identity information sent by the terminal
  • the authentication module 27 verifies the user identity information
  • the key creation module 26 is required to create a pair of keys.
  • the public key is open to the whole network, and the private key user saves it.
  • the terminal encrypts the login information using the private key and sends it to the server.
  • the authentication module 27 in the server 20 decrypts and authenticates the login information by using the public key of the corresponding terminal.
  • the server 20 includes an inquiry information receiving module 28, a screening module 29, and an item information transmitting module 201.
  • the terminal needs to perform information query, the terminal first performs user login.
  • the login method is the same as the former, and will not be described again.
  • the query information receiving module 28 is connected to the authentication module 27 for receiving the query information sent by the terminal.
  • the filtering module 29 is configured to query the information receiving module 28 to connect, and use the query information to filter and obtain the entry information of the unique code;
  • the information sending module 201 is connected to the screening module 29 for transmitting the item information to the terminal to enable the terminal to select the item information for downloading.
  • the query information includes identity information, storage time, and the like.
  • FIG. 8 is a schematic structural diagram of a server in a hardware operating environment according to an embodiment of the present invention.
  • the server in the embodiment of the present invention may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving). Picture Experts Group Audio Layer III, motion picture expert compression standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) Players, portable computers and other portable terminal devices with display functions.
  • MP3 Motion Picture Experts Group Audio Layer III, motion picture expert compression standard audio layer 3
  • MP4 Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) Players
  • portable computers and other portable terminal devices with display functions may be a PC, or may be a smart phone, a tablet computer, an e-book reader, and an MP3 (Moving). Picture Experts Group Audio Layer III, motion picture expert compression standard audio layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video experts compress standard audio layers 3) Players, portable computers and other portable terminal devices with display functions.
  • MP3 Motion Picture Experts
  • the server may include a second processor 2001, such as a CPU, a second network interface 2004, a second user interface 2003, a second memory 2005, and a second communication bus 2002.
  • the second communication bus 2002 is used to implement connection communication between these components.
  • the second user interface 2003 can include a display, an input unit such as a keyboard, and the optional second user interface 2003 can also include a standard wired interface, a wireless interface.
  • the second network interface 2004 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
  • the second memory 2005 can be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the second memory 2005 may alternatively be a storage device independent of the aforementioned second processor 2001.
  • the server may also include a camera, RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • sensors such as light sensors, motion sensors, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display according to the brightness of the ambient light, and the proximity sensor may turn off the display and/or when the mobile terminal moves to the ear. Backlighting.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the server can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Let me repeat.
  • server structure illustrated in FIG. 8 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • a second operating system, a second network communication module, a second user interface module, and a second computer program may be included in the second memory 2005 as a computer storage medium.
  • the second network interface 2004 is mainly used to connect the terminal and perform data communication with the terminal;
  • the second user interface 2003 is mainly used to connect the client (user end) to perform data communication with the client;
  • the second processor 2001 can be configured to invoke the second computer program stored in the second memory 2005 and perform the following operations:
  • a timestamp is sent to the terminal to cause the terminal to write a packet containing the timestamp to the blockchain.
  • the second processor 2001 may call the second computer program stored in the second memory 2005, and further perform the following operations:
  • the entry information is sent to the terminal to cause the terminal to select the entry information for download.
  • an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a second computer program, and when the second computer program is executed by the processor, the following operations are implemented:
  • a timestamp is sent to the terminal to cause the terminal to write a packet containing the timestamp to the blockchain.
  • the entry information is sent to the terminal to cause the terminal to select the entry information for download.
  • portions of the technical solution of the present invention that contribute substantially or to the prior art may be embodied in the form of a software product stored in a storage medium (such as a ROM/RAM as described above). , a disk, an optical disk, including a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Technology Law (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种基于区块链的知识管理方法,包括以下步骤:发送数据信息至服务器;接收服务器根据数据信息的条目信息创建的唯一码;根据条目信息以及唯一码结合形成数据包并发送至服务器;接收服务器为数据包加盖的时间戳;将包含时间戳的数据包写入区块链。本发明还公开了一种主终端及服务器。本发明能够保证知识信息记录的及时有效性。

Description

基于区块链的知识管理方法、终端及服务器
技术领域
本发明涉及物联网技术领域,尤其涉及一种基于区块链的知识管理方法、终端及服务器。
背景技术
区块链(Blockchain)是比特币的一个重要概念,区块链是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了过去十分钟内所有比特币网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。
区块链提供了一种去中心化的、无需信任积累的信用建立范式。区块链技术本质是去中心化且寓于分布式结构的数据存储、传输和证明的方法,用数据区块(Block)取代了目前互联网对中心服务器的依赖,使得所有数据变更或者交易项目都记录在一个云***之上,理论上实现了数据传输中对数据的自我证明。
区块链可以应用于数据存储、数据鉴证以及资产管理等领域,但是现有的区块链无法保证知识信息记录的及时有效性。
发明内容
本发明的主要目的在于提供一种基于区块链的知识管理方法、终端及服务器,能够保证知识信息记录的及时有效性。
为实现上述目的,本发明提供一种基于区块链的知识管理方法,包括以下步骤:发送数据信息至服务器;接收服务器根据数据信息的条目信息创建的唯一码;根据条目信息以及唯一码结合形成数据包并发送至服务器;接收服务器为数据包加盖的时间戳;将包含时间戳的数据包写入区块链。
优选地,根据条目信息以及唯一码结合形成数据包并发送至服务器的步骤,包括:对条目信息进行哈希运算获得哈希码;将唯一码与哈希码结合形成数据包并发送至服务器。
优选地,基于区块链的知识管理方法还包括:发送查询信息至服务器;接收服务器根据查询信息进行唯一码的筛选而获得的条目信息;选择条目信息进行下载。
此外,为实现上述目的,本发明还提供一种终端,包括:数据发送模块,用于发送数据信息至服务器;创建模块,与发送模块连接,用于接收服务器根据数据信息的条目信息创建的唯一码;数据包形成模块,与创建模块连接,用于根据条目信息以及唯一码结合形成数据包并发送至服务器;时间戳接收模块,与数据包形成模块连接,用于接收服务器为数据包加盖的时间戳;写入模块,与时间戳接收模块连接,用于将包含时间戳的数据包写入区块链。
优选地,数据包形成模块包括:哈希码获取模块,与创建模块连接,用于对条目信息进行哈希运算获得哈希码; 结合模块,与哈希码获取模块连接,用于将唯一码与哈希码结合形成数据包并发送至服务器。
此外,为实现上述目的,本发明还提供一种终端,包括:第一存储器、第一处理器及存储在第一存储器上并可在第一处理器上运行的第一计算机程序,第一计算机程序被第一处理器执行时实现前述的基于区块链的知识管理方法的步骤。
此外,为实现上述目的,本发明还提供一种基于区块链的知识管理方法,包括以下步骤:接收终端发送的数据信息;采用预设编码方式为数据信息中的每一条目信息创建唯一码;为终端根据条目信息以及唯一码结合形成的数据包加盖时间戳;将时间戳发送至终端,以使终端将包含时间戳的数据包写入区块链。
优选地,基于区块链的知识管理方法还包括:接收终端发送的查询信息;根据查询信息进行唯一码的筛选并获得的条目信息;将条目信息发送至终端以使终端选择条目信息进行下载。
此外,为实现上述目的,本发明还提供一种服务器,包括:数据接收模块,用于接收终端发送的数据信息;唯一码创建模块,与数据接收模块连接,用于采用预设编码方式为数据信息中的每一条目信息创建唯一码;时间戳加盖模块,与唯一码创建模块连接,用于为终端根据条目信息以及唯一码结合形成的数据包加盖时间戳;时间戳发送模块,与时间戳加盖模块连接,用于将时间戳发送至终端,以使终端将包含时间戳的数据包写入区块链。
此外,为实现上述目的,本发明还提供一种服务器,包括:第二存储器、第二处理器及存储在第二存储器上并可在第二处理器上运行的第一计算机程序,第一计算机程序被第二处理器执行时实现前述的基于区块链的知识管理方法的步骤。
本发明通过发送数据信息至服务器;接收服务器根据数据信息的条目信息创建的唯一码;根据条目信息以及唯一码结合形成数据包并发送至服务器;接收服务器为数据包加盖的时间戳;将包含时间戳的数据包写入区块链,由于哈希运算信息一旦被写入区块链,则难以更改,一旦出现篡改,就算是一个字符的变化,都会导致运算结果出现显著变化,在知识产权保护领域中,哈希码配合时间戳能够提供一种可靠的时间证明,能够保证知识信息记录的及时有效性。
附图说明
图1是本发明实施例方案涉及的硬件运行环境的终端的结构示意图;
图2为本发明基于区块链的知识管理方法的第一实施例的流程示意图;
图3为本发明终端的第一实施例的结构示意图;
图4为本发明终端的第二实施例的结构示意图;
图5为本发明基于区块链的知识管理方法的第二实施例的流程示意图;
图6为本发明服务器的第一实施例的结构示意图;
图7为本发明服务器的第二实施例的结构示意图;
图8是本发明实施例方案涉及的硬件运行环境的服务器的结构示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例的主要解决方案是:终端发送数据信息至服务器,服务器为数据信息中的第一条目信息创建唯一码;终端根据条目信息以及唯一码结合形成数据包;服务器应终端请求为数据包加盖的时间戳,终端将包含时间戳的数据包写入区块链。
由于现有技术区块链无法保证知识信息记录的及时有效性,本发明提供一种解决方案,终端发送数据信息至服务器,服务器为数据信息中的第一条目信息创建唯一码;终端根据条目信息以及唯一码结合形成数据包;服务器应终端请求为数据包加盖的时间戳,终端将包含时间戳的数据包写入区块链能够保证知识信息记录的及时有效性。
如图1所示,图1是本发明实施例方案涉及的硬件运行环境的终端的结构示意图。
本发明实施例终端可以是PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面3)播放器、便携计算机等具有显示功能的可移动式终端设备。
如图1所示,该终端可以包括:第一处理器1001,例如CPU,第一网络接口1004,第一用户接口1003,第一存储器1005,第一通信总线1002。其中,第一通信总线1002用于实现这些组件之间的连接通信。第一用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选的第一用户接口1003还可以包括标准的有线接口、无线接口。第一网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。第一存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。第一存储器1005可选的还可以是独立于前述第一处理器1001的存储装置。
可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机存储介质的第一存储器1005中可以包括第一操作***、第一网络通信模块、第一用户接口模块以及第一计算机程序。
在图1所示的终端中,第一网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;第一用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而第一处理器1001可以用于调用第一存储器1005中存储的第一计算机程序,并执行以下操作:
发送数据信息至服务器;
接收服务器根据数据信息的条目信息创建的唯一码;
根据条目信息以及唯一码结合形成数据包并发送至服务器;
接收服务器为数据包加盖的时间戳;
将包含时间戳的数据包写入区块链。
进一步地,第一处理器1001可以调用第一存储器1005中存储的第一计算机程序,还执行以下操作:
对条目信息进行哈希运算获得哈希码;
将唯一码与哈希码结合形成数据包并发送至服务器。
进一步地,第一处理器1001可以调用第一存储器1005中存储的第一计算机程序,还执行以下操作:
发送查询信息至服务器;
接收服务器根据查询信息进行唯一码的筛选而获得的条目信息;
选择条目信息进行下载。
参照图2,本发明第一实施例提供一种基于区块链的知识管理方法,所述基于区块链的知识管理方法包括:
步骤S10,发送数据信息至服务器。
在步骤S10之前,将用户身份信息传输至服务器创建一对密钥,其中,密钥包括私钥和公钥;将经私钥加密的登录信息发送至服务器进行登录。具体地,终端提供用户身份信息等内容注册,并发送至服务器以验证用户身份信息,进而使服务器为用户创建一对密钥。其中,公钥全网公开,私钥用户自己保存。用户需要进行登录时,终端使用私钥加密登录信息并发送至服务器,以使服务器能够采用相应终端的公钥解密并认证登录信息。
在步骤S10中,终端对需要发送的数据信息进行高级加密标准(Advanced Encryption Standard,AES)等方式的加密,并将加密后的数据信息发送至服务器。在本发明实施例中,数据信息可以包括文本、图片、音频、视频等信息内容。
步骤S11,接收服务器根据数据信息的条目信息创建的唯一码。
其中,唯一码包括身份、条目类别、条目摘要的至少之一。当然唯一码还可以包括其他信息,在此不再赘述。
步骤S12,根据条目信息以及唯一码结合形成数据包并发送至服务器。
在步骤S12中,对条目信息进行哈希运算获得哈希码;将唯一码与哈希码结合形成数据包并发送至服务器。由于哈希运算信息一旦被写入区块链,则难以更改,一旦出现篡改,就算是一个字符的变化,都会导致运算结果出现显著变化,在知识产权保护领域中,哈希码配合时间戳能够提供一种可靠的时间证明,能够保证知识信息记录的及时有效性。
步骤S13,接收服务器为数据包加盖的时间戳。
具体地,首先向服务器发送时间戳请求信息,以使服务器根据该时间戳请求信息为数据包加盖时间戳,终端接收该时间戳。
步骤S14,将包含时间戳的数据包写入区块链。
如此完成基于区块链技术的数据存储与管理,能够保证知识信息记录的及时有效性。
在本发明实施例中,区域链的高冗余存储(每个节点存储一份数据)、去中心化、高安全性和隐私保护等特点使其特别适合存储和保护重要隐私数据,以避免因中心化机构遭受攻击或权限管理不当而造成的大规模数据丢失或泄露。与比特币交易数据类似地,任意数据均可通过哈希运算生成相应的梅克尔(Merkle)树并打包记入区块链,通过内共识节点的哈希运算和非对称加密技术来保证安全性。区块链的多重签名技术可以灵活配置数据访问的权限,例如必须获得指定5个人中3个人的私钥授权才可获得访问权限。另外,利用区块链来存储个人健康数据(如电子病历、基因数据等)是极具前景的应用领域,此外存储各类重要电子文件(视频、图片、文本等)乃至人类思想和意识等也可以有一定应用空间。
另外,区块链数据带有时间戳、由共识节点共同验证和记录、不可篡改和伪造,这些特点使得区块链可以永久地安全存储由政府机构核发的各类许可证、登记表、执照、证明、认证和记录等,并可在任意时间方便地证明某项数据在存在性和一定程度上的真实性。
区块链在资产管理领域能够实现有形和无形资产的确权、授权和实时监控。对于无形资产来说,基于时间戳技术和不可篡改等特点,可以将区块链技术应用于知识产权保护、域名管理、积分管理等领域;而对有形资产来说,通过结合物联网技术为资产设计唯一标识并部署到区块链上,能够形成“数字智能资产”,实现基于区块链的分布式资产授权和控制。例如,通过对房屋、车辆等实物资产的区块链密钥授权,可以基于特定权限来发放和回收资产的使用权,有助于爱彼迎(AirBed and Breakfast,Airbnb)等房屋租赁或车辆租赁等商业模式实现自动化的资产交接;通过结合物联网的资产标记和识别技术,还可以利用区块链实现灵活的供应链管理和产品溯源等功能。
在本实施例中,终端需要进行信息查询时,终端首先进行用户登录,登录方法与前者相同,不再赘述。然后终端发送查询信息至服务器;接收服务器根据查询信息进行唯一码的筛选而获得的条目信息;选择条目信息进行下载。其中,查询信息包括身份信息、存储时间等。
在本实施例中,通过发送数据信息至服务器;接收服务器根据数据信息的条目信息创建的唯一码;根据条目信息以及唯一码结合形成数据包并发送至服务器;接收服务器为数据包加盖的时间戳;将包含时间戳的数据包写入区块链,由于哈希运算信息一旦被写入区块链,则难以更改,一旦出现篡改,就算是一个字符的变化,都会导致运算结果出现显著变化,在知识产权保护领域中,哈希码配合时间戳能够提供一种可靠的时间证明,能够保证知识信息记录的及时有效性。
进一步的,参照图3,本发明还提供一种终端,基于上述图2所示的实施例,所述终端10包括:数据发送模块11、创建模块12、数据包形成模块13、时间戳接收模块14以及写入模块15。数据发送模块11用于发送数据信息至服务器。创建模块12与发送模块11连接,用于接收服务器根据数据信息的条目信息创建的唯一码。数据包形成模块13与创建模块12连接,用于根据条目信息以及唯一码结合形成数据包并发送至服务器。时间戳接收模块14与数据包形成模块13连接,用于接收服务器为数据包加盖的时间戳。写入模块15与时间戳接收模块14连接,用于将包含时间戳的数据包写入区块链,如此,能够保证知识信息记录的及时有效性。
在本发明实施例中,参照图4,数据包形成模块13包括:哈希码获取模块131与创建模块12连接,用于对条目信息进行哈希运算获得哈希码; 结合模块132与哈希码获取模块131连接,用于将唯一码与哈希码结合形成数据包并发送至服务器。由于哈希运算信息一旦被写入区块链,则难以更改,一旦出现篡改,就算是一个字符的变化,都会导致运算结果出现显著变化,在知识产权保护领域中,哈希码配合时间戳能够提供一种可靠的时间证明,能够保证知识信息记录的及时有效性。其中,唯一码包括身份、条目类别、条目摘要的至少之一。当然唯一码还可以包括其他信息,在此不再赘述。
在本发明实施例中,继续参照图4,终端10包括:密钥创建模块16、登录信息发送模块17。密钥创建模块16,用于将用户身份信息传输至服务器创建一对密钥,其中,密钥包括私钥和公钥。登录信息发送模块17与密钥创建模块和数据发送模块11连接,用于将经私钥加密的登录信息发送至服务器进行登录。具体地,终端提供用户身份信息等内容注册,并通过密钥创建模块16发送至服务器以验证用户身份信息,进而使服务器为用户创建一对密钥。其中,公钥全网公开,私钥用户自己保存。用户需要进行登录时,登录信息发送模块17使用私钥加密登录信息并发送至服务器,以使服务器能够采用相应终端的公钥解密并认证登录信息。
在本发明实施例中,数据发送模块11发送数据信息至服务器时,对需要发送的数据信息进行高级加密标准(Advanced Encryption Standard,AES)等方式的加密,并将加密后的数据信息发送至服务器。在本发明实施例中,数据信息可以包括文本、图片、音频、视频等信息内容。
在本发明实施例中,时间戳接收模块14接收服务器为数据包加盖的时间戳之前,终端10首先向服务器发送时间戳请求信息,以使服务器根据该时间戳请求信息为数据包加盖时间戳,进而时间戳接收模块14接收该时间戳。
继续参照图4,终端10包括:查询信息发送模块18、条目信息接收模块19以及下载模块101。终端10需要进行信息查询时,终端10首先进行用户登录,登录方法与前者相同,不再赘述。然后查询信息发送模块18与登录信息发送模块17连接,用于发送查询信息至服务器;条目信息接收模块19与查询信息发送模块18连接,用于接收服务器根据查询信息进行唯一码的筛选而获得的条目信息;下载模块101与条目信息接收模块19连接,用于选择条目信息进行下载。其中,查询信息包括身份信息、存储时间等。
此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有第一计算机程序,所述第一计算机程序被处理器执行时实现如下操作:
发送数据信息至服务器;
接收服务器根据数据信息的条目信息创建的唯一码;
根据条目信息以及唯一码结合形成数据包并发送至服务器;
接收服务器为数据包加盖的时间戳;
将包含时间戳的数据包写入区块链。
进一步地,所述第一计算机程序被处理器执行时还实现如下操作:
对条目信息进行哈希运算获得哈希码;
将唯一码与哈希码结合形成数据包并发送至服务器。
进一步地,所述第一计算机程序被处理器执行时还实现如下操作:
发送查询信息至服务器;
接收服务器根据查询信息进行唯一码的筛选而获得的条目信息;
选择条目信息进行下载。
参照图5,本发明第二实施例提供一种基于区块链的知识管理方法,所述基于区块链的知识管理方法包括:
步骤S20:接收终端发送的数据信息。
其中,数据信息可以包括文本、图片、音频、视频等信息内容。
在步骤S20之前,接收终端发送的用户身份信息;根据用户身份信息创建一对密钥,其中,密钥包括私钥和公钥;接收终端发送的经私钥加密的登录信息,并应用公钥认证登录信息。在本实施例中,终端提供用户身份信息等内容注册,服务器接收终端发送的用户身份信息,并验证该用户身份信息,从而创建一对密钥。其中,公钥全网公开,私钥用户自己保存。用户需要进行登录时,终端使用私钥加密登录信息并发送至服务器,服务器采用相应终端的公钥解密并认证登录信息。
步骤S21:采用预设编码方式为数据信息中的每一条目信息创建唯一码。
其中,唯一码包括身份、条目类别、条目摘要的至少之一。当然唯一码还可以包括其他信息,在此不再赘述。在步骤S21之前,需要对接收数据信息进行解密审核。
步骤S22:为终端根据条目信息以及唯一码结合形成的数据包加盖时间戳。
在步骤S22中,服务器首先接收终端发送的时间戳请求,进而应该时间戳请求为数据包加盖时间戳。
在本发明实施例中,数据包的形成是终端对条目信息进行哈希运算获得哈希码,进而将唯一码与哈希码结合形成的。由于哈希运算信息一旦被写入区块链,则难以更改,一旦出现篡改,就算是一个字符的变化,都会导致运算结果出现显著变化,在知识产权保护领域中,哈希码配合时间戳能够提供一种可靠的时间证明,能够保证知识信息记录的及时有效性。
步骤S23:将时间戳发送至终端,以使终端将包含时间戳的数据包写入区块链。如此完成基于区块链技术的数据存储与管理,能够保证知识信息记录的及时有效性。
在本实施例中,终端需要进行信息查询时,终端首先进行用户登录,登录方法与前者相同,不再赘述。然后服务器接收终端发送的查询信息;根据查询信息进行唯一码的筛选并获得的条目信息;将条目信息发送至终端以使终端选择条目信息进行下载。其中,查询信息包括身份信息、存储时间等。
进一步的,参照图6,本发明还提供一种服务器,基于上述图5所示的实施例,所述服务器20包括:数据接收模块21、唯一码创建模块22、时间戳加盖模块23以及时间戳发送模块24。数据接收模块21用于接收终端发送的数据信息。唯一码创建模块22与数据接收模块21连接,用于采用预设编码方式为数据信息中的每一条目信息创建唯一码。时间戳加盖模块23与唯一码创建模块22连接,用于为终端根据条目信息以及唯一码结合形成的数据包加盖时间戳。时间戳发送模块24与时间戳加盖模块23连接,用于将时间戳发送至终端,以使终端将包含时间戳的数据包写入区块链。如此完成基于区块链技术的数据存储与管理,能够保证知识信息记录的及时有效性。
在本实施例中,数据信息可以包括文本、图片、音频、视频等信息内容。唯一码包括身份、条目类别、条目摘要的至少之一。当然唯一码还可以包括其他信息,在此不再赘述。唯一码创建模块22在采用预设编码方式为数据信息中的每一条目信息创建唯一码之前,需要对接收数据信息进行解密审核。而时间戳加盖模块23是应终端的时间戳请求为数据包加盖时间戳。
在本发明实施例中,数据包的形成是终端对条目信息进行哈希运算获得哈希码,进而将唯一码与哈希码结合形成的。由于哈希运算信息一旦被写入区块链,则难以更改,一旦出现篡改,就算是一个字符的变化,都会导致运算结果出现显著变化,在知识产权保护领域中,哈希码配合时间戳能够提供一种可靠的时间证明,能够保证知识信息记录的及时有效性。
在本实施例中,参见图7,服务器20包括:身份信息接收模块25、密钥创建模块26以及认证模块27。在数据接收模块21用于接收终端发送的数据信息之前,身份信息接收模块25用于接收终端发送的用户身份信息;密钥创建模块26与身份信息接收模块25连接,用于根据用户身份信息创建一对密钥,其中,密钥包括私钥和公钥;认证模块27与密钥创建模块26和数据接收模块21连接,用于接收终端发送的经私钥加密的登录信息,并应用公钥认证登录信息。在本实施例中,终端提供用户身份信息等内容注册,身份信息接收模块25接收终端发送的用户身份信息,认证模块27验证该用户身份信息,需密钥创建模块26创建一对密钥。其中,公钥全网公开,私钥用户自己保存。用户需要进行登录时,终端使用私钥加密登录信息并发送至服务器,服务器20中的认证模块27采用相应终端的公钥解密并认证登录信息。
继续参见图7,服务器20包括:查询信息接收模块28、筛选模块29以及条目信息发送模块201。终端需要进行信息查询时,终端首先进行用户登录,登录方法与前者相同,不再赘述。然后查询信息接收模块28与认证模块27连接,用于接收终端发送的查询信息;筛选模块29用于查询信息接收模块28连接,用于根据查询信息进行唯一码的筛选并获得的条目信息;条目信息发送模块201与筛选模块29连接,用于将条目信息发送至终端以使终端选择条目信息进行下载。其中,查询信息包括身份信息、存储时间等。
如图8所示,图8是本发明实施例方案涉及的硬件运行环境的服务器的结构示意图。
本发明实施例服务器可以是PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面3)播放器、便携计算机等具有显示功能的可移动式终端设备。
如图8所示,该服务器可以包括:第二处理器2001,例如CPU,第二网络接口2004,第二用户接口2003,第二存储器2005,第二通信总线2002。其中,第二通信总线2002用于实现这些组件之间的连接通信。第二用户接口2003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选第二用户接口2003还可以包括标准的有线接口、无线接口。第二网络接口2004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。第二存储器2005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。第二存储器2005可选的还可以是独立于前述第二处理器2001的存储装置。
可选地,服务器还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,服务器还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
本领域技术人员可以理解,图8中示出的服务器结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图8所示,作为一种计算机存储介质的第二存储器2005中可以包括第二操作***、第二网络通信模块、第二用户接口模块以及第二计算机程序。
在图8所示的终端中,第二网络接口2004主要用于连接终端,与终端进行数据通信;第二用户接口2003主要用于连接客户端(用户端),与客户端进行数据通信;而第二处理器2001可以用于调用第二存储器2005中存储的第二计算机程序,并执行以下操作:
接收终端发送的数据信息;
采用预设编码方式为数据信息中的每一条目信息创建唯一码;
为终端根据条目信息以及唯一码结合形成的数据包加盖时间戳;
将时间戳发送至终端,以使终端将包含时间戳的数据包写入区块链。
进一步地,第二处理器2001可以调用第二存储器2005中存储的第二计算机程序,还执行以下操作:
接收终端发送的查询信息;
根据查询信息进行唯一码的筛选并获得的条目信息;
将条目信息发送至终端以使终端选择条目信息进行下载。
此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有第二计算机程序,所述第二计算机程序被处理器执行时实现如下操作:
接收终端发送的数据信息;
采用预设编码方式为数据信息中的每一条目信息创建唯一码;
为终端根据条目信息以及唯一码结合形成的数据包加盖时间戳;
将时间戳发送至终端,以使终端将包含时间戳的数据包写入区块链。
进一步地,所述第二计算机程序被处理器执行时还实现如下操作:
接收终端发送的查询信息;
根据查询信息进行唯一码的筛选并获得的条目信息;
将条目信息发送至终端以使终端选择条目信息进行下载。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者***不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者***所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者***中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (18)

  1. 一种基于区块链的知识管理方法,其特征在于,所述基于区块链的知识管理方法包括以下步骤:
    发送数据信息至所述服务器;
    接收所述服务器根据所述数据信息的条目信息创建的唯一码;
    根据所述条目信息以及所述唯一码结合形成数据包并发送至所述服务器;
    接收所述服务器为所述数据包加盖的时间戳;
    将包含所述时间戳的所述数据包写入区块链。
  2. 如权利要求1所述的基于区块链的知识管理方法,其特征在于,所述根据所述条目信息以及所述唯一码结合形成数据包并发送至所述服务器的步骤,包括:
    对所述条目信息进行哈希运算获得哈希码;
    将所述唯一码与所述哈希码结合形成所述数据包并发送至所述服务器。
  3. 如权利要求1所述的基于区块链的知识管理方法,其特征在于,所述基于区块链的知识管理方法还包括:
    发送查询信息至所述服务器;
    接收所述服务器根据所述查询信息进行所述唯一码的筛选而获得的所述条目信息;
    选择所述条目信息进行下载。
  4. 如权利要求2所述的基于区块链的知识管理方法,其特征在于,所述基于区块链的知识管理方法还包括:
    发送查询信息至所述服务器;
    接收所述服务器根据所述查询信息进行所述唯一码的筛选而获得的所述条目信息;
    选择所述条目信息进行下载。
  5. 一种终端,其特征在于,所述终端包括:
    数据发送模块,用于发送数据信息至所述服务器;
    创建模块,与所述发送模块连接,用于接收所述服务器根据所述数据信息的条目信息创建的唯一码;
    数据包形成模块,与所述创建模块连接,用于根据所述条目信息以及所述唯一码结合形成数据包并发送至所述服务器;
    时间戳接收模块,与所述数据包形成模块连接,用于接收所述服务器为所述数据包加盖的时间戳;
    写入模块,与所述时间戳接收模块连接,用于将包含所述时间戳的所述数据包写入区块链。
  6. 如权利要求5所述的终端,其特征在于,所述数据包形成模块包括:
    哈希码获取模块,与所述创建模块连接,用于对所述条目信息进行哈希运算获得所述哈希码;
    结合模块,与所述哈希码获取模块连接,用于将所述唯一码与所述哈希码结合形成所述数据包并发送至所述服务器。
  7. 如权利要求5所述的终端,其特征在于,所述数据发送模块还用于用于发送查询信息至所述服务器;所述终端还包括:
    条目信息接收模块,用于接收所述服务器根据所述查询信息进行所述唯一码的筛选而获得的所述条目信息;
    下载模块,用于选择所述条目信息进行下载。
  8. 如权利要求6所述的终端,其特征在于,所述终端还包括:
    查询信息发送模块,用于发送查询信息至所述服务器;
    条目信息接收模块,用于接收所述服务器根据所述查询信息进行所述唯一码的筛选而获得的所述条目信息;
    下载模块,用于选择所述条目信息进行下载。
  9. 一种终端,其特征在于,所述终端包括:第一存储器、第一处理器及存储在所述第一存储器上并可在所述第一处理器上运行的第一计算机程序,所述第一计算机程序被所述第一处理器执行时实现如权利要求1所述的基于区块链的知识管理方法的步骤。
  10. 一种终端,其特征在于,所述终端包括:第一存储器、第一处理器及存储在所述第一存储器上并可在所述第一处理器上运行的第一计算机程序,所述第一计算机程序被所述第一处理器执行时实现如权利要求2所述的基于区块链的知识管理方法的步骤。
  11. 一种终端,其特征在于,所述终端包括:第一存储器、第一处理器及存储在所述第一存储器上并可在所述第一处理器上运行的第一计算机程序,所述第一计算机程序被所述第一处理器执行时实现如权利要求3所述的基于区块链的知识管理方法的步骤。
  12. 一种终端,其特征在于,所述终端包括:第一存储器、第一处理器及存储在所述第一存储器上并可在所述第一处理器上运行的第一计算机程序,所述第一计算机程序被所述第一处理器执行时实现如权利要求4所述的基于区块链的知识管理方法的步骤。
  13. 一种基于区块链的知识管理方法,其特征在于,所述基于区块链的知识管理方法包括以下步骤:
    接收终端发送的数据信息;
    采用预设编码方式为所述数据信息中的每一条目信息创建唯一码;
    为所述终端根据所述条目信息以及所述唯一码结合形成的数据包加盖时间戳;
    将所述时间戳发送至所述终端,以使所述终端将包含所述时间戳的所述数据包写入区块链。
  14. 如权利要求13所述的基于区块链的知识管理方法,其特征在于,所述基于区块链的知识管理方法还包括:
    接收所述终端发送的查询信息;
    根据所述查询信息进行所述唯一码的筛选并获得的所述条目信息;
    将所述条目信息发送至所述终端以使所述终端选择所述条目信息进行下载。
  15. 一种服务器,其特征在于,所述服务器包括:
    数据接收模块,用于接收终端发送的数据信息;
    唯一码创建模块,与所述数据接收模块连接,用于采用预设编码方式为所述数据信息中的每一条目信息创建唯一码;
    时间戳加盖模块,与所述唯一码创建模块连接,用于为所述终端根据所述条目信息以及所述唯一码结合形成的数据包加盖时间戳;
    时间戳发送模块,与所述时间戳加盖模块连接,用于将所述时间戳发送至所述终端,以使所述终端将包含所述时间戳的所述数据包写入区块链。
  16. 如权利要求15所述的服务器,其特征在于,所述是数据接收模块还用于接收所述终端发送的查询信息;所述服务器还包括:
    筛选模块,根据所述查询信息进行所述唯一码的筛选并获得的所述条目信息;
    条目信息发送模块,用于将所述条目信息发送至所述终端以使所述终端选择所述条目信息进行下载。
  17. 一种服务器,其特征在于,所述服务器包括:第二存储器、第二处理器及存储在所述第二存储器上并可在所述第二处理器上运行的第二计算机程序,所述第二计算机程序被所述第二处理器执行时实现如权利要求13所述的基于区块链的知识管理方法的步骤。
  18. 如权利要求17所述的服务器,其特征在于,所述服务器包括:第二存储器、第二处理器及存储在所述第二存储器上并可在所述第二处理器上运行的第二计算机程序,所述第二计算机程序被所述第二处理器执行时实现如权利要求14所述的基于区块链的知识管理方法的步骤。
PCT/CN2017/096620 2017-07-31 2017-08-09 基于区块链的知识管理方法、终端及服务器 WO2019024126A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710644879.7 2017-07-31
CN201710644879.7A CN107612695A (zh) 2017-07-31 2017-07-31 基于区块链的知识管理方法、终端及服务器

Publications (1)

Publication Number Publication Date
WO2019024126A1 true WO2019024126A1 (zh) 2019-02-07

Family

ID=61064261

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/096620 WO2019024126A1 (zh) 2017-07-31 2017-08-09 基于区块链的知识管理方法、终端及服务器

Country Status (2)

Country Link
CN (1) CN107612695A (zh)
WO (1) WO2019024126A1 (zh)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111108526A (zh) * 2019-09-02 2020-05-05 阿里巴巴集团控股有限公司 管理基于区块链的中心化账本***
CN111833059A (zh) * 2020-07-02 2020-10-27 清华大学 一种数据银行中的数据资产管理方法和数据银行***
US11250428B2 (en) 2020-04-22 2022-02-15 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
US11271760B2 (en) 2019-09-02 2022-03-08 Advanced New Technologies Co., Ltd. Managing blockchain-based centralized ledger systems
US11455297B2 (en) 2020-04-22 2022-09-27 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
US11455631B2 (en) 2020-04-22 2022-09-27 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
CN116055308A (zh) * 2023-02-10 2023-05-02 青岛闪收付信息技术有限公司 一种供应链金融平台的底层区块链网络部署方法及装置

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3859636A1 (en) * 2018-03-16 2021-08-04 Koch Industries, Inc. Access controlled distributed ledger system for asset management
CN108830136A (zh) * 2018-04-26 2018-11-16 杨春花 一种基于大数据分析的立体车库安防方法
CN110245144B (zh) * 2018-04-27 2022-02-22 腾讯科技(深圳)有限公司 协议数据管理方法、装置、存储介质及***
CN108681887A (zh) * 2018-07-25 2018-10-19 浙江阳光智联区块链科技有限公司 基于物联网和区块链的绿色资产管理***
CN109299943A (zh) * 2018-10-16 2019-02-01 深圳市乘法信息技术有限公司 一种基于区块链的知识产权交易的方法及装置
CN109934581A (zh) * 2019-01-24 2019-06-25 成都捕风数据科技有限公司 一种含有安全保障措施的非同质资产应用模式
CN110084623B (zh) * 2019-04-18 2021-03-19 深圳市科迈爱康科技有限公司 基于区块链的产品防伪方法、装置和立体标签防伪产品
CN111563759B (zh) * 2020-06-24 2023-09-01 浙江天演维真网络科技股份有限公司 基于ai技术的农产品溯源过程的识别与分析***

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105931052A (zh) * 2016-04-21 2016-09-07 四川大学 一种基于区块链多因子交叉验证的虚拟货币交易验证方法
CN105975868A (zh) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 一种基于区块链的证据保全方法及装置
CN106130728A (zh) * 2016-04-29 2016-11-16 北京太云科技有限公司 一种基于区块链的数字资产登记方法及其服务器

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407481B (zh) * 2016-11-30 2019-12-03 福州微启迪物联科技有限公司 基于区块链架构的生态环境监管***及其实现方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105931052A (zh) * 2016-04-21 2016-09-07 四川大学 一种基于区块链多因子交叉验证的虚拟货币交易验证方法
CN105975868A (zh) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 一种基于区块链的证据保全方法及装置
CN106130728A (zh) * 2016-04-29 2016-11-16 北京太云科技有限公司 一种基于区块链的数字资产登记方法及其服务器

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11271760B2 (en) 2019-09-02 2022-03-08 Advanced New Technologies Co., Ltd. Managing blockchain-based centralized ledger systems
US10749696B1 (en) 2019-09-02 2020-08-18 Alibaba Group Holding Limited Managing blockchain-based centralized ledger systems
CN111108526B (zh) * 2019-09-02 2024-04-12 创新先进技术有限公司 管理基于区块链的中心化账本***
US10904017B2 (en) 2019-09-02 2021-01-26 Advanced New Technologies Co., Ltd. Managing blockchain-based centralized ledger systems
WO2021042247A1 (en) * 2019-09-02 2021-03-11 Advanced New Technologies Co., Ltd. Managing blockchain-based centralized ledger systems
EP3808030A4 (en) * 2019-09-02 2021-04-21 Advanced New Technologies Co., Ltd. MANAGEMENT OF BLOCKCHAIN-BASED CENTRALIZED LEDGER SYSTEMS
CN111108526A (zh) * 2019-09-02 2020-05-05 阿里巴巴集团控股有限公司 管理基于区块链的中心化账本***
US11250428B2 (en) 2020-04-22 2022-02-15 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
US11455297B2 (en) 2020-04-22 2022-09-27 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
US11455631B2 (en) 2020-04-22 2022-09-27 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
CN111833059B (zh) * 2020-07-02 2024-04-09 清华大学 一种数据银行中的数据资产管理方法和数据银行***
CN111833059A (zh) * 2020-07-02 2020-10-27 清华大学 一种数据银行中的数据资产管理方法和数据银行***
CN116055308A (zh) * 2023-02-10 2023-05-02 青岛闪收付信息技术有限公司 一种供应链金融平台的底层区块链网络部署方法及装置
CN116055308B (zh) * 2023-02-10 2024-01-05 青岛闪收付信息技术有限公司 一种供应链金融平台的底层区块链网络部署方法及装置

Also Published As

Publication number Publication date
CN107612695A (zh) 2018-01-19

Similar Documents

Publication Publication Date Title
WO2019024126A1 (zh) 基于区块链的知识管理方法、终端及服务器
US9959413B2 (en) Security and data privacy for lighting sensory networks
WO2019144738A1 (zh) 金融业务的验证方法、装置、设备和计算机存储介质
WO2020029585A1 (zh) 基于迁移学习的神经网络联邦建模方法、设备及存储介质
WO2021010766A1 (ko) 블록 체인을 이용한 전자 인증 장치 및 그 방법
WO2020224246A1 (zh) 基于区块链的数据管理方法、装置、设备和存储介质
WO2019127973A1 (zh) 镜像仓库的权限认证方法、***、设备及存储介质
WO2014063455A1 (zh) 即时通信方法和***
WO2014008858A1 (zh) 实现跨域跳转的方法以及浏览器、域名服务器
WO2020141660A1 (en) Electronic apparatus managing data based on block chain and method for managing data
WO2020253120A1 (zh) 网页注册方法、***、设备和计算机存储介质
WO2015101332A1 (zh) 密码分级管理方法和***
JP2004312267A (ja) 画像伝送システム,撮像装置,撮像装置ユニット,鍵生成装置,およびプログラム
WO2021027134A1 (zh) 数据存储方法、装置、设备和计算机存储介质
WO2020231177A1 (en) Electronic device and method for receiving push message stored in blockchain
WO2020034527A1 (zh) 用户个人信息加密授权方法、装置、设备及可读存储介质
WO2020186775A1 (zh) 业务数据提供方法、装置、设备及计算机可读存储介质
WO2020032351A1 (ko) 익명 디지털 아이덴티티 수립 방법
JP7133589B2 (ja) Nftアクセス制限システムおよびnftアクセス制限プログラム
WO2020062661A1 (zh) 合同数据一致性的核实方法、装置、设备及存储介质
WO2020206899A1 (zh) 基于时间戳的身份验证方法、装置、设备及存储介质
WO2018076879A1 (zh) 数据备份方法、装置、存储介质及终端
WO2018053904A1 (zh) 一种信息处理方法及终端
WO2020190099A1 (en) Electronic device for managing personal information and operating method thereof
WO2015161644A1 (zh) 一种资源地址的生成方法、装置及***

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17919834

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17919834

Country of ref document: EP

Kind code of ref document: A1