[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN117609368A - A genealogy analysis system, method, equipment and medium based on off-chain storage - Google Patents

A genealogy analysis system, method, equipment and medium based on off-chain storage Download PDF

Info

Publication number
CN117609368A
CN117609368A CN202311410190.XA CN202311410190A CN117609368A CN 117609368 A CN117609368 A CN 117609368A CN 202311410190 A CN202311410190 A CN 202311410190A CN 117609368 A CN117609368 A CN 117609368A
Authority
CN
China
Prior art keywords
information
association
target
clan
tree
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.)
Granted
Application number
CN202311410190.XA
Other languages
Chinese (zh)
Other versions
CN117609368B (en
Inventor
游志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Boyue Technology Co ltd
Original Assignee
Shenzhen Boyue 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 Boyue Technology Co ltd filed Critical Shenzhen Boyue Technology Co ltd
Priority to CN202311410190.XA priority Critical patent/CN117609368B/en
Publication of CN117609368A publication Critical patent/CN117609368A/en
Application granted granted Critical
Publication of CN117609368B publication Critical patent/CN117609368B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2255Hash tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明涉及区块链技术领域,提出了一种基于链外存储的族谱分析系统、方法、设备及介质,其中,所述系统包括:信息采集模块采集个人及宗族信息,对个人信息进行完善并对宗族信息进行验证,得到目标个人信息及目标宗族信息;信息关联分析模块对目标个人信息之间及目标宗族信息之间进行关联计算,得到用户、宗族关联关系,根据目标个人信息、目标宗族信息、用户关联关系及宗族关联关系生成族谱关联树;信息更新模块对族谱关联树进行链路预测,根据结果对族谱关联树进行优化,得到目标族谱关联树;信息存储模块对目标族谱关联树中的关联节点进行加密处理,得到加密信息,对加密信息进行链式存储,得到存储信息。本发明可以提高族谱分析时的效率。

The present invention relates to the field of blockchain technology and proposes a genealogy analysis system, method, equipment and medium based on off-chain storage. The system includes: an information collection module collects personal and clan information, completes and combines the personal information. Verify the clan information to obtain the target personal information and the target clan information; the information association analysis module performs correlation calculations between the target personal information and the target clan information to obtain the user and clan relationships. According to the target personal information and the target clan information, , user association and clan association to generate a genealogy association tree; the information update module performs link prediction on the genealogy association tree, optimizes the genealogy association tree based on the results, and obtains the target genealogy association tree; the information storage module performs link prediction on the genealogy association tree The associated node performs encryption processing to obtain encrypted information, and performs chain storage on the encrypted information to obtain storage information. The invention can improve the efficiency of genealogy analysis.

Description

一种基于链外存储的族谱分析系统、方法、设备及介质A genealogy analysis system, method, equipment and medium based on off-chain storage

技术领域Technical field

本发明涉及区块链技术领域,尤其涉及一种基于链外存储的族谱分析系统、方法、设备及介质。The present invention relates to the field of blockchain technology, and in particular to a genealogy analysis system, method, equipment and medium based on off-chain storage.

背景技术Background technique

随着流动人口的快速扩张,当今社会人口流动日趋剧烈,查找族谱过程中存在许多问题,例如,效率较低、族谱完整性不高等;具体地,传统族谱存在以下两种问题:一是传统族谱由于载体多为纸质,保存不便且内容构成复杂、格式要求严格,使得在开发利用与传承中存在一定的局限性;二是现在电子族谱的存储方式保密性不高,极其容易被篡改,进而导致族谱完整性不高,对族谱进行分析时的效率较低。综上所述,现存技术中存在进行族谱分析时效率不高的问题。With the rapid expansion of the floating population, population mobility in today's society is becoming increasingly fierce. There are many problems in the process of searching for genealogy, such as low efficiency and low integrity of genealogy. Specifically, there are two problems with traditional genealogy: First, traditional genealogy Since most of the carriers are paper, storage is inconvenient, the content is complex, and the format requirements are strict, which results in certain limitations in development, utilization, and inheritance. Second, the current storage method of electronic genealogy is not highly confidential and is extremely easy to be tampered with. As a result, the completeness of the genealogy is not high, and the efficiency of analyzing the genealogy is low. To sum up, there is a problem in the existing technology that genealogy analysis is not efficient.

发明内容Contents of the invention

本发明提供一种基于链外存储的族谱分析系统、方法、设备及介质,其主要目的在于解决进行族谱分析时效率不高的问题。The present invention provides a genealogy analysis system, method, equipment and medium based on off-chain storage. Its main purpose is to solve the problem of low efficiency in genealogy analysis.

为实现上述目的,本发明提供的一种基于链外存储的族谱分析系统,包括:信息采集模块、信息关联分析模块、信息更新模块及信息存储模块,具体地:In order to achieve the above objectives, the present invention provides a genealogy analysis system based on off-chain storage, including: an information collection module, an information association analysis module, an information update module and an information storage module. Specifically:

信息采集模块,用于采集个人信息及宗族信息,对所述个人信息进行信息完善,得到目标个人信息,并对所述宗族信息进行信息验证,得到目标宗族信息;The information collection module is used to collect personal information and clan information, improve the personal information to obtain the target personal information, and perform information verification on the clan information to obtain the target clan information;

信息关联分析模块,用于对接收到的所述目标个人信息之间进行第一信息关联计算,得到用户关联关系,并对接收到的所述目标宗族信息之间进行第二信息关联计算,得到宗族关联关系,根据所述目标个人信息、所述目标宗族信息、所述用户关联关系及所述宗族关联关系生成族谱关联树;The information association analysis module is used to perform a first information association calculation between the received target personal information to obtain the user association relationship, and perform a second information association calculation between the received target clan information to obtain Clan association: generate a family tree association tree based on the target personal information, the target clan information, the user association and the clan association;

信息更新模块,用于对接收到的所述族谱关联树进行链路预测,根据链路预测的结果对所述族谱关联树进行优化处理,得到目标族谱关联树;An information update module, configured to perform link prediction on the received family tree association tree, optimize the family tree association tree according to the results of the link prediction, and obtain the target family tree association tree;

信息存储模块,用于利用预设的区块链技术对接收到的所述目标族谱关联树中的关联节点进行加密处理,得到加密信息,并对所述加密信息进行链式存储,得到存储信息,其中,所述利用预设的区块链技术对接收到的所述目标族谱关联树中的关联节点进行加密处理,得到加密信息,包括:The information storage module is used to use the preset blockchain technology to encrypt the received associated nodes in the target genealogy association tree to obtain encrypted information, and to store the encrypted information in a chain to obtain the stored information. , wherein the preset blockchain technology is used to encrypt the received associated nodes in the target genealogy association tree to obtain encrypted information, including:

提取所述目标族谱关联树中的关联节点对应的时间信息,并将所述关联节点中除所述时间信息之外的关联节点作为业务信息;Extract the time information corresponding to the associated nodes in the target family tree association tree, and use the associated nodes in the associated nodes except the time information as business information;

对所述业务信息进行哈希运算,得到哈希值,并对所述哈希值及所述时间信息进行封装,得到区块头;Perform a hash operation on the business information to obtain a hash value, and encapsulate the hash value and the time information to obtain a block header;

将所述目标族谱关联树作为区块体,并对所述区块头及所述区块体进行连接,得到区块;Use the target genealogy association tree as a block body, and connect the block header and the block body to obtain a block;

利用区块链技术根据所述时间信息对若干所述区块进行汇总,得到信息区块链;Use blockchain technology to summarize several of the blocks based on the time information to obtain an information blockchain;

利用预设的加密算法对所述信息区块链进行加密处理,得到加密信息;Use a preset encryption algorithm to encrypt the information blockchain to obtain encrypted information;

所述加密算法指的是:The encryption algorithm refers to:

其中,f表示所述加密信息,K表示预设的重加密密文,ps表示所述信息区块链中第s个区块信息,pα表示所述信息区块链中第α个区块信息,pγ表示所述信息区块链中第γ个区块信息,S表示预设的加密参数。Among them, f represents the encrypted information, K represents the preset re-encrypted ciphertext, p s represents the s-th block information in the information blockchain, and p α represents the α-th area in the information blockchain. Block information, p γ represents the γth block information in the information blockchain, and S represents the preset encryption parameters.

可选地,所述信息采集模块在执行所述采集个人信息及宗族信息的功能时,具体用于:Optionally, when performing the function of collecting personal information and clan information, the information collection module is specifically used to:

获取用户对应的移动设备,提取所述移动设备对应的数据接口,并设置信息采集时间;Obtain the mobile device corresponding to the user, extract the data interface corresponding to the mobile device, and set the information collection time;

根据所述信息采集时间计算信息采集效率,基于所述数据接口及所述信息采集效率利用所述信息采集模块对所述移动设备进行信息采集,得到采集信息;Calculate information collection efficiency according to the information collection time, use the information collection module to collect information on the mobile device based on the data interface and the information collection efficiency, and obtain the collection information;

利用下述公式计算信息采集效率:Use the following formula to calculate information collection efficiency:

T=ten+kT=te n +k

其中,F表示所述信息采集效率,T表示所述信息采集时间,n表示所述信息采集时间之间的暂停时间,a表示所述信息采集时间对应的平均采集时间,b、t均表示预设的计算参数,k表示预设的时间系数;Among them, F represents the information collection efficiency, T represents the information collection time, n represents the pause time between the information collection times, a represents the average collection time corresponding to the information collection time, b and t both represent the predetermined time. Assume the calculation parameters, k represents the preset time coefficient;

对所述采集信息进行信息分类,得到个人信息及宗族信息。Classify the collected information to obtain personal information and clan information.

可选地,所述信息采集模块在执行所述对所述个人信息进行信息完善,得到目标个人信息的功能时,具体用于:Optionally, when the information collection module performs the function of completing information on the personal information and obtaining the target personal information, it is specifically used to:

对所述个人信息对应的信息属性进行遍历,得到非空信息集合及空信息集合;Traverse the information attributes corresponding to the personal information to obtain a non-empty information set and an empty information set;

对所述非空信息集合进行排序,得到顺序信息集合;Sort the non-empty information set to obtain a sequential information set;

根据所述非空信息集合及所述顺序信息集合对所述空信息集合进行中值填充,得到填充信息集合;Perform median filling on the empty information set according to the non-empty information set and the sequential information set to obtain a filled information set;

可以利用下述公式进行中值填充:You can use the following formula to perform median filling:

其中,xc表示第c个填充属性,I表示所述非空信息集合,I*表示所述顺序信息集合,C表示所述空信息集合中的信息属性总数;Where, x c represents the c-th filling attribute, I represents the non-empty information set, I * represents the sequential information set, and C represents the total number of information attributes in the empty information set;

对所述非空信息集合、所述顺序信息集合及所述填充信息集合进行信息汇总,得到目标个人信息。The non-empty information set, the sequence information set and the filling information set are summarized to obtain target personal information.

可选地,所述信息采集模块在执行所述对所述宗族信息进行信息验证,得到目标宗族信息的功能时,具体用于:Optionally, when the information collection module performs the function of verifying information on the clan information and obtaining target clan information, it is specifically used to:

获取目标属性,利用所述宗族信息对应的宗族属性与所述目标属性进行匹配计算,得到属性匹配值;Obtain the target attribute, use the clan attribute corresponding to the clan information and the target attribute to perform matching calculations, and obtain the attribute matching value;

利用下述公式进行匹配计算:Use the following formula to calculate the match:

其中,r表示所述属性匹配值,dj表示所述宗族信息中第j个宗族属性,hj表示第j个宗族属性对应的目标属性,J表示所述宗族属性的总数,T表示转置符号;Among them, r represents the attribute matching value, d j represents the j-th clan attribute in the clan information, h j represents the target attribute corresponding to the j-th clan attribute, J represents the total number of the clan attributes, and T represents the transposition symbol;

判断所述属性匹配值是否大于预设的目标匹配值;Determine whether the attribute matching value is greater than the preset target matching value;

当所述属性匹配值小于或等于所述目标匹配值时,表示所述宗族信息验证失败;When the attribute matching value is less than or equal to the target matching value, it means that the clan information verification fails;

当所述属性匹配值大于所述目标匹配值时,表示所述宗族信息验证成功,将所述宗族信息作为目标宗族信息。When the attribute matching value is greater than the target matching value, it means that the clan information is successfully verified, and the clan information is used as the target clan information.

可选地,所述信息关联分析模块在执行所述对接收到的所述目标个人信息之间进行第一信息关联计算,得到用户关联关系的功能时,具体用于:Optionally, when the information association analysis module performs the first information association calculation between the received target personal information and obtains the user association relationship, it is specifically used to:

从所述目标个人信息中随机选取一个信息中心,将所述目标个人信息中除所述信息中心外的目标个人信息作为待选信息中心;Randomly select an information center from the target personal information, and use the target personal information other than the information center in the target personal information as the candidate information center;

计算所述信息中心与所述待选信息中心之间的关联度,并判断所述关联度是否大于预设的目标关联度;Calculate the correlation between the information center and the candidate information center, and determine whether the correlation is greater than a preset target correlation;

利用下述公式计算关联度:Calculate the correlation using the following formula:

其中,w表示所述关联度,zm表示第m个待选信息中心,Z表示所述信息中心,M表示所述待选信息中心的总数;Where, w represents the correlation degree, z m represents the m-th information center to be selected, Z represents the information center, and M represents the total number of information centers to be selected;

当所述关联度小于或等于所述目标关联度时,判定所述信息中心与所述待选信息中心的关联度较低;When the correlation degree is less than or equal to the target correlation degree, it is determined that the correlation degree between the information center and the candidate information center is low;

当所述关联度大于所述目标关联度时,判定所述信息中心与所述待选信息中心的关联度较高,提取所述信息中心与所述待选信息中心的关联信息,并根据所述关联信息分析用户关联关系。When the correlation degree is greater than the target correlation degree, it is determined that the correlation degree between the information center and the candidate information center is relatively high, the correlation information between the information center and the candidate information center is extracted, and the correlation information between the information center and the candidate information center is extracted according to the selected information center. The above-mentioned related information analyzes user related relationships.

可选地,所述信息关联分析模块在执行所述根据所述目标个人信息、所述目标宗族信息、所述用户关联关系及所述宗族关联关系生成族谱关联树的功能时,具体用于:Optionally, when the information association analysis module performs the function of generating a genealogy association tree based on the target personal information, the target clan information, the user association relationship and the clan association relationship, it is specifically used to:

根据所述用户关联关系对所述目标个人信息之间进行初始信息连接,得到第一连接信息链,并根据所述宗族关联关系对所述目标宗族信息之间进行初始信息连接,得到第二连接信息链;Perform an initial information connection between the target personal information according to the user association relationship to obtain a first connection information chain, and perform an initial information connection between the target clan information according to the clan association relationship to obtain a second connection. information chain;

分别对所述第一连接信息链及所述第二连接信息链进行排序,得到第一序列及第二序列,并基于所述第一序列及所述第二序列分析所述第一连接信息链及所述第二连接信息链之间的连接关系;Sorting the first connection information chain and the second connection information chain respectively to obtain a first sequence and a second sequence, and analyzing the first connection information chain based on the first sequence and the second sequence and the connection relationship between the second connection information chains;

根据所述连接关系对所述第一连接信息链及所述第二连接信息链进行信息连接,得到目标连接信息链;Perform information connection on the first connection information chain and the second connection information chain according to the connection relationship to obtain a target connection information chain;

对所述目标连接信息链进行信息排序,得到信息序列,并根据所述信息序列及所述目标连接信息链生成族谱关联树。The target connection information chain is sorted to obtain an information sequence, and a genealogy association tree is generated based on the information sequence and the target connection information chain.

可选地,所述信息更新模块在执行所述对接收到的所述族谱关联树进行链路预测的功能时,具体用于:Optionally, when the information update module performs the function of performing link prediction on the received family tree association tree, it is specifically used to:

对所述族谱关联树中的关联节点进行节点划分,得到正样本及负样本,并分别从所述正样本及所述负样本中随机抽取第一边缘节点及第二边缘节点;Perform node division on the associated nodes in the family tree association tree to obtain positive samples and negative samples, and randomly select first edge nodes and second edge nodes from the positive samples and the negative samples respectively;

利用预设的链路预测算法对所述第一边缘节点、所述第二边缘节点及所述负样本进行打分,得到第一分数、第二分数及边缘分数;Score the first edge node, the second edge node and the negative sample using a preset link prediction algorithm to obtain a first score, a second score and an edge score;

根据所述第一分数及所述第二分数计算第一性能指标,并根据所述边缘分数对所述正样本进行排序,得到样本序列;Calculate a first performance index according to the first score and the second score, and sort the positive samples according to the edge score to obtain a sample sequence;

利用下述公式计算第一性能指标:Use the following formula to calculate the first performance index:

其中,AUC表示所述第一性能指标,g1表示所述第一分数高于所述第二分数,g2表示所述第一分数等于所述第二分数,G表示所述第一分数及所述第二分数之间的测试次数;Wherein, AUC represents the first performance index, g 1 represents that the first score is higher than the second score, g 2 represents that the first score is equal to the second score, G represents the first score and the number of tests between said second scores;

根据所述样本序列及所述负样本的数量计算第二性能指标,并根据所述第一性能指标及所述第二性能指标分析链路预测性能;Calculate a second performance indicator based on the sample sequence and the number of negative samples, and analyze link prediction performance based on the first performance indicator and the second performance indicator;

利用下述公式计算第二性能指标:Use the following formula to calculate the second performance index:

其中,β表示所述第二性能指标,li表示所述样本序列中第i个样本次序,L表示所述负样本的数量。Among them, β represents the second performance index, l i represents the i-th sample order in the sample sequence, and L represents the number of negative samples.

为了解决上述问题,本发明还提供一种基于链外存储的族谱分析方法,所述方法包括:In order to solve the above problems, the present invention also provides a genealogy analysis method based on off-chain storage. The method includes:

信息采集模块采集个人信息及宗族信息,对所述个人信息进行信息完善,得到目标个人信息,并对所述宗族信息进行信息验证,得到目标宗族信息;The information collection module collects personal information and clan information, completes the personal information to obtain the target personal information, and performs information verification on the clan information to obtain the target clan information;

信息关联分析模块对接收到的所述目标个人信息之间进行第一信息关联计算,得到用户关联关系,并对接收到的所述目标宗族信息之间进行第二信息关联计算,得到宗族关联关系;The information association analysis module performs a first information association calculation on the received target personal information to obtain a user association relationship, and performs a second information association calculation on the received target clan information to obtain a clan association relationship. ;

所述信息关联分析模块根据所述目标个人信息、所述目标宗族信息、所述用户关联关系及所述宗族关联关系生成族谱关联树;The information association analysis module generates a genealogy association tree based on the target personal information, the target clan information, the user association relationship and the clan association relationship;

信息更新模块对接收到的所述族谱关联树进行链路预测,根据链路预测的结果对所述族谱关联树进行优化处理,得到目标族谱关联树;The information update module performs link prediction on the received family tree association tree, optimizes the family tree association tree according to the result of the link prediction, and obtains the target family tree association tree;

信息存储模块利用预设的区块链技术对接收到的所述目标族谱关联树中的关联节点进行加密处理,得到加密信息,并对所述加密信息进行链式存储,得到存储信息。The information storage module uses preset blockchain technology to encrypt the received associated nodes in the target genealogy association tree to obtain encrypted information, and performs chain storage on the encrypted information to obtain stored information.

为了解决上述问题,本发明还提供一种电子设备,所述电子设备包括:In order to solve the above problems, the present invention also provides an electronic device, which includes:

至少一个处理器;以及,at least one processor; and,

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述所述的基于链外存储的族谱分析系统的功能。The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the above-mentioned off-chain storage-based Genealogy analysis system features.

为了解决上述问题,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一个计算机程序,所述至少一个计算机程序被电子设备中的处理器执行以实现上述所述的基于链外存储的族谱分析系统的功能。In order to solve the above problems, the present invention also provides a computer-readable storage medium. The computer-readable storage medium stores at least one computer program. The at least one computer program is executed by a processor in an electronic device to implement the above. The functions of the genealogy analysis system based on off-chain storage are described above.

本发明实施例通过信息采集模块能够准确采集个人信息及宗族信息;通过对个人信息进行信息完善,能够提高个人信息的完整性;通过对宗族信息进行信息验证,能够保证宗族信息的准确性;通过信息关联分析模块对目标个人信息之间及目标宗族信息之间进行信息关联计算,能够准确得到用户关联关系及宗族关联关系,能够提高信息之间的关联性;通过目标个人信息、目标宗族信息、用户关联关系及宗族关联关系能够准确生成族谱关联树,提高信息管理的准确性及相关性;通过信息更新模块对族谱关联树进行链路预测,根据链路预测的结果对族谱关联树进行优化处理,能够准确得到目标族谱关联树,保证目标族谱关联树的精确性;通过信息存储模块对目标族谱关联树中的关联节点进行加密处理,能够准确得到加密信息,并对加密信息进行链式存储,能够精确得到存储信息,进而能够提高信息的管理效率以及进行族谱分析时的效率。因此本发明提出的基于链外存储的族谱分析系统、方法、设备及介质,可以解决进行族谱分析时效率不高的问题。Embodiments of the present invention can accurately collect personal information and clan information through the information collection module; improve the integrity of personal information by improving personal information; ensure the accuracy of clan information by performing information verification on clan information; The information association analysis module performs information association calculations between target personal information and target clan information, which can accurately obtain user association relationships and clan association relationships, and can improve the correlation between information; through target personal information, target clan information, User associations and clan associations can accurately generate genealogy association trees, improving the accuracy and relevance of information management; the information update module performs link prediction on the genealogy association tree, and optimizes the genealogy association tree based on the results of the link prediction. , the target genealogy association tree can be accurately obtained, ensuring the accuracy of the target genealogy association tree; through the information storage module, the association nodes in the target genealogy association tree are encrypted, the encrypted information can be accurately obtained, and the encrypted information can be stored in a chain. The stored information can be accurately obtained, thereby improving the efficiency of information management and genealogy analysis. Therefore, the genealogy analysis system, method, equipment and medium based on off-chain storage proposed by the present invention can solve the problem of low efficiency in genealogy analysis.

附图说明Description of drawings

图1为本发明一实施例提供的基于链外存储的族谱分析系统的流程示意图;Figure 1 is a schematic flow chart of a genealogy analysis system based on off-chain storage provided by an embodiment of the present invention;

图2为本发明一实施例提供的采集个人信息及宗族信息的流程示意图;Figure 2 is a schematic flowchart of collecting personal information and clan information according to an embodiment of the present invention;

图3为本发明一实施例提供的对个人信息进行信息完善,得到目标个人信息的流程示意图;Figure 3 is a schematic flowchart of improving personal information and obtaining target personal information according to an embodiment of the present invention;

图4为本发明一实施例提供的基于链外存储的族谱分析方法的功能模块图。Figure 4 is a functional module diagram of a genealogy analysis method based on off-chain storage provided by an embodiment of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of the present invention will be further described with reference to the embodiments and the accompanying drawings.

具体实施方式Detailed ways

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention and are not intended to limit the present invention.

本申请实施例提供一种基于链外存储的族谱分析系统。所述基于链外存储的族谱分析系统的执行主体包括但不限于服务端、终端等能够被配置为执行本申请实施例提供的该系统的电子设备中的至少一种。换言之,所述基于链外存储的族谱分析系统可以由安装在终端设备或服务端设备的软件或硬件来执行,所述软件可以是区块链平台。所述服务端包括但不限于:单台服务器、服务器集群、云端服务器或云端服务器集群等。所述服务器可以是独立的服务器,也可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。The embodiment of the present application provides a genealogy analysis system based on off-chain storage. The execution subject of the genealogy analysis system based on off-chain storage includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the system provided by the embodiment of the present application. In other words, the genealogy analysis system based on off-chain storage can be executed by software or hardware installed on the terminal device or the server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server may be an independent server, or may provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, and content delivery networks (Content Delivery Network, CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.

参照图1所示,为本发明一实施例提供的基于链外存储的族谱分析系统的功能模块图。在本实施例中,所述基于链外存储的族谱分析系统100可以安装于电子设备中。根据实现的功能,所述基于链外存储的族谱分析系统100可以包括信息采集模块101、信息关联分析模块102、信息更新模块103及信息存储模块104。本发明所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。Refer to FIG. 1 , which is a functional module diagram of a genealogy analysis system based on off-chain storage provided by an embodiment of the present invention. In this embodiment, the off-chain storage-based genealogy analysis system 100 can be installed in an electronic device. According to the implemented functions, the off-chain storage-based genealogy analysis system 100 may include an information collection module 101, an information correlation analysis module 102, an information update module 103 and an information storage module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of the electronic device and can complete fixed functions, and are stored in the memory of the electronic device.

本发明实施例中,所述信息采集模块101包含采集个人信息及宗族信息,对所述个人信息进行信息完善,得到目标个人信息,并对所述宗族信息进行信息验证,得到目标宗族信息。In the embodiment of the present invention, the information collection module 101 includes collecting personal information and clan information, completing information on the personal information to obtain target personal information, and performing information verification on the clan information to obtain target clan information.

本发明实施例中,所述信息关联分析模块102包含对接收到的所述目标个人信息之间进行第一信息关联计算,得到用户关联关系,并对接收到的所述目标宗族信息之间进行第二信息关联计算,得到宗族关联关系,根据所述目标个人信息、所述目标宗族信息、所述用户关联关系及所述宗族关联关系生成族谱关联树。In the embodiment of the present invention, the information association analysis module 102 includes performing a first information association calculation on the received target personal information to obtain the user association relationship, and performing a first information association calculation on the received target clan information. The second information association calculation is to obtain the clan association relationship, and generate a genealogy association tree based on the target personal information, the target clan information, the user association relationship and the clan association relationship.

本发明实施例中,所述信息更新模块103包含对接收到的所述族谱关联树进行链路预测,根据链路预测的结果对所述族谱关联树进行优化处理,得到目标族谱关联树。In the embodiment of the present invention, the information update module 103 includes performing link prediction on the received family tree association tree, optimizing the family tree association tree according to the result of the link prediction, and obtaining the target family tree association tree.

本发明实施例中,所述信息存储模块104包含利用预设的区块链技术对接收到的所述目标族谱关联树中的关联节点进行加密处理,得到加密信息,并对所述加密信息进行链式存储,得到存储信息。In the embodiment of the present invention, the information storage module 104 uses preset blockchain technology to encrypt the received associated nodes in the target genealogy association tree to obtain encrypted information, and performs encryption on the encrypted information. Chain storage to obtain storage information.

详细地,本发明实施例中所述基于链外存储的族谱分析系统100中所述的各模块在使用时采用与附图中所述的基于链外存储的族谱分析方法一样的技术手段,并能够产生相同的技术效果,这里不再赘述。In detail, each module described in the off-chain storage-based genealogy analysis system 100 described in the embodiment of the present invention adopts the same technical means as the off-chain storage-based genealogy analysis method described in the accompanying drawings, and can produce the same technical effect and will not be described again here.

下面结合具体实施例,分别针对所述基于链外存储的族谱分析系统的各个组成部分以及具体工作流程进行说明:The various components and specific workflow of the genealogy analysis system based on off-chain storage will be described below with reference to specific embodiments:

所述信息采集模块101,用于采集个人信息及宗族信息,对所述个人信息进行信息完善,得到目标个人信息,并对所述宗族信息进行信息验证,得到目标宗族信息。The information collection module 101 is used to collect personal information and clan information, improve the personal information to obtain target personal information, and perform information verification on the clan information to obtain target clan information.

本发明实施例中,所述个人信息包括姓名信息、地址信息、出生信息、学校信息、工作信息、联系方式、通讯信息、婚姻状态、政治面貌及身高体重等信息;所述宗族信息包括宗族分支姓名、世系关系、迁徙历史及重要任务事迹等信息。In the embodiment of the present invention, the personal information includes name information, address information, birth information, school information, work information, contact information, communication information, marital status, political outlook, height and weight, and other information; the clan information includes clan branches Information such as name, lineage, migration history, important missions and deeds.

请参阅图2所示,本发明实施例中,所述信息采集模块在执行所述采集个人信息及宗族信息的功能时,具体用于:Please refer to Figure 2. In the embodiment of the present invention, when the information collection module performs the function of collecting personal information and clan information, it is specifically used to:

S21、获取用户对应的移动设备,提取所述移动设备对应的数据接口,并设置信息采集时间;S21. Obtain the mobile device corresponding to the user, extract the data interface corresponding to the mobile device, and set the information collection time;

S22、根据所述信息采集时间计算信息采集效率,基于所述数据接口及所述信息采集效率利用所述信息采集模块对所述移动设备进行信息采集,得到采集信息;S22. Calculate the information collection efficiency according to the information collection time, use the information collection module to collect information on the mobile device based on the data interface and the information collection efficiency, and obtain the collection information;

S23、对所述采集信息进行信息分类,得到个人信息及宗族信息。S23. Classify the collected information to obtain personal information and clan information.

本发明实施例中,所述移动设备指的是可以进行携带和移动的电子设备,例如手机及平板电脑等等,根据所述移动设备上的APP提取所述用户对应的信息,例如注册信息、登记信息及验证信息等;所述数据接口包括HDMI A Type接口、USB接口及lightning接口等;所述信息采集时间指的是预先设定的采集信息的时间长度,例如,十分钟为一个时间长度。In the embodiment of the present invention, the mobile device refers to an electronic device that can be carried and moved, such as a mobile phone, a tablet computer, etc., and the information corresponding to the user is extracted according to the APP on the mobile device, such as registration information, Registration information and verification information, etc.; the data interface includes HDMI A Type interface, USB interface, lightning interface, etc.; the information collection time refers to the preset time length for collecting information, for example, ten minutes is a time length. .

本发明实施例中,利用下述公式计算信息采集效率:In the embodiment of the present invention, the following formula is used to calculate the information collection efficiency:

T=ten+kT=te n +k

其中,F表示所述信息采集效率,T表示所述信息采集时间,n表示所述信息采集时间之间的暂停时间,a表示所述信息采集时间对应的平均采集时间,b、t均表示预设的计算参数,k表示预设的时间系数。Among them, F represents the information collection efficiency, T represents the information collection time, n represents the pause time between the information collection times, a represents the average collection time corresponding to the information collection time, b and t both represent the predetermined time. Assume the calculation parameters, k represents the preset time coefficient.

本发明实施例中,利用所述信息采集模块按照所述信息采集效率从所述移动设备对应的数据接口进行信息采集,得到采集信息;提取所述采集信息的信息属性,基于逐步分类法根据所述信息属性对所述采集信息进行信息分类,得到信息类型,将所述信息类型与所述个人信息对应的目标个人信息类型或所述宗族信息对应的目标宗族信息类型进行匹配,将匹配成功的信息类型对应的采集信息划分到个人信息或宗族信息中,得到个人信息及宗族信息。In the embodiment of the present invention, the information collection module is used to collect information from the data interface corresponding to the mobile device according to the information collection efficiency to obtain the collected information; the information attributes of the collected information are extracted and based on the stepwise classification method according to the collected information. Use the above information attributes to classify the collected information to obtain the information type, match the information type with the target personal information type corresponding to the personal information or the target clan information type corresponding to the clan information, and match the successfully matched The collected information corresponding to the information type is divided into personal information or clan information, and personal information and clan information are obtained.

请参阅图3所示,本发明实施例中,所述信息采集模块在执行所述对所述个人信息进行信息完善,得到目标个人信息的功能时,具体用于:Please refer to Figure 3. In the embodiment of the present invention, when the information collection module performs the function of completing the information on the personal information and obtaining the target personal information, it is specifically used to:

S31、对所述个人信息对应的信息属性进行遍历,得到非空信息集合及空信息集合;S31. Traverse the information attributes corresponding to the personal information to obtain a non-empty information set and an empty information set;

S32、对所述非空信息集合进行排序,得到顺序信息集合;S32. Sort the non-empty information set to obtain a sequential information set;

S33、根据所述非空信息集合及所述顺序信息集合对所述空信息集合进行中值填充,得到填充信息集合;S33. Perform median filling on the empty information set according to the non-empty information set and the sequential information set to obtain a filled information set;

S34、对所述非空信息集合、所述顺序信息集合及所述填充信息集合进行信息汇总,得到目标个人信息。S34. Summarize the non-empty information set, the sequence information set and the filling information set to obtain the target personal information.

本发明实施例中,可以采用forEach方法或者前序遍历的方法对所述个人信息对应的信息属性进行遍历,当所述个人信息对应的信息属性缺失时,将所述个人信息划分到空信息集合;当所述个人信息对应的信息属性未缺失时,将所述个人信息划分到非空信息集合;可以采用字母的顺序对所述非空信息集合中的个人信息进行排序,得到顺序信息集合。In the embodiment of the present invention, the forEach method or the preorder traversal method can be used to traverse the information attributes corresponding to the personal information. When the information attributes corresponding to the personal information are missing, the personal information is divided into an empty information set. ; When the information attribute corresponding to the personal information is not missing, the personal information is divided into a non-empty information set; the personal information in the non-empty information set can be sorted in alphabetical order to obtain a sequential information set.

本发明实施例中,根据所述非空信息集合及所述顺序信息集合对所述空信息集合进行中值填充指的是根据所述非空信息集合及所述顺序信息集合对所述空信息集合中的缺失属性采用中值的方式进行属性填充,得到填充属性,对所有所述填充属性进行汇总,得到填充信息集合,具体地,可以利用下述公式进行中值填充:In the embodiment of the present invention, performing median filling on the empty information set according to the non-empty information set and the sequential information set means filling the empty information according to the non-empty information set and the sequential information set. The missing attributes in the set are filled with median values to obtain the filled attributes. All the filled attributes are summarized to obtain the filled information set. Specifically, the following formula can be used to perform median filling:

其中,xc表示第c个填充属性,I表示所述非空信息集合,I*表示所述顺序信息集合,C表示所述空信息集合中的信息属性总数。Where, x c represents the c-th filling attribute, I represents the non-empty information set, I * represents the sequential information set, and C represents the total number of information attributes in the empty information set.

本发明实施例中,按照起始所述个人信息对应的信息属性的顺序对所述非空信息集合、所述顺序信息集合及所述填充信息集合三个集合中个人信息对应的信息属性进行整合(合并),得到目标个人信息。In the embodiment of the present invention, the information attributes corresponding to the personal information in the three sets of the non-empty information set, the sequential information set and the filled information set are integrated according to the order in which the information attributes corresponding to the personal information are started. (Merge) to obtain the target personal information.

本发明实施例中,所述信息采集模块在执行所述对所述宗族信息进行信息验证,得到目标宗族信息的功能时,具体用于:In the embodiment of the present invention, when the information collection module performs the function of verifying the information of the clan information and obtaining the target clan information, it is specifically used to:

获取目标属性,利用所述宗族信息对应的宗族属性与所述目标属性进行匹配计算,得到属性匹配值;Obtain the target attribute, use the clan attribute corresponding to the clan information and the target attribute to perform matching calculations, and obtain the attribute matching value;

判断所述属性匹配值是否大于预设的目标匹配值;Determine whether the attribute matching value is greater than the preset target matching value;

当所述属性匹配值小于或等于所述目标匹配值时,表示所述宗族信息验证失败;When the attribute matching value is less than or equal to the target matching value, it means that the clan information verification fails;

当所述属性匹配值大于所述目标匹配值时,表示所述宗族信息验证成功,将所述宗族信息作为目标宗族信息。When the attribute matching value is greater than the target matching value, it means that the clan information is successfully verified, and the clan information is used as the target clan information.

本发明实施例中,所述目标属性包括宗族姓氏、世系关系、字号及家族迁徙等;进一步地,利用下述公式进行匹配计算:In the embodiment of the present invention, the target attributes include family name, lineage relationship, font size, family migration, etc.; further, the following formula is used to perform matching calculation:

其中,r表示所述属性匹配值,dj表示所述宗族信息中第j个宗族属性,hj表示第j个宗族属性对应的目标属性,J表示所述宗族属性的总数,T表示转置符号。Among them, r represents the attribute matching value, d j represents the j-th clan attribute in the clan information, h j represents the target attribute corresponding to the j-th clan attribute, J represents the total number of the clan attributes, and T represents the transposition symbol.

本发明实施例中,所述目标属性值指的是预先设定的标准属性值,例如,设定所述目标属性值为85%;当所述属性匹配值小于或等于85%时,表示所述宗族信息验证失败,对所述宗族信息进行更新,将更新后的宗族信息作为目标宗族信息;当所述属性匹配值大于85%时,表示所述宗族信息验证成功,直接将所述宗族信息作为目标宗族信息。In the embodiment of the present invention, the target attribute value refers to a preset standard attribute value. For example, the target attribute value is set to 85%; when the attribute matching value is less than or equal to 85%, it means that the If the clan information verification fails, the clan information is updated, and the updated clan information is used as the target clan information; when the attribute matching value is greater than 85%, it means that the clan information is successfully verified, and the clan information is directly as target clan information.

本发明实施例中,得到所述目标个人信息及所述目标宗族信息之后,所述信息采集模块将所述目标个人信息及所述目标宗族信息传输至所述信息关联分析模块,具体地,获取所述信息关联分析模块的数据传输接口,利用数据传输协议通过所述数据传输接口将所述目标个人信息及所述目标宗族信息从信息采集模块传输至信息关联分析模块,其中,所述数据传输协议可以为TCP协议。In the embodiment of the present invention, after obtaining the target personal information and the target clan information, the information collection module transmits the target personal information and the target clan information to the information association analysis module. Specifically, obtain The data transmission interface of the information correlation analysis module uses a data transmission protocol to transmit the target personal information and the target clan information from the information collection module to the information correlation analysis module through the data transmission interface, wherein the data transmission The protocol can be TCP protocol.

本发明实施例中,对所述个人信息进行信息完善,能够准确得到目标个人信息,并对所述宗族信息进行信息验证,能够保证目标宗族信息的准确性,进而提高信息的精确性,提高计算机处理效率。In the embodiment of the present invention, the personal information is improved to accurately obtain the target personal information, and the clan information is verified to ensure the accuracy of the target clan information, thereby improving the accuracy of the information and improving the computer processing efficiency.

所述信息关联分析模块102,用于对接收到的所述目标个人信息之间进行第一信息关联计算,得到用户关联关系,并对接收到的所述目标宗族信息之间进行第二信息关联计算,得到宗族关联关系,根据所述目标个人信息、所述目标宗族信息、所述用户关联关系及所述宗族关联关系生成族谱关联树。The information association analysis module 102 is used to perform a first information association calculation between the received target personal information, obtain the user association relationship, and perform a second information association between the received target clan information. Calculate to obtain the clan association relationship, and generate a genealogy association tree based on the target personal information, the target clan information, the user association relationship and the clan association relationship.

本发明实施例中,所述信息关联分析模块在执行所述对接收到的所述目标个人信息之间进行第一信息关联计算,得到用户关联关系的功能时,具体用于:In the embodiment of the present invention, when the information association analysis module performs the first information association calculation between the received target personal information and obtains the user association relationship, it is specifically used to:

从所述目标个人信息中随机选取一个信息中心,将所述目标个人信息中除所述信息中心外的目标个人信息作为待选信息中心;Randomly select an information center from the target personal information, and use the target personal information other than the information center in the target personal information as the candidate information center;

计算所述信息中心与所述待选信息中心之间的关联度,并判断所述关联度是否大于预设的目标关联度;Calculate the correlation between the information center and the candidate information center, and determine whether the correlation is greater than a preset target correlation;

当所述关联度小于或等于所述目标关联度时,判定所述信息中心与所述待选信息中心的关联度较低;When the correlation degree is less than or equal to the target correlation degree, it is determined that the correlation degree between the information center and the candidate information center is low;

当所述关联度大于所述目标关联度时,判定所述信息中心与所述待选信息中心的关联度较高,提取所述信息中心与所述待选信息中心的关联信息,并根据所述关联信息分析用户关联关系。When the correlation degree is greater than the target correlation degree, it is determined that the correlation degree between the information center and the candidate information center is relatively high, the correlation information between the information center and the candidate information center is extracted, and the correlation information between the information center and the candidate information center is extracted according to the selected information center. The above-mentioned related information analyzes user related relationships.

本发明实施例中,利用下述公式计算关联度:In the embodiment of the present invention, the following formula is used to calculate the correlation degree:

其中,w表示所述关联度,zm表示第m个待选信息中心,Z表示所述信息中心,M表示所述待选信息中心的总数。Where, w represents the correlation degree, z m represents the m-th information center to be selected, Z represents the information center, and M represents the total number of information centers to be selected.

本发明实施例中,所述目标关联度指的是预先设定的标准关联度,例如,设定所述标准关联度为90%,具体地,当所述关联度小于或等于90%时,表示所述关联度未达标,即所述信息中心与所述待选信息中心的关联度较低,没有关联信息或关联信息较少,无法分析用户关联关系;当所述关联度大于90%时,表示所述关联度达标,即所述信息中心与所述待选信息中心的关联度较高,此时提取所述信息中心与所述待选信息中心的关联信息,再根据所述关联信息分析用户关联关系,例如,所述关联信息为地址信息,根据所述地址信息分析是否为同一地址且长期居住,进而所述用户关联关系可能为亲子关系、夫妻关系及姐妹关系等。In the embodiment of the present invention, the target correlation refers to a preset standard correlation. For example, the standard correlation is set to 90%. Specifically, when the correlation is less than or equal to 90%, It means that the correlation degree is not up to standard, that is, the correlation degree between the information center and the candidate information center is low, there is no correlation information or there is less correlation information, and the user correlation relationship cannot be analyzed; when the correlation degree is greater than 90% , indicating that the correlation degree reaches the standard, that is, the correlation degree between the information center and the candidate information center is relatively high. At this time, the correlation information between the information center and the candidate information center is extracted, and then based on the correlation information Analyze the user association. For example, the association information is address information. Based on the address information, it is analyzed whether the user has the same address and has lived for a long time. The user association may be a parent-child relationship, a husband-wife relationship, a sister relationship, etc.

本发明实施例中,所述对接收到的所述目标宗族信息之间进行第二信息关联计算,得到宗族关联关系的方法步骤与上述所述信息关联分析模块在执行所述对接收到的所述目标个人信息之间进行第一信息关联计算,得到用户关联关系的方法步骤类似,在此不做过多赘述。In the embodiment of the present invention, the second information association calculation is performed on the received target clan information to obtain the clan association relationship, and the above-mentioned information association analysis module performs the second information association calculation on all the received target clan information. The first information association calculation is performed between the above-mentioned target personal information to obtain the user association relationship. The method steps are similar and will not be described in detail here.

本发明实施例中,所述信息关联分析模块在执行所述根据所述目标个人信息、所述目标宗族信息、所述用户关联关系及所述宗族关联关系生成族谱关联树的功能时,具体用于:In the embodiment of the present invention, when the information association analysis module performs the function of generating a genealogy association tree based on the target personal information, the target clan information, the user association relationship and the clan association relationship, it is specifically used At:

根据所述用户关联关系对所述目标个人信息之间进行初始信息连接,得到第一连接信息链,并根据所述宗族关联关系对所述目标宗族信息之间进行初始信息连接,得到第二连接信息链;Perform an initial information connection between the target personal information according to the user association relationship to obtain a first connection information chain, and perform an initial information connection between the target clan information according to the clan association relationship to obtain a second connection. information chain;

分别对所述第一连接信息链及所述第二连接信息链进行排序,得到第一序列及第二序列,并基于所述第一序列及所述第二序列分析所述第一连接信息链及所述第二连接信息链之间的连接关系;Sorting the first connection information chain and the second connection information chain respectively to obtain a first sequence and a second sequence, and analyzing the first connection information chain based on the first sequence and the second sequence and the connection relationship between the second connection information chains;

根据所述连接关系对所述第一连接信息链及所述第二连接信息链进行信息连接,得到目标连接信息链;Perform information connection on the first connection information chain and the second connection information chain according to the connection relationship to obtain a target connection information chain;

对所述目标连接信息链进行信息排序,得到信息序列,并根据所述信息序列及所述目标连接信息链生成族谱关联树。The target connection information chain is sorted to obtain an information sequence, and a genealogy association tree is generated based on the information sequence and the target connection information chain.

本发明实施例中,根据所述用户关联关系对所述目标个人信息之间进行初始信息连接指的是将所述目标个人信息之间存在所述用户关联关系的以树状形式连接,得到第一连接信息链,例如,同辈关系并行连接,亲子关系上下连接等;根据所述宗族关联关系对所述目标宗族信息之间进行初始信息连接指的是将所述目标宗族信息之间存在所述宗族关联关系的以树状形式连接,得到第二连接信息链,例如,同族关系并行连接,衍生关系上下连接等。In the embodiment of the present invention, performing an initial information connection between the target personal information according to the user association relationship means connecting the target personal information with the user association relationship in a tree form to obtain the first A connection information chain, for example, peer relationships are connected in parallel, parent-child relationships are connected up and down, etc.; performing an initial information connection between the target clan information based on the clan association relationship means connecting the target clan information with the existence of the Clan related relationships are connected in a tree form to obtain a second connection information chain, for example, same clan relationships are connected in parallel, derivative relationships are connected up and down, etc.

本发明实施例中,可以按照时间先后顺序对所述第一连接信息链及所述第二连接信息链进行排序,得到第一序列及第二序列;并在所述第一序列及所述第二序列的基础上利用预设的关联算法分析所述第一连接信息链及所述第二连接信息链之间的连接关系,其中,所述关联算法可以为FP-growth算法或Eclat算法等。In the embodiment of the present invention, the first connection information chain and the second connection information chain can be sorted in chronological order to obtain a first sequence and a second sequence; and in the first sequence and the second sequence On the basis of two sequences, a preset correlation algorithm is used to analyze the connection relationship between the first connection information chain and the second connection information chain, where the correlation algorithm may be an FP-growth algorithm or an Eclat algorithm.

进一步地,将所述第一连接信息链及所述第二连接信息链之间具有所述连接关系的进行连接并汇总,得到目标连接信息链;按照时间先后顺序对所述目标连接信息链进行信息排序,得到信息序列;按照信息序列的顺序将所述目标连接信息链之间以树状形式连接,得到族谱关联树。Further, the first connection information chain and the second connection information chain having the connection relationship are connected and summarized to obtain a target connection information chain; the target connection information chain is processed in chronological order. The information is sorted to obtain an information sequence; the target connection information chains are connected in a tree form according to the order of the information sequence to obtain a family tree association tree.

本发明实施例中,信息关联分析模块对所述目标个人信息之间及所述目标宗族信息之间进行关联计算,能够准确得到用户关联关系及宗族关联关系;并根据所述目标个人信息、所述目标宗族信息、所述用户关联关系及所述宗族关联关系能够准确生成族谱关联树,提高信息关联效率,减少存储空间的损耗,进而提高查找信息的效率。In the embodiment of the present invention, the information association analysis module performs association calculations between the target personal information and the target clan information, and can accurately obtain the user association relationship and the clan association relationship; and based on the target personal information, the The target clan information, the user association relationship and the clan association relationship can accurately generate a genealogy association tree, improve the efficiency of information association, reduce the loss of storage space, and thereby improve the efficiency of searching for information.

所述信息更新模块103,用于对接收到的所述族谱关联树进行链路预测,根据链路预测的结果对所述族谱关联树进行优化处理,得到目标族谱关联树。The information update module 103 is configured to perform link prediction on the received family tree association tree, optimize the family tree association tree according to the result of the link prediction, and obtain a target family tree association tree.

本发明实施例中,所述信息更新模块在执行所述对接收到的所述族谱关联树进行链路预测的功能时,具体用于:In the embodiment of the present invention, when the information update module performs the function of performing link prediction on the received family tree association tree, it is specifically used to:

对所述族谱关联树中的关联节点进行节点划分,得到正样本及负样本,并分别从所述正样本及所述负样本中随机抽取第一边缘节点及第二边缘节点;Perform node division on the associated nodes in the family tree association tree to obtain positive samples and negative samples, and randomly select first edge nodes and second edge nodes from the positive samples and the negative samples respectively;

利用预设的链路预测算法对所述第一边缘节点、所述第二边缘节点及所述负样本进行打分,得到第一分数、第二分数及边缘分数;Score the first edge node, the second edge node and the negative sample using a preset link prediction algorithm to obtain a first score, a second score and an edge score;

根据所述第一分数及所述第二分数计算第一性能指标,并根据所述边缘分数对所述正样本进行排序,得到样本序列;Calculate a first performance index according to the first score and the second score, and sort the positive samples according to the edge score to obtain a sample sequence;

根据所述样本序列及所述负样本的数量计算第二性能指标,并根据所述第一性能指标及所述第二性能指标分析链路预测性能。Calculate a second performance index based on the sample sequence and the number of negative samples, and analyze link prediction performance based on the first performance index and the second performance index.

本发明实施例中,可以将所述族谱关联树中的关联节点作为测试集,根据预先设定的目标划分所述测试集对应的正样本及负样本,其中,所述正样本为目标节点,则其余非目标节点为负样本;所述链路预测算法可以为基于节点特征的方法或基于机器学习的方法等。In the embodiment of the present invention, the associated nodes in the family tree association tree can be used as a test set, and the positive samples and negative samples corresponding to the test set are divided according to preset goals, where the positive samples are target nodes, Then the remaining non-target nodes are negative samples; the link prediction algorithm can be a method based on node characteristics or a method based on machine learning, etc.

进一步地,所述第一性能指标指的是AUC指标,是正样本的第一分数高于负样本的第二分数的概率;所述第二性能指标指的是排序分,是正样本中的每条边缘在负样本对应的未知边缘中的排序情况;具体地,利用下述公式计算第一性能指标:Further, the first performance index refers to the AUC index, which is the probability that the first score of the positive sample is higher than the second score of the negative sample; the second performance index refers to the sorting score, which is the probability that the first score of the positive sample is higher than the second score of the negative sample. The sorting of edges among the unknown edges corresponding to negative samples; specifically, use the following formula to calculate the first performance index:

其中,AUC表示所述第一性能指标,g1表示所述第一分数高于所述第二分数,g2表示所述第一分数等于所述第二分数,G表示所述第一分数及所述第二分数之间的测试次数。Wherein, AUC represents the first performance index, g 1 represents that the first score is higher than the second score, g 2 represents that the first score is equal to the second score, G represents the first score and The number of tests between the second scores.

本发明实施例中,根据所述边缘分数按序一一将所述正样本对应的第一分数与所述边缘分数进行对比,得到样本序列;进一步地,利用下述公式计算第二性能指标:In the embodiment of the present invention, the first score corresponding to the positive sample is compared with the edge score one by one according to the edge score to obtain a sample sequence; further, the second performance index is calculated using the following formula:

其中,β表示所述第二性能指标,li表示所述样本序列中第i个样本次序,L表示所述负样本的数量。Among them, β represents the second performance index, l i represents the i-th sample order in the sample sequence, and L represents the number of negative samples.

本发明实施例中,当所述第一性能指标越接近0.5且所述第二性能指标越小时,表示所述链路预测性能越好;当所述第一性能指标越不接近0.5或所述第二性能指标越大时,表示所述链路预测性能越差。In the embodiment of the present invention, when the first performance index is closer to 0.5 and the second performance index is smaller, it means that the link prediction performance is better; when the first performance index is closer to 0.5 or the The larger the second performance index is, the worse the link prediction performance is.

本发明实施例中,所述信息更新模块在执行所述根据链路预测的结果对所述族谱关联树进行优化处理,得到目标族谱关联树的功能指的是判断所述链路预测性能是否达标,当所述链路预测性能达标时,表示不需要对所述族谱关联树进行优化处理,直接将所述族谱关联树作为目标族谱关联树;当所述链路预测性能未达标时,表示需要对所述族谱关联树进行优化处理,具体地,利用边缘折叠算法对所述族谱关联树中部分关联节点进行折叠,进而实现所述族谱关联树的优化,将优化后的族谱关联树作为目标族谱关联树。In the embodiment of the present invention, when the information update module performs the optimization process on the family tree association tree according to the link prediction result, the function of obtaining the target family tree association tree refers to judging whether the link prediction performance meets the standard. , when the link prediction performance reaches the standard, it means that there is no need to optimize the family tree association tree, and the family tree association tree is directly used as the target family tree association tree; when the link prediction performance does not meet the standard, it means that it is necessary The family tree association tree is optimized. Specifically, an edge folding algorithm is used to fold some of the associated nodes in the family tree association tree, thereby optimizing the family tree association tree, and the optimized family tree association tree is used as the target family tree. Association tree.

本发明实施例中,对所述族谱关联树进行链路预测,根据链路预测的结果对所述族谱关联树进行优化处理,能够准确得到目标族谱关联树,保证信息的准确性,提高族谱分析及管理效率,加快计算机处理进程。In the embodiment of the present invention, link prediction is performed on the genealogy association tree, and the genealogy association tree is optimized according to the result of the link prediction, so that the target genealogy association tree can be accurately obtained, ensuring the accuracy of the information, and improving the genealogy analysis. and management efficiency, speeding up computer processing.

所述信息存储模块104,用于利用预设的区块链技术对接收到的所述目标族谱关联树中的关联节点进行加密处理,得到加密信息,并对所述加密信息进行链式存储,得到存储信息。The information storage module 104 is configured to use preset blockchain technology to encrypt the received associated nodes in the target genealogy association tree, obtain encrypted information, and store the encrypted information in a chain, Get storage information.

本发明实施例中,所述信息存储模块在执行所述利用预设的区块链技术对接收到的所述目标族谱关联树中的关联节点进行加密处理,得到加密信息的功能时,具体用于:In the embodiment of the present invention, when the information storage module performs the function of using the preset blockchain technology to encrypt the received associated nodes in the target genealogy association tree to obtain encrypted information, it specifically uses At:

提取所述目标族谱关联树中的关联节点对应的时间信息,并将所述关联节点中除所述时间信息之外的关联节点作为业务信息;Extract the time information corresponding to the associated nodes in the target family tree association tree, and use the associated nodes in the associated nodes except the time information as business information;

对所述业务信息进行哈希运算,得到哈希值,并对所述哈希值及所述时间信息进行封装,得到区块头;Perform a hash operation on the business information to obtain a hash value, and encapsulate the hash value and the time information to obtain a block header;

将所述目标族谱关联树作为区块体,并对所述区块头及所述区块体进行连接,得到区块;Use the target genealogy association tree as a block body, and connect the block header and the block body to obtain a block;

利用区块链技术根据所述时间信息对若干所述区块进行汇总,得到信息区块链;Use blockchain technology to summarize several of the blocks based on the time information to obtain an information blockchain;

利用预设的加密算法对所述信息区块链进行加密处理,得到加密信息。The information blockchain is encrypted using a preset encryption algorithm to obtain encrypted information.

本发明实施例中,所述关联节点包括地址信息、身份信息及时间信息等,将所述地址信息及所述身份信息均作为业务信息;利用默克尔树算法对所述业务信息进行哈希运算,得到哈希值;采用forEach方法对所述哈希值及所述时间信息进行封装,得到区块头;最后按照所述时间信息中的时间顺序对若干所述区块进行连接,得到信息区块链。In the embodiment of the present invention, the associated node includes address information, identity information, time information, etc., and the address information and the identity information are both used as business information; the Merkel tree algorithm is used to hash the business information. operation to obtain a hash value; the forEach method is used to encapsulate the hash value and the time information to obtain a block header; finally, several blocks are connected according to the time order in the time information to obtain the information area Blockchain.

本发明实施例中,所述加密算法指的是:In this embodiment of the present invention, the encryption algorithm refers to:

其中,f表示所述加密信息,K表示预设的重加密密文,ps表示所述信息区块链中第s个区块信息,pα表示所述信息区块链中第α个区块信息,pγ表示所述信息区块链中第γ个区块信息,S表示预设的加密参数。Among them, f represents the encrypted information, K represents the preset re-encrypted ciphertext, p s represents the s-th block information in the information blockchain, and p α represents the α-th area in the information blockchain. Block information, p γ represents the γth block information in the information blockchain, and S represents the preset encryption parameters.

本发明实施例中,所述信息存储模块在执行所述对所述加密信息进行链式存储,得到存储信息的功能指的是设置存储密度及指针方向,基于所述存储密度及所述指针方向利用链式存储结构的方式对所述加密信息进行存储,得到存储信息,其中,所述链式结构存储的方式包括链表等形式。In the embodiment of the present invention, when the information storage module performs the chain storage of the encrypted information, the function of obtaining the stored information refers to setting the storage density and the pointer direction, based on the storage density and the pointer direction. The encrypted information is stored using a chain storage structure to obtain stored information, wherein the chain structure storage method includes a linked list and other forms.

本发明实施例中,对所述目标族谱关联树中的关联节点进行加密处理,能够准确得到加密信息,保证信息的准确性;对所述加密信息进行链式存储,能够精确得到存储信息,能够提高信息管理效率及族谱分析效率。In the embodiment of the present invention, the associated nodes in the target genealogy association tree are encrypted to accurately obtain encrypted information, ensuring the accuracy of the information; the encrypted information is stored in a chain, the stored information can be accurately obtained, and Improve information management efficiency and genealogy analysis efficiency.

本发明实施例通过信息采集模块能够准确采集个人信息及宗族信息;通过对个人信息进行信息完善,能够提高个人信息的完整性;通过对宗族信息进行信息验证,能够保证宗族信息的准确性;通过信息关联分析模块对目标个人信息之间及目标宗族信息之间进行信息关联计算,能够准确得到用户关联关系及宗族关联关系,能够提高信息之间的关联性;通过目标个人信息、目标宗族信息、用户关联关系及宗族关联关系能够准确生成族谱关联树,提高信息管理的准确性及相关性;通过信息更新模块对族谱关联树进行链路预测,根据链路预测的结果对族谱关联树进行优化处理,能够准确得到目标族谱关联树,保证目标族谱关联树的精确性;通过信息存储模块对目标族谱关联树中的关联节点进行加密处理,能够准确得到加密信息,并对加密信息进行链式存储,能够精确得到存储信息,进而能够提高信息的管理效率以及进行族谱分析时的效率。因此本发明提出的基于链外存储的族谱分析系统,可以解决进行族谱分析时效率不高的问题。Embodiments of the present invention can accurately collect personal information and clan information through the information collection module; improve the integrity of personal information by improving personal information; ensure the accuracy of clan information by performing information verification on clan information; The information association analysis module performs information association calculations between target personal information and target clan information, which can accurately obtain user association relationships and clan association relationships, and can improve the correlation between information; through target personal information, target clan information, User associations and clan associations can accurately generate genealogy association trees, improving the accuracy and relevance of information management; the information update module performs link prediction on the genealogy association tree, and optimizes the genealogy association tree based on the results of the link prediction. , the target genealogy association tree can be accurately obtained, ensuring the accuracy of the target genealogy association tree; through the information storage module, the association nodes in the target genealogy association tree are encrypted, the encrypted information can be accurately obtained, and the encrypted information can be stored in a chain. The stored information can be accurately obtained, thereby improving the efficiency of information management and genealogy analysis. Therefore, the genealogy analysis system based on off-chain storage proposed by the present invention can solve the problem of low efficiency in genealogy analysis.

如图4所示,是本发明一实施例提供的基于链外存储的族谱分析方法的流程示意图。在本发明实施例中,所述基于链外存储的族谱分析方法包括:As shown in Figure 4, it is a schematic flow chart of a genealogy analysis method based on off-chain storage provided by an embodiment of the present invention. In the embodiment of the present invention, the genealogy analysis method based on off-chain storage includes:

S401、信息采集模块采集个人信息及宗族信息,对所述个人信息进行信息完善,得到目标个人信息,并对所述宗族信息进行信息验证,得到目标宗族信息;S401. The information collection module collects personal information and clan information, completes the personal information to obtain the target personal information, and performs information verification on the clan information to obtain the target clan information;

S402、信息关联分析模块对接收到的所述目标个人信息之间进行第一信息关联计算,得到用户关联关系,并对接收到的所述目标宗族信息之间进行第二信息关联计算,得到宗族关联关系;S402. The information association analysis module performs a first information association calculation on the received target personal information to obtain a user association relationship, and performs a second information association calculation on the received target clan information to obtain a clan relationship. connection relation;

S403、所述信息关联分析模块根据所述目标个人信息、所述目标宗族信息、所述用户关联关系及所述宗族关联关系生成族谱关联树;S403. The information association analysis module generates a genealogy association tree based on the target personal information, the target clan information, the user association relationship and the clan association relationship;

S404、信息更新模块对接收到的所述族谱关联树进行链路预测,根据链路预测的结果对所述族谱关联树进行优化处理,得到目标族谱关联树;S404. The information update module performs link prediction on the received family tree association tree, optimizes the family tree association tree according to the link prediction results, and obtains the target family tree association tree;

S405、信息存储模块利用预设的区块链技术对接收到的所述目标族谱关联树中的关联节点进行加密处理,得到加密信息,并对所述加密信息进行链式存储,得到存储信息。S405. The information storage module uses the preset blockchain technology to encrypt the received associated nodes in the target genealogy association tree to obtain encrypted information, and performs chain storage on the encrypted information to obtain stored information.

本发明一实施例提供的实现基于链外存储的族谱分析系统的电子设备,所述电子设备可以包括处理器、存储器、通信总线以及通信接口,还可以包括存储在所述存储器中并可在所述处理器上运行的计算机程序,如基于链外存储的族谱分析程序。An embodiment of the present invention provides an electronic device that implements a family tree analysis system based on off-chain storage. The electronic device may include a processor, a memory, a communication bus, and a communication interface. It may also include components stored in the memory and available there. Computer programs running on the above-mentioned processors, such as genealogy analysis programs based on off-chain storage.

其中,所述处理器在一些实施例中可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述处理器是所述电子设备的控制核心(Control Unit),利用各种接口和线路连接整个电子设备的各个部件,通过运行或执行存储在所述存储器内的程序或者模块(例如执行基于链外存储的族谱分析程序等),以及调用存储在所述存储器内的数据,以执行电子设备的各种功能和处理数据。In some embodiments, the processor may be composed of an integrated circuit, for example, it may be composed of a single packaged integrated circuit, or it may be composed of multiple integrated circuits packaged with the same function or different functions, including one or more A combination of central processing unit (CPU), microprocessor, digital processing chip, graphics processor and various control chips, etc. The processor is the control core (Control Unit) of the electronic device, using various interfaces and lines to connect various components of the entire electronic device, by running or executing programs or modules stored in the memory (for example, executing a chain-based externally stored genealogy analysis program, etc.), and call the data stored in the memory to perform various functions of the electronic device and process data.

所述存储器至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、移动硬盘、多媒体卡、卡型存储器(例如:SD或DX存储器等)、磁性存储器、磁盘、光盘等。所述存储器在一些实施例中可以是电子设备的内部存储单元,例如该电子设备的移动硬盘。所述存储器在另一些实施例中也可以是电子设备的外部存储设备,例如电子设备上配备的插接式移动硬盘、智能存储卡(Smart Media Card,SMC)、安全数字(Secure Digital,SD)卡、闪存卡(Flash Card)等。进一步地,所述存储器还可以既包括电子设备的内部存储单元也包括外部存储设备。所述存储器不仅可以用于存储安装于电子设备的应用软件及各类数据,例如基于链外存储的族谱分析程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The memory includes at least one type of readable storage medium, and the readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory may be an internal storage unit of the electronic device, such as a mobile hard disk of the electronic device. In other embodiments, the memory may also be an external storage device of the electronic device, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), or a secure digital (SD) equipped on the electronic device. card, flash card, etc. Further, the memory may also include both an internal storage unit of the electronic device and an external storage device. The memory can not only be used to store application software and various types of data installed on electronic devices, such as codes for genealogy analysis programs based on off-chain storage, but can also be used to temporarily store data that has been output or will be output.

所述通信总线可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。所述总线被设置为实现所述存储器以及至少一个处理器等之间的连接通信。The communication bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into address bus, data bus, control bus, etc. The bus is configured to enable connection communication between the memory and at least one processor and the like.

所述通信接口用于上述电子设备与其他设备之间的通信,包括网络接口和用户接口。可选地,所述网络接口可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该电子设备与其他电子设备之间建立通信连接。所述用户接口可以是显示器(Display)、输入单元(比如键盘(Keyboard)),可选地,用户接口还可以是标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当地称为显示屏或显示单元,用于显示在电子设备中处理的信息以及用于显示可视化的用户界面。The communication interface is used for communication between the above-mentioned electronic device and other devices, and includes a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which are generally used to establish communication connections between the electronic device and other electronic devices. The user interface may be a display (Display) or an input unit (such as a keyboard). Optionally, the user interface may also be a standard wired interface or a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, or the like. The display may also be appropriately referred to as a display screen or a display unit, and is used for displaying information processed in the electronic device and for displaying a visualized user interface.

图中仅示出了具有部件的电子设备,本领域技术人员可以理解的是,图中示出的结构并不构成对所述电子设备的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。The figures only show an electronic device with components. Those skilled in the art can understand that the structure shown in the figures does not limit the electronic device, which may include fewer or more components than shown in the figures. , or combining certain components, or different component arrangements.

例如,尽管未示出,所述电子设备还可以包括给各个部件供电的电源(比如电池),优选地,电源可以通过电源管理方法与所述至少一个处理器逻辑相连,从而通过电源管理方法实现充电管理、放电管理,以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电方法、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。For example, although not shown, the electronic device may also include a power supply (such as a battery) that supplies power to various components. Preferably, the power supply may be logically connected to the at least one processor through a power management method, thereby implementing the power management method. Charge management, discharge management, and power consumption management functions. The power supply may also include one or more DC or AC power supplies, recharging methods, power failure detection circuitry, power converters or inverters, power status indicators, and any other components. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be described again here.

应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。It should be understood that the above embodiments are for illustration only, and the scope of the patent application is not limited by this structure.

所述电子设备中的所述存储器存储的基于链外存储的族谱分析程序是多个指令的组合,在所述处理器中运行时,可以实现:The genealogy analysis program based on off-chain storage stored in the memory in the electronic device is a combination of multiple instructions. When run in the processor, it can implement:

信息采集模块,用于采集个人信息及宗族信息,对所述个人信息进行信息完善,得到目标个人信息,并对所述宗族信息进行信息验证,得到目标宗族信息;The information collection module is used to collect personal information and clan information, improve the personal information to obtain the target personal information, and perform information verification on the clan information to obtain the target clan information;

信息关联分析模块,用于对接收到的所述目标个人信息之间进行第一信息关联计算,得到用户关联关系,并对接收到的所述目标宗族信息之间进行第二信息关联计算,得到宗族关联关系,根据所述目标个人信息、所述目标宗族信息、所述用户关联关系及所述宗族关联关系生成族谱关联树;The information association analysis module is used to perform a first information association calculation between the received target personal information to obtain the user association relationship, and perform a second information association calculation between the received target clan information to obtain Clan association: generate a family tree association tree based on the target personal information, the target clan information, the user association and the clan association;

信息更新模块,用于对接收到的所述族谱关联树进行链路预测,根据链路预测的结果对所述族谱关联树进行优化处理,得到目标族谱关联树;An information update module, configured to perform link prediction on the received family tree association tree, optimize the family tree association tree according to the results of the link prediction, and obtain the target family tree association tree;

信息存储模块,用于利用预设的区块链技术对接收到的所述目标族谱关联树中的关联节点进行加密处理,得到加密信息,并对所述加密信息进行链式存储,得到存储信息,其中,所述利用预设的区块链技术对接收到的所述目标族谱关联树中的关联节点进行加密处理,得到加密信息,包括:The information storage module is used to use the preset blockchain technology to encrypt the received associated nodes in the target genealogy association tree to obtain encrypted information, and to store the encrypted information in a chain to obtain the stored information. , wherein the preset blockchain technology is used to encrypt the received associated nodes in the target genealogy association tree to obtain encrypted information, including:

提取所述目标族谱关联树中的关联节点对应的时间信息,并将所述关联节点中除所述时间信息之外的关联节点作为业务信息;Extract the time information corresponding to the associated nodes in the target family tree association tree, and use the associated nodes in the associated nodes except the time information as business information;

对所述业务信息进行哈希运算,得到哈希值,并对所述哈希值及所述时间信息进行封装,得到区块头;Perform a hash operation on the business information to obtain a hash value, and encapsulate the hash value and the time information to obtain a block header;

将所述目标族谱关联树作为区块体,并对所述区块头及所述区块体进行连接,得到区块;Use the target genealogy association tree as a block body, and connect the block header and the block body to obtain a block;

利用区块链技术根据所述时间信息对若干所述区块进行汇总,得到信息区块链;Use blockchain technology to summarize several of the blocks based on the time information to obtain an information blockchain;

利用预设的加密算法对所述信息区块链进行加密处理,得到加密信息;Use a preset encryption algorithm to encrypt the information blockchain to obtain encrypted information;

所述加密算法指的是:The encryption algorithm refers to:

其中,f表示所述加密信息,K表示预设的重加密密文,ps表示所述信息区块链中第s个区块信息,pα表示所述信息区块链中第α个区块信息,pγ表示所述信息区块链中第γ个区块信息,S表示预设的加密参数。Among them, f represents the encrypted information, K represents the preset re-encrypted ciphertext, p s represents the s-th block information in the information blockchain, and p α represents the α-th area in the information blockchain. Block information, p γ represents the γth block information in the information blockchain, and S represents the preset encryption parameters.

具体地,所述处理器对上述指令的具体实现系统可参考附图对应实施例中相关步骤的描述,在此不赘述。Specifically, for the specific implementation system of the above instructions by the processor, reference can be made to the description of the relevant steps in the corresponding embodiments in the accompanying drawings, which will not be described again here.

进一步地,所述电子设备集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。所述计算机可读存储介质可以是易失性的,也可以是非易失性的。例如,所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或方法、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。Further, if the integrated modules/units of the electronic device are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. The computer-readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or method capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Memory).

本发明还提供一种计算机可读存储介质,所述可读存储介质存储有计算机程序,所述计算机程序在被电子设备的处理器所执行时,可以实现:The present invention also provides a computer-readable storage medium. The readable storage medium stores a computer program. When executed by a processor of an electronic device, the computer program can realize:

信息采集模块,用于采集个人信息及宗族信息,对所述个人信息进行信息完善,得到目标个人信息,并对所述宗族信息进行信息验证,得到目标宗族信息;The information collection module is used to collect personal information and clan information, improve the personal information to obtain the target personal information, and perform information verification on the clan information to obtain the target clan information;

信息关联分析模块,用于对接收到的所述目标个人信息之间进行第一信息关联计算,得到用户关联关系,并对接收到的所述目标宗族信息之间进行第二信息关联计算,得到宗族关联关系,根据所述目标个人信息、所述目标宗族信息、所述用户关联关系及所述宗族关联关系生成族谱关联树;The information association analysis module is used to perform a first information association calculation between the received target personal information to obtain the user association relationship, and perform a second information association calculation between the received target clan information to obtain Clan association: generate a family tree association tree based on the target personal information, the target clan information, the user association and the clan association;

信息更新模块,用于对接收到的所述族谱关联树进行链路预测,根据链路预测的结果对所述族谱关联树进行优化处理,得到目标族谱关联树;An information update module, configured to perform link prediction on the received family tree association tree, optimize the family tree association tree according to the results of the link prediction, and obtain the target family tree association tree;

信息存储模块,用于利用预设的区块链技术对接收到的所述目标族谱关联树中的关联节点进行加密处理,得到加密信息,并对所述加密信息进行链式存储,得到存储信息,其中,所述利用预设的区块链技术对接收到的所述目标族谱关联树中的关联节点进行加密处理,得到加密信息,包括:The information storage module is used to use the preset blockchain technology to encrypt the received associated nodes in the target genealogy association tree to obtain encrypted information, and to store the encrypted information in a chain to obtain the stored information. , wherein the preset blockchain technology is used to encrypt the received associated nodes in the target genealogy association tree to obtain encrypted information, including:

提取所述目标族谱关联树中的关联节点对应的时间信息,并将所述关联节点中除所述时间信息之外的关联节点作为业务信息;Extract the time information corresponding to the associated nodes in the target family tree association tree, and use the associated nodes in the associated nodes except the time information as business information;

对所述业务信息进行哈希运算,得到哈希值,并对所述哈希值及所述时间信息进行封装,得到区块头;Perform a hash operation on the business information to obtain a hash value, and encapsulate the hash value and the time information to obtain a block header;

将所述目标族谱关联树作为区块体,并对所述区块头及所述区块体进行连接,得到区块;Use the target genealogy association tree as a block body, and connect the block header and the block body to obtain a block;

