CN109460407A - A kind of information storage means and system - Google Patents

A kind of information storage means and system Download PDF

Info

Publication number
CN109460407A
CN109460407A CN201811260941.3A CN201811260941A CN109460407A CN 109460407 A CN109460407 A CN 109460407A CN 201811260941 A CN201811260941 A CN 201811260941A CN 109460407 A CN109460407 A CN 109460407A
Authority
CN
China
Prior art keywords
identity information
classification set
information
identity
cryptographic hash
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
CN201811260941.3A
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.)
Beijing Tangguan Tianlang Technology Development Co Ltd
Original Assignee
Beijing Tangguan Tianlang Technology Development 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 Beijing Tangguan Tianlang Technology Development Co Ltd filed Critical Beijing Tangguan Tianlang Technology Development Co Ltd
Priority to CN201811260941.3A priority Critical patent/CN109460407A/en
Publication of CN109460407A publication Critical patent/CN109460407A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of information storage means and system, which includes: acquisition identity information;Classified according to gender, address and the name race in identity information to identity information, obtain the first classification set, and any identity information in the first classification set is compared with the identity information of storage in the database, and, when consistent, any identity information is inquired with the presence or absence of record of bad behavior, when there are record of bad behavior, any identity information is labeled and is classified, the second classification set is obtained;Generate the index of the cryptographic Hash and cryptographic Hash of the identity information of non-second classification set and the identity information in the second classification set in the first classification set;Cryptographic Hash is recorded in block chain network;And the identity information in the identity information of the second classification set non-in the first classification set and the second classification set is stored in distributed network, above-mentioned identity information is positioned in distributed network based on cryptographic Hash.

Description

A kind of information storage means and system
Technical field
The present invention relates to technical field of information storage, and in particular to a kind of information storage means and system.
Background technique
Now when handling every business, business handling people needs to hold resident identification card and handles, and often carries body Part card, be easy to cause the loss of identity card, thus it cannot be guaranteed that the confidentiality and safety of the ID card information in identity card.
Currently, the mode of identity information is to carry the mark of user according to identity information to determine the grade of user, then root The address discrete indicator that identity information is calculated according to the grade and information frequency of use of user, according to address discrete indicator and preset Database distributes corresponding relationship, determines the quantity of database.Existing identity information storage method and system have the disadvantage that Lack the identification to identity information to compare, lack the classification storage to classification, causes to search time mistake when calling identity information Often, and lack and identity information safety can be identified.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of information storage means and system, deposits in the prior art to solve The problem of.
To achieve the above object, the embodiment of the present invention provides a kind of information storage means, which includes: to obtain Take identity information;Classified according to gender, address and the name race in identity information to identity information, obtains the first category set It closes, and any identity information in the first classification set is compared with the identity information of storage in the database, and, when When any identity information in first classification set is consistent with the identity information of storage in the database, any identity information is inquired With the presence or absence of record of bad behavior, when any identity information is there are when record of bad behavior, any identity information is labeled and is classified, is obtained To the second classification set;It generates in the identity information and the second classification set that non-second classification is gathered in the first classification set Identity information cryptographic Hash and cryptographic Hash index;Cryptographic Hash is recorded in block chain network;And by the first category set In conjunction it is non-second classification set identity information and second classification set in identity information be stored in distributed network, First classification set in it is non-second classification set identity information and second classification set in identity information in distributed network It is positioned in network based on cryptographic Hash.
Optionally, any identity information in the first classification set is compared with the identity information of storage in the database It is right, the information storage means further include: when there are identical informations for any identity information and storage identity information in the database When, reminding sorted identity information is spurious information.
It optionally, will be in the identity information of the second classification set non-in the first classification set and the second classification set Identity information is stored in distributed network, comprising: by the identity information of the second classification set non-in the first classification set, and Identity information in second classification set is cut into multiple identity information blocks;And multiple identity information blocks are stored in distribution In multiple nodes in network, each identity information block in plurality of identity block is stored at least two in multiple nodes In a node.
Optionally, information storage means further include: cryptographic Hash is obtained from block chain network based on index;And it is based on Cryptographic Hash obtains identity information from distributed network.
To achieve the above object, the embodiment of the present invention provides a kind of information storage system, which includes: to obtain Modulus block, categorization module, generation module, logging modle and memory module;Wherein, module is obtained, for obtaining identity information;Point Generic module obtains the first category set for classifying according to gender, address and the name race in identity information to identity information It closes, and any identity information in the first classification set is compared with the identity information of storage in the database, and, when When any identity information in first classification set is consistent with the identity information of storage in the database, any identity information is inquired With the presence or absence of record of bad behavior, when any identity information is there are when record of bad behavior, any identity information is labeled and is classified, is obtained To the second classification set;
Generation module, for generating the identity information of non-second classification set and the second classification in the first classification set The cryptographic Hash of identity information in set and the index of cryptographic Hash;Logging modle, for cryptographic Hash to be recorded in block chain network In;And memory module, for the identity information of the second classification set non-in the first classification set and the second classification to be gathered In identity information be stored in distributed network, first classification set in it is non-second classification set identity information, Yi Ji Identity information in two classification set is positioned in distributed network based on cryptographic Hash.
Optionally, categorization module is also used to: when there are phases for any identity information and storage identity information in the database When with information, reminding sorted identity information is spurious information.
Optionally, memory module includes cutting unit and storage unit;Wherein, cutting unit is used for the first category set In conjunction it is non-second classification set identity information and second classification set in identity information be cut into multiple identity informations Block;And storage unit, for multiple identity information blocks to be stored in multiple nodes in distributed network, plurality of body Each identity information block in part block is stored at least two nodes in multiple nodes.
Optionally, it obtains module to be also used to: cryptographic Hash is obtained from block chain network based on index;And it is based on cryptographic Hash Identity information is obtained from distributed network.
The embodiment of the present invention has the advantages that
1, by identity information double classification, the first subseries is gender, address and the classification of name race, obtains the first category set It closes, is to obtain the second classification set based on whether there is record of bad behavior to carry out subseries again to the first classification set for the second time;It connects down By the identity information in the second classification set non-in the first classification set and the identity information difference in the second classification set The cryptographic Hash of identity information and the index of cryptographic Hash are established, cryptographic Hash is then recorded in block chain, the body of the second classification set Identity information in part information and the first classification set in non-second classification set is stored in distributed network, in, by Province's information of the identity information of non-second classification set and the second classification set is stored in distributed network in first classification set In network, pass through the identity information in non-second classification set in cryptographic Hash positioning the second classification set and the first classification set;
2, it is identified by the identification to identity information, guarantees that identity information completely stores, and can be fast when calling Velocity modulation is used, and the time blindly searched is reduced.
Detailed description of the invention
Fig. 1 is a kind of flow chart for information storage means that the embodiment of the present invention 1 provides.
Fig. 2 is a kind of structural schematic diagram for information storage system that the embodiment of the present invention 2 provides.
Specific embodiment
The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention..
Embodiment 1
Fig. 1 is a kind of flow chart for information storage means that the embodiment of the present invention 1 provides.As shown in Figure 1, the information stores Method the following steps are included:
Step S101: identity information is obtained;
Identity information is obtained in the embodiment of the present invention, is the registration form filled in based on user oneself and acquisition image, is referred to The modes such as line obtain identity information.
Step S102: classified according to gender, address and the name race in identity information to identity information, obtain first point Class set, and identity information any in the first classification set is compared with the identity information of storage in the database, with And when identity information any in the first classification set is consistent with the identity information of storage in the database, inquire first point Any identity information whether there is record of bad behavior in class set, will be any when any identity information is there are when record of bad behavior Identity information be labeled and classify, obtain the second classification set.
Specifically, identity information acquired in step s101 has been carried out double classification by step S102, and the first subseries is The identity information that step S101 is obtained is based on gender, address and name race to classify;Second subseries is by sorted body There is the identity information of record of bad behavior to be labeled in part information, and there will be the identity information of record of bad behavior to classify again.
In the embodiment of the present invention 1 by identity information identity-based information acquired in step s101 gender, address and Name race classifies, and is that the identity information that will acquire carries out a rough classification, can also based on name, gender, address and Name race classifies, and the effect of classification does not influence the technical effect of the embodiment of the present invention 1.
Being by the purpose that identity information carries out double classification in embodiments of the present invention is according to gender, address for the first time Simple classification is carried out with name race, is to fully consider credit mechanism for the second time, for the not high user of prestige, needs to the user's Identity information is individually labeled, and is individually classified, user that in this way can be more directly high by the not high user of prestige and prestige It distinguishes, determines whether user is qualified convenient for subsequent according to prestige and handle certain business.
The embodiment of the present invention 1 is that identity information is carried out to different classification, then again stores different classification.
During identity information after sorting is compared with the identity information of storage in the database, can exist and divide The partial information in identity information after class is identical as the identity information section of storage in the database, then after illustrating the classification Identity information be forge, then need that relevant staff is reminded to stop doing to the user for holding the sorted identity information Manage related service.
Specifically, sorted identity information is compared with the identity information of storage in the database, which deposits Method for storing further include: when sorted identity information and storage identity information in the database are there are when identical information, remind Sorted identity information is spurious information.
It should be noted that the identity information in the embodiment of the present invention is carrying out first point based on gender, address and name race After class, the first classification set is obtained, then record of bad behavior is judged whether there is to the first classification set, then obtain the second category set It closes, can also judge whether the identity information in the first classification set has forgery, the first classification set is carried out in turn Classification, above-mentioned classification can also continue to carry out, and specific classification form can be according to specific needs, and details are not described herein. In addition, the purpose repeatedly classified is individually to branch away different types of identity information, this is preferably called convenient for subsequent A little identity informations reduce the time blindly searched.
Step S103: the identity information of non-second classification set and the second classification set in the first classification set are generated In identity information cryptographic Hash and cryptographic Hash index.
The embodiment of the present invention individually branches away the identity information of record of bad behavior, and by the identity information of record of bad behavior and its His identity information generates the index of cryptographic Hash and cryptographic Hash respectively, so as to subsequent query.
It should be noted that any existing or exploitation in the future Hash value generation method can be used for generating cryptographic Hash, only Want cryptographic Hash generated that can distinguish different identity informations.In addition, also generating the index for being directed to cryptographic Hash, and index is mentioned User is supplied, so as to subsequent query.
Step S104: the cryptographic Hash is recorded in block chain network;
The embodiment of the present invention 1 is using characteristics such as the decentralization of block chain and the transparencys, by the corresponding Hash of identity information Value is stored in block chain.
Step S105: will be in the identity information of the second classification set non-in the first classification set and the second classification set Identity information be stored in distributed network, first classification set in it is non-second classification set identity information and second Identity information in classification set is positioned in distributed network based on cryptographic Hash.
Specifically, the identity information of record of bad behavior and other identity informations (the not identity information of record of bad behavior) are stored It is positioned in distributed network, then by the identity information cryptographic Hash corresponding with other identity informations of record of bad behavior.
In some embodiments, distributed network is the interspace file system based on point-to-point protocol (Interplanettary File System, IPFS) network, and IPFS distributed network safeguards distributed hashtable. IPFS is using traditional mode based on domain name is replaced based on the address of content, when a new file is added to IPFS points In cloth network, index of the cryptographic Hash of this document as this document in IPFS distributed network.
Compared with block chain network, each node only stores a part of data in IPFS distributed network, and IPFS is distributed It file is divided into multiple blocks of files in network is dispersed in each node and stored and backed up, so that file is more difficult to be attacked It hits or distorts.
In the embodiment of the present invention 1, the identity information in step S105 is stored in multiple nodes in distributed network, Then in step S105 identity information can be stored in by the multiple identity information blocks of identity information cutting in step S105 In multiple nodes in distributed network, in order to guarantee that data backup memory and redundancy, identity information block are stored in multiple sections In at least two nodes in point.
It optionally, will be in the identity information of the second classification set non-in the first classification set and the second classification set Identity information is stored in distributed network, comprising:
By the identity information in the identity information of the second classification set non-in the first classification set and the second classification set It is cut into identity information block;And multiple identity information blocks are stored in multiple nodes in distributed network, it is plurality of Each identity information block in blocks of files is stored at least two nodes in multiple nodes.
After by the identity information storage in step S105, Hash can be obtained from block chain network based on index Value, is then based on cryptographic Hash and obtains identity information from distributed network.
Embodiment 2
Fig. 2 is a kind of structural schematic diagram for information storage system that the embodiment of the present invention 2 provides.As shown in Fig. 2, the information Storage system includes: to obtain module 21, categorization module 22, generation module 23, logging modle 24 and memory module 25;Wherein, it obtains Modulus block 21, for obtaining identity information;Categorization module 22, for according to gender, address and the name race in identity information to body Part information is classified, and obtains the first classification set, and by any identity information in the first classification set and be stored in data Identity information in library is compared, and, when any identity information in the first classification set and store in the database When identity information is consistent, any identity information is inquired with the presence or absence of record of bad behavior, when any identity information is there are when record of bad behavior, Any identity information is labeled and is classified, the second classification set is obtained;Generation module 23, for generating the first classification set In it is non-second classification set identity information and second classification set in identity information cryptographic Hash and cryptographic Hash rope Draw;Logging modle 24, for cryptographic Hash to be recorded in block chain network;And memory module 25, it is used for the first category set In conjunction it is non-second classification set identity information and second classification set in identity information be stored in distributed network, First classification set in it is non-second classification set identity information and second classification set in identity information in distributed network It is positioned in network based on cryptographic Hash.
It should be noted that obtaining module 21, categorization module 22, generation module 23, logging modle 24 and memory module 25 The function of modules is referred to the description in step S101- step S105, whom is no longer chased after herein.
Optionally, categorization module 22 are also used to: when the identity information of any identity information and storage in the database exists When identical information, reminding sorted identity information is spurious information.
Optionally, memory module 25 includes cutting unit and storage unit;Wherein, cutting unit, for first to classify In set it is non-second classification set identity information and second classification set in identity information be cut into multiple identity informations Block;And storage unit, for multiple identity information blocks to be stored in multiple nodes in distributed network, plurality of body Each identity information block in part block is stored at least two nodes in multiple nodes.
Optionally, it obtains module 21 to be also used to: cryptographic Hash is obtained from block chain network based on index;And it is based on Hash Value obtains identity information from distributed network.
A kind of information processing method provided in an embodiment of the present invention and system, the information processing method is by by identity information Double classification, the first subseries are gender, address and the classification of name race, obtain the first classification set, are based on whether having for the second time Record of bad behavior carries out subseries again to the first classification set, obtains the second classification set;It next will be non-in the first classification set The identity information in identity information and the second classification set in second classification set establishes the cryptographic Hash of identity information respectively With the index of cryptographic Hash, cryptographic Hash is then recorded in block chain, the identity information of the second classification set and the first classification set In it is non-second classification set in identity information be stored in distributed network, in, will first classification set in non-second Province's information of the identity information for set of classifying and the second classification set is stored in distributed network, is positioned by cryptographic Hash Identity information in second classification set and the first classification set in non-second classification set;Meanwhile by identity information Identification identification, guarantee identity information completely store, and can call when quick calling, reduce blindly search time.
Although above having used general explanation and specific embodiment, the present invention is described in detail, at this On the basis of invention, it can be made some modifications or improvements, this will be apparent to those skilled in the art.Therefore, These modifications or improvements without departing from theon the basis of the spirit of the present invention are fallen within the scope of the claimed invention.

