CN104007973A - Method and platform for data interaction between systems - Google Patents

Method and platform for data interaction between systems Download PDF

Info

Publication number
CN104007973A
CN104007973A CN201410234590.4A CN201410234590A CN104007973A CN 104007973 A CN104007973 A CN 104007973A CN 201410234590 A CN201410234590 A CN 201410234590A CN 104007973 A CN104007973 A CN 104007973A
Authority
CN
China
Prior art keywords
data
request
sendaisle
cross
link address
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
Application number
CN201410234590.4A
Other languages
Chinese (zh)
Other versions
CN104007973B (en
Inventor
陈亮
王航
张珏亚
王玉峰
杨艳文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Beijing China Power Information Technology Co Ltd
Original Assignee
State Grid Corp of China SGCC
Beijing China Power Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Beijing China Power Information Technology Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410234590.4A priority Critical patent/CN104007973B/en
Publication of CN104007973A publication Critical patent/CN104007973A/en
Application granted granted Critical
Publication of CN104007973B publication Critical patent/CN104007973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a method and a platform for data interaction between systems. The method for the data interaction between systems includes that receiving a data request which comprises data request type and a data link address from a first system, judging whether a transmit channel matched with the data request type is existed in pre-stored transmit channels, if so, calling the transmit channel to acquire data from a second system pointed by the data link address, if not, selecting an adapter corresponding to the data request type, building a new transmit channel and using the new transmit channel to acquire data from the second system pointed by the data link address, transmitting the data acquired from the second system to the first system, and enabling the first system to process data according to the pre-stored business implementation class. The method and the platform for the data interaction between systems are capable of achieving the data interaction between any two different systems, do not need developers to develop an interface for each system, and are more convenient for management.

Description

A kind of cross-system data interactive method and platform
Technical field
The application relates to cross-system data interaction technical field, more particularly, relates to a kind of cross-system data interactive method and platform.
Background technology
Along with the continuous expansion of State Grid Corporation of China's service application construction scale, all there is the demand of cross-system interaction data in different system.Such as, most of unit proposes employee's reimbursement system needs fund electronic payment function, and while employee submits an expense account system and exists and contacting closely with ERP system aspect master data and business.
The way of classic method when processing cross-system data interaction is, by the interface of each system of developer's stand-alone development, to realize the data interaction between different system.But, develop separately the managerial confusion that each interface can cause interface, be unfavorable for follow-up management.And each interface needs developer to go from the beginning to realize, developer's overall technology is required all will improve.
Summary of the invention
In view of this, the application provides a kind of cross-system data interactive method and platform, for solving that prior art needs a plurality of interfaces of stand-alone development and the large problem of managerial confusion, workload that causes.
To achieve these goals, the existing scheme proposing is as follows:
A cross-system data interactive method, comprising:
Receive the request of data that the first system sends, described request of data comprises request of data type and data link address;
In the sendaisle that judgement prestores, whether there is the sendaisle with described request of data type matching, if existed, call this sendaisle and obtain data at the second system of described data link address sensing, if there is no, select the adapter corresponding with described request of data type, set up new sendaisle, and the second system that uses this newly-built sendaisle to point in described data link address obtains data;
By the data retransmission obtaining at described second system, give described the first system, by described the first system, according to the business realizing class prestoring, carry out data processing.
Preferably, also comprise:
Described newly-built sendaisle is preserved.
Preferably, described the first system is expense reimbursement system, and described second system is financial managing and control system.
Preferably, also comprise:
Record the service daily record of each sendaisle, described service daily record comprises request of data time, data acquisition time, request of data error message.
Preferably, also comprise:
When request of data makes a mistake, cannot when obtaining data, described second system again to described second system, send data acquisition request according to predetermined policy, if again there is request of data mistake, export warning prompt.
A cross-system data interaction platform, comprising:
Request of data receiving element, the request of data sending for receiving the first system, described request of data comprises request of data type and data link address;
The first data processing unit, for judging whether the sendaisle prestoring exists the sendaisle with described request of data type matching; If existed, call this sendaisle and obtain data at the second system of described data link address sensing, if there is no, select the adapter corresponding with described request of data type, set up new sendaisle, and the second system that uses this newly-built sendaisle to point in described data link address obtains data;
Data are returned to unit, for giving described the first system by the data retransmission obtaining at described second system, by described the first system, according to the business realizing class prestoring, carry out data processing.
Preferably, also comprise:
Storage unit, for storing the newly-built sendaisle of described the first data processing unit.
Preferably, described the first system is expense reimbursement system, and described second system is financial managing and control system.
Preferably, also comprise:
Log recording unit, for recording the service daily record of each sendaisle, described service daily record comprises request of data time, data acquisition time, request of data error message.
Preferably, also comprise:
The second data processing unit, for in described the first data processing unit generation request of data mistake, cannot, when described second system obtains data, according to predetermined policy, again to described second system, send data acquisition request, if again there is request of data mistake, export warning prompt.
From above-mentioned technical scheme, can find out, the disclosed cross-system data interactive method of the application, receive the request of data that comprises request of data type and data link address that the first system sends, then in the sendaisle that judgement prestores, whether there is the sendaisle with described request of data type matching, if existed, call this sendaisle and obtain data at the second system of described data link address sensing, if there is no, select the adapter corresponding with described request of data type, set up new sendaisle, and the second system that uses this newly-built sendaisle to point in described data link address obtains data, finally by the data retransmission obtaining at described second system, give described the first system, by described the first system, according to the business realizing class prestoring, carry out data processing.Realized the data exchange process between any two different systems, and without developer to each system development interface, be more convenient to management.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiment of the application, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the disclosed a kind of cross-system data interactive method process flow diagram of the embodiment of the present application;
Fig. 2 is the disclosed another kind of cross-system data interactive method process flow diagram of the embodiment of the present application;
Fig. 3 is the disclosed a kind of cross-system data interaction platform structure schematic diagram of the embodiment of the present application;
Fig. 4 is the disclosed another kind of cross-system data interaction platform structure schematic diagram of the embodiment of the present application;
Fig. 5 is disclosed another the cross-system data interaction platform structure schematic diagram of the embodiment of the present application;
Fig. 6 is disclosed another the cross-system data interaction platform structure schematic diagram of the embodiment of the present application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Embodiment based in the application, those of ordinary skills are not paying all other embodiment that obtain under creative work prerequisite, all belong to the scope of the application's protection.
The application provides a kind of method of cross-system data interaction, can provide data interaction service for any two different systems, has avoided the problem of the interface management inconvenience that classic method need to cause each separate payment development interface.
Referring to Fig. 1, Fig. 1 is the disclosed a kind of cross-system data interactive method process flow diagram of the embodiment of the present application.
As shown in Figure 1, the method comprises:
Step 101: receive the request of data that the first system sends, described request of data comprises request of data type and data link address;
Particularly, in order to distinguish two different systems, we define request of data side is the first system, and data providing is second system.The first system can be expense reimbursement system, or other any existing system.First receive the request of data that comprises request of data type and data link address that the first system sends, request of data type can be type of service, and for example financial management and control pays application.Each request of data type to correspondence its data acquisition address, in which system, obtain corresponding data.Data link address provides data acquisition address.
Step 102: whether have the sendaisle with described request of data type matching in the sendaisle that prestores of judgement, if there is the sendaisle with request of data type matching, execution step 103, otherwise execution step 104;
Step 103: call this sendaisle and obtain data at the second system of described data link address sensing;
Step 104: select the adapter corresponding with described request of data type, set up new sendaisle, and the second system that uses this newly-built sendaisle to point in described data link address obtains data;
Particularly, we are pre-stored a part of sendaisle, this sendaisle can be seen the pipeline that connects the first system and different second system, each sendaisle is corresponding with request of data type.When the request of data type that current reception detected does not exist corresponding sendaisle, need to set up the sendaisle corresponding with this request of data type.This process comprises: select the adapter corresponding with this request of data type, set up new sendaisle.Call that prestore or newly-built sendaisle, in the second system pointed of data link address, obtain data.
Step 105: give described the first system by the data retransmission obtaining at described second system, carry out data processing by described the first system according to the business realizing class prestoring.
Particularly, previous step has been initiated a request of data acquisition to second system, in the situation that request is correct, can obtain corresponding with it data, then these data are transmitted to the first system again, the business realizing class prestoring according to it for the first system is carried out data handling procedure.
The disclosed cross-system data interactive method of the embodiment of the present application, receive the request of data that comprises request of data type and data link address that the first system sends, then in the sendaisle that judgement prestores, whether there is the sendaisle with described request of data type matching, if existed, call this sendaisle and obtain data at the second system of described data link address sensing, if there is no, select the adapter corresponding with described request of data type, set up new sendaisle, and the second system that uses this newly-built sendaisle to point in described data link address obtains data, finally by the data retransmission obtaining at described second system, give described the first system, by described the first system, according to the business realizing class prestoring, carry out data processing.Realized the data exchange process between any two different systems, and without developer to each system development interface, be more convenient to management.
Optionally, after the newly-built sendaisle of step 104, this newly-built sendaisle can be stored.Be convenient to so directly call next time, without again repeating process of establishing.
Optionally, above-mentioned the first system and second system are respectively two different systems.In actual application, the first system can be expense reimbursement system, and second system can be financial managing and control system or other outside ERP system (Enterprise Resource Planning, integration Management infosystem).
On the basis of the above, the disclosed method of the embodiment of the present application can further include step 106, shown in Figure 2:
Step 106: the service daily record of recording each sendaisle.
Here serve daily record and comprise request of data time, data acquisition time, request of data error message etc.Recording these information can be so that subsequent operation.For example, we can understand the data processing speed of two systems according to the length of request of data time and data acquisition time.Record data request error information can provide foundation for follow-up fault-tolerant processing.
Here mentioned the situation of request of data mistake, likely because of other factorses such as unstable networks, data could not be enough obtained in the data acquisition request failure sending sometime from second system.Now, can again to second system, send data acquisition request according to predetermined strategy, if again there is request of data failure, can select so to carry out warning prompt, by technician, carry out manual handle.The predetermined policy here can be to send at set intervals once, surpass pre-determined number and point out failure, can be also the detection of carrying out network environment, detect network environment stable after, again carry out the transmission of request of data, etc. other situation.
The process that above-mentioned data interaction is processed can correspond to a kind of cross-system data interaction platform, is completed the process of above-mentioned data interaction by this platform.
Referring to Fig. 3, Fig. 3 is the disclosed a kind of cross-system data interaction platform structure schematic diagram of the embodiment of the present application.
As shown in Figure 3, this interaction platform comprises:
Request of data receiving element 31, the request of data sending for receiving the first system, described request of data comprises request of data type and data link address;
The first data processing unit 32, for judging whether the sendaisle prestoring exists the sendaisle with described request of data type matching; If existed, call this sendaisle and obtain data at the second system of described data link address sensing, if there is no, select the adapter corresponding with described request of data type, set up new sendaisle, and the second system that uses this newly-built sendaisle to point in described data link address obtains data;
Data are returned to unit 33, for giving described the first system by the data retransmission obtaining at described second system, by described the first system, according to the business realizing class prestoring, carry out data processing.
The disclosed cross-system data interaction of the embodiment of the present application platform, receive the request of data that comprises request of data type and data link address that the first system sends, then in the sendaisle that judgement prestores, whether there is the sendaisle with described request of data type matching, if existed, call this sendaisle and obtain data at the second system of described data link address sensing, if there is no, select the adapter corresponding with described request of data type, set up new sendaisle, and the second system that uses this newly-built sendaisle to point in described data link address obtains data, finally by the data retransmission obtaining at described second system, give described the first system, by described the first system, according to the business realizing class prestoring, carry out data processing.Realized the data exchange process between any two different systems, and without developer to each system development interface, be more convenient to management.
Optionally, on the basis of the above, the application's cross-system data interaction platform can also comprise storage unit 34, shown in Figure 4, and storage unit 34 is for storing the newly-built sendaisle of the first data processing unit 32.Be convenient to so directly call next time, without again repeating process of establishing.
Optionally, above-mentioned the first system and second system are respectively two different systems.In actual application, the first system can be expense reimbursement system, and second system can be financial managing and control system or other outside ERP system (Enterprise Resource Planning, integration Management infosystem).
Optionally, the application's cross-system data interaction platform can also comprise log recording unit 35, shown in Figure 5, log recording unit 35 is for recording the service daily record of each sendaisle, and described service daily record comprises request of data time, data acquisition time, request of data error message.
Here serve daily record and comprise request of data time, data acquisition time, request of data error message etc.Recording these information can be so that subsequent operation.For example, we can understand the data processing speed of two systems according to the length of request of data time and data acquisition time.Record data request error information can provide foundation for follow-up fault-tolerant processing.
Shown in Figure 6, the disclosed cross-system data interaction of the embodiment of the present application platform can also comprise the second data processing unit 36, for there is request of data mistake at described the first data processing unit 32, cannot be when described second system obtains data, according to predetermined policy, again to described second system, send data acquisition request, if again there is request of data mistake, export warning prompt.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the application.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can be in the situation that do not depart from the application's spirit or scope, realization in other embodiments.Therefore, the application will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a cross-system data interactive method, is characterized in that, comprising:
Receive the request of data that the first system sends, described request of data comprises request of data type and data link address;
In the sendaisle that judgement prestores, whether there is the sendaisle with described request of data type matching, if existed, call this sendaisle and obtain data at the second system of described data link address sensing, if there is no, select the adapter corresponding with described request of data type, set up new sendaisle, and the second system that uses this newly-built sendaisle to point in described data link address obtains data;
By the data retransmission obtaining at described second system, give described the first system, by described the first system, according to the business realizing class prestoring, carry out data processing.
2. cross-system data interactive method according to claim 1, is characterized in that, also comprises:
Described newly-built sendaisle is preserved.
3. cross-system data interactive method according to claim 2, is characterized in that, described the first system is expense reimbursement system, and described second system is financial managing and control system.
4. according to the cross-system data interactive method described in claim 2 or 3, it is characterized in that, also comprise:
Record the service daily record of each sendaisle, described service daily record comprises request of data time, data acquisition time, request of data error message.
5. cross-system data interactive method according to claim 4, is characterized in that, also comprises:
When request of data makes a mistake, cannot when obtaining data, described second system again to described second system, send data acquisition request according to predetermined policy, if again there is request of data mistake, export warning prompt.
6. a cross-system data interaction platform, is characterized in that, comprising:
Request of data receiving element, the request of data sending for receiving the first system, described request of data comprises request of data type and data link address;
The first data processing unit, for judging whether the sendaisle prestoring exists the sendaisle with described request of data type matching; If existed, call this sendaisle and obtain data at the second system of described data link address sensing, if there is no, select the adapter corresponding with described request of data type, set up new sendaisle, and the second system that uses this newly-built sendaisle to point in described data link address obtains data;
Data are returned to unit, for giving described the first system by the data retransmission obtaining at described second system, by described the first system, according to the business realizing class prestoring, carry out data processing.
7. cross-system data interaction platform according to claim 6, is characterized in that, also comprises:
Storage unit, for storing the newly-built sendaisle of described the first data processing unit.
8. cross-system data interaction platform according to claim 7, is characterized in that, described the first system is expense reimbursement system, and described second system is financial managing and control system.
9. according to the cross-system data interaction platform described in claim 7 or 8, it is characterized in that, also comprise:
Log recording unit, for recording the service daily record of each sendaisle, described service daily record comprises request of data time, data acquisition time, request of data error message.
10. cross-system data interaction platform according to claim 9, is characterized in that, also comprises:
The second data processing unit, for in described the first data processing unit generation request of data mistake, cannot, when described second system obtains data, according to predetermined policy, again to described second system, send data acquisition request, if again there is request of data mistake, export warning prompt.
CN201410234590.4A 2014-05-29 2014-05-29 A kind of cross-system data interactive method and platform Active CN104007973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410234590.4A CN104007973B (en) 2014-05-29 2014-05-29 A kind of cross-system data interactive method and platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410234590.4A CN104007973B (en) 2014-05-29 2014-05-29 A kind of cross-system data interactive method and platform

Publications (2)

Publication Number Publication Date
CN104007973A true CN104007973A (en) 2014-08-27
CN104007973B CN104007973B (en) 2017-11-24

Family

ID=51368640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410234590.4A Active CN104007973B (en) 2014-05-29 2014-05-29 A kind of cross-system data interactive method and platform

Country Status (1)

Country Link
CN (1) CN104007973B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763511A (en) * 2014-12-16 2016-07-13 金蝶软件(中国)有限公司 Business processing method and communication system
CN106598758A (en) * 2016-12-14 2017-04-26 咪咕文化科技有限公司 Method and system for centralized transferring and calling
CN110378826A (en) * 2019-07-23 2019-10-25 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and computer readable storage medium
CN110688113A (en) * 2019-09-27 2020-01-14 苏州浪潮智能科技有限公司 Cross-system data calling method, device and system
CN112541027A (en) * 2020-11-24 2021-03-23 国网商旅云技术有限公司 Data processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576922A (en) * 2009-06-25 2009-11-11 用友软件股份有限公司 Access system and access method
CN101754221A (en) * 2008-12-19 2010-06-23 中国移动通信集团山东有限公司 Data transmission method between heterogeneous systems and data transmission system
CN101977164A (en) * 2010-11-04 2011-02-16 杭州世导通讯有限公司 Data interactive method and system in SaaS mode
CN103648182A (en) * 2013-12-30 2014-03-19 联想(北京)有限公司 Business data transmission method and device, processor and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754221A (en) * 2008-12-19 2010-06-23 中国移动通信集团山东有限公司 Data transmission method between heterogeneous systems and data transmission system
CN101576922A (en) * 2009-06-25 2009-11-11 用友软件股份有限公司 Access system and access method
CN101977164A (en) * 2010-11-04 2011-02-16 杭州世导通讯有限公司 Data interactive method and system in SaaS mode
CN103648182A (en) * 2013-12-30 2014-03-19 联想(北京)有限公司 Business data transmission method and device, processor and mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763511A (en) * 2014-12-16 2016-07-13 金蝶软件(中国)有限公司 Business processing method and communication system
CN105763511B (en) * 2014-12-16 2019-04-19 金蝶软件(中国)有限公司 A kind of method for processing business and communication system
CN106598758A (en) * 2016-12-14 2017-04-26 咪咕文化科技有限公司 Method and system for centralized transferring and calling
CN110378826A (en) * 2019-07-23 2019-10-25 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and computer readable storage medium
CN110688113A (en) * 2019-09-27 2020-01-14 苏州浪潮智能科技有限公司 Cross-system data calling method, device and system
CN110688113B (en) * 2019-09-27 2022-12-06 苏州浪潮智能科技有限公司 Cross-system data calling method, device and system
CN112541027A (en) * 2020-11-24 2021-03-23 国网商旅云技术有限公司 Data processing method and device
CN112541027B (en) * 2020-11-24 2024-03-22 国网商旅云技术有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN104007973B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN103685533B (en) Data sharing system and method among enterprises based on cloud service
CN104007973A (en) Method and platform for data interaction between systems
US8984472B1 (en) Software development standards compliance system
CN110223040A (en) Project management method, device, electronic equipment and storage medium
CN113792347B (en) Federal learning method, device, equipment and storage medium based on block chain
CN104363072A (en) Error information transfer and escape method, error information transfer and escape device and error information transfer and escape system
CN110955715B (en) Data conversion method and device for ERP system and target platform and electronic device
CN110555150B (en) Data monitoring method, device, equipment and storage medium
CN109152061A (en) Channel agility method, apparatus, server and storage medium
US8224962B2 (en) Automatic network domain diagnostic repair and mapping
US20090138510A1 (en) Method and apparatus for associating help desk ticket with affected data processing system
US8510473B1 (en) Converting message character sets for a queue manager
CN114066217A (en) Method, system and equipment for constructing business-oriented enterprise IT operation and service system
CN111666166B (en) Service providing method, device, equipment and storage medium
CN112181376A (en) Code resource management method, device, electronic equipment and medium
KR20220071241A (en) Computer-implemented systems and methods
CN112950341A (en) Accounting system based on block chain
US7810101B2 (en) Task harmonization layer
US20210166334A1 (en) Construction Bidding and Company Selection System Based on Intellectual Property Rights
US20100077025A1 (en) Workflow automation & request processing
US20140122023A1 (en) Intelligent systems, methods, and computer readable media for managing integrity of a field asset
CN110135803B (en) Item management method and block chain link point equipment
US8332537B1 (en) Establishing a bypass channel between queue managers
EP3614319A1 (en) Tracking execution of an industrial workflow of a petri net
CN113257398A (en) Information processing system, method and device

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