1 Soft Switch Technology introduction
The SoftSwitch technology adopts the layered network architecture, separates the call control function of traditional circuit switch from the media gateway, and realizes the call control function, such as connection control, call process selection and call routing, through software. The SoftSwitch, on the one hand, created the network fusion, on the other hand, SoftSwitch uses the Open Application Interface (API), which allows users to develop and introduce new services in the network, independent of the device manufacturer, in accordance with their own needs, which makes SoftSwitch technology in the integrated Access capability, service delivery, network management, user authentication , authentication and billing etc. have obvious advantages. In the construction of a new generation of network, SoftSwitch technology fully consider the existing smooth transition of various networks, set voice, data, multimedia and other business as a whole, the real customer customization of the business. The network with SoftSwitch Fusion has the characteristics of openness and programmability, which is the development direction of the next Generation network.
2 configuration of soft switching system
The configuration of SoftSwitch system network can be divided into function configuration and performance configuration roughly. The primary task of the functional configuration is to determine which devices should be included in the system and what capabilities the various devices should implement. The main task of performance configuration is to make the functions of each device in the system fully play. The scenario discussed in this article is to set up a Web configuration server in a SoftSwitch system (shown in Figure 1), which allows system administrators to use the Web browser interface to remotely perform functional configuration and performance configuration for SoftSwitch systems, as well as provide web-enabled online dynamic applications for ordinary users of the system. Personal customization and billing information inquiries and other functions.
This configuration system design outline, the system administrator may in the network any computer terminal through the browser login system configuration server, after the authentication, The whole SoftSwitch network can be configured and managed (for example: System network element parameter and performance configuration management) and daily maintenance work (for example, System billing information Statistics and query), and the system ordinary user (for example: can be the owner of a sip phone), The system can be used for dynamic change management of all applications (e.g. long-distance telephone function, IDD function, voice mail and call forwarding).
3 Java Technology Introduction
Java EE Technical Architecture of the typical multi-layer application model is divided into four layers: Customer layer (client Tier), generally for browsers, applets or other applications, the customer layer generally support the HTTP protocol, so also known as Customer agent; Web application layer (Web Tier), in Java EE, This layer is run by the Web container, including Web Parts such as JSP, Servlet, and the Enterprise component layer (EJB Tier), which is run by the EJB container, supporting services and technologies such as EJB, JMS, JTA, Enterprise Information System layer (EIS Tier), It contains the traditional information system such as finance, CRM and so on, which is characterized by the support of database system.
Currently, the application framework is mainly focused on the Web application layer. When developing the Java EE Web layer, the MVC (Model-view-controller) design pattern is usually used.
Struts is a free open source Java EE Web Layer application architecture that inherits the features of MVC, including framework classes, help classes, and custom JSP tag libraries, as well as all applications based on the Java EE Model2 design pattern. The goal of struts is to comprehensively mitigate the burden of an enterprise-class Web application for components. Struts is characterized by high scalability and a growing list of features that implement the performance logic and templates that compose the soul of struts.
The controller (Controller) accepts requests from the client mainly by the servlet in the Actionservlet class, intercepts and distributes the requests to the corresponding action class, and the controller is responsible for filling the actionform with the corresponding request parameters. and passed to the Action Class (action). The action class implements the core business logic that can access JavaBean or invoke EJBS. The last action class passes control to the subsequent JSP file to generate the view. All control logic is configured using the Struts-config.xml file.
Models are mainly in the form of one or more JavaBean that represent the state of the application, which are grouped into 3 categories: Action form, action, JavaBean (or EJB), Derive a specific action object from the action based on different requests, invoke the business logic built by the bean to process the object, and create a wrapper for the client form data by the Actionform derived class.
View is built primarily by JSP, and struts itself contains a set of extensible custom Tag libraries (Taglib) that simplify the process of creating user interfaces: Bean tags, HTML tags, Logic tags, and template The Tags,struts framework establishes a link between view and model through these custom tags.