Next Generation Network (NGN) has become the development direction of communication networks. VoIP is a hot spot in NGN research and has a broad application market. VoIP technology can transmit voice services over packet-switched networks to meet the demand for voice services on data communication networks. Currently, there are two call signaling and control standards in the IP telephony field: ITU-T H. 323 protocol and 1 ETF SIP protocol. The H.323 protocol has been matured since its early submission, and the SIP protocol proposed by the IETF has emerged as a trend due to its simple and flexible technical features.
At the same time, wireless local area network (WLAN) technology is developing rapidly.
The mainstream technical standards for WLAN have evolved from 802.11 to 802.11a/b/g, and the access rate has grown from the highest l Mbps to 54 Mbps, and the technology is mature, the cost is low, and the penetration rate is rapidly increasing, catering to the development of portable terminals. The requirements have been supported by a large number of international manufacturers and widely recognized by the market. However, 802.11a/b/g technology only provides high-speed data access services and cannot provide voice services. Therefore, it is necessary to adopt a VoIP technology based on the data service to develop a wireless VoIP phone (VoWiFi) to accommodate embedded. Communication network equipment is increasingly used in a wide range of applications. The software and hardware platform for implementing VoWiFi can adopt the most popular embedded development platform and open source Linux operating system. Based on the above technology, an embedded VoWiFi telephone terminal can be constructed, which has important application value.
1 Technology Solution The embedded VoWiFi phone is a device that can communicate over the 802.11a/b/g wireless LAN. In order to implement telephone communication on 802.1la/b/g, VoIP technology must be adopted, and the VoIP standard of this system can select a more flexible SIP protocol. In order to realize various communication protocols and complete various control and management tasks to meet the needs of further development in the future, an embedded system based on a microcontroller is required. In order to improve the flexibility of hardware design and the portability of software code between platforms, the design of the system hardware and software adopts a modular approach. In the hardware, the system is divided into several functional units such as Ethernet interface, USB wireless network card interface, audio interface, serial interface; in software, the embedded operating system is used to separate the underlying hardware platform and the upper layer application, and the terminal system is adopted. The module division and interface definition between modules effectively separate the correlation between modules, so that each module can be developed at the same time to improve development efficiency.
This article refers to the address: http://
2 hardware design
2.1 Overall scheme The technical solution of VoWiFi telephone hardware is shown in Figure 1. The ARM9 processor is the core of the entire terminal, including 802.11b/g wireless modules, voice signal processing modules, keyboards and LCD circuits. The ARM embedded system is the core of VoWiFi telephony control and management. It is responsible for the operation of the operating system, the management and allocation of resources, the processing of information data and the communication with external expansion units, and the interface and communication with each module, TCP/ The operation of the IP protocol and the SIP protocol. Taking into account various factors, the system uses the ARM9 microcontroller chip EP9302. In order to enable the system to support multi-tasking, making program development easier and easier to maintain, and improving system stability and reliability, the embedded operating system Linux is adopted.
2.2 Module Selection and Circuit Design The 802.11b/g wireless module implements the air wireless interface and wireless LAN access. Using VIA VIA's VT6656 USB wireless network card, the VT6656 wLAN controller includes an IEEE802.11a/b/gMAC and integrates a baseband processor to support USB2. O. The controller provides a 54Mbps high speed wireless connection.
Inside the ARM9 development board contains 1 USB2. O interface controller, interface circuit shown in Figure 2. There are 3 LISB interfaces (2 Hosts and 1 Device), and the gate control is performed by selecting the switch SW800. The 74HC08 acts as a four-input AND gate logic circuit that is responsible for the logical combination of control signals. This interface is used to connect an external device of the USB interface.
The speech signal processing module is used for digitizing the speech signal. The audio interface of the terminal is composed of an I2S audio bus interface and a UDAl341TS audio codec, and the I2S interface adopts a DMA data transmission mode. The UDAl341TS is an economical audio codec that digitizes audio signals through the I2S digital audio interface. Figure 3 is a schematic diagram showing the pin connections of the EP9302 and UDAl341TS.
LCD display and 4×4 keyboard are used for human-machine interface, and various man-machine operations are realized under the support of ARM embedded system. Considering that LCD displays are mainly used for numbers and various status indicator displays, a 128×64 graphic dot matrix LCD module with backlight is used.
3 Software Design The software structure of the embedded WLAN SIP phone terminal is shown in Figure 4. Specifically, the following software is required.
(1) Embedded operating system embedded operating system
It provides the foundation and development platform of embedded application software. It has API system calls that package CPU time, interrupt, I/O, timer and other resources and leave it to the user standard. The task is scheduled reasonably to ensure real-time and reliable. Sex and other functions. Wireless network card drivers, TCP/IP protocol stacks, liquid crystal displays, and keyboard drivers are all operating system modules.
(2) SIP protocol The SIP protocol is mainly used for call control, including the establishment, maintenance and termination of calls, and dynamically adjusts and modifies related attributes according to the progress of the call. The related operations of the SIP protocol include: sending and receiving SIP messages, generating and analyzing messages, saving and converting state machines, managing SIP sessions, running SIP transaction mechanisms, constructing, parsing, and media negotiation of SDP messages. , as well as the registration of the terminal and other functions.
(3) Voice processing software The voice processing software is used to implement complete voice interaction between users, which can be further divided into:
1 voice processing module. Responsible for the collection, encoding and decoding of voice data, and the use of G. 711 speech coding technology.
2 real-time media transmission module. Complete RTP encapsulation and decomposition of data packets, as well as data packet transmission and reception. The SIP protocol and voice processing are two separate processes. After the SIP session is established, the media stream is connected, the media stream is disconnected, and the SIP session is removed.
(4) Hardware device driver The hardware device driver includes a wireless network card, a keyboard, and an LCD driver. Compile the driver into a loadable module of the kernel and link it to the kernel, generate a new kernel that can run on the target board, and then burn the kernel into the Flash of the target board to make them work.
(5) Terminal application terminal application realizes initialization of terminal program, creates thread; manages each module information in the program, allocates resources for them; and interacts with the user, is responsible for controlling and managing the work and modules of other modules globally. Inter-communication; and as the operating platform of the SIP user agent, the call initiation, call response and call termination functions of the entire system are realized.
In the working process of the whole system, including the transmission of the signaling control protocol, the use of the signaling control function, the voice transmission after the connection is established, and the transmission and control of the real-time media are all implemented by the UDP method. Voice data requires relatively high real-time and processing speed, and the voice data quality is not very sensitive to possible packet loss caused by reliability problems, so UDP is used as the transmission carrier of voice data.
The protocol used to secure real-time data transmission throughout the session is the RTP protocol. The RTP algorithm is not implemented as a separate network layer, but as part of the application code. The real-time transport control protocol RTCP and RTP together provide flow control and congestion control services.
4 working process and experimental test
4.1 The working process uses an embedded VoWiFi telephone terminal, a wireless AP and a PC-based SIP softphone as an experimental environment. The working process of the VoWiFi terminal is as follows: the audio signal is first sent to the audio processing unit through the MIC, and the analog/digital conversion of the sound signal is completed, and then the data is encapsulated by the RTP protocol, the UDP protocol, and the IP protocol from top to bottom through voice codec. The ARM9 processor reads the encapsulated data into the off-chip cache unit SDRAM by the DMA method through the I2S bus. When the opened buffer area is full, the wireless network card driver is run, and the IP packet is sent out through the wireless network card. After receiving the sent data, the SIP softphone running on the PC takes out the audio data in the IP packet through the application layer software, then calls the PC sound card driver, and sends the data to the sound card to restore the analog voice. The reverse direction of data transfer is similar, except that the data is sent by a client program running TCP/IP on the host.
4.2 Experimental Test After testing the functions such as registration, calling, canceling call, and voice communication of the terminal, the terminal can perform good control on the SIP signaling process, thereby implementing basic functions such as registration and calling. In terms of voice transmission, the terminal can perform real-time voice transmission with the called RTP channel, and the voice quality is better in the LAN environment, and the delay is small; in terms of interworking, in addition to being able to communicate with another terminal, it can also be connected with Linphone, X. Terminals such as lite establish call and voice communication with good interoperability.
Conclusion Based on the introduction of VoIP on principle, hardware and software design based on VoWiFi phone terminal embedded ARM9 platform. The design uses the current most popular embedded development platform and open source Linux operating system to implement VoIP voice call function on the wireless LAN. The innovation lies in: VoIP technology is used to implement VoWiFi telephone terminal voice call function on 802.11a/b/g wireless local area network (WLAN).
Whether you have an Apple Ibook, an Apple Powerbook or indeed an Apple Macbook Air, we will have the Apple Laptop Charger suitable for your Apple laptop. Apple is a high quality brand, and therefore Apple laptop charger must be high quality too.
Apple laptop charger include apple macbook pro charger series and apple macbook air charger series. Yidashun not only can offer 45W 60W 85W old mac charger with magsafe 1.0 and 2.0 tip, but also can offer new 29W 30W 61W 87W USB C power Adapter. And also we can silkprint your logo on the chargers, and also can customize the color package.
If you want to look for a factory which can produce range models of the macbook charger, and also with high quality, contact Yidashun , we can offer you all kinds of replacement apple adapter. and also support you high quality with 2 years' warranty.
Yidahsun's laptop adapter is with smart IC to protect your laptop with over current protection, over load protection, short circuit protection, over heat protection. All our mac laptop charger is Brand New Replacement Product, works as Genuine parts, 100% OEM Compatible!

Apple Laptop Charger,Apple Computer Charger,Apple Macbook Charger,Mac Laptop Charger
Shenzhen Yidashun Technology Co., Ltd. , https://www.ydsadapter.com