CN104092784A - Device and method for data exchange - Google Patents
Device and method for data exchange Download PDFInfo
- Publication number
- CN104092784A CN104092784A CN201410289758.1A CN201410289758A CN104092784A CN 104092784 A CN104092784 A CN 104092784A CN 201410289758 A CN201410289758 A CN 201410289758A CN 104092784 A CN104092784 A CN 104092784A
- Authority
- CN
- China
- Prior art keywords
- data
- application system
- exchange
- data exchange
- exchanges
- 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
Links
Abstract
The invention provides a device for data exchange. The device comprises a mapping rule building module, an exchange data building module, a service processing module and a result feedback module, wherein according to data structure relations of a first application system and a second application system, the mapping rule building module sets data mapping rules and obtains metadata; according to the data mapping rules and the metadata, the exchange data building module builds a uniform data exchange interface and builds data exchange services; the service processing module receives data exchange requests sent by the first application system through the data exchange services and sends the data exchange requests to a corresponding service processing unit, the service processing unit performs data structure conversion according to the data structure relations so as to obtain data for exchange requested by the first application system; and the result feedback module is used for sending the data to the first application system. Correspondingly, the invention further provides a method for data exchange. According to the technical scheme, the device and method for data exchange can adapt to data exchange of different systems, save time, reduce cost and improve system stability.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of DEU data exchange unit and a kind of method for interchanging data.
Background technology
In the information globalization epoch, the division of labor of the large production of socialization is more and more thinner, the mode of production of enterprise is produced and is changed into coordination based on specialization and produce by large and complete autonomous type, and enterprise is faced with challenge that more and more fierce external competitive environment brings and internal control and the operation cost pressure bringing that rises.Therefore, internally, enterprise, in the urgent need to energy integrated optimization internal resource and operation flow, realizes interconnection and interflow, information sharing fusion and business integration between the each system of enterprises, to improve enterprise operation efficiency, reduces costs; Externally, enterprise, in the urgent need to getting through " information barrier " between enterprise, realizes information exchange and automation business cooperation between enterprise and supplier, partner, client, reduces transaction cost, jointly to tackle risk and challenge.This just needs enterprise application system and third party's application system to carry out exchanges data.
In the prior art, when enterprise and third party's application system are done exchanges data, often run into following problem:
(1) need to again develop a set of interface routine and connect the different system of two covers to realize exchanges data, need to drop into a large amount of time and fund for this reason;
(2) in the time that two kinds of system data structures or operation flow change, need to revise interface routine, act of revision not only needs to spend the plenty of time, and may cause system to be in an unsure state within a period of time.
Therefore need a kind of new technical scheme, build a reusable platform unified entrance and method of calling is provided, to complete the exchanges data between different system, reduce the difficulty of exploitation, save time and cost, improve the efficiency of exchanges data, the stability of elevator system.
Summary of the invention
The present invention is just based on the problems referred to above, a kind of new technical scheme has been proposed, build a reusable platform unified entrance and method of calling is provided, to complete the exchanges data between different system, reduce the difficulty of exploitation, save time and cost, improved the efficiency of exchanges data.
In view of this, the present invention proposes a kind of DEU data exchange unit, for the exchanges data between application system, it is characterized in that, comprise: mapping ruler builds module, according to the data relation of the first application system and the second application system, data-mapping rule is set, and obtains metadata from described the first application system and described the second application system; Fabric Interface builds module, according to described data-mapping rule and described metadata, builds unified data exchange interface, and sets up data exchange service for described data exchange interface; Service Processing Module, receive by described data exchange service the data exchange request that described the first application system is sent, and according to the content of described data exchange request, described data exchange request is sent to corresponding Service Processing Unit, described Service Processing Unit carries out data structure conversion according to the described data relation of described the first application system and described the second application system, to obtain the data of described the first application system request exchange; Result feedback module, for being sent to described data described the first application system.
In this technical scheme, for the different application systems of carrying out exchanges data, according to its exchange both sides' data relation, data-mapping rule is set, and extracts both sides' metadata, like this, by building a reusable data interchange platform, provide unified interface and method of calling, for the first application system calling data from the second application system, wherein, the first application system can be third party's application system, and the second application system can be enterprise application system.Owing to only need to importing data exchange request into, thereby can make third party's application system drop to minimum to the dependence of enterprise application system.Third party's application system is issued into this unified interface after the form of data exchange service, as long as the both sides of exchanges data at same local area network (LAN) or on the internet, just can call this service and carry out exchanges data, has effectively broken the restriction in space.Data interchange platform can also pass through unified method of calling, according to the data of data exchange request, it is carried out to distribution processor, request is passed to corresponding Service Processing Unit and go executing data exchange.This makes any one third party's application system and want the business system of swap data to set up mapping ruler by this platform, needn't all again develop a set of interface routine for the different system of every two cover and realize exchanges data, difficulty and the cost of exploitation are reduced, time and manpower is saved, improved the efficiency of exchanges data.In addition, in the time that two kinds of system data structures or operation flow change, needn't revise or incremental data interface routine, also difficulty and the cost of exploitation have been reduced, time and manpower is saved, improve the efficiency of exchanges data, can also avoid the system that causes because of interface routine amendment or variation unstable simultaneously.
In technique scheme, preferably, described mapping ruler builds module and also comprises: memory module, for storing described metadata and described data-mapping rule, wherein, the file layout of described data-mapping rule is extend markup language.
In this technical scheme, data-mapping rule is out also preserved with the formal description of extend markup language (XML), make it have the characteristic of low coupling, can realize the exchanges data between cross-platform application system.
In technique scheme, preferably, also comprise: condition setting module, for according to the order that arranges receiving, arranges exchanges data condition.
In technique scheme, preferably, described exchanges data condition comprises one of following or combination: the type of service of data exchange request, allow the data of exchange scope, carry out the time point of exchanges data or carry out time interval of exchanges data.
In this technical scheme, user can be according to self needs, for third party's application system arranges exchanges data condition, such as, which business paper is set and can carries out exchanges data, which data is allowed to exchanges data, and carrying out exchanges data is in order to obtain which data, when carries out exchanges data, time described here, can be certain time point, can be also the time interval, how long is arranged on and carries out an exchanges data in interval.Like this, regulate by exchanges data is set, can make user according to the parameter such as type, scope, time and content that self need to adjust exchanges data, the flexibility that has improved exchanges data.
In technique scheme, preferably, also comprise: plan module, formulate exchanges data plan according to described exchanges data condition, and described Service Processing Module also comprises: plan Executive Module, receive by described data exchange service the data exchange request that described the first application system is sent, judge whether described data exchange request meets described exchanges data condition, when judged result is when being, described data exchange request is sent to corresponding Service Processing Unit, move described exchanges data plan, described Service Processing Unit is according to described exchanges data plan, described data relation by described the first application system and described the second application system is carried out data structure conversion, to obtain the data of described the first application system request exchange.
In this technical scheme, user can be according to self needs, by exchanges data condition is set, for third party's application system arranges exchanges data plan, in the time that default exchanges data condition is met, system can be carried out exchanges data automatically according to predetermined exchanges data plan.Such as, third party's application system is set at executing data exchange plan sometime, when the exchanges data of presetting in this moment of arrival regulates and is met, even the in the situation that of unattended duty, third party's application system also can be carried out exchanges data by carrying out default exchanges data plan and enterprise application system.Like this, can save human resources, reduce the cost of enterprise, also reduce error rate by reducing manual operation simultaneously.
According to a further aspect in the invention, a kind of method for interchanging data is also provided, for the exchanges data between application system, comprise: according to the data relation of the first application system and the second application system, data-mapping rule is set, and obtains metadata from described the first application system and described the second application system; According to described data-mapping rule and described metadata, build unified data exchange interface, and set up data exchange service for described data exchange interface; Receive by described data exchange service the data exchange request that described the first application system is sent, and according to the content of described data exchange request, described data exchange request is sent to corresponding Service Processing Unit, described Service Processing Unit carries out data structure conversion according to the described data relation of described the first application system and described the second application system, to obtain the data of described the first application system request exchange; Described data are sent to described the first application system.
In this technical scheme, for the different application systems of carrying out exchanges data, according to its exchange both sides' data relation, data-mapping rule is set, and extracts both sides' metadata, like this, by building a reusable data interchange platform, provide unified interface and method of calling, for the first application system calling data from the second application system, wherein, the first application system can be third party's application system, and the second application system can be enterprise application system.Owing to only need to importing data exchange request into, thereby can make third party's application system drop to minimum to the dependence of enterprise application system.Third party's application system is issued into this unified interface after the form of data exchange service, as long as the both sides of exchanges data at same local area network (LAN) or on the internet, just can call this service and carry out exchanges data, has effectively broken the restriction in space.Data interchange platform can also pass through unified method of calling, according to the data of data exchange request, it is carried out to distribution processor, request is passed to corresponding Service Processing Unit and go executing data exchange.This makes any one third party's application system and want the business system of swap data to set up mapping ruler by this platform, needn't all again develop a set of interface routine for the different system of every two cover and realize exchanges data, difficulty and the cost of exploitation are reduced, time and manpower is saved, improved the efficiency of exchanges data.In addition, in the time that two kinds of system data structures or operation flow change, needn't revise or incremental data interface routine, also difficulty and the cost of exploitation have been reduced, time and manpower is saved, improve the efficiency of exchanges data, can also avoid the system that causes because of interface routine amendment or variation unstable simultaneously.
In this technical scheme, data-mapping rule is out also preserved with the formal description of extend markup language (XML), make it have the characteristic of low coupling, can realize the exchanges data between cross-platform application system.
In technique scheme, preferably, according to the order that arranges receiving, exchanges data condition is set.
In technique scheme, preferably, described exchanges data condition comprises one of following or combination: the type of service of data exchange request, allow the data of exchange scope, carry out the time point of exchanges data or carry out time interval of exchanges data.
In this technical scheme, user can be according to self needs, for third party's application system arranges exchanges data condition, such as, which business paper is set and can carries out exchanges data, which data is allowed to exchanges data, and carrying out exchanges data is in order to obtain which data, when carries out exchanges data, time described here, can be certain time point, can be also the time interval, how long is arranged on and carries out an exchanges data in interval.Like this, regulate by exchanges data is set, can make user according to the parameter such as type, scope, time and content that self need to adjust exchanges data, the flexibility that has improved exchanges data.
In technique scheme, preferably, formulate exchanges data plan according to described exchanges data condition; And receive by described data exchange service the data exchange request that described the first application system is sent, judge whether described data exchange request meets described exchanges data condition, when judged result is when being, described data exchange request is sent to corresponding Service Processing Unit, move described exchanges data plan, described Service Processing Unit is according to described exchanges data plan, described data relation by described the first application system and described the second application system is carried out data structure conversion, to obtain the data of described the first application system request exchange.
In this technical scheme, user can be according to self needs, by exchanges data condition is set, for third party's application system arranges exchanges data plan, in the time that default exchanges data condition is met, system can be carried out exchanges data automatically according to predetermined exchanges data plan.Such as, third party's application system is set at executing data exchange plan sometime, when the exchanges data of presetting in this moment of arrival regulates and is met, even the in the situation that of unattended duty, third party's application system also can be carried out exchanges data by carrying out default exchanges data plan and enterprise application system.Like this, can save human resources, reduce the cost of enterprise, also reduce error rate by reducing manual operation simultaneously.
By above technical scheme, by building a reusable data interchange platform, unified interface and method of calling is provided, make third party's application system drop to minimum to the dependence of enterprise application system, the difficulty and the cost that have reduced exploitation, time and manpower is saved, improved the efficiency of exchanges data, meanwhile, can also avoid the system that causes because of interface routine amendment or variation unstable.
Brief description of the drawings
Fig. 1 shows the system block diagram of DEU data exchange unit according to an embodiment of the invention;
Fig. 2 shows the flow chart of method for interchanging data according to an embodiment of the invention;
Fig. 3 shows the particular flow sheet of method for interchanging data according to an embodiment of the invention;
Fig. 4 shows the block diagram of DEU data exchange unit according to another embodiment of the invention.
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, in the situation that not conflicting, the feature in the application's embodiment and embodiment can combine mutually.
A lot of details are set forth in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not subject to the restriction of following public specific embodiment.
Fig. 1 shows the system block diagram of DEU data exchange unit according to an embodiment of the invention.
As shown in Figure 1, the system 100 of DEU data exchange unit according to an embodiment of the invention, comprise: mapping ruler builds module 102, according to the data relation of the first application system and the second application system, data-mapping rule is set, and obtains metadata from the first application system and the second application system; Fabric Interface builds module 104, according to data-mapping rule and metadata, builds unified data exchange interface, and sets up data exchange service for data exchange interface; Service Processing Module 106, receive by data exchange service the data exchange request that the first application system is sent, and according to the content of data exchange request, data exchange request is sent to corresponding Service Processing Unit, Service Processing Unit carries out data structure conversion according to the data relation of the first application system and the second application system, to obtain the data of the first application system request exchange; Result feedback module 108, for sending data to the first application system.
In this technical scheme, for the different application systems of carrying out exchanges data, according to its exchange both sides' data relation, data-mapping rule is set, and extracts both sides' metadata, like this, by building a reusable data interchange platform, provide unified interface and method of calling, for the first application system calling data from the second application system, wherein, the first application system can be third party's application system, and the second application system can be enterprise application system.Owing to only need to importing data exchange request into, thereby can make third party's application system drop to minimum to the dependence of enterprise application system.Third party's application system is issued into this unified interface after the form of data exchange service, as long as the both sides of exchanges data at same local area network (LAN) or on the internet, just can call this service and carry out exchanges data, has effectively broken the restriction in space.Data interchange platform can also pass through unified method of calling, according to the data of data exchange request, it is carried out to distribution processor, request is passed to corresponding Service Processing Unit and go executing data exchange.This makes any one third party's application system and want the business system of swap data to set up mapping ruler by this platform, needn't all again develop a set of interface routine for the different system of every two cover and realize exchanges data, difficulty and the cost of exploitation are reduced, time and manpower is saved, improved the efficiency of exchanges data.In addition, in the time that two kinds of system data structures or operation flow change, needn't revise or incremental data interface routine, also difficulty and the cost of exploitation have been reduced, time and manpower is saved, improve the efficiency of exchanges data, can also avoid the system that causes because of interface routine amendment or variation unstable simultaneously.
In technique scheme, preferably, mapping ruler builds module 102 and also comprises: memory module 1022, for storing metadata and data-mapping rule, wherein, the file layout of data-mapping rule is extend markup language.
In this technical scheme, data-mapping rule is out also preserved with the formal description of extend markup language (XML), make it have the characteristic of low coupling, can realize the exchanges data between cross-platform application system.
In technique scheme, preferably, also comprise: condition setting module 110, for according to the order that arranges receiving, arranges exchanges data condition.
In technique scheme, preferably, exchanges data condition comprises one of following or combination: the type of service of data exchange request, allow the data of exchange scope, carry out the time point of exchanges data or carry out time interval of exchanges data.
In this technical scheme, user can be according to self needs, for third party's application system arranges exchanges data condition, such as, which business paper is set and can carries out exchanges data, which data is allowed to exchanges data, and carrying out exchanges data is in order to obtain which data, when carries out exchanges data, the time here, can be certain time point, can be also the time interval, how long is arranged on and carries out an exchanges data in interval.Like this, regulate by exchanges data is set, can make user according to the parameter such as type, scope, time and content that self need to adjust exchanges data, the flexibility that has improved exchanges data.
In technique scheme, preferably, also comprise: plan module 112, formulate exchanges data plan according to exchanges data condition; And Service Processing Module 106 also comprises: plan Executive Module 1062, receive by data exchange service the data exchange request that the first application system is sent, judge whether data exchange request meets exchanges data condition, when judged result is when being, data exchange request is sent to corresponding Service Processing Unit, service data exchange plan, Service Processing Unit is according to exchanges data plan, data relation by the first application system and the second application system is carried out data structure conversion, to obtain the data of the first application system request exchange.
In this technical scheme, user can be according to self needs, by exchanges data condition is set, for third party's application system arranges exchanges data plan, in the time that default exchanges data condition is met, system can be carried out exchanges data automatically according to predetermined exchanges data plan.Such as, third party's application system is set at executing data exchange plan sometime, when the exchanges data of presetting in this moment of arrival regulates and is met, even the in the situation that of unattended duty, third party's application system also can be carried out exchanges data by carrying out default exchanges data plan and enterprise application system.Like this, can save human resources, reduce the cost of enterprise, also reduce error rate by reducing manual operation simultaneously.
Fig. 2 shows the flow chart of method for interchanging data according to an embodiment of the invention.
As shown in Figure 2, method for interchanging data according to an embodiment of the invention, comprising:
Step 202, according to the data relation of the first application system and the second application system, arranges data-mapping rule, and obtains metadata from the first application system and the second application system.
Step 204, according to data-mapping rule and metadata, builds unified data exchange interface, and sets up data exchange service for data exchange interface.
Step 206, receive by data exchange service the data exchange request that the first application system is sent, and according to the content of data exchange request, data exchange request is sent to corresponding Service Processing Unit, Service Processing Unit carries out data structure conversion according to the data relation of the first application system and the second application system, to obtain the data of the first application system request exchange.
Step 208, sends data to the first application system.
In this technical scheme, for the different application systems of carrying out exchanges data, according to its exchange both sides' data relation, data-mapping rule is set, and extracts both sides' metadata, like this, by building a reusable data interchange platform, provide unified interface and method of calling, for the first application system calling data from the second application system, wherein, the first application system can be third party's application system, and the second application system can be enterprise application system.Owing to only need to importing data exchange request into, thereby can make third party's application system drop to minimum to the dependence of enterprise application system.Third party's application system is issued into this unified interface after the form of data exchange service, as long as the both sides of exchanges data at same local area network (LAN) or on the internet, just can call this service and carry out exchanges data, has effectively broken the restriction in space.Data interchange platform can also pass through unified method of calling, according to the data of data exchange request, it is carried out to distribution processor, request is passed to corresponding Service Processing Unit and go executing data exchange.This makes any one third party's application system and want the business system of swap data to set up mapping ruler by this platform, needn't all again develop a set of interface routine for the different system of every two cover and realize exchanges data, difficulty and the cost of exploitation are reduced, time and manpower is saved, improved the efficiency of exchanges data.In addition, in the time that two kinds of system data structures or operation flow change, needn't revise or incremental data interface routine, also difficulty and the cost of exploitation have been reduced, time and manpower is saved, improve the efficiency of exchanges data, can also avoid the system that causes because of interface routine amendment or variation unstable simultaneously.
In technique scheme, preferably, step 102 also comprises: storing metadata and data-mapping rule, wherein, the file layout of data-mapping rule is extend markup language.
In this technical scheme, data-mapping rule is out also preserved with the formal description of extend markup language (XML), make it have the characteristic of low coupling, can realize the exchanges data between cross-platform application system.
In technique scheme, preferably, according to the order that arranges receiving, exchanges data condition is set.
In technique scheme, preferably, exchanges data condition comprises one of following or combination: the type of service of data exchange request, allow the data of exchange scope, carry out the time point of exchanges data or carry out time interval of exchanges data.
In this technical scheme, user can be according to self needs, for third party's application system arranges exchanges data condition, such as, which business paper is set and can carries out exchanges data, which data is allowed to exchanges data, and carrying out exchanges data is in order to obtain which data, when carries out exchanges data, the time here, can be certain time point, can be also the time interval, how long is arranged on and carries out an exchanges data in interval.Like this, regulate by exchanges data is set, can make user according to the parameter such as type, scope, time and content that self need to adjust exchanges data, the flexibility that has improved exchanges data.
In technique scheme, preferably, formulate exchanges data plan according to exchanges data condition; And step 106 also comprises: receive by data exchange service the data exchange request that the first application system is sent, judge whether data exchange request meets exchanges data condition, when judged result is when being, data exchange request is sent to corresponding Service Processing Unit, service data exchange plan, Service Processing Unit is according to exchanges data plan, data relation by the first application system and the second application system is carried out data structure conversion, to obtain the data of the first application system request exchange.
In this technical scheme, user can be according to self needs, by exchanges data condition is set, for third party's application system arranges exchanges data plan, in the time that default exchanges data condition is met, system can be carried out exchanges data automatically according to predetermined exchanges data plan.Such as, third party's application system is set at executing data exchange plan sometime, when the exchanges data of presetting in this moment of arrival regulates and is met, even the in the situation that of unattended duty, third party's application system also can be carried out exchanges data by carrying out default exchanges data plan and enterprise application system.Like this, can save human resources, reduce the cost of enterprise, also reduce error rate by reducing manual operation simultaneously.
Fig. 3 shows the particular flow sheet of method for interchanging data according to an embodiment of the invention.
As shown in Figure 3, method for interchanging data according to an embodiment of the invention, specifically comprises the following steps:
Step 302, according to the order that arranges receiving, arranges exchanges data condition.Exchanges data condition can comprise data exchange request type of service, allow the data of exchange scope, carry out the time point of exchanges data or carry out time interval of exchanges data.
Step 304, formulates exchanges data plan according to exchanges data condition.Such as, third party's application system is set at executing data exchange plan sometime, when the exchanges data of presetting in this moment of arrival regulates and is met, even the in the situation that of unattended duty, third party's application system also can be carried out exchanges data by carrying out default exchanges data plan and enterprise application system.
Step 306, according to the data relation of third party's application system and enterprise application system, arranges data-mapping rule, and obtains metadata from third party's application system and enterprise application system.
Step 308, according to data-mapping rule and metadata, builds unified data exchange interface, and sets up data exchange service for data exchange interface.Data-mapping rule out also can be preserved with the formal description of extend markup language (XML) at this, make it have the characteristic of low coupling, can realize the exchanges data between cross-platform application system.
Step 310, receives by data exchange service the data exchange request that third party's application system is sent.Like this, owing to only need to importing data exchange request into, make third party's application system drop to minimum to the dependence of enterprise application system.Third party's application system is issued into this unified interface after the form of data exchange service, as long as the both sides of exchanges data at same local area network (LAN) or on the internet, just can call this service and carry out exchanges data, has effectively broken the restriction in space.
Step 312, judges whether data exchange request meets exchanges data condition, when judged result is when being, enters step 314, when judged result is while being no, and end process.
Step 314, data exchange request is sent to corresponding Service Processing Unit, Service Processing Unit, according to exchanges data plan, carries out data structure conversion by the data relation of third party's application system and enterprise application system, obtains the data of third party's application system request exchange.Third party's application system executing data exchange plan in the time that give-and-take conditions are met is set, even the in the situation that of unattended duty, third party's application system also can be carried out exchanges data by carrying out default exchanges data plan and enterprise application system.Like this, can save human resources, reduce the cost of enterprise, also reduce error rate by reducing manual operation simultaneously.
Step 316, is sent to third party's application system by the data that obtain.
Fig. 4 shows the block diagram of DEU data exchange unit according to another embodiment of the invention.
As shown in Figure 4, DEU data exchange unit 400 according to another embodiment of the invention, comprising: data-mapping rule module 402, for according to the data relation of third party's application system and enterprise application system, arranges data-mapping rule; Exchanges data is unified inlet module 404, for according to the data-mapping rule from data-mapping rule module 402 with from the metadata of meta data block 414, builds unified exchanges data entrance; Service release module 406, is used to this exchanges data entrance to set up data exchange service; Exchanges data plan module 408; Exchanges data plan Executive Module 410; Service Processing Module 412, receive by data exchange service the data exchange request that third party's application system is sent, and according to the content of data exchange request, data exchange request is sent to corresponding Service Processing Unit, Service Processing Unit carries out data structure conversion according to the data relation of third party's application system and enterprise application system, to obtain the data of third party's application system request exchange, and these data are sent to third party's application system; Meta data block 414, for obtaining metadata from third party's application system and enterprise application system.
In this technical scheme, for the different application systems of carrying out exchanges data, according to its exchange both sides' data relation, data-mapping rule is set, and extract both sides' metadata, like this, by building a reusable data interchange platform, provide unified interface and method of calling, for third party's application system calling data from enterprise application system.Owing to only need to importing data exchange request into, make third party's application system drop to minimum to the dependence of enterprise application system.Third party's application system is issued into this unified interface after the form of data exchange service, as long as the both sides of exchanges data at same local area network (LAN) or on the internet, just can call this service and carry out exchanges data, has effectively broken the restriction in space.Data interchange platform can also pass through unified method of calling, according to the data of data exchange request, it is carried out to distribution processor, request is passed to corresponding Service Processing Unit and go executing data exchange.This makes any one third party's application system and want the business system of swap data to set up mapping ruler by this platform, needn't all again develop a set of interface routine for the different system of every two cover and realize exchanges data, difficulty and the cost of exploitation are reduced, time and manpower is saved, improved the efficiency of exchanges data.In addition, in the time that two kinds of system data structures or operation flow change, needn't revise or incremental data interface routine, also difficulty and the cost of exploitation have been reduced, time and manpower is saved, improve the efficiency of exchanges data, can also avoid the system that causes because of interface routine amendment or variation unstable simultaneously.
Meta data block 414 also has memory function, for storing metadata and data-mapping rule, wherein, the file layout of data-mapping rule is extend markup language (XML), and data-mapping rule is out also preserved with the formal description of extend markup language (XML), the characteristic of low coupling can be made it have, the exchanges data between cross-platform application system can be realized.
Exchanges data plan module 408 is for formulating exchanges data plan according to exchanges data condition, and said exchanges data condition comprises one of following or combination here: the type of service of data exchange request, allow the data of exchange scope, carry out the time point of exchanges data or carry out time interval of exchanges data.User can be according to self needs, for third party's application system arranges exchanges data condition, such as, which business paper being set and can carrying out exchanges data, which data is allowed to exchanges data, carrying out exchanges data is in order to obtain which data, when carry out exchanges data, the time here can be certain time point, also can be the time interval, how long be arranged on and carry out an exchanges data in interval.Like this, regulate by exchanges data is set, can make user according to the parameter such as type, scope, time and content that self need to adjust exchanges data, the flexibility that has improved exchanges data.
Exchanges data plan Executive Module 410 for carrying out predetermined exchanges data plan in the time that predetermined exchanges data condition is met, it receives by data exchange service the data exchange request that third party's application system is sent, judge whether data exchange request meets default exchanges data condition, when judged result is when being, according to default exchanges data plan, data relation by third party's application system and enterprise application system is carried out data structure conversion, to obtain the data of third party's application system request exchange.Like this, user can be according to self needs, and by exchanges data condition is set, for third party's application system arranges exchanges data plan, in the time that default exchanges data condition is met, system can be carried out exchanges data automatically according to predetermined exchanges data plan.Such as, third party's application system is set at executing data exchange plan sometime, when the exchanges data of presetting in this moment of arrival regulates and is met, even the in the situation that of unattended duty, third party's application system also can be carried out exchanges data by carrying out default exchanges data plan and enterprise application system.Like this, can save human resources, reduce the cost of enterprise, also reduce error rate by reducing manual operation simultaneously.
In the present invention, the only object for describing of term " first ", " second ", and can not be interpreted as instruction or hint relative importance.For the ordinary skill in the art, can understand as the case may be above-mentioned term concrete meaning in the present invention.
More than be described with reference to the accompanying drawings technical scheme of the present invention, by technical scheme of the present invention, by building a reusable data interchange platform, unified interface and method of calling is provided, make third party's application system drop to minimum to the dependence of enterprise application system, difficulty and the cost of exploitation are reduced, time and manpower is saved, improve the efficiency of exchanges data, simultaneously, can avoid unstable because of the system that interface routine is revised or variation causes, can also realize the exchanges data between cross-platform application system.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (10)
1. a DEU data exchange unit, for the exchanges data between application system, is characterized in that, comprising:
Mapping ruler builds module, according to the data relation of the first application system and the second application system, data-mapping rule is set, and obtains metadata from described the first application system and described the second application system;
Fabric Interface builds module, according to described data-mapping rule and described metadata, builds unified data exchange interface, and sets up data exchange service for described data exchange interface;
Service Processing Module, receive by described data exchange service the data exchange request that described the first application system is sent, and according to the content of described data exchange request, described data exchange request is sent to corresponding Service Processing Unit, described Service Processing Unit carries out data structure conversion according to the described data relation of described the first application system and described the second application system, to obtain the data of described the first application system request exchange;
Result feedback module, for being sent to described data described the first application system.
2. DEU data exchange unit according to claim 1, is characterized in that, described mapping ruler builds module and also comprises:
Memory module, for storing described metadata and described data-mapping rule, wherein, the file layout of described data-mapping rule is extend markup language.
3. DEU data exchange unit according to claim 1, is characterized in that, also comprises:
Condition setting module, for according to the order that arranges receiving, arranges exchanges data condition.
4. DEU data exchange unit according to claim 3, is characterized in that, described exchanges data condition comprises one of following or combination:
The type of service of data exchange request, allow the data of exchange scope, carry out the time point of exchanges data or carry out time interval of exchanges data.
5. according to the DEU data exchange unit described in any one in claim 1 to 4, it is characterized in that, also comprise:
Plan module, formulates exchanges data plan according to described exchanges data condition; And
Described Service Processing Module also comprises:
Plan Executive Module, receive by described data exchange service the data exchange request that described the first application system is sent, judge whether described data exchange request meets described exchanges data condition, when judged result is when being, described data exchange request is sent to corresponding Service Processing Unit, move described exchanges data plan, described Service Processing Unit is according to described exchanges data plan, data relation by described the first application system and described the second application system is carried out data structure conversion, to obtain the data of described the first application system request exchange.
6. a method for interchanging data, for the exchanges data between application system, is characterized in that, comprising:
According to the data relation of the first application system and the second application system, data-mapping rule is set, and obtains metadata from described the first application system and described the second application system;
According to described data-mapping rule and described metadata, build unified data exchange interface, and set up data exchange service for described data exchange interface;
Receive by described data exchange service the data exchange request that described the first application system is sent, and according to the content of described data exchange request, described data exchange request is sent to corresponding Service Processing Unit, described Service Processing Unit carries out data structure conversion according to the data relation of described the first application system and described the second application system, to obtain the data of described the first application system request exchange;
Described data are sent to described the first application system.
7. method for interchanging data according to claim 6, is characterized in that, also comprises: store described metadata and described data-mapping rule, wherein, the file layout of described data-mapping rule is extend markup language.
8. method for interchanging data according to claim 6, is characterized in that, also comprises: according to the order that arranges receiving, exchanges data condition is set.
9. method for interchanging data according to claim 8, is characterized in that, described exchanges data condition comprises one of following or combination:
The type of service of data exchange request, allow the data of exchange scope, carry out the time point of exchanges data or carry out time interval of exchanges data.
10. according to the method for interchanging data described in any one in claim 6 to 9, it is characterized in that, also comprise:
Formulate exchanges data plan according to described exchanges data condition; And
Receive by described data exchange service the data exchange request that described the first application system is sent, judge whether described data exchange request meets described exchanges data condition, when judged result is when being, described data exchange request is sent to corresponding Service Processing Unit, move described exchanges data plan, described Service Processing Unit is according to described exchanges data plan, described data relation by described the first application system and described the second application system is carried out data structure conversion, to obtain the data of described the first application system request exchange.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410289758.1A CN104092784B (en) | 2014-06-24 | 2014-06-24 | DEU data exchange unit and method for interchanging data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410289758.1A CN104092784B (en) | 2014-06-24 | 2014-06-24 | DEU data exchange unit and method for interchanging data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104092784A true CN104092784A (en) | 2014-10-08 |
CN104092784B CN104092784B (en) | 2018-05-25 |
Family
ID=51640464
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410289758.1A Active CN104092784B (en) | 2014-06-24 | 2014-06-24 | DEU data exchange unit and method for interchanging data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104092784B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601554A (en) * | 2014-12-29 | 2015-05-06 | 北京致远协创软件有限公司 | Data exchange method and device |
CN106961332A (en) * | 2016-01-11 | 2017-07-18 | 腾讯科技(深圳)有限公司 | A kind of purview certification method and device |
CN108108949A (en) * | 2016-11-25 | 2018-06-01 | 杭州王道科技有限公司 | Speed passage through customs method and the platform of information synergism |
CN110519185A (en) * | 2019-08-28 | 2019-11-29 | 福建威盾科技集团有限公司 | A kind of method of novel across a network data exchange |
CN112765247A (en) * | 2021-01-04 | 2021-05-07 | 光大兴陇信托有限责任公司 | Interface metadata management method, device and equipment based on hybrid mapping |
CN116032510A (en) * | 2021-10-27 | 2023-04-28 | 北京字节跳动网络技术有限公司 | Data security protection system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050021771A1 (en) * | 2003-03-03 | 2005-01-27 | Keith Kaehn | System enabling server progressive workload reduction to support server maintenance |
CN101631093A (en) * | 2009-08-28 | 2010-01-20 | 中国电信股份有限公司 | Method and system for realizing real-time data exchange interface |
CN101739452A (en) * | 2009-12-17 | 2010-06-16 | 中国电力科学研究院 | Data exchange interface and realizing method thereof |
CN102207978A (en) * | 2011-06-30 | 2011-10-05 | 北京新媒传信科技有限公司 | Database access method and system |
US20120185564A1 (en) * | 2006-12-21 | 2012-07-19 | Sap Ag | Methods and systems for exchanging data between a command and control information system and an enterprise resource planning system |
CN102932431A (en) * | 2012-10-12 | 2013-02-13 | 宁夏电力公司电力科学研究院 | Message-routing-based state monitoring data interface configuration method |
-
2014
- 2014-06-24 CN CN201410289758.1A patent/CN104092784B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050021771A1 (en) * | 2003-03-03 | 2005-01-27 | Keith Kaehn | System enabling server progressive workload reduction to support server maintenance |
US20120185564A1 (en) * | 2006-12-21 | 2012-07-19 | Sap Ag | Methods and systems for exchanging data between a command and control information system and an enterprise resource planning system |
CN101631093A (en) * | 2009-08-28 | 2010-01-20 | 中国电信股份有限公司 | Method and system for realizing real-time data exchange interface |
CN101739452A (en) * | 2009-12-17 | 2010-06-16 | 中国电力科学研究院 | Data exchange interface and realizing method thereof |
CN102207978A (en) * | 2011-06-30 | 2011-10-05 | 北京新媒传信科技有限公司 | Database access method and system |
CN102932431A (en) * | 2012-10-12 | 2013-02-13 | 宁夏电力公司电力科学研究院 | Message-routing-based state monitoring data interface configuration method |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104601554A (en) * | 2014-12-29 | 2015-05-06 | 北京致远协创软件有限公司 | Data exchange method and device |
CN104601554B (en) * | 2014-12-29 | 2018-02-27 | 北京致远互联软件股份有限公司 | A kind of method for interchanging data and DEU data exchange unit |
CN106961332A (en) * | 2016-01-11 | 2017-07-18 | 腾讯科技(深圳)有限公司 | A kind of purview certification method and device |
CN106961332B (en) * | 2016-01-11 | 2020-02-28 | 腾讯科技(深圳)有限公司 | Authority authentication method and device |
CN108108949A (en) * | 2016-11-25 | 2018-06-01 | 杭州王道科技有限公司 | Speed passage through customs method and the platform of information synergism |
CN110519185A (en) * | 2019-08-28 | 2019-11-29 | 福建威盾科技集团有限公司 | A kind of method of novel across a network data exchange |
CN112765247A (en) * | 2021-01-04 | 2021-05-07 | 光大兴陇信托有限责任公司 | Interface metadata management method, device and equipment based on hybrid mapping |
CN112765247B (en) * | 2021-01-04 | 2023-02-21 | 光大兴陇信托有限责任公司 | Interface metadata management method, device and equipment based on hybrid mapping |
CN116032510A (en) * | 2021-10-27 | 2023-04-28 | 北京字节跳动网络技术有限公司 | Data security protection system |
Also Published As
Publication number | Publication date |
---|---|
CN104092784B (en) | 2018-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104092784A (en) | Device and method for data exchange | |
CN101388904B (en) | GIS service aggregating method, device and system | |
US9661064B2 (en) | Systems and methods for deploying legacy software in the cloud | |
CN102033848B (en) | SOA-based three-dimensional design system integrating method and system | |
US20160182652A1 (en) | Systems and/or methods for cloud-based event-driven integration | |
CN101127102A (en) | Contracted life cycle supervision system and method | |
CN105893055B (en) | Flow engine hardware and software platform triggering method | |
CN105760498A (en) | Achievement method of XML data and relational database matching | |
CN108446335A (en) | Heterogeneous system data pick-up based on database and unified outbound data exchange method | |
CN102375894B (en) | Method for managing different types of file systems | |
CN102567334A (en) | Office automation system based on heterogeneous data | |
CN102137162B (en) | CAD (Computer Aided Design) integrated system based on mode of software used as service | |
CN102685195A (en) | Application service combination method, device and system | |
US10924527B2 (en) | Dynamic workflow-based composite web service system and method | |
CN101179516A (en) | Digraph based data distributing method | |
CN113590328B (en) | Edge computing service interaction method and system based on block chain | |
CN103092982A (en) | Information service system based on multiple-view business model | |
CN202798801U (en) | Universal communication system for achieving distributed data interaction | |
US7684349B2 (en) | Method and system for transparently controlling the behavior of service methods in a service oriented architecture | |
CN104735134A (en) | Method and device for providing computing service | |
CN109284935A (en) | A kind of task processing system based on micro- assistance the superior and the subordinate office group | |
JP7380341B2 (en) | Drawing management device, drawing management system, drawing management method, and program | |
CN106326488A (en) | XML-based electric transmission and transformation equipment state data exchange adapter and use method thereof | |
CN106775719B (en) | Cross-platform light-weight database packaging method and system based on mobile terminal | |
CN101442363B (en) | Method and apparatus for revealing light path design graph |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |