CN107612695A - Knowledge management method, terminal and server based on block chain - Google Patents

Knowledge management method, terminal and server based on block chain Download PDF

Info

Publication number
CN107612695A
CN107612695A CN201710644879.7A CN201710644879A CN107612695A CN 107612695 A CN107612695 A CN 107612695A CN 201710644879 A CN201710644879 A CN 201710644879A CN 107612695 A CN107612695 A CN 107612695A
Authority
CN
China
Prior art keywords
information
server
terminal
timestamp
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710644879.7A
Other languages
Chinese (zh)
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 Comexe Ikang Science And Technology Co Ltd
Original Assignee
Shenzhen Comexe Ikang Science And 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 Comexe Ikang Science And Technology Co Ltd filed Critical Shenzhen Comexe Ikang Science And Technology Co Ltd
Priority to CN201710644879.7A priority Critical patent/CN107612695A/en
Priority to PCT/CN2017/096620 priority patent/WO2019024126A1/en
Publication of CN107612695A publication Critical patent/CN107612695A/en
Pending legal-status Critical Current

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

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

The invention discloses a kind of knowledge management method based on block chain, comprise the following steps:Data message is sent to server;Unique code that the reception server creates according to the items for information of data message;Packet is combined to form according to items for information and unique code and sent to server;The reception server is the timestamp of packet capping;Packet comprising timestamp is write into block chain.The invention also discloses a kind of master terminal and server.The present invention can ensure the timely and effective property of knowledge information record.

Description

