Lin LI,Lin XU
(1Sichuan College of Chinese Traditional Medicine, Mianyang 621000, China) (2Innovative Information Industry Research Institute, Fujian Normal University, Fuqing 350007, China)
Abstract: A gateway data exchange system in distributed heterogeneous network is designed and implemented to solve the large conflict problem of data exchange in distributed heterogeneous network. The principle of system gateway data exchange is given, and the LCG tree traversal data is designed. The data exchange identifier is set as the traversal path between the LCG tree’s parent node and the target node. By setting the data exchange rules, the branch expansion of the LCG tree is completed, to make system output in the form of oriented tree. In order to provide strong integration for relational databases, a data exchange model has been designed in this system. The model will be LCG tree traversal path constraints for different kinds of gateway data to enhance system performance. The experimental results show that the designed system has the characteristics of large amount of data exchange, high security and excellent data exchange compatibility.
Key words: Distributed heterogeneous network, Gateway data, LCG tree, Switching system, Design
In the context of network intelligence and big data development, most data of network work environment in China fails to form a systematic and efficient data management platform, and different network data exchange is difficult to carry out[1-3]. Distributed heterogeneous network, which is a non-structural metadata heterogeneous network structure, has a strong ability to share and contains intelligent proxy tools for rapid data search and management, in particular the need for data integration and format conversion. The gateway data exchange system in distributed heterogeneous network is a standardized management platform for data transmission and sharing. It is an organic combination of network and data communication, which provides high strength guarantee for safe use and processing of working data. This paper designed a data exchange system that is suitable for distributed heterogeneous networks.
The designed data exchange principle of the gateway data exchange system in distributed heterogeneous network is as follows: using the Longitudinal Center of Gravity (LCG) tree [4] traverses the gateway data in distributed heterogeneous network and sets the data exchange identifier as the traversal path between LCG tree’s parent node to the target node, the data exchange interface uses the back-end key information of the identifier for the “pass password”, and through setting the data exchange rules, the branch expansion of gateway data in the LCG tree could be completed.
If a ternary oriented graphT(a,l,v) represents the LCG tree,ais the node,lis the node vocabulary [2],vis the search speed, and the data exchange rule could be expressed as:
S={s1,s2,…,sn}
(1)
Where,siis the data exchange rule on thei-th tree node.
At this point, the output of gateway data exchange system in distributed heterogeneous network is an oriented tree with mutual mapping relationship of the LCG tree[5]. If the vocabularylof the LCG tree’s parent node conforms to the corresponding data exchange rules, then in this oriented tree, it will be displayed as a synonym for the vocabulary, otherwise, gateway data on the nodeawill be directly output into the tree.
As a gateway data exchange system in distributed heterogeneous network, database is the main area for data storage, processing and transmission [6-7], the integration is very important to the system, it needs to support the client/server mode and browser/server mode, Fig.1 is a integration legend of database.
Fig.1 Integration Legend of System Database
As can be seen from Fig.1, the system uses the distributed management tools to achieve database integration. WAN connects the client/server mode and browser/server mode, application programming interface connects the LAN [8-9]. The LAN could communicate with the gateway server of distributed heterogeneous network. The gateway data is managed in a relational database. The user and the administrator can carry out the LCG tree traversal of gateway data on the server. The client/server mode is responsible for data sharing and input access, browser/server mode is responsible for data exchange and output guidance.
Fig.2 is a data exchange model. It follows the data exchange rules of gateway data exchange system in the distributed heterogeneous network, and divides the gateway data in the distributed heterogeneous network into three kinds of specifications, so that the data are mutually constrained and exchanged [10]. The first kind of gateway data is that the LCG tree has a one-to-one correspondence with the data nodes on the directed tree, represented bym1; the second refers to a single LCG tree node corresponding to a number of directed tree nodes, represented bym2; the third refers to a number of LCG tree nodes corresponding to a directed tree node, represented inm3.
Fig.2 Data Exchange Model
The purpose of the data exchange model is to divide the gateway data specification in the traversal of the LCG tree of ternary oriented graphT(a,l,v), and to form a distributed set with the strongest integration performance in the relational database to improve the efficiency of traversing[11-12].
The data exchange rules used by the three specifications of gateway data areS1,S2andS3respectively. The intermediate data used in the data exchange model for gateway data cache could be expressed by a following function:
M={(m1S1)∨(m2S2)∨(m3S3)}
(2)
Under the above conditions, a “LCG tree traversal path constraint” concept could be proposed, i.e., the data characteristics with the unique location information of different gateway data could be marked and the three data exchange links in the relational database will be established [13-15], and they are one-to-one link, one-to-many link, and a one-to-one link, respectively. The LCG tree traversal path constraint is directly introduced into the data exchange link to limit the model work logic.
The essence of LCG tree traversal is a kind of constrained navigation search. Starting from the parent node, all the data of the gateway to be exchanged in the distributed heterogeneous network are input into the setEorderly, then:
m1∪m2∪m3=E
(3)
Let theτbe the node of the LCG tree traversal path andpbe the path plan, then the path constraints ofm1,m2andm3should be node vocabulary constraints, range constraints and inverse search constraints [16-18], denoted byA,B,C:
A={τ∈E,p→P,N(x,p)=N(y,p)}
(4)
B={K(x,p)∈K(y,p)}
(5)
C={?x∈K(p),?y∈K(p),
x∈N(x,p),y∈N(y,p)}
(6)
Where,Pdenotes the set of gateway data signatures,Ndenotes the set of signature paths [8] for gateway data in subsequent brackets[19-20],Kdenotes the set of LCG tree nodes inN,xandyare the traverse path nodes of the two LCG trees under different traversal times.
The data exchange efficiency and compatibility of gateway data exchange system in distributed heterogeneous network could be greatly improved by LCG tree traversal path constraint.
In the experiments, the gateway data exchange system in the distributed heterogeneous network designed in this paper will carry on the data exchange task on the IE 8 browser and the windows 7 operating system, and the visual JAVA development tool is used to complete the quantity measurement of data exchange. The experiment determination data includes the initial data, the total amount of data exchange, the amount of data exchange per second, and the success rate of data exchange in the system database. The experimental site is in the network environment of a city library. Fig.3 shows the data exchange process set up in advance. The gateway data exchange system in distributed heterogeneous network will follow the process to complete the data exchange task.
As shown in Fig.3, the radio frequency acquisition equipment is used to obtain 5 000 books data to input to the distributed heterogeneous network and constitute the gateway data in the library management system. The gateway data features are shown in Table 1.
Fig.3 Data Exchange Process (Experimental Setting)
Table 1 Table of gateway data features
FeatureCategoryReuse criteriaIdentifierPositionEPC C1 G2Security keyPositionModel scaleDecompression meansPositionModel scaleData searchPositionISO28560Collection logoPositionISO28561Temporary storage areaPositionModel scaleInformation of borrowing personnel CertificationCustomRF equipment informationCertificationCustomInformation storage formatLogCustomInformation content formatLogCustom
The gateway data features described in Table 1 are the common features of the 5 000 books’ data and the key points that require data exchange. In the experiments, the data exchange volume, security and data exchange compatibility of the gateway data exchange system in distributed heterogeneous network are measured by the amount of data exchange in unit time, integrity [11] and availability of the features in table 1 in the data exchange process.
Fig.4 compares the amount of data exchange in unit time by using Apriori algorithm data exchange system and the gateway data exchange system in the distributed heterogeneous network under the same experimental conditions. The total amount of exchange data in the library management system is 11.3G, the maximum exchange time is set to 60 s, which indicates that the average value of data exchange of the two systems per second to be carried out should reach 0.188 3G. Table 2 is the analysis results of data exchange.
Fig.4 Comparison of average value of data exchange
Table 2 Analysis results of data exchange
Analysis ProjectData exchange system based on Apriori algorithm Gateway data exchange system based on distributed heterogeneous network in this paperTotal amount of da-ta exchanged within 60 s10.6 G11.3 GAverage amount of data exchange per second0.179 3 G0.189 2 GTotal exchange time65.36 s57.21 s
It can be seen from Figure 4 and Table 2 that the data exchange volume of the gateway data exchange system in distributed heterogeneous network is greater than that of data exchange system based on Apriori algorithm and the gateway data exchange system based on distributed heterogeneous network in this paper.
The integrity of the exchange data needs to analyze the feature integrity rate of 5 000 books data in order during the gateway data exchange process. Table 3 shows the average value of feature integrity rate of the system when performing 5 000 gateway data exchanges.
Table 3 compares the average feature integrity rate of gateway data exchange of the data exchange system based on Apriori algorithm, resource allocation data exchange system and the gateway data exchange system based on distributed heterogeneous network in this paper. The overall average values of the obtained feature integrity rate are 95.158%, 98.892 and 99.903%, respectively. It can be seen that the security of the gateway data exchange system in distributed heterogeneous network is better, and the data integrity in the process of data exchange could be guaranteed.
After this, in the experiments, a massive data redundancy interference is added in distributed heterogeneous networks, and the integrity of the data are shown in Table 4. The results are consistent with the above results, the security of the system from low to high order is: data exchange system based on Apriori algorithm, resource allocation data exchange system, the gateway data exchange system based on distributed heterogeneous network in this paper.
Table 3 Average of Feature Integrity
FeatureAverage feature integrity rate/%Data exchange system based on Apriori algorithmResource allocation data exchange systemGateway data exchange system based on distributed heterogeneous network in this paperIdentifier78.2596.1799.27Security key96.1798.21100.00Decompression means98.24100.00100.00Data search91.5596.53100.00Collection logo90.73100.00100.00Temporary storage area99.62100.00100.00Information of borrowing person-nel98.79100.00100.00RF equipment information100.0099.2899.76Information storage format100.00100.00100.00Information content format98.2398.73100.00The overall average95.15898.89299.903
Table 4 Average of feature integrity rate under massive data redundant interference
FeatureAverage feature integrity rate/%Data exchange system based on Apriori algorithmResource allocation data exchange systemGateway data exchange system based on distributed heterogeneous network in this paperIdentifier71.0893.0298.69Security key92.5195.2699.62Decompression means91.0396.8999.34Data search86.3492.8699.42Collection logo83.7296.85100.00Temporary storage area96.1696.8599.73Information of borrowing person-nel92.2196.8399.42RF equipment information92.7996.13100.00Information storage format99.7599.7299.89Information content format91.0292.07100.00The overall average89.66195.64899.611
The compatibility of data exchange is divided into hardware compatibility and software compatibility, and it needs to obtain the availability of data exchange results of system hardware and software. Generally, data availability should not be less than 92.58%. For the time being, the optimal value of data availability can reach up to 98.76%, which is rarely completely available or unavailable. Fig.5 is the data compatibility test platform. Fig.6 is the compatibility analysis results of data exchange of the gateway data exchange system in distributed heterogeneous network.
Fig.5 Data Compatibility Test Platform
It can be seen from Fig.6, the availability of hardware and software data in the gateway data exchange system in the proposed distributed heterogeneous network can meet requirement and the availability of hardware data can reach the optimal value.
In this paper, a gateway data exchange system in distributed heterogeneous network has been designed under the condition of LCG tree and database integration. Through the concrete experiments, the important performance of the proposed method in this paper is confirmed and it has been compared with that of Apriori algorithm, and the resource allocation data exchange system under the same experimental conditions could achieve the system design goals, and make stable and reliable gateway data exchange in the distributed heterogeneous network.
Fig.6 Experimental Results of Data Exchange Compatibility
Supported by Foundationof Fujian Science and Technology Projects(No.2013H6012).