CN102291468A - Method and system for realizing data exchange - Google Patents

Method and system for realizing data exchange Download PDF

Info

Publication number
CN102291468A
CN102291468A CN2011102775932A CN201110277593A CN102291468A CN 102291468 A CN102291468 A CN 102291468A CN 2011102775932 A CN2011102775932 A CN 2011102775932A CN 201110277593 A CN201110277593 A CN 201110277593A CN 102291468 A CN102291468 A CN 102291468A
Authority
CN
China
Prior art keywords
data
new data
relevant
sent
updated
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
CN2011102775932A
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.)
Zhengzhou Dandian Technology Software Co Ltd
Original Assignee
Zhengzhou Dandian Technology Software 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 Zhengzhou Dandian Technology Software Co Ltd filed Critical Zhengzhou Dandian Technology Software Co Ltd
Priority to CN2011102775932A priority Critical patent/CN102291468A/en
Publication of CN102291468A publication Critical patent/CN102291468A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a method for realizing data exchange, which is used between at least two of N systems, wherein N is a positive integer and is more than or equal to 2. The method comprises the following steps of: monitoring whether data needing to be updated exist in each system; if data needing to be updated exist in an nth system, transmitting updated data to a relevant mth system within a preset period of time, wherein n and m are positive integers, and n is not equal to m; receiving confirmation information fed back by the mth system by using the nth system; if the confirmation information is not received in a preset long period of time, retransmitting the updated data to the relevant mth system by using the nth system; and updating the updated data onto the mth system. The invention further provides a corresponding system for realizing data exchange. According to the invention, the data transmission amount can be reduced, the information transmission efficiency between the systems is improved, and continuous automatic updating of information in each application system is realized.

Description

