A method for proactively reducing latency in communication devices and a method for determining backup channels.

By actively tracking and dynamically managing the channel latency of communication equipment, periodically selecting suitable channels as working channels, and screening out backup channels with stable latency, the problem of lagging latency management of communication equipment is solved, and the stability and efficiency of transmission work are improved.

CN119603198BActive Publication Date: 2025-10-31STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411750302.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-10-31
Estimated Expiration
2044-12-02

AI Technical Summary

Technical Problem

In existing technologies, communication equipment latency management suffers from severe processing lag, leading to unstable transmission and an inability to maintain smooth transmission over time.

Method used

By actively tracking the latency of each channel, dynamically matching channels that meet the latency requirements, and periodically selecting suitable channels as working channels through rotation, a statistical model is established to evaluate the quality of channels and screen out backup channels with stable latency.

Benefits of technology

It enables dynamic management and allocation of each transmission channel, reduces the average latency of the overall transmission operation, improves the latency reliability of the working channel, and selects a backup channel with stable latency for alternating use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603198B_ABST
    Figure CN119603198B_ABST
Patent Text Reader

Abstract

This invention relates to a proactive latency reduction method for communication devices and a method for determining backup channels, comprising: designating a currently used channel among available transmission channels as a working channel, and designating an unused channel among available transmission channels as an idle channel; sending detection data packets through the idle channels, wherein the sending end records the sending time of the detection data packets, and the receiving end records the receiving time when it receives the detection data packets, and using the time difference between the receiving time and the sending time as the latency reference value for the corresponding idle channel; setting a latency threshold, and designating idle channels with latency reference values ​​less than the latency threshold as available channels; selecting the idle channel with the smallest latency reference value among the available channels as a rotation channel; setting a rotation period, and at each rotation period, using the rotation channel as a new working channel for transmission work, and incorporating the original working channel into the idle channel. This invention can reduce the average latency of the overall transmission work.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication latency control technology, and more specifically, to a method for actively reducing latency in communication devices and a method for determining backup channels. Background Technology

[0002] In communication transmission, latency directly affects the smoothness and stability of the transmission process. Currently, latency management is usually only implemented after a significant delay in communication equipment is detected, resulting in severe processing lag and hindering the continuous and stable operation of transmission.

[0003] In view of the above, this application is hereby submitted. Summary of the Invention

[0004] The purpose of this invention is to provide a proactive latency reduction method for communication devices. This method actively tracks the latency of each channel and dynamically matches channels that meet latency requirements, achieving dynamic management and allocation of each transmission channel. This effectively reduces the impact of excessive latency in individual channels and helps reduce the average latency of the overall transmission operation. Furthermore, while proactively reducing latency, this invention also helps to screen for channels with stable latency, thereby providing a method for determining backup channels.

[0005] One technical solution of the present invention is to provide an active latency reduction method for communication devices, wherein the following steps S1-S5 are executed cyclically:

[0006] S1. Determine all available transmission channels, designate the channels currently in use as working channels, and designate the channels not currently in use as idle channels.

[0007] S2. Send a detection data packet through the idle channel. The sending end records the sending time of the detection data packet, and the receiving end records the receiving time when it receives the detection data packet. The time difference between the receiving time and the sending time is used as the corresponding delay reference value of the idle channel.

[0008] S3. Set a delay threshold, and designate the idle channels whose delay reference value is less than the delay threshold as available channels;

[0009] S4. Select the idle channel with the smallest delay reference value from the available channels as the rotation channel;

[0010] S5. Set a rotation cycle. Every rotation cycle, the rotation channel is used as a new working channel to perform transmission work, and the original working channel is incorporated into the idle channel.

[0011] Optionally, the active latency reduction method for communication devices further includes the following steps:

[0012] S6. Establish a statistical model; the statistical model includes: a reference plane and a vertical axis; the reference plane includes several columns of cells, one column of cells corresponds to one of the available transmission channels; the vertical axis is perpendicular to the reference plane, and the vertical axis corresponds to the delay reference value;

[0013] S7. After each execution of S2, construct a bar chart in the corresponding column cell of the reference plane based on the delay reference value of the idle channel, and perform null value processing in the cell corresponding to the working channel.

[0014] S8. Calculate the null value rate for each of the available transmission channels.

[0015] Optionally, in S7, the bar charts constructed based on the delay reference values ​​corresponding to all idle channels when executing the same S2 are set in the same row in the reference plane; the bar charts corresponding to different executions of S2 are arranged row by row in the reference plane in chronological order.

[0016] Optionally, the null value rate obtained in S8 can be used as the basis for evaluating the quality of the channel; the higher the null value rate, the better the corresponding available transmission channel.

[0017] Optionally, the proactive latency reduction method for communication devices further includes the following steps performed after S8:

[0018] S9. Extract the two-dimensional transformation diagram of the reference plane, wherein the two-dimensional transformation diagram contains cells corresponding to the reference plane;

[0019] The labeling results for each column of cells are obtained, including: for cells in the reference plane where the column chart is constructed, the corresponding cells are marked in the two-dimensional transformation diagram; for cells in the reference plane where the column chart is not constructed, the corresponding cells are marked in the two-dimensional transformation diagram.

[0020] S10, in the two-dimensional conversion graph, determine the column of cells with the highest null value rate as a reference column; and select the available transmission channel corresponding to the column of cells in the two-dimensional conversion graph whose marking results are exactly opposite to those of the reference column as the best backup channel.

[0021] Another technical solution of the present invention is to provide a method for determining a backup channel, comprising the following steps:

[0022] S6' Establish a statistical model for the delay reference value of the available transmission channels;

[0023] The statistical model includes: a reference plane and a vertical axis; the reference plane includes several columns of cells, each column of cells corresponding to one of the available transmission channels; the vertical axis is perpendicular to the reference plane and corresponds to the delay reference value;

[0024] S7' When the current available transmission channel is an idle channel that is not currently in use, a detection data packet is sent through the idle channel. The time difference between the reception time of the detection data packet at the receiving end and the transmission time at the sending end is used as the delay reference value of the idle channel. A bar chart corresponding to the delay reference value is constructed in the cell of the corresponding column in the reference plane.

[0025] When the current available transmission channel belongs to a working channel that is being used, a null value is processed in the cell of the corresponding column in the working channel in the reference plane;

[0026] The operation of sending detection data packets through the idle channel is performed once every set rotation period; after the same detection data packet sending operation is performed, the bar charts constructed based on the delay reference values ​​corresponding to all idle channels are set in the same row of the reference plane; the bar charts corresponding to different executions of the detection data packet sending operation are arranged row by row in the reference plane in chronological order.

[0027] S8' Calculate the null value rate for each of the available transmission channels;

[0028] S9' Extract the two-dimensional transformation diagram of the reference plane, wherein the two-dimensional transformation diagram contains cells corresponding to the reference plane;

[0029] The labeling results for each column of cells are obtained, including: for cells in the reference plane where the column chart is constructed, the corresponding cells are marked in the two-dimensional transformation diagram; for cells in the reference plane where the column chart is not constructed, the corresponding cells are marked in the two-dimensional transformation diagram.

[0030] S10', in the two-dimensional conversion graph, determine the column of cells with the highest null value rate as the reference column; and take the available transmission channel corresponding to the column of cells in the two-dimensional conversion graph whose marking result is exactly opposite to that of the reference column as the best backup channel.

[0031] Optionally, in the current rotation cycle, the idle channels with a latency reference value less than the latency threshold are selected as available channels; then, among the available channels, the idle channel with the smallest latency reference value is selected as the rotation channel.

[0032] The selected rotation channel in the current rotation cycle will be used as the new working channel to perform transmission work when the next rotation cycle arrives.

[0033] The working channel in the current rotation cycle will be incorporated into the idle channel in the next rotation cycle for performing detection data packet sending operations.

[0034] Optionally, steps S1-S5 of the above-described active latency reduction method for communication devices are executed in each rotation cycle; and step S7' is further executed after each execution of step S2.

[0035] Optionally, the null value rate obtained in S8' can be used as a basis for evaluating the quality of the channel; the higher the null value rate, the better the corresponding available transmission channel.

[0036] Optionally, when the reference column is used as a working channel, the best backup channel is used as an idle channel; when the reference column is used as an idle channel, the best backup channel is used as a working channel.

[0037] The beneficial effects of the technical solutions in the embodiments of the present invention include:

[0038] The active latency reduction method for communication devices provided in this embodiment of the invention can periodically select a suitable channel as the working channel according to the rotation cycle by repeatedly executing S1 to S5, while the idle channel is used as the evaluation object, and its possibility of being used as the working channel in the future is judged by evaluating its latency reference value.

[0039] This enables polling and testing of all available transmission channels, helping to find channels with acceptable latency, thereby ensuring the reliability of the working channels.

