A link quality detection system, method, apparatus, device, and storage medium

CN117081954BActive Publication Date: 2026-09-29广州广哈通信股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311093593.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-28
Publication Date
2026-09-29
Estimated Expiration
2043-08-28

AI Technical Summary

Technical Problem

人工呼叫在同一时刻仅能实现一个设备的呼叫,对于需要对大量终端通信设备进行检验的场景中,不但效率低,用时长,还存在误操作的可能

Benefits of technology

[0048]本发明通过设置链路质量检测服务器,在链路质量检测任务中通过语音通道和信令通道分离的方式配置多个业务通道并发开展链路质量检测任务,提高了遥测呼叫效率;同时,链路质量检测服务器可以对链路质量检测过程中的多个步骤进行计算和验证,保证了链路质量检测的准确度和可靠性;同时,链路质量检测任务不再局限于定性测试通信设备是否正常,还通过计算测试音收发时的相关属性信息,定量计算链路通信质量,生成目标链路质量检测评价;同时,通过EI链路与以太网的混合组网模式,使得当被测终端不局限于现有的模拟终端而能够通过以太网或综合数据传输网对数字类终端进行链路质量检测。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117081954B_ABST
    Figure CN117081954B_ABST
Patent Text Reader

Abstract

The application provides a link quality detection system, method, device, equipment and storage medium, through setting a link quality detection server, a plurality of service channels are configured to carry out link quality detection tasks in a concurrent manner through a voice channel and a signaling channel separation mode in a link quality detection task, and the telemetry call efficiency is improved; meanwhile, the link quality detection server can calculate and verify a plurality of steps in the link quality detection process, and the accuracy and reliability of the link quality detection are ensured; meanwhile, the link quality detection task is no longer limited to qualitative testing whether a communication device is normal, but also calculates related attribute information when a test sound is received and transmitted, quantitatively calculates link communication quality, and generates a target link quality detection evaluation; meanwhile, through a hybrid networking mode of an EI link and an Ethernet, when a terminal to be detected is not limited to an existing analog terminal, a digital terminal can be subjected to link quality detection through the Ethernet or a comprehensive data transmission network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power communication technology, and in particular to a link quality detection system, method, apparatus, device, and storage medium. Background Technology

[0002] In power dispatching applications, many unmanned stations require the placement of communication equipment, and ensuring the smooth operation of this equipment is crucial to guarantee that each power dispatching point can receive dispatch instructions from higher authorities and report information in a timely and accurate manner. However, in reality, some power dispatching points may experience situations where their communication equipment remains unused for extended periods, necessitating periodic checks to ensure its proper functioning.

[0003] Currently, the most common method for testing the functionality of communication equipment is through manual call testing. Manual calls can only connect to one device at a time, which is inefficient, time-consuming, and prone to errors, especially in scenarios requiring testing a large number of terminal communication devices. Furthermore, existing call tests only provide a result of whether the call was successful or not; they cannot evaluate the quality of the communication link, potentially causing delays in receiving scheduling instructions due to poor link quality. Summary of the Invention

[0004] This invention provides a link quality detection system, method, apparatus, device, and storage medium, which uses a hybrid networking method to detect whether multi-terminal communication devices can be used normally and to evaluate the quality of communication links.

[0005] In a first aspect, the present invention provides a link quality detection system, comprising the following steps:

[0006] The device under test includes a terminal under test, a voice gateway, a program-controlled exchange, and a link quality testing server. The link quality testing server exchanges data with the voice gateway via Ethernet, and the voice gateway exchanges data with the program-controlled exchange and the device under test via an E1 transmission link.

[0007] The link quality detection server is used to generate detection events and send them to the terminal under test and the voice gateway. The detection event indicates that the terminal under test and the voice gateway establish a detection call through the program-controlled exchange, wherein the voice gateway is the calling device and the terminal under test is the called device.

[0008] The program-controlled exchange is used to obtain the number of the called device and the number of the calling device through the establishment of the detection call process, and obtain the target link quality detection number according to the number of the calling device, and send it to the terminal under test, wherein the target link quality detection number and the number of the calling device are corresponding;

[0009] The link quality detection server is also used to generate link quality detection instructions and send them to the voice gateway;

[0010] The voice gateway is used to generate a test tone according to the link quality detection command and send it to the terminal under test;

[0011] The terminal under test is used to obtain the attribute information of the test tone and send the attribute information of the test tone and the target link quality detection number to the link quality detection server;

[0012] The link quality detection server is also used to generate a target link quality detection evaluation based on the attribute information of the test sound.

[0013] Furthermore, it also includes:

[0014] Relay gateway;

[0015] The device under test includes analog devices under test and digital devices under test. The relay gateway exchanges data with the program-controlled exchange through an E1 transmission link. The relay gateway also exchanges data with the digital devices under test through Ethernet.

[0016] The relay gateway is used to obtain the test tone through the programmable switch and forward it to the digital device under test when the voice gateway generates a test tone that needs to be sent to the digital device under test.

[0017] Furthermore, it also includes:

[0018] The link quality detection server is also used to acquire the channel noise of the voice gateway and the channel noise of the terminal under test;

[0019] The link quality detection server is also used to acquire the energy of the test tone, and calculate the signal-to-noise ratio of the communication link based on the test tone energy, the channel noise of the voice gateway, and the channel noise of the terminal under test;

[0020] The link quality detection server is also used to obtain the test tone transmission time of the voice gateway and the test tone reception time of the terminal under test, and to obtain the communication link transmission delay based on the test tone transmission time and the test tone reception time;

[0021] The link quality detection server is also used to evaluate the quality of the target link based on the transmission delay and the signal-to-noise ratio of the communication link.

[0022] Furthermore, it also includes:

[0023] The terminal under test is also used to receive the target link quality detection number, generate reception information and send it to the link quality detection server;

[0024] The link quality detection server is also used to confirm whether the received information corresponds to the calling number. If the received information corresponds to the calling number, an off-hook instruction is generated and sent to the terminal under test.

[0025] The terminal under test establishes a call with the voice gateway according to the off-hook command.

[0026] Secondly, the present invention also provides a link quality detection method, applied to a link quality detection server, comprising:

[0027] A detection event is generated and sent to the terminal under test and the voice gateway. The detection event indicates that the terminal under test and the voice gateway establish a detection call through the program-controlled exchange, wherein the voice gateway is the calling device and the terminal under test is the called device.

[0028] A link quality detection command is generated and sent to the voice gateway, wherein the voice gateway is used to generate a test tone according to the link quality detection command and send it to the terminal under test;

[0029] The attribute information of the test tone returned by the terminal under test and the target link quality detection number are obtained. The target link quality detection number is obtained by the program-controlled exchange through the process of establishing a test call, which obtains the number of the called device and the number of the calling device, and obtains the target link quality detection number based on the number of the calling device, and sends it to the terminal under test for acquisition.

[0030] Based on the attribute information of the test sound, a target link quality detection evaluation is generated.

[0031] Furthermore, the generation of target link quality detection and evaluation includes:

[0032] Obtain the channel noise of the voice gateway and the channel noise of the terminal under test;

[0033] The energy of the test tone is obtained, and the signal-to-noise ratio of the communication link is calculated based on the test tone energy, the channel noise of the voice gateway, and the channel noise of the terminal under test.

[0034] The test tone transmission time of the voice gateway and the test tone reception time of the terminal under test are obtained, and the communication link transmission delay is obtained based on the test tone transmission time and the test tone reception time.

[0035] The quality of the target link is evaluated based on the transmission delay and the signal-to-noise ratio of the communication link.

[0036] Furthermore, the generation of target link quality detection and evaluation includes:

[0037] Confirm whether the received information corresponds to the number of the calling device. If the received information corresponds to the number of the calling device, generate an off-hook instruction and send it to the terminal under test. The received information is generated by the terminal under test receiving the target link quality detection number and sending it to the link quality detection server. The off-hook instruction instructs the device under test to establish a call with the voice gateway.

[0038] Thirdly, the present invention also provides a link quality detection device, comprising:

[0039] The detection event generation module is used to generate detection events and send them to the terminal under test and the voice gateway. The detection event indicates that the terminal under test and the voice gateway establish a detection call through the program-controlled exchange, wherein the voice gateway is the calling device and the terminal under test is the called device.