Knowledge management method, terminal and server based on block chain
Technical field
The present invention relates to internet of things field, more particularly to a kind of knowledge management method based on block chain, terminal and Server.
Background technology
Block chain (Blockchain) is a key concept of bit coin, and block chain is a string of use cryptography method phases Data block caused by association, contains over the information of all bit coin network tradings in ten minutes in each data block, uses In the validity (false proof) and the next block of generation of verifying its information.
Credit that block chain provides a kind of decentralization, being accumulated without trust establishes normal form.Block chain technological essence It is decentralization and resides in the method for the data storage of distributed frame, transmission and proof, instead of with data block (Block) Dependence of the internet to central server at present so that the change of all data or trading item be all recorded in a cloud system it On, realizing in theory in data transfer self proves data.
Block chain can apply to data storage, data are discerned and the field such as asset management, but existing block chain The timely and effective property of knowledge information record can not be ensured.
The content of the invention
It is a primary object of the present invention to provide a kind of knowledge management method based on block chain, terminal and server, energy Enough ensure the timely and effective property of knowledge information record.
To achieve the above object, the present invention provides a kind of knowledge management method based on block chain, comprises the following steps:Hair Data message is sent to server;Unique code that the reception server creates according to the items for information of data message;According to items for information And unique code combines to form packet and sent to server;The reception server is the timestamp of packet capping;It will include The packet write-in block chain of timestamp.
Preferably, the step of packet being combined to form according to items for information and unique code and being sent to server, including: Hash operation is carried out to items for information and obtains Hash codes;Unique code and Hash codes are combined to form into packet and sent to service Device.
Being preferably based on the knowledge management method of block chain also includes:Query Information is sent to server;The reception server The items for information that the screening of unique code is carried out according to Query Information and obtained;Selection items for information is downloaded.
In addition, to achieve the above object, the present invention also provides a kind of terminal, including:Data transmission blocks, for sending number It is believed that cease to server;Creation module, it is connected with sending module, is created for the reception server according to the items for information of data message The unique code built;Packet forms module, is connected with creation module, for combining to form number according to items for information and unique code According to wrapping and send to server;Timestamp receiving module, form module with packet and be connected, be packet for the reception server The timestamp of capping;Writing module, it is connected with timestamp receiving module, for the packet comprising timestamp to be write into block Chain.
Preferably, packet forms module and included:Hash codes acquisition module, is connected with creation module, for believing entry Breath carries out Hash operation and obtains Hash codes;Binding modules, it is connected with Hash codes acquisition module, for by unique code and Hash codes knot Conjunction forms packet and sent to server.
In addition, to achieve the above object, the present invention also provides a kind of terminal, including:First memory, first processor and The first computer program that can be run on the first memory and on first processor is stored, the first computer program is by first The step of foregoing knowledge management method based on block chain is realized during computing device.
In addition, to achieve the above object, the present invention also provides a kind of knowledge management method based on block chain, including following Step:The data message that receiving terminal is sent;Pre-arranged code mode is used to be created only for each items for information in data message One yard;The packet combined to form for terminal according to items for information and unique code is capped timestamp;Timestamp was sent to end End, so that the packet comprising timestamp is write block chain by terminal.
Being preferably based on the knowledge management method of block chain also includes:The Query Information that receiving terminal is sent;According to inquiry Information carries out the screening of unique code and the items for information obtained;Items for information is sent to terminal so that terminal selects items for information It is downloaded.
In addition, to achieve the above object, the present invention also provides a kind of server, including:Data reception module, for receiving The data message that terminal is sent;Unique code creation module, is connected with data reception module, for using pre-arranged code mode as number It is believed that each items for information in breath creates unique code;Timestamp is capped module, is connected with unique yard of creation module, for for end The packet that end combines to form according to items for information and unique code is capped timestamp;Timestamp sending module, with timestamp plus Cover module connects, for timestamp to be sent to terminal, so that the packet comprising timestamp is write block chain by terminal.
In addition, to achieve the above object, the present invention also provides a kind of server, including:Second memory, second processor And the first computer program that can be run on second memory and in second processor is stored in, the first computer program is by The step of foregoing knowledge management method based on block chain is realized during two computing devices.
The present invention is by sending data message to server;The reception server creates according to the items for information of data message Unique code;Packet is combined to form according to items for information and unique code and sent to server;The reception server is packet The timestamp of capping;Packet comprising timestamp is write into block chain, because Hash operation information is once written into block chain, Then it is difficult to change, once distorting, just the change of a character at last, can all cause operation result significant changes occur, In intellectual property protection field, Hash codes coordinate timestamp to provide a kind of reliable time-proven, can ensure that knowledge is believed Cease the timely and effective property of record.
Brief description of the drawings
Fig. 1 is the structural representation of the terminal for the hardware running environment that scheme of the embodiment of the present invention is related to;
Fig. 2 is the schematic flow sheet of the first embodiment of the knowledge management method of the invention based on block chain;
Fig. 3 is the structural representation of the first embodiment of terminal of the present invention;
Fig. 4 is the structural representation of the second embodiment of terminal of the present invention;
Fig. 5 is the schematic flow sheet of the second embodiment of the knowledge management method of the invention based on block chain;
Fig. 6 is the structural representation of the first embodiment of server of the present invention;
Fig. 7 is the structural representation of the second embodiment of server of the present invention;
Fig. 8 is the structural representation of the server for the hardware running environment that scheme of the embodiment of the present invention is related to.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:Terminal sends data message to server, server and believed for data The unique code of first entry information creating in breath;Terminal combines to form packet according to items for information and unique code;Server The timestamp that terminal request is packet capping is answered, the packet comprising timestamp is write block chain by terminal.
Because prior art block chain can not ensure the timely and effective property of knowledge information record, the present invention provides a kind of solve Scheme, terminal send data message to server, and server is the unique code of first entry information creating in data message;Terminal Packet is combined to form according to items for information and unique code;Server answers the timestamp that terminal request is packet capping, eventually End can ensure the packet write-in block chain comprising timestamp the timely and effective property of knowledge information record.
As shown in figure 1, Fig. 1 is the structural representation of the terminal for the hardware running environment that scheme of the embodiment of the present invention is related to.
Terminal of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound Frequency aspect 3) player, pocket computer etc. have the packaged type terminal device of display function.
As shown in figure 1, the terminal can include:First processor 1001, such as CPU, first network interface 1004, first User interface 1003, first memory 1005, the first communication bus 1002.Wherein, the first communication bus 1002 is used to realize this Connection communication between a little components.First user interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional first user interface 1003 can also include wireline interface, the wave point of standard.First network connects Mouth 1004 can optionally include wireline interface, the wave point (such as WI-FI interfaces) of standard.First memory 1005 can be High-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.First deposits Reservoir 1005 optionally can also be the storage device independently of foregoing first processor 1001.
Alternatively, terminal can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, audio Circuit, WiFi module etc..Wherein, sensor ratio such as optical sensor, motion sensor and other sensors.Specifically, light Sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can according to the light and shade of ambient light come The brightness of display screen is adjusted, proximity transducer can close display screen and/or backlight when mobile terminal is moved in one's ear.As One kind of motion sensor, gravity accelerometer can detect in all directions the size of (generally three axles) acceleration, quiet Size and the direction of gravity are can detect that when only, the application available for identification mobile terminal posture is (such as horizontal/vertical screen switching, related Game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, mobile terminal can also match somebody with somebody The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor are put, will not be repeated here.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can be wrapped Include than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, it is as the first operation can be included in a kind of first memory 1005 of computer-readable storage medium System, first network communication module, the first Subscriber Interface Module SIM and the first computer program.
In the terminal shown in Fig. 1, first network interface 1004 is mainly used in connecting background server, with background server Enter row data communication;First user interface 1003 is mainly used in connecting client (user terminal), enters row data communication with client; And first processor 1001 can be used for calling the first computer program stored in first memory 1005, and perform following grasp Make:
Data message is sent to server;
Unique code that the reception server creates according to the items for information of data message;
Packet is combined to form according to items for information and unique code and sent to server;
The reception server is the timestamp of packet capping;
Packet comprising timestamp is write into block chain.
Further, first processor 1001 can call the first computer program stored in first memory 1005, Also perform following operate:
Hash operation is carried out to items for information and obtains Hash codes;
Unique code and Hash codes are combined to form into packet and sent to server.
Further, first processor 1001 can call the first computer program stored in first memory 1005, Also perform following operate:
Query Information is sent to server;
The items for information that the reception server carries out the screening of unique code according to Query Information and obtained;
Selection items for information is downloaded.
Reference picture 2, first embodiment of the invention provides a kind of knowledge management method based on block chain, described to be based on block The knowledge management method of chain includes:
Step S10, data message is sent to server.
Before step S10, subscriber identity information is transmitted to server and creates a pair of secret keys, wherein, key includes private Key and public key;Log-on message through private key encryption is sent to server and logged in.Specifically, terminal provides user identity letter The content registrations such as breath, and send to server to verify subscriber identity information, and then server is created a pair of secret keys for user. Wherein, public key the whole network discloses, and private key user oneself preserves.When user needs to be logged in, terminal logs in letter using private key encryption Cease and send to server, enable the server to public key decryptions and certification log-on message using corresponding terminal.
In step slo, the data message that terminal-pair needs to send carries out Advanced Encryption Standard (Advanced Encryption Standard, AES) etc. mode encryption, and the data message after encryption is sent to server.In this hair In bright embodiment, data message can include the information contents such as text, picture, audio, video.
Step S11, unique code that the reception server creates according to the items for information of data message.
Wherein, unique code includes at least one of identity, entry class, entry summary.Certainly unique code can also include Other information, it will not be repeated here.
Step S12, packet is combined to form according to items for information and unique code and sent to server.
In step s 12, Hash operation is carried out to items for information and obtains Hash codes;Unique code is combined to form with Hash codes Packet is simultaneously sent to server.Because Hash operation information is once written into block chain, then it is difficult to change, once usurp Change, just the change of a character at last, can all cause operation result significant changes occur, in intellectual property protection field, breathe out Uncommon code coordinates timestamp to provide a kind of reliable time-proven, can ensure the timely and effective property of knowledge information record.
Step S13, the reception server are the timestamp of packet capping.
Specifically, timestamp solicited message is sent to server first, so that server is according to the timestamp solicited message Timestamp is capped for packet, terminal receives the timestamp.
Step S14, the packet comprising timestamp is write into block chain.
The data storage and management based on block chain technology is so completed, the timely and effective of knowledge information record can be ensured Property.
In embodiments of the present invention, the highly redundant of region chain stores (each node stores a data), decentralization, height The features such as security and secret protection, makes it be particularly suitable for storing and protects important private data, to avoid because centralization mechanism meets with Under fire or rights management it is improper and caused by large-scale data lose or leakage.With bit coin transaction data similarly, arbitrarily Data, which can be generated corresponding Mei Keer (Merkle) trees and be packed by Hash operation, charges to block chain, passes through interior common recognition node Hash operation and asymmetric encryption techniques ensure security.The multi-signature technology of block chain can be visited with flexible configuration data The authority asked, for example, the private key mandate of 3 people in specified 5 people must be obtained just can gain access.In addition, utilize block Chain stores the application field that individual health data (such as electronic health record, gene data) is great prospect, stores in addition all kinds of Important e-file (video, picture, text etc.) or even human thought and consciousness etc. can also have certain application space.
In addition, block chain data band having time stamp, by common recognition node mutual authentication and record, can not distort and forge, this A little features allow block chain for good and all to store all kinds of licensings, registration form, license, the card sent out by government organs' core safely Bright, certification and record etc., and the authenticity of certain item data in existence and to a certain extent can be easily proved at any time.
Block chain can realize that tangible and intangible assets is weighed, authorizes and monitored in real time really in asset management field.For For intangible asset, the features such as based on timestamp technology and can not distorting, block chain technology can be protected applied to intellectual property The fields such as shield, domain name supervising, integration managing;And for physical assets, by being designed uniquely for assets with reference to technology of Internet of things Identify and be deployed on block chain, " digital intelligent assets " can be formed, realize distributed assets mandate based on block chain and Control.For example, by the block chain key authorization to physical assets such as house, vehicles, can based on specified permission providing and The right to use of assets is reclaimed, contributes to Audemars Pigeut to meet house leases such as (AirBed and Breakfast, Airbnb) or vehicle rent The business model such as rent realizes the assets handing-over of automation;, can be with profit by combining the assets mark and identification technology of Internet of Things Flexible supply chain management is realized with block chain and the functions such as product is traced to the source.
In the present embodiment, when terminal needs to carry out information inquiry, terminal carries out user's login first, and login method is with before Person is identical, repeats no more.Then terminal sends Query Information to server;The reception server carries out unique code according to Query Information Screening and the items for information that obtains;Selection items for information is downloaded.Wherein, when Query Information includes identity information, storage Between etc..
In the present embodiment, by sending data message to server;The reception server is believed according to the entry of data message Cease the unique code created;Packet is combined to form according to items for information and unique code and sent to server;The reception server For the timestamp of packet capping;Packet comprising timestamp is write into block chain, due to Hash operation information once being write Enter block chain, be then difficult to change, once distorting, just the change of a character at last, can all cause operation result to show Change is write, in intellectual property protection field, Hash codes coordinate timestamp to provide a kind of reliable time-proven, Neng Goubao Demonstrate,prove the timely and effective property of knowledge information record.
Further, reference picture 3, the present invention also provides a kind of terminal, based on the embodiment shown in above-mentioned Fig. 2, the end End 10 includes:Data transmission blocks 11, creation module 12, packet form module 13, timestamp receiving module 14 and write-in Module 15.Data transmission blocks 11 are used to send data message to server.Creation module 12 is connected with sending module 11, is used for Unique code that the reception server creates according to the items for information of data message.Packet forms module 13 and connected with creation module 12 Connect, for combining to form packet according to items for information and unique code and sending to server.Timestamp receiving module 14 with Packet forms module 13 and connected, for the timestamp that the reception server is packet capping.Writing module 15 connects with timestamp Receive module 14 connect, for by comprising timestamp packet write block chain, so, it is possible ensure knowledge information record and When validity.
In embodiments of the present invention, reference picture 4, packet, which forms module 13, to be included:Hash codes acquisition module 131 is with creating Module 12 is connected, and Hash codes are obtained for carrying out Hash operation to items for information;Binding modules 132 and Hash codes acquisition module 131 connections, for unique code and Hash codes to be combined to form into packet and sent to server.Due to Hash operation information once Block chain is written into, then is difficult to change, once distorting, just the change of a character at last, can all cause operation result to go out Existing significant changes, in intellectual property protection field, Hash codes coordinate timestamp to provide a kind of reliable time-proven, energy Enough ensure the timely and effective property of knowledge information record.Wherein, unique code include identity, entry class, entry summary at least it One.Certainly unique code can also include other information, will not be repeated here.
In embodiments of the present invention, include with continued reference to Fig. 4, terminal 10:Key creation module 16, log-on message send mould Block 17.Key creation module 16, a pair of secret keys is created for subscriber identity information to be transmitted to server, wherein, key includes Private key and public key.Log-on message sending module 17 is connected with key creation module and data transmission blocks 11, for will be through private key The log-on message of encryption, which is sent to server, to be logged in.Specifically, terminal provides the content registrations such as subscriber identity information, and leads to Key creation module 16 is crossed to send to server to verify subscriber identity information, so make server for user create a pair it is close Key.Wherein, public key the whole network discloses, and private key user oneself preserves.When user needs to be logged in, log-on message sending module 17 makes With private key encryption log-on message and transmission is to server, enables the server to step on using the public key decryptions and certification of corresponding terminal Record information.
In embodiments of the present invention, when data transmission blocks 11 send data message to server, to the number for needing to send It is believed that breath carries out the encryption of the modes such as Advanced Encryption Standard (Advanced Encryption Standard, AES), and will encryption Data message afterwards is sent to server.In embodiments of the present invention, data message can include text, picture, audio, video Etc. the information content.
In embodiments of the present invention, before the reception server of timestamp receiving module 14 is the timestamp of packet capping, Terminal 10 sends timestamp solicited message to server first, so that server adds according to the timestamp solicited message for packet Lid timestamp, and then timestamp receiving module 14 receives the timestamp.
With continued reference to Fig. 4, terminal 10 includes:Query Information sending module 18, items for information receiving module 19 and download Module 101.When terminal 10 needs to carry out information inquiry, terminal 10 carries out user's login first, and login method is identical with the former, no Repeat again.Then Query Information sending module 18 is connected with log-on message sending module 17, for sending Query Information to service Device;Items for information receiving module 19 is connected with Query Information sending module 18, is carried out for the reception server according to Query Information The screening of unique code and the items for information obtained;Download module 101 is connected with items for information receiving module 19, for selecting entry Information is downloaded.Wherein, Query Information includes identity information, storage time etc..
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with the first computer program, following operation is realized when first computer program is executed by processor:
Data message is sent to server;
Unique code that the reception server creates according to the items for information of data message;
Packet is combined to form according to items for information and unique code and sent to server;
The reception server is the timestamp of packet capping;
Packet comprising timestamp is write into block chain.
Further, following operation is also realized when first computer program is executed by processor:
Hash operation is carried out to items for information and obtains Hash codes;
Unique code and Hash codes are combined to form into packet and sent to server.
Further, following operation is also realized when first computer program is executed by processor:
Query Information is sent to server;
The items for information that the reception server carries out the screening of unique code according to Query Information and obtained;
Selection items for information is downloaded.
Reference picture 5, second embodiment of the invention provides a kind of knowledge management method based on block chain, described to be based on block The knowledge management method of chain includes:
Step S20:The data message that receiving terminal is sent.
Wherein, data message can include the information contents such as text, picture, audio, video.
Before step S20, the subscriber identity information of receiving terminal transmission;According to subscriber identity information create a pair it is close Key, wherein, key includes private key and public key;The log-on message through private key encryption that receiving terminal is sent, and apply authentication public key Log-on message.In the present embodiment, terminal provides the content registrations such as subscriber identity information, the user that server receiving terminal is sent Identity information, and the subscriber identity information is verified, so as to create a pair of secret keys.Wherein, public key the whole network discloses, private key user oneself Preserve.When user needs to be logged in, terminal is using private key encryption log-on message and sends to server, and server is using corresponding The public key decryptions and certification log-on message of terminal.
Step S21:Pre-arranged code mode is used to create unique code for each items for information in data message.
Wherein, unique code includes at least one of identity, entry class, entry summary.Certainly unique code can also include Other information, it will not be repeated here., it is necessary to which examination & verification is decrypted to receiving data message before step S21.
Step S22:The packet combined to form for terminal according to items for information and unique code is capped timestamp.
In step S22, server first receiving terminal send timestamp request, and then should timestamp request for number Timestamp is capped according to bag.
In embodiments of the present invention, the formation of packet is that terminal-pair items for information carries out Hash operation acquisition Hash codes, And then combine to form unique code and Hash codes.Because Hash operation information is once written into block chain, then it is difficult to change, one Denier is distorted, and just the change of a character at last, can all cause operation result significant changes occur, is led in intellectual property protection In domain, Hash codes coordinate timestamp to provide a kind of reliable time-proven, can ensure having in time for knowledge information record Effect property.
Step S23:Timestamp is sent to terminal, so that the packet comprising timestamp is write block chain by terminal.Such as This completes the data storage and management based on block chain technology, can ensure the timely and effective property of knowledge information record.
In the present embodiment, when terminal needs to carry out information inquiry, terminal carries out user's login first, and login method is with before Person is identical, repeats no more.Then the Query Information that server receiving terminal is sent;The screening of unique code is carried out according to Query Information And the items for information obtained;Items for information is sent to terminal so that terminal selection items for information is downloaded.Wherein, inquiry letter Breath includes identity information, storage time etc..
Further, reference picture 6, the present invention also provides a kind of server, described based on the embodiment shown in above-mentioned Fig. 5 Server 20 includes:Data reception module 21, unique code creation module 22, timestamp capping module 23 and timestamp send mould Block 24.Data reception module 21 is used for the data message that receiving terminal is sent.Unique code creation module 22 and data reception module 21 connections, for using pre-arranged code mode to create unique code for each items for information in data message.Timestamp is capped mould Block 23 is connected with unique code creation module 22, and the packet for being combined to form for terminal according to items for information and unique code adds Lid timestamp.Timestamp sending module 24 is connected with timestamp capping module 23, for timestamp to be sent to terminal, so that eventually Packet comprising timestamp is write block chain by end.The data storage and management based on block chain technology is so completed, can Ensure the timely and effective property of knowledge information record.
In the present embodiment, data message can include the information contents such as text, picture, audio, video.Unique code includes At least one of identity, entry class, entry summary.Certainly unique code can also include other information, will not be repeated here.Only One yard of creation module 22 before using pre-arranged code mode to create unique code for each items for information in data message, it is necessary to Examination & verification is decrypted to receiving data message.And timestamp capping module 23 is to answer the timestamp of terminal to ask to be capped for packet Timestamp.
In embodiments of the present invention, the formation of packet is that terminal-pair items for information carries out Hash operation acquisition Hash codes, And then combine to form unique code and Hash codes.Because Hash operation information is once written into block chain, then it is difficult to change, one Denier is distorted, and just the change of a character at last, can all cause operation result significant changes occur, is led in intellectual property protection In domain, Hash codes coordinate timestamp to provide a kind of reliable time-proven, can ensure having in time for knowledge information record Effect property.
In the present embodiment, include referring to Fig. 7, server 20:Identity information receiving module 25, key creation module 26 with And authentication module 27.Before the data message that data reception module 21 is used for that receiving terminal to be sent, identity information receiving module 25 are used for the subscriber identity information that receiving terminal is sent;Key creation module 26 is connected with identity information receiving module 25, is used for A pair of secret keys is created according to subscriber identity information, wherein, key includes private key and public key;Authentication module 27 and key creation module 26 and data reception module 21 connect, the log-on message through private key encryption sent for receiving terminal, and apply authentication public key Log-on message.In the present embodiment, terminal provides content registration, the identity information receiving modules 25 such as subscriber identity information and receives end Hold send subscriber identity information, authentication module 27 verify the subscriber identity information, need key creation module 26 create a pair it is close Key.Wherein, public key the whole network discloses, and private key user oneself preserves.When user needs to be logged in, terminal is logged in using private key encryption Information is simultaneously sent to server, and the authentication module 27 in server 20 logs in letter using the public key decryptions of corresponding terminal and certification Breath.
With continued reference to Fig. 7, server 20 includes:Query Information receiving module 28, screening module 29 and items for information hair Send module 201.When terminal needs to carry out information inquiry, terminal carries out user's login first, and login method is identical with the former, no longer Repeat.Then Query Information receiving module 28 is connected with authentication module 27, the Query Information sent for receiving terminal;Screen mould Block 29 connects for Query Information receiving module 28, and the entry for carrying out the screening of unique code according to Query Information and obtaining is believed Breath;Items for information sending module 201 is connected with screening module 29, for items for information to be sent to terminal so that terminal selector bar Mesh information is downloaded.Wherein, Query Information includes identity information, storage time etc..
As shown in figure 8, Fig. 8 is the structural representation of the server for the hardware running environment that scheme of the embodiment of the present invention is related to Figure.
Server of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3) Player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard sound Frequency aspect 3) player, pocket computer etc. have the packaged type terminal device of display function.
As shown in figure 8, the server can include:Second processor 2001, such as CPU, the second network interface 2004, the Two user interfaces 2003, second memory 2005, the second communication bus 2002.Wherein, the second communication bus 2002 is used to realize Connection communication between these components.Second user interface 2003 can include display screen (Display), input block such as key Disk (Keyboard), optional second user interface 2003 can also include wireline interface, the wave point of standard.Second network connects Mouth 2004 can optionally include wireline interface, the wave point (such as WI-FI interfaces) of standard.Second memory 2005 can be High-speed RAM memory or stable memory (non-volatile memory), such as magnetic disk storage.Second deposits Reservoir 2005 optionally can also be the storage device independently of foregoing second processor 2001.
Alternatively, server can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, sound Frequency circuit, WiFi module etc..Wherein, sensor ratio such as optical sensor, motion sensor and other sensors.Specifically, Optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to the light and shade of ambient light To adjust the brightness of display screen, proximity transducer can close display screen and/or backlight when mobile terminal is moved in one's ear.Make For one kind of motion sensor, gravity accelerometer can detect in all directions the size of (generally three axles) acceleration, Size and the direction of gravity are can detect that when static, available for identification mobile terminal posture application (such as horizontal/vertical screen switching, phase Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Certainly, server can also match somebody with somebody The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor are put, will not be repeated here.
, can be with it will be understood by those skilled in the art that the restriction of the server architecture shown in Fig. 8 not structure paired terminal Including than illustrating more or less parts, either combining some parts or different parts arrangement.
As shown in figure 8, it is as the second operation can be included in a kind of second memory 2005 of computer-readable storage medium System, the second network communication module, second user interface module and second computer program.
In the terminal shown in Fig. 8, the second network interface 2004 is mainly used in connecting terminal, and carrying out data with terminal leads to Letter;Second user interface 2003 is mainly used in connecting client (user terminal), enters row data communication with client;And second processing Device 2001 can be used for calling the second computer program stored in second memory 2005, and perform following operate:
The data message that receiving terminal is sent;
Pre-arranged code mode is used to create unique code for each items for information in data message;
The packet combined to form for terminal according to items for information and unique code is capped timestamp;
Timestamp is sent to terminal, so that the packet comprising timestamp is write block chain by terminal.
Further, second processor 2001 can call the second computer program stored in second memory 2005, Also perform following operate:
The Query Information that receiving terminal is sent;
The items for information for carrying out the screening of unique code according to Query Information and obtaining;
Items for information is sent to terminal so that terminal selection items for information is downloaded.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording medium On be stored with second computer program, following operation is realized when the second computer program is executed by processor:
The data message that receiving terminal is sent;
Pre-arranged code mode is used to create unique code for each items for information in data message;
The packet combined to form for terminal according to items for information and unique code is capped timestamp;
Timestamp is sent to terminal, so that the packet comprising timestamp is write block chain by terminal.
Further, following operation is also realized when the second computer program is executed by processor:
The Query Information that receiving terminal is sent;
The items for information for carrying out the screening of unique code according to Query Information and obtaining;
Items for information is sent to terminal so that terminal selection items for information is downloaded.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, Computer, server, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

  1. A kind of 1. knowledge management method based on block chain, it is characterised in that the knowledge management method bag based on block chain Include following steps:
    Data message is sent to the server;
    Receive unique code that the server creates according to the items for information of the data message;
    Packet is combined to form according to the items for information and unique code and sent to the server;
    Receive the timestamp that the server is packet capping;
    The packet comprising the timestamp is write into block chain.
  2. 2. the knowledge management method as claimed in claim 1 based on block chain, it is characterised in that described to be believed according to the entry The step of breath and unique code combine to form packet and sent to the server, including:
    Hash operation is carried out to the items for information and obtains Hash codes;
    Unique code is combined to form into the packet with the Hash codes and sent to the server.
  3. 3. the knowledge management method as claimed in claim 1 based on block chain, it is characterised in that the knowing based on block chain Knowing management method also includes:
    Query Information is sent to the server;
    Receive the items for information that the server carries out the screening of unique code according to the Query Information and obtained;
    The items for information is selected to be downloaded.
  4. 4. a kind of terminal, it is characterised in that the terminal includes:
    Data transmission blocks, for sending data message to the server;
    Creation module, it is connected with the sending module, for receiving items for information of the server according to the data message The unique code created;
    Packet forms module, is connected with the creation module, for being combined according to the items for information and unique code Form packet and send to the server;
    Timestamp receiving module, form module with the packet and be connected, add for receiving the server for the packet The timestamp of lid;
    Writing module, it is connected with the timestamp receiving module, for by the packet write area comprising the timestamp Block chain.
  5. 5. terminal as claimed in claim 4, it is characterised in that the packet, which forms module, to be included:
    Hash codes acquisition module, it is connected with the creation module, for being carried out to the items for information described in Hash operation acquisition Hash codes;
    Binding modules, it is connected with the Hash codes acquisition module, for unique code to be combined to form into institute with the Hash codes State packet and send to the server.
  6. 6. a kind of terminal, it is characterised in that the terminal includes:First memory, first processor and it is stored in described first On memory and the first computer program that can be run on the first processor, first computer program is by described The step of knowledge management method as claimed any one in claims 1 to 3 based on block chain is realized during one computing device.
  7. A kind of 7. knowledge management method based on block chain, it is characterised in that the knowledge management method bag based on block chain Include following steps:
    The data message that receiving terminal is sent;
    Pre-arranged code mode is used to create unique code for each items for information in the data message;
    The packet combined to form for the terminal according to the items for information and unique code is capped timestamp;
    The timestamp is sent to the terminal, so that the terminal is by the packet write area comprising the timestamp Block chain.
  8. 8. the knowledge management method as claimed in claim 7 based on block chain, it is characterised in that the knowing based on block chain Knowing management method also includes:
    Receive the Query Information that the terminal is sent;
    The items for information for carrying out the screening of unique code according to the Query Information and obtaining;
    The items for information is sent to the terminal so that the terminal selects the items for information to be downloaded.
  9. 9. a kind of server, it is characterised in that the server includes:
    Data reception module, the data message sent for receiving terminal;
    Unique code creation module, is connected with the data reception module, for using pre-arranged code mode as the data message In each items for information create unique code;
    Timestamp is capped module, is connected with unique code creation module, for for the terminal according to the items for information with And the packet capping timestamp that unique code combines to form;
    Timestamp sending module, it is connected with timestamp capping module, for the timestamp to be sent to the terminal, with Make the terminal that the packet comprising the timestamp is write into block chain.
  10. 10. a kind of server, it is characterised in that the server includes:Second memory, second processor and it is stored in described On second memory and the second computer program that can be run in the second processor, the second computer program is by institute State when second processor performs the knowledge management method based on block chain of the realization as any one of claim 7 to 8 Step.
