Research on implementing Web-based Softswitch Configuration Management System

Source: Internet
Author: User

1. Introduction to Softswitch Technology

The Softswitch technology uses a layered network architecture to separate the call control functions of traditional circuit switches from the media gateway, and implement call control functions such as connection control, call process selection, and call routing through software. On the one hand, Softswitch creates network convergence, and on the other hand, Softswitch uses open application interface APIs), allowing users to be independent of device manufacturers, develop and introduce new services in the network as needed, this makes the Softswitch technology have obvious advantages in comprehensive access capabilities, service provision, network management, user authentication, authentication and billing. While building a new generation network, the Softswitch technology fully takes into account the smooth transition of various existing networks and integrates voice, data, multimedia, and other services to truly customize the business. The Softswitch-based network is open and programmable, Which is the development direction of the Next Generation Network.

2. configuration of the softswitch system

The configuration in the softswitch system network can be divided into functional configuration and performance configuration. The main task of function configuration is to determine which devices should be included in the system and what functions should be implemented by various devices. The main task of performance configuration is to make full use of the functions of various devices in the system. The solution discussed in this article is to set a Web configuration server 1 display in the softswitch system) to allow the system administrator to remotely configure functions and performance of the softswitch system using the Web browser interface, at the same time, it also provides users with Web-based online dynamic application services, personal customization, and billing information query functions.

In this configuration system design overview, the system administrator can log on to the system configuration server on any computer terminal in the network through a browser. After passing identity authentication, the system administrator can perform configuration management for the entire Softswitch Network, for example: system meta parameter and performance configuration management) and daily maintenance work such as system billing information statistics and query); and common users such as: can be the owner of a SIP Phone ), the system can be used to dynamically change and manage the services applied for, such as long-distance calls, international long-distance calls, voice mailboxes, and call transfers.

3 J2EE technology Overview

The typical multi-layer application model in the J2EE architecture is divided into four layers: Client Tier at the customer layer. Generally, it is a browser, applet, or other applications. The Client layer generally supports HTTP, therefore, this layer is also called the customer proxy; WEB Tier at the WEB application layer). in J2EE, this layer is run by WEB containers, including WEB components such as JSP and Servlet; and EJB Tier at the enterprise component layer ), this layer is run by the EJB container and supports services and technologies such as EJB, JMS, and JTA. The enterprise information system layer (EIS Tier) includes traditional information systems such as finance and CRM in the enterprise, the feature is the support of the database system.

Currently, application frameworks are mainly used at the WEB application layer. When developing the J2EE Web layer, the MVCModel-View-Controller design mode is usually used.

Struts is a Free Open Source J2EE Web layer application architecture. It inherits various MVC features, including framework classes, help classes, and customized JSP tag libraries, and all the application technologies based on the J2EE Model2 design model. Struts aims to comprehensively reduce the burden on building an enterprise-level Web application. Struts features high configuration and a list of constantly increasing features. The implementation logic and templates constitute the soul of Struts.

Controller) the Servlet in the ActionServlet class accepts requests from the client, intercepts and distributes these requests to the corresponding response class, and the Controller is also responsible for filling the ActionForm with the corresponding request parameters, and send it to Action class Action ). The ingress class implements the core business logic. It can access JavaBean or call EJB. Finally, the controls class will pass the control to the subsequent JSP file to generate the view. All control logic is configured using the Struts-config.xml file.

Model) mainly exists in the Form of one or more JavaBean indicating the application state. These beans are divided into three categories: Action Form, Action, JavaBean, or EJB ), derive a specific Action processing object from the Action according to different requests, call the business logic built by Bean to process this object, and create a derived class of ActionForm to encapsulate the form data of the client.

View) is mainly created by JSP. Struts itself contains a set of scalable custom tag libraries (Taglib), which can simplify the process of creating user interfaces. These tag libraries include: bean Tags, HTML Tags, Logic Tags, and Template Tags. The Struts framework uses these custom Tags to establish the relationship between views and models.

4. Implement a Web-based Softswitch Network Configuration Management System Using J2EE Technology

The process of various applications in the configuration management system is roughly the same. First, the system administrator sends a request through the web browser of the client. The Servlet Filter filters the request type. If it is within the Struts scope, forward it to the Controller); the Controller receives the request and forwards the request according to the ing rules defined in the Struts-config.xml. If ActionForm is required, an example of ActionForm will be created for it, and call the validate method for data verification. If ActionForm is not required, such as a link request, the excute method of Action will be called directly for processing. If the processing result is successful, action will return the ActionForword object, and the Controller will forward the results based on the defined ing rules and generate a View), and return the result of this operation request to the Administrator.

The specific development process is divided into three steps. First, create View). The key to using JSP and Struts label libraries in development is to design pages and establish the relationship between views and models according to software requirements. Secondly, define Controller), the core is the configuration of Struts-config.xml, is to define the user request intercepted by Servlet and ActionForm and Action ing rules. Finally, design Model), design the necessary JavaBean based on the functional requirements of the software to meet the business processing logic of different user requests.

In the specific development work, Tiles technology and DynaActionForm Struts1.1 are used ). The powerful template function of Tiles can maximize page reusability and flexibility. Using DynaActionForm classes, you do not have to create specific ActionForm classes to reduce the number of actionforms.

5 conclusion

The Struts MVC Framework of J2EE technology is used to develop the Web-based configuration management system of the softswitch system, which features high performance, high scalability, and high security. This mode separates the business logic from the display page, it simplifies the system development, management, and maintenance, improves the system development efficiency, and reflects the superior technical advantages of the J2EE system.

Zhou Jiangfeng: a master's degree in communication and information system, Communication Engineering Department, Nanjing University of Posts and Telecommunications. His main research direction is IP and broadband network technology.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.