CN101567861A - Data synchronization method and application system between heterogeneous application systems - Google Patents

Data synchronization method and application system between heterogeneous application systems Download PDF

Info

Publication number
CN101567861A
CN101567861A CN 200910138492 CN200910138492A CN101567861A CN 101567861 A CN101567861 A CN 101567861A CN 200910138492 CN200910138492 CN 200910138492 CN 200910138492 A CN200910138492 A CN 200910138492A CN 101567861 A CN101567861 A CN 101567861A
Authority
CN
China
Prior art keywords
application system
tcp
data
data sync
isomery
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
CN 200910138492
Other languages
Chinese (zh)
Other versions
CN101567861B (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.)
Ruijie Networks Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN 200910138492 priority Critical patent/CN101567861B/en
Publication of CN101567861A publication Critical patent/CN101567861A/en
Application granted granted Critical
Publication of CN101567861B publication Critical patent/CN101567861B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to computer technology, and especially to a data synchronization technique of heterogeneous application system. The invention provides a data synchronization method and an application system between the heterogeneous application systems. The Web Service and the TCP long connection technique are used integrally so that the using of normal IP address for transmitting data is stopped in time at a state when the external network IP address of the application system which requests data synchronization is changed and the normal TCP long connection is failed and can not be maintained any more. The reliability of data synchronization is increased. Furthermore the reestablishment of the TCP long-connection can be triggered in time so that the requested application system can update the network information of the application system of the requesting side, can the data synchronization command is transmitted again through the new TCP long-connection for triggering the data synchronization thereby realizing the real-time data synchronization between the application systems.

Description

Method of data synchronization between the isomery application system and application system
Technical field
The present invention relates to computer technology, particularly a kind of data synchronization technology of isomery application system.
Background technology
Continuous development along with network technology, this various network configuration appears on the current social, for example local area network (LAN), the wide area network that is interconnected by technology such as VPN technologies or ADSL etc., enterprise uses different network technologies to make up the internal networking structure that is suitable for own enterprise.While is along with the development of IT application in enterprise, also there is the application system of these various operation different operating systems and communication protocol in enterprises, be called the isomery application system, and exchange between each isomery application system frequently, more urgent to the demand that data are synchronous.
Network service (Web Service) technology is current popular a kind of information management technique, the major function of WebService technology is to provide a unified service platform for distributed office system, as long as the user can connect the Internet (Internet) or internal network (Intranet), just can use the WebService technology, utilization intercoms mutually with the mode that platform and programming language have nothing to do.
Web Service technology internet usage (Internet) is gone up unified, open standard, as HTTP, XML, SOAP (Simple Object Access Protocol, Simple Object Access Protocol) agreement etc. communicates, the Soap technology is the core of Web Service, it is with the reference format encapsulated data packet of XML, wherein Feng Zhuan communicate information is expressed with text mode, and follows the packing rule of standard.Any component model, developing instrument, program language and application system just can be used Web Service technology smoothly as long as support the data of XML and text formatting.Therefore Web Service technology becomes the technology of data sync between the at present popular solution isomery application system, based on Web Service technology, application system can externally provide a data sync cap, conduct interviews by standardized XML message between the application system and call Data synchronization interface, just can realize transfer of data and synchronously.But when carrying out data sync based on Web Service technology between two application systems, need be according to predetermined IP address transfer data, the reliability of data sync can't be guaranteed in case the IP address of one of them application system changes, and real-time data sync can not be realized.
For example shown in Figure 1, in existing most of network interconnection techniques, application system B as client is connected with the application system A of general headquarters by internal network (Intranet) or external network (Internet), application system B can't be configured to fixed IP addresses, generally using dynamically immediately when needed, IP address allocated inserts application system A, for example adopt the ADSL connected mode, the dial-up connection each time of application system B all can be obtained a new IP address, in this case, how initiating data synchronization process timely again to guarantee the reliability and the real-time of data sync when the IP of application system B address change, is a major issue that need solve when carrying out data sync based on Web Service technology between application system A and the application system B.
Summary of the invention
The embodiment of the invention provides method of data synchronization and the application system between a kind of isomery application system, can in time trigger new data synchronization process when being implemented in application system IP address change, to guarantee the reliability and the real-time of data sync.
A kind of needs and isomery application system are carried out the application system of data sync, comprising:
The first data sync port is used for based on Web Service technology and isomery application system swap data;
The one TCP connectivity port is used for setting up TCP length with the isomery application system and is connected;
First parameter obtains module, is used to obtain the IP address of described isomery application system, based on the port numbers of the second data sync port of WebService exchange of skills data be used to set up the port numbers of long the 2nd TCP connectivity port that is connected of TCP;
First parameter memory module is used to store the port numbers of the described first data sync port, the port numbers of a TCP connectivity port, and described first parameter obtains the information that module obtains;
The one TCP connection processing module, be used for when needs carry out data sync with described isomery application system or monitor that the TCP that set up by a TCP connectivity port is long to be connected fault, according to canned data in described first parameter memory module, initiate the long connection of TCP by a described TCP connectivity port to the 2nd TCP connectivity port and set up request and receive the data sync order that described isomery application system sends, and transmit the data sync order that receives;
The first synch command processing module is used for the data sync order dateout synchronous triggering instruction according to described TCP connection processing module forwards;
The first data synchronization processing module, when being used to receive the data sync triggering command of described first synch command processing module output, according to the stored information in described first parameter memory module, by the first data sync port and the second data sync port, carry out data sync based on Web Service technology and isomery application system.
Further, described application system also comprises:
First data memory module is used to store data;
First data processing module is used for the first data synchronization processing module is carried out Business Processing from the synchrodata that the isomery application system of carrying out data sync receives, and with the storage handled in described first data memory module.
Preferable, in the described application system, described first parameter obtains module, specifically is used to receive IP address, the second data sync port numbers and the 2nd TCP link slogan of the isomery application system of user's input, and stores in described first parameter memory module; Perhaps
Described first parameter obtains module, specifically is used for obtaining from the network equipment IP address, the second data sync port numbers and the 2nd TCP link slogan of isomery application system, and stores in described first parameter memory module.
Method of data synchronization between a kind of isomery application system comprises:
When first application system is carried out data sync or is monitored that the TCP that set up is long to be connected fault in second application system of needs and isomery, according to the IP address and the TCP link slogan of described second application system, initiate the long connection of TCP to the TCP connectivity port of second application system and set up request;
First application system is monitored the long connection status of described TCP and is received the data sync order that second application system sends by the long connection of described TCP after the long connection of TCP is set up;
After first application system receives described data sync order, dispose data sync port numbers according to the IP address of described second application system and second application system, based on the Web Service technology and the second application system swap data to Data synchronization interface.
A kind of needs and isomery application system are carried out the application system of data sync, comprising:
The second data sync port is used for based on Web Service technology and isomery application system swap data;
The 2nd TCP connectivity port is used for setting up TCP length with the isomery application system and is connected;
Second parameter obtains module, is used to obtain IP address, the port numbers of the described second data sync port and the port numbers of the 2nd TCP connectivity port that described isomery application system visit should be used system;
Second parameter memory module is used to store described second parameter and obtains the information that module obtains;
The 2nd TCP connection processing module, be used for according to the described second parameter memory module canned data, when the 2nd TCP connectivity port receives the long connection request of TCP of isomery application system, set up by a TCP connectivity port of the 2nd TCP connectivity port and isomery application system that TCP is long to be connected and to the order of described isomery application system transmission data sync;
The second data synchronization processing module is used for according to the described second parameter memory module canned data, by the first data sync port of the second data sync port and isomery application system, based on Web Service technology and isomery application system data sync.
Further described application system also comprises:
The second synch command processing module is used to receive the data sync order and is transmitted to described the 2nd TCP connection processing module.
And then described application system, also comprise:
Second parameter memory module and data sync administration module, described data sync administration module are used to obtain to carry out the log-on message of other isomery application systems of data sync, and are saved in the described parameter memory module; And
Described the 2nd TCP connection processing module also is used for the log-on message of other isomery application systems of preserving according to described second parameter memory module, authenticates sending the long isomery application system that connects the request of foundation of TCP.
In the further described application system, described data sync administration module also is used for, and stored IP address, the second data sync port numbers and the 2nd TCP link slogan in described second parameter memory module are uploaded in the network equipment.
Further again, described application system also comprises:
Second data memory module is used to store data;
Second data processing module is used for the first data synchronization processing module is carried out Business Processing from the data that the isomery application system of carrying out data sync receives, and with the storage handled in described first data memory module.
A kind of method of data synchronization of isomery application system comprises:
Second application system receives long the connection when setting up request of TCP of first application system initiation of isomery on the TCP connectivity port, set up TCP length with first application system and be connected;
Second application system issues the data sync order by long connection of described TCP to first application system;
Second application system is by carrying out data sync based on Web Service technology between the data sync port and first application system.
Further described second application system obtains the log-on message of first application system; And
Described second application system receives long the connection when setting up request of TCP of first application system initiation of isomery on the TCP connectivity port, also according to the log-on message of first application system, first application system is authenticated, and set up with first application system passed through of authentication that TCP is long to be connected.
The technical scheme that the embodiment of the invention provides has been used in combination Web Service and the long interconnection technique of TCP, when the external network ip address of the synchronous application system of request msg is changed, original TCP is long to be connected under the situation that can't continue to safeguard that breaks down, in time stop to utilize former IP address transfer data, improved the reliability of data sync, and can in time trigger and rebulid the long connection of TCP, make can upgrade in time the network information of requestor application system of requested application system, and connect by new TCP is long that to issue the data sync order once more synchronous with trigger data again, thereby realized the real-time data sync of carrying out between the application system.
Description of drawings
Fig. 1 is for need carry out the isomery application system A of data sync and the network annexation schematic diagram between the application system B;
Carry out the method flow schematic diagram of data sync between the isomery application system that Fig. 2 provides for the embodiment of the invention;
When carrying out data sync between the isomery application system that Fig. 3 provides for the embodiment of the invention, utilize the principle schematic of the long connection status of Hello mechanism monitoring TCP;
Two kinds of application system structured flowcharts that Fig. 4 provides for the embodiment of the invention.
Embodiment
TCP (Transmission Control Protocol, transmission control protocol) is the transport layer protocol in the ICP/IP protocol stack, can confirm and the bag retransmission mechanism by sequence, provides reliable data flow to send and arrive the virtual Connection Service of application system.TCP is long to be connected and refers to after client and server end set up TCP and is connected, and the transmission message in cycle is safeguarded that this TCP is long and connected and monitor TCP length connection status.This maintenance and monitoring mechanism are also referred to as Hello mechanism, concrete, after the long connection of TCP is set up, side in the connection can be according to the hello packet of certain cycle to the opposing party's transmission, this cycle is called the Hello cycle, after the opposing party who connects receives hello packet, also send a TCP response message and respond.In case the transmit leg of hello packet does not receive the TCP response message in set point number, can judge that then the long connection status of the TCP that has set up breaks down, when the recipient of hello packet does not receive hello packet in setting duration, can judge that also the long connection status of the TCP that has set up breaks down.
Based on this, the embodiment of the invention provides the long interconnection technique of a kind of TCP of utilization to improve the data sync scheme of data sync reliability, can be between the isomery application system when the synchronous application system of request msg can carry out data sync based on Web Service technology, in time initiate data sync again according to the variation of IP address, thereby improve the reliability and the real-time of data sync, be elaborated with specific embodiment and conjunction with figs. below.
As shown in Figure 2, it is example that the embodiment of the invention is carried out data sync with application system B request and application system A, describes the isomery application system method of data synchronization that the embodiment of the invention provides in detail, mainly comprises the steps:
When step S201, application system B carry out data sync at the application system A of needs and isomery, IP address and TCP link slogan according to application system A, initiate to the TCP connectivity port of application system A that TCP is long to connect the request of foundation, and and application system A set up TCP length and be connected;
Step S202, application system A issue the data sync order by long connection of described TCP to application system B;
After step S203, application system B receive described data sync order, dispose data sync port numbers according to the IP address of described application system A and application system A to Data synchronization interface, call Data synchronization interface and application system A carries out data sync based on the WebService technology, to keep both sides' data synchronization;
Step S204, application system B set up the long fault that whether connects of TCP that the back monitoring set up in long connection of TCP, if fault, trigger data is synchronous again then to return step S201.
Like this, when application system B can't keep the long connection of TCP of having set up because of the IP address changes, again initiate the long connection of TCP with new IP address, and restart data sync with new IP address, original data synchronization process stops automatically in response to the IP address change of using the B of system, thereby has improved the reliability and the real-time of data sync between application system A and the application system B.
Call the data sync that Data synchronization interface carries out based on Web Service technology between application system B and the application system A, whether upgrade, perhaps carry out according to the synchronization rules of setting according to the data of application system B and application system A.Concrete operations comprise that application system B uploads data to application system A, the data of the application system B down load application A of system, wherein application system B also is the process of the application system A down load application B of system data to the operation that application system A uploads data, and the data of the application system B down load application A of system also are application system A uploads processes from data to application system B.Call the data synchronization technology that Data synchronization interface carries out based on Web Service technology and be well known to those skilled in the art, be not described in detail here.Application system A can set up with application system B each time and issue the data sync order after TCP length is connected, and also can issue the data sync order according to keeper's operation at once.
As shown in Figure 3, application system A and application system B can utilize the long connection status of Hello mechanism monitoring TCP, specifically comprise the steps:
S301, application system B are according to the predetermined Hello cycle, the regular hello packet that sends to application system A, and whether monitoring receives the TCP response message that application system A returns, if do not receive the TCP response message of set point number, then can judge and break down long connection of TCP, stop to continue to send hello packet and connect so that the TCP that disconnects this is long;
S302, application system A are according to the hello packet of application system B, return the TCP response message and monitor blanking time between the hello packet to application system B, if application system B stops to continue to send hello packet because of judging that the long connection of TCP is broken down, when then application system A does not also receive next hello packet when setting duration arrival, can judge that also the long connection status of the TCP that has set up breaks down.
The reason that can monitor the long connection status of TCP according to Hello mechanism is, when the IP address of application system B changes, the source IP address of hello packet changes, application system A connects based on the TCP that has set up is long, can't resolve the hello packet that sends after application system B changes in the IP address, therefore no longer return the TCP response message to application system B, the long connection of former TCP can't continue to keep.Application system B by Hello mechanism in time know with application system A between the long fault that is connected of the TCP that sets up, TCP is long to be connected to initiate new data sync flow process thereby set up with application system A again timely, can solve the data synchronization problems of the isomery application system in the diverse network structure, and the Business Processing that can be correlated with synchronously.
The technique scheme that provides according to the embodiment of the invention, with application system B as on many station terminals server of client deployment in the network, application system A is deployed on the master server that starts to control making usefulness in the network as the control end of data sync, can realize the data sync between each terminal server and the master server, and finish related service simultaneously according to synchrodata and handle all kinds of Business Processing such as for example data gather, calculating, report generation, data check, log record.
Be to realize technique scheme, as shown in Figure 4, the embodiment of the invention provides respectively as the application system 401 of client with as the application system 402 of control end, and wherein, application system 401 mainly comprises following structure:
The first data sync port 4011, be used for the second data sync port, 4021 swap datas based on Web Service technology and isomery application system, the first data sync port 4011 is ports that application system 401 disposes for the Data synchronization interface that provides based on Web Service technology, the second data sync port 4021 is ports that application system 402 disposes for the Data synchronization interface that provides based on Web Service technology, application system 401 and application system 402 are by the first data sync port 4011 and the second data sync port 4021, can call Data synchronization interface mutually based on Web Service technology, to realize exchanges data, reach the purpose of synchrodata;
The one TCP connectivity port 4012 is used for setting up TCP length with the 2nd TCP connectivity port 4022 of isomery application system and is connected;
First parameter obtains module 4013, be used to obtain the IP address, isomery application system of isomery application system port numbers based on the second data sync port of Web Service technology and other application system swap datas, and isomery application system and other application systems set up TCP long be connected the port numbers of the 2nd TCP connectivity port;
First parameter memory module 4014, be used to store the port numbers of the first data sync port, the port numbers of a TCP connectivity port, and the information of the first parameter acquisition module, 4013 acquisitions, comprising: isomery application system IP address, the second data sync port numbers and the 2nd TCP link slogan;
The one TCP connection processing module 4015, be used for when needs and isomery application system are carried out data sync or monitored that the TCP that set up by a TCP connectivity port 4012 is long to be connected fault, according to canned data in first parameter memory module 4014, initiate the long connection of TCP by a TCP connectivity port 4012 to the 2nd TCP connectivity port 4022 and set up request, receive the data sync order that the isomery application system sends by a TCP connectivity port 4012, and transmit the data sync order that receives; The one TCP connection processing module 4015 was monitored by long connection of the TCP that monitors 4012 pairs of TCP connectivity ports and set up, and monitoring mechanism can adopt Hello mechanism;
The first synch command processing module 4016 is used to receive the data sync order of TCP connection processing module forwards, resolution data synch command and according to this order dateout synchronous triggering instruction;
The first data synchronization processing module 4017, be used for data sync triggering command according to 4016 outputs of the first synch command processing module, from first parameter memory module 4014, obtain the isomery application system IP address and the second data sync port 4021, by between the first data sync port 4011 and the second data sync port 4021 and the isomery application system based on Web Service exchange of skills data.
Further for to carry out the Business Processing relevant with data sync simultaneously, application system 401 also further comprises:
First data memory module 4018 is used to store data;
First data processing module 4019 be used for the first data synchronization processing module 4017 is carried out Business Processing from the synchrodata that the isomery application system of carrying out data sync receives, and the storage after will handling is in first data memory module 4018.
For application system 401, carrying out IP address, the second data sync port numbers and the 2nd TCP link slogan of the isomery application system of data sync can directly be imported by the client user, at this moment first parameter acquisition module 4013 can be a personal-machine interactive interface, specifically be used to receive No. 4022, No. 4021, IP address, the second data sync port of isomery application system of user's input and the 2nd TCP connectivity port, and store in first parameter memory module 4014;
Perhaps, the IP address, the second data sync port numbers and the 2nd TCP link slogan that carry out the isomery application system of data sync also can be uploaded in the network equipment of appointment by application system 402, after connecting, the network equipment of application system 401 and this appointment from this network equipment, obtains, at this moment, first parameter obtains module 4013, specifically be used for obtaining No. 4021, IP address, the second data sync port of isomery application system and the 2nd TCP connectivity port No. 4022, and store in first parameter memory module 4014 from the network equipment.
Still referring to shown in Figure 4, application system 402 mainly comprises:
The second data sync port 4021 is used for based on Web Service technology and isomery application system swap data;
The 2nd TCP connectivity port 4022 is used for setting up TCP length with the isomery application system and is connected;
Second parameter obtains module 4023, is used to obtain to offer IP address, the port numbers of the second data sync port 4021 and the port numbers of the 2nd TCP connectivity port 4022 that other isomery application system visits should be used system;
Second parameter memory module 4024 is used to store second parameter and obtains the information that module 4023 obtains, and comprises No. 4022, IP address, No. 4021, the second data sync port and the 2nd TCP connectivity port;
The 2nd TCP connection processing module 4025, be used for according to the second parameter memory module canned data, when the 2nd TCP connectivity port 4022 of correspondence receives the long connection request of TCP of isomery application system, set up TCP length by a TCP connectivity port 4012 of the 2nd TCP connectivity port 4022 and isomery application system and be connected, and by the data sync order of the 2nd TCP connectivity port 4022 to the transmission of isomery application system;
The second data synchronization processing module 4027, be used for according to second parameter memory module, 4023 canned datas, the first data sync port 4011 by the second data sync port 4021 and isomery application system carries out data sync based on Web Service technology and isomery application system.
Further, the keeper issues the data sync order if desired, and then application system 402 also further comprises:
The second synch command processing module 4026 is used to receive the data sync order and is transmitted to described the 2nd TCP connection processing module 4025.
Further for to carry out the Business Processing relevant with data sync synchronously, application system 402 also further comprises:
Second data memory module 4024 is used to store data;
Second data processing module 4029 is used for the first data synchronization processing module is carried out Business Processing from the synchrodata that the isomery application system of carrying out data sync receives, and with the storage handled in second data memory module 4024.
If for improving Information Security, need the synchronous application system of request msg be authenticated, then application system 402 also further can comprise:
Data sync administration module 4020 is used to obtain to carry out the log-on message of the isomery application system of data sync, and is saved in the parameter memory module; And
The 2nd TCP connection processing module 4025 also is used for the log-on message according to other isomery application systems of second parameter memory module, 4024 preservations, and the isomery application system that long connection foundation is asked to transmission TCP authenticates.
No. 4021, IP address, the second data sync port and the 2nd TCP connectivity port with application system 402 uploads in the network equipment for No. 4022 if desired, then the data sync administration module also is further used for, and should upload in the network equipment for No. 4012 with No. 4011, IP address, the second data sync port and the 2nd TCP connectivity port of system offering the visit of isomery application system.
Need to prove, application system 402 can generate the configuration file that comprises No. 4022, IP address, No. 4021, the second data sync port and the 2nd TCP connectivity port, and configuration file uploaded in the network equipment, application system 401 obtains configuration file from the network equipment, and obtains the specific configuration information of application system 402 from configuration file.
Application system 401 and application system 402 can also can connect by external network in same local area network (LAN).
The technical scheme that the embodiment of the invention provides combines Web Service and the long interconnection technique of TCP, when the external network ip address of application system B changes, original TCP is long to be connected under the situation that can't continue to safeguard that breaks down, in time stop to utilize former IP address transfer data, improved the reliability of data sync, and application system B can set up with application system A again, and TCP is long to be connected, make can upgrade in time the network information of application system B of application system A, again maintenance is connected with the TCP between the application system B is long, and by long connection of new TCP issuing the data sync order once more and require to carry out data sync for application system B, thereby realized application system A and application system B real-time carry out data sync.
Further describe with a concrete example below, wherein, application system A and application system B belong to a local area network (LAN), and application system A uses VPN technologies to be connected with application system B by Internet, perhaps, application system A uses the ADSL technology to be connected with application system B by Internet.Data sync scheme between application system A and the application system B realizes by following steps:
A station server A deploy application system A in network, for server A is distributed fixed IP addresses, and the data sync port of the TCP connectivity port of configuration application system A and Data synchronization interface use, the port numbers of TCP connectivity port is for example: 11000, the port numbers of data sync port for example: 8081.
Another station server B deploy application system B in network, the data sync port that the TCP connectivity port of configuration application system A and Data synchronization interface use, the port numbers of TCP connectivity port for example: 11000, the data sync port numbers for example: 8081.
Carry out network configuration, make the normally data sync port that uses of the TCP connectivity port of access server A and Data synchronization interface of server B.
Server A and server B coexist in the local area network (LAN), as long as server B has network path with server A, and the TCP connectivity port that server B can access server A and the data sync port of Data synchronization interface use.
Wherein, if server A uses VPN technologies to link to each other with server B by the Internet network, so as long as the relevant network equipment of configuration, can allow server B normally the TCP connectivity port of access server A and the data sync port of Data synchronization interface use.If server A uses the ADSL technology to link to each other with server B by the Internet network, IP address, TCP connectivity port and the data sync port of server A to be offered the server B of other isomery application systems so, allow the normally data sync port that uses of the TCP connectivity port of access server A and Data synchronization interface of server B.
The relevant parameter information of the B of registered application system on application system A, and generate the register-file (config.dat) of relevant parameter, mainly comprise the authentication information of application system B.
On application system B, import the configuration file (config.dat) that generates relevant parameter by application system A, comprise IP address, TCP link slogan and the data sync port numbers etc. of server A.
Through above configuration, when application system B and application system A successfully set up TCP grow be connected after, application system B and application system A both sides just can carry out real-time data sync based on Web Service technology.
Obviously, those skilled in the art can carry out various changes and modification to the embodiment of the invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1, a kind of needs and isomery application system are carried out the application system of data sync, it is characterized in that, comprising:
The first data sync port is used for based on Web Service technology and isomery application system swap data;
The one TCP connectivity port is used for setting up TCP length with the isomery application system and is connected;
First parameter obtains module, is used to obtain the port numbers and the port numbers that be used to set up the TCP long two TCP connectivity port that be connected of the IP address of described isomery application system based on the second data sync port of WebService exchange of skills data;
First parameter memory module is used to store the port numbers of the described first data sync port, the port numbers of a TCP connectivity port, and described first parameter obtains the information that module obtains;
The one TCP connection processing module, be used for when needs carry out data sync with described isomery application system or monitor that the TCP that set up by a TCP connectivity port is long to be connected fault, according to canned data in described first parameter memory module, initiate the long connection of TCP by a described TCP connectivity port to the 2nd TCP connectivity port and set up request and receive the data sync order that described isomery application system sends, and transmit the data sync order that receives;
The first synch command processing module is used for the data sync order dateout synchronous triggering instruction according to a described TCP connection processing module forwards;
The first data synchronization processing module, when being used to receive the data sync triggering command of described first synch command processing module output, according to the stored information in described first parameter memory module, by the first data sync port and the second data sync port, carry out data sync based on Web Service technology and isomery application system.
2, application system as claimed in claim 1 is characterized in that, also comprises:
First data memory module is used to store data;
First data processing module is used for the first data synchronization processing module is carried out Business Processing from the synchrodata that the isomery application system of carrying out data sync receives, and with the storage handled in described first data memory module.
3, application system as claimed in claim 1 or 2, it is characterized in that, described first parameter obtains module, specifically is used to receive IP address, the second data sync port numbers and the 2nd TCP link slogan of the isomery application system of user's input, and stores in described first parameter memory module; Perhaps
Described first parameter obtains module, specifically is used for obtaining from the network equipment IP address, the second data sync port numbers and the 2nd TCP link slogan of isomery application system, and stores in described first parameter memory module.
4, the method for data synchronization between a kind of isomery application system is characterized in that, comprising:
When first application system is carried out data sync or is monitored that the TCP that set up is long to be connected fault in second application system of needs and isomery, according to the IP address and the TCP link slogan of described second application system, initiate the long connection of TCP to the TCP connectivity port of second application system and set up request;
First application system is monitored the long connection status of described TCP and is received the data sync order that second application system sends by the long connection of described TCP after the long connection of TCP is set up;
After first application system receives described data sync order, dispose data sync port numbers according to the IP address of described second application system and second application system, carry out data sync based on the Web Service technology and second application system to Data synchronization interface.
5, a kind of needs and isomery application system are carried out the application system of data sync, it is characterized in that, comprising:
The second data sync port is used for based on Web Service technology and isomery application system swap data;
The 2nd TCP connectivity port is used for setting up TCP length with the isomery application system and is connected;
Second parameter obtains module, is used to obtain IP address, the port numbers of the described second data sync port and the port numbers of the 2nd TCP connectivity port that described isomery application system visit should be used system;
Second parameter memory module is used to store described second parameter and obtains the information that module obtains;
The 2nd TCP connection processing module, be used for according to the described second parameter memory module canned data, when the 2nd TCP connectivity port receives the long connection request of TCP of isomery application system, set up by a TCP connectivity port of the 2nd TCP connectivity port and isomery application system that TCP is long to be connected and to the order of described isomery application system transmission data sync;
The second data synchronization processing module is used for according to the described second parameter memory module canned data, by the first data sync port of the second data sync port and isomery application system, based on Web Service technology and isomery application system swap data.
6, application system as claimed in claim 5 is characterized in that, also comprises:
The second synch command processing module is used to receive the data sync order and is transmitted to described the 2nd TCP connection processing module.
7, as claim 5 or 6 described application systems, it is characterized in that, also comprise:
Second parameter memory module and data sync administration module, described data sync administration module are used to obtain to carry out the log-on message of the described isomery application system of data sync, and are saved in the described parameter memory module; And
Described the 2nd TCP connection processing module also is used for the log-on message of the isomery application system of preserving according to described second parameter memory module, authenticates sending the long isomery application system that connects the request of foundation of TCP.
8, application system as claimed in claim 7, it is characterized in that, described data sync administration module also is used for, and stored IP address, the second data sync port numbers and the 2nd TCP link slogan in described second parameter memory module are uploaded in the network equipment.
9, as claim 5 or 6 described application systems, it is characterized in that, also comprise:
Second data memory module is used to store data;
Second data processing module is used for the first data synchronization processing module is carried out Business Processing from the data that the isomery application system of carrying out data sync receives, and with the storage handled in described first data memory module.
10, a kind of method of data synchronization of isomery application system is characterized in that, comprising:
Second application system receives long the connection when setting up request of TCP of first application system initiation of isomery on the TCP connectivity port, set up TCP length with first application system and be connected;
Second application system issues the data sync order by long connection of described TCP to first application system;
Second application system is by carrying out data sync based on Web Service technology between the data sync port and first application system.
11, method of data synchronization as claimed in claim 9 is characterized in that, described second application system obtains the log-on message of first application system; And
Described second application system receives long the connection when setting up request of TCP of first application system initiation of isomery on the TCP connectivity port, also according to the log-on message of first application system, first application system is authenticated, and set up with first application system passed through of authentication that TCP is long to be connected.
CN 200910138492 2009-05-20 2009-05-20 Data synchronization method and application system between heterogeneous application systems Expired - Fee Related CN101567861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910138492 CN101567861B (en) 2009-05-20 2009-05-20 Data synchronization method and application system between heterogeneous application systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910138492 CN101567861B (en) 2009-05-20 2009-05-20 Data synchronization method and application system between heterogeneous application systems

Publications (2)

Publication Number Publication Date
CN101567861A true CN101567861A (en) 2009-10-28
CN101567861B CN101567861B (en) 2013-07-24

Family

ID=41283817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910138492 Expired - Fee Related CN101567861B (en) 2009-05-20 2009-05-20 Data synchronization method and application system between heterogeneous application systems

Country Status (1)

Country Link
CN (1) CN101567861B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932236A (en) * 2012-10-11 2013-02-13 盈世信息科技(北京)有限公司 Method for carrying out mirror image synchronization between multipoint heterogeneous mail systems
CN103338118A (en) * 2013-06-04 2013-10-02 北京搜狐新媒体信息技术有限公司 A communication network connection method and an apparatus thereof
CN103581131A (en) * 2012-07-31 2014-02-12 上海凌攀信息科技有限公司 Method for processing automatic repeated logins in mobile environment
CN106406889A (en) * 2016-09-22 2017-02-15 广州华克力信息科技有限公司 A heterogeneous application system content intelligent conversion engine suitable for mobile clients
CN109241044A (en) * 2018-08-23 2019-01-18 深圳智慧园区信息技术有限公司 A kind of method of data synchronization and device
CN109672749A (en) * 2019-01-07 2019-04-23 腾讯科技(深圳)有限公司 Heterogeneous system intercommunication can intercommunication application method and apparatus
CN109996250A (en) * 2017-12-29 2019-07-09 洛阳中科晶上智能装备科技有限公司 The method for detecting TCP connection state
CN111241046A (en) * 2020-01-14 2020-06-05 深圳震有科技股份有限公司 Method for synchronizing texts between systems, storage medium and terminal equipment
CN111935656A (en) * 2020-07-24 2020-11-13 深圳市沃特沃德股份有限公司 Method and device for long connection of IP data and computer equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7283561B1 (en) * 1997-12-12 2007-10-16 Level 3 Communications, Llc Secure network architecture with quality of service
CN1992640B (en) * 2005-12-28 2010-05-05 中兴通讯股份有限公司 Data synchronization method of muti-service access unit based on switchboard background
CN101291343B (en) * 2008-05-20 2011-01-26 北京锐安科技有限公司 Remote controlling method and system based on transparent proxy equipment

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581131A (en) * 2012-07-31 2014-02-12 上海凌攀信息科技有限公司 Method for processing automatic repeated logins in mobile environment
CN102932236A (en) * 2012-10-11 2013-02-13 盈世信息科技(北京)有限公司 Method for carrying out mirror image synchronization between multipoint heterogeneous mail systems
WO2014056276A1 (en) * 2012-10-11 2014-04-17 盈世信息科技(北京)有限公司 Method for synchronizing mirrors between multi-point heterogeneous mail systems
CN102932236B (en) * 2012-10-11 2015-11-25 盈世信息科技(北京)有限公司 A kind of method of mirror image synchronization between multiple spot isomery mailing system
CN103338118A (en) * 2013-06-04 2013-10-02 北京搜狐新媒体信息技术有限公司 A communication network connection method and an apparatus thereof
CN103338118B (en) * 2013-06-04 2016-09-14 北京搜狐新媒体信息技术有限公司 A kind of communication network method of attachment and device
CN106406889A (en) * 2016-09-22 2017-02-15 广州华克力信息科技有限公司 A heterogeneous application system content intelligent conversion engine suitable for mobile clients
CN106406889B (en) * 2016-09-22 2019-10-25 广州华克力信息科技有限公司 Heterogeneous applications system for content intelligent conversion engine suitable for mobile client
CN109996250A (en) * 2017-12-29 2019-07-09 洛阳中科晶上智能装备科技有限公司 The method for detecting TCP connection state
CN109241044A (en) * 2018-08-23 2019-01-18 深圳智慧园区信息技术有限公司 A kind of method of data synchronization and device
CN109672749A (en) * 2019-01-07 2019-04-23 腾讯科技(深圳)有限公司 Heterogeneous system intercommunication can intercommunication application method and apparatus
CN109672749B (en) * 2019-01-07 2021-08-10 腾讯科技(深圳)有限公司 Method and device for intercommunicating applications of heterogeneous systems
CN111241046A (en) * 2020-01-14 2020-06-05 深圳震有科技股份有限公司 Method for synchronizing texts between systems, storage medium and terminal equipment
CN111935656A (en) * 2020-07-24 2020-11-13 深圳市沃特沃德股份有限公司 Method and device for long connection of IP data and computer equipment
CN111935656B (en) * 2020-07-24 2021-12-14 深圳市沃特沃德软件技术有限公司 Method and device for long connection of IP data and computer equipment

Also Published As

Publication number Publication date
CN101567861B (en) 2013-07-24

Similar Documents

Publication Publication Date Title
CN101567861B (en) Data synchronization method and application system between heterogeneous application systems
CN111083161A (en) Data transmission processing method and device and Internet of things equipment
CN105159256B (en) A kind of intelligent home control system based on Web service
TWI363545B (en) Management method for remote digital signages
CN102394925B (en) Communication method and device for remote monitoring diagnosis center and area regulation center
CN104753817A (en) Local analogy method and local analogy system for cloud computing message queue service
CN102761864A (en) Data transmission method, system and device
CN101466109B (en) Communication system and method for WiMAX network management
CN101909257A (en) Method and system for realizing concurrency access of multiple bearer protocols by M2M platform
CN103944814B (en) A kind of method for interchanging data and system and a kind of gateway server
CN103220292A (en) Cross-safe-area data transmission method and system
CN103812838A (en) Service calling method and device and system
CN102045409A (en) Network penetrating method and network communication system
CN106027534A (en) System for implementing financial message processing based on Netty
CN114301962A (en) Charging pile communication method and system based on Internet of things cloud platform
CN103152370A (en) Service gateway system of internet of things and application method
CN103516794B (en) The network architecture of a kind of distributed server and its implementation
CN101465858B (en) Method for implementing private network penetration of monitoring business, network appliance and server
CN109067861A (en) Communication means, device, equipment and medium based on Internet of Things
CN102790684B (en) Service information invocation method and system and enterprise service bus server
CN116684278A (en) Configuration method and device of industrial control equipment communication network, electronic equipment and medium
CN105306442A (en) Proxy server and command transmission methods
Yang et al. Design of communication interface for M2M-based positioning and monitoring system
CN113497790B (en) Data transmission method and system based on gatekeeper and computer storage medium
CN101170502B (en) A method and system for realizing mutual access between stacking members

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 350015 M9511 Industrial Park, fast road, Mawei District, Fujian, Fuzhou

Patentee after: RUIJIE NETWORKS Co.,Ltd.

Address before: 350015 M9511 Industrial Park, fast road, Mawei District, Fujian, Fuzhou

Patentee before: Fujian Star Network Ruijie Networks Co.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130724

Termination date: 20210520

CF01 Termination of patent right due to non-payment of annual fee