Font Size: a A A

Design And Implementation Of A Socket-based Interprocess Communication Model In Adsl Router

Posted on:2010-11-02Degree:MasterType:Thesis
Country:ChinaCandidate:S K LiuFull Text:PDF
GTID:2198330338988063Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Now ADSL(Asymmetric Digital Subscriber Line) technology is the most competitive technology in many Internet access model , and ADSL router is the most important user access device in the ADSL access model . It is necessary for ADSL router to run a lot of applications so that it can implement the function of a router and make it convenience for consumer to configure and manage it effectively . These applications are releated with each other closely and a lot of communication messages will be transmited from one application to another. So the performance of interprocess communication will have an evidently effect on the productivity of ADSL router. Hence, it is necessary for ADSL router to have a good designed interprocess communication system which not only can meet the requirement of interprocess communication but also can raise it's performance effectively .The Linux operating system which is known as open source software is choosed as our software development platform. According to the software engineering methods, requirement analyse for interprocess communication of ADSL router is firstly presented, All processes which are running in ADSL router are divided into configuration process and task process , and the requirement of interprocess communication is concluded from the division . In the step of overall design of the system , to decrease the amount of communication channel , a starlike interprocess communication model which is based on message routing is presented by referring the basic principle of the information exchange of computer communication network ; to reduce the number of long running process , dynamic launched process is designed for configuration process by using of the basic idea of the linux's inet mechanism ; by the design of event register mechanism, the distribution of event message is implemented when some system events happened . In the step of detail design, compared with all process communication tools, socket of UNIX domain is choosed as communication channel, messages which is transported between process are designed with uniform format to decrease the defect of unstructured byte streams. To meet the requirement of interprocess communication system, the central process of the model is consist of three modules: management of process information, event register mechanism and the handle of communication messages . the implementation of surrounded process is consist of establishment of communication channel , send and receive communication messages and the handle of taskes. In the step of implementation, part flow charts and pseudocode of the central process is presented and pseudocode for the establishment of communication channel is presented for the implementation of surrounded process.Compared with the design of directly communication channel between process , the starlike interprocess communication model not only meets the requirement of procedure communication , but also decreases the amount of interprocess communication channels and the number of long running processes , hence the productivity of ADSL router is increased effectively.
Keywords/Search Tags:Interprocess communication, Starlike communication model, Message routing, Dynamic launched service, Distribution of message event
PDF Full Text Request
Related items