利用区块链技术根据所述时间信息对若干所述区块进行汇总,得到信息区块链;Use blockchain technology to summarize several of the blocks based on the time information to obtain an information blockchain;

利用预设的加密算法对所述信息区块链进行加密处理,得到加密信息;Use a preset encryption algorithm to encrypt the information blockchain to obtain encrypted information;

所述加密算法指的是:The encryption algorithm refers to:

其中,f表示所述加密信息,K表示预设的重加密密文,ps表示所述信息区块链中第s个区块信息,pα表示所述信息区块链中第α个区块信息,pγ表示所述信息区块链中第γ个区块信息,S表示预设的加密参数。Among them, f represents the encrypted information, K represents the preset re-encrypted ciphertext, p s represents the s-th block information in the information blockchain, and p α represents the α-th area in the information blockchain. Block information, p γ represents the γth block information in the information blockchain, and S represents the preset encryption parameters.

在本发明所提供的几个实施例中,应该理解到,所揭露的设备,方法和系统,可以通过其他的方式实现。例如,以上所描述的方法实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed devices, methods and systems can be implemented in other ways. For example, the method embodiments described above are only illustrative. For example, the division of modules is only a logical function division, and there may be other division methods in actual implementation.

所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of hardware plus software function modules.

对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。It is obvious to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围并不仅依据上述说明进行限定,因此旨在将落在保护范围内的等同要件的含义和范围内的所有变化涵括在本发明内。Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is not limited only based on the above description, and therefore it is intended that equivalents falling within the scope of protection should be considered. All changes within the meaning and scope of the requirements are included in the present invention.