[0040] A link quality detection instruction generation module is used to generate a link quality detection instruction and send it to the voice gateway, wherein the voice gateway is used to generate a test tone according to the link quality detection instruction and send it to the terminal under test;

[0041] The detection data acquisition module is used to acquire the attribute information of the test tone returned by the terminal under test and the target link quality detection number. The target link quality detection number is obtained by the program-controlled exchange through the process of establishing a detection call, which obtains the number of the called device and the number of the calling device, and obtains the target link quality detection number based on the number of the calling device, and sends it to the terminal under test for acquisition.

[0042] The link quality evaluation generation module is used to generate a target link quality detection evaluation based on the attribute information of the test sound.

[0043] Fourthly, embodiments of this application provide an electronic device, including:

[0044] At least one memory and at least one processor;

[0045] The memory is used to store one or more programs;

[0046] When the one or more programs are executed by the at least one processor, the at least one processor implements the steps of a link quality detection method as described in the second aspect.

[0047] Fifthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of a link quality detection method as described in the second aspect.

[0048] This invention improves telemetry call efficiency by setting up a link quality detection server and configuring multiple service channels to concurrently perform link quality detection tasks in a way that separates voice and signaling channels. Simultaneously, the link quality detection server can calculate and verify multiple steps in the link quality detection process, ensuring the accuracy and reliability of the link quality detection. Furthermore, the link quality detection task is no longer limited to qualitative testing of whether communication equipment is functioning properly; it also quantitatively calculates link communication quality and generates a target link quality evaluation by calculating relevant attribute information during test tone transmission and reception. Additionally, through a hybrid networking mode of EI link and Ethernet, it enables link quality detection of digital terminals not limited to existing analog terminals but also through Ethernet or integrated data transmission networks.

[0049] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Attached Figure Description

[0050] Figure 1 This is a schematic diagram of a link quality detection system provided in an exemplary embodiment;

[0051] Figure 2 A flowchart illustrating the steps of applying a link quality detection method in an exemplary embodiment;

[0052] Figure 3 This is a schematic diagram of a vehicle trip energy consumption estimation device provided in an exemplary embodiment;

[0053] Figure 4 This is a schematic diagram of an electronic device provided in one exemplary embodiment. Detailed Implementation

[0054] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0055] It should be understood that the described embodiments are merely some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of the embodiments of this application.

[0056] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the embodiments of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0057] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims. In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.

[0058] Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0059] In current communication quality testing of power communication equipment, a separate communication device is often required to implement functional telemetry. This separate deployment not only increases testing costs but also results in low telemetry efficiency because it cannot simultaneously perform telemetry testing on multiple terminals. Based on the background information and considerations of the existing application environment, this invention aims to improve telemetry call efficiency by configuring multiple service channels to concurrently perform telemetry tasks through a hybrid networking approach that separates the voice and signaling channels on the existing voice service channels of power communication equipment.

[0060] like Figure 1As shown in the figure, this application provides a link quality detection system, including a terminal under test, a voice gateway, a program-controlled exchange, and a link quality detection server. The link quality detection server exchanges data with the voice gateway via Ethernet, and the voice gateway exchanges data with the program-controlled exchange and the device under test via E1 transmission links.

[0061] The link quality detection server is used to generate detection events and send them to the terminal under test and the voice gateway. The detection event indicates that the terminal under test and the voice gateway establish a detection call through the program-controlled exchange, wherein the voice gateway is the calling device and the terminal under test is the called device.

[0062] Specifically, the link quality detection server generates and issues instructions to the communication devices participating in telemetry, thereby driving each process step in the link quality detection process. The link quality detection server transmits instructions via Ethernet, and the voice gateway and the terminal under test receive the instructions issued by the link quality detection server directly or indirectly, and complete the corresponding actions according to the instructions.

[0063] In a specific process of establishing a testing call, the link quality testing server configures a link quality testing task, which can be set to execute immediately or on a scheduled basis. Simultaneously, the link quality testing task includes multiple call tasks. Multiple processes can be started on the link quality testing server, each process executing one call, thereby achieving concurrency of multiple calls and reducing the testing time of the task.