[0040] Overall, the proactive latency reduction method for communication devices provided in this embodiment of the invention can proactively track the latency of each channel and dynamically match channels that meet the latency requirements, thereby realizing dynamic management and allocation of each transmission channel. This effectively reduces the impact of excessive latency in individual channels and helps to reduce the average latency of the overall transmission operation.

[0041] The method for determining a backup channel provided in this embodiment of the invention can not only actively reduce latency, but also help to screen out the best backup channel with stable latency, so that it can be used alternately with the channel corresponding to the reference example. Attached Figure Description

[0042] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0043] Figure 1 This is a flowchart of the active latency reduction method for communication devices described in this invention;

[0044] Figure 2 This is a flowchart illustrating how the present invention determines a backup channel while actively reducing latency.

[0045] Figure 3 A schematic diagram of the statistical model provided in the embodiments of the present invention;

[0046] Figure 4 This is a schematic diagram for constructing a bar chart in a statistical model.

[0047] Explanation of reference numerals in the attached figures:

[0048] O - Reference plane; Z - Vertical axis;

[0049] L1, L2, L3, L4, L5, L6, L7, L8, L9 - cell column;

[0050] H1, H2, H3, H4, H5, H6, H7, H8, H9 - cell rows. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0052] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0053] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0054] The terms “first”, “second”, etc., are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.

[0055] As indicated in this specification and claims, unless the context clearly indicates otherwise, the words "a," "the," etc., are not specifically singular and may include the plural. Generally speaking, the terms "comprising" and "including" only indicate the inclusion of explicitly identified steps and elements, which do not constitute an exclusive list, and the method or apparatus may also include other steps or elements.

[0056] The flowcharts used in this specification are used to illustrate the operations performed by the system according to embodiments of this specification. It is understood that the steps are not necessarily performed in exact order. Instead, the steps can be processed in reverse order or simultaneously. Furthermore, other operations can be added to these processes, or one or more steps can be removed from them.

[0057] To overcome the shortcomings of existing technologies, please refer to Figure 1 This embodiment provides a method for proactively reducing latency in communication devices, which includes the following steps:

[0058] S1. Determine all available transmission channels (usually several). Designate the channels that are currently in use (performing transmission tasks) as working channels and the channels that are not currently in use (not currently performing transmission tasks) as idle channels.

[0059] S2. Send detection data packets through the idle channel. The sending end records the sending time of the detection data packets, and the receiving end records the receiving time when it receives the detection data packets. The time difference between the receiving time and the sending time is used as the corresponding delay reference value for the idle channel. The larger the time difference between the receiving time and the sending time, the larger the delay reference value.

[0060] S3. Set a delay threshold to designate idle channels with a delay reference value less than the delay threshold as available channels.

[0061] S4. Select one or more idle channels with the smallest delay reference value from the available channels (the specific number can be flexibly adjusted according to actual needs) as rotation channels.

[0062] S5. Set a rotation cycle. During each rotation cycle, the rotation channel will be used as a new working channel to perform transmission work. The original working channel will no longer undertake the subsequent transmission work and will be included in the idle channel.

[0063] With the above design, by repeatedly executing S1 to S5, a suitable channel can be periodically selected as the working channel according to the rotation cycle, while the idle channel is used as the evaluation object. Its latency reference value is evaluated to determine its possibility of being used as the working channel in the future.

[0064] This enables polling and testing of all available transmission channels, helping to find channels with acceptable latency, thereby ensuring the reliability of the working channels.

[0065] Overall, the proactive latency reduction method for communication devices provided in this embodiment can proactively track the latency of each channel and dynamically match channels that meet the latency requirements. This enables dynamic management and allocation of each transmission channel, effectively reducing the impact of excessive latency in individual channels and helping to reduce the average latency of the overall transmission operation.

[0066] Furthermore, in this embodiment, the active latency reduction method for communication devices also includes the following steps:

[0067] S6. Establish a statistical model. For example... Figure 3 As shown, the statistical model includes a reference plane O and a vertical axis Z. Reference plane O comprises several columns of cells, each column corresponding to a usable transmission channel. Each cell in the same column corresponds one-to-one with a delay reference value for that usable transmission channel. The vertical axis Z is perpendicular to reference plane O, and corresponds to the delay reference value. The starting position (zero point) of the vertical axis Z is located at the intersection of the vertical axis Z and reference plane O. Figure 3 In the example, the reference plane O contains cell columns L1, L2, L3, L4, L5, L6, L7, L8, and L9, and also cell rows H1, H2, H3, H4, H5, H6, H7, H8, and H9.

[0068] Cell columns L1, L2, L3, ..., L9 correspond to channels 1, 2, 3, ..., 9, respectively. Cell row H1 corresponds to the first group of delay reference values ​​for channels 1, 2, 3, ..., 9; cell row H2 corresponds to the second group of delay reference values ​​for channels 1, 2, 3, ..., 9; cell row H3 corresponds to the third group of delay reference values ​​for channels 1, 2, 3, ..., 9; and cell row H9 corresponds to the ninth group of delay reference values ​​for channels 1, 2, 3, ..., 9.

[0069] The number of columns and rows in the cells of reference plane O can be flexibly adjusted and set according to actual needs. Figure 3 The illustrations shown are for illustrative purposes only.

[0070] like Figure 2 As shown, the proactive latency reduction method for communication devices also includes the following steps:

[0071] S7. After each execution of S2, construct a bar chart in the corresponding column of the reference plane O based on the delay reference value of the idle channel, and handle the null values ​​in the corresponding cells of the working channel. For example... Figure 4 The image shows a bar chart corresponding to the delay reference values ​​for Group 1. The cells in row H1 that have no bars represent empty values, corresponding to the working channel.

[0072] In S7, the bar charts constructed based on the delay reference values ​​obtained from executing the same S2 are set in the same row of the reference plane; while the bar charts corresponding to different S2 executions are arranged row by row in chronological order within the reference plane.

[0073] S8. After calculating all the delay reference values, we can obtain the complete bar chart data for different cell rows on the reference plane O. Based on this, we can calculate the null value rate for each available transmission channel, which is the ratio of the total number of cells in the cell column containing the null value cells. The null value rate is used as a basis for evaluating the quality of the channel. The higher the null value rate, the better the channel.

[0074] S9. Extract the 2D transformation graph of the reference plane O. The 2D transformation graph contains cells corresponding to those in reference plane O. If a cell has a corresponding bar chart on the reference plane, mark that cell as a first marker in the 2D transformation graph. If a cell does not have a corresponding bar chart on the reference plane, mark that cell as a second marker in the 2D transformation graph. This yields the marking results for each column of cells.

[0075] S10. In the 2D conversion graph, identify the column with the highest null value rate as the reference column. Find the column in the 2D conversion graph whose labeling results are exactly opposite to those of the reference column; that is, a cell in the reference column marked with the first label will have its corresponding cell in this column marked with the second label, and vice versa. Select the available transmission channel corresponding to this chosen column as the optimal backup channel.

[0076] The relationship between the best standby channel and the reference column is as follows: when the reference column is used as the working channel, the best standby channel is used as the idle channel; conversely, when the reference column is temporarily used as the idle channel, the best standby channel is used as the working channel. This indicates that the latency of the best standby channel is also stable, and it alternates with the reference column in usage.

[0077] Through the above design, while actively reducing latency, it can also help to select channels with stable latency, namely the channel corresponding to the reference example and the best backup channel.

[0078] This invention also provides a method for determining a backup channel, comprising the following steps:

[0079] S6' Establish a statistical model for the delay reference value of the available transmission channels;

[0080] The statistical model includes a reference plane and a vertical axis; the reference plane includes several columns of cells, each column of cells corresponding to one of the available transmission channels; the vertical axis is perpendicular to the reference plane and corresponds to the delay reference value.

[0081] S7' When the current available transmission channel is an idle channel that is not currently in use, a detection data packet is sent through the idle channel. The time difference between the reception time of the detection data packet at the receiving end and the transmission time at the sending end is used as the delay reference value of the idle channel. A bar chart corresponding to the delay reference value is constructed in the cell of the corresponding column in the reference plane. When the current available transmission channel is a working channel that is currently in use, null values ​​are processed in the cell of the corresponding column in the working channel in the reference plane.

[0082] The operation of sending detection data packets through the idle channel is performed once every set rotation period. After the same detection data packet sending operation is performed, the bar charts constructed based on the delay reference values ​​corresponding to all idle channels are set in the same row of the reference plane. The bar charts corresponding to different executions of the detection data packet sending operation are arranged row by row in the reference plane in chronological order.

[0083] S8' Calculate the null value rate for each of the available transmission channels.

