CN104378409A - File synchronization system - Google Patents

File synchronization system Download PDF

Info

Publication number
CN104378409A
CN104378409A CN201410437281.7A CN201410437281A CN104378409A CN 104378409 A CN104378409 A CN 104378409A CN 201410437281 A CN201410437281 A CN 201410437281A CN 104378409 A CN104378409 A CN 104378409A
Authority
CN
China
Prior art keywords
file
circuit
receiving
compartment wall
fire compartment
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
CN201410437281.7A
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.)
Wuhan Iron and Steel Group Corp
Original Assignee
Wuhan Iron and Steel Group Corp
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 Wuhan Iron and Steel Group Corp filed Critical Wuhan Iron and Steel Group Corp
Priority to CN201410437281.7A priority Critical patent/CN104378409A/en
Publication of CN104378409A publication Critical patent/CN104378409A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls

Abstract

The invention discloses a file synchronization system which comprises a sending controller, a receiving controller and a transmission module. The sending controller and the receiving controller achieve data communication through the transmission module, the sending controller is composed of a sending end synchronizing file or a file system, a sending end synchronous planning library, a variance analysis circuit, a network detection circuit, a system state detection circuit and a sending queue, and the sending end synchronizing file or file system, the sending end synchronous planning library, the network detection circuit and the sending queue are connected with the variance analysis circuit; the receiving controller is composed of a receiving queue, a control information analysis circuit, a receiving end synchronous planning library, a combination circuit and a receiving end synchronized file or file system, the receiving end synchronous planning library and the combination circuit are connected with the control information analysis circuit, and the other end of the combination circuit is connected with the receiving end synchronized file or file system; the transmission module is composed of a firewall, a router and an encrypted secure channel. The file synchronization system has the advantages of being accurate, instantaneous and reliable.

Description