[0064] When the testing task is initiated, the link quality testing server sends a called party preparation command to the terminal under test. This command informs the terminal under test of the corresponding calling party number and instructs the terminal to enter the testing preparation phase. The terminal under test then initiates a device self-test based on this command and sends a self-test event to the link quality testing server. Specifically, the self-test event includes normal onboard chip testing, on-board chip testing, and also includes entering test mode via the control interface chip to test the electrical characteristics of the analog phone, such as the power supply current, standby power consumption, and transmission line length. After the terminal under test sends the self-test event, it enters the call process to be tested.

[0065] The link quality detection server also sends a calling party preparation instruction to the voice gateway. This instruction informs the voice gateway of the corresponding called number and instructs the voice gateway to initiate an off-hook response as the calling party. After the voice gateway initiates an off-hook response to the called party according to the preparation instruction, it returns an off-hook event to the link quality detection server. Upon detecting a dial tone in the off-hook event, the voice gateway again returns a dial tone detection event to the link quality detection server.

[0066] The PBX is used to obtain the number of the called device and the number of the calling device through the call establishment process, and obtain the target link quality detection number based on the number of the calling device, and send it to the terminal under test, wherein the target link quality detection number corresponds to the number of the calling device.

[0067] Specifically, all data interaction between the voice gateway and the terminal under test (TBD) must pass through a programmable switch (PBX). During the process of the voice gateway initiating a dialing to the TBD, the voice gateway sends the called number to the PBX and then returns information about the completed dialing event to the link quality detection server. After obtaining the calling number, the PBX, according to its preset configuration, changes the calling number to the target link quality detection number and, based on the received called number, sends this target link quality detection number to the TBD, initiating ringing. Subsequently, the voice gateway detects the ringing tone event of the TBD device and sends a notification of the detected ringing tone to the link quality detection server.

[0068] In a preferred example, after receiving the target link quality detection number, the terminal under test generates reception information and sends it to the link quality detection server. The link quality detection server also confirms whether the reception information corresponds to the calling number. If the reception information corresponds to the calling number, it generates an off-hook instruction and sends it to the terminal under test. The terminal under test then establishes a call with the voice gateway based on the off-hook instruction. That is, when the link quality detection server confirms that the calling number corresponds to the currently detected link, a call relationship is established between the calling device and the called device. At this time, both the calling device and the called device enter a call state. Whether or not a call state can be entered can qualitatively determine the availability of the terminal under test and create conditions for entering the subsequent link quality detection.

[0069] After the terminal under test goes off-hook and enters a call state, the link quality detection server generates a link quality detection command and sends it to the voice gateway. The voice gateway generates a test tone according to the link quality detection command and sends it to the terminal under test. The terminal under test obtains the attribute information of the test tone and sends the attribute information of the test tone and the target link quality detection number to the link quality detection server. The link quality detection server then generates a target link quality detection evaluation according to the attribute information of the test tone.

[0070] Specifically, the link quality testing server sends a DTMF number instruction to the voice gateway, which then sends a confirmation tone to the terminal under test based on the instruction. After receiving the DTMF number, the terminal under test sends the confirmation tone DTMF to the link quality testing server. If the terminal under test correctly receives the DTMF voice and can parse the DTMF number from the voice, it considers the transmission status of the link to be correct.

[0071] By utilizing the period during which no voice is transmitted, which is equivalent to sending a silence signal, the channel noise floor energy is calculated at the voice gateway and the device under test, and then sent to the target device.

[0072] In a preferred embodiment, the link quality detection server also sends a test tone command to the voice gateway, which then sends a test tone to the terminal under test according to the command. In this embodiment, the test tone is a 1kHz test tone. The terminal under test receives the test tone, calculates the energy of the received test tone, and sends the calculation result to the link quality detection server. Since the amplitude of the initial test tone is known, the link quality detection server can quantitatively evaluate the current link transmission quality by calculating the difference between the received test tone energy and the initial test tone energy. A lower energy loss indicates higher link transmission quality.

[0073] In a preferred example, the link quality testing server also sends a latency test command to the voice gateway. The voice gateway sends a latency test tone to the terminal under test, records the transmission time, and reports this transmission time event back to the server. After receiving the latency test tone, the terminal under test returns a specific response tone to the voice gateway. When the voice gateway receives the response tone, it records the reception time of the response tone and reports this reception time event back to the server. By calculating the difference between the transmission time and the reception time, the link quality testing server obtains the total latency of the latency test tone in the link. Based on the total link latency, the quality of the link can be quantitatively evaluated; the shorter the total link latency, the higher the transmission quality of the link.

[0074] In another example, link latency testing can be achieved as follows: A link quality testing server sends a loopback command to the terminal under test (DUT); the DUT performs a remote loopback; after receiving a successful loopback message from the DUT, the link quality testing server sends a DTMF tone playback command to the voice gateway; the voice gateway receives the loopback command from the link quality testing server, sends the DTMF tone to the DUT, and records the transmission timestamp; the voice gateway then receives the DTMF tone returned from the DUT and records the reception timestamp; the voice gateway feeds back the transmission and reception timestamps to the link quality testing server; the link quality testing server calculates the transmit / receive time difference, and then calculates the DTMF tone detection time based on existing DTMF detection algorithms. Half of the transmit / receive time difference and the DTMF detection time difference can be considered a relatively accurate representation of the link transmission latency.

[0075] In a preferred example, the link transmission quality can also be quantitatively evaluated by calculating the link's signal-to-noise ratio (SNR). During periods when the voice gateway is not sending test audio, this can be considered as the voice gateway sending silence to the terminal under test (DUT). The voice gateway acquires the voice gateway channel noise floor A, and the DUT acquires the DUT channel noise floor B, and sends both to the link quality detection server. During periods when the voice gateway sends test audio, the voice gateway acquires the voice gateway test audio energy A, and the DUT acquires the DUT test audio energy B, and sends both to the link quality detection server. Since the amplitude of the transmitted test audio is known, subtracting the transmitted test audio energy from the voice gateway's test audio energy A and the DUT's test audio energy B yields the channel noise during the test audio transmission process, i.e., the voice gateway channel noise A and the DUT channel noise B. By performing arithmetic mean calculations on the voice gateway channel noise floor A and the DUT channel noise floor B, and on the voice gateway channel noise A and the DUT channel noise B, the noise in the application environment can be obtained. Based on the known test sound energy and the calculated noise in the application environment, the signal-to-noise ratio (SNR) can be calculated using the formula SNR = 10log(signal power / noise power), thus allowing for a quantitative assessment of the communication channel quality.

[0076] In a preferred embodiment, link quality testing can be performed not only on analog terminals under test, but also on digital terminals under test; link quality testing can be performed not only on a single device, but also on multiple devices.

[0077] Specifically, such as Figure 1 As shown in the embodiment of this application, the link quality testing system further includes a relay gateway. The device under test includes analog devices under test and digital devices under test. The relay gateway exchanges data with the program-controlled exchange through an E1 transmission link. The relay gateway also exchanges data with the digital devices under test through Ethernet. When the voice gateway generates a test tone that needs to be sent to the digital devices under test, the relay gateway obtains the test tone through the program-controlled exchange and forwards it to the digital devices under test.

[0078] Digital devices under test (DUTs) include two types of terminals: one exchanges data with a voice gateway via an integrated data transmission network, and the other exchanges data with a voice gateway via Ethernet. Power communication systems often involve multiple types of DUTs and multiple communication networks. If the DUT is directly connected to a PBX (Publicly Controlled Exchange), the PBX can directly initiate the call to the called party during the establishment of communication between the caller and the called party. If the DUT is not directly connected to the PBX, it is connected to the PBX directly connected to the DUT through a trunk gateway before initiating the call.