CN201710644879.7A 2017-07-31 2017-07-31 Knowledge management method, terminal and server based on block chain Pending CN107612695A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710644879.7A CN107612695A (en) 2017-07-31 2017-07-31 Knowledge management method, terminal and server based on block chain
PCT/CN2017/096620 WO2019024126A1 (en) 2017-07-31 2017-08-09 Blockchain-based knowledge management method, and terminal and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710644879.7A CN107612695A (en) 2017-07-31 2017-07-31 Knowledge management method, terminal and server based on block chain

Publications (1)

Publication Number Publication Date
CN107612695A true CN107612695A (en) 2018-01-19

Family

ID=61064261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710644879.7A Pending CN107612695A (en) 2017-07-31 2017-07-31 Knowledge management method, terminal and server based on block chain

Country Status (2)

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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108614878A (en) * 2018-04-27 2018-10-02 腾讯科技(深圳)有限公司 protocol data management method, device, storage medium and system
CN108681887A (en) * 2018-07-25 2018-10-19 浙江阳光智联区块链科技有限公司 The green asset management system based on Internet of Things and block chain
CN108830136A (en) * 2018-04-26 2018-11-16 杨春花 A kind of stereo garage safety protection method based on big data analysis
CN109299943A (en) * 2018-10-16 2019-02-01 深圳市乘法信息技术有限公司 A kind of method and device of the intellectual property transaction based on block chain
CN109934581A (en) * 2019-01-24 2019-06-25 成都捕风数据科技有限公司 A kind of non-homogeneous assets application model containing safety precautions
CN110084623A (en) * 2019-04-18 2019-08-02 深圳市科迈爱康科技有限公司 Antifake method for products, device and three-dimensional tag anti-fake product based on block chain
CN111108526A (en) * 2019-09-02 2020-05-05 阿里巴巴集团控股有限公司 Centralized account book system based on block chain management
CN111563759A (en) * 2020-06-24 2020-08-21 浙江天演维真网络科技股份有限公司 Agricultural product traceability process identification and analysis system based on AI technology
CN111868768A (en) * 2018-03-16 2020-10-30 科氏工业公司 Access-controlled distributed ledger system for asset management

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019228561A2 (en) 2019-09-02 2019-12-05 Alibaba Group Holding Limited Managing blockchain-based centralized ledger systems
WO2020143856A2 (en) 2020-04-22 2020-07-16 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
WO2020143855A2 (en) 2020-04-22 2020-07-16 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
EP3837657B1 (en) 2020-04-22 2022-12-07 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
CN111833059B (en) * 2020-07-02 2024-04-09 清华大学 Data asset management method in data bank and data bank system
CN116055308B (en) * 2023-02-10 2024-01-05 青岛闪收付信息技术有限公司 Bottom layer blockchain network deployment method and device of supply chain financial platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105931052A (en) * 2016-04-21 2016-09-07 四川大学 Virtual currency transaction validation method based on block chain multi-factor cross-validation
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN106130728A (en) * 2016-04-29 2016-11-16 北京太云科技有限公司 A kind of digital asset register method based on block chain and server thereof
CN106407481A (en) * 2016-11-30 2017-02-15 福州微启迪物联科技有限公司 Block chain architecture-based ecological environment monitoring system and implementation method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105931052A (en) * 2016-04-21 2016-09-07 四川大学 Virtual currency transaction validation method based on block chain multi-factor cross-validation
CN105975868A (en) * 2016-04-29 2016-09-28 杭州云象网络技术有限公司 Block chain-based evidence preservation method and apparatus
CN106130728A (en) * 2016-04-29 2016-11-16 北京太云科技有限公司 A kind of digital asset register method based on block chain and server thereof
CN106407481A (en) * 2016-11-30 2017-02-15 福州微启迪物联科技有限公司 Block chain architecture-based ecological environment monitoring system and implementation method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
PAUL SNOW等: "Factom:Business Processes Secured by Immutable Audit Trails on the Blockchain", 《HTTPS://GITHUB.COM/FACTOMPROJECT/FACTOMDOCS/BLOB/MASTER/FACTOM_WHITEPAPER.PDF》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111868768A (en) * 2018-03-16 2020-10-30 科氏工业公司 Access-controlled distributed ledger system for asset management
CN108830136A (en) * 2018-04-26 2018-11-16 杨春花 A kind of stereo garage safety protection method based on big data analysis
CN110245144A (en) * 2018-04-27 2019-09-17 腾讯科技(深圳)有限公司 Protocol data management method, device, storage medium and system
CN108614878A (en) * 2018-04-27 2018-10-02 腾讯科技(深圳)有限公司 protocol data management method, device, storage medium and system
CN110245144B (en) * 2018-04-27 2022-02-22 腾讯科技(深圳)有限公司 Protocol data management method, device, storage medium and system
CN108614878B (en) * 2018-04-27 2023-01-10 腾讯科技(深圳)有限公司 Protocol data management method, device, storage medium and system
CN108681887A (en) * 2018-07-25 2018-10-19 浙江阳光智联区块链科技有限公司 The green asset management system based on Internet of Things and block chain
CN109299943A (en) * 2018-10-16 2019-02-01 深圳市乘法信息技术有限公司 A kind of method and device of the intellectual property transaction based on block chain
CN109934581A (en) * 2019-01-24 2019-06-25 成都捕风数据科技有限公司 A kind of non-homogeneous assets application model containing safety precautions
CN110084623A (en) * 2019-04-18 2019-08-02 深圳市科迈爱康科技有限公司 Antifake method for products, device and three-dimensional tag anti-fake product based on block chain
CN110084623B (en) * 2019-04-18 2021-03-19 深圳市科迈爱康科技有限公司 Block chain-based product anti-counterfeiting method and device and three-dimensional label anti-counterfeiting product
CN111108526A (en) * 2019-09-02 2020-05-05 阿里巴巴集团控股有限公司 Centralized account book system based on block chain management
CN111108526B (en) * 2019-09-02 2024-04-12 创新先进技术有限公司 Managing a blockchain-based centralized ledger system
CN111563759A (en) * 2020-06-24 2020-08-21 浙江天演维真网络科技股份有限公司 Agricultural product traceability process identification and analysis system based on AI technology
CN111563759B (en) * 2020-06-24 2023-09-01 浙江天演维真网络科技股份有限公司 Identification and analysis system for agricultural product traceability process based on AI technology

