Delay measurement method for digital-analog port in VoIP (Voice over Internet Protocol) system
The time difference between analog signals and digital signals in VoIP systems is calculated by digital oscilloscope, which solves the problem of delay measurement in VoIP systems, and realizes efficient and accurate delay measurement, which improves the performance evaluation and optimization capabilities of communication equipment.
Patent Information
- Application Number
- CN202410980047.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-12
AI Technical Summary
The prior art is difficult to accurately measure the delay between the internal telephone system and the radio analog signal and the digital signal in VoIP systems, affecting the real-time and effectiveness of communication, and may endanger life safety in emergency communication scenarios.
Use a digital oscilloscope to calculate the time difference between the trigger edge of the analog signal and the digital signal data packet, send an analog voice signal through the signal source device, and use a packet grabber tool and a digital oscilloscope to calculate the time difference to obtain the delay measurement results, simplifying the measurement The process and avoids signal type conversion.
It realizes efficient and accurate delay measurement, shortens the measurement cycle, reduces manpower and material investment, improves measurement efficiency and accuracy, simplifies the network topology, and ensures the coherence and reliability of measurement.
Smart Images

Figure CN118945272A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of civil aviation communication, and is applied to the testing of a VoIP intercom system and a VoIP radio station, and in particular to a delay measurement method for a digital-analog port in a VoIP system. Background Art
[0002] With the rapid development of communication technology, especially the popularization of VoIP (Voice over Internet Protocol, voice transmission based on IP) technology, voice communication has shifted from the traditional analog signal mode to a more efficient, flexible and cost-effective digital signal transmission mode. VoIP technology transmits voice signals through data networks, converts analog voice signals into digital signals, realizes the seamless integration of voice and data, and greatly improves the performance of communication systems.
[0003] However, the widespread use of VoIP technology has also brought a series of challenges, the most prominent of which is the end-to-end delay problem. In intercom systems and radio communications, the delay caused by the conversion and transmission of analog signals to digital signals has a significant impact on the real-time and effectiveness of communications. In emergency communication scenarios, this delay may even endanger life safety or cause mission failure.
[0004] The PTT (Push-to-Talk) and SQU (Squelch Control) functions in intercom systems and radios are particularly susceptible to delays in digital communication environments. The PTT function requires instant initiation of voice transmission, while the SQU function requires a quick response to eliminate background noise. However, the existence of delays slows down the response speed of these functions, which in turn affects the overall communication quality.
[0005] In addition, forward voice delay (from sender to receiver) and reverse voice delay (from receiver back to sender) also have a negative impact on the real-time and interactivity of communication. Excessive delay will lead to impaired conversation continuity, especially in communication scenarios that require instant feedback.
[0006] Although there are many test methods for measuring the delay of communication systems, these methods often have problems such as complex operation and limited accuracy, and it is difficult to fully and accurately reflect the actual delay of intercom systems and radio stations during the conversion and transmission of analog and digital signals. Therefore, developing a delay measurement method that is easy to operate and accurate in measurement is of great significance for improving the performance evaluation and optimization of wireless communication systems. Summary of the invention
[0007] Based on the current status of the background technology, the purpose of the present invention is to solve the problem that the delay between the internal voice system and the analog end and the digital end of the radio station is difficult to measure and evaluate in the prior art, so a delay measurement method for the digital-analog port in the VoIP system is proposed. The present invention obtains the target delay by calculating the time difference between the trigger edge of the analog signal and the appearance of the digital signal data packet in a digital oscilloscope, effectively reducing the connection complexity, avoiding the conversion between the analog signal and the digital signal, and improving the measurement efficiency, which can provide strong support for the development and performance testing of the VoIP system.
[0008] The present invention adopts the following technical solutions to achieve the purpose:
[0009] A delay measurement method for a digital-analog port in a VoIP system, the method comprising: using a signal source device to send an analog voice signal for delay measurement to a measured object, and the measured object transmits the received analog voice signal through a voice data packet; using a packet capture tool to capture the voice data packet, and using a digital oscilloscope to capture the analog voice signal and a digital voice signal corresponding to the voice data packet; based on the information of the captured voice data packet, calculating the time difference between the analog voice signal and the digital voice signal, and obtaining the delay measurement result of the measured object.
[0010] Specifically, the object under test is also connected to a matching object for measurement with it, and the signal source device adopts a comprehensive tester or a signal generator; the comprehensive tester or the signal generator is connected to the object under test or the matching object.
[0011] Preferably, the object under test, the cooperating object and the packet capture tool are all connected to a 10BASE-T HUB hub via an RJ45 network cable, and the 10BASE-T HUB hub connects the three to a VoIP communication network in the form of a same local area network.
[0012] Specifically, when the measured object is an intercom system, the matching object is a radio station; when the measured object is a radio station, the matching object is an intercom system. Regardless of whether the measured object is an intercom system or a radio station, the delay measurement content includes: PTT delay, SQU delay, forward voice delay and reverse voice delay.
[0013] Furthermore, the signal source device is connected to the intercom system or radio station through a radio frequency cable, and the analog voice signal emitted by the signal source device and the digital voice signal corresponding to the voice data packet are simultaneously connected to the digital oscilloscope; during the delay measurement process, the packet capture tool is turned on and the trigger item of the digital oscilloscope is set at the same time, and the analog voice signal is sent to the intercom system or radio station through the signal source device. After the intercom system or radio station works normally, the digital oscilloscope is used to capture the relevant signals.
[0014] Furthermore, during delay measurement, voice data packets are captured through a packet capture tool, and the hexadecimal data in the voice data packets after UTF-8 encoding is recorded; the bus decoding function of the digital oscilloscope is turned on, and 10BASE-T is selected as the decoding mode. The digital oscilloscope obtains the decoding result of the analog voice signal; based on the hexadecimal data corresponding to the captured voice data packet, the corresponding digital voice signal is determined in the digital oscilloscope, and the time difference between the occurrence time of the digital voice signal and the trigger edge of the analog voice signal is calculated. The time difference is the delay measurement result of the object under test.
[0015] In summary, due to the adoption of this technical solution, the beneficial effects of the present invention are as follows:
[0016] By using a digital oscilloscope to collect digital signals and analog signals at the same time, the present invention achieves the acquisition of all necessary data within a single measurement cycle, avoids the need for repeated measurements, greatly shortens the measurement cycle, and improves work efficiency. By using a 10BASE-T HUB hub to connect the radio, intercom system, and measurement equipment to the same local area network, the network topology is simplified, the wiring complexity is reduced, and the measurement process is further accelerated. In addition, by sending the measurement signal to the measurement object at one time through a comprehensive tester or a signal generator, the cumbersome steps of multiple settings and resending signals are eliminated, ensuring the consistency and coherence of the measurement and improving the overall measurement efficiency.
[0017] The measurement scheme provided by the present invention only needs to simply adjust the connection between devices when the measurement object is changed, without the need to purchase a variety of special measurement equipment, which greatly reduces the investment in manpower and materials and realizes the construction of an economical and efficient measurement environment. At the same time, the computers and electronic instruments used in the present invention are based on mature commercial technologies, are easy to obtain and have reliable performance. The measurement method is flexible, and the connection between the signal generator and the measurement equipment can be freely configured according to different measurement requirements to ensure the effectiveness and feasibility of the measurement scheme.
[0018] By directly calculating the time difference between the trigger edge of the analog signal and the appearance of the digital signal data packet in the digital oscilloscope, the present invention avoids the intermediate link of signal type conversion, realizes the accurate measurement of system delay, and enhances the accuracy of the measurement result. At the same time, the digital signal is directly captured by means of the RJ45-8Pin converter or the wire stripping method, and the shared network connection is realized with the 10BASE-T HUB hub. The present invention simplifies the communication protocol, facilitates the digital oscilloscope to efficiently capture the digital signal, and ensures the smoothness of data analysis, further consolidating the accuracy and reliability of the measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic diagram of measuring the PTT delay and forward voice delay of the intercom system in the present invention;
[0020] Figure 2 It is a schematic diagram of measuring the SQU delay and reverse speech delay of the intercom system in the present invention;
[0021] Figure 3 It is a schematic diagram of measuring the radio station PTT delay and forward voice delay in the present invention;
[0022] Figure 4 It is a schematic diagram of measuring the radio station SQU delay and reverse speech delay in the present invention;
[0023] Figure 5 This is a schematic diagram of an interface for a packet capture tool in an example of the present invention to capture a voice data packet;
[0024] Figure 6 This is a schematic diagram of an interface for determining a digital voice signal using a digital oscilloscope in an example of the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0026] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] Example 1
[0028] A delay measurement method for a digital-analog port in a VoIP system, the method comprising: using a signal source device to send an analog voice signal for delay measurement to a measured object, and the measured object transmits the received analog voice signal through a voice data packet; using a packet capture tool to capture the voice data packet, and using a digital oscilloscope to capture the analog voice signal and a digital voice signal corresponding to the voice data packet; based on the information of the captured voice data packet, calculating the time difference between the analog voice signal and the digital voice signal, and obtaining the delay measurement result of the measured object.
[0029] At the same time, the object under test is also connected to a matching object for measurement with it, and the signal source device adopts a comprehensive tester or a signal generator; the comprehensive tester or the signal generator is connected to the object under test or the matching object.
[0030] As a preferred embodiment of this invention, Figures 1 to 4 As shown in the figure, the object under test, the cooperating object and the packet capture tool are all connected to the 10BASE-T HUB hub via RJ45 network cables. The 10BASE-T HUB hub connects the three to the VoIP communication network in the form of a local area network. The 10BASE-T HUB hub can ensure that each device communicates in the same local area network and unifies the communication protocol to 10BASE-T.
[0031] In this embodiment, the signal source device is connected to the object under test including the intercom system or the radio station through a radio frequency cable, and the analog voice signal emitted by the signal source device and the digital voice signal corresponding to the voice data packet are simultaneously connected to the digital oscilloscope; during the delay measurement process, the packet capture tool is turned on and the trigger item of the digital oscilloscope is set at the same time, and the analog voice signal is sent to the object under test through the signal source device. After the object under test works normally, the digital oscilloscope is used to capture the relevant signals.
[0032] When measuring the delay, use the packet capture tool to capture the voice data packet and record the hexadecimal data in the voice data packet after UTF-8 encoding. Figure 5 ; turn on the bus decoding function of the digital oscilloscope, select 10BASE-T as the decoding method, and the digital oscilloscope obtains the decoding result of the analog voice signal; according to the hexadecimal data corresponding to the captured voice data packet, the corresponding digital voice signal is determined in the digital oscilloscope, and the time difference between the appearance time of the digital voice signal and the trigger edge of the analog voice signal is calculated. The time difference is the delay measurement result of the object under test.
[0033] Example 2
[0034] Based on Example 1, this example specifically introduces the relevant contents of delay measurement when the object to be measured is an intercom system and the cooperating object is a radio station, and the signal source device used is a comprehensive tester.
[0035] In this embodiment, the delay measurement content with the intercom system as the measured object includes:
[0036] The first PTT delay is the delay between pressing the PTT button in the intercom system and sending a voice data packet containing the PTT-ON signaling. For connection instructions, see Figure 1 .
[0037] The first SQU delay is the delay between the intercom system receiving the voice data packet containing the SQU-ON signaling sent by the radio station and the intercom system outputting the audio. For connection instructions, see Figure 2 .
[0038] The first forward voice delay is the delay between pressing the PTT button in the intercom system and sending a voice data packet containing voice content in the intercom system; for connection instructions, please refer to Figure 1 .
[0039] The first reverse voice delay is the delay between the intercom system receiving the voice data packet containing voice content sent by the radio station and the intercom system outputting the audio. For connection instructions, please refer to Figure 2 .
[0040] exist Figure 1 , Figure 2 In the figure, the intercom system, radio station and packet capture tool are actually connected to the 10BASE-T HUB hub through the RJ45 network cable; the VoIP communication network shown in each figure means that the 10BASE-T HUB hub connects the three to the VoIP communication network in the form of the same local area network.
[0041] In this embodiment, when performing the first PTT delay measurement and the first forward voice delay measurement, the signal source device is connected to the intercom system through the seat, and provides an analog voice signal with voice content to the intercom system, and the intercom system transmits the analog voice signal to the radio station through a voice data packet; when performing the first SQU delay measurement and the first reverse voice delay measurement, the signal source device is connected to the radio station, and provides an analog voice signal with voice content to the radio station, and the radio station transmits the analog voice signal to the intercom system through a voice data packet.
[0042] Example 3
[0043] Based on Example 1, this example specifically introduces the relevant contents of delay measurement when the object to be measured is a radio station and the cooperating object is an intercom system, and the signal source device used is a comprehensive tester.
[0044] In this embodiment, the delay measurement content with the intercom system as the measured object includes:
[0045] The second PTT delay is the delay between the radio receiving the voice data packet containing the PTT-ON signaling sent by the intercom system and the radio outputting the audio. For connection instructions, please refer to Figure 3 .
[0046] The second SQU delay is the delay between the radio receiving the analog voice signal and the radio sending the voice data packet containing the SQU-ON signaling. For connection instructions, see Figure 4 .
[0047] The second forward voice delay is the delay between the radio receiving the voice data packet containing voice content and the radio outputting the audio. For connection instructions, see Figure 3 .
[0048] The second reverse voice delay is the delay between the radio receiving the analog voice signal and the radio sending the voice data packet containing the voice content; for connection instructions, please refer to Figure 4 .
[0049] exist Figure 3 , Figure 4 In the figure, the intercom system, radio station and packet capture tool are actually connected to the 10BASE-T HUB hub through the RJ45 network cable; the VoIP communication network shown in each figure means that the 10BASE-T HUB hub connects the three to the VoIP communication network in the form of the same local area network.
[0050] In this embodiment, when performing the second PTT delay measurement and the second forward voice delay measurement, the signal source device is connected to the intercom system through the seat, and provides an analog voice signal with voice content to the intercom system, and the intercom system then transmits it to the radio station through the voice data packet; when performing the second SQU delay measurement and the second reverse voice delay measurement, the signal source device is connected to the radio station, and provides an analog voice signal with voice content to the radio station, and the radio station transmits the analog voice signal to the intercom system through the voice data packet.
[0051] Example 4
[0052] Based on any of the above embodiments, this embodiment introduces how to simply and effectively access digital voice signals in a digital oscilloscope. There are two methods, namely, the RJ45-8Pin converter method and the RJ45 network cable stripping method. In this embodiment, the objects under test are connected to the matching objects through the VoIP communication network in the form of the same local area network using RJ45 network cables with a 268B line sequence.
[0053] In the RJ45-8Pin converter mode, after the RJ45 network cable is cut off, an 8Pin converter is connected to each end of the breakpoint, and the RJ45 network cable is reconnected through two 8Pin converters; DuPont cables are used to connect the RJ45 network cables on both sides to their corresponding 8Pin converters, and the plastic head of one side of the DuPont cable is removed to expose the metal part, which corresponds to the metal part of the orange-white and orange data lines in the RJ45 network cable. The probe of the digital oscilloscope is connected to the metal part to realize the access of digital voice signals;
[0054] In the RJ45 network cable stripping method, use wire strippers to peel off the gel coat of the RJ45 network cable, and use a sharp pen to melt the plastic heads of the orange and white and orange data cables in the RJ45 network cable to expose the metal part; solder the DuPont wire on the metal part, and connect the probe of the digital oscilloscope to the pin on the other side of the DuPont wire that is not soldered to achieve the access of digital voice signals.
[0055] In summary, the delay measurement method for digital-analog ports in VoIP systems proposed in the present invention has brought revolutionary improvements to the delay performance measurement of communication equipment such as VoIP radio stations and intercom systems by streamlining the measurement process, reducing resource consumption, and enhancing measurement accuracy, and has significant economic benefits and social value.
Claims
1. A delay measurement method for digital-analog ports in VoIP systems. Features: A signal source device is used to send an analog voice signal for delay measurement to the object under test, and the object under test transmits the received analog voice signal through a voice data packet; a packet capture tool is used to capture the voice data packet, and a digital oscilloscope is used to capture the analog voice signal and the digital voice signal corresponding to the voice data packet; based on the information of the captured voice data packet, the time difference between the analog voice signal and the digital voice signal is calculated to obtain the delay measurement result of the object under test.
2. The delay measurement method for digital-analog ports in a VoIP system according to claim 1, Features: The object under test is also connected to a matching object for measurement with it, and the signal source device adopts a comprehensive tester or a signal generator; the comprehensive tester or the signal generator is connected to the object under test or the matching object.
3. The delay measurement method for digital-analog ports in a VoIP system according to claim 2, Features: The object under test, the cooperating object and the packet capture tool are all connected to the 10BASE-T HUB hub via RJ45 network cables. The 10BASE-THUB hub connects the three to the VoIP communication network in the form of the same LAN.
4. The delay measurement method for digital-analog ports in a VoIP system according to claim 3, Features: The object to be measured is the intercom system, and the cooperating object is the radio station; the delay measurement content of the intercom system includes: The first PTT delay is the delay between pressing the PTT button in the intercom system and sending a voice data packet containing the PTT-ON signaling; The first SQU delay is the delay between the intercom system receiving the voice data packet containing the SQU-ON signaling sent by the radio station and the intercom system seat outputting the audio; The first forward voice delay is the delay between pressing the PTT button in the intercom system and sending a voice data packet containing voice content in the intercom system; The first reverse voice delay is the delay between the intercom system receiving a voice data packet containing voice content sent by the radio station and the intercom system outputting audio.
5. The delay measurement method for digital-analog ports in a VoIP system according to claim 4, Features: When performing the first PTT delay measurement and the first forward voice delay measurement, the signal source device is connected to the intercom system through the seat, and provides an analog voice signal with voice content to the intercom system, and the intercom system transmits the analog voice signal to the radio station through voice data packets; when performing the first SQU delay measurement and the first reverse voice delay measurement, the signal source device is connected to the radio station, and provides an analog voice signal with voice content to the radio station, and the radio station transmits the analog voice signal to the intercom system through voice data packets.
6. The delay measurement method for digital-analog ports in a VoIP system according to claim 3, Features: The object to be measured is the radio station, and the cooperating object is the intercom system; the delay measurement contents of the radio station include: The second PTT delay is the delay between the radio station receiving the voice data packet containing the PTT-ON signaling sent by the intercom system and the radio station outputting the audio; The second SQU delay is the delay between the radio receiving the analog voice signal and the radio sending the voice data packet containing the SQU-ON signaling; The second forward voice delay is the delay between the radio station receiving the voice data packet containing voice content and the radio station outputting the audio; The second reverse voice delay is the delay between when the radio station receives the analog voice signal and when the radio station sends out a voice data packet containing voice content.
7. The delay measurement method for digital-analog ports in a VoIP system according to claim 6, Features: When performing the second PTT delay measurement and the second forward voice delay measurement, the signal source device is connected to the intercom system through the seat, and provides an analog voice signal with voice content to the intercom system, and the intercom system then transmits it to the radio station through the voice data packet; when performing the second SQU delay measurement and the second reverse voice delay measurement, the signal source device is connected to the radio station, and provides an analog voice signal with voice content to the radio station, and the radio station transmits the analog voice signal to the intercom system through the voice data packet.
8. The delay measurement method for digital-analog ports in a VoIP system according to claim 5 or 7, Features: The signal source device is connected to the intercom system or radio station through a radio frequency cable, and the analog voice signal emitted by the signal source device and the digital voice signal corresponding to the voice data packet are simultaneously connected to the digital oscilloscope; During the delay measurement process, open the packet capture tool and set the trigger item of the digital oscilloscope at the same time, send the analog voice signal to the intercom system or radio through the signal source device, and use the digital oscilloscope to capture the relevant signals after the intercom system or radio works normally.
9. The delay measurement method for digital-analog ports in a VoIP system according to claim 8, Features: The methods of connecting the digital voice signal to the digital oscilloscope include RJ45-8Pin converter method and RJ45 network cable stripping method. The measured object adopts RJ45 network cable with 268B line sequence to connect with the matching object through the VoIP communication network in the form of the same local area network; In the RJ45-8Pin converter mode, after the RJ45 network cable is cut off, an 8Pin converter is connected to each end of the breakpoint, and the RJ45 network cable is reconnected through two 8Pin converters; DuPont cables are used to connect the RJ45 network cables on both sides to their corresponding 8Pin converters, and the plastic head of one side of the DuPont cable is removed to expose the metal part, which corresponds to the metal part of the orange-white and orange data lines in the RJ45 network cable. The probe of the digital oscilloscope is connected to the metal part to realize the access of digital voice signals; In the RJ45 network cable stripping method, use wire strippers to peel off the gel coat of the RJ45 network cable, and use a sharp pen to melt the plastic heads of the orange and white and orange data cables in the RJ45 network cable to expose the metal part; solder the DuPont wire on the metal part, and connect the probe of the digital oscilloscope to the pin on the other side of the DuPont wire that is not soldered to achieve the access of digital voice signals.
10. The delay measurement method for digital-analog ports in a VoIP system according to claim 8, Features: When measuring delay, capture the voice data packet through the packet capture tool, and record the hexadecimal data in the voice data packet after UTF-8 encoding; turn on the bus decoding function of the digital oscilloscope, select 10BASE-T as the decoding method, and the digital oscilloscope obtains the decoding result of the analog voice signal; according to the hexadecimal data corresponding to the captured voice data packet, determine the corresponding digital voice signal in the digital oscilloscope, and calculate the time difference between the appearance time of the digital voice signal and the trigger edge of the analog voice signal. This time difference is the delay measurement result of the object under test.
Citation Information
Cited By
A method and device for monitoring intelligent outbound call delay
CN119763580A
