CN109325025A - A Reconfigurable Integration Method for Multi-source Heterogeneous Platforms - Google Patents
A Reconfigurable Integration Method for Multi-source Heterogeneous Platforms Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims description 14
- 230000010354 integration Effects 0.000 title claims 5
- 238000004364 calculation method Methods 0.000 claims 1
- 238000013459 approach Methods 0.000 abstract description 6
- 238000013507 mapping Methods 0.000 abstract description 3
- 238000013523 data management Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
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
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)
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)
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 |
-
2018
- 2018-07-31 CN CN201810858683.2A patent/CN109325025A/en active Pending
Patent Citations (3)
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)
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 |