Also Published As

Publication number Publication date
WO2019024126A1 (en) 2019-02-07

Similar Documents

Publication Publication Date Title
CN107612695A (en) Knowledge management method, terminal and server based on block chain
CN107453870A (en) Mobile terminal authentication management method, device and corresponding mobile terminal based on block chain
US10484386B2 (en) System, method, computer program and data signal for the provision of a profile of identification
CN109472166A (en) A kind of electronic signature method, device, equipment and medium
CN107547514A (en) Identity identifying method, system and computer-readable recording medium
CN109450649A (en) Gateway verification method and device based on application program interface and electronic equipment
CN104495545B (en) Electronic elevator maintenance supervision and management system and method for elevator maintenance based on dynamic two-dimensional codes
CN107153961A (en) A kind of method of payment, paying server, trading server and readable storage medium storing program for executing
CN107086909A (en) Generation method and device, the method and apparatus of identity examination & verification of identity information
CN109600223A (en) Verification method, Activiation method, device, equipment and storage medium
CN110309663B (en) Privacy authentication method and system based on block chain
US20200177598A1 (en) System, Method, Computer Program and Data Signal for the provision of a Profile of identification
CN106330442A (en) Identity authentication method, device and system
CN110201400B (en) Game prop trading method based on block chain, trading terminal and storage medium
CN107453874A (en) Digital sealing and its generation method, service request and offer method and electronic equipment
CN109150542A (en) Hardware signature method, hardware stamped signature verification method, sealing system and storage medium
CN108022194A (en) Law-enforcing recorder and its data safety processing method, server and system
CN107766453A (en) Data base management method, device and storage medium based on block chain
CN112035897A (en) Block chain evidence storage method and related device
CN107395560A (en) Safety check and its initiation, management method, equipment, server and storage medium
CN107317680A (en) Labeling method, system and the computer-readable recording medium of secured account numbers
CN109257336A (en) It is a kind of based on the encrypted message processing method of block chain, terminal device
CN108322416A (en) A kind of safety certification implementation method, apparatus and system
CN108923931A (en) A kind of electronic certificate processing method, equipment and computer readable storage medium
WO2018067974A1 (en) Open registry for human identification

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119