|
With the the forces modernization of improvement in the level as well as the continuous development of network technology, the dependence of users on a computer network will become increasingly large, no longer satisfied the requirements of network connectivity, they want a faster, higher quality, the better the security of network access. However, with the growing number of network users, poses an enormous challenge for the day-to-day management and maintenance of the network. Is in good running condition to ensure that all network resources in order to maintain the normal work of the increasingly large network systems, network user management system must be supported. Have easy to use, powerful network user management system, in order to make more efficient use of network resources. Strengthen network user management regularization, scientific construction is an important way to enhance the troops' station network maintenance and management levels, to adapt to the the signalmen system transformation of reality need. For the current network maintenance and management work in the rapid development of network management tools lag; coexistence of a variety of network systems and network complexity new situations and new problems, focus on the future, based on reality, and actively explore the development of new troops network management system, as the current new research topics. Improve the level of troops network management, combined troops network management, based on user needs analysis, development of the basic goals of the network user management system, and describes the structure of the system design and functional design, gives a Visual C development technology and network users using MS SQL Server database management system instances. With reference to the value of the medium-sized network user management. In this paper, the study's focus on the underlying protocol for network programming, using Visual C advantage in the development of network programming, achieve control ARP packets and IP packets, the packets in the network physical address (MAC address) and change the logical address (IP address), so as to achieve the purpose of the management of IP network device) on the network host (hosts this article refers to a variety of computers, switches, and other distribution. The key point of this article is the use of ARP works: each host in the local network has an ARP cache table, Host 1 to Host 2 to send packets, the host will check its ARP cache table, view the host's IP address corresponding to the MAC address. If found, the host 1 sends data packets based on host MAC address in the ARP cache table. Otherwise, the host to the network broadcast an ARP request message (sender IP and MAC address of the host's IP and MAC address, the IP address of the target host IP address, MAC address of the target is 00-00-00 -00-00-00). ARP request to all hosts (including the host) received, but only host 2 discovery packet destination IP address with its own IP address, then sent back to the host. 1 an ARP response packets (which hosts 2 MAC address). Host 1 receives the response to the host, update the local ARP cache table, after using the MAC address to send data to the host. ARP protocol when the host receives the ARP reply packet, the ARP cache table will be updated, the response packet IP and MAC address stored in the ARP cache. Does not only send the ARP request was received ARP response. Therefore, in the LAN, we can take advantage of a host to host 1 sends a forged ARP reply packets, fake and host 2. Forged ARP reply packet sender IP address is the host IP address, MAC address, the sender is forged, the host will use it to update the local ARP cache. LAN data transceiver is actually to be transferred according to MAC address, is not conducted in accordance with the IP address, therefore, the host computer 1 data distributed to the host computer 2 are transferred to elsewhere, the host computer 2 does not receive the data of the host computer 1, resulting in Host 1 and Host 2 is unreasonable state. Network programming, we select the Visual C language. Visual C is one of the members of the family of Microsoft Visual Studio, visual programming tools based on the C language program for the Windows operating system. It set code edit, compile, link, debug and other functions into one, and to the programmer provides a complete, comprehensive and convenient development environment, and to provide users with a variety of useful secondary development tools. Visual C execution speed and high access rights to the operating system, is unmatched by many other programming tools, most Windows applications, especially some of the underlying applications that run mainly with Visual C developed with Therefore, Visual C become the tool of choice for programming under Windows. Chapter 1 of this paper, the system development background, role and development purposes, the main research content, technology status and development trends were reviewed to clarify the need for network user management system developed, meaning and direction. Network user management system development will have troops network management play a certain role in promoting the efficiency and improve the scientific management level of the troops network. Chapter 2, by user needs to describe the network user management system, system functionality, performance, operating environment and interface requirements definition, a good solution to understand the difference between users and developers on the same issue and idioms different cause great difficulties in this problem, and needs analysis. OSI reference model, Ethernet, IP, ARP, Visual C database, socket and Winpcap introduction, so we have a better understanding of network programming technology involves the system. The content of this chapter is necessary to prepare for system design. In Chapter 3, architecture design, system functional structure describes the overall system design thinking. C / S (Client / Server) structure mode architecture, system functional structure is divided into system management subsystem, system settings subsystem, the host management subsystem, the data processing subsystem, help subsystem and 6 exit subsystems in section. Chapter 4 describes the specific implementation of the system design. Database connection using ADO technology, Visual C programming, our focus is on the manipulation of network lower level protocols, so as to achieve the purpose of the control network host. Chapter 5 describes the testing and application of the system. Currently, the network user management system has been in the army authorities has been applied and achieved very good results, provided a strong guarantee in order to improve efficiency, speed up troop information construction and combat effectiveness.
|