File syn chronizing system
Technical field
The present invention relates to file system, specifically a kind of file syn chronizing system.
Background technology
At present, the mechanized production system, information management system etc. disposed along with enterprise are increasing, in enterprise between each system, intrasystem incidence relation exponentially ascendant trend, the demand of therefore carrying out Message Transmission between each system is day by day urgent, such as: the exchange files of cross-network segment between secondary machine, three grades of machines; Journal file is collected; The demands such as heterogeneous system file-sharing, there is implementation method complexity, solution and not possessing durability in original file synchronizer, is difficult to problems such as integrating, efficiency is not high, degree of safety is inadequate.
In sum, in order to avoid defect of the prior art and deficiency, in the urgent need to designing a kind of file synchronizer, can accurately, in real time, reliably meet with between heterogeneous system, possess the device of cross-network segment real file synchronisation requirement, and structure is simple, with low cost.
Summary of the invention
The object of the invention is the deficiency in order to solve the existence of above-mentioned background technology, proposing a kind of accurate, real-time, reliable file syn chronizing system.
In order to realize above object, a kind of file syn chronizing system provided by the invention, it is characterized in that: comprise transmit control device, receive controller and transport module, described transmit control device and reception controller carry out data communication by transport module, described transmit control device is by transmitting terminal synchronous documents or file system, transmitting terminal synchronization plan storehouse, variance analysis circuit, network circuit for detecting, system status circuit for detecting, transmit queue forms, described transmitting terminal synchronous documents or file system, transmitting terminal synchronization plan storehouse, network circuit for detecting, transmit queue is connected with variance analysis circuit respectively, described reception controller is made up of by synchronous documents or file system receiving queue, control information analysis circuit, receiving terminal synchronization plan storehouse, consolidation circuit, receiving terminal, described receiving terminal synchronization plan storehouse, consolidation circuit are connected with control information analysis circuit respectively, and the other end of consolidation circuit and receiving terminal are formed by synchronous documents or file system and be connected, described transport module is made up of fire compartment wall, router, encryption safe passage.
Preferably, described fire compartment wall by the transmitting terminal fire compartment wall be connected with transmit control device, with receive the receiving terminal fire compartment wall that is connected of controller and form, described transmitting terminal fire compartment wall, router are connected with encryption safe passage by router with receiving terminal fire compartment wall.
Further, described transmitting terminal fire compartment wall is connected with the transmit queue of transmit control device, and described receiving terminal fire compartment wall is connected with the receiving queue receiving controller.
The file synchronization task standardization of incompatible synchronizer process that file syn chronizing system will be made up of special procedure or hardware in the past, change into unification, open file syn chronizing system, process all similar demands, avoid the repeated construction of proprietary program(me) or hardware; Meanwhile, this file syn chronizing system is not only applicable to isologous seve system, is also applicable to heterogeneous system, solves the interaction problems of different field information system, avoid information island; Finally, presents synchro system supports the file synchronization of cross-network segment, makes system physically very far away also can carry out exchanges data, and due to the encryption of the encoder of data process and compression, solves the difficult problem that in large enterprise, long-range data exchanges.
Accompanying drawing explanation
Fig. 1 is structural representation of the present invention;
Fig. 2 is fundamental diagram of the present invention;
In figure: transmitting terminal synchronous documents or file system 1, transmitting terminal synchronization plan storehouse 2, variance analysis circuit 3, network circuit for detecting 4, system status circuit for detecting 5, transmit queue 6, receiving terminal synchronization plan storehouse 7, control information analysis circuit 8, receiving queue 9, consolidation circuit 10, receiving terminal are by synchronous documents or file system 11, transmitting terminal fire compartment wall 12, router one 3, receiving terminal fire compartment wall 14, encryption safe passage 15.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
A kind of file syn chronizing system as shown in Figure 1, comprise transmit control device, receive controller and transport module, described transmit control device and reception controller carry out data communication by transport module, described transmit control device is made up of by synchronous documents or file system, transmitting terminal synchronization plan storehouse 2, variance analysis circuit 3, network circuit for detecting 4, system status circuit for detecting 5, transmit queue 6 transmitting terminal, and described transmitting terminal synchronous documents or file system 1, transmitting terminal synchronization plan storehouse 2, network circuit for detecting 4, transmit queue 6 are connected with variance analysis circuit 3 respectively; Described reception controller is made up of by synchronous documents or file system 11 receiving queue 9, control information analysis circuit 8, receiving terminal synchronization plan storehouse 7, consolidation circuit 10, receiving terminal, described receiving terminal synchronization plan storehouse 7, consolidation circuit 10 are connected with control information analysis circuit 8 respectively, and the other end of consolidation circuit 10 and receiving terminal are formed by synchronous documents or file system 11 and be connected; Described transport module is made up of fire compartment wall, router one 3, encryption safe passage 15.
Preferably, described fire compartment wall by the transmitting terminal fire compartment wall 12 be connected with transmit control device, with receive the receiving terminal fire compartment wall 14 that is connected of controller and form, described transmitting terminal fire compartment wall 12, router one 3 pass through router one 3 with receiving terminal fire compartment wall 14 and are connected with encryption safe passage 15.
Further, described transmitting terminal fire compartment wall 12 is connected with the transmit queue 6 of transmit control device, and described receiving terminal fire compartment wall 14 is connected with the receiving queue 9 receiving controller.
In above-mentioned transmit control device:
Transmitting terminal synchronous documents or file system 1, for generation of synchronization request, and using the target as variance analysis;
Transmitting terminal synchronization plan storehouse 2, for storing transmission synchronization plan, main contents comprise synchronizing relay, file path, wheel synchronization type, synchronous history etc., and using the Main Basis as variance analysis;
Variance analysis circuit 3, for carrying out variance analysis according to transmitting terminal synchronization plan, the network information, system information to transmitting terminal file or file system, producing synch command and content, and sending into transmit queue 6;
Network circuit for detecting 4, for real-time Sampling network situation, provides Internet Transmission foundation to variance analysis circuit 3;
System status circuit for detecting 5, for detecting host computer system situation in real time, provides operating load foundation to variance analysis circuit 3;
Transmit queue 6, for depositing the analysis result of variance analysis circuit 3, and sends synchronizing content into encrypted tunnel according to synch command in good time;
Receive in controller,
Receiving queue 9, for depositing the synch command and content that receiver receives from network;
Control information analysis circuit 8, for analyzing synchronizing content according to the synch command in synchronization plan, receiving queue 9, produces combine command and merge content;
Receiving terminal synchronization plan storehouse 7, for storing reception synchronization plan, main contents include file path, wheel synchronization type, synchronous history etc., and the Main Basis will analyzed as control information;
Consolidation circuit 10, carries out corresponding merging for the combine command that produces according to control information analysis circuit and merge content to file destination;
Receiving terminal, by synchronous documents or file system 11, is the final receptor of combine command and merge content, and after merging, these files or file system are by completely the same with the respective file or file system of transmitting terminal, thus reach the object of file synchronization;
The job step of presents synchro system is:
Step one: when synchronizing process starts, reads synchronization plan storehouse from the transmitting terminal synchronization plan storehouse 2 of transmit control device and the receiving terminal synchronization plan storehouse 7 of reception controller.Resolve the synchronization plan retrieved.If resolve wrong, provide and point out and terminate; Otherwise go to step two.
Step 2: check the synchronization plan in transmitting terminal synchronization plan storehouse 2 and receiving terminal synchronization plan storehouse 7, if without synchronization plan, display information also terminates; Otherwise go to step three.
Step 3: divide two pieces of regions in calculator memory, fill synchronization plan for one piece, another initialization block is also formatted as transmit queue, wait-receiving mode transmission request; Create synchronizing thread and initialization, wait for transfer instruction.And continue in step 4 initialization logic and connection.
Step 4: create transmission control unit (TCU), load document difference algorithm and pipeline schedule algorithm; Initialization transmission and Receiving Agent, the physics setting up transmission both sides is connected with logic.At least complete initial work, enter the synchronous circulating that step 5 starts.
Step 5: synchronizing thread is to host operating system inquiry system time, network condition, check the parameter such as synchronous mode, authority information of specifying in transmitting terminal synchronization plan storehouse 2 in internal memory and receiving terminal synchronization plan storehouse 7, the current state of file to be synchronized in viewing files system, transfer to variance analysis circuit 3, variance analysis circuit 3 adopts file difference algorithm and pipeline schedule algorithm, Study document type, if this file content order is then put into transmit queue by binary file, enter step 7; Otherwise go to step six.
Step 6: to nonbinary file, calculate the differential file content and transmission means that need transmission, order puts into transmit queue.Enter step 7.
Step 7: generate synchronization request, submit to transmit queue 6.Agency is sent by sending READY message informing.Enter the transmission agent processes logic that step 8 starts.
Step 8: transmit control device takes out transferring content from transmit queue 6, according to transmission means, content changed, compress, the operation such as encryption, send in physical link, by way of encryption safe passage 15, transmitting terminal fire compartment wall 12, router one 3, receiving terminal fire compartment wall 14, transfer to and synchronously held.
Step 9: receive controller and take out the synch command and content that receive, form receiving queue 9, enter the data packet analysis that step 10 starts.
Step 10: analyze the packet received, isolates the spanned file combine commands such as the method for synchronization, authority information, file content, file path.
Step 11: carry out corresponding merging to file destination according to combine command and merge content, the file of the rear receiving terminal of merging or file system are by completely the same with the respective file or file system of transmitting terminal.
Step 12: after Piece file mergence completes, feeds back to synchronous task performance to transmit control device.
Step 13: the subsynchronous situation of transmit control device minute book.So far, file synchronization completes.
The above is only preferred embodiment of the present invention, not does any pro forma restriction to structure of the present invention.Every above embodiment is done according to technical spirit of the present invention any simple modification, equivalent variations and modification, all still belong in the scope of technical scheme of the present invention.

Claims (3)

1. a file syn chronizing system, it is characterized in that: comprise transmit control device, receive controller and transport module, described transmit control device and reception controller carry out data communication by transport module, described transmit control device by transmitting terminal by synchronous documents or file system, transmitting terminal synchronization plan storehouse (2), variance analysis circuit (3), network circuit for detecting (4), system status circuit for detecting (5), transmit queue (6) forms, described transmitting terminal synchronous documents or file system (1), transmitting terminal synchronization plan storehouse (2), network circuit for detecting (4), transmit queue (6) is connected with variance analysis circuit (3) respectively, described reception controller is made up of by synchronous documents or file system (11) receiving queue (9), control information analysis circuit (8), receiving terminal synchronization plan storehouse (7), consolidation circuit (10), receiving terminal, described receiving terminal synchronization plan storehouse (7), consolidation circuit (10) are connected with control information analysis circuit (8) respectively, and the other end of consolidation circuit (10) and receiving terminal are formed by synchronous documents or file system (11) and be connected, described transport module is made up of fire compartment wall, router (13), encryption safe passage (15).
2. file syn chronizing system according to claim 1, it is characterized in that: described fire compartment wall by the transmitting terminal fire compartment wall (15) be connected with transmit control device, with receive the receiving terminal fire compartment wall (14) that is connected of controller and form, described transmitting terminal fire compartment wall (15), router (13) are connected with encryption safe passage (15) by router (13) with receiving terminal fire compartment wall (14).
3. file syn chronizing system according to claim 2, it is characterized in that: described transmitting terminal fire compartment wall (15) is connected with the transmit queue (6) of transmit control device, described receiving terminal fire compartment wall (14) is connected with the receiving queue (9) receiving controller.
CN201410437281.7A 2014-08-29 2014-08-29 File synchronization system Pending CN104378409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410437281.7A CN104378409A (en) 2014-08-29 2014-08-29 File synchronization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410437281.7A CN104378409A (en) 2014-08-29 2014-08-29 File synchronization system

Publications (1)

Publication Number Publication Date
CN104378409A true CN104378409A (en) 2015-02-25

Family

ID=52557055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410437281.7A Pending CN104378409A (en) 2014-08-29 2014-08-29 File synchronization system

Country Status (1)

Country Link
CN (1) CN104378409A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648712A (en) * 2017-02-27 2017-05-10 百度在线网络技术(北京)有限公司 Incremental updating packet generating method and device, and server
CN115118676A (en) * 2022-08-29 2022-09-27 科来网络技术股份有限公司 Heterogeneous system data communication interaction method, system and terminal based on central platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094051A (en) * 2007-06-27 2007-12-26 中国移动通信集团四川有限公司 System and method for synchronizing comparison of data consistency
CN101873354A (en) * 2010-06-24 2010-10-27 中兴通讯股份有限公司 Data synchronization method and system thereof in interactive television
CN103577319A (en) * 2012-08-07 2014-02-12 腾讯科技(深圳)有限公司 Source code file detection method, source code file detection device and file release system
CN103595559A (en) * 2013-11-05 2014-02-19 深圳市远行科技有限公司 System and method for transmitting big data and service system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094051A (en) * 2007-06-27 2007-12-26 中国移动通信集团四川有限公司 System and method for synchronizing comparison of data consistency
CN101873354A (en) * 2010-06-24 2010-10-27 中兴通讯股份有限公司 Data synchronization method and system thereof in interactive television
CN103577319A (en) * 2012-08-07 2014-02-12 腾讯科技(深圳)有限公司 Source code file detection method, source code file detection device and file release system
CN103595559A (en) * 2013-11-05 2014-02-19 深圳市远行科技有限公司 System and method for transmitting big data and service system thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648712A (en) * 2017-02-27 2017-05-10 百度在线网络技术(北京)有限公司 Incremental updating packet generating method and device, and server
CN115118676A (en) * 2022-08-29 2022-09-27 科来网络技术股份有限公司 Heterogeneous system data communication interaction method, system and terminal based on central platform

Similar Documents

Publication Publication Date Title
CN105991384B (en) The space flight ethernet communication method of compatible time trigger Ethernet and 1553B
CN103369051B (en) A kind of data server cluster system and method for data synchronization
CN105391486B (en) A kind of communication means and device of spaceborne data
CN107690783B (en) A kind of data transmission method, Centralized Controller, forwarding surface equipment and communication device
CN104516334B (en) One is disrupter closed loop control system and control method thereof just oppositely
CN103581216A (en) Fragmentation data storage method, device and system
CN102622550B (en) Safe online patch check system facing terminal computers
JP2019534609A (en) Network management information receiving / transmitting method, apparatus, transmitting apparatus, and receiving apparatus
CN102223378B (en) File synchronization method and system
CN104954101A (en) Multi-terminal data synchronization method based on ACK synchronization
US9280426B2 (en) System and method for server redundancy
CN102611574A (en) Automatic configuration system and configuration method for VPN (Virtual Private Network)
CN104378409A (en) File synchronization system
CN109691021A (en) The long-distance management system and its method of batch parameter setting for intelligent electric meter
CN104079396A (en) Network redundant structure
CN104009956A (en) Communication method based on embedded multi-core co-processing gatekeeper system
CN104184729A (en) Message processing method and device
CN105721395A (en) Data synchronization configuration method, apparatus and system
CN110933627B (en) Service processing method, device, equipment and storage medium
CN105635227A (en) Point to point communication method and system on the basis of serial server
US9860112B2 (en) Techniques for synchronizing operations between regions when a network connection fails
CN102375763A (en) System and method for realizing interprocess communication
CN101478428A (en) Software and hardware cooperative Ethernet failure security communication system and data transmission method
CN104731071A (en) Redundant-waste heat backup method of mater engine in centralized control system
CN106487694A (en) A kind of data flow processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150225