[0079] Specifically, the link quality testing task for multiple terminals includes multiple call tasks. The terminals under test may be analog terminals, digital terminals exchanging data with the integrated data transmission network via an E1 link to the voice gateway, and digital terminals exchanging data with the voice gateway via Ethernet. When the link quality testing server initiates a link quality testing task for the aforementioned terminals, it can start multiple processes, each executing one call, thus achieving concurrency of multiple calls. After establishing a call between the voice gateway and the terminal under test, the required test data is obtained. Then, by simply changing the two parties sending and receiving the test tones, the quality of the next communication link can be tested. Simultaneously, because the caller ID sent to the terminal under test is replaced with a specified link quality testing number through a program-controlled exchange, and the specified link quality testing number is uniformly displayed on the device under test, this solves the problem in existing solutions where the called terminal displays different caller IDs depending on the calling device, causing inconvenience for the testing at the terminal under test.

[0080] When the link quality test is completed, the test call ends. Specifically, the link quality test server sends a hang-up command to the voice gateway, and the voice gateway receives the command and hangs up. At the same time, the link quality test server sends a hang-up command to the terminal under test, and the terminal under test receives the command and hangs up.

[0081] This application embodiment improves telemetry call efficiency by setting up a link quality detection server and configuring multiple service channels to concurrently perform link quality detection tasks in a way that separates voice and signaling channels. Simultaneously, the link quality detection server can calculate and verify multiple steps in the link quality detection process, ensuring the accuracy and reliability of the link quality detection. Furthermore, the link quality detection task is no longer limited to qualitatively testing whether the communication equipment is functioning properly; it also quantitatively calculates link communication quality and generates a target link quality evaluation by calculating relevant attribute information during test tone transmission and reception. Additionally, the hybrid networking mode of EI link and Ethernet allows the tested terminal to perform link quality detection on digital terminals not limited to existing analog terminals, but also via Ethernet or a comprehensive data transmission network.

[0082] This application also provides a link quality detection method, such as... Figure 2 As shown, the method applied to the link quality detection server includes the following steps:

[0083] S201: Generate a detection event and send it to the terminal under test and the voice gateway. The detection event indicates that the terminal under test and the voice gateway establish a detection call through the program-controlled exchange, wherein the voice gateway is the calling device and the terminal under test is the called device.

[0084] S202: Generate a link quality detection command and send it to the voice gateway, wherein the voice gateway is used to generate a test tone according to the link quality detection command and send it to the terminal under test.

[0085] S203: Obtain the attribute information of the test tone returned by the terminal under test and the target link quality detection number, wherein the target link quality detection number is obtained by the program-controlled exchange through the process of establishing a test call, obtaining the number of the called device and the number of the calling device, and obtaining the target link quality detection number based on the number of the calling device, and sending it to the terminal under test for acquisition.

[0086] S204: Generate a target link quality detection evaluation based on the attribute information of the test sound.

[0087] In a preferred example, generating a target link quality assessment includes:

[0088] Obtain the channel noise of the voice gateway and the channel noise of the terminal under test;

[0089] The energy of the test tone is obtained, and the signal-to-noise ratio of the communication link is calculated based on the test tone energy, the channel noise of the voice gateway, and the channel noise of the terminal under test.

[0090] The test tone transmission time of the voice gateway and the test tone reception time of the terminal under test are obtained, and the communication link transmission delay is obtained based on the test tone transmission time and the test tone reception time.

[0091] The quality of the target link is evaluated based on the transmission delay and the signal-to-noise ratio of the communication link.

[0092] In a preferred example, generating a target link quality assessment includes:

[0093] Confirm whether the received information corresponds to the number of the calling device. If the received information corresponds to the number of the calling device, generate an off-hook instruction and send it to the terminal under test. The received information is generated by the terminal under test receiving the target link quality detection number and sending it to the link quality detection server. The off-hook instruction instructs the device under test to establish a call with the voice gateway.

[0094] This application embodiment also provides a link quality detection device 300, such as... Figure 3 As shown, it includes:

[0095] The detection event generation module 301 is used to generate a detection event and send it to the terminal under test and the voice gateway. The detection event indicates that the terminal under test and the voice gateway establish a detection call through the program-controlled exchange, wherein the voice gateway is the calling device and the terminal under test is the called device.

[0096] The link quality detection instruction generation module 302 is used to generate a link quality detection instruction and send it to the voice gateway, wherein the voice gateway is used to generate a test tone according to the link quality detection instruction and send it to the terminal under test;

