CN104007973B - A kind of cross-system data interactive method and platform - Google Patents

A kind of cross-system data interactive method and platform Download PDF

Info

Publication number
CN104007973B
CN104007973B CN201410234590.4A CN201410234590A CN104007973B CN 104007973 B CN104007973 B CN 104007973B CN 201410234590 A CN201410234590 A CN 201410234590A CN 104007973 B CN104007973 B CN 104007973B
Authority
CN
China
Prior art keywords
data
request
sendaisle
cross
newly
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.)
Active
Application number
CN201410234590.4A
Other languages
Chinese (zh)
Other versions
CN104007973A (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

This application discloses a kind of cross-system data interactive method and platform, this method to include:Receive the request of data comprising request of data type and data chained address that the first system is sent, then with the presence or absence of the sendaisle with the request of data type matching in the sendaisle for judging to prestore, if there is, the second system for then calling the sendaisle to be pointed in the data link address obtains data, if there is no, then select adapter corresponding with the request of data type, establish new sendaisle, and the second system pointed to using the newly-built sendaisle in the data link address obtains data, finally give the data forwarding obtained in the second system to the first system, by the first system data processing is carried out according to the business realizing class to prestore.The data exchange process between any two different system is realized, and management is easily facilitated to each system development interface without developer.

Description

A kind of cross-system data interactive method and platform
Technical field
The application is related to cross-system data interaction technology field, more specifically to a kind of cross-system data interaction side Method and platform.
Background technology
With the continuous expansion of State Grid Corporation of China's service application construction scale, all there is cross-system interaction number in different system According to demand.For example most of unit proposes that employee submits an expense account system and needs fund electronic payment function, while employee submits an expense account system Exist in terms of master data and business with ERP system and closely contact.
Way of the conventional method when handling cross-system data interaction is, by connecing for each system of developer's stand-alone development Mouthful, realize the data interaction between different system.It is unfavorable but the managerial confusion of interface can be caused by individually developing each interface In follow-up management.And each interface is required for developer to go from the beginning to realize, the requirement of developer's overall technology will all be carried It is high.
The content of the invention
In view of this, this application provides a kind of cross-system data interactive method and platform, needed for solving prior art Want the multiple interfaces of stand-alone development and caused by managerial confusion, the problem of workload is big.
To achieve these goals, it is proposed that scheme it is as follows:
A kind of cross-system data interactive method, including:
The request of data that the first system is sent is received, the request of data is with including request of data type and data link Location;
With the presence or absence of the sendaisle with the request of data type matching in the sendaisle for judging to prestore, if deposited In the second system acquisition data for then calling the sendaisle to be pointed in the data link address, if it does not exist, then selection Adapter corresponding with the request of data type, new sendaisle is established, and using the newly-built sendaisle described The second system that data link address is pointed to obtains data;
The data forwarding obtained in the second system is given to the first system, by the first system according to prestoring Business realizing class carries out data processing.
Preferably, in addition to:
The newly-built sendaisle is preserved.
Preferably, the first system is expense reimbursement system, and the second system is financial managing and control system.
Preferably, in addition to:
Record the serve log of each sendaisle, the serve log include the request of data time, data obtaining time, Request of data error message.
Preferably, in addition to:
, can not be when the second system obtains data, according to predetermined policy again to institute when request of data makes a mistake State second system and send data acquisition request, if occurring request of data mistake again, export warning prompt.
A kind of cross-system data interaction platform, including:
Request of data receiving unit, for receiving the request of data of the first system transmission, the request of data includes data Request type and data chained address;
First data processing unit, for judging to whether there is in the sendaisle that prestores and the request of data type phase The sendaisle of matching;If it is present the second system for calling the sendaisle to be pointed in the data link address obtains Data, if it does not exist, then selection adapter corresponding with the request of data type, establishes new sendaisle, and use The second system that the newly-built sendaisle points in the data link address obtains data;
Data returning unit, for the data forwarding that will be obtained in the second system to the first system, by described The first system carries out data processing according to the business realizing class to prestore.
Preferably, in addition to:
Memory cell, for the newly-built sendaisle of first data processing unit to be stored.
Preferably, the first system is expense reimbursement system, and the second system is financial managing and control system.
Preferably, in addition to:
Logging unit, for recording the serve log of each sendaisle, the serve log includes request of data Time, data obtaining time, request of data error message.
Preferably, in addition to:
Second data processing unit, can not be in institute for request of data mistake to occur in first data processing unit When stating second system acquisition data, data acquisition request is sent to the second system again according to predetermined policy, if again There is request of data mistake, then export warning prompt.
It can be seen from the above technical scheme that cross-system data interactive method disclosed in the present application, receives the first system Whether what is sent includes request of data type and the request of data of data chained address, deposited in the sendaisle for then judging to prestore In the sendaisle with the request of data type matching, if it is present calling the sendaisle in the data link The second system that address is pointed to obtains data, if it does not exist, then selection adapter corresponding with the request of data type, builds Vertical new sendaisle, and the second system pointed to using the newly-built sendaisle in the data link address obtains number According to finally the data forwarding obtained in the second system being given to the first system, by the first system according to prestoring Business realizing class carries out data processing.The data exchange process between any two different system is realized, and without exploit person Member easily facilitates management to each system development interface.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of application, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of cross-system data interactive method flow chart disclosed in the embodiment of the present application;
Fig. 2 is another cross-system data interactive method flow chart disclosed in the embodiment of the present application;
Fig. 3 is a kind of cross-system data interaction platform structure schematic diagram disclosed in the embodiment of the present application;
Fig. 4 is another cross-system data interaction platform structure schematic diagram disclosed in the embodiment of the present application;
Fig. 5 is another cross-system data interaction platform structure schematic diagram disclosed in the embodiment of the present application;
Fig. 6 is another cross-system data interaction platform structure schematic diagram disclosed in 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 carried out clear, complete Site preparation describes, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained all other under the premise of creative work is not paid Embodiment, belong to the scope of the application protection.
This application provides a kind of method of cross-system data interaction, can be the different systems with data of any two Interactive service, avoid conventional method need to each separate payment development interface and caused by interface management inconvenience the problem of.
Referring to Fig. 1, Fig. 1 is a kind of cross-system data interactive method flow chart disclosed in the embodiment of the present application.
As shown in figure 1, this method includes:
Step 101:The request of data that the first system is sent is received, the request of data includes request of data type and data Chained address;
Specifically, in order to distinguish two different systems, it is the first system that we, which define request of data side, data providing For second system.The first system can be expense reimbursement system, or other existing systems of any one.First is received first The request of data comprising request of data type with data link address that system is sent, request of data type can be service class Type, such as financial management and control pay application.Which each request of data type be to having corresponded to its data acquisition address Data corresponding to being obtained in system.Data link address then provides data acquisition address.
Step 102:It whether there is the transmission with the request of data type matching in the sendaisle for judging to prestore to lead to Road, if there is the sendaisle with request of data type matching, step 103 is performed, otherwise performs step 104;
Step 103:The second system for calling the sendaisle to be pointed in the data link address obtains data;
Step 104:Selection adapter corresponding with the request of data type, new sendaisle is established, and use and be somebody's turn to do The second system that newly-built sendaisle points in the data link address obtains data;
Specifically, we have prestored a part of sendaisle, the sendaisle be considered as connect the first system with The pipeline of different second systems, each sendaisle are corresponding with request of data type.It is currently received detecting , it is necessary to establish the sendaisle corresponding with the request of data type when corresponding sendaisle is not present in request of data type. This process includes:Selection adapter corresponding with the request of data type, establishes new sendaisle.Call prestore or Newly-built sendaisle, data are obtained in the second system pointed by data link address.
Step 105:Give the data forwarding obtained in the second system to the first system, pressed by the first system Data processing is carried out according to the business realizing class to prestore.
Specifically, previous step has initiated a request of data acquisition to second system, in the case of request correctly Corresponding data can be obtained, the data are then relayed into the first system, the industry to be prestored for the first system according to it Pragmatic existing class carries out data handling procedure.
Cross-system data interactive method disclosed in the embodiment of the present application, receive the first system transmission includes request of data class Type and the request of data of data chained address, then judge to whether there is in the sendaisle that prestores and the request of data type The sendaisle to match, if it is present the second system for calling the sendaisle to be pointed in the data link address obtains Access evidence, if it does not exist, then selection adapter corresponding with the request of data type, establishes new sendaisle, and make The second system pointed to the newly-built sendaisle in the data link address obtains data, finally will be in second system The data forwarding that system obtains gives the first system, and data are carried out according to the business realizing class to prestore by the first system Reason.The data exchange process between any two different system is realized, and each system is developed without developer and connect Mouthful, easily facilitate management.
Optionally, after the newly-built sendaisle of step 104, the newly-built sendaisle can be stored.So It is easy to directly invoke next time, without repeating to establish process again.
Optionally, above-mentioned the first system is respectively different two systems from second system.In actual application, first System can be expense reimbursement system, and second system can be then financial managing and control system or other outside ERP systems (Enterprise Resource Planning, integration Management information system).
On the basis of the above, method disclosed in the embodiment of the present application can further include step 106, referring to Fig. 2 institutes Show:
Step 106:Record the serve log of each sendaisle.
Here serve log includes request of data time, data obtaining time, request of data error message etc..Record this A little information can be in order to subsequent operation.For example, we are according to request of data time and the length of data obtaining time, it will be appreciated that The data processing speed of two systems.Record data request error information can provide foundation for follow-up fault-tolerant processing.
Referred to herein as the situation of request of data mistake, it is possible to because the other factorses such as unstable networks, sometime The data acquisition request failure of transmission, could not reach and data are obtained from second system.At this point it is possible to according to predetermined strategy, then It is secondary to send data acquisition request to second system, if occurring request of data failure again, then can select to carry out warning to carry Show, by technical staff come manual handle.Here predetermined policy can be sent at regular intervals once, more than pre-determined number That is prompting failure or the detection of progress network environment, after detecting that network environment is stable, carries out request of data again The other situations of transmission, etc..
The process of above-mentioned data interaction processing can correspond to a kind of cross-system data interaction platform, be completed by the platform The process of above-mentioned data interaction.
Referring to Fig. 3, Fig. 3 is a kind of cross-system data interaction platform structure schematic diagram disclosed in the embodiment of the present application.
As shown in figure 3, the interaction platform includes:
Request of data receiving unit 31, for receiving the request of data of the first system transmission, the request of data includes number According to request type and data chained address;
First data processing unit 32, for judging to whether there is in the sendaisle that prestores and the request of data type The sendaisle to match;If it is present the second system for calling the sendaisle to be pointed in the data link address obtains Access evidence, if it does not exist, then selection adapter corresponding with the request of data type, establishes new sendaisle, and make The second system pointed to the newly-built sendaisle in the data link address obtains data;
Data returning unit 33, for the data forwarding that will be obtained in the second system to the first system, by institute State the first system and carry out data processing according to the business realizing class to prestore.
Cross-system data interaction platform disclosed in the embodiment of the present application, receive the first system transmission includes request of data class Type and the request of data of data chained address, then judge to whether there is in the sendaisle that prestores and the request of data type The sendaisle to match, if it is present the second system for calling the sendaisle to be pointed in the data link address obtains Access evidence, if it does not exist, then selection adapter corresponding with the request of data type, establishes new sendaisle, and make The second system pointed to the newly-built sendaisle in the data link address obtains data, finally will be in second system The data forwarding that system obtains gives the first system, and data are carried out according to the business realizing class to prestore by the first system Reason.The data exchange process between any two different system is realized, and each system is developed without developer and connect Mouthful, easily facilitate management.
Optionally, on the basis of the above, the cross-system data interaction platform of the application can also include memory cell 34, ginseng As shown in Figure 4, memory cell 34 is used to be stored the newly-built sendaisle of the first data processing unit 32.Under being so easy to It is secondary to directly invoke, without repeating to establish process again.
Optionally, above-mentioned the first system is respectively different two systems from second system.In actual application, first System can be expense reimbursement system, and second system can be then financial managing and control system or other outside ERP systems (Enterprise Resource Planning, integration Management information system).
Optionally, the cross-system data interaction platform of the application can also include logging unit 35, referring to Fig. 5 institutes Show, logging unit 35 is used to recording the serve log of each sendaisle, the serve log include the request of data time, Data obtaining time, request of data error message.
Here serve log includes request of data time, data obtaining time, request of data error message etc..Record this A little information can be in order to subsequent operation.For example, we are according to request of data time and the length of data obtaining time, it will be appreciated that The data processing speed of two systems.Record data request error information can provide foundation for follow-up fault-tolerant processing.
Shown in Figure 6, cross-system data interaction platform disclosed in the embodiment of the present application can also include at the second data Unit 36 is managed, for request of data mistake to occur in first data processing unit 32, can not be obtained in the second system During data, data acquisition request is sent to the second system again according to predetermined policy, if occurring request of data mistake again By mistake, then warning prompt is exported.
Finally, it is to be noted that, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of elements not only include that A little key elements, but also the other element including being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except other identical element in the process including the key element, method, article or equipment being also present.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the application. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments in the case where not departing from spirit herein or scope.Therefore, the application The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

1. a kind of cross-system data interactive method, it is characterised in that applied to cross-system data interaction platform, this method includes:
The request of data that the first system is sent is received, the request of data includes request of data type and data chained address;
With the presence or absence of the sendaisle with the request of data type matching in the sendaisle for judging to prestore, if it does, Then call the second system that the sendaisle points in the data link address to obtain data, if it does not exist, then selection with Adapter corresponding to the request of data type, new sendaisle is established, and using the newly-built sendaisle in the number The second system pointed to according to chained address obtains data;
The data forwarding obtained in the second system is given to the first system, by the first system according to the business to prestore Realize that class carries out data processing.
2. cross-system data interactive method according to claim 1, it is characterised in that also include:
The newly-built sendaisle is preserved.
3. cross-system data interactive method according to claim 2, it is characterised in that the first system is expense reimbursement System, the second system are financial managing and control system.
4. the cross-system data interactive method according to Claims 2 or 3, it is characterised in that also include:
The serve log of each sendaisle is recorded, the serve log includes request of data time, data obtaining time, data Request error information.
5. cross-system data interactive method according to claim 4, it is characterised in that also include:
, can not be when the second system obtains data, according to predetermined policy again to described the when request of data makes a mistake Two system sends data acquisition request, if occurring request of data mistake again, exports warning prompt.
A kind of 6. cross-system data interaction platform, it is characterised in that including:
Request of data receiving unit, for receiving the request of data of the first system transmission, the request of data includes request of data Type and data chained address;
First data processing unit, for judging to whether there is in the sendaisle that prestores and the request of data type matching Sendaisle;If it is present the second system for calling the sendaisle to be pointed in the data link address obtains data, If it does not exist, then selection adapter corresponding with the request of data type, establishes new sendaisle, and it is newly-built using this The second system that is pointed in the data link address of sendaisle obtain data;
Data returning unit, for the data forwarding that will be obtained in the second system to the first system, by described first System carries out data processing according to the business realizing class to prestore.
7. cross-system data interaction platform according to claim 6, it is characterised in that also include:
Memory cell, for the newly-built sendaisle of first data processing unit to be stored.
8. cross-system data interaction platform according to claim 7, it is characterised in that the first system is expense reimbursement System, the second system are financial managing and control system.
9. the cross-system data interaction platform according to claim 7 or 8, it is characterised in that also include:
Logging unit, for recording the serve log of each sendaisle, the serve log include the request of data time, Data obtaining time, request of data error message.
10. cross-system data interaction platform according to claim 9, it is characterised in that also include:
Second data processing unit, can not be described for request of data mistake to occur in first data processing unit When two system obtains data, data acquisition request is sent to the second system again according to predetermined policy, if occurred again Request of data mistake, then 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 CN104007973A (en) 2014-08-27
CN104007973B true 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)

Families Citing this family (5)

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

Also Published As

Publication number Publication date
CN104007973A (en) 2014-08-27

Similar Documents

Publication Publication Date Title
CN104007973B (en) A kind of cross-system data interactive method and platform
US20100070395A1 (en) Architectural design for payroll processing application software
US8401936B2 (en) Architectural design for expense reimbursement application software
KR101959153B1 (en) System for efficient processing of transaction requests related to an account in a database
US8874455B2 (en) Convergence of customer and internal assets
CN106506244A (en) A kind of unified supervision device of mixed cloud
CN108197895A (en) A kind of enterprise information system Rights Management System
CN102576354A (en) Extensible framework to support different deployment architectures
CN108255714A (en) Interface document builds test method and terminal device
CN108665272A (en) Block chain data processing method, device, equipment and storage medium
CN106453420A (en) Request processing device and method and terminal
CA3177172A1 (en) Consortium-blockchain-based method and system for movable-collateral supervision
US20220364883A1 (en) Enhanced meter management solution
CN104008089A (en) Method and system used for validation for documentation
CN110728445A (en) Information management method, information management apparatus, electronic device, and medium
CN114066217A (en) Method, system and equipment for constructing business-oriented enterprise IT operation and service system
CN108074067A (en) Travel service information management platform
WO2020258955A1 (en) Method and apparatus for sharing delivery box
CN117291517A (en) Method and device for constructing approval process
CN112950341A (en) Accounting system based on block chain
CN104407904B (en) A kind of method and system of module information configuration
WO2020006936A1 (en) Fund management method and apparatus, computer device, and computer-readable storage medium
US20100077025A1 (en) Workflow automation & request processing
CN111857670B (en) Application architecture determining method and device
CN111415263A (en) Data matching 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