CN109325025A - A Reconfigurable Integration Method for Multi-source Heterogeneous Platforms - Google Patents

A Reconfigurable Integration Method for Multi-source Heterogeneous Platforms Download PDF

Info

Publication number
CN109325025A
CN109325025A CN201810858683.2A CN201810858683A CN109325025A CN 109325025 A CN109325025 A CN 109325025A CN 201810858683 A CN201810858683 A CN 201810858683A CN 109325025 A CN109325025 A CN 109325025A
Authority
CN
China
Prior art keywords
node
hash
identifier
reconfigurable
source heterogeneous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810858683.2A
Other languages
Chinese (zh)
Inventor
张彩霞
胡绍林
王向东
王新东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Foshan University
Original Assignee
Foshan University
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 Foshan University filed Critical Foshan University
Priority to CN201810858683.2A priority Critical patent/CN109325025A/en
Publication of CN109325025A publication Critical patent/CN109325025A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of multi-source heterogeneous restructural integrated approaches of platform, it is characterised in that: includes the following steps S1, introduces a global distributed directory Hash table;S2, file or the pathname of catalogue are subjected to Hash calculating, obtain the global distributed directory Hash table component where its higher level's catalogue;S3, it is searched in global distributed directory Hash table according to pathname, obtains unique identifier of corresponding component;S4, unique identifier is subjected to consistency hash algorithm, searched on the consistency Hash ring that meta data server is constituted apart from nearest node;S5, the node is mapped on meta data server.The present invention is divided by using based on address directory with the two-stage mapping mechanism of consistency hash algorithm management name space, improves the scalability of system and the dynamic for adapting to data increases, and brings less expense.

Description

A kind of restructural integrated approach of multi-source heterogeneous platform
Technical field
The present invention relates to multi-source data management method, especially a kind of restructural integrated approach of multi-source heterogeneous platform.
Background technique
In multi-source data service, the critical issue of data management is how to divide and map multi-data source name space letter Breath.The division of name space will have adaptivity and scalability, and the dynamic that can adapt to data increases, and brings less Expense.
Summary of the invention
In order to overcome the deficiencies in the prior art described above, the present invention provides a kind of adaptive and expansible novel multi-sources The restructural integrated approach of heterogeneous platform.
The technical solution adopted by the present invention to solve the technical problems are as follows:
A kind of restructural integrated approach of multi-source heterogeneous platform, it is characterised in that: include the following steps
S1, a global distributed directory Hash table is introduced;
S2, file or the pathname of catalogue are subjected to Hash calculating, the distributed mesh of the overall situation where obtaining its higher level's catalogue Record Hash table component;
S3, it is searched in global distributed directory Hash table according to pathname, obtains unique mark of corresponding component Symbol;
S4, unique identifier is subjected to consistency hash algorithm, in the consistency that meta data server is constituted It searches on Hash ring apart from nearest node;
S5, the node is mapped on meta data server.
Further, method pathname Hash calculated in the step S2 are as follows: sequence S=si | i=0 ..., n-1 }, The mark Wi of node si is calculated as follows: Wi=hash (Wi-1+si), wherein W0=hash (s0);I=0 ..., n-1.
Further, the global distributed directory Hash table component U are as follows: { Wi, si, Wi-1, F }, as i=0, W0, S0,0,0 }, correspondence is construed to: { mark, node, preceding mark, node type }.
Further, the mark Ni of the node si is calculated as follows: Ni=hash (Ni-1+si), wherein N0=hash (s0); I=0 ..., n-1;Nn-1 is first searched, is not as a result found then for sky, otherwise searches sequence Nn-2, recurrence is until finding or directly Until N0;If find as a result, if the corresponding inquiry of result mark;After finding the mark of node, in next step in the node In subsequent node search have terminal node identify node, recursion method search, with the node be preposition node node whether There is terminal node mark, have, finds;No person's recurrence terminates inquiry until finding.
Bring beneficial effect of the present invention has:
The present invention is divided and the two-stage mapping mechanism of consistency hash algorithm management name by using based on address directory Space, improves the scalability of system and the dynamic for adapting to data increases, and brings less expense.
Detailed description of the invention
With reference to the accompanying drawing and specific embodiment the invention will be further described,
Fig. 1 is division and mapping schematic diagram of the invention.
Specific embodiment
It is a kind of multi-source heterogeneous restructural integrated approach of platform of the invention shown in referring to Fig.1, it is characterised in that: including Following steps
S1, a global distributed directory Hash table is introduced;
S2, file or the pathname of catalogue are subjected to Hash calculating, the distributed mesh of the overall situation where obtaining its higher level's catalogue Record Hash table component;
S3, it is searched in global distributed directory Hash table according to pathname, obtains unique mark of corresponding component Symbol;
S4, unique identifier is subjected to consistency hash algorithm, in the consistency that meta data server is constituted It searches on Hash ring apart from nearest node;
S5, the node is mapped on meta data server.
Further, method pathname Hash calculated in the step S2 are as follows: sequence S=si | i=0 ..., n-1 }, The mark Wi of node si is calculated as follows: Wi=hash (Wi-1+si), wherein W0=hash (s0);I=0 ..., n-1.
Further, the global distributed directory Hash table component U are as follows: { Wi, si, Wi-1, F }, as i=0, W0, S0,0,0 }, correspondence is construed to: { mark, node, preceding mark, node type }.
Further, the mark Ni of the node si is calculated as follows: Ni=hash (Ni-1+si), wherein N0=hash (s0); I=0 ..., n-1;Nn-1 is first searched, is not as a result found then for sky, otherwise searches sequence Nn-2, recurrence is until finding or directly Until N0;If find as a result, if the corresponding inquiry of result mark;After finding the mark of node, in next step in the node In subsequent node search have terminal node identify node, recursion method search, with the node be preposition node node whether There is terminal node mark, have, finds;No person's recurrence terminates inquiry until finding.
The main realizing route name of above method can search for, and pathname introductory path can search for, and solve multi-source heterogeneous number Path in can computational problem.
After having the design of above-mentioned lookup, a large amount of data to import arrangement, path can search for just having with computing system For corresponding function.
It should be noted that described above is presently preferred embodiments of the present invention, the invention is not limited to above-mentioned Embodiment all should belong to protection scope of the present invention as long as it reaches technical effect of the invention with identical means.

Claims (4)

1.一种多源异构平台可重构集成方法,其特征在于:包括以下步骤1. a multi-source heterogeneous platform reconfigurable integration method is characterized in that: comprise the following steps S1、引入一个全局分布式目录Hash表;S1. Introduce a global distributed directory Hash table; S2、将文件或目录的路径名进行Hash计算,得到其上级目录所在的全局分布式目录Hash表分量;S2. Perform Hash calculation on the path name of the file or directory, and obtain the Hash table value of the global distributed directory where its parent directory is located; S3、根据路径名在全局分布式目录Hash表中查找,得到所对应分量的唯一的标识符;S3. Search in the global distributed directory Hash table according to the path name to obtain the unique identifier of the corresponding component; S4、将所述唯一的标识符进行一致性Hash算法,在元数据服务器构成的一致性Hash环上查找距离最近的节点;S4, perform a consistent Hash algorithm on the unique identifier, and search for the nearest node on the consistent Hash ring formed by the metadata server; S5、将所述节点映射到元数据服务器上。S5. Map the node to the metadata server. 2.根据权利要求1所述的一种多源异构平台可重构集成方法,其特征在于:所述步骤S2中对路径名Hash计算的方法为:序列S={s i|i=0,...,n-1},节点s i的标识Wi,计算如下:Wi=hash(Wi-1+s i),其中W0=hash(s0);i=0,...,n-1。2. The method for reconfigurable integration of multi-source heterogeneous platforms according to claim 1, wherein the method for calculating the pathname Hash in the step S2 is: the sequence S={s i|i=0, ...,n-1}, the identifier Wi of node si, calculated as follows: Wi=hash(Wi-1+s i), where W0=hash(s0); i=0,...,n-1. 3.根据权利要求2所述的一种多源异构平台可重构集成方法,其特征在于:所述全局分布式目录Hash表分量U为:{Wi,s i,Wi-1,F},当i=0时,{W0,s0,0,0},对应解释为:{标识,节点,前标识,节点类型}。3. The method for reconfigurable integration of multi-source heterogeneous platforms according to claim 2, wherein: the globally distributed directory Hash table component U is: {Wi, si, Wi-1, F}, When i=0, {W0, s0, 0, 0}, correspondingly interpreted as: {identity, node, pre-identity, node type}. 4.根据权利要求3所述的一种多源异构平台可重构集成方法,其特征在于:所述节点si的标识Ni计算如下:Ni=hash(Ni-1+s i),其中N0=hash(s0);i=0,...,n-1;先查找Nn-1,结果不为空则找到,否则查找序列Nn-2,递归直到找到或者直到N0为止;如果找到结果,则结果对应查询的标识;找到节点的标识后,下一步在该节点的后续节点中查找有终止节点标识的节点,递归方法查找,以该节点为前置节点的节点是否有终止节点标识,有则找到;否者递归直到找到,结束查询。4. The method for reconfigurable integration of multi-source heterogeneous platforms according to claim 3, characterized in that: the identifier Ni of the node si is calculated as follows: Ni=hash(Ni-1+s i), wherein N0= hash(s0); i=0,...,n-1; first find Nn-1, if the result is not empty, find it, otherwise find the sequence Nn-2, recurse until found or until N0; if the result is found, then The result corresponds to the identifier of the query; after finding the identifier of the node, the next step is to find the node with the identifier of the terminal node in the subsequent nodes of the node, and the recursive method is used to find out whether the node with this node as the front node has the identifier of the terminal node, if so found; otherwise, recurse until found, ending the query.
CN201810858683.2A 2018-07-31 2018-07-31 A Reconfigurable Integration Method for Multi-source Heterogeneous Platforms Pending CN109325025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810858683.2A CN109325025A (en) 2018-07-31 2018-07-31 A Reconfigurable Integration Method for Multi-source Heterogeneous Platforms

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810858683.2A CN109325025A (en) 2018-07-31 2018-07-31 A Reconfigurable Integration Method for Multi-source Heterogeneous Platforms

Publications (1)

Publication Number Publication Date
CN109325025A true CN109325025A (en) 2019-02-12

Family

ID=65263946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810858683.2A Pending CN109325025A (en) 2018-07-31 2018-07-31 A Reconfigurable Integration Method for Multi-source Heterogeneous Platforms

Country Status (1)

Country Link
CN (1) CN109325025A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754001A (en) * 2013-12-30 2015-07-01 方正宽带网络服务股份有限公司 Cloud storage system and data storage method
CN106559448A (en) * 2015-09-28 2017-04-05 北京国双科技有限公司 Server load balancing method and apparatus
CN107197035A (en) * 2017-06-21 2017-09-22 中国民航大学 A kind of compatibility dynamic load balancing method based on uniformity hash algorithm

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754001A (en) * 2013-12-30 2015-07-01 方正宽带网络服务股份有限公司 Cloud storage system and data storage method
CN106559448A (en) * 2015-09-28 2017-04-05 北京国双科技有限公司 Server load balancing method and apparatus
CN107197035A (en) * 2017-06-21 2017-09-22 中国民航大学 A kind of compatibility dynamic load balancing method based on uniformity hash algorithm

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梅玫: "基于两级映射体系的分布式存储子系统的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Similar Documents

Publication Publication Date Title
CN106970936B (en) Data processing method and device and data query method and device
KR102407510B1 (en) Method, apparatus, device and medium for storing and querying data
CN111831785B (en) Sensitive word detection method, device, computer equipment and storage medium
US8015195B2 (en) Modifying entry names in directory server
CN105005567B (en) Interest point query method and system
CN105468644B (en) Method and equipment for querying in database
Abdelmageed et al. Jentab: A toolkit for semantic table annotations
US20120054198A1 (en) Table creating and lookup method used by network processor
CA3057038A1 (en) Data filtering method, apparatus, electronic apparatus and storage medium
CN110245191A (en) Data processing method and device
CN108241709A (en) A data integration method, device and system
CN106250476A (en) A kind of methods, devices and systems updated and synchronize white list
CN112162987A (en) Data processing method, apparatus, equipment and storage medium
CN109325025A (en) A Reconfigurable Integration Method for Multi-source Heterogeneous Platforms
US9529855B2 (en) Systems and methods for point of interest data ingestion
US9509757B2 (en) Parallel sorting key generation
US20200004843A1 (en) Geocode interpolation
CN106874400A (en) A kind of data processing method and server
CN112639761B (en) Method and device for establishing index for data
US8682644B1 (en) Multi-language sorting index
TWI676112B (en) Method and apparatus for building an index and searching in a cloud search platform
CN105095283A (en) Quasi-friend recommending method in social networking system and quasi-friend recommending system in social networking system
CN110046180B (en) Method and device for locating similar examples and electronic equipment
CN110717036A (en) Method and device for removing duplication of uniform resource locator and electronic equipment
CN116069852A (en) Data synchronization method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190212