Font Size: a A A

Researches And Realization Of Transmission Protocol In Electrical Systems Based On TCP/IP

Posted on:2006-01-29Degree:MasterType:Thesis
Country:ChinaCandidate:J LuoFull Text:PDF
GTID:2132360212982141Subject:Control theory and control engineering
Abstract/Summary:PDF Full Text Request
Based on 104 transmission protocol, this dissertation devotes on the realization of 104 transmission protocol in electrical systems by using the programs development kit VC++6.0. The main work of this dissertation consists of three parts as follows:In part I and II, the development about 104 transmission protocol and general situation about their research are discussed first, and then the main advantages of the application of 104 transmission protocol in remote action transmission and development kit are stated. Furthermore, the major problems, which are studied in this dissertation, are introduced. Finally, some necessary preliminary results in this dissertation such as the communication concepts of protocol and sockets, and some methods of programs development, are given.In partâ…¢, however on the one hand, it should be analyzed and programmed concretely according with individual instance and can be able to come true to meet with good results in practice. Therefore many literature only solve specific problems such as separative packets, even by far no concrete literature has embody more general implement procedure which can solve a majority of problem. On the other hand, although these literature mentioned above has brought forth projects to fulfill specific functions in theory, it also should be certainly of some difficulty that we implement these functions successfully by coding, Nevertheless be intricate to accomplish totally. Now many corporations use these program code as their own technique captical and don't publicize, thus cause technique monopoly to gain benefits in return. This issue integrates every function of 104 transmission protocol, which make true effects on more general engineering by using most functions. Based on the existing, mature, and systemic technological methods and corresponding resolvents, the theory of communication in LAN, the protocol of TCP/IP, and the model of client server are made use of, the main functions of 104 transmission protocol in the application of network service, which include SOCKET program developing in network, multi-threads mutex and synchronization, the communications among processes, and the technologies in calling database of ODBC, are realized by using the programs development kit VC++6.0 in windows. In the realization above, comprehensive analysis is given about the procedures of transferring and testing, which include the three different situations as follows: data packet is fluent or disturbed, and data packet isn't confirmed. And then these procedures are realized in program codes, in which the relations among the counters of sent frame, received frame, and acknowledge frame are considered, and the design for counters under the situation of overtime is included. All the part above is the mechanism of transferring head of packet, the formats for the content of packet in ASDU transferring and the flow charts, which contain the charts of Reading device headline and Reading all entries description and dimension, of disposing the transferred information are generalized, basing my practice and research. Comparisons between the similar packet such as ASDU1, ASDU2, ASDU41, and ASDU43, which are used in uplink spontaneously at slave stations, are listed, and the applications of these packet under every situation are also summarized. After that, the flow charts for the transferring procedures are put forward under the situation of inquiring with corresponding formats of packet, involving reading set value packetASDU21 and tranmitting running set value ASDU10. In the terms of general calling, the packet such as ASDU40 and ASDU42, which are applied for transferring the sampling state, are compared. Besides, those definitions for data in every transferred packet, the formats, and the flow charts for the procedure of calling query history information are all summed up.In partâ…£, the technological idea of the whole dissertation is summed up, i.e. constructing the application flat roof of client server, and setting up the multi-connections for SOCKET of monitoring and receiving in the method of multi-threads, which can be realized by the flow charts and codes stated in part II. In a word, on the foundation of TCP connection, we can deal with calling for connection at the same time from many master station by the way of threads. Finally, the new problems and preferable schemes about the speediness and security in the realization for 104 transmission protocol are brought forward. Furthermore, to improve the capability of analyzing system and watching faults, the idea of construction of COM is put forward.
Keywords/Search Tags:104 transmission protocol, remote action transmission, electricity system, TCP/IP, network programming, communication in LAN, technology of multi-threads, calling for database of ODBC, ASDU, packet, frame
PDF Full Text Request
Related items