Inteliim 1.0 Design Documentation - Full Text Summary and Work Outlook (Revised)

zhaozj2021-02-16  63

Full text Summary and Work Outlook

1.1. The main results have been explored and practiced for a period of time, completed the preliminary design of LAN instant communication software under the .NET platform, with the basic functions of general local area network instant messaging software, such as user management, message management, contact management, P2P text Chat, text broadcast, file transfer, voice chat, offline messaging and forwarding, etc.

1.2. Problems and solutions encountered in the design

In the early stage of the project, the XML encoding is performed for each attribute of each message because there is no use XML object serialization, and it is more cumbersome. After using the System.xml.Serialization.xmlSerializer class, the code has become simple and saved, the code becomes simple, clear, just after each property is defined for the message, XMLSerializer can automatically automatically Each attribute is serialized and reverse serialization.

Considering the diversity of the operating environment, the system does not use the database store data, but directly using the XML file through the data set in ADO.NET This bridge is stored data. It is also quite easy to change the database storage when you need to use data stock data to improve system performance.

During the design of the design file transfer function, first, since the size limit of the UDP datagram is not taken into account, it is attempted to use one-time transmission file data to fail. Later, it is thought that the file transfer data is cut into a size suitable package and numbered, and then assembled in the receiving end to implement the transfer of the file.

1.3. Location for improvement and perfect L, as previously described, there is no data storage data, but directly using XML file storage, although software deployment issues are simplified, the system configuration requirements are reduced, but the performance is sacrificed. In actual applications, different data set storage interfaces should be achieved according to the actual hardware and software facilities of the enterprise.

l Since the text chat information currently transmitted in the system does not test a lot of text data during the test, the relevant instant messages that are transmitted do not reach the upper limit of the UDP datagram size, so there is no problem. However, it can be seen that the data slightly larger is a bit slightly larger, as in the picture in which the private chat is transmitted in the text, the system prompts the transmitted data that exceeds the UDP datagram. Thus, in the actual system, appropriate packets and numbers should be performed in accordance with the size of the transmitted instant messages, and the associated instant messaging segments will be recombined in the number of sequences in the number.

l When designing the function of the amount of data such as file transmission, the server is required, the client is transferred to another client communication with another client due to the beginning of any instant messaging; on the one hand, the server's load is added, and the server is reduced. Performance; on the other hand, the amount of large data, especially the function that requires real-time transmission is stretched. Later, in response to this problem, improve the underlying communication method, the message between the two clients of the online transmission is directly transmitted, and the server is transferred through the server, so for those large data, such as file transfer, voice chat, etc. .

Thank you

references

[1] Simon Robinson K.Scott Allen is waiting, C # Advanced Programming, Tsinghua University Press, 2002

[2] Stanley B.Lippman, C # primer Chinese version, Huazhong University of Science and Technology Press, 2003

[3] Robert Powell Richard Weeks, C # and .NET Architecture, People's Posts and Telecommunications Publishing House, 2002

[4] Charles Petzold, Microsoft C # windows programming (book), Peking University Press, 2002

[5] Tom Archer, C # Technical Insider, Tsinghua University Press, 2002 [6] Qian Kun, C # Practical Programming Technology, Water Conservancy Hydropower Press, 2001

[7] Andrew Krowczyk Vinod Kumar Waiting, .NET Network Advanced Programming, Tsinghua University Press, 2003

[8] http://www.codeproject.com

[9] http://www.sourceforge.net

[10] http://www.9cbs.net

[11] http://www.myim.com

[12] http://www.imu.com

[13] http://www.qq.com

[14] http://www.msn.com

[15] http://www.aol.com

转载请注明原文地址:https://www.9cbs.com/read-18571.html

New Post(0)