Unlock instant, AI-driven research and patent intelligence for your innovation.

Multithreaded data synchronization method and device

A data synchronization and multi-threading technology, applied in the field of communication, can solve the problem of low thread utilization and achieve the effect of improving efficiency

Active Publication Date: 2014-11-05
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] Aiming at the problem in the related art that more than 80% of the thread time is waiting for the return message from the foreground network element, resulting in a low thread utilization rate, the present invention aims to provide a multi-thread data synchronization method and device to solve the above problems at least one

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multithreaded data synchronization method and device
  • Multithreaded data synchronization method and device
  • Multithreaded data synchronization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0023] figure 2 is a flowchart of a multi-thread synchronization method according to an embodiment of the present invention. Such as figure 2 As shown, the multi-thread synchronization method mainly includes the following processing:

[0024] Step S202: The thread in the multi-thread pool fetches the state of the synchronization state machine corresponding to the network element to be synchronized from the synchronization queue and executes it;

[0025] Step S204: When the fetched state needs to wait for the front network element to return a message, the thread saves the fetched state in the storage module, and fetches the available state from the synchronization queue again and executes it;

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A multithread data synchronization method and device are provided, in the above method, thread in a multithread pool fetches a state of a synchronization state machine, which is corresponding to a network element waiting to be synchronized, from a synchronization queue, and executes it (S202); when the fetched state needs to wait for the network element returning a message, the tread saves the fetched states to the memory module, and fetches an available state again from the parallel queue and executes it (S204); when the network element corresponding to the fetched state returns the message, the thread picks up the fetched state and inserts it to the synchronization queue (S206). The thread will avoids the idling to wait for the network element returning the message when an executive state exists, so as to improve the efficiency of the data synchronization greatly.

Description

technical field [0001] The present invention relates to the communication field, in particular to a multi-thread data synchronization method and device. Background technique [0002] In wireless communication, a network management system (NMS) is mainly responsible for managing network element equipment (NE). The network management system further includes: a configuration management module, a performance management module, and an alarm management module. Among them, the configuration management module is one of the most important modules in the network management system, which is responsible for the data setting of network elements. In the configuration management module, the configured data needs to be sent from the NMS to the network element device, which requires the establishment of a connection between the network element device and the network management system and data synchronization. Using data synchronization technology can realize data exchange between different ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/52G06F15/173
CPCG06F9/52
Inventor 张勇
Owner ZTE CORP