CN104202230A - Data interaction device and method for multi-level structure - Google Patents

Data interaction device and method for multi-level structure Download PDF

Info

Publication number
CN104202230A
CN104202230A CN201410505877.6A CN201410505877A CN104202230A CN 104202230 A CN104202230 A CN 104202230A CN 201410505877 A CN201410505877 A CN 201410505877A CN 104202230 A CN104202230 A CN 104202230A
Authority
CN
China
Prior art keywords
data
preposition node
switching center
arbitrary
appointment
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
CN201410505877.6A
Other languages
Chinese (zh)
Other versions
CN104202230B (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.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies 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 ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN201410505877.6A priority Critical patent/CN104202230B/en
Publication of CN104202230A publication Critical patent/CN104202230A/en
Application granted granted Critical
Publication of CN104202230B publication Critical patent/CN104202230B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention provides a data interaction device and method for a multi-level structure. Each level structure in the multi-level structure comprises at least one front nodes used for providing or acquiring data and a switching centre system used for managing the at least one front nodes; the data interaction method for the multi-level structure comprises the following steps: the switching centre system of each level structure is connected; an acquisition request of data in specified front node of other level structures sent by any one front node of any one level structure in the multi-level structure through the switching centre system of any one level structure is received; according to the acquisition request, data requested for acquisition by any one front node is read from the specified front nodes and sent to the any one front node through the switching centre system of any one level structure. The technical scheme of the data interaction device and method for the multi-level structure realize bidirectional exchange and sharing of data between different level structures in the multi-level structure; moreover, the stability in data transmission is further improved.

Description

For data interaction device and the method for multilevel hierarchy
Technical field
The present invention relates to technical field of data processing, in particular to a kind of data interaction device for multilevel hierarchy and a kind of volume data interactive method for multilevel hierarchy.
Background technology
At present, in prior art for the data interaction system of multilevel hierarchy, data exchange ways between different layers level structure is generally one-way data exchange, as shown in Figure 1, data processing tools (ETL) timing extraction with gather the database in the supreme level structure of data (as database table, file etc.) in lower structures, and upper level structure calls and customize services by ESB (ESB), subscribe to and the function of inquiring about data in lower structures to reach, complete the processing of customization task.
But aforesaid way is gathering, subscribing to or inquiring about for one-way data just, can not complete the two-way interactive of data, and for the complex steps of obtaining across DBMS, autgmentability is poor, and not with multilevel hierarchy in every primary centre system interaction, switching center's system can not be monitored and statistics state information well, hindered informationalized development construction.
The two-way exchange that therefore, how can realize data between multilevel hierarchy becomes technical problem urgently to be resolved hurrily with sharing.
Summary of the invention
The present invention just based on above-mentioned technical problem one of at least, has proposed a kind of new data interaction scheme for multilevel hierarchy, has realized in multilevel hierarchy not between peer-to-peer architecture the two-way exchange of data and has shared, and has also improved the stability of transfer of data simultaneously.
Another object of the present invention has been to propose a kind of data interactive method for multilevel hierarchy.
In view of this, the present invention proposes a kind of data interaction device for multilevel hierarchy, every level structure in described multilevel hierarchy all includes for data being provided or obtaining at least one preposition nodes of data, and switching center's system for described at least one preposition node is managed, described data interaction device, comprise: connect and set up unit, for being connected with switching center's system of described every level structure; Receiving element, the request of obtaining of the data in the preposition node of the appointment to other level structures sending by switching center's system of described arbitrary structure for the arbitrary preposition node that receives the arbitrary level structure of described multilevel hierarchy; Processing unit, obtains request for described in basis, reads the data of described arbitrary preposition node acquisition request from the preposition node of described appointment, and described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure.
In this technical scheme, by being connected with switching center's system of every level structure, can complete the request of data between multilevel hierarchy and obtain by switching center's system, compared to the scheme of directly data source being processed by data processing tools and ESB in prior art, the application's technical scheme is owing to carrying out alternately with switching center's system, and switching center's system can manage data, therefore improve the stability of transfer of data.And by data in the preposition node of the appointment to other level structures sending at the arbitrary preposition node receiving in arbitrary level structure obtain request time, read corresponding Data Concurrent according to this request of obtaining and deliver to above-mentioned arbitrary preposition node, realize in multilevel hierarchy not between peer-to-peer architecture the two-way exchange of data and shared, compared to the scheme that only can higher level in prior art reads lower DBMS, the application's technical scheme has realized the flexibility of data interaction.
In technique scheme, preferably, described processing unit comprises: acquiring unit, directly obtains described data from the preposition node of described appointment for obtaining request described in basis; And/or transmitting element, for notifying switching center's system that the preposition node of described appointment is corresponding, so that switching center's system corresponding to the preposition node of described appointment obtained and fed back described data from the preposition node of described appointment.
In this technical scheme, particularly, receive that arbitrary preposition node sends obtain request time, both can directly from specify preposition node, obtain data, to obtain directly, rapidly the data in preposition node; Also can be by specifying switching center's system that preposition node is corresponding from specifying preposition node to obtain data so that switching center's system to data prestore, monitor, the processing such as statistics, and then improve the stability of transfer of data.
In technique scheme, preferably, described transmitting element specifically for: the described request of obtaining is sent to switching center's system that the preposition node of described appointment is corresponding, so that specify preposition node to obtain request described in whether agreeing to described in switching center's system interrogation corresponding to the preposition node of described appointment, and when listening to switching center's system creation first that the preposition node of described appointment is corresponding at the first monitoring unit and exchange memory space, switching center to described arbitrary level structure sends feedback information, so that the switching center of described arbitrary level structure creates the second exchange memory space and notifies described arbitrary preposition node to create data and read task, and in the time that described receiving element receives data that the switching center of described arbitrary preposition node by described arbitrary level structure send and reads the information that task creation completes, notify the preposition node of described appointment to send described data, whether described the first monitoring unit, create the first exchange storage center for monitoring switching center's system that the preposition node of described appointment is corresponding, described receiving element also for, receive the described data that the switching center of described arbitrary preposition node by described arbitrary level structure send and read the information that task creation completes.
In this technical scheme, send feedback information by the switching center's system to arbitrary level structure, make switching center's system of above-mentioned arbitrary level structure can create exchange memory space and notify above-mentioned arbitrary preposition node to create data and read task, can make the switching center of above-mentioned arbitrary level structure carry out in advance the preparation that receives data, and then can efficiently, stably receive data, thereby improve the stability of obtaining data.
In technique scheme, preferably, also comprise: the second monitoring unit, for after described data being sent to described arbitrary preposition node, whether the described data of monitoring in the preposition node of described appointment by switching center's system corresponding to the preposition node of described appointment are upgraded; Described processing unit also for, in the time that described the second monitoring unit listens to described data in the preposition node of described appointment and occurs to upgrade, again read the data after upgrading in the preposition node of described appointment, and be sent to described arbitrary preposition node.
In this technical scheme, specify the data in preposition node whether to upgrade by monitoring, and data in specified node are while occurring to upgrade, again read the data after renewal, can guarantee that above-mentioned arbitrary preposition node gets in time, data accurately.
In technique scheme, preferably, also comprise: compression unit, for described data being compressed before described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure; And/or ciphering unit, for described data being encrypted before described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure.
In this technical scheme, by the compression to data, the bandwidth taking can reduce transfer of data time, and then can realize and transmit quickly and efficiently data; And by data are encrypted, can improve the fail safe of data, guarantee that data are transferred to above-mentioned arbitrary preposition node safely.
According to a second aspect of the invention, a kind of data interactive method for multilevel hierarchy has also been proposed, every level structure in described multilevel hierarchy all includes for data being provided or obtaining at least one preposition nodes of data, and switching center's system for described at least one preposition node is managed, described data interactive method, comprising: be connected with switching center's system of described every level structure; Receive the arbitrary preposition node of arbitrary level structure in described multilevel hierarchy by the request of obtaining of the data in the preposition node of the appointment to other level structures of switching center's system transmission of described arbitrary structure; Obtain request according to described, from the preposition node of described appointment, read the data of described arbitrary preposition node acquisition request, and described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure.
In this technical scheme, by being connected with switching center's system of every level structure, can complete the request of data between multilevel hierarchy and obtain by switching center's system, compared to the scheme of directly data source being processed by data processing tools and ESB in prior art, the application's technical scheme is owing to carrying out alternately with switching center's system, and switching center's system can manage data, therefore improve the stability of transfer of data.And by data in the preposition node of the appointment to other level structures sending at the arbitrary preposition node receiving in arbitrary level structure obtain request time, read corresponding Data Concurrent according to this request of obtaining and deliver to above-mentioned arbitrary preposition node, realize in multilevel hierarchy not between peer-to-peer architecture the two-way exchange of data and shared, compared to the scheme that only can higher level in prior art reads lower DBMS, the application's technical scheme has realized the flexibility of data interaction.
In technique scheme, preferably, obtain request according to described, the step that reads the data of described arbitrary preposition node acquisition request from the preposition node of described appointment is specially: directly from the preposition node of described appointment, obtain described data according to the described request of obtaining; Or notify switching center's system that the preposition node of described appointment is corresponding, so that switching center's system corresponding to the preposition node of described appointment obtained and fed back described data from the preposition node of described appointment.
In this technical scheme, particularly, receive that arbitrary preposition node sends obtain request time, both can directly from specify preposition node, obtain data, to obtain directly, rapidly the data in preposition node; Also can be by specifying switching center's system that preposition node is corresponding from specifying preposition node to obtain data so that switching center's system to data prestore, monitor, the processing such as statistics, and then improve the stability of transfer of data.
In technique scheme, preferably, obtain request according to described, from the preposition node of described appointment, read the data of described arbitrary preposition node acquisition request, and the step that described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure is specially: the described request of obtaining is sent to switching center's system that the preposition node of described appointment is corresponding, so that specify preposition node to obtain request described in whether agreeing to described in switching center's system interrogation corresponding to the preposition node of described appointment; Monitor switching center's system that the preposition node of described appointment is corresponding and whether create the first exchange memory space, if, send feedback information to the switching center of described arbitrary level structure, so that the switching center of described arbitrary level structure creates the second exchange memory space and notifies described arbitrary preposition node to create data and read task; In the time receiving data that the switching center of described arbitrary preposition node by described arbitrary level structure send and read the information that task creation completes, notify the preposition node of described appointment to send described data.
In this technical scheme, send feedback information by the switching center's system to arbitrary level structure, make switching center's system of above-mentioned arbitrary level structure can create exchange memory space and notify above-mentioned arbitrary preposition node to create data and read task, can make the switching center of above-mentioned arbitrary level structure carry out in advance the preparation that receives data, and then can efficiently, stably receive data, thereby improve the stability of obtaining data.
In technique scheme, preferably, after described data being sent to described arbitrary preposition node, also comprise: whether the described data of monitoring in the preposition node of described appointment by switching center's system corresponding to the preposition node of described appointment are upgraded; In the time of the described data generation renewal listening to by switching center's system corresponding to the preposition node of described appointment in the preposition node of described appointment, again read the described data after renewal in the preposition node of described appointment, and be sent to described arbitrary preposition node.
In this technical scheme, specify the data in preposition node whether to upgrade by monitoring, and data in specified node are while occurring to upgrade, again read the data after renewal, can guarantee that above-mentioned arbitrary preposition node gets in time, data accurately.
In technique scheme, preferably, before being sent to described arbitrary preposition node by switching center's system of described arbitrary level structure, described data also comprise: described data are compressed and/or encryption.
In this technical scheme, by the compression to data, the bandwidth taking can reduce transfer of data time, and then can realize and transmit quickly and efficiently data; And by data are encrypted, can improve the fail safe of data, guarantee that data are transferred to above-mentioned arbitrary preposition node safely.
By above technical scheme, realize in multilevel hierarchy not between peer-to-peer architecture the two-way exchange of data and shared, owing to being the request that completes data between multilevel hierarchy by switching center's system and obtain, therefore also improved the stability of transfer of data simultaneously.
Brief description of the drawings
Fig. 1 shows the structural representation of data exchange system in prior art;
Fig. 2 shows according to the schematic block diagram of the data interaction device for multilevel hierarchy of an enforcement of the present invention;
Fig. 3 shows the schematic flow diagram of the data interactive method for multilevel hierarchy according to an embodiment of the invention;
Fig. 4 shows the annexation schematic diagram of data interaction device according to an embodiment of the invention and switching center's system;
Fig. 5 shows the schematic block diagram of cascade unit according to an embodiment of the invention;
Fig. 6 shows the structural representation of data interaction system according to an embodiment of the invention;
Fig. 7 shows the schematic flow diagram of the data interactive method for multilevel hierarchy according to another embodiment of the invention.
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, in the situation that not conflicting, the feature in the application's embodiment and embodiment can combine mutually.
A lot of details are set forth in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not subject to the restriction of following public specific embodiment.
Fig. 2 shows the schematic block diagram of the data interaction device for multilevel hierarchy according to an embodiment of the invention.
As shown in Figure 2, data interaction device 200 for multilevel hierarchy according to an embodiment of the invention, every level structure in described multilevel hierarchy all includes for data being provided or obtaining at least one preposition nodes of data, and switching center's system for described at least one preposition node is managed, described data interaction device 200, comprise: connect and set up unit 202, for being connected with switching center's system of described every level structure; Receiving element 204, the request of obtaining of the data in the preposition node of the appointment to other level structures sending by switching center's system of described arbitrary structure for the arbitrary preposition node that receives the arbitrary level structure of described multilevel hierarchy; Processing unit 206, obtains request for described in basis, reads the data of described arbitrary preposition node acquisition request from the preposition node of described appointment, and described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure.
In this technical scheme, by being connected with switching center's system of every level structure, can complete the request of data between multilevel hierarchy and obtain by switching center's system, compared to the scheme of directly data source being processed by data processing tools and ESB in prior art, the application's technical scheme is owing to carrying out alternately with switching center's system, and switching center's system can manage data, therefore improve the stability of transfer of data.And by data in the preposition node of the appointment to other level structures sending at the arbitrary preposition node receiving in arbitrary level structure obtain request time, read corresponding Data Concurrent according to this request of obtaining and deliver to above-mentioned arbitrary preposition node, realize in multilevel hierarchy not between peer-to-peer architecture the two-way exchange of data and shared, compared to the scheme that only can higher level in prior art reads lower DBMS, the application's technical scheme has realized the flexibility of data interaction.
In technique scheme, preferably, described processing unit 206 comprises: acquiring unit 2062, directly obtains described data from the preposition node of described appointment for obtaining request described in basis; And/or transmitting element 2064, for notifying switching center's system that the preposition node of described appointment is corresponding, so that switching center's system corresponding to the preposition node of described appointment obtained and fed back described data from the preposition node of described appointment.
In this technical scheme, particularly, receive that arbitrary preposition node sends obtain request time, both can directly from specify preposition node, obtain data, to obtain directly, rapidly the data in preposition node; Also can be by specifying switching center's system that preposition node is corresponding from specifying preposition node to obtain data so that switching center's system to data prestore, monitor, the processing such as statistics, and then improve the stability of transfer of data.
In technique scheme, preferably, described transmitting element 2064 specifically for: the described request of obtaining is sent to switching center's system that the preposition node of described appointment is corresponding, so that specify preposition node to obtain request described in whether agreeing to described in switching center's system interrogation corresponding to the preposition node of described appointment, and when listening to switching center's system creation first that the preposition node of described appointment is corresponding at the first monitoring unit 208 and exchange memory space, switching center to described arbitrary level structure sends feedback information, so that the switching center of described arbitrary level structure creates the second exchange memory space and notifies described arbitrary preposition node to create data and read task, and in the time that described receiving element 204 receives data that the switching center of described arbitrary preposition node by described arbitrary level structure send and reads the information that task creation completes, notify the preposition node of described appointment to send described data, whether described the first monitoring unit 208, create the first exchange storage center for monitoring switching center's system that the preposition node of described appointment is corresponding, described receiving element 204 also for, receive the described data that the switching center of described arbitrary preposition node by described arbitrary level structure send and read the information that task creation completes.
In this technical scheme, send feedback information by the switching center's system to arbitrary level structure, make switching center's system of above-mentioned arbitrary level structure can create exchange memory space and notify above-mentioned arbitrary preposition node to create data and read task, can make the switching center of above-mentioned arbitrary level structure carry out in advance the preparation that receives data, and then can efficiently, stably receive data, thereby improve the stability of obtaining data.
In technique scheme, preferably, also comprise: the second monitoring unit 210, for after described data being sent to described arbitrary preposition node, monitoring the data of specifying in preposition node by switching center's system corresponding to the preposition node of described appointment and whether upgrade; Described processing unit 206 also for, in the time that the second monitoring unit listens to the data of specifying in preposition node and occurs to upgrade, again read the data of specifying after upgrading in preposition node, and be sent to described arbitrary preposition node.
In this technical scheme, specify the data in preposition node whether to upgrade by monitoring, and data in specified node are while occurring to upgrade, again read the data after renewal, can guarantee that above-mentioned arbitrary preposition node gets in time, data accurately.
In technique scheme, preferably, also comprise: compression unit 212, for described data being compressed before data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure; And/or ciphering unit 214, for described data being encrypted before described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure.
In this technical scheme, by the compression to data, the bandwidth taking can reduce transfer of data time, and then can realize and transmit quickly and efficiently data; And by data are encrypted, can improve the fail safe of data, guarantee that data are transferred to above-mentioned arbitrary preposition node safely.
Fig. 3 shows the schematic flow diagram of the data interactive method for multilevel hierarchy according to an embodiment of the invention.
As shown in Figure 3, data interactive method for multilevel hierarchy according to an embodiment of the invention, every level structure in described multilevel hierarchy all includes for data being provided or obtaining at least one preposition nodes of data, and switching center's system for described at least one preposition node is managed, described data interactive method, comprise: step 302, is connected with switching center's system of described every level structure; Step 304 receives the arbitrary preposition node of arbitrary level structure in described multilevel hierarchy by the request of obtaining of the data in the preposition node of the appointment to other level structures of switching center's system transmission of described arbitrary structure; Step 306, obtains request according to described, reads the data of described arbitrary preposition node acquisition request, and described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure from the preposition node of described appointment.
In this technical scheme, by being connected with switching center's system of every level structure, can complete the request of data between multilevel hierarchy and obtain by switching center's system, compared to the scheme of directly data source being processed by data processing tools and ESB in prior art, the application's technical scheme is owing to carrying out alternately with switching center's system, and switching center's system can manage data, therefore improve the stability of transfer of data.And by data in the preposition node of the appointment to other level structures sending at the arbitrary preposition node receiving in arbitrary level structure obtain request time, read corresponding Data Concurrent according to this request of obtaining and deliver to above-mentioned arbitrary preposition node, realize in multilevel hierarchy not between peer-to-peer architecture the two-way exchange of data and shared, compared to the scheme that only can higher level in prior art reads lower DBMS, the application's technical scheme has realized the flexibility of data interaction.
In technique scheme, preferably, obtain request according to described, the step that reads the data of described arbitrary preposition node acquisition request from the preposition node of described appointment is specially: directly from the preposition node of described appointment, obtain described data according to the described request of obtaining; Or notify switching center's system that the preposition node of described appointment is corresponding, so that switching center's system corresponding to the preposition node of described appointment obtained and fed back described data from the preposition node of described appointment.
In this technical scheme, particularly, receive that arbitrary preposition node sends obtain request time, both can directly from specify preposition node, obtain data, to obtain directly, rapidly the data in preposition node; Also can be by specifying switching center's system that preposition node is corresponding from specifying preposition node to obtain data so that switching center's system to data prestore, monitor, the processing such as statistics, and then improve the stability of transfer of data.
In technique scheme, preferably, obtain request according to described, from the preposition node of described appointment, read the data of described arbitrary preposition node acquisition request, and the step that described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure is specially: the described request of obtaining is sent to switching center's system that the preposition node of described appointment is corresponding, so that specify preposition node to obtain request described in whether agreeing to described in switching center's system interrogation corresponding to the preposition node of described appointment; Monitor switching center's system that the preposition node of described appointment is corresponding and whether create the first exchange memory space, if, send feedback information to the switching center of described arbitrary level structure, so that the switching center of described arbitrary level structure creates the second exchange memory space and notifies described arbitrary preposition node to create data and read task; In the time receiving data that the switching center of described arbitrary preposition node by described arbitrary level structure send and read the information that task creation completes, notify the preposition node of described appointment to send described data.
In this technical scheme, send feedback information by the switching center's system to arbitrary level structure, make switching center's system of above-mentioned arbitrary level structure can create exchange memory space and notify above-mentioned arbitrary preposition node to create data and read task, can make the switching center of above-mentioned arbitrary level structure carry out in advance the preparation that receives data, and then can efficiently, stably receive data, thereby improve the stability of obtaining data.
In technique scheme, preferably, after described data being sent to described arbitrary preposition node, also comprise: whether the described data of monitoring in the preposition node of described appointment by switching center's system corresponding to the preposition node of described appointment are upgraded; In the time of the described data generation renewal listening to by switching center's system corresponding to the preposition node of described appointment in the preposition node of described appointment, again read the described data after renewal in the preposition node of described appointment, and be sent to described arbitrary preposition node.
In this technical scheme, specify the data in preposition node whether to upgrade by monitoring, and data in specified node are while occurring to upgrade, again read the data after renewal, can guarantee that above-mentioned arbitrary preposition node gets in time, data accurately.
In technique scheme, preferably, before being sent to described arbitrary preposition node by switching center's system of described arbitrary level structure, described data also comprise: described data are compressed and/or encryption.
In this technical scheme, by the compression to data, the bandwidth taking can reduce transfer of data time, and then can realize and transmit quickly and efficiently data; And by data are encrypted, can improve the fail safe of data, guarantee that data are transferred to above-mentioned arbitrary preposition node safely.
Wherein, the annexation for the data interaction device 200 of multilevel hierarchy and switching center's system of every level structure shown in Fig. 2 as shown in Figure 4.
Fig. 4 shows the annexation schematic diagram of data interaction device according to an embodiment of the invention and switching center's system.
As shown in Figure 4, the middleware that data interaction device 200 is carried out data interaction as switching centers at different levels system, by data interaction device 200, between upper level structure and lower structures, can carry out data double-way processing, switching centers at different levels system by and data interaction device 200 between carry out interactive command processing, can complete the tasks such as corresponding data subscription, exchange monitoring.
Fig. 5 shows the schematic block diagram of cascade unit according to an embodiment of the invention.
As shown in Figure 5, cascade unit 500 according to an embodiment of the invention, i.e. data interaction device described above, comprising:
Task management unit 502, for sharing for multi-stage data and exchange subscribing relationship, sets up and shares switching task, completes data and sends or reception & disposal.
Described task management unit 502 comprises: data-reading unit 5022, data transmission unit 5024 and data decryptor unit 5026.Wherein, the tasks such as data-reading unit 5022 is responsible for across the reading of DBMS, is deciphered, storage, it reads the data of higher level or lower level switching center, transfers to the task in task pool to process data.According to subscription information, the task that reads switching center direct and higher level or subordinate carries out interaction process.
Data transmission unit 5024, the tasks such as the responsible packing across DBMS, encryption, transmission.The data that send are by receiving the higher level of data or the switching center of subordinate carries out reception & disposal, and are responsible for being distributed to corresponding preposition node.
Data decryptor unit 5026, monitors data, while finding that there is Data Update, processes by corresponding task.
Cascade unit 500 also comprises: order monitoring unit 504, main and switching center carries out command interaction, completes data subscription or querying command processing.
Service routing unit 506, for carrying out real-time query across DBMS, be routed to across the preposition node of level and process by service request, to obtain real time data, route can directly be obtained the data that need according to configuration, also can entrust lower level switching center to complete query processing.
Fig. 6 shows the structural representation of data interaction system according to an embodiment of the invention.
As shown in Figure 6, cascade unit 500 is connected between switching center not at the same level.In the deployed environment of this multilevel hierarchy, each switching center can manage multiple preposition child nodes, with being sane level relation between the preposition child node in primary structure, the switching center of peer-to-peer architecture will not carry out data sharing and exchange, need to dispose cascade unit 500.Wherein, data subscription side can be the preposition child node of subordinate, and provider can be higher level's preposition child node; Between multilevel hierarchy, data sharing has more than for the structure step by step in figure and supports with exchange, can configure cascade unit across level, completes across DBMS and shares and exchange.
Fig. 7 shows the schematic flow diagram of the data interactive method for multilevel hierarchy according to another embodiment of the invention.
As shown in Figure 7, the data interactive method for multilevel hierarchy according to another embodiment of the invention, wherein the preposition node in higher level structure is as data subscription side, and the preposition node in lower structures is that example describes as data providing, and step is as follows:
Step 702, data subscription side (the preposition node of higher level) subscribes to application.
Step 704, higher level switching center asks judgement, judges to subscribe to whether application is across level application, if so, performs step 708; Otherwise, execution step 706.
Step 706, is not during across level application in the decision data subscriber's of higher level switching center subscription application, carries out peer and subscribes to and process.
Step 708, is during across level application in the decision data subscriber's of higher level switching center subscription application, asks forward process, and subscription request message is sent to cascade unit.
Step 710, the switching center that cascade unit is routed to data providing (the preposition node of appointment of being managed by lower level switching center) place according to the routing iinformation in subscription request message by subscribe request processes.
Step 712, lower level switching center asks to forward, and subscribe request is forwarded to data providing.
Step 714, data providing judges whether to agree to subscribe request, if so, performs step 716.
Step 716, subscribe request is examined processing at the preposition node of provider, and after agreement, lower level switching center will create data providing memory space, for storing subscription data information.
Step 718, cascade unit is monitored lower level switching center and is created the treatment state of memory space, and the process state information of lower level switching center is fed back to higher level switching center.
Step 720, higher level switching center, according to the process state information of cascade unit feedback, creates data subscription side's memory space.
Step 722, the notification data subscriber of higher level switching center creates data and reads task, is responsible for reading the data in the data receiver's memory space in higher level switching center, and carries out serializing storage.
Step 724, judges that whether the preparation of the preposition node of higher level and switching center is ready, if so, performs step 726.
Step 726, in the time that the preparation of the preposition node of higher level and switching center is ready, cascade unit carries out synch command processing, notifies lower level switching center to carry out data sending processing.
Step 728, lower level switching center carries out synch command processing.
Step 730, subordinate's data providing is according to subscription period information timed sending subscription data.
Step 732, lower level switching center carries out data statistics monitoring.
Step 734, cascade unit reads the data that lower level switching center sends.
Step 736, data are sent to higher level switching center by cascade unit.
Step 738, higher level switching center carries out data statistics monitoring.
Step 740, data subscription side receives data and stores.
More than be described with reference to the accompanying drawings technical scheme of the present invention, considering in correlation technique not between peer-to-peer architecture can only unidirectional delivery data, cannot complete arbitrarily not the mutual of data between peer-to-peer architecture.Therefore, the present invention proposes a kind of new data interaction scheme for multilevel hierarchy, realized in multilevel hierarchy not between peer-to-peer architecture the two-way exchange of data and shared, also improved the stability of transfer of data simultaneously.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. the data interaction device for multilevel hierarchy, it is characterized in that, every level structure in described multilevel hierarchy all includes for data being provided or obtaining at least one preposition nodes of data, and switching center's system for described at least one preposition node is managed, described data interaction device, comprising:
Connect and set up unit, for being connected with switching center's system of described every level structure;
Receiving element, the request of obtaining of the data in the preposition node of the appointment to other level structures sending by switching center's system of described arbitrary structure for the arbitrary preposition node that receives the arbitrary level structure of described multilevel hierarchy;
Processing unit, obtains request for described in basis, reads the data of described arbitrary preposition node acquisition request from the preposition node of described appointment, and described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure.
2. the data interaction device for multilevel hierarchy according to claim 1, is characterized in that, described processing unit comprises:
Acquiring unit, directly obtains described data from the preposition node of described appointment for obtaining request described in basis; And/or
Transmitting element, for notifying switching center's system that the preposition node of described appointment is corresponding, so that switching center's system corresponding to the preposition node of described appointment obtained and fed back described data from the preposition node of described appointment.
3. the data interaction device for multilevel hierarchy according to claim 2, is characterized in that, described transmitting element specifically for:
The described request of obtaining is sent to switching center's system that the preposition node of described appointment is corresponding, so that specify preposition node to obtain request described in whether agreeing to described in switching center's system interrogation corresponding to the preposition node of described appointment, and when listening to switching center's system creation first that the preposition node of described appointment is corresponding at the first monitoring unit and exchange memory space, switching center to described arbitrary level structure sends feedback information, so that the switching center of described arbitrary level structure creates the second exchange memory space and notifies described arbitrary preposition node to create data and read task, and in the time that described receiving element receives data that the switching center of described arbitrary preposition node by described arbitrary level structure send and reads the information that task creation completes, notify the preposition node of described appointment to send described data,
Whether described the first monitoring unit, create the first exchange storage center for monitoring switching center's system that the preposition node of described appointment is corresponding;
Described receiving element also for, receive the described data that the switching center of described arbitrary preposition node by described arbitrary level structure send and read the information that task creation completes.
4. according to the data interaction device for multilevel hierarchy described in any one in claims 1 to 3, it is characterized in that, also comprise:
The second monitoring unit, for after described data being sent to described arbitrary preposition node, whether the described data of monitoring in the preposition node of described appointment by switching center's system corresponding to the preposition node of described appointment are upgraded;
Described processing unit also for, in the time that described the second monitoring unit listens to described data in the preposition node of described appointment and occurs to upgrade, again read the data after upgrading in the preposition node of described appointment, and be sent to described arbitrary preposition node.
5. according to the data interaction device for multilevel hierarchy described in any one in claims 1 to 3, it is characterized in that, also comprise:
Compression unit, for compressing described data before described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure; And/or
Ciphering unit, for being encrypted described data before described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure.
6. the data interactive method for multilevel hierarchy, it is characterized in that, every level structure in described multilevel hierarchy all includes for data being provided or obtaining at least one preposition nodes of data, and switching center's system for described at least one preposition node is managed, described data interactive method, comprising:
Be connected with switching center's system of described every level structure;
Receive the arbitrary preposition node of arbitrary level structure in described multilevel hierarchy by the request of obtaining of the data in the preposition node of the appointment to other level structures of switching center's system transmission of described arbitrary structure;
Obtain request according to described, from the preposition node of described appointment, read the data of described arbitrary preposition node acquisition request, and described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure.
7. the data interactive method for multilevel hierarchy according to claim 6, is characterized in that, obtains request according to described, and the step that reads the data of described arbitrary preposition node acquisition request from the preposition node of described appointment is specially:
Directly from the preposition node of described appointment, obtain described data according to the described request of obtaining; Or
Notify switching center's system that the preposition node of described appointment is corresponding, so that switching center's system corresponding to the preposition node of described appointment obtained and fed back described data from the preposition node of described appointment.
8. the data interactive method for multilevel hierarchy according to claim 7, it is characterized in that, obtain request according to described, from the preposition node of described appointment, read the data of described arbitrary preposition node acquisition request, and the step that described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure is specially:
The described request of obtaining is sent to switching center's system that the preposition node of described appointment is corresponding, so that specify preposition node to obtain request described in whether agreeing to described in switching center's system interrogation corresponding to the preposition node of described appointment;
Monitor switching center's system that the preposition node of described appointment is corresponding and whether create the first exchange memory space, if, send feedback information to the switching center of described arbitrary level structure, so that the switching center of described arbitrary level structure creates the second exchange memory space and notifies described arbitrary preposition node to create data and read task;
In the time receiving data that the switching center of described arbitrary preposition node by described arbitrary level structure send and read the information that task creation completes, notify the preposition node of described appointment to send described data.
9. according to the data interactive method for multilevel hierarchy described in any one in claim 6 to 9, it is characterized in that, after described data being sent to described arbitrary preposition node, also comprise:
Whether the described data of monitoring in the preposition node of described appointment by switching center's system corresponding to the preposition node of described appointment are upgraded;
In the time of the described data generation renewal listening to by switching center's system corresponding to the preposition node of described appointment in the preposition node of described appointment, again read the described data after renewal in the preposition node of described appointment, and be sent to described arbitrary preposition node.
10. according to the data interactive method for multilevel hierarchy described in any one in claim 6 to 9, it is characterized in that, before described data are sent to described arbitrary preposition node by switching center's system of described arbitrary level structure, also comprise: described data are compressed and/or encryption.
CN201410505877.6A 2014-09-26 2014-09-26 Data interaction device and method for multilevel hierarchy Expired - Fee Related CN104202230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410505877.6A CN104202230B (en) 2014-09-26 2014-09-26 Data interaction device and method for multilevel hierarchy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410505877.6A CN104202230B (en) 2014-09-26 2014-09-26 Data interaction device and method for multilevel hierarchy

Publications (2)

Publication Number Publication Date
CN104202230A true CN104202230A (en) 2014-12-10
CN104202230B CN104202230B (en) 2017-12-05

Family

ID=52087460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410505877.6A Expired - Fee Related CN104202230B (en) 2014-09-26 2014-09-26 Data interaction device and method for multilevel hierarchy

Country Status (1)

Country Link
CN (1) CN104202230B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111092940A (en) * 2019-12-06 2020-05-01 浩云科技股份有限公司 Cascade data synchronization system
CN112788074A (en) * 2019-11-07 2021-05-11 中兴通讯股份有限公司 Data transmitting method, processing method, receiving method and equipment and storage medium
CN113055316A (en) * 2019-12-27 2021-06-29 谷歌有限责任公司 Multi-stage switching topology
CN116503010A (en) * 2023-03-09 2023-07-28 北京健康在线技术开发有限公司 Data statistics method, device, equipment and medium based on multi-stage data reporting

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741616A (en) * 2009-12-03 2010-06-16 北京和利时系统工程有限公司 Data acquisition system and device thereof
CN101795222A (en) * 2009-11-13 2010-08-04 深圳市科陆电子科技股份有限公司 Multi-stage forward service system and method
WO2011150718A1 (en) * 2010-06-01 2011-12-08 杭州和利时自动化有限公司 Data sharing realization method for distributed control system and device thereof
CN102281286A (en) * 2010-06-14 2011-12-14 微软公司 Flexible end-point compliance and strong authentication for distributed hybrid enterprises
CN103532838A (en) * 2013-10-09 2014-01-22 中国联合网络通信集团有限公司 Method and system for realizing data exchange between isolation networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795222A (en) * 2009-11-13 2010-08-04 深圳市科陆电子科技股份有限公司 Multi-stage forward service system and method
CN101741616A (en) * 2009-12-03 2010-06-16 北京和利时系统工程有限公司 Data acquisition system and device thereof
WO2011150718A1 (en) * 2010-06-01 2011-12-08 杭州和利时自动化有限公司 Data sharing realization method for distributed control system and device thereof
CN102281286A (en) * 2010-06-14 2011-12-14 微软公司 Flexible end-point compliance and strong authentication for distributed hybrid enterprises
CN103532838A (en) * 2013-10-09 2014-01-22 中国联合网络通信集团有限公司 Method and system for realizing data exchange between isolation networks

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112788074A (en) * 2019-11-07 2021-05-11 中兴通讯股份有限公司 Data transmitting method, processing method, receiving method and equipment and storage medium
CN112788074B (en) * 2019-11-07 2024-05-31 中兴通讯股份有限公司 Data transmitting method, processing method, receiving method, apparatus thereof, and storage medium
CN111092940A (en) * 2019-12-06 2020-05-01 浩云科技股份有限公司 Cascade data synchronization system
CN113055316A (en) * 2019-12-27 2021-06-29 谷歌有限责任公司 Multi-stage switching topology
CN113055316B (en) * 2019-12-27 2023-05-26 谷歌有限责任公司 Multistage switching topology
CN116503010A (en) * 2023-03-09 2023-07-28 北京健康在线技术开发有限公司 Data statistics method, device, equipment and medium based on multi-stage data reporting
CN116503010B (en) * 2023-03-09 2024-03-15 北京健康在线技术开发有限公司 Data statistics method, device, equipment and medium based on multi-stage data reporting

Also Published As

Publication number Publication date
CN104202230B (en) 2017-12-05

Similar Documents

Publication Publication Date Title
CN112799789B (en) Node cluster management method, device, equipment and storage medium
CN111476171B (en) Distributed object recognition system and method and edge computing equipment
Maksymyuk et al. An IoT based monitoring framework for software defined 5G mobile networks
KR20220079958A (en) Blockchain message processing method and device, computer and readable storage medium
CN111913833B (en) Medical internet of things transaction system based on blockchain
CN110009201B (en) Electric power data link system and method based on block chain technology
CN101730094B (en) Method for accessing terminal equipment to service platform of security system and transmitting information
CN105099761A (en) Method and system for concentratedly managing configuration information of client
CN101883108B (en) Document transmission method and system of dynamic authentication
CN102567396A (en) Method, system and device for data mining on basis of cloud computing
US8566437B2 (en) Systems and methods for improved multisite management of converged communication systems and computer systems
CN104202230A (en) Data interaction device and method for multi-level structure
US20160344582A1 (en) Call home cluster
CN109314696B (en) Method and device for managing network slices
CN105615832A (en) Medical image data acquisition method and device
US9425982B2 (en) Server and method for providing device management service and device receiving the device management service
Pencheva et al. Engineering of web services for internet of things applications
CN102045189A (en) Network management system and method
CN101527739A (en) Storage method and device
CN115794373A (en) Calculation force resource hierarchical scheduling method, system, electronic equipment and storage medium
CN110049027A (en) A kind of transmission platform for block chain network information
CN101945086A (en) Security system access business platform for video type security gateway and information transmission method
CN112035494A (en) Data exchange method and system based on dynamic construction of data link
US20180359322A1 (en) Service element host selection
CN109862526A (en) Document transmission method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171205