Nothing Special   »   [go: up one dir, main page]

CN113470483A - Soft exchange experiment platform and method based on Docker and Asterisk - Google Patents

Soft exchange experiment platform and method based on Docker and Asterisk Download PDF

Info

Publication number
CN113470483A
CN113470483A CN202110607904.0A CN202110607904A CN113470483A CN 113470483 A CN113470483 A CN 113470483A CN 202110607904 A CN202110607904 A CN 202110607904A CN 113470483 A CN113470483 A CN 113470483A
Authority
CN
China
Prior art keywords
module
soft switch
experiment
asterisk
docker
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110607904.0A
Other languages
Chinese (zh)
Other versions
CN113470483B (en
Inventor
涂继辉
李苏
付博文
魏江东
邱威
周翔
李奇然
吕云霏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yangtze University
Original Assignee
Yangtze University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yangtze University filed Critical Yangtze University
Priority to CN202110607904.0A priority Critical patent/CN113470483B/en
Publication of CN113470483A publication Critical patent/CN113470483A/en
Application granted granted Critical
Publication of CN113470483B publication Critical patent/CN113470483B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B19/00Teaching not covered by other main groups of this subclass
    • G09B19/0053Computers, e.g. programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a soft switch experiment platform and an experiment method based on Docker and Asterisk, which comprise an Asterisk system, a Docker environment container and a web management system, wherein the Asterisk system is used as the core of the soft switch experiment platform, the Docker environment container is used for bearing the Asterisk system, and the soft switch experiment platform is configured and managed through the web management system. The Asterisk system ensures the complete system architecture and secondary development function of the soft switch experimental platform, and plays an important role in learning the architecture and the principle of the soft switch system. The Docker environment container ensures the independence and good expansibility of each system. The web management system configuration and management experiment platform has the advantages of simple and reasonable deployment and flexible and convenient operation. The soft switch experiment platform not only meets the basic experiment and study tasks of basic students, but also can meet the requirement that students with strong practical ability and programming ability carry out secondary development, improves the requirement of comprehensive ability, and is suitable for popularization and use.

Description

Soft exchange experiment platform and method based on Docker and Asterisk
Technical Field
The invention relates to the field of soft switch experiments, in particular to a soft switch experiment platform and an experiment method based on Docker and Asterisk.
Background
At present, soft switch experiments are set up in many colleges and universities in China, the adopted experimental systems are mainly of three types, the first type of products are high in price, difficult to deploy and upgrade and not beneficial to teaching; the second kind of products can not know the network architecture and signaling flow of the soft switch and can not be developed for the second time; the third kind of products are most lack of matched teaching management systems and secondary development functions. If the soft switch experiment platform is carried by using a single server, the soft switch experiment platform is not convenient to deploy and use, and the cost of the experiment platform is increased; if the virtual machine bearer on the PC is utilized, the occupied resources are large, and the deployment and maintenance are difficult because the virtual machine is easy to damage. Aiming at the current situation, a teaching management system which has a complete system architecture, perfects a secondary development function and is matched with the secondary development function is provided, the price is low, and a soft switch experiment platform which is simple to deploy is a necessary trend.
Chinese patent "CN 104486303A" provides an NGN soft switch experimental system and a control method thereof, the experimental process is performed in stages, an operator first makes data configuration locally through a service maintenance unit, then sends an application data loading request to a Server NGN-Server at a Client NGN-Client, the Server NGN-Server loads data to the soft switch unit through a queuing mechanism, and finally performs experimental verification, thereby solving the problems of overlong overall experimental time, low equipment utilization rate, data disorder and the like caused by operating one soft switch unit by multiple operators, ensuring the validity and consistency of data, greatly saving experimental time, and improving teaching efficiency. However, the patent lacks a matched teaching management system and a secondary development function, cannot provide a complete experimental environment for students to learn the soft switch technology, cannot provide a secondary development function for the students, cannot meet the practical ability and the programming ability of the students, cannot provide a good experimental environment for the innovation and the creation and the graduation design of the students, and hinders the capability of the students to develop comprehensively.
Disclosure of Invention
The invention mainly aims to provide a soft switch experimental platform and an experimental method based on Docker and Asterisk, and solves the problems that the soft switch experimental platform does not have a complete system architecture, and lacks a matched teaching management system and a perfect secondary development function.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows: the system comprises an Asterisk system, a Docker environment container and a web management system, wherein the Asterisk system is used as the core of a soft switch experiment platform, the Docker environment container is used for bearing the Asterisk system, and the soft switch experiment platform is configured and managed through the web management system.
In the preferred scheme, a web management system carries out information management on a soft switch experimental platform, and the web management system comprises a control module, a dialing rule module, a number management module, a ticket recording module and a value-added module;
the control module is responsible for starting, closing and restarting a soft switch, the dialing rule module is responsible for managing the number rule of a soft switch experiment platform, the number management module is responsible for managing the number of a soft switch system, the ticket recording module is responsible for recording and managing tickets, the value-added module realizes the value-added service functions of call forwarding, user bill inquiry, voice check and voice song ordering.
In the preferred scheme, the Asterisk system also comprises a secondary development proceeding module, an application declaration and definition module, an initialization loading module, an application execution module and an unloading module;
the secondary development proceeding module summarizes and summarizes the Asterisk system;
the application declaration and definition module defines the application name and description of the application program;
initializing the loading module when the system is started;
the application execution module is a process executed when the system calls the application program;
and the unloading module returns occupied system resources when the system is quitted.
In the preferred scheme, the secondary development progress module induces the functions in the Asterisk system, generates an explanatory document of a function library for secondary development, and realizes independent compilation of a Makefile script file in the secondary development progress module;
the student can complete the self-designed program code again according to the existing program framework and function library, compile the program by using the Makefile script file, upload the voice file required by the self-function module, set the special service number corresponding to the reference module by using the dialing rule module configuration page, and finally restart the soft switch system to test and operate the self-program.
In a preferred scheme, the Asterisk system also comprises a dynamic module loader, wherein the dynamic module loader can dynamically reduce or increase the operation modules in the Asterisk system, a database interface module is arranged on the periphery of the Asterisk system, the database interface module changes the configuration and management of a database into a database mode, a MySQL database is used for helping to store the configuration and data related to the system, and a web management system configures the database in the soft switch system;
when the Asterisk system runs other modules, a user can dynamically reduce or increase the modules according to actual needs, and the web management system is set for the user and configures data in a database in the soft switch system, so that the function of controlling and configuring the Asterisk system by the user is achieved.
In the preferred scheme, the web management system can start the soft switch experiment platform and acquire the configuration information of the soft switch experiment platform;
experiment setting personnel can issue experiment information, import the information of the experiment personnel, distribute experiment groups, evaluate experiment results and export the experiment results through a web management system; the experimenter may make the selection of the experimental group members through the web management system.
In an optimal scheme, a Docker environment container is copied in a soft switch experiment platform, so that a plurality of independent soft switch experiment systems borne by the Docker environment container are arranged in the soft switch experiment platform.
In an optimal scheme, the soft switch experiment platform is further provided with a Docker system, the Docker system allocates an IP address to each soft switch experiment system copied from the Docker environment container, and the Docker system checks the experiment condition of each independent soft switch experiment system through connection of the allocated IP addresses.
In the preferred scheme, a soft switch experiment platform based on Docker and Asterisk comprises a basic experiment and an expansibility experiment;
basic experiments: configuring page configuration terminal information through a web management system, mainly comprising a number management module of a terminal for carrying out a telephone number experiment and a dialing rule experiment by a dialing rule module, and then configuring a page through the web management system to start a soft switch service;
and (3) expansibility experiment: the API interface and MySQL database provided by the Asterisk system are utilized to realize the value added service of the soft switch: the method comprises call forwarding, user bill query, voice score checking and voice song requesting, and realizes the programming design requirements of the user by utilizing a secondary development module and through an API (application programming interface) and a batch compiling file.
The method comprises the following steps: s1, importing information, setting an experiment task: opening a web management system, importing all necessary information through the web management system, distributing experimental groups, and setting experimental tasks;
s2, logging in the web management system by each experimenter, checking the experimental group members, checking and distributing the experimental tasks;
s3, the docker system allocates IP addresses to each independent soft switch experiment system:
a1: the platform automatically opens a Docker environment container bearing a soft switching system and allocates an IP address and a corresponding port to the Docker environment container;
a2: the method comprises the following steps that a Docker system creates a basic mirror image, deploys a soft switch system into a Docker environment container, and then copies the basic mirror image into a plurality of soft switch systems, so that each group has an independent soft switch system borne by the Docker environment container;
a3: the Docker system allocates IP addresses to each soft switch experiment system copied from the Docker environment container, and experiment setting personnel can check the experiment condition of each independent soft switch experiment system according to the IP addresses;
s4, experimenters perform experiments through a web management system:
b1: the experimenter sees the control module, the dialing rule module, the number management module, the call ticket recording module and the value-added module through the web management system, knows the functions of the modules, selects the corresponding module to start the soft switch system for secondary development according to the requirement of the experimenter, and starts an experiment;
b2: generating a function library and a Makefile script file: the secondary development progress module induces the functions in the Asterisk system, generates an explanatory document of a function library for secondary development, and realizes independent compilation of a Makefile script file in the secondary development progress module;
b3: configuring and storing a database in a soft switch system: the dynamic module loader can dynamically reduce or increase the operation modules in the Asterisk system, the database interface module changes the configuration and management of the database into a database mode, and the MySQL database is used for helping to store the configuration and data related to the system;
b4: the experimenter performs a secondary development test: experimenters complete own design program codes according to an existing program framework and a function library according to design thoughts, compile programs by using scripts, upload voice files required by own function modules, set special service numbers corresponding to a reference module by using a dialing rule module configuration page, and finally restart a soft switch system to test and run own programs;
the S5 experiment was completed and the results were derived: the experimenter submits the experimental result, the system can automatically pack the data and send the data to the setting personnel, and the setting personnel can check the experimental condition of each group by comparing the IP addresses automatically allocated to each group by the docker, and can grade the experimental condition and export the experimental result.
The invention provides a soft switch experiment platform and an experiment method based on Docker and Asterisk, and solves the problems that the soft switch experiment platform does not have a complete system architecture, and a matched teaching management system and a complete secondary development function are lacked. The Asterisk system is used as the core of the soft switch experiment platform, the Docker environment container is used for bearing the Asterisk system, and the soft switch experiment platform is configured and managed through the web management system, so that the method has the characteristics of simple deployment, flexible operation, low price and good expansibility.
The Asterisk system ensures the complete system architecture and secondary development function of the soft switch experimental platform, and plays an important role in learning the architecture and the principle of the soft switch system for students. The Docker environment container is used for bearing the Asterisk system, so that the independence and good expansibility of each system are ensured. The web management system configuration and management experiment platform has the advantages of simple and reasonable deployment and flexible and convenient operation. The mode of the Docker container is adopted to bear the soft switch experiment system, not only is deployment and maintenance convenient, but also each group can have an independent soft switch experiment system by copying the Docker container, when one group needs to do experiments, only the container bearing the group information soft switch system of the group needs to be opened, and the mode saves system resources, is convenient to manage and also greatly improves the experiment utilization rate. The portability is strong, and the method has great advantages for popularizing and using the system. The visual mode of the web end makes the operation simple. The teacher manages the students, and the results of the student experiments are more convenient to check. Is favorable for popularization and application of the experimental system. By adding a database interface module at the periphery of the Asterisk, the configuration and management of the database are changed into a database mode. The MySOL database is used for helping to store the configuration and data related to the system, and the web module is used for facing the user, so that the function of controlling and configuring the Asterisk by the user can be achieved. When the student is experimented, the student directly operates through the web end, and opens the soft system to carry out the experiment.
The soft switch experiment platform not only meets the basic experiment and learning tasks of basic students, but also enables students to know the network architecture and the signaling flow of soft switch more clearly, is convenient for secondary development, is beneficial to the experiment and teaching of soft switch, improves the innovation and manual ability of students and improves the requirement of comprehensive ability. The system has the advantages that the system is matched with a web end teaching management system, a teacher can conveniently manage the system, the operation is simple and convenient, the popularization of an experiment system is facilitated, meanwhile, the system can be used as a platform for production practice and graduation design, the deployment of a soft switch system is simple, the upgrading difficulty is small, and the system is more beneficial to teaching and is suitable for popularization and use.
Drawings
The invention is further illustrated by the following examples in conjunction with the accompanying drawings:
FIG. 1 is a flow chart of the overall experiment of the present invention;
FIG. 2 is a flow chart of a programming experiment of the present invention;
FIG. 3 is an overall system flow diagram of the present invention;
in the figure: the system comprises an Asterisk system 1, a dynamic module loader 101, a secondary development proceeding module 102, an application declaration and definition module 103, an initialization loading module 104, an application execution module 105, an unloading module 106, a Docker environment container 2, a web management system 3, a control module 301, a dialing rule module 302, a number management module 303, a ticket recording module 304, a value-added module 305, a MySQL database 4, a database interface module 5 and a Docker system 6.
Detailed Description
Example 1:
as shown in fig. 1 to 3, the softswitch experiment platform based on Docker and Asterisk includes an Asterisk system 1, a Docker environment container 2 and a web management system 3, where the Asterisk system 1 is used as a core of the softswitch experiment platform, the Docker environment container 2 is used to carry the Asterisk system 1, and the softswitch experiment platform is configured and managed by the web management system 3. With the structure, the Asterisk system 1 ensures the complete system architecture and secondary development function of the soft switch experiment platform, and plays an important role in learning the architecture and the principle of the soft switch system for students. The Docker environment container 2 is used for bearing the Asterisk system 1, so that the independence and good expansibility of each system are ensured. The web management system 3 configures and manages an experiment platform, and the soft switch experiment platform has the advantages of simple and reasonable deployment, flexible and convenient operation, simple deployment, flexible operation, low price, good expansibility and the like.
In the preferred scheme, a web management system 3 performs information management on a soft switch experimental platform, and the web management system 3 comprises a control module 301, a dialing rule module 302, a number management module 303, a ticket recording module 304 and a value-added module 305;
the control module 301 is responsible for starting, closing and restarting a soft switch, the dialing rule module 302 is responsible for managing the number rule of a soft switch experimental platform, the number management module 303 is responsible for managing the number of a soft switch system, the ticket recording module 304 is responsible for managing the ticket recording, and the value-added module 305 realizes the value-added service functions of call forwarding, user bill inquiry, voice check and voice song ordering.
In a preferred embodiment, the Asterisk system 1 further includes a secondary development proceeding module 102, an application declaration and definition module 103, an initialization loading module 104, an application execution module 105, and an unloading module 106;
the secondary development proceeding module 102 summarizes and summarizes the Asterisk system 1;
the application declaration and definition module 103 defines application names and descriptions of application programs;
initializing the initialization loading module 104 when the system is started;
the application execution module 105 is a process executed when the system calls an application;
the offload module 106 returns the occupied system resources when the system is exited.
In the preferred scheme, the secondary development progress module 102 induces the functions in the Asterisk system 1, generates an explanatory document of a function library for secondary development, and realizes independent compilation of a Makefile script file in the secondary development progress module 102;
the student can complete the program code designed by the student again according to the existing program framework and function library, compile the program by using the Makefile script file, upload the voice file required by the functional module of the student, configure the page by using the dialing rule module 302 to set the special service number corresponding to the reference module, and finally restart the soft switch system to test and operate the program of the student.
In a preferred scheme, the Asterisk system 1 further comprises a dynamic module loader 101, the dynamic module loader 101 can dynamically reduce or increase the operation modules in the Asterisk system 1 system, a database interface module 5 is arranged on the periphery of the Asterisk system 1, the database interface module 5 changes database configuration and management into a database mode, a MySQL database 4 is used for helping to store configuration and data related to the system, and a web management system 3 is used for configuring a database in the soft switch system;
when the Asterisk system 1 runs other modules, a user can dynamically reduce or increase the modules according to actual needs, and the web management system 3 is set for the user to configure data in a database in the soft switch system, so that the function of controlling and configuring the Asterisk system 1 by the user is achieved. With the structure, the system has complete structure and functions, and has complete system structure and strong functions. And a peripheral setting and management interface is provided with auxiliary software required by experiments, and the whole system utilizes a local area network to replace the real internet.
In the preferred scheme, the web management system 3 can start the soft switch experiment platform and acquire the configuration information of the soft switch experiment platform;
experiment setting personnel can issue experiment information, import the information of the experimenters, distribute experimental groups, evaluate experimental results and export the experimental results through the web management system 3; the laboratory staff may make the selection of the laboratory group staff by means of the web-management system 3.
In an optimal scheme, a plurality of independent soft switch experiment systems borne by Docker environment containers 2 are arranged in a soft switch experiment platform by copying the Docker environment containers 2. With the structure, the Docker is an open-source application container engine and a software containerization platform, so that when a developer constructs an application program, the application program and the dependent environment are packaged into a portable container and then are issued to any popular Linux machine or Windows machine, virtualization can be realized, the container completely uses a sandbox mechanism, and no interface exists between the container and the container.
In the preferred scheme, the soft switch experimental platform is further provided with a Docker system 6, the Docker system 6 allocates an IP address to each soft switch experimental system copied from the Docker environment container 2, and the Docker system 6 checks the experimental condition of each independent soft switch experimental system through connection of the allocated IP addresses.
In the preferred scheme, a soft switch experiment platform based on Docker and Asterisk comprises a basic experiment and an expansibility experiment;
basic experiments: configuring terminal information through a configuration page of a web management system 3, mainly comprising a number management module 303 of a terminal for performing a telephone number experiment and a dialing rule module 302 for performing a dialing rule experiment, and then configuring the page through the web management system 3 to start a soft switch service;
and (3) expansibility experiment: the API interface provided by the Asterisk system 1 and the MySQL database 4 are utilized to realize the value added service of the soft switch: including call forwarding, user billing inquiry, voice score and voice song request, the secondary development is utilized to carry out the module 102, and the programming design requirements of the user are realized through the provided API interface and the batch compiling file. With the structure, the soft switch experiment platform based on Docker and Asterisk has multifunctional application, basic experiments can meet basic requirements of teaching, and the soft switch experiment platform can be used as an improvement platform for experimenters with stronger programming capability or personnel with strong interest or improvement requirements on manual capability and programming capability. The soft switch experiment platform can be used for other purposes, such as a production practice platform, a graduation design platform and the like.
Example 2:
as further described with reference to example 1, as shown in fig. 1 to 3, the method comprises: information import, setting experiment tasks: the web management system 3 is opened, and necessary information is imported through the web management system 3, and experimental tasks are set through the distribution of experimental groups. Each experimenter logs in the web management system 3, checks experiment group members, checks and distributes experiment tasks.
The docker system 6 allocates an IP address to each independent soft switch experimental system: the platform automatically opens a Docker environment container 2 bearing a soft switch system, an IP address and a corresponding port are allocated to the Docker environment container 2, a base mirror image is created by a Docker system 6, the soft switch system is deployed in the Docker environment container 2 and then copied into a plurality of soft switch systems, each group is provided with an independent soft switch system borne by the Docker environment container 2, the Docker system 6 is an IP address allocated to each soft switch experimental system copied from the Docker environment container 2, and experiment setting personnel can check the experimental condition of each independent soft switch experimental system according to the IP address.
The experimenter performs the experiment through the web management system 3: the experimenter sees the control module 301, the dialing rule module 302, the number management module 303, the ticket recording module 304 and the value-added module 305 through the web management system 3, knows the functions of the modules, selects the corresponding module to start the soft switch system for secondary development according to the needs of the experimenter, and starts the experiment. Generating a function library and a Makefile script file: the secondary development progress module 102 summarizes the functions in the Asterisk system 1, generates an explanatory document of a function library for secondary development, and realizes independent compilation of Makefile script files in the secondary development progress module 102. Configuring and storing a database in a soft switch system: the dynamic module loader 101 can dynamically reduce or increase the running modules in the Asterisk system 1, the database interface module 5 changes the database configuration and management into a database mode, and the MySQL database 4 is used for helping to store the configuration and data related to the system.
The experimenter performs a secondary development test: experimenters complete own design program codes according to existing program frames and function libraries according to design thoughts, compile programs by using scripts, upload voice files required by own function modules, configure page setting special service numbers corresponding to the reference modules by using the dialing rule module 302, and finally restart the soft switch system to test and run the programs.
After the experiment is finished, the result is derived: the experimenter submits the experimental result, the system can automatically pack the data and send the data to the setting personnel, and the setting personnel can check the experimental condition of each group by comparing the IP addresses automatically allocated to each group by the docker, and can grade the experimental condition and export the experimental result.
The above-described embodiments are merely preferred embodiments of the present invention, and should not be construed as limiting the present invention, and the scope of the present invention is defined by the claims, and equivalents including technical features described in the claims. I.e., equivalent alterations and modifications within the scope hereof, are also intended to be within the scope of the invention.

Claims (10)

1. A soft switch experiment platform based on Docker and Asterisk is characterized in that: the system comprises an Asterisk system (1), a Docker environment container (2) and a web management system (3), wherein the Asterisk system (1) is used as the core of a soft switch experiment platform, the Docker environment container (2) is used for bearing the Asterisk system (1), and the soft switch experiment platform is configured and managed through the web management system (3).
2. The Docker and Asterisk-based soft switch experimental platform as claimed in claim 1, wherein: the web management system (3) is used for carrying out information management on the soft switch experiment platform, and the web management system (3) comprises a control module (301), a dialing rule module (302), a number management module (303), a ticket recording module (304) and a value-added module (305);
the control module (301) is responsible for starting, closing and restarting a soft switch, the dialing rule module (302) is responsible for managing the number rule of a soft switch experimental platform, the number management module (303) is responsible for managing the number of a soft switch system, the ticket recording module (304) is responsible for recording and managing the ticket, and the value-added module (305) realizes the value-added service functions of call forwarding, user bill inquiry, voice check and voice song ordering.
3. The Docker and Asterisk-based soft switch experimental platform as claimed in claim 1, wherein: the Asterisk system (1) also comprises a secondary development proceeding module (102), an application declaration and definition module (103), an initialization loading module (104), an application execution module (105) and an unloading module (106);
the secondary development proceeding module (102) summarizes and summarizes the Asterisk system (1);
an application declaration and definition module (103) defines an application name and description of the application program;
initializing the initialization loading module (104) when the system is started;
the application execution module (105) is a process executed when the system calls an application program;
the offload module (106) returns occupied system resources when the system is exited.
4. The Docker and Asterisk-based soft switch experimental platform as claimed in claim 3, wherein: the secondary development progress module (102) induces the functions in the Asterisk system (1), generates an explanatory document of a function library for secondary development, and realizes independent compilation of a Makefile script file in the secondary development progress module (102);
the student can complete the self-designed program code again according to the existing program framework and function library, compile the program by using the Makefile script file, upload the voice file required by the self-function module, set the special service number corresponding to the reference module by using the configuration page of the dialing rule module (302), and finally restart the soft switch system to test and operate the self program.
5. The Docker and Asterisk-based soft switch experimental platform as claimed in claim 1, wherein: the Asterisk system (1) also comprises a dynamic module loader (101), the dynamic module loader (101) can dynamically reduce or increase the operation modules in the Asterisk system (1), a database interface module (5) is arranged at the periphery of the Asterisk system (1), the database interface module (5) changes the configuration and management of a database into a database mode, a MySQL database (4) is used for helping to store the configuration and data related to the system, and a web management system (3) configures the database in the soft switch system;
when the Asterisk system (1) runs other modules, a user can dynamically reduce or increase the modules according to actual needs, and the web management system (3) is set for the user and configures data in a database in the soft switch system, so that the function of controlling and configuring the Asterisk system (1) by the user is achieved.
6. The Docker and Asterisk-based soft switch experimental platform as claimed in claim 1, wherein: the web management system (3) can start the soft switch experiment platform and acquire the configuration information of the soft switch experiment platform;
experiment setting personnel can issue experiment information, import the information of the experiment personnel, distribute experiment groups, evaluate experiment results and export the experiment results through the web management system (3); the experimenter can make the selection of the experimenter through the web management system (3).
7. The Docker and Asterisk-based soft switch experimental platform as claimed in claim 1, wherein: a plurality of independent soft switch experiment systems borne by the Docker environment container (2) are arranged in the soft switch experiment platform by copying the Docker environment container (2).
8. The Docker and Asterisk-based soft switch experimental platform as claimed in claim 7, wherein: the soft switch experiment platform is also provided with a Docker system (6), the Docker system (6) allocates IP addresses to each soft switch experiment system copied from the Docker environment container (2), and the Docker system (6) checks the experiment condition of each independent soft switch experiment system through connection of the allocated IP addresses.
9. The Docker and Asterisk-based soft switch experimental platform as claimed in claim 1, wherein: the soft switch experiment platform based on Docker and Asterisk comprises a basic experiment and an expansibility experiment;
basic experiments: configuring page configuration terminal information through a web management system (3), mainly comprising a number management module (303) of a terminal for carrying out a telephone number experiment and a dialing rule experiment by a dialing rule module (302), and then configuring a page through the web management system (3) to start a soft switch service;
and (3) expansibility experiment: the API interface provided by the Asterisk system (1) and the MySQL database (4) are utilized to realize the value added service of the soft switch: the method comprises call forwarding, user bill query, voice score checking and voice song requesting, and utilizes a secondary development processing module (102) to realize self programming design requirements through an API (application programming interface) and a batch compiling file.
10. An experimental method of the soft switch experimental platform based on Docker and Asterisk as claimed in any one of claims 1 to 9, which comprises the following steps: s1, importing information, setting an experiment task: opening a web management system (3), importing all necessary information through the web management system (3), distributing experimental groups, and setting experimental tasks;
s2, logging in the web management system (3) by each experimenter, checking the experimental group members, checking and distributing the experimental tasks;
s3, the docker system (6) allocates IP addresses to each independent soft switch experiment system:
a1: the platform automatically opens a Docker environment container (2) bearing a soft switching system, and allocates an IP address and a corresponding port to the Docker environment container (2);
a2: the method comprises the following steps that a base mirror image is created by a Docker system (6), a soft switch system is deployed in a Docker environment container (2), and then a plurality of soft switch systems are duplicated, so that each group has an independent soft switch system borne by the Docker environment container (2);
a3: the Docker system (6) allocates IP addresses to each soft switch experiment system copied from the Docker environment container (2), and experiment setting personnel can check the experiment conditions of each independent soft switch experiment system according to the IP addresses;
s4, experimenters perform experiments through the web management system (3):
b1: experimenters see the control module (301), the dialing rule module (302), the number management module (303), the ticket recording module (304) and the value-added module (305) through the web management system (3), know the functions of the modules, select the corresponding module to start the soft switch system for secondary development according to the needs of the experimenters, and start experiments;
b2: generating a function library and a Makefile script file: the secondary development progress module (102) induces the functions in the Asterisk system (1), generates an explanatory document of a function library for secondary development, and realizes independent compilation of a Makefile script file in the secondary development progress module (102);
b3: configuring and storing a database in a soft switch system: the dynamic module loader (101) can dynamically reduce or increase the operation modules in the Asterisk system (1), the database interface module (5) changes the database configuration and management into a database mode, and the MySQL database (4) is used for helping to store the configuration and data related to the system;
b4: the experimenter performs a secondary development test: experimenters complete own design program codes according to an existing program framework and a function library according to design thoughts, compile programs by using scripts, upload voice files required by own function modules, set special service numbers corresponding to a reference module by using a configuration page of a dialing rule module (302), and finally restart a soft switch system to test and run own programs;
the S5 experiment was completed and the results were derived: the experimenter submits the experimental result, the system can automatically pack the data and send the data to the setting personnel, and the setting personnel can check the experimental condition of each group by comparing the IP addresses automatically allocated to each group by the docker, and can grade the experimental condition and export the experimental result.
CN202110607904.0A 2021-06-01 2021-06-01 Soft exchange experiment platform and method based on Docker and Asterisk Active CN113470483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110607904.0A CN113470483B (en) 2021-06-01 2021-06-01 Soft exchange experiment platform and method based on Docker and Asterisk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110607904.0A CN113470483B (en) 2021-06-01 2021-06-01 Soft exchange experiment platform and method based on Docker and Asterisk

Publications (2)

Publication Number Publication Date
CN113470483A true CN113470483A (en) 2021-10-01
CN113470483B CN113470483B (en) 2023-02-17

Family

ID=77871981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110607904.0A Active CN113470483B (en) 2021-06-01 2021-06-01 Soft exchange experiment platform and method based on Docker and Asterisk

Country Status (1)

Country Link
CN (1) CN113470483B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1294812A (en) * 1996-11-18 2001-05-09 Mci全球通迅公司 Communication system architecture
CN102254461A (en) * 2010-05-18 2011-11-23 北京市轩辕鼎科技有限公司 All-media remote training system based on unified communication
WO2018185381A1 (en) * 2017-04-04 2018-10-11 Brainwork Innovation Technologies System for managing a generic practical teaching platform and method implemented by said system
CN108958947A (en) * 2018-09-17 2018-12-07 北京市计算中心 A kind of big data all-in-one machine and its application method
CN109523858A (en) * 2018-12-11 2019-03-26 衡阳师范学院 A kind of Network Protocol Emulation System Teaching implementation method and process based on docker
CN109636691A (en) * 2018-12-18 2019-04-16 南京邮电大学 A kind of online experiment teaching platform and implementation method based on docker
US20190229987A1 (en) * 2018-01-24 2019-07-25 Nicira, Inc. Methods and apparatus to deploy virtual networking in a data center
CN111445364A (en) * 2020-03-31 2020-07-24 重庆海云捷迅科技有限公司 FPGA cloud laboratory platform and implementation method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1294812A (en) * 1996-11-18 2001-05-09 Mci全球通迅公司 Communication system architecture
CN102254461A (en) * 2010-05-18 2011-11-23 北京市轩辕鼎科技有限公司 All-media remote training system based on unified communication
WO2018185381A1 (en) * 2017-04-04 2018-10-11 Brainwork Innovation Technologies System for managing a generic practical teaching platform and method implemented by said system
US20190229987A1 (en) * 2018-01-24 2019-07-25 Nicira, Inc. Methods and apparatus to deploy virtual networking in a data center
CN108958947A (en) * 2018-09-17 2018-12-07 北京市计算中心 A kind of big data all-in-one machine and its application method
CN109523858A (en) * 2018-12-11 2019-03-26 衡阳师范学院 A kind of Network Protocol Emulation System Teaching implementation method and process based on docker
CN109636691A (en) * 2018-12-18 2019-04-16 南京邮电大学 A kind of online experiment teaching platform and implementation method based on docker
CN111445364A (en) * 2020-03-31 2020-07-24 重庆海云捷迅科技有限公司 FPGA cloud laboratory platform and implementation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
涂继辉 等: ""基于Asterisk软交换实验系统的设计与实现"", 《实验技术与管理》, 30 September 2013 (2013-09-30), pages 114 - 117 *

Also Published As

Publication number Publication date
CN113470483B (en) 2023-02-17

Similar Documents

Publication Publication Date Title
CN110647469B (en) Micro-service testing method and device, computer equipment and storage medium
Vu et al. Legacy application migration to the cloud: Practicability and methodology
CN108829378A (en) A kind of development approach of application software, device and electronic equipment
KR101056682B1 (en) A weapon simulation system and the same method based on the component
CN113672240B (en) Method and system for automatically deploying applications in batches based on multiple machine rooms of container
CN102591778B (en) Evaluation system of extendable program competition based on service
CN110347445A (en) SDK call method, device, server and storage medium
CN112395736A (en) Parallel simulation job scheduling method of distributed interactive simulation system
Phalake et al. Low code development platform for digital transformation
Nüst et al. The rockerverse: packages and applications for containerization with r
CN109753302A (en) The method of servicing without service function based on mixing cloud computing platform
Patni et al. Infrastructure as a code (IaC) to software defined infrastructure using Azure Resource Manager (ARM)
CN110262809B (en) Campus application release method and system based on persistent integration and virtualization container
CN113470483B (en) Soft exchange experiment platform and method based on Docker and Asterisk
CN113849399A (en) Automatic testing system and method for multi-machine cooperative software under multi-localization platform
CN114546563A (en) Multi-tenant page access control method and system
Yang et al. Construction of OSS-based e-learning cloud in China
Skúlason Architectural operations in cloud computing
Petrovic et al. Dealing with scalability of laboratory sessions in computer science university courses
WO2012139482A1 (en) Network encyclopedia user management system and method of accessing applications thereof
WO2022128296A1 (en) Transferring an operating image into a multi-tenant environment
CN107123326A (en) Method and classroom teaching programming system for classroom teaching programming
Jadhav et al. A Comprehensive Framework for Implementing DevOps in Cloud for Education
CN112181403A (en) Development, operation and maintenance integration realization method, device and equipment and readable storage medium
Bendix et al. Software configuration management issues with industrial opensourcing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant