Compasite distributed information processing system and its implementation
Technical field
The present invention relates to a kind of method and system that the system that adopts different platform, disparate databases and different pieces of information structure is interconnected and cooperates, carry out in particularly a kind of a plurality of heterogeneous systems in network that data are linked up and the method for interconnection, and the distributed information processing system of setting up according to this method.
Background technology
Along with the continuous development of infotech, computing machine in the application of all trades and professions more and more widely, handled data volume is also increasing.Simultaneously, along with the widespread use of the Internet, the computer system of networking is more and more, if can these systems be coupled together by network, automatically carry out exchanges data and collaborative work, can increase many application, greatly improve the efficient and the service that increases the client of infosystem.Yet for various reasons, each application system all is a stand-alone development, and at different application, adopt the different departments of computer science different data base management system (DBMS) of unifying, the storage organization of data and logical relation are also different, can't realize the automatic exchange of data and the cooperation of system.
Present distributed information processing system is swap data and realization cooperation in the following manner mainly.A kind of is the file-sharing mode, and a part of storage space of computing machine is divided into the communal space, and a plurality of application systems are read and write the exchange of finishing data with same form to the file in the communal space.Though this method can be finished the exchange of data, because the exchange of data is not to finish in real time, can't guarantee the integrality of data and ageing, the cooperation between the system also can't be guaranteed.Simultaneously, because the complicacy and the diversity of application system data, unified file layout will be very complicated, and the realization of distributed information processing system is also very complicated.
Another kind of mode is the instant message exchange, promptly adopts the instant message swap data between the application system.Because the generation and the transmission of instant message are finished in real time, this method can guarantee the cooperation between the ageing of data and the assurance system.Yet because the complicacy and the diversity of System Data Format, the form of instant message will be very complicated, and the generation of instant message and processing will greatly reduce the efficient of distributed information processing system.Simultaneously, because every instant message can only comprise a part of content of database, the integrality of data also can't be guaranteed.
Also having a kind of mode is shared database, the shared same database of a plurality of application systems.Adopt the method can solve the ageing and integrality of data well, cooperative system also can be guaranteed.Yet, because the complicacy and the diversity of application system adopt same database to come access data can't realize in most cases.Simultaneously, along with increasing of application system quantity, the data shared storehouse will become the bottleneck of system performance, the performance of restriction distributed information processing system.
In addition, no matter adopt above any method to realize distributed information processing system, all need existing application system is carried out a large amount of transformations.Because these application systems of exploitation have dropped into great amount of manpower and material resources, the cost of transforming is very high, and is consuming time also very long.
Summary of the invention
The objective of the invention is provides the distributed information disposal route of the system of Compasite being carried out exchanges data and cooperation at the problems referred to above, and the Compasite distributed information processing system of setting up according to this method, to overcome the deficiency of above-mentioned several distributed information processing systems.
According to an aspect of the present invention, a kind of Compasite distributed information processing system is provided, this system comprises a plurality of application systems of carrying out information processing and storage data, a plurality of and described application system is connected, information translation from each described application system is become extend markup language (XML) form and is sent to other application system, or will become the Compasite connector of the data layout of application corresponding system from extend markup language (XML) format conversion of other application system, with the communication network that communication path is provided for the Compasite connector that is connected described application system.
According to the present invention, each application system connects the Compasite connector that a handle converts extend markup language (XML) form to and is sent to described communication network from the data and the logical relation of each described application system.
According to the present invention, described application system comprises and is used to put in order with the collected data of storage system with from the application data base of the data of other system, with the information and the data of storing in the analytical applications database and collect from other application system, produce the information analysis and the service module of analysis result.
According to the present invention, the information analysis of described application system and service module can provide information service or by the Compasite connector information being sent to other application systems is further processed for the client.
According to the present invention, the Compasite connector comprises from the application system reading of data or writes the terminal simulation module of data to application system, be used for that data that the terminal simulation module is obtained and logical relation thereof are translated into extend markup language (XML) data or extend markup language (XML) data translation that other application systems are sent by communication network becomes extend markup language (XML) translater of the required form of terminal simulation module, be used to add or remove the user logic module of user logic, the communication gate that is used for reception/transmission extend markup language (XML) data and carries out network control.
According to another aspect of the present invention, a kind of Compasite distributed information processing method is provided, the method comprising the steps of: when application system needs data in other application system database, send the data acquisition request to the Compasite connector that requested application system connected, the Compasite connector that requested application system connected sense data and translate into extend markup language (XML) data from the database of requested application system, the data of requested application system are sent to the Compasite connector of the application system of filing a request by communication network, the data layout of the application system that the Compasite connector that application system connected of filing a request becomes to file a request with extend markup language (XML) data translation received, the application system of filing a request pool together the data received and the data in the own database and put in order and analyze.
According to the present invention, the application data base of application system can provide information service for the client with the result who analyzes, and also can send other application system to by corresponding Compasite connector and communication network and further handle.
According to the advantage of Compasite distributed information processing system of the present invention and method is to need not to carry out any program development according to the data structure of each application system and logical relation can realize data interchange and cooperation between the application system, distributed information processing system set up simple and fast.Can be connected by the logic that Compasite connector and communication network are set up in order to swap data between any two application systems, and any data in the database can exchange and handle with other application systems.Data can be gathered, put in order and be analyzed to application system in real time, guaranteed the efficient of cooperation.In addition, the data collection task of an application system can not produce any influence to the operation of Another application system.The result of data analysis can directly send the client to and carry out information service.The result of data analysis also can send the Another application system to and further handle.
Description of drawings
By be described in detail other purposes, characteristic and the advantage that the present invention may be better understood below in conjunction with the embodiment of accompanying drawing to Compasite distributed information processing system of the present invention and method.
Fig. 1 is the structural representation of expression according to the Compasite distributed information processing system of the embodiment of the invention;
Fig. 2 is the structural representation of expression according to the application system in the Compasite distributed information processing system of the embodiment of the invention;
Fig. 3 is the structural representation of expression according to the Compasite connector in the Compasite distributed information processing system of the embodiment of the invention; With
Fig. 4 is that expression interconnects in Compasite distributed information processing system and the operational flowchart of exchanges data according to embodiments of the invention.
Embodiment
Describe the embodiment of Compasite distributed information processing system of the present invention and method in detail below in conjunction with accompanying drawing.
Referring to Fig. 1 Compasite distributed information processing system of the present invention is described.As shown in Figure 1, this Compasite distributed information processing system (provides three application system 1a by the application system 1 of carrying out information processing and storage data among Fig. 1,1b and 1c are as an example, in the practical application, the quantity of application system is not limited thereto), Compasite connector 2 and communication network 3 are formed.Compasite connector 2 is connected with application system 1 and the information translation from the application system 1 that is connected is become extend markup language (XML) form and is sent to other application system 1, perhaps the data layout of the application system that will become to be connected from extend markup language (XML) data-switching of other application system.Communication network 3 provides communication path for the Compasite connector 2 that connects application system 1.The mark language that extend markup language (XML) allows every profession and trade to define voluntarily can provide Data Control flexibly, so that access, processing, conversion etc.To each application system, must connect a Compasite connector to carry out the work of exchanges data.
The following describes the operation of Compasite distributed information processing system, when application system 1a needed the data of application system 1b, the Compasite connector 2b that application system 1a is connected on application system 1b sent request of data.The Compasite connector 2b that is connected on application system 1b sense data and translate into that the Compasite connector 2a by communication network 3 and application system 1a sends to application system 1a after extend markup language (XML) data from the database of application system 1b.The Compasite connector 2a that is connected on the application system 1a becomes extend markup language (XML) data translation of the application system 1b that received the data layout of application system 1a.Application system 1a pools together the data received and the data in the own database and puts in order and analyze then, the result who analyzes both can be used to the client that information service is provided, and also can send other application system to by corresponding Compasite connector and communication network 3 and further handle.
According to the application system in the Compasite distributed information processing system of the present invention can be any computer system that application service is provided, and can be independently each other.Each application system can adopt the different departments of computer science data base management system (DBMS) of unifying according to self needs or requirement, and Ding Yi data store organisation and logical relation are to be fit to the needs of every profession and trade voluntarily.Application system mainly can be divided into database and message processing module two parts.The database of an application system can directly read and write data from the database of Another application system by the Compasite connector.
The inner structure of application system 1 is described below with reference to Fig. 2.As shown in Figure 2, application system 1 is by application data base 4, and information analysis and service module 5 compositions, application data base 4 is cores of application system 1, is used to put in order with the collected data of storage system with from other application systems collected and converted extend markup language (XML) to data.In addition, application data base 4 is gone back the work of support information analysis and service module 5.Information and data storage and that collect from other application system in information analysis and the service module 5 analytical applications databases 4, produce analysis result, and can provide information service or being sent to other application systems by Compasite connector 2 is further processed for the client.
The inner structure of Compasite connector 2 is described below with reference to Fig. 3.As shown in Figure 3, according to embodiments of the invention, net isomery connector 2 comprises terminal simulation module 6, extend markup language (XML) translater 7, user logic module 8 and extend markup language (XML) maker 9.In operation, terminal simulation module 6 writes data by the mode of pseudo-terminal machine from application system 1 reading of data or to application system 1.Extend markup language (XML) translater 7 is used for that data that terminal simulation module 6 is obtained and logical relation thereof are translated into extend markup language (XML) data or extend markup language (XML) data translation that other application systems are sent by communication network becomes the required form of terminal simulation module 6.User logic module 8 is used for adding or removing user logic, for example change of the change of the merging of data recording and statistics, part form or project name and data recording form or the like.Communication gate 9 is used for reception/transmission extend markup language (XML) data and carries out network control.
According to embodiments of the invention, the Compasite connector in the Compasite distributed information processing system mainly is made up of a PC and Compasite software.The terminal port that PC is connected to application system comes the pseudo-terminal machine, and Compasite software then comes data and logical relation thereof in the access database by the simulation to terminating machine.The data of being read become the XML data through translation, are sent in the Another application system database by communication network again.Received information then writes in the database of application system by the Compasite connector.
Next referring to the operating process of Fig. 4 description to Compasite distributed information processing system.According to the present invention, each application system is according to format memory data of oneself and logical relation each other thereof.When certain application system needs data in other application system database, at first,, need the application system of other application system data to send the data acquisition requests to the Compasite connector 2 that requested application system connected at step S1.At step S2, the Compasite connector that requested application system connected sense data and translate into extend markup language (XML) data from the database of requested application system.At step S3, the data of requested application system are sent to the Compasite connector of the application system of filing a request by communication network 3.At step S4, the Compasite connector that application system connected of filing a request becomes the extend markup language that is requested application system (XML) data translation of being received the data layout of this request application system.Then, at step S5, the application system of filing a request pools together the data in the data of being received and the database of controlling oneself and puts in order and analyze.At step S6, can provide information service for the client with the result who analyzes, also can send other application system to and further handle by corresponding Compasite connector and communication network.
According to embodiments of the invention, the communication network in the Compasite distributed information processing system mainly is meant in order to connect the network of each application system.This network both can be the Internet, can be dedicated network also, the data that are used for transmitting between the application system and transmitted.
Compasite distributed system of the present invention can be applied to the application system that telecom service system, ecommerce, Airport information service, residence management and all comprise many isomeries and need carry out in the distributed system of exchanges data and cooperation.
For example, in a telecommunications service application system,, adopt Compasite distributed information processing system can greatly improve the efficient of telecommunications service because each regional telecommunication center computer system is all different.In this system, each regional telecommunication center is in charge of the client of this area.Communication between inner two clients in area provides service by the equipment of inside, this area, and directly settles accounts at this area telecommunication center.Trans-regional trunk call is then united the service that provides by a plurality of telecommunication center subordinates' equipment, charging is undertaken by the regional telecommunication center under the client, and settles accounts in real time between all telecommunication centers that signal post passes through by Compasite distributed information processing system.When the client roamed into another area, all services of client were provided by the roaming place, chargeed and were then undertaken by the telecommunication center under the client, and the data in real time between the two places is exchanged and cooperation also can be undertaken by Compasite distributed information processing system.
In Microsoft Commercial Internet System, because production division of enterprise, raw material supplier, warehouse are all different with computer system, database and the data structure that transportation system is adopted, and must adopt Compasite distributed information processing system effectively to manage.In this system, a tame enterprise can adopt Compasite distributed information processing system that production division, raw material supplier, warehouse and transportation system are coupled together.When the client when enterprise places an order, enterprise just can estimate the speed that order is finished according to the speed of production of manufactured goods in the warehouse and raw-material storage, raw-material supply rate and production division.Enterprise also can determine materials procurement plan, silo program and movement plan greatly to improve the enterprise commerce efficiency of operating at once simultaneously.
In the transport information application system,, adopt Compasite distributed information processing system can carry out traffic-information service because each airport, harbour are different with the station computer system.In this system, each big airport, harbour, station and each traffic company can link to each other by Compasite distributed information processing system, and by Compasite connector swap data.Each traffic company can be according to the information optimization maneuver traffic instrument and the attendant at airport, harbour and station.The passenger can understand the operation situation of aircraft, ship, train and automobile between Shanghai and the Guangzhou in Beijing, makes things convenient for the passenger to carry out route arrangement and freight transportation.
In the residence management application system, because the difference of the residence management infosystem in each city adopts Compasite distributed information processing system that the service of census register management system can be provided better.In this system, certain city residence management infosystem can connect the residence management infosystem in other cities by Compasite distributed information processing system, and real-time exchange floating population's information manages the floating population better.
Described above only is certain applications example of the present invention, and should not be regarded as limitation of the present invention.Notion disclosed according to the present invention, those skilled in the art can design other similar embodiments at an easy rate.Claims of the present invention should be regarded as comprising the similar design that those do not deviate from aim of the present invention.