本发明所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in the present invention is a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database. It is a series of data blocks generated using cryptographic methods. Each data block contains a batch of network transaction information and is used to verify its Validity of information (anti-counterfeiting) and generation of the next block. Blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.

本申请实施例可以基于人工智能技术对相关的数据进行获取和处理。其中,人工智能(Artificial Intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、系统、技术及应用方法。The embodiments of this application can obtain and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, system, technology and application method that uses digital computers or digital computer-controlled machines to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. .

此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。方法中陈述的多个单元或方法也可以由一个单元或方法通过软件或者硬件来实现。第一、第二等词语用来表示名称,而并不表示任何特定的顺序。Furthermore, it is clear that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Multiple units or methods stated in a method may also be implemented by one unit or method through software or hardware. The words first, second, etc. are used to indicate names and do not indicate any specific order.

最后应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be modified. Modifications or equivalent substitutions may be made without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. The genealogy analysis system based on the off-chain storage is characterized by comprising an information acquisition module, an information association analysis module, an information updating module and an information storage module, and specifically comprises the following components:
the information acquisition module is used for acquiring personal information and clan information, perfecting the personal information to obtain target personal information, and verifying the clan information to obtain target clan information;
the information association analysis module is used for carrying out first information association calculation on the received target personal information to obtain a user association relation, carrying out second information association calculation on the received target religion information to obtain a religion association relation, and generating a family tree association according to the target personal information, the target religion information, the user association relation and the religion association relation;
The information updating module is used for carrying out link prediction on the received family tree association tree, and carrying out optimization processing on the family tree association tree according to a link prediction result to obtain a target family tree association tree;
the information storage module is configured to encrypt the received associated nodes in the target family tree association tree by using a preset blockchain technology to obtain encrypted information, and store the encrypted information in a chained manner to obtain stored information, where the encrypting the received associated nodes in the target family tree association tree by using the preset blockchain technology to obtain encrypted information includes:
extracting time information corresponding to associated nodes in the target genealogy associated tree, and taking associated nodes except the time information in the associated nodes as service information;
carrying out hash operation on the service information to obtain a hash value, and packaging the hash value and the time information to obtain a block header;
taking the target family tree as a block body, and connecting the block head with the block body to obtain a block;
summarizing a plurality of blocks according to the time information by using a block chain technology to obtain an information block chain;
And encrypting the information block chain by using a preset encryption algorithm to obtain encrypted information.
2. The out-of-chain storage based genealogy analysis system of claim 1, wherein the encryption algorithm is:
wherein f represents the encryption information, K represents a preset re-encryption ciphertext, and p s Representing the s-th block information, p, in the information blockchain α Representing the alpha-th block information, p, in the information blockchain γ And expressing the gamma block information in the information block chain, wherein S expresses preset encryption parameters.
3. The system of claim 1, wherein the information collection module, when executing the function of collecting personal information and clan information, is specifically configured to:
acquiring mobile equipment corresponding to a user, extracting a data interface corresponding to the mobile equipment, and setting information acquisition time;
calculating information acquisition efficiency according to the information acquisition time, and acquiring information of the mobile equipment by utilizing the information acquisition module based on the data interface and the information acquisition efficiency to obtain acquisition information;
the information acquisition efficiency was calculated using the following formula:
T=te n +k
Wherein F represents the information acquisition efficiency, T represents the information acquisition time, n represents the pause time between the information acquisition times, a represents the average acquisition time corresponding to the information acquisition time, b and T both represent preset calculation parameters, and k represents a preset time coefficient;
and classifying the acquired information to obtain personal information and religion information.
4. The genealogy analysis system based on off-chain storage of claim 1, wherein the information acquisition module is configured to, when executing the function of performing information refinement on the personal information to obtain target personal information:
traversing the information attribute corresponding to the personal information to obtain a non-empty information set and an empty information set;
ordering the non-empty information sets to obtain a sequence information set;
median filling is carried out on the empty information set according to the non-empty information set and the sequence information set, so that a filling information set is obtained;
median filling can be performed using the following formula:
wherein x is c Represents the c-th padding attribute, I represents the non-empty information set, I * Representing the sequence information set, and C represents the total number of information attributes in the null information set;
And carrying out information summarization on the non-empty information set, the sequence information set and the filling information set to obtain target personal information.
5. The system of claim 1, wherein the information acquisition module is configured to, when executing the function of verifying the clan information to obtain target clan information:
obtaining a target attribute, and performing matching calculation by utilizing the clan attribute corresponding to the clan information and the target attribute to obtain an attribute matching value;
matching calculation was performed using the following formula:
wherein r represents the attribute matching value, d j Represents the jth clan attribute, h in the clan information j The target attribute corresponding to the jth clan attribute is represented, J represents the total number of the clan attributes, and T represents a transposed symbol;
judging whether the attribute matching value is larger than a preset target matching value or not;
when the attribute matching value is smaller than or equal to the target matching value, indicating that verification of the clan information fails;
and when the attribute matching value is larger than the target matching value, the verification of the clan information is successful, and the clan information is taken as target clan information.
6. The system for analysis of family tree based on off-chain storage according to claim 1, wherein the information association analysis module is configured to, when executing the function of obtaining the user association relationship by performing a first information association calculation between the received target personal information:
randomly selecting an information center from the target personal information, and taking the target personal information except the information center in the target personal information as an information center to be selected;
calculating the association degree between the information center and the information center to be selected, and judging whether the association degree is larger than a preset target association degree or not;
the degree of association is calculated using the following formula:
wherein w represents the degree of association, z m Represent the firstM information centers to be selected, Z represents the information centers, and M represents the total number of the information centers to be selected;
when the association degree is smaller than or equal to the target association degree, judging that the association degree between the information center and the information center to be selected is lower;
when the association degree is larger than the target association degree, judging that the association degree between the information center and the information center to be selected is higher, extracting association information between the information center and the information center to be selected, and analyzing a user association relation according to the association information.
7. The system of claim 1, wherein the information association analysis module is configured to, when executing the function of generating a family tree association according to the target personal information, the target clan information, the user association relationship, and the clan association relationship: performing initial information connection between the target personal information according to the user association relationship to obtain a first connection information chain, and performing initial information connection between the target religious information according to the religious association relationship to obtain a second connection information chain; sequencing the first connection information chain and the second connection information chain respectively to obtain a first sequence and a second sequence, and analyzing the connection relation between the first connection information chain and the second connection information chain based on the first sequence and the second sequence; performing information connection on the first connection information chain and the second connection information chain according to the connection relation to obtain a target connection information chain; information sequencing is carried out on the target connection information chain to obtain an information sequence, and a family tree association tree is generated according to the information sequence and the target connection information chain;
The information updating module is specifically configured to, when executing the function of performing link prediction on the received family tree association tree: node division is carried out on the associated nodes in the family tree association tree to obtain a positive sample and a negative sample, and a first edge node and a second edge node are randomly extracted from the positive sample and the negative sample respectively; scoring the first edge node, the second edge node and the negative sample by using a preset link prediction algorithm to obtain a first score, a second score and an edge score; calculating a first performance index according to the first score and the second score, and sequencing the positive samples according to the edge score to obtain a sample sequence;
the first performance index is calculated using the following formula:
wherein AUC represents the first performance index, g 1 Indicating that the first fraction is higher than the second fraction, g 2 Representing that the first score is equal to the second score, G representing the number of tests between the first score and the second score;
calculating a second performance index according to the sample sequence and the number of the negative samples, and analyzing the predicted link performance according to the first performance index and the second performance index;
The second performance index is calculated using the following formula:
wherein β represents the second performance index, l i Indicating the i-th sample order in the sequence of samples, L indicating the number of negative samples.
8. A method of genealogy analysis based on off-chain storage, the method comprising:
the information acquisition module acquires personal information and religion information, perfects the personal information to obtain target personal information, and verifies the religion information to obtain target religion information;
the information association analysis module performs first information association calculation on the received target personal information to obtain a user association relation, and performs second information association calculation on the received target clan information to obtain a clan association relation;
the information association analysis module generates a genealogy association tree according to the target personal information, the target religion information, the user association relationship and the religion association relationship;
the information updating module carries out link prediction on the received family tree association tree, and carries out optimization processing on the family tree association tree according to a link prediction result to obtain a target family tree association tree;
And the information storage module performs encryption processing on the received associated nodes in the target family tree association tree by using a preset blockchain technology to obtain encryption information, and performs chained storage on the encryption information to obtain storage information.
9. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the functions of the off-chain storage based genealogy analysis system of any one of claims 1 to 7.
10. A computer readable storage medium storing a computer program, which when executed by a processor performs the functions of the out-of-chain storage based genealogy analysis system of any one of claims 1 to 7.
CN202311410190.XA 2023-10-27 2023-10-27 A family tree analysis system, method, device and medium based on off-chain storage Active CN117609368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311410190.XA CN117609368B (en) 2023-10-27 2023-10-27 A family tree analysis system, method, device and medium based on off-chain storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311410190.XA CN117609368B (en) 2023-10-27 2023-10-27 A family tree analysis system, method, device and medium based on off-chain storage

Publications (2)

Publication Number Publication Date
CN117609368A true CN117609368A (en) 2024-02-27
CN117609368B CN117609368B (en) 2025-02-14

Family

ID=89945005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311410190.XA Active CN117609368B (en) 2023-10-27 2023-10-27 A family tree analysis system, method, device and medium based on off-chain storage

Country Status (1)

Country Link
CN (1) CN117609368B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118312268A (en) * 2024-06-06 2024-07-09 厦门市华林测绘信息有限公司 Electronic genealogy display method and system with combined structure

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107993048A (en) * 2017-11-23 2018-05-04 苏州帝夫云道网络科技有限公司 A kind of family tree typing management system and its registration application method
CN108804699A (en) * 2018-06-15 2018-11-13 魏平 Family tree recording method, device and electronic equipment based on block chain
KR101946556B1 (en) * 2018-05-15 2019-02-12 한국마필거래소(주) Method and system for compiling and browsing genealogy using block chain
CN109788067A (en) * 2019-01-31 2019-05-21 北京瑞卓喜投科技发展有限公司 A kind of information processing method and information processing system based on block chain
CN110019918A (en) * 2018-08-30 2019-07-16 腾讯科技(深圳)有限公司 Information displaying method, device, equipment and the storage medium of virtual pet
CN110162577A (en) * 2019-05-09 2019-08-23 中国工商银行股份有限公司 The visualization of enterprise's family tree shows method, equipment and system
CN111274250A (en) * 2020-01-21 2020-06-12 山东爱城市网信息技术有限公司 A platform, equipment and medium for the management of genealogy evidence based on blockchain
CN112507667A (en) * 2020-11-18 2021-03-16 深圳源中瑞科技有限公司 Block chain-based family tree merging method, equipment and storage medium
CN114036313A (en) * 2021-11-09 2022-02-11 北京百度网讯科技有限公司 Ethnic group display method and device and electronic equipment
CN115858658A (en) * 2022-12-06 2023-03-28 北京河图联合创新科技有限公司 Family genealogy system and processing method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107993048A (en) * 2017-11-23 2018-05-04 苏州帝夫云道网络科技有限公司 A kind of family tree typing management system and its registration application method
KR101946556B1 (en) * 2018-05-15 2019-02-12 한국마필거래소(주) Method and system for compiling and browsing genealogy using block chain
CN108804699A (en) * 2018-06-15 2018-11-13 魏平 Family tree recording method, device and electronic equipment based on block chain
CN110019918A (en) * 2018-08-30 2019-07-16 腾讯科技(深圳)有限公司 Information displaying method, device, equipment and the storage medium of virtual pet
CN109788067A (en) * 2019-01-31 2019-05-21 北京瑞卓喜投科技发展有限公司 A kind of information processing method and information processing system based on block chain
CN110162577A (en) * 2019-05-09 2019-08-23 中国工商银行股份有限公司 The visualization of enterprise's family tree shows method, equipment and system
CN111274250A (en) * 2020-01-21 2020-06-12 山东爱城市网信息技术有限公司 A platform, equipment and medium for the management of genealogy evidence based on blockchain
CN112507667A (en) * 2020-11-18 2021-03-16 深圳源中瑞科技有限公司 Block chain-based family tree merging method, equipment and storage medium
CN114036313A (en) * 2021-11-09 2022-02-11 北京百度网讯科技有限公司 Ethnic group display method and device and electronic equipment
CN115858658A (en) * 2022-12-06 2023-03-28 北京河图联合创新科技有限公司 Family genealogy system and processing method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周艺华;李洪明;: "基于区块链的数据管理方案", 信息安全研究, no. 01, 5 January 2020 (2020-01-05) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118312268A (en) * 2024-06-06 2024-07-09 厦门市华林测绘信息有限公司 Electronic genealogy display method and system with combined structure

Also Published As

Publication number Publication date
CN117609368B (en) 2025-02-14

Similar Documents

Publication Publication Date Title
WO2019218514A1 (en) Method for extracting webpage target information, device, and storage medium
CN113449187B (en) Product recommendation method, device, equipment and storage medium based on double images
WO2022160449A1 (en) Text classification method and apparatus, electronic device, and storage medium
CN111930962A (en) Document data value evaluation method and device, electronic equipment and storage medium
CN112925914B (en) Data security grading method, system, equipment and storage medium
CN112528616B (en) Service form generation method and device, electronic equipment and computer storage medium
CN113806434B (en) Big data processing method, device, equipment and medium
CN112699142A (en) Cold and hot data processing method and device, electronic equipment and storage medium
CN114708461A (en) Multi-modal learning model-based classification method, device, equipment and storage medium
CN114491047A (en) Multi-label text classification method and device, electronic equipment and storage medium
CN114612194A (en) Product recommendation method and device, electronic equipment and storage medium
CN113343102A (en) Data recommendation method and device based on feature screening, electronic equipment and medium
CN113268665A (en) Information recommendation method, device and equipment based on random forest and storage medium
CN117609368A (en) A genealogy analysis system, method, equipment and medium based on off-chain storage
CN111651292A (en) Data verification method, apparatus, electronic device and computer-readable storage medium
WO2022227171A1 (en) Method and apparatus for extracting key information, electronic device, and medium
CN113505273B (en) Data sorting method, device, equipment and medium based on repeated data screening
CN114676307A (en) User retrieval-based ranking model training method, device, equipment and medium
CN114741384A (en) A patient information processing method and device thereof, and a computer-readable storage medium
CN113704616A (en) Information pushing method and device, electronic equipment and readable storage medium
CN113419951B (en) Artificial intelligent model optimization method and device, electronic equipment and storage medium
CN115099339A (en) Fraudulent behavior identification method, device, electronic device and storage medium
CN114518993A (en) System performance monitoring method, device, equipment and medium based on business characteristics
CN114611000A (en) Medical content recommendation method, device, equipment and storage medium
CN114708073A (en) Intelligent detection method and device for surrounding mark and serial mark, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant