Liu Yongsheng, Chen Liping, Xu Gang, Zhang Ruirui, Wang Zhuang. Design and implementation of data processing server in farm wireless sensor network[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2009, 25(13): 179-183.
    Citation: Liu Yongsheng, Chen Liping, Xu Gang, Zhang Ruirui, Wang Zhuang. Design and implementation of data processing server in farm wireless sensor network[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2009, 25(13): 179-183.

    Design and implementation of data processing server in farm wireless sensor network

    • Wireless sensor network is an effective method to gather the remote information and also the important part of whole wireless sensor network application system to accept and process the farmland information which is gathered by wireless sensor network. Aiming at the characteristics of data acquisition using wireless sensor network, the construction of the data processing server for the system was studied. A data processing server based on the non-blocking I/O sockets communication was designed and implemented. The server utilized the technologies of thread pool and I/O multiplexing. Cyclic queue was adopted as the data buffer, which could better solve the problems such as the multi-connection TCP communication and the high-speed concurrent processing performance of a large number of real-time monitoring data. Through using the object-oriented programming method, the class hierarchy was built up to increase the ability of code reuse.
    • loading

    Catalog

      /

      DownLoad:  Full-Size Img  PowerPoint
      Return
      Return