CN105357047A - Network management system equipment data synchronization method, device and system - Google Patents
Network management system equipment data synchronization method, device and system Download PDFInfo
- Publication number
- CN105357047A CN105357047A CN201510817120.5A CN201510817120A CN105357047A CN 105357047 A CN105357047 A CN 105357047A CN 201510817120 A CN201510817120 A CN 201510817120A CN 105357047 A CN105357047 A CN 105357047A
- Authority
- CN
- China
- Prior art keywords
- synchronization request
- request example
- message queue
- network management
- management system
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/042—Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a network management system equipment data synchronization method which comprises the following steps: receiving a synchronization request; carrying out packaging according to the synchronization request to obtain a synchronization request instance; traversing synchronization request instances in a message queue and comparing the synchronization request instances with the synchronization request instance; judging whether the message queue has the synchronization request instance same with the synchronization request instance; when the message queue has the synchronization request instance same with the synchronization request instance, abandoning the synchronization request instance; and when the message queue has no synchronization request instance same with the synchronization request instance, adding the synchronization request instance to the message queue. Correspondingly, the invention also discloses a network management system equipment data synchronization device and system. According to the technical scheme above, data synchronization efficiency of the network management system and system performance of the network management system are improved.
Description
Technical field
The present invention relates to technical field of network communication, particularly relate to a kind of device data synchronous method, Apparatus and system of network management system.
Background technology
Along with the high speed development of network technology, the network equipment is also constantly upgrading.Traditional client/server (Client/Server, C/S) network frame develops into browser/server (Browser/Server gradually, B/S) network frame, multiple user interior situation of consolidated network equipment being carried out to data syn-chronization operation at one time can be faced like this, and the data of this network equipment change hardly at short notice, this network equipment is caused constantly to repeat synchronously carry out data syn-chronization operation and take a large amount of system resource, also cannot process other request of data of user in time simultaneously, cause the data synchronization efficiency of whole network equipment system lower and affect the systematic function of network management system.
Summary of the invention
Given this, the invention provides a kind of device data synchronous method, Apparatus and system of network management system, solve existing network management system process consolidated network equipment with multiple synchronization request time synchronous efficiency low and influential system performance technical problem.
According to one embodiment of present invention, a kind of device data synchronous method of network management system is provided, comprises: receive synchronization request; Synchronization request example is obtained according to described synchronization request encapsulation; Synchronization request example in traversal message queue also compares with described synchronization request example; Judge in described message queue, whether to there is the synchronization request example identical with described synchronization request example; Described synchronization request example is abandoned when there is the synchronization request example identical with described synchronization request example in described message queue; And when there is not the synchronization request example identical with described synchronization request example in described message queue, described synchronization request example is added in message queue.
Preferably, described obtain synchronization request example according to the encapsulation of described synchronization request after also comprise: whether detect-message queue is empty; When described message queue being detected not for traveling through the synchronization request example in message queue time empty and comparing with described synchronization request example; And when detecting that described message queue is for adding to described synchronization request example in message queue time empty.
Preferably, described described synchronization request example is added in message queue after also comprise: create new mission thread and perform described synchronization request example to carry out synchronously device data.
Preferably, perform described synchronization request example at the mission thread that described establishment is new also to comprise to carry out synchronously to device data before: whether the Thread Count in monitoring thread pond is less than preset value.
Preferably, described synchronization request example comprises the type of requesting service, address and positional information.
According to another embodiment of the invention, a kind of device data synchronizer of network management system is provided, comprises: receiving element, for receiving synchronization request; Encapsulation unit, obtains synchronization request example for the described synchronization request encapsulation received according to described receiving element; Comparing unit, compares with the synchronization request example that described encapsulation unit obtains for the synchronization request example that travels through in message queue; Whether judging unit, exist the synchronization request example identical with described synchronization request example for judging according to the comparative result of described comparing unit in described message queue; Discarding unit, abandons described synchronization request example for judging when described judging unit when there is the synchronization request example identical with described synchronization request example in described message queue; And adding device, during for judging there is not the synchronization request example identical with described synchronization request example in described message queue when described judging unit, described synchronization request example is added in message queue.
Preferably, the device data synchronizer of described network management system also comprises detecting unit, be whether empty for detect-message queue, when described detecting unit detects message queue not for time empty, the synchronization request example in described comparing unit traversal message queue also compares with the synchronization request example that described encapsulation unit obtains; And when described detecting unit detects that message queue is sky, described synchronization request example adds in message queue by described adding device.
Preferably, the device data synchronizer of described network management system also comprises synchronous performance element, performs described synchronization request example to carry out synchronously device data for creating new mission thread.
Preferably, the device data synchronizer of described network management system also comprises monitoring unit, for the Thread Count in monitoring thread pond, when the Thread Count that described monitoring unit monitors in thread pool is less than preset value, described synchronous performance element creates new mission thread and performs described synchronization request example to carry out synchronously device data.
According to one more embodiment of the present invention, provide a kind of electronic system, described electronic system comprises the device data synchronizer of above-mentioned network management system.
The device data synchronous method of network management system provided by the invention, Apparatus and system, synchronization request is encapsulated as synchronization request example and the synchronization request example in itself and message queue is compared, described synchronization request example is abandoned when there is the synchronization request example identical with described synchronization request example in described message queue, avoid repeating simultaneous operation in the short time and take a large amount of system resource, improve the data synchronization efficiency of network management system and the systematic function of network management system.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described.Apparently, the accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the device data synchronous method of network management system in first embodiment of the invention.
Fig. 2 is the schematic flow sheet of the device data synchronous method of network management system in second embodiment of the invention.
Fig. 3 is the schematic flow sheet of the device data synchronous method of network management system in third embodiment of the invention.
Fig. 4 is the structural representation of the device data synchronizer of network management system in fourth embodiment of the invention.
Fig. 5 is the structural representation of the device data synchronizer of network management system in fifth embodiment of the invention.
Fig. 6 is the structural representation of the device data synchronizer of network management system in sixth embodiment of the invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, more detailed description is further done to technical scheme of the present invention.Obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, all should belong to the scope of protection of the invention.
In describing the invention, it is to be appreciated that term " first ", " second " etc. are only for describing object, and instruction or hint relative importance can not be interpreted as.In describing the invention, it should be noted that, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, such as, can be fixedly connected with, also can be removably connect, or connect integratedly; Can be mechanical connection, also can be electrical connection; Can be directly be connected, also indirectly can be connected by intermediary.For the ordinary skill in the art, above-mentioned term concrete meaning in the present invention can be understood in conjunction with concrete condition.In addition, in describing the invention, except as otherwise noted, the implication of " multiple " is two or more.
Describe and can be understood in flow chart or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
Fig. 1 is the schematic flow sheet of the device data synchronous method of network management system in first embodiment of the invention.As shown in the figure, the device data synchronous method of the network management system that the present embodiment provides, comprising:
Step S101: receive synchronization request.
Wherein, the data synchronization request for consolidated network equipment in network management system that described synchronization request can be sent by client or browser for user, obtains the type of the requesting service that described synchronization request is correlated with, address and positional information simultaneously.
Step S102: obtain synchronization request example according to described synchronization request encapsulation.
Concrete, the type of described synchronization request and relevant requesting service, address and positional information are encapsulated as synchronization request example.Described synchronization request example comprises the type of requesting service, address and positional information.
Step S103: the synchronization request example in traversal message queue also compares with described synchronization request example.
Step S104: judge whether there is the synchronization request example identical with described synchronization request example in described message queue.
Concrete, when comparing and judge, the type of the requesting service of the type of the requesting service of each the synchronization request example in described message queue, address and positional information and described synchronization request example, address and positional information are compared respectively.Described message queue objectFIFO is the instance objects of objectFIFO class, is the collection class of a first in first out, is used for storing synchronization request example.
Step S105: abandon described synchronization request example when there is the synchronization request example identical with described synchronization request example in described message queue.
Concrete, when there is the synchronization request example identical with described synchronization request example in described message queue, then judge that described synchronization request example is as the synchronization request example repeated in special time.Because described device data changes hardly at short notice, if constantly repeat data syn-chronization operation can take a large amount of system resource, also cannot process other request of data of user in time simultaneously, cause the data synchronization efficiency of whole network management system lower and affect the systematic function of network management system.Therefore, in the present embodiment, for the synchronization request example repeated in the same time, can directly to abandon and without the need to again performing simultaneous operation to described synchronization request example.
Step S106: described synchronization request example is added in message queue when there is not the synchronization request example identical with described synchronization request example in described message queue.
Concrete, when there is not the synchronization request example identical with described synchronization request example in described message queue, judge described synchronization request example and the synchronization request example repeated in no specific time, then described synchronization request example is added in message queue, create new mission thread with the runWork () method in the ThreadPoolWorker class of administrative class Manager invokes thread pond, subsequent thread pond and perform described synchronization request example, realize data syn-chronization operation.
The device data synchronous method of the network management system that the embodiment of the present invention provides, synchronization request is encapsulated as synchronization request example and the synchronization request example in itself and message queue is compared, described synchronization request example is abandoned when there is the synchronization request example identical with described synchronization request example in described message queue, avoid repeating simultaneous operation in the short time and take a large amount of system resource, improve the data synchronization efficiency of network management system and the systematic function of network management system.
Fig. 2 is the schematic flow sheet of the device data synchronous method of network management system in second embodiment of the invention.As shown in the figure, the device data synchronous method of the network management system that the present embodiment provides, comprising:
Step S201: receive synchronization request.
Wherein, the data synchronization request for consolidated network equipment in network management system that described synchronization request can be sent by client or browser for user, obtains the type of the requesting service that described synchronization request is correlated with, address and positional information simultaneously.
Step S202: obtain synchronization request example according to described synchronization request encapsulation.
Concrete, the type of described synchronization request and relevant requesting service, address and positional information are encapsulated as synchronization request example.Described synchronization request example comprises the type of requesting service, address and positional information.
Step S203: the synchronization request example in traversal message queue also compares with described synchronization request example.
Step S204: judge whether there is the synchronization request example identical with described synchronization request example in described message queue.
Concrete, when comparing and judge, the type of the requesting service of the type of the requesting service of each the synchronization request example in described message queue, address and positional information and described synchronization request example, address and positional information are compared respectively.Described message queue objectFIFO is the instance objects of objectFIFO class, is the collection class of a first in first out, is used for storing synchronization request example.
Step S205: abandon described synchronization request example when there is the synchronization request example identical with described synchronization request example in described message queue.
Concrete, when there is the synchronization request example identical with described synchronization request example in described message queue, then judge that described synchronization request example is as the synchronization request example repeated in special time.Because described device data changes hardly at short notice, if constantly repeat data syn-chronization operation can take a large amount of system resource, also cannot process other request of data of user in time simultaneously, cause the data synchronization efficiency of whole network management system lower and affect the systematic function of network management system.Therefore, in the present embodiment, for the synchronization request example repeated in the same time, can directly to abandon and without the need to again performing simultaneous operation to described synchronization request example.
Step S206: described synchronization request example is added in message queue when there is not the synchronization request example identical with described synchronization request example in described message queue.
Concrete, when there is not the synchronization request example identical with described synchronization request example in described message queue, judge described synchronization request example and the synchronization request example repeated in no specific time, then described synchronization request example is added in message queue, carry out data syn-chronization operation with the mission thread new in follow-up establishment.
Step S207: whether the Thread Count in monitoring thread pond is less than preset value.
Concrete, the Thread Count constantly in real-time monitoring thread pond, when monitoring Thread Count and being less than preset value, then the described synchronization request example that can call in described queue message processes; When monitoring Thread Count and being greater than preset value, continue the Thread Count in real-time monitoring thread pond.
Step S208: create new mission thread and perform described synchronization request example to carry out synchronously device data.
Concrete, when the Thread Count in monitoring thread pond is less than preset value, runWork () method in the ThreadPoolWorker class of thread pool administrative class Manager invokes thread pond creates new mission thread and performs described synchronization request example, realizes the simultaneous operation to device data.
Fig. 3 is the schematic flow sheet of the device data synchronous method of network management system in third embodiment of the invention.As shown in the figure, the device data synchronous method of the network management system that the present embodiment provides, comprising:
Step S301: receive synchronization request.
Wherein, the data synchronization request for consolidated network equipment in network management system that described synchronization request can be sent by client or browser for user, obtains the type of the requesting service that described synchronization request is correlated with, address and positional information simultaneously.
Step S302: obtain synchronization request example according to described synchronization request encapsulation.
Concrete, the type of described synchronization request and relevant requesting service, address and positional information are encapsulated as synchronization request example.Described synchronization request example comprises the type of requesting service, address and positional information.
Step S303: whether detect-message queue is empty.
Wherein, described message queue objectFIFO is the instance objects of objectFIFO class, is the collection class of a first in first out, is used for storing synchronization request example.Judge whether described message queue objectFIFO is empty by the Process () method in ThreadPoolWorker class.
When detecting that described message queue is for time empty, judging the synchronization request not having other in current message queue objectFIFO, described synchronization request example can be added in message queue.When described message queue being detected not for time empty, then need to judge whether described synchronization request example is the synchronization request example repeated in the short time.
Step S304: the synchronization request example in traversal message queue also compares with described synchronization request example.
Step S305: judge whether there is the synchronization request example identical with described synchronization request example in described message queue.
Concrete, when comparing and judge, the type of the requesting service of the type of the requesting service of each the synchronization request example in described message queue, address and positional information and described synchronization request example, address and positional information are compared respectively.
Step S306: abandon described synchronization request example when there is the synchronization request example identical with described synchronization request example in described message queue.
Concrete, when there is the synchronization request example identical with described synchronization request example in described message queue, then judge that described synchronization request example is as the synchronization request example repeated in special time.Because described device data changes hardly at short notice, if constantly repeat data syn-chronization operation can take a large amount of system resource, also cannot process other request of data of user in time simultaneously, cause the data synchronization efficiency of whole network management system lower and affect the systematic function of network management system.Therefore, in the present embodiment, for the synchronization request example repeated in the same time, can directly to abandon and without the need to again performing simultaneous operation to described synchronization request example.
Step S307: described synchronization request example is added in message queue when there is not the synchronization request example identical with described synchronization request example in described message queue.
Concrete, when there is not the synchronization request example identical with described synchronization request example in described message queue, judge described synchronization request example and the synchronization request example repeated in no specific time, then described synchronization request example is added in message queue, carry out data syn-chronization operation with the mission thread new in follow-up establishment.
Step S308: whether the Thread Count in monitoring thread pond is less than preset value.
Concrete, the Thread Count constantly in real-time monitoring thread pond, when monitoring Thread Count and being less than preset value, then the described synchronization request example that can call in described queue message processes; When monitoring Thread Count and being greater than preset value, continue the Thread Count in real-time monitoring thread pond.
Step S309: create new mission thread and perform described synchronization request example to carry out synchronously device data.
Concrete, when the Thread Count in monitoring thread pond is less than preset value, runWork () method in the ThreadPoolWorker class of thread pool administrative class Manager invokes thread pond creates new mission thread and performs described synchronization request example, realizes the simultaneous operation to device data.
Fig. 4 is the structural representation of the device data synchronizer of network management system in fourth embodiment of the invention.As shown in the figure, on the basis of said method embodiment, the device data synchronizer 10 of the network management system that the present embodiment provides comprises receiving element 101, encapsulation unit 102, comparing unit 103, judging unit 104, discarding unit 105 and adding device 106.
Described receiving element 101, for receiving synchronization request.Wherein, the data synchronization request for consolidated network equipment in network management system that described synchronization request can be sent by client or browser for user, described receiving element 101 obtains the type of the requesting service that described synchronization request is correlated with, address and positional information simultaneously receiving described synchronization request.
Described encapsulation unit 102, obtains synchronization request example for the described synchronization request encapsulation received according to described receiving element 101.Concrete, the type of described synchronization request and relevant requesting service, address and positional information are encapsulated as synchronization request example by described encapsulation unit 102.Described synchronization request example comprises the type of requesting service, address and positional information.
Described comparing unit 103, compares with the synchronization request example that described encapsulation unit 102 obtains for the synchronization request example that travels through in message queue.Described message queue objectFIFO is the instance objects of objectFIFO class, is the collection class of a first in first out, is used for storing synchronization request example.The type of the requesting service of the type of the requesting service of each the synchronization request example in described message queue objectFIFO, address and positional information and described synchronization request example, address and positional information compare by described comparing unit 103 respectively.
Described judging unit 104, for judging whether there is the synchronization request example identical with described synchronization request example in described message queue according to the comparative result of described comparing unit 103.
Described discarding unit 105, abandons described synchronization request example for judging when described judging unit 104 when there is the synchronization request example identical with described synchronization request example in described message queue.Concrete, when described judging unit 104 judges to there is the synchronization request example identical with described synchronization request example in described message queue, then judge that described synchronization request example is as the synchronization request example repeated in special time.Because described device data changes hardly at short notice, if constantly repeat data syn-chronization operation can take a large amount of system resource, also cannot process other request of data of user in time simultaneously, cause the data synchronization efficiency of whole network management system lower and affect the systematic function of network management system.Therefore, in the present embodiment, for the synchronization request example repeated in the same time, described discarding unit 105 can directly abandon and without the need to again performing simultaneous operation to described synchronization request example.
Adding device 106, adds to described synchronization request example in message queue during for judging there is not the synchronization request example identical with described synchronization request example in described message queue when described judging unit 104.Concrete, when described judging unit 104 judges there is not the synchronization request example identical with described synchronization request example in described message queue, judge described synchronization request example and the synchronization request example repeated in no specific time, then described synchronization request example adds in message queue by described adding device 106, create new mission thread with the runWork () method in the ThreadPoolWorker class of administrative class Manager invokes thread pond, subsequent thread pond and perform described synchronization request example, realize data syn-chronization operation.
The device data synchronizer of the network management system that the embodiment of the present invention provides, synchronization request is encapsulated as synchronization request example by encapsulation unit, synchronization request example in synchronization request example and message queue compares by comparing unit, when judging unit judges to there is the synchronization request example identical with described synchronization request example in described message queue, described synchronization request example is abandoned by discarding unit, avoid repeating simultaneous operation in the short time and take a large amount of system resource, improve the data synchronization efficiency of network management system and the systematic function of network management system.
Fig. 5 is the structural representation of the device data synchronizer of network management system in fifth embodiment of the invention.On the basis of fourth embodiment of the invention, the device data synchronizer 10 of the network management system that the embodiment of the present invention provides comprises monitoring unit 107 and synchronous performance element 108 further.
Described monitoring unit 107, is connected with described adding device 106, for the Thread Count in monitoring thread pond.Thread Count in the continuous monitoring thread pond in real time of described monitoring unit 107, when described monitoring unit 107 Thread Count monitored in thread pool is less than preset value, described synchronous performance element 108 can call the described synchronization request example in described queue message, and creates new mission thread and perform described synchronization request example to carry out synchronously device data.When described monitoring unit 107 monitor Thread Count be greater than preset value time, continue the Thread Count in real-time monitoring thread pond.
Described synchronous performance element 108, is connected with described monitoring unit 107, performs described synchronization request example to carry out synchronously device data for creating new mission thread.Concrete, when the Thread Count in described monitoring unit 107 monitoring thread pond is less than preset value, runWork () method in the ThreadPoolWorker class of thread pool administrative class Manager invokes thread pond creates new mission thread and performs described synchronization request example, realizes the simultaneous operation to device data.
Fig. 6 is the structural representation of the device data synchronizer of network management system in sixth embodiment of the invention.On the basis of fifth embodiment of the invention, the device data synchronizer 10 of the network management system that the embodiment of the present invention provides comprises detecting unit 109 further.
Whether described detecting unit 109 is connected with described encapsulation unit 102, be empty for detect-message queue.Described message queue objectFIFO is the instance objects of objectFIFO class, is the collection class of a first in first out, is used for storing synchronization request example.Concrete, by the Process () method in ThreadPoolWorker class, described detecting unit 109 judges whether described message queue objectFIFO is empty.
When described detecting unit 109 detects message queue not for time empty, need to judge whether described synchronization request example is the synchronization request example repeated in the short time, and described comparing unit 103 travels through the synchronization request example in message queue and compares with the synchronization request example that described encapsulation unit 102 obtains.When described detecting unit 109 detects that message queue is sky, judge the synchronization request not having other in current message queue objectFIFO, described synchronization request example adds in message queue by described adding device 106.
Be understandable that, the device data synchronizer of the network management system that the above embodiment of the present invention provides can be used alone, and the functional module that also can be used for improving the data synchronization efficiency of network management system and the systematic function of network management system as electronic equipment uses.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. describe the specific features, structure, material or the feature that mean to describe in conjunction with this embodiment or example and are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple change, amendment, replacement and modification to these embodiments when not departing from principle of the present invention and aim, scope of the present invention is by claim and equivalents thereof.
Claims (10)
1. a device data synchronous method for network management system, is characterized in that, comprising:
Receive synchronization request;
Synchronization request example is obtained according to described synchronization request encapsulation;
Synchronization request example in traversal message queue also compares with described synchronization request example;
Judge in described message queue, whether to there is the synchronization request example identical with described synchronization request example;
Described synchronization request example is abandoned when there is the synchronization request example identical with described synchronization request example in described message queue; And
When there is not the synchronization request example identical with described synchronization request example in described message queue, described synchronization request example is added in message queue.
2. the device data synchronous method of network management system as claimed in claim 1, is characterized in that, wherein described obtain synchronization request example according to described synchronization request encapsulation after also comprise:
Whether detect-message queue is empty;
When described message queue being detected not for traveling through the synchronization request example in message queue time empty and comparing with described synchronization request example; And
When detecting that described message queue is for adding to described synchronization request example in message queue time empty.
3. the device data synchronous method of network management system as claimed in claim 1, is characterized in that, wherein described described synchronization request example is added in message queue after also comprise:
Create new mission thread and perform described synchronization request example to carry out synchronously device data.
4. the device data synchronous method of network management system as claimed in claim 3, it is characterized in that, wherein perform described synchronization request example at the mission thread that described establishment is new and also comprised before device data being carried out synchronously: whether the Thread Count in monitoring thread pond is less than preset value.
5. the device data synchronous method of network management system as claimed in claim 1, is characterized in that, wherein said synchronization request example comprises the type of requesting service, address and positional information.
6. a device data synchronizer for network management system, is characterized in that, comprising:
Receiving element, for receiving synchronization request;
Encapsulation unit, obtains synchronization request example for the described synchronization request encapsulation received according to described receiving element;
Comparing unit, compares with the synchronization request example that described encapsulation unit obtains for the synchronization request example that travels through in message queue;
Whether judging unit, exist the synchronization request example identical with described synchronization request example for judging according to the comparative result of described comparing unit in described message queue;
Discarding unit, abandons described synchronization request example for judging when described judging unit when there is the synchronization request example identical with described synchronization request example in described message queue; And
Adding device, adds to described synchronization request example in message queue during for judging there is not the synchronization request example identical with described synchronization request example in described message queue when described judging unit.
7. the device data synchronizer of network management system as claimed in claim 6, it is characterized in that, also comprise detecting unit, be whether empty for detect-message queue, when described detecting unit detects message queue not for time empty, the synchronization request example in described comparing unit traversal message queue also compares with the synchronization request example that described encapsulation unit obtains; And when described detecting unit detects that message queue is sky, described synchronization request example adds in message queue by described adding device.
8. the device data synchronizer of network management system as claimed in claim 6, is characterized in that, also comprises synchronous performance element, performing described synchronization request example to carry out synchronously device data for creating new mission thread.
9. the device data synchronizer of network management system as claimed in claim 8, it is characterized in that, also comprise monitoring unit, for the Thread Count in monitoring thread pond, when the Thread Count that described monitoring unit monitors in thread pool is less than preset value, described synchronous performance element creates new mission thread and performs described synchronization request example to carry out synchronously device data.
10. an electronic system, is characterized in that, described electronic system comprises the device data synchronizer of the network management system as described in any one of claim 6 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510817120.5A CN105357047A (en) | 2015-11-23 | 2015-11-23 | Network management system equipment data synchronization method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510817120.5A CN105357047A (en) | 2015-11-23 | 2015-11-23 | Network management system equipment data synchronization method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105357047A true CN105357047A (en) | 2016-02-24 |
Family
ID=55332923
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510817120.5A Pending CN105357047A (en) | 2015-11-23 | 2015-11-23 | Network management system equipment data synchronization method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105357047A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594884A (en) * | 2012-02-09 | 2012-07-18 | 成都三零凯天通信实业有限公司 | Method and system for automatically distributing and synchronizing multi-stage data constructed based on browser/server (B/S) |
CN102904887A (en) * | 2012-09-26 | 2013-01-30 | 东软集团股份有限公司 | Method and system for data synchronization of Web client and server |
CN104717105A (en) * | 2015-02-11 | 2015-06-17 | 西安航天自动化股份有限公司 | Industrial sensor network data repeated detecting method based on standard ISA 100.11a |
CN104811378A (en) * | 2015-03-26 | 2015-07-29 | 重庆金美通信有限责任公司 | Route isolation and synchronization method |
-
2015
- 2015-11-23 CN CN201510817120.5A patent/CN105357047A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102594884A (en) * | 2012-02-09 | 2012-07-18 | 成都三零凯天通信实业有限公司 | Method and system for automatically distributing and synchronizing multi-stage data constructed based on browser/server (B/S) |
CN102904887A (en) * | 2012-09-26 | 2013-01-30 | 东软集团股份有限公司 | Method and system for data synchronization of Web client and server |
CN104717105A (en) * | 2015-02-11 | 2015-06-17 | 西安航天自动化股份有限公司 | Industrial sensor network data repeated detecting method based on standard ISA 100.11a |
CN104811378A (en) * | 2015-03-26 | 2015-07-29 | 重庆金美通信有限责任公司 | Route isolation and synchronization method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101707606B1 (en) | Service-based communication network evaluation method and device | |
CN108156074A (en) | Pretection switch method, the network equipment and system | |
CN103237060B (en) | A kind of data object acquisition, Apparatus and system | |
EP3742786A1 (en) | Network alarm method, device, system and terminal | |
US20170331665A1 (en) | Methos and first network node for managing a stream control transmission protocol association | |
CN105407413A (en) | Distributed video transcoding method and related device and system | |
EP3326406B1 (en) | Acceleration facility control in a network | |
RU2019126328A (en) | METHOD, DATA TRANSMISSION DEVICE AND COMMUNICATION SYSTEM | |
CN103713974A (en) | High-performance job scheduling management node dual-computer reinforcement method and device | |
CN114338367A (en) | Fault positioning method and device and computer storage medium | |
CN104320285A (en) | Website running status monitoring method and device | |
CN103108000A (en) | Task synchronization method and system and host node and work nodes in system | |
CN103475657A (en) | Method and device for processing SYN flood prevention | |
CN107181689B (en) | Message interaction method and device between routers | |
CN103220189A (en) | Multi-active detection (MAD) backup method and equipment | |
CN107948000B (en) | Method, device and system for switching main channel and standby channel | |
CN104639450A (en) | Data package forwarding control method and device and SDN (software defined network) frame system | |
CN105933271A (en) | Data processing method and apparatus based on encoder | |
CN105357047A (en) | Network management system equipment data synchronization method, device and system | |
CN104968051A (en) | Cell broadband up link resource distribution method and apparatus | |
CN104503885A (en) | Timing door watching device and system | |
CN103841047A (en) | Link aggregation method and device | |
CN105337781A (en) | Network management system and method and network system | |
EP3232617A1 (en) | Protection switching method and system, and nodes | |
CN104640152A (en) | Coexisting method and coexisting device for M2M (machine to machine) service and H2H (human to human) service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160224 |
|
RJ01 | Rejection of invention patent application after publication |