[0084] S9' Extract the two-dimensional transformation diagram of the reference plane, the two-dimensional transformation diagram containing cells corresponding to the reference plane; obtain the marking result of each column of cells, including: for cells in the reference plane that have the column chart built, make a first mark on the corresponding cells in the two-dimensional transformation diagram; for cells in the reference plane that do not have the column chart built, make a second mark on the corresponding cells in the two-dimensional transformation diagram.

[0085] S10', in the two-dimensional conversion graph, determine the column of cells with the highest null value rate as the reference column; and take the available transmission channel corresponding to the column of cells in the two-dimensional conversion graph whose marking result is exactly opposite to that of the reference column as the best backup channel.

[0086] Specifically, in the current rotation cycle, the idle channels with a delay reference value less than the delay threshold are designated as available channels; then, the idle channel with the smallest delay reference value among the available channels is selected as the rotation channel; the rotation channel selected in the current rotation cycle is used as a new working channel to perform transmission work when the next rotation cycle arrives; the working channel in the current rotation cycle is incorporated into the idle channel in the next rotation cycle to perform detection data packet transmission operations.

[0087] Steps S1-S5 of the above-mentioned active latency reduction method for communication devices can be executed in each rotation cycle; and S7' can be executed after each execution of S2.

[0088] In summary, the proactive latency reduction method for communication devices provided in this embodiment of the invention can proactively track the latency of each channel and dynamically match channels that meet the latency requirements, thereby realizing dynamic management and allocation of each transmission channel. This effectively reduces the impact of excessive latency in individual channels and helps to reduce the average latency of the overall transmission operation.

[0089] The method for determining a backup channel provided in this embodiment of the invention can not only actively reduce latency, but also help to select the best backup channel with stable latency, so that it can be used alternately with the channel corresponding to the reference example.

[0090] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for actively reducing latency in communication devices, characterized in that, Include: Repeat steps S1-S5 in a loop: S1. Determine all available transmission channels, designate the channels currently in use as working channels, and designate the channels not currently in use as idle channels. S2. Send a detection data packet through the idle channel. The sending end records the sending time of the detection data packet, and the receiving end records the receiving time when it receives the detection data packet. The time difference between the receiving time and the sending time is used as the corresponding delay reference value of the idle channel. S3. Set a delay threshold, and designate the idle channels whose delay reference value is less than the delay threshold as available channels; S4. Select the idle channel with the smallest delay reference value from the available channels as the rotation channel; S5. Set a rotation cycle. Every rotation cycle, the rotation channel is used as a new working channel to perform transmission work, and the original working channel is incorporated into the idle channel. The active latency reduction method for communication devices further includes the following steps S6-S10: S6. Establish a statistical model; the statistical model includes: a reference plane and a vertical axis; the reference plane includes several columns of cells, one column of cells corresponds to one of the available transmission channels; the vertical axis is perpendicular to the reference plane, and the vertical axis corresponds to the delay reference value; S7. After each execution of S2, construct a bar chart in the corresponding column cell of the reference plane based on the delay reference value of the idle channel, and perform null value processing in the cell corresponding to the working channel. S8. Calculate the null value rate of each of the available transmission channels; S9. Extract the two-dimensional transformation diagram of the reference plane, wherein the two-dimensional transformation diagram contains cells corresponding to the reference plane; The labeling results for each column of cells are obtained, including: for cells in the reference plane where the column chart is constructed, the corresponding cells are marked in the two-dimensional transformation diagram; for cells in the reference plane where the column chart is not constructed, the corresponding cells are marked in the two-dimensional transformation diagram. S10, in the two-dimensional conversion graph, determine the column of cells with the highest null value rate as a reference column; and select the available transmission channel corresponding to the column of cells in the two-dimensional conversion graph whose marking results are exactly opposite to those of the reference column as the best backup channel.

2. The active latency reduction method for communication devices according to claim 1, characterized in that, In S7, the bar charts constructed based on the delay reference values ​​corresponding to all idle channels when executing the same S2 are set in the same row in the reference plane; the bar charts corresponding to different executions of S2 are arranged row by row in the reference plane in chronological order.

3. The active latency reduction method for communication devices according to claim 1, characterized in that, The null value rate obtained from the statistics in S8 is used as the basis for evaluating the quality of the channel; The higher the null value rate, the better the quality of the available transmission channel.

Citation Information

Patent Citations

  • Method and device for managing data transmission channel

    CN110149220A

  • Channel access method, device and network equipment

    CN116744471A