CN109344123A - A kind of data interactive method based on catalogue file - Google Patents

A kind of data interactive method based on catalogue file Download PDF

Info

Publication number
CN109344123A
CN109344123A CN201811238765.3A CN201811238765A CN109344123A CN 109344123 A CN109344123 A CN 109344123A CN 201811238765 A CN201811238765 A CN 201811238765A CN 109344123 A CN109344123 A CN 109344123A
Authority
CN
China
Prior art keywords
data
file
data exchange
readjustment
scanning
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.)
Pending
Application number
CN201811238765.3A
Other languages
Chinese (zh)
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.)
Shandong Inspur Cloud Information Technology Co Ltd
Original Assignee
Shandong Inspur Cloud 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 Shandong Inspur Cloud Information Technology Co Ltd filed Critical Shandong Inspur Cloud Information Technology Co Ltd
Priority to CN201811238765.3A priority Critical patent/CN109344123A/en
Publication of CN109344123A publication Critical patent/CN109344123A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention provides a kind of data interactive method based on catalogue file, belongs to business data switching technology field, and the present invention is mainly made of three parts content: data exchange definition, data exchange processing, data exchange monitoring.Do not have to original system it is invasive, by defining file interface, integrated and visualized, configurableization between realization system, and then realization it is convenient and efficient take integrate.

Description

A kind of data interactive method based on catalogue file
Technical field
The present invention relates to business data switching technology more particularly to a kind of data interactive methods based on catalogue file.
Background technique
Method for interchanging data, which generally passes through to call mutually between application, between traditional enterprise's application completes, the disadvantage of this mode End is:
(1) initiator's application relies on recipient's application, and the application code of both sides can must be adjusted mutually logical
(2) operation that data exchange process is easy to cause data supply and demand both sides to apply is easy to be interfered.
(3) it when new recipient is added, needs to modify the code of called side, is readily incorporated new problem.
(4) in the presence of multiple recipients, once Party B, which calls, occurs mistake, other interactive processes be will affect.
The presence of these problems leads between applying that data integration is fairly cumbersome, and go wrong location difficulty.
Summary of the invention
The Interface integration problem encountered in Legacy System is integrated for enterprise, the invention proposes one kind to be based on catalogue file Data interactive method, conveniently data exchange can be realized by this method.
Do not have to original system it is invasive, it is integrated and visualized between realization system, configurable by defining file interface Change, so realize it is convenient and efficient take it is integrated.
The technical scheme is that
A kind of data interactive method based on catalogue file of the invention, establishes a data interchange platform, connects for each data Receipts person specifies Data Matching rule, time interval, invocation protocol, call address, document analysis rule etc., by more professional general Data interaction platform complete distribution and the error handle of data.
Data supplier only needs that data file is uploaded to designated position according to rule, and subsequent exchange distributes work by counting It is completed according to switching plane.
Data interchange platform timing scan file, for the file of variation, according to prior agreement, parsing content is sent to number According to recipient, data file is marked after communicating successfully, prevents from repeating to transmit.
Further, the present invention is mainly made of following three parts content: data exchange definition, data exchange processing, number According to exchange monitoring.
Wherein,
Data exchange definition, for defining the theme of data and each application and the call-back manner of concern theme.
Data exchange processing, scanning meet each file of theme, carry out readjustment notice to each subscriber application.
Data exchange monitoring finds the failure file in data exchange processing, and processing is abnormal, and support manually performs readjustment.
Illustrate the effect of various pieces individually below:
Data exchange definition
One scanning theme of (for some business) registration:
(1) catalogue to be scanned is defined
(2) the file matching rule to be scanned is defined, such as: OrderCreate.yyyymmddhhMMss.txt
(3) time interval of scanning is defined: such as: every 20 seconds
(4) the readjustment post processing mode of scanning is defined: such as: being moved to backup directory.
1-n application of registration concern theme:
(1) the readjustment url of Apply Names and application is specified.
(2) number of retries is specified
Data exchange processing
It realizes a scanning engine, the newly-increased file of catalogue is corresponded to according to scanning rule scanning rule.
In each wheel scan,
If it find that legal newly-increased file,
The list of application for subscribing to the rule is searched,
For each application, its callback interface is called, file content is as parameter, it is contemplated that json or xml format.
The processing track of this document is recorded, such as: certain file, certain notifies successfully/failure using reception.
If all applications receive information success, change the post-processing of file with regard to starting, such as: being moved to specified history mesh Record.
Data exchange monitoring
The file for supporting inquiry readjustment failure, checks readjustment detail.
For the readjustment of failure, failure cause is checked, and support readjustment manually.
The beneficial effects of the invention are as follows
The method avoids the bipartite code coupling of data supply and demand, to the code of supplier when avoiding newly-increased recipient Modification avoids the code interference between multiple parties in request, realizes the decoupling between both sides of supply and demand, demand each side, simple easy Row, it is more efficient.
Detailed description of the invention
Fig. 1 is three parts content composition schematic diagram of the invention;
Fig. 2 is that data exchange defines schematic diagram;
Fig. 3 is data exchange processing schematic diagram;
Fig. 4 is data exchange monitoring schematic diagram.
Specific embodiment
More detailed elaboration is carried out to the contents of the present invention below:
A kind of data interactive method based on catalogue file of the present invention, by designing reasonable catalogue file scanning rule, specifying Treatment mechanism and post-processing mechanism carry out file process, realize that efficiently quickly service system is integrated.
It is mainly made of following three parts content: data exchange definition, data exchange processing, data exchange monitoring.
Wherein,
Data exchange definition, for defining the theme of data and each application and the call-back manner of concern theme.
Data exchange processing, scanning meet each file of theme, carry out readjustment notice to each subscriber application.
Data exchange monitoring finds the failure file in data exchange processing, and processing is abnormal, and support manually performs readjustment.
Illustrate the effect of various pieces individually below:
Data exchange definition
One scanning theme of (for some business) registration:
(5) catalogue to be scanned is defined
(6) the file matching rule to be scanned is defined, such as: OrderCreate.yyyymmddhhMMss.txt
(7) time interval of scanning is defined: such as: every 20 seconds
(8) the readjustment post processing mode of scanning is defined: such as: being moved to backup directory.
1-n application of registration concern theme:
(3) the readjustment url of Apply Names and application is specified.
(4) number of retries is specified
Data exchange processing
It realizes a scanning engine, the newly-increased file of catalogue is corresponded to according to scanning rule scanning rule.
In each wheel scan,
If it find that legal newly-increased file,
The list of application for subscribing to the rule is searched,
For each application, its callback interface is called, file content is as parameter, it is contemplated that json or xml format.
The processing track of this document is recorded, such as: certain file, certain notifies successfully/failure using reception.
If all applications receive information success, change the post-processing of file with regard to starting, such as: being moved to specified history mesh Record.
Data exchange monitoring
The file for supporting inquiry readjustment failure, checks readjustment detail.
For the readjustment of failure, failure cause is checked, and support readjustment manually.
The present invention is difficult for Interface integration between enterprise's Legacy System, skill requirement is high, problem difficulty defines, the multiplexing of interface difficulty The problems such as, using catalogue file interface, and support flexible configuration and processing traceable, practicability with higher and versatility.