[0097] The detection data acquisition module 303 is used to acquire the attribute information of the test tone returned by the terminal under test and the target link quality detection number. The target link quality detection number is obtained by the program-controlled exchange through the process of establishing a detection call, which obtains the number of the called device and the number of the calling device, and obtains the target link quality detection number based on the number of the calling device, and sends it to the terminal under test for acquisition.

[0098] The link quality evaluation generation module 304 is used to generate a target link quality detection evaluation based on the attribute information of the test sound.

[0099] It should be noted that the link quality detection method, link quality detection device, and link quality detection system provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the system embodiment section, which will not be repeated here.

[0100] like Figure 4 As shown, Figure 4 This is a structural block diagram of an electronic device according to an exemplary embodiment of this application.

[0101] The electronic device includes a processor 910 and a memory 920. The main control chip may contain one or more processors 910. Figure 4 Taking a processor 910 as an example, the main control chip can contain one or more memory modules 920. Figure 4 Take a memory chip 920 as an example.

[0102] The memory 920, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the link quality detection method program described in any embodiment of this application, and the program instructions / modules corresponding to the link quality detection method described in any embodiment of this application. The memory 920 may mainly include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a function; the data storage area may store data created according to the use of the device, etc. Furthermore, the memory 920 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 920 may further include memory remotely located relative to the processor 910, and these remote memories can be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0103] The processor 910 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 920, thereby implementing a link quality detection method described in any of the above embodiments.

[0104] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements a link quality detection method as described in any of the above embodiments.

[0105] This invention can take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-readable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to: phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0106] It should be understood that the embodiments of this application are not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from their scope. The scope of the embodiments of this application is limited only by the appended claims.

[0107] The above-described embodiments are merely illustrative of several implementation methods of the embodiments of this application, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the embodiments of this application, and these all fall within the protection scope of the embodiments of this application.

Claims

1. A link quality detection system, characterized in that, include: The test terminal, voice gateway, PBX, and link quality testing server are included. The link quality testing server exchanges data with the voice gateway via Ethernet, and the voice gateway exchanges data with the PBX and the test terminal via E1 transmission links. The link quality detection server is configured with a link quality detection task, which includes multiple call tasks to start multiple processes. On the link quality detection server, a detection event is generated for each call task and sent to the terminal under test and the voice gateway. The detection event indicates that the terminal under test and the voice gateway establish a detection call through the program-controlled exchange, wherein the voice gateway is the calling device and the terminal under test is the called device. The program-controlled exchange is used to obtain the number of the called device and the number of the calling device through the establishment of the detection call process, change the number of the calling device to the target link quality detection number according to the preset configuration, and send the target link quality detection number to the terminal under test according to the number of the called device, wherein the target link quality detection number and the calling device number are corresponding. The link quality detection server is also used to generate link quality detection instructions and send them to the voice gateway; The voice gateway is used to generate a test tone according to the link quality detection command and send it to the terminal under test; The terminal under test is used to obtain the attribute information of the test tone and send the attribute information of the test tone and the target link quality detection number to the link quality detection server; The link quality detection server is also used to generate a target link quality detection evaluation based on the attribute information of the test sound.

2. The link quality detection system according to claim 1, characterized in that, Also includes: Relay gateway; The terminals under test include analog terminals under test and digital terminals under test. The relay gateway exchanges data with the program-controlled exchange through an E1 transmission link. The relay gateway also exchanges data with the digital terminals under test through Ethernet. The relay gateway is used to obtain the test tone through the programmable switch and forward it to the digital terminal under test when the voice gateway generates a test tone that needs to be sent to the digital terminal under test.

3. The link quality detection system according to claim 1, characterized in that, Also includes: The link quality detection server is also used to acquire the channel noise of the voice gateway and the channel noise of the terminal under test; The link quality detection server is also used to acquire the energy of the test tone, and calculate the signal-to-noise ratio of the communication link based on the test tone energy, the channel noise of the voice gateway, and the channel noise of the terminal under test; The link quality detection server is also used to obtain the test tone transmission time of the voice gateway and the test tone reception time of the terminal under test, and to obtain the communication link transmission delay based on the test tone transmission time and the test tone reception time; The link quality detection server is also used to evaluate the quality of the target link based on the transmission delay and the signal-to-noise ratio of the communication link.

4. The link quality detection system according to claim 1, characterized in that, Also includes: The terminal under test is also used to receive the target link quality detection number, generate reception information and send it to the link quality detection server; The link quality detection server is also used to confirm whether the received information corresponds to the calling number. If the received information corresponds to the calling number, an off-hook instruction is generated and sent to the terminal under test. The terminal under test establishes a call with the voice gateway according to the off-hook command.

5. A link quality detection method, characterized in that, Applications to link quality detection servers include: Configure a link quality detection task, which includes multiple call tasks to start multiple processes. For each call task, a detection event is generated and sent to the terminal under test and the voice gateway. The detection event indicates that the terminal under test and the voice gateway establish a detection call through a program-controlled exchange, wherein the voice gateway is the calling device and the terminal under test is the called device. A link quality detection command is generated and sent to the voice gateway, wherein the voice gateway is used to generate a test tone according to the link quality detection command and send it to the terminal under test; The system obtains the attribute information of the test tone returned by the terminal under test and the target link quality detection number. The target link quality detection number is obtained by the PBX through the call establishment process, whereby the PBX obtains the number of the called device and the number of the calling device, changes the number of the calling device to the target link quality detection number according to a preset configuration, and sends the target link quality detection number to the terminal under test based on the number of the called device. The target link quality detection number and the calling device number are in a corresponding relationship. Based on the attribute information of the test sound, a target link quality detection evaluation is generated.

6. The link quality detection method according to claim 5, characterized in that, The generation of target link quality detection and evaluation includes: Obtain the channel noise of the voice gateway and the channel noise of the terminal under test; The energy of the test tone is obtained, and the signal-to-noise ratio of the communication link is calculated based on the test tone energy, the channel noise of the voice gateway, and the channel noise of the terminal under test. The test tone transmission time of the voice gateway and the test tone reception time of the terminal under test are obtained, and the communication link transmission delay is obtained based on the test tone transmission time and the test tone reception time. The quality of the target link is evaluated based on the transmission delay and the signal-to-noise ratio of the communication link.

7. The link quality detection method according to claim 5, characterized in that, The tested terminal and the voice gateway establish a detection call through the PBX, including: Confirm whether the received information corresponds to the number of the calling device. If the received information corresponds to the number of the calling device, generate an off-hook instruction and send it to the terminal under test. The received information is generated by the terminal under test receiving the target link quality detection number and sending it to the link quality detection server. The off-hook instruction instructs the terminal under test to establish a call with the voice gateway.

8. A link quality detection device, characterized in that, include: The detection event generation module is used to configure the link quality detection task, which includes multiple call tasks. It is used to start multiple processes, generate a detection event for each call task and send it to the terminal under test and the voice gateway. The detection event indicates that the terminal under test and the voice gateway establish a detection call through a program-controlled exchange, wherein the voice gateway is the calling device and the terminal under test is the called device. A link quality detection instruction generation module is used to generate a link quality detection instruction and send it to the voice gateway, wherein the voice gateway is used to generate a test tone according to the link quality detection instruction and send it to the terminal under test; The detection data acquisition module is used to acquire the attribute information of the test tone returned by the terminal under test and the target link quality detection number. The target link quality detection number is obtained by the PBX through the establishment of the detection call process, acquiring the number of the called device and the number of the calling device, changing the number of the calling device to the target link quality detection number according to a preset configuration, and sending the target link quality detection number to the terminal under test based on the number of the called device. The target link quality detection number and the calling device number are in a corresponding relationship. The link quality evaluation generation module is used to generate a target link quality detection evaluation based on the attribute information of the test sound.

9. An electronic device, characterized in that, include: At least one memory and at least one processor; The memory is used to store one or more programs; When the one or more programs are executed by the at least one processor, the at least one processor implements the steps of a link quality detection method as described in any one of claims 5 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of a link quality detection method as described in any one of claims 5 to 7.

Citation Information

Patent Citations

  • Voice dialing test method, device and system

    CN113242083A

  • Method For Embedding Meta-Commands in Normal Network Packets

    US20100268834A1