A kind of method and system of realizing exchanges data
Technical field
The application relates to the ICT (information and communication technology) field, particularly relates to a kind of method and system of realizing exchanges data.
Background technology
All there has been the information system of oneself in each enterprises and institutions now, government is responsible for the information system that oneself is also arranged, exist a kind of relation of the superior and the subordinate between a lot of different systems, between general headquarters (parent company) and each branch (branch company), between authorities and the subordinate unit, all need to carry out the exchange of data.
Because both belong to different systems, thus be not all data of exchange during exchange, but exchange self needed those a part of data.
Need to upload, assign information between system of branch and the system of general headquarters (or responsible institution and subordinate unit), promptly carry out exchanges data.With the educational system is example, Bureau of Education gets the responsible institution as each middle and primary schools, each school will report oneself data (as student, teacher, assets etc.), and to Bureau of Education, Bureau of Education will issue data (as official document, notice) to school, and the two need carry out the exchange work of data.
Existing system data exchange mainly relates to the exchange between homogeneous system, as between two sane level units as the exchanges data between (two schools or two enterprises).Picture exchanges data between the superior and the subordinate is not very perfect now also seldom.
The switching system that has needs all data in the switching system, not according to actual conditions, has exchanged too many unnecessary data, has increased the expense between system and the network.
The switching system that also has can only exchangeable object data such as file, can not the switching fabric data, and as data list structure and data etc.
Summary of the invention
The application's technical problem to be solved provides a kind of method and system of realizing exchanges data, realizes uploading, issuing of information, for realizing the lasting automatic renewal of information in each application system.
In order to address the above problem, the invention provides a kind of method that realizes exchanges data, be used between at least two N system, N is a positive integer, N 〉=2 comprise:
Monitor whether the data updated of needs is arranged in each system;
If the data updated of needs is arranged in n system, then at the fixed time with more new data send to m relevant system, wherein, n, m are positive integer, n ≠ m;
Described n system receives the affirmation information of described m system feedback; If do not receive described confirmation in being scheduled to for a long time, then described n system connects described more new data sent to m relevant system once more;
With described renewal Data Update on described m system.
Ground preferably, this method also comprises:
Before described more new data is sent to m relevant system, described more new data is compressed by compression algorithm;
Described m system carries out decompress(ion) after receiving compressed described more new data, obtains described more new data.
Preferably, wherein with more new data send to m relevant system and transmit data by HTTP, HTTPS, FTP or SSH agreement.
The present invention also provides a kind of system that realizes exchanges data between the system, comprising:
Monitoring means, whether be used for monitoring each system has the data updated of needs;
Data transmission unit is used for data are sent to another system from a system; According to the testing result of described detecting unit, if n system in the data updated of needs is arranged, then at the fixed time with more new data send to m relevant system;
Confirm indicating member, be arranged in each system, be used to receive the affirmation information of described m system feedback; If in being scheduled to for a long time, do not receive described confirmation, then indicate described n system to connect described more new data is sent to m relevant system once more;
Data updating unit is used for described renewal Data Update to described m system.
Ground preferably, this system also comprises:
Compression unit is arranged in each system, is used for by compression algorithm described more new data being compressed before described more new data is sent to m relevant system;
Decompression unit is used for described system and decompresses to receiving compressed described more new data, obtains described more new data.
Compared with prior art, the present invention has the following advantages:
Technical scheme provided by the invention by monitoring the data updated that needs of each system, and sends to other system with required data updated, so only transmits the data that need exchange, and the data that do not need to exchange or not, and have reduced volume of transmitted data.And the data at exchange are just transmitted after compressing, and have reduced the cost and the expense of transfer of data.Information transmission efficiency between can the raising system according to the present invention realizes the automatic renewal that the information in each application system continues.
Description of drawings
Fig. 1 is the method flow diagram of realization exchanges data provided by the invention;
Fig. 2 is the method flow diagram of the realization inter-system data exchange that provides in the embodiment of the invention;
Fig. 3 is that the system of the realization exchanges data that provides in the embodiment of the invention constitutes schematic diagram.
Embodiment
In view of a plurality of application system coexistences are arranged in existing information management and the delivery system, need swap data between these application systems, uploading, issuing of realization information for realizing the information continuous updating in each application system, the invention provides a kind of method and system of realizing exchanges data.
For making principle of the present invention, characteristic and advantage clearer, describe specific embodiments of the invention below in detail.
The embodiment of the invention provides a kind of method that realizes exchanges data, is used between at least two N system, and N is a positive integer, N 〉=2, and with reference to Fig. 1, this method comprises the steps:
S02 monitors whether the data updated of needs is arranged in each system;
S04, if n system in the data updated of needs is arranged, then at the fixed time with more new data send to m relevant system, wherein, n, m are positive integer, n ≠ m;
S06, described n system receives the affirmation information of described m system feedback; If do not receive described confirmation in being scheduled to for a long time, then execution in step S02 sends to m relevant system once more with described more new data;
S08, with described renewal Data Update on described m system.
This method also comprises:
S04a before described more new data is sent to m relevant system, compresses described more new data by compression algorithm;
Described m system carries out decompress(ion) after receiving compressed described more new data, obtains described more new data.
Described with more new data send to m relevant system and transmit data by HTTP, HTTPS or File Transfer Protocol.
This method further comprises:
S10, relatively the data in the data in m system and n the system are checked two variance data between the system, as if there are differences data, then based on the data in described m the system, described variance data are sent to n system from m system;
S12, the data that will come from m system transmissions all cover in n the system.
In one embodiment of the present of invention,, be placed on the different servers if two identical application system: system A and the B of system are arranged.The data of system A are wanted to be synchronized to above the B of system, and an oracle listener all is installed in two systems, if monitor meaningful change among the A of system, more new data are arranged promptly, in the internal trigger of preset time section, new data are more packed, compresses, is transmitted.Transfer of data can be used LINUX next one instrument: the wget.exe that increases income, and this program is used to transmit data to be had good stable and carry out efficient, and corresponding windows version is also arranged.Be transferred to after the B of system, the more new data that compresses is decompressed, the Data Update of the A of system above the B of system, is compared A of system and the B of system through a series of algorithm then, compare its difference.In the B of system, obtain being updated to the data of the A of system, then these packing data, transmission, decompress(ion) synchrodata to the A of system.
At first, the network that needs exchanges data is set connects, each system (comprising A of system and the B of system) is coupled together, and be configured.Call oracle listener and monitor information data conversion in each system,, then carry out transfer of data at the appointed time if change.For example, send out a notice (note form etc.) to appointing system earlier, promptly release data to particular address; After the reporter of member unit (being responsible for the user with general headquarters' contact specially) receives this notice, can transfer note to reminds, the related personnel of member unit clicks the chained address in the note, downloads the related data that needs renewal, i.e. member unit's towing system information releasing.Wherein behind general headquarters' propelling data, the system of member unit returns receipt, if push successfully, general headquarters will no longer send, but unsuccessful then transmission always.Exchanges data daily record generating portion can be according to the necessary information of log query institute.
In the embodiment of the invention,, need exchanges data between two systems if two system: system A and the B of system are arranged.The keeper of system A can be transfer of data to the B of system, the update displayed above the A of system on the B of system.Change above the download system B simultaneously is synchronized to above the A of system.With reference to Fig. 2, the method for the realization exchanges data that the embodiment of the invention provides specifically comprises the steps:
S201 starts oracle listener, determines that according to monitoring result which data content needs exchanges;
S202, the transmission data: within the predetermined time, and giving the data of uploading above the B of system at the needs of the A of system the inside, by certain algorithm, packing, compression.
After the packing data compression of system A the inside, by HTTP, HTTPS, FTP, SSH protocol transmission data to the B of system.When transfer of data after the B of system, send note or inside story to the keeper that the B of system pre-sets, allow the keeper determine and carry out next step operation.
S203 receives data and extraction: after system B keeper receives prompting, receive and also extract the data that transmit from the A of system, if data are compressed data, then carry out decompress(ion), be stored in afterwards in the specific file.
S204, comparison difference: the data of the data of the A of system and the B of system are compared by algorithm.Check the data of two system's differences, some local discrepant word is as the criterion according to the data above the B of system.Obtain the data that to upload for the A of system from the B of system.
S205, Data Update:, all cover above the B of system the data that transmit from the A of system.If the data in two systems have the identical data of conflict, the data that the A of system transmits can be override the original data of the B of system so.
S206, data processing.The data that obtain by comparison, by certain algorithm, the data that packing, compression obtain from the B of system.
S207, after the compression of transmission data: the system A packing data different with the B of system, by HTTP, HTTPS, FTP, SSH protocol transmission data to the A of system.After transfer of data arrives the A of system, send note or inside story to the keeper that the A of system pre-sets, allow the keeper determine to download and further operation.
S208 receives and obtains data: after system A keeper receives prompting, and the data that decompress and transmit from the B of system.Be saved in the specific file, just the folder path with system B place is the same.There is the original A of system neutralized system B conflicting data to override according to the data of the B of system.
S209 provides indication information: if the transfer of data success, the keeper can obtain corresponding prompt.If failure also can obtain corresponding prompt.
A kind of system 300 that realizes exchanges data between the system that the embodiment of the invention provides with reference to Fig. 3, comprising:
Monitoring means 310, whether be used for monitoring each system has the data updated of needs;
Data transmission unit 320 is used for data are sent to another system from a system; According to the testing result of described detecting unit, if n system in the data updated of needs is arranged, then at the fixed time with more new data send to m relevant system;
Confirm indicating member 330, be arranged in each system, be used to receive the affirmation information of described m system feedback; If in being scheduled to for a long time, do not receive described confirmation, then indicate described n system to connect described more new data is sent to m relevant system once more;
Data updating unit 340 is used for described renewal Data Update to described m system.
This system 300 also comprises:
Compression unit 350 is arranged in each system, is used for by compression algorithm described more new data being compressed before described more new data is sent to m relevant system;
Decompression unit 360 is used for described system and decompresses to receiving compressed described more new data, obtains described more new data.
This system 300 further comprises:
Comparing unit 370, be used for the data of m system of comparison and the data in n system, check two variance data between the system, if there are differences data, then, described variance data is sent to n the data in the system from m system based on the data in described m the system.
Cover processing unit 380, the data that will come from m system transmissions all cover in n the system.
The workflow of a kind of system 200 that realizes exchanges data between the system that the embodiment of the invention provides and the method for the realization exchanges data in the previous embodiment are basic identical, do not repeat them here.
For system embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Technical scheme provided by the invention by monitoring the data updated that needs of each system, and sends to other system with required data updated, so only transmits the data that need exchange, and the data that do not need to exchange or not, and have reduced volume of transmitted data.And the data at exchange are just transmitted after compressing, and have reduced the cost and the expense of transfer of data.Information transmission efficiency between can the raising system according to the present invention realizes the automatic renewal that the information in each application system continues.
More than to a kind of method and system of realizing exchanges data that the application provided, be described in detail, used specific case herein the application's principle and execution mode are set forth, the explanation of above embodiment just is used to help to understand the application's method and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to the application's thought, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.

Claims (9)

1. a method that realizes exchanges data is used between two N system at least, and N is a positive integer, and N 〉=2 is characterized in that, comprising:
Monitor whether the data updated of needs is arranged in each system;
If the data updated of needs is arranged in n system, then at the fixed time with more new data send to m relevant system, wherein, n, m are positive integer, n ≠ m;
Described n system receives the affirmation information of described m system feedback; If do not receive described confirmation in being scheduled to for a long time, then described n system connects described more new data sent to m relevant system once more;
With described renewal Data Update on described m system.
2. the method for claim 1 is characterized in that, also comprises:
Before described more new data is sent to m relevant system, described more new data is compressed by compression algorithm;
Described m system carries out decompress(ion) after receiving compressed described more new data, obtains described more new data.
3. method as claimed in claim 1 or 2 is characterized in that, described with more new data send to m relevant system and transmit data by HTTP, HTTPS, FTP or SSH agreement.
4. the method for claim 1 is characterized in that, further comprises:
Data in the data in m system and n the system relatively, check two variance data between the system, if there are differences data, then, described variance data is sent to n the data in the system from m system based on the data in described m the system.
5. method as claimed in claim 4 is characterized in that, also comprises:
The data that to come from m system transmissions all cover in n the system.
6. a system that realizes exchanges data between the system is characterized in that, comprising:
Monitoring means, whether be used for monitoring each system has the data updated of needs;
Data transmission unit is used for data are sent to another system from a system; According to the testing result of described detecting unit, if n system in the data updated of needs is arranged, then at the fixed time with more new data send to m relevant system;
Confirm indicating member, be arranged in each system, be used to receive the affirmation information of described m system feedback; If in being scheduled to for a long time, do not receive described confirmation, then indicate described n system to connect described more new data is sent to m relevant system once more;
Data updating unit is used for described renewal Data Update to described m system.
7. system as claimed in claim 6 is characterized in that, also comprises:
Compression unit is arranged in each system, is used for by compression algorithm described more new data being compressed before described more new data is sent to m relevant system;
Decompression unit is used for described system and decompresses to receiving compressed described more new data, obtains described more new data.
8. system as claimed in claim 6 is characterized in that, further comprises:
Comparing unit, be used for the data of m system of comparison and the data in n system, check two variance data between the system, if there are differences data, then, described variance data is sent to n the data in the system from m system based on the data in described m the system.
9. system as claimed in claim 8 is characterized in that, also comprises:
Cover processing unit, the data that will come from m system transmissions all cover in n the system.
CN2011102775932A 2011-09-19 2011-09-19 Method and system for realizing data exchange Pending CN102291468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102775932A CN102291468A (en) 2011-09-19 2011-09-19 Method and system for realizing data exchange

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102775932A CN102291468A (en) 2011-09-19 2011-09-19 Method and system for realizing data exchange

Publications (1)

Publication Number Publication Date
CN102291468A true CN102291468A (en) 2011-12-21

Family

ID=45337568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102775932A Pending CN102291468A (en) 2011-09-19 2011-09-19 Method and system for realizing data exchange

Country Status (1)

Country Link
CN (1) CN102291468A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874884A (en) * 2018-05-04 2018-11-23 广州多益网络股份有限公司 Data synchronization updating methods, devices and systems, server apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453482A (en) * 2007-11-29 2009-06-10 中兴通讯股份有限公司 Real-time data transmission method and real-time data transmission system
CN101707701A (en) * 2009-11-26 2010-05-12 上海交通大学 Multi-stream information transmission system and transmission method thereof
CN101827078A (en) * 2009-12-30 2010-09-08 华为技术有限公司 Inquiry method, server and communication system for configured data difference
CN102118361A (en) * 2009-12-31 2011-07-06 北京金山软件有限公司 Method and device for controlling data transmission based on network protocol

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453482A (en) * 2007-11-29 2009-06-10 中兴通讯股份有限公司 Real-time data transmission method and real-time data transmission system
CN101707701A (en) * 2009-11-26 2010-05-12 上海交通大学 Multi-stream information transmission system and transmission method thereof
CN101827078A (en) * 2009-12-30 2010-09-08 华为技术有限公司 Inquiry method, server and communication system for configured data difference
CN102118361A (en) * 2009-12-31 2011-07-06 北京金山软件有限公司 Method and device for controlling data transmission based on network protocol

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李学俭,何文华: "基于SOA架构的高校数据资源整合研究", 《计算机技术与发展》 *
陆怀平: "面向服务的数字化校园数据交换平台的设计与实现", 《万方数据企业知识服务平台》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874884A (en) * 2018-05-04 2018-11-23 广州多益网络股份有限公司 Data synchronization updating methods, devices and systems, server apparatus

Similar Documents

Publication Publication Date Title
US20120023065A1 (en) System and method for managing data on an occasionally connected mobile device
CN102035859A (en) Method, system and device for displaying upload progress
CN107579791B (en) Satellite on-orbit remote measurement data real-time monitoring system suitable for unidirectional communication network
RU2016114448A (en) METHODS, DEVICES AND SYSTEMS FOR CALENDAR DATA MANAGEMENT
CN108093015B (en) File transmission system
CN101094249A (en) Interactive communication method for remote monitoring devices of playing advertisements and posters in electric media
WO2018103588A1 (en) Method and apparatus for user identity hiding and information forwarding between instant messaging accounts
CN102984278A (en) System and method for realizing browser data synchronization
CN107341025B (en) Application updating method and device
US8553536B2 (en) Mesh network management system
CN101895579A (en) Address book synchronization method and system
CN112838935A (en) Electronic data exchange method and system
CN102291468A (en) Method and system for realizing data exchange
CN104599092B (en) For monitoring the method and apparatus of order business
CN107633026B (en) data synchronization exception handling method and device and server
CN103024049A (en) System capable of achieving browser data synchronization
CN105897842A (en) Video push method and system among different clients and server
US10809092B2 (en) Gas data transmission method based on compound internet of things (IoT) and IoT system
Wittman OneSAF as an in-stride mission command asset
US10680877B2 (en) Information transmission, sending, and acquisition method and device
CN103036989B (en) Socket server and sockets services method
CN102368747A (en) Method for providing online information in instant messaging and system thereof
KR20160131632A (en) Method and System for Sending and Receiving Push Data
CN103916409A (en) Method, terminal and system for data synchronization
EP3203375B1 (en) Method and apparatus for deepening mirror image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111221