Claims (9)

1. a kind of data interactive method based on catalogue file, which is characterized in that
Establish a data interchange platform, for each Data receiver specify Data Matching rule, time interval, invocation protocol, Call address, document analysis rule, distribution and the error handle of data are completed by data interaction platform;
Data file is uploaded to designated position according to rule by data supplier, and subsequent exchange distributes work by data interchange platform To complete;
Data interchange platform timing scan file, for the file of variation, according to prior agreement, parsing content is sent to data and connects Receipts person is marked data file after communicating successfully, prevents from repeating to transmit.
2. the method according to claim 1, wherein
Further include:
It is mainly made of following three parts content: data exchange definition, data exchange processing and data exchange monitoring;Wherein,
Data exchange definition, for defining the theme of data and each application and the call-back manner of concern theme;
Data exchange processing, scanning meet each file of theme, carry out readjustment notice to each subscriber application;
Data exchange monitoring finds the failure file in data exchange processing, and processing is abnormal, and support manually performs readjustment.
3. according to the method described in claim 2, it is characterized in that,
Further include:
Data exchange definition
Register a scanning theme:
Define the catalogue to be scanned;
Define the file matching rule to be scanned;
Define the time interval of scanning;
Define the readjustment post processing mode of scanning.
4. according to the method described in claim 3, it is characterized in that,
Further include:
1-n application of registration concern theme:
The readjustment url of specified Apply Names and application;
Specified number of retries.
5. according to the method described in claim 2, it is characterized in that,
Further include:
Data exchange processing
It realizes a scanning engine, the newly-increased file of catalogue is corresponded to according to scanning rule scanning rule.
6. according to the method described in claim 5, it is characterized in that,
Further include:
In each wheel scan,
If it find that legal newly-increased file,
The list of application for subscribing to the rule is searched,
For each application, its callback interface is called, file content is as parameter.
7. according to the method described in claim 6, it is characterized in that,
Further include:
Record the processing track of this document.
8. the method according to the description of claim 7 is characterized in that
Further include:
If all applications receive information success, change the post-processing of file with regard to starting.
9. according to the method described in claim 2, it is characterized in that,
Further include:
Data exchange monitoring
The file for supporting inquiry readjustment failure, checks readjustment detail
For the readjustment of failure, failure cause is checked, and support readjustment manually.
CN201811238765.3A 2018-10-23 2018-10-23 A kind of data interactive method based on catalogue file Pending CN109344123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811238765.3A CN109344123A (en) 2018-10-23 2018-10-23 A kind of data interactive method based on catalogue file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811238765.3A CN109344123A (en) 2018-10-23 2018-10-23 A kind of data interactive method based on catalogue file

Publications (1)

Publication Number Publication Date
CN109344123A true CN109344123A (en) 2019-02-15

Family

ID=65311373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811238765.3A Pending CN109344123A (en) 2018-10-23 2018-10-23 A kind of data interactive method based on catalogue file

Country Status (1)

Country Link
CN (1) CN109344123A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865990A (en) * 2019-10-12 2020-03-06 中国平安财产保险股份有限公司 Non-real-time data exchange method, system and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120175411A1 (en) * 2011-01-11 2012-07-12 Avermedia Information, Inc. Host apparatus and method for linking with network image capture apparatus
CN104317601A (en) * 2014-10-31 2015-01-28 北京思特奇信息技术股份有限公司 Method and system for developing file interfaces
CN105656952A (en) * 2014-11-11 2016-06-08 田鹏 Data exchange platform with reliable application level
CN107766456A (en) * 2017-09-27 2018-03-06 山东浪潮通软信息科技有限公司 Data parsing converting system and method based on file interaction between supplementary pension system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120175411A1 (en) * 2011-01-11 2012-07-12 Avermedia Information, Inc. Host apparatus and method for linking with network image capture apparatus
CN104317601A (en) * 2014-10-31 2015-01-28 北京思特奇信息技术股份有限公司 Method and system for developing file interfaces
CN105656952A (en) * 2014-11-11 2016-06-08 田鹏 Data exchange platform with reliable application level
CN107766456A (en) * 2017-09-27 2018-03-06 山东浪潮通软信息科技有限公司 Data parsing converting system and method based on file interaction between supplementary pension system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗敏娜: "数字校园数据交换平台设计与实现", 《万方数据》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865990A (en) * 2019-10-12 2020-03-06 中国平安财产保险股份有限公司 Non-real-time data exchange method, system and computer equipment
CN110865990B (en) * 2019-10-12 2024-04-30 中国平安财产保险股份有限公司 Non-real-time data exchange method, system and computer equipment

Similar Documents

Publication Publication Date Title
US7886308B2 (en) Time bounding notification delivery in an event driven system
CN1868188A (en) Telecommunication network system and method in communication services using session initiation protocol
CN105635151B (en) Open platform cut-in method and open platform access system
CA2628096A1 (en) Universal document transport
CN1777893A (en) Database coommnication system based on network
CN101800712B (en) Gateway apparatus, information communication method, information communication program, and information communication system
CN105142132A (en) MNP number portability method and system
CN1584894A (en) Electronic favored paper network controlling systems
CN103079178B (en) The message management method of a kind of NGCRM second filial generation CRM system and system
WO2015117297A1 (en) Customer service method in cooperative communication, and customer service system
CN109344123A (en) A kind of data interactive method based on catalogue file
CN105657681A (en) Call service processing method, call service processing system and call platform
CN105516372B (en) Processing method, device and the server of filename
CN1266885C (en) Method for realizing monitoring based on soft switch
CN100484104C (en) Method for addressing in communication system
CN101013937A (en) Method and apparatus for preventing media proxy from hacker attack
US8320897B2 (en) Method and device for programming inter-(sub) system interface identity data at a unit or individual subscriber
CN101742011A (en) Lawful interception method for internetwork telephone domain and system thereof
CN101848283A (en) Method, device, system and terminal for call rejecting and forwarding
CN101179436A (en) Correlation method and device of implementing debug log
CN102916834B (en) The service apparatus that a kind of broadband account number cipher resets and its implementation
CN102377883B (en) Method, device and system for processing fixed network calling
CN102075517A (en) Session initiation protocol (SIP) terminals and status information distribution method thereof
CN101931715A (en) Customer service system and cross-platform monitoring method therein
CN1960411A (en) Realization method for telephone book of corporation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190215