CN102843432B - Network communication system applicable to sharing and synchronous updating of data at multiple clients - Google Patents
Network communication system applicable to sharing and synchronous updating of data at multiple clients Download PDFInfo
- Publication number
- CN102843432B CN102843432B CN201210316454.0A CN201210316454A CN102843432B CN 102843432 B CN102843432 B CN 102843432B CN 201210316454 A CN201210316454 A CN 201210316454A CN 102843432 B CN102843432 B CN 102843432B
- Authority
- CN
- China
- Prior art keywords
- data
- interface
- network
- client
- network data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention relates to the technical field of network communication, and discloses a network communication system applicable to the sharing and the synchronous updating of data at multiple clients. On the basis of network communication, the functions of group management and data synchronization aiming at a heterogeneous system are added, the sharing and the synchronous updating of data are realized through a data distribution function of a data distribution management module, and data security is protected and network flow is controlled through group management.
Description
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of multi-client data that is applicable to and share the network communicating system with synchronized update.
Background technology
At present conventional network communication mode has P-2-P technology (peer-to-peer is called for short P2P), C/S(client and server) structure, B/S(browser and server) structure.
P-2-P technology, also known as reciprocity internet technique, it relies on computing capability and the bandwidth of participant in network, instead of dependence is all gathered on less several station servers.P2P network is generally used for connecting to come connected node by Ad Hoc.This kind of network may be used for multiple use, and various archives are shared software and obtained and use widely.P2P technology is also used in the data communication of the real-time media business such as similar VoIP.Pure point to point network does not have the concept of client or server, only has the brother of node of equality, serves as client and server to other node on network simultaneously.
C/S structure is software system architecture, can be made full use of the advantage of two ends hardware environment by it, task is reasonably allocated to client and server end to realize, and reduces the communication-cost of system.Current most of application software system is all the double-layer structure of C/S form, and because present software application system is to distributed Web application development, Web and C/S application can carry out same Business Processing, applies different module shared logic assemblies.Therefore, inner can access with the user of outside new for existing application system, the application system made new advances can be expanded by the logic in existing application system.The developing direction of this namely current application system.
B/S structure is the rise along with Internet technology, to a kind of change of C/S structure or the structure of improvement.Under this configuration, user job interface is realized by WWW browser, and few partial transaction logic realizes at front end (browser), but major affairs logic realizes at server end, forms so-called three layers of 3-tier structure.So just enormously simplify client computer load, alleviate cost and the workload of system maintenance and upgrading, reduce the overall cost (TCO) of user.
For the communication between multi-multipoint heterogeneous system, comparatively suitable in above-mentioned three kinds of technology is B/S structure, but B/S structure be not easy to realize sharing and synchronized update of data.
Summary of the invention
(1) technical problem that will solve
The technical problem to be solved in the present invention is: realize sharing of each client data in heterogeneous network.
(2) technical scheme
In order to solve the problems of the technologies described above, the invention provides a kind of multi-client data that is applicable to and sharing the network communicating system with synchronized update, comprising data distribution management module, universal data interface module and be arranged in each client of heterogeneous network,
Wherein, described data distribution management module comprises Data dissemination submodule, check sum sub module stored, described Data dissemination submodule is used for by the network data of described universal data interface module reception from described client, format conversion is carried out to received network data, and the network data after format conversion is sent to described check sum sub module stored; Described check sum sub module stored is used for carrying out validation verification to described network data and carrying out member authentication to the client sending described network data, and shows sharing and synchronized update of network data based on the fructufy of described validation verification and member authentication;
Described universal data interface module, for defining the exchange format of described network data, specifies access interface and the Processing Interface of described network data.
Preferably, first described check sum sub module stored specifically for carrying out validation verification to the type of described network data, judge whether to meet the data type defined in described universal data interface module, then according to the head of described network data, member authentication is carried out to the client sending described network data, judge whether it possesses the qualification sending this data type in group, after certification, then perform the flow process of management and group: will client to coexist a group therewith, and other member possessing this data type qualification of reception is divided into a target group, and remove data header, rebuild head mark, synchronized update is carried out to the current data of local data base simultaneously, and described network data is sent to described target group by described Data dissemination submodule, realize sharing of network data.
Preferably, described Processing Interface comprises sending/receiving interface, data encapsulation/decapsulation interface, call back function Processing Interface and attribute status monitor-interface.
Preferably, the data type defined in described universal data interface module comprises registration class, for communicating with data distribution management module; Classes of messages, sends current order and notice for other client in described target group; Object class, for the carrier as data sharing and synchronized update.
(3) beneficial effect
Technique scheme tool has the following advantages: the present invention is on network service basis; add the function of management and group for heterogeneous system and data syn-chronization; realize sharing and synchronized update of data by the function of data distribution of data distribution management module simultaneously, protect data security and net control flow by management and group.
Accompanying drawing explanation
Fig. 1 is system configuration schematic diagram of the present invention;
Fig. 2 is data distribution management modular structure schematic diagram;
Fig. 3 is universal data interface modular structure schematic diagram and uses signal;
Fig. 4 is that interface code generates method flow diagram.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples for illustration of the present invention, but are not used for limiting the scope of the invention.
In order to solve data sharing between multi-multipoint heterogeneous system and synchronized update problem, the present invention proposes a kind of novel network communicating system structure, i.e. reflectance data network.On network service basis, add the function for the management and group of heterogeneous system, data sharing and data syn-chronization.Four application group in Fig. 1 are linked in data distribution management module by the interface of data channel, realize sharing with synchronous of data by the function of data distribution of data distribution management module.The object of management and group is protected data safety and net control flow, and the data of application program only have other member in this group just to have permission to check and revise, effectively prevent the leakage of data, also eliminates the interference of other group data simultaneously.
As shown in Figure 1, this network communicating system is made up of data distribution management module and universal data interface module.Specific implementation and functional description as follows:
1. data distribution management module
As shown in Figure 2, data distribution management module comprises Data dissemination submodule, check sum sub module stored two parts.Wherein Data dissemination submodule is responsible for transmission, the reception of network data, the format conversion etc. of network data and local data; Data check, sub module stored are responsible for validation verification, the management and group of data, the function such as the storage of data and structure of data.
First data check, sub module stored carry out validation verification to current data type and data header, judge whether to meet defined data type.Then member authentication is carried out to the transmitting terminal of these data, judge whether it possesses the qualification sending this data type in group, once by after certification, then perform the flow process of management and group: coexist member therewith a group possess other member receiving this data type qualification and be divided into a target group, and remove data header, rebuild head mark, synchronized update is carried out to the current data of local data base simultaneously.Finally, by the data channel of Data dissemination submodule, the data rebuild are sent to target group.
Data distribution management module provides following function:
The dynamic load of data type: except the data type that system is built-in needs to carry out except identifying processing, remaining data operationally can create example by reflex mechanism, and does not need the type knowing data in advance.The system of this means can be expanded independent of concrete application, user can by the self-defining data type of data-interface specification, only need the data defined be integrated in system in the mode of dynamic link library, just can distribute the function of administration module by usage data.
The subscription of data type and issue registration: data distribution management module maintains subscription and the publishing table of the registered data type of FTP client FTP, when receiving the Data Update of certain type, first judge whether its member registers and issue this data type, then traversal subscribes to the client side list of this data type, they is carried out to the synchronized update of data.
Data relay and storage: data distribution management module supports data relay and the storage of each client, the local data base of system preserves a up-to-date client data, when there being new client access, meet request of data and distribution when requiring, current latest data relevant with it can transmit in the past by system, therefore client can in system operation dynamic access, to observe the change of up-to-date data mode.
Client management and group: data distribution management module supports the data sharing of multiple heterogeneous client, but do not mean that all clients can access the data of other client.System provides the function of management and group, only in same group and the client that have subscribed registered data type just can obtain other sharing and upgrading with group membership's data.Therefore run while data distribution management system can support multiple application domain, and can not be disturbed by mutual data type.
2. universal data interface module
As shown in Figure 3, the universal data interface module definition exchange format of network data, define access interface and the Processing Interface of data, all data types all must follow these interfaces.Processing Interface comprises data encapsulation/decapsulation interface, sending/receiving interface, data access interface, call back function Processing Interface and attribute status monitor-interface.Wherein send/receive interface for network link controller, data access interface and call back function interface are for application program, attribute status monitor-interface is the update status of data interconnects in order to record data items, and encapsulation/decapsulation interface is used for the mutual conversion between internal data and network data format.
The data type that three classes are the most basic is defined in module, as follows:
Registration class: registration class is the onboard data type of system, mainly be used for carrying out with data distribution management module communication interaction, its subtype function comprises the management and group of client, the issue of message and subscription statement etc., in general, registration class all needs data distribution management module to carry out processing and the rule managed as system distribution.
Classes of messages: the data type of classes of messages defined instruction level, sends current order and notice, the such as running status etc. of other system of control and management in order to other FTP client FTP in group.Data distribution management module does not need to process classes of messages, does not need to store its data of carrying yet.
Object class: object class is as the main carriers of data sharing and renewal, and the attribute in object class can be basic data type, also can be nested object type.When object properties change, data-interface can be instant change information send to data distribution management module, be transmitted to other client that have subscribed by it again, oneself also preserve a up-to-date backup simultaneously, thus reach the function of data mode monitoring and synchronized update.
In addition, this module additionally provides interface code generation method, user can derive oneself data type easily from above three class data types, define all types of attributes, program is integrated in the framework of reflect data network by the service logic of connected applications program, realizes the service display of multi-client system with the function of usage data reflective network.
Executable program is integrated into workflow in reflectance data network system as Fig. 4.
As shown in Figure 4, the generation method flow of interface code is divided into following three steps:
(1) according to the inputoutput data of executable program, define grid message format, generate corresponding sound code file, and compiling link is dll file, as extension of message storehouse plug-in unit by Code Generator;
(2) input/output interface of Update Table in the source program of executable file, with matched data interface specification;
(3) when running, dynamic load universal data interface storehouse and self-defined message expanding library, join in reflectance data network as group member.
As can be seen from the above embodiments, the present invention devises reflectance data network communicating system, comprises data distribution management module and universal data interface module, the flexible expansion of supported data and any access of client.Reflectance data network makes multiple client Sharing Centers data, realizes data and is separated with concrete service logic, and identical data source can be represented in a different manner.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the technology of the present invention principle; can also make some improvement and replacement, these improve and replace and also should be considered as protection scope of the present invention.
Claims (3)
1. be applicable to multi-client data and share the network communicating system with synchronized update, it is characterized in that, comprise data distribution management module, universal data interface module and be arranged in each client of heterogeneous network,
Wherein, described data distribution management module comprises Data dissemination submodule, check sum sub module stored, described Data dissemination submodule is used for by the network data of described universal data interface module reception from described client, format conversion is carried out to received network data, and the network data after format conversion is sent to described check sum sub module stored; Described check sum sub module stored is used for carrying out validation verification to described network data and carrying out member authentication to the client sending described network data, and shows sharing and synchronized update of network data based on the fructufy of described validation verification and member authentication;
Described universal data interface module, for defining the exchange format of described network data, specifies access interface and the Processing Interface of described network data;
First described check sum sub module stored specifically for carrying out validation verification to the type of described network data, judge whether to meet the data type defined in described universal data interface module, then according to the head of described network data, member authentication is carried out to the client sending described network data, judge whether it possesses the qualification sending this data type in group, after certification, then perform the flow process of management and group: will client to coexist a group therewith, and other member possessing this data type qualification of reception is divided into a target group, and remove data header, rebuild head mark, synchronized update is carried out to the current data of local data base simultaneously, and described network data is sent to described target group by described Data dissemination submodule, realize sharing of network data,
Wherein, data distribution management module also provides following functions:
The dynamic load of data type: except the data type that system is built-in needs to carry out except identifying processing, remaining data operationally can create example by reflex mechanism, and does not need the type knowing data in advance.
2. the system as claimed in claim 1, is characterized in that, described Processing Interface comprises sending/receiving interface, data encapsulation/decapsulation interface, call back function Processing Interface and attribute status monitor-interface.
3. the system as claimed in claim 1, is characterized in that, the data type defined in described universal data interface module comprises registration class, for communicating with data distribution management module; Classes of messages, sends current order and notice for other client in described target group; Object class, for the carrier as data sharing and synchronized update.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210316454.0A CN102843432B (en) | 2012-08-30 | 2012-08-30 | Network communication system applicable to sharing and synchronous updating of data at multiple clients |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210316454.0A CN102843432B (en) | 2012-08-30 | 2012-08-30 | Network communication system applicable to sharing and synchronous updating of data at multiple clients |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102843432A CN102843432A (en) | 2012-12-26 |
CN102843432B true CN102843432B (en) | 2015-01-07 |
Family
ID=47370485
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210316454.0A Active CN102843432B (en) | 2012-08-30 | 2012-08-30 | Network communication system applicable to sharing and synchronous updating of data at multiple clients |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102843432B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103873329A (en) * | 2014-04-02 | 2014-06-18 | 沈阳常山新电子有限公司 | Conventional data interface system |
CN105049332B (en) * | 2015-07-29 | 2019-12-10 | 深圳市元征科技股份有限公司 | method for sharing files in group based on vehicle-mounted terminal |
SG10201507834SA (en) | 2015-09-21 | 2017-04-27 | Yokogawa Electric Corp | Mobile based on collaborative and interactive operations with smart mobile devices |
CN108536743A (en) * | 2018-03-09 | 2018-09-14 | 中国电子科技集团公司第二十八研究所 | A kind of Combat Command System database in phase system |
CN111209932B (en) * | 2019-12-24 | 2022-03-22 | 中国电子科技集团公司第三十研究所 | Dynamically configurable user information leading-in method based on multiple data sources |
CN113709250B (en) * | 2021-08-31 | 2023-09-15 | 中国电子科技集团公司第二十八研究所 | Cross-domain user data synchronization method based on subscription transmission mode |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1472667A (en) * | 2002-08-02 | 2004-02-04 | 无敌科技股份有限公司 | Extendable customer data system and method |
CN1512299A (en) * | 2002-12-27 | 2004-07-14 | 联想(北京)有限公司 | Virtual information flow bus interface and its data processing method |
CN102292699A (en) * | 2009-02-04 | 2011-12-21 | 思杰系统有限公司 | Methods and systems for providing translations of data retrieved from a storage system in a cloud computing environment |
CN102460393A (en) * | 2009-05-01 | 2012-05-16 | 思杰系统有限公司 | Systems and methods for establishing a cloud bridge between virtual storage resources |
-
2012
- 2012-08-30 CN CN201210316454.0A patent/CN102843432B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1472667A (en) * | 2002-08-02 | 2004-02-04 | 无敌科技股份有限公司 | Extendable customer data system and method |
CN1512299A (en) * | 2002-12-27 | 2004-07-14 | 联想(北京)有限公司 | Virtual information flow bus interface and its data processing method |
CN102292699A (en) * | 2009-02-04 | 2011-12-21 | 思杰系统有限公司 | Methods and systems for providing translations of data retrieved from a storage system in a cloud computing environment |
CN102460393A (en) * | 2009-05-01 | 2012-05-16 | 思杰系统有限公司 | Systems and methods for establishing a cloud bridge between virtual storage resources |
Also Published As
Publication number | Publication date |
---|---|
CN102843432A (en) | 2012-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102843432B (en) | Network communication system applicable to sharing and synchronous updating of data at multiple clients | |
CN105024855B (en) | Distributed type assemblies manage system and method | |
AU2012228693B2 (en) | Method and system for synchronization mechanism on multi-server reservation system | |
CN106294713A (en) | The method of data synchronization resolved based on Incremental Log and data synchronization unit | |
CN103309674A (en) | Software architecture system | |
CN105610981A (en) | Quick operational information transfer platform | |
CN103716408A (en) | Enterprise application integration method and system based on enterprise service bus (ESB) | |
CN102523308B (en) | Application development method and development and application platform system for operating method | |
CN102333108A (en) | Distributed cache synchronization system and method | |
CN104468633A (en) | SDN southing security proxy product | |
US20140281672A1 (en) | Performing network activities in a network | |
CN104468299A (en) | Enterprise service bus system based on user rule | |
CN105339899A (en) | Method and controller for clustering applications in a software-defined network | |
CN101771724B (en) | Heterogeneous distributed information integration method, device and system | |
CN115086330A (en) | Cross-cluster load balancing system | |
CN101364924A (en) | Data collecting self-organizing architecture construction based on enterprise service bus | |
US9716768B2 (en) | Cache system and method for providing caching service | |
Lingaraj et al. | A survey on middleware challenges and approaches for wireless sensor networks | |
CN107302849B (en) | Light path distribution method and device | |
CN103023897B (en) | A kind of synchronous service management system and method | |
CN109245911B (en) | Method and device for realizing BRAS hot standby and computer readable storage medium | |
CN110063050B (en) | Service scheduling method and system | |
Guerrero-Contreras et al. | Dynamic replication and deployment of services in mobile environments | |
CN103684825A (en) | Multi-system communication system and maintenance method for same | |
CN102904739A (en) | Method for realizing event transmission and common information model (CIM) server |
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 |