Claims (8)

1. a kind of information storage means, which is characterized in that the described method includes:
Obtain identity information;
Classified according to gender, address and the name race in the identity information to the identity information, obtains the first category set It closes, and any identity information in the first classification set is compared with the identity information of storage in the database, and, when When any identity information in the first classification set is consistent with the identity information of the storage in the database, described in inquiry Any identity information whether there is record of bad behavior, when any identity information is there are when record of bad behavior, by any identity information It is labeled and classifies, obtain the second classification set;
Generate the identity letter in the identity information and the second classification set that non-second classification is gathered in the first classification set The index of the cryptographic Hash of breath and the cryptographic Hash;
The cryptographic Hash is recorded in block chain network;And
By the identity in the identity information of the second classification set non-in the first classification set and the second classification set Information is stored in distributed network, it is described first classification set in it is non-second classification set identity information and second point Identity information in class set is positioned in the distributed network based on the cryptographic Hash.
2. the method according to claim 1, wherein it is described by first classification set in any identity information with The identity information of storage in the database is compared, the method also includes:
When there are when identical information, remind described point for the identity information of any identity information and the storage in the database Identity information after class is spurious information.
3. the method according to claim 1, wherein described by non-second category set in the first classification set Identity information in the identity information of conjunction and the second classification set is stored in distributed network, comprising:
By the identity information cutting in the identity information of the second classification set non-in the first classification set and the second classification set At multiple identity information blocks;And
Multiple identity information blocks are stored in multiple nodes in the distributed network, wherein in the multiple identity block Each identity information block is stored at least two nodes in the multiple node.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
The cryptographic Hash is obtained from block chain network based on index;And
Identity information is obtained from distributed network based on the cryptographic Hash.
5. a kind of information storage system, which is characterized in that the information storage system includes: to obtain module, categorization module, generation Module, logging modle and memory module;Wherein,
The acquisition module, for obtaining identity information;
The categorization module, for being divided according to gender, address and the name race in the identity information the identity information Class obtains the first classification set, and the identity of any identity information and storage in the first classification set in the database is believed Breath is compared, and, when the identity of any identity information and the storage in the first classification set in the database When information is consistent, inquiring any identity information whether there is record of bad behavior, when there are bad notes for any identity information When record, any identity information is labeled and is classified, obtains the second classification set;
The generation module, for generating the identity information and described second of non-second classification set in the first classification set The cryptographic Hash of identity information in classification set and the index of the cryptographic Hash;
The logging modle, for the cryptographic Hash to be recorded in block chain network;And
Memory module, for by the identity information and second point described of the second classification set non-in the first classification set Identity information in class set is stored in distributed network, the identity letter of non-second classification set in the first classification set Identity information in breath and the second classification set is positioned in the distributed network based on the cryptographic Hash.
6. system according to claim 5, which is characterized in that the categorization module is also used to:
When there are when identical information, remind described point for the identity information of any identity information and the storage in the database Identity information after class is spurious information.
7. system according to claim 5, which is characterized in that memory module includes cutting unit and storage unit;Wherein,
Cutting unit, for will first classification set in it is non-second classification set identity information and second classification set in Identity information be cut into multiple identity information blocks;And
Storage unit, for multiple identity information blocks to be stored in multiple nodes in the distributed network, wherein described Each identity information block in multiple identity blocks is stored at least two nodes in the multiple node.
8. system according to claim 7, which is characterized in that obtain module and be also used to:
Cryptographic Hash is obtained from block chain network based on index;And
Identity information is obtained from distributed network based on the cryptographic Hash.
CN201811260941.3A 2018-10-26 2018-10-26 A kind of information storage means and system Pending CN109460407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811260941.3A CN109460407A (en) 2018-10-26 2018-10-26 A kind of information storage means and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811260941.3A CN109460407A (en) 2018-10-26 2018-10-26 A kind of information storage means and system

Publications (1)

Publication Number Publication Date
CN109460407A true CN109460407A (en) 2019-03-12

Family

ID=65608599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811260941.3A Pending CN109460407A (en) 2018-10-26 2018-10-26 A kind of information storage means and system

Country Status (1)

Country Link
CN (1) CN109460407A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109922104A (en) * 2017-12-12 2019-06-21 菜鸟智能物流控股有限公司 Message sending method and related equipment
CN111737343A (en) * 2020-05-11 2020-10-02 广州大学 Information labeling method based on block chain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412045A (en) * 2016-09-22 2017-02-15 中国联合网络通信集团有限公司 Identity information storage method and system
CN107273410A (en) * 2017-05-03 2017-10-20 上海点融信息科技有限责任公司 Distributed storage based on block chain
CN107885983A (en) * 2017-11-15 2018-04-06 佛山杰致信息科技有限公司 A kind of identity information storage method and system
US10022614B1 (en) * 2016-05-02 2018-07-17 Bao Tran Smart device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10022614B1 (en) * 2016-05-02 2018-07-17 Bao Tran Smart device
CN106412045A (en) * 2016-09-22 2017-02-15 中国联合网络通信集团有限公司 Identity information storage method and system
CN107273410A (en) * 2017-05-03 2017-10-20 上海点融信息科技有限责任公司 Distributed storage based on block chain
CN107885983A (en) * 2017-11-15 2018-04-06 佛山杰致信息科技有限公司 A kind of identity information storage method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109922104A (en) * 2017-12-12 2019-06-21 菜鸟智能物流控股有限公司 Message sending method and related equipment
CN111737343A (en) * 2020-05-11 2020-10-02 广州大学 Information labeling method based on block chain

Similar Documents

Publication Publication Date Title
US7836054B2 (en) System and method for processing a message store for near duplicate messages
CN108062202A (en) A kind of file block storage method and system
US20140244300A1 (en) Systems and methods for managing a master patient index including duplicate record detection
CN102968430B (en) Method and apparatus for automatically generating and managing groups in address book
US9535954B2 (en) Join processing device, data management device, and string similarity join system
US20110218973A1 (en) System and method for creating a de-duplicated data set and preserving metadata for processing the de-duplicated data set
CN107924408A (en) The system and method that the isomery of search metadata and label indexes in file system
CN106156070B (en) A kind of querying method, file mergences method and relevant apparatus
MXPA04006390A (en) Real time data warehousing.
US20150019592A1 (en) Systems, methods and software for computing reachability in large graphs
CN109460407A (en) A kind of information storage means and system
CN108134775A (en) A kind of data processing method and equipment
CN108255915A (en) File management method and device and machine-readable storage medium
US11645267B2 (en) Techniques for in-memory data searching
CN106161193B (en) Mail processing method, device and system
CN110929120B (en) Method and apparatus for managing technical metadata
CN111796931B (en) Information processing method, device, computing equipment and medium
CN113590559A (en) Method for managing whole process of enterprise project management document
CN112420172A (en) Medical image information management system
CN107784588A (en) Insurance user information merging method and device
CN107728931A (en) Method and apparatus for data storage
CN107193821A (en) Monitoring method and system
CN115729965A (en) Information stream processing method, device, stream server and storage medium
CN106940715B (en) A kind of method and apparatus of the inquiry based on concordance list
JP2006252242A (en) Electronic message analysis apparatus and method

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

Application publication date: 20190312

RJ01 Rejection of invention patent application after publication