A walkie-talkie control method and system with dual-segment duplex cross-segment relay function

By obtaining frequency band interference information and optimizing frequency role distribution, the problem of frequency interference and scheduling flexibility in duplex communication is solved, dynamic scheduling and switching between frequency bands are realized, and communication efficiency and reliability are improved.

CN120320922BActive Publication Date: 2025-09-19QUANZHOU HENGLUDA ELECTRONIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510768786.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-10
Publication Date
2025-09-19
Estimated Expiration
2045-06-10

AI Technical Summary

Technical Problem

Existing duplex communication technologies are slow to respond, lack flexibility and adaptability in dealing with frequency interference and frequency band scheduling, resulting in reduced communication efficiency and reliability. In particular, frequency role mismatches and usage conflicts frequently occur in dynamic communication environments.

Method used

By obtaining the frequency band interference information of the dual-segment duplex intercom terminal relay node, identifying the frequency repetition and crossing period, calculating the frequency point time index overlap rate, optimizing the frequency point role distribution, constructing the cross-segment transfer frequency point task structure diagram, and generating the cross-segment dual-segment duplex transfer control instruction, dynamic scheduling and switching between frequency bands can be achieved.

Benefits of technology

It improves the accuracy and time utilization of frequency scheduling, optimizes the frequency distribution structure, reduces the role mixing in communication interaction, and enhances the stability and regulation flexibility of multi-band transit control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120320922B_ABST
    Figure CN120320922B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of duplex communication technology, and specifically to a walkie-talkie control method and system with a dual-segment duplex cross-segment relay function, comprising the following steps: obtaining frequency band interference information, recording interference combinations, obtaining a list of conflicting paths, extracting time indexes, calculating available time, forming a frequency hopping scheduling chain, matching path numbers, setting frequency roles, generating a task structure diagram, reading direction identifiers, adjusting frequency band interaction operations, setting numbers and periods, and constructing relay control instructions. In the present invention, by recording frequency band interference combinations, extracting frequency hopping indexes, and combining time overlap rates to screen effective frequency hopping paths, the frequency scheduling accuracy and time utilization rate are improved; by calculating and classifying the difference in the number of primary and backup frequencies, the frequency distribution structure is optimized to avoid resource mismatching; the direction identifier comparison and frequency rearrangement strategy enhance the sequentiality of frequency band switching, reduce the mixing of roles in communication interaction, and improve the stability and control flexibility of multi-band relay control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of duplex communication, and in particular to a walkie-talkie control method and system with a dual-segment duplex cross-segment relay function. Background Art

[0002] The field of duplex communication technology encompasses wireless communications in which signals can be sent and received simultaneously. The core of this technology lies in achieving parallel transmission and reception of signals, utilizing frequency-division duplexing or time-division duplexing to avoid signal interference by utilizing the division of physical or time-domain resources. Duplex communication is widely used in mobile communications, satellite communications, private network communication systems, and intercom equipment, and has a clear classification system for transmission paths, channel scheduling, frequency allocation, and terminal communication control. This technology also covers specific sub-areas such as the coordinated transmission of signals in different frequency bands, frequency management strategies, link switching mechanisms, and communication protocol architectures, forming a systematic technology system with multi-dimensional concurrent transmission and management mechanisms.

[0003] Among them, the walkie-talkie control method with dual-band duplex cross-band relay function refers to a walkie-talkie device that uses multiple communication frequency bands for duplex communication. Its control strategy realizes data scheduling for cross-band relay by setting the combination of the main frequency band and the backup frequency band, and setting the cross-frequency configuration method of the main transmission and the backup reception. This control method covers the frequency band combination configuration method, the data forwarding process setting method and the relay link establishment method. By embedding frequency-related parameters in the control instructions, information forwarding and control logic reconstruction between frequency bands are realized, and the channel switching action of alternating frequency bands is scheduled and completed by combining time windows with frequency indexes, thus constructing a data scheduling control scheme for controllable relay between multiple frequency bands.

[0004] Existing duplex communication technologies have numerous limitations in handling frequency interference and frequency band scheduling. Particularly in dynamic communication environments, traditional frequency band scheduling strategies often fail to effectively address frequency conflicts and interference because they rely on static frequency band divisions and preset scheduling rules. This approach often exhibits a slow response to unexpected frequency interference and fails to promptly adjust frequency usage strategies, resulting in reduced communication efficiency. Furthermore, traditional methods lack flexibility in frequency quantity management and frequency band role allocation, failing to optimize based on real-time communication needs and frequency usage. This limits the system's adaptability in complex communication environments. The lack of an effective dynamic management mechanism for frequency direction adjustment and role allocation leads to frequent frequency role mismatches and usage conflicts, further reducing communication reliability and efficiency. Summary of the Invention

[0005] The purpose of the present invention is to solve the shortcomings of the prior art, and propose a dual-segment duplex intercom control method system for the transfer function;

[0006] In order to achieve the above object, the present invention adopts the following technical solution: a walkie-talkie control method with a dual-segment duplex cross-segment relay function, comprising the following steps:

[0007] S1: Obtain the interference start time, interference frequency and channel number of the main and backup frequency bands of the dual-band duplex intercom terminal relay node, identify the frequency repeated intersection period, record the interference combination, and obtain a list of marked conflicting frequency band channels;

[0008] S2: Based on the list of marked conflicting frequency band paths, extract the time indexes of the transmitting and receiving frequencies in the primary and backup combinations, compare the time index overlap rates during the frequency hopping process, calculate the average available duration value, arrange the frequency hopping segment index combinations in temporal continuity, and obtain the frequency hopping channel scheduling chain;

[0009] S3: Based on the frequency hopping channel scheduling chain, match the frequency path number, set the frequency role, calculate the difference between the main and backup frequencies, classify and generate an attribution map, and obtain a cross-segment transfer frequency task structure diagram;

[0010] S4: Based on the cross-band transfer frequency task structure diagram, read the frequency direction identifier and index value, identify and sequence the switching conflict points, perform frequency band interaction operations, and obtain a switching transmission and reception frequency band configuration table;

[0011] S5: Based on the switching transmission and reception frequency band configuration table, the transmission number and reception period are set, the frequencies are spliced ​​and grouped, and control attributes are assigned to construct identifiable data to obtain a cross-segment dual-segment duplex transfer control instruction.

[0012] As a further solution of the present invention, the list of marked conflicting frequency band paths includes frequency band identification, cross-time period records, and path numbers; the frequency hopping channel scheduling chain includes a time index sequence, frequency usage duration, and scheduling order; the cross-segment transit frequency task structure diagram includes frequency role configuration, path number matching, and frequency difference table; the switching sending and receiving frequency band configuration table includes frequency sequencing relationship, frequency direction status, and configuration sequence index; the cross-segment dual-segment duplex transit control instruction includes frequency data group, control attribute classification, and instruction encoding details.

[0013] As a further solution of the present invention, the specific steps of S1 are:

[0014] S101: Obtain the interference start time, interference frequency value, and path number corresponding to the primary frequency band and backup frequency band used by the relay node during the relay function, filter the interference frequency points of the frequency values, establish a correspondence between the frequency points and the path numbers, and generate a repeated interference frequency point path mapping table;

[0015] S102: Based on the repeated interference frequency path mapping table, extract the interference time period index of the interference frequency, filter the time intersection time period, mark the intersection time period information corresponding to the frequency, and obtain a frequency intersection interference time period list;

[0016] S103: Call the frequency point cross-interference time period list, count the number of frequency point repetitions and the number of cross-periods in the path, filter out frequencies whose number of repetitions and cross-numbers exceed the frequency band conflict determination threshold, sort the path numbers and frequency point identification groups, and obtain a list of paths with marked conflicting frequency bands.

[0017] As a further solution of the present invention, the specific steps of S2 are:

[0018] S201: Based on the list of marked conflicting frequency band paths, extract the time index of each group of transmitting and receiving frequencies in the primary and backup combinations, determine the number of overlaps of the time indexes of the frequency hopping pairs, and select frequency hopping combinations whose number of overlaps does not exceed a set number; and generate a frequency hopping index screening result;

[0019] S202: Based on the frequency hopping index screening result, extract the start and end time indexes of the frequency hopping segments, calculate the average available duration of each segment, combine the durations of all frequency hopping segments, and calculate the ratio of the durations to the number of frequency hopping segments to obtain the time utilization level of the frequency hopping segments and obtain the average available duration of the frequency hopping segments;

[0020] S203: Call the average available duration value of the frequency hopping segment, extract the frequency hopping segment combination that meets the time interval requirement, rearrange the combined segments in chronological order and merge them to form a frequency hopping path structure, and obtain a frequency hopping channel scheduling chain.

[0021] As a further solution of the present invention, the calculation formula of the average available duration of the frequency hopping segment is specifically:

[0022] ;

[0023] in, represents the average available duration of the frequency hopping segment, and n represents the total number of frequency hopping segments. Represents the starting time index of the i-th frequency hopping segment, Represents the end time index of the i-th frequency hopping segment, Represents the frequency interval index difference within the i-th frequency hopping band, Represents the absolute value of the frequency change amplitude within the i-th frequency hopping band.

[0024] As a further solution of the present invention, the specific steps of S3 are:

[0025] S301: Based on the frequency hopping channel scheduling chain, extract the frequency points that hop continuously and have an occupancy time shorter than the average available time value, mark them as forwarding buffer segments, identify the primary path, backup path, and buffer segment positions corresponding to the frequency hopping segments, match the frequency point numbers with the path segment numbers, organize the attribution information, and generate a frequency point path attribution table;

[0026] S302: Calling the frequency path attribution table, counting the number of frequencies in the primary path and the backup path respectively, calculating the difference in the number of frequencies in the primary path and the backup path, recording the difference in frequency distribution between the paths, and obtaining the frequency number difference;

[0027] S303: Based on the frequency point quantity difference, extract the frequency points with path affiliation, classify and mark the positions within the path segment, divide the blocks according to the path affiliation, and obtain a cross-segment transfer frequency point task structure diagram.

[0028] As a further solution of the present invention, the calculation formula for the difference in the number of frequency points in the primary path and the backup path is specifically:

[0029] ;

[0030] in, Represents the difference in the number of frequencies between the primary path and the backup path. Represents the frequency number of the i-th frequency in the primary path, represents the frequency number of the jth frequency in the backup path, represents the frequency mapping weight between the i-th frequency in the primary path and the j-th frequency in the backup path, m represents the total number of frequencies in the primary path, and r represents the total number of frequencies in the backup path.

[0031] As a further solution of the present invention, the specific steps of S4 are:

[0032] S401: calling the frequency of the forwarding buffer segment in the cross-segment transfer frequency task structure diagram, reading the corresponding direction identifier and frequency hopping index, and comparing the direction identifiers in the index order, filtering out frequency numbers with inconsistent direction orders, and generating a direction conflict frequency number set;

[0033] S402: Based on the direction conflict frequency point number set, find the frequency point attribution path in the corresponding sending segment and receiving segment, compare the current attribution role with the target direction identifier, analyze the frequency point set of the direction to be switched, and generate a frequency point list of the role to be switched;

[0034] S403: calling the frequency point list to be switched roles, performing a sending / receiving role swap operation on the frequency points in the set, reconstructing the frequency point path configuration according to the adjusted sequence, and obtaining a switching sending / receiving frequency band configuration table.

[0035] As a further solution of the present invention, the specific steps of S5 are:

[0036] S501: Based on the switching transmit / receive frequency band configuration table, extract the transmit frequency index, receive frequency index, frequency band attribution segment, and time index segment value, set priority numbers for the transmit frequencies and receive frequency allocation maintenance periods, and generate transmit / receive frequency number groups;

[0037] S502: Calling the sending and receiving frequency point number group, splicing the frequency point number with the time index, classifying and grouping the frequency points according to their roles, forming a data structure combination corresponding to the frequencies, and generating a frequency point grouping splicing structure;

[0038] S503: Based on the frequency grouping and splicing structure, a control field is added to each group of data, the data is summarized into a unified format, an instruction structure that can be recognized by the device is established, and a cross-segment dual-segment duplex transfer control instruction is obtained.

[0039] A walkie-talkie control system with a dual-segment duplex cross-segment relay function, comprising:

[0040] The interference frequency band analysis module obtains the interference start time, interference frequency value and path number of the main frequency band and backup frequency band used by the relay node during the execution of the relay function, identifies the interference frequency point in the relay frequency value, extracts the corresponding interference time period index and determines the time period intersection. It counts and records the relay path combinations with repeated frequency values ​​and time periods, marks them as high-interference frequency band relay path combinations, and obtains a list of marked conflicting frequency band paths;

[0041] The frequency hopping path combination module extracts the time index of each transmitting frequency point and receiving frequency point in the primary and backup combinations based on the list of marked conflicting frequency band paths, compares the corresponding time index overlap rates during the frequency hopping process, selects frequency hopping pairs whose index overlap frequency does not exceed a set number range, calculates the average available duration of the frequency hopping segments, counts and arranges the index combination segments that meet the timing requirements and do not conflict in the continuous frequency hopping sequence, and integrates the continuous frequency hopping combination segments to obtain the frequency hopping channel scheduling chain;

[0042] The path role construction module is based on the frequency points of each hopping segment in the frequency hopping channel scheduling chain. The frequency points that hop continuously and occupy a time shorter than the average available time value of the hopping segment are marked as forwarding buffer segments. The position relationship between the identified frequencies corresponding to the primary path, the backup path, and the forwarding buffer segments is determined. After matching the frequency point position number with the path number, the transfer role of each frequency point is set. According to the distribution value of the relay frequency point role, the difference in the number of frequencies of the primary path and the backup path is calculated. The path block classification operation is performed on the frequencies with the path attribution mark to obtain the cross-segment transfer frequency point task structure diagram.

[0043] The bidirectional switching module reads the corresponding direction identifier and frequency hopping index based on the frequency information marked as the forwarding buffer segment in the cross-segment transfer frequency task structure diagram, performs comparison processing on the frequency identifier sequence under the switching direction conditions of the sending segment and the receiving segment, identifies the location where the frequency attribution dislocation and direction switching conflict occur, retrieves the corresponding frequency in the original frequency sequence, performs sending and receiving swapping and rearrangement, and obtains a switching sending and receiving frequency band configuration table;

[0044] The control instruction output module extracts the sending frequency index, receiving frequency index, frequency band attribution segment and time index segment value based on the switching sending and receiving frequency band configuration table, sets the priority number of the sending frequency for the frequency in each scheduling combination in turn, and allocates the maintenance time period of the corresponding receiving frequency. The frequency value and index number are sequentially spliced, and the spliced ​​results are classified and grouped according to the frequency role and assigned control attribute fields, and a data structure in a format that can be recognized by the device is constructed to obtain a cross-segment dual-segment duplex transit control instruction.

[0045] Compared with the prior art, the advantages and positive effects of the present invention are:

[0046] In the present invention, by recording the frequency band interference combination, extracting the frequency hopping index and combining the time overlap rate to screen the effective frequency hopping path, the frequency scheduling accuracy and time utilization are improved. By calculating the difference in the number of main and backup frequencies and classifying them, the frequency distribution structure is optimized to avoid resource mismatch. The direction identification comparison and frequency rearrangement strategy enhances the sequentiality of frequency band switching, reduces the role mixing in communication interaction, and improves the stability and regulation flexibility of multi-band relay control. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 Schematic diagram of the steps of the present invention;

[0049] Figure 2 It is a system module diagram of the present invention. DETAILED DESCRIPTION

[0050] The technical solution of the present invention is described below in conjunction with the accompanying drawings.

[0051] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as an "exemplary" in the present invention should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete manner. Furthermore, in the embodiments of the present invention, "and / or" can mean both or either of the two.

[0052] In the embodiments of the present invention, the terms "image" and "picture" may sometimes be used interchangeably. It should be noted that, when the distinction is not emphasized, the meanings they convey are the same. The terms "of," "corresponding," and "corresponding" may sometimes be used interchangeably. It should be noted that, when the distinction is not emphasized, the meanings they convey are the same.

[0053] In the embodiments of the present invention, sometimes a subscript such as W1 may be written as a non-subscript such as W1. When the difference is not emphasized, the meanings to be expressed are the same.

[0054] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0055] See also Figure 1 The embodiment of the present invention provides a walkie-talkie control method with a dual-segment duplex cross-segment relay function, comprising the following steps:

[0056] S1: Obtain the interference start time, interference frequency value, and path number of the main and backup frequency bands used by the relay node during the relay function, identify the interference frequency point in the relay frequency value, extract the corresponding interference time period index and determine the time period overlap, count and record the relay path combinations with repeated frequency values ​​and time periods, mark them as high-interference frequency band relay path combinations, and obtain a list of marked conflicting frequency band paths;

[0057] S2: Based on the list of marked conflicting frequency band paths, extract the time index of each transmitting frequency and receiving frequency point in the primary and backup combinations, compare the corresponding time index overlap rates during the frequency hopping process, select frequency hopping pairs whose index overlap frequency does not exceed the set number range, calculate the average available duration of the frequency hopping segment, count and arrange the index combination segments in the continuous frequency hopping sequence that do not conflict with the timing, and integrate the continuous frequency hopping combination segments to obtain the frequency hopping channel scheduling chain;

[0058] S3: Based on the frequencies of each hopping segment in the frequency hopping channel scheduling chain, frequencies that continuously hop and occupy less than the average available duration of the hopping segment are marked as forwarding buffer segments. The positional relationship between the frequencies corresponding to the primary path, backup path, and forwarding buffer segments is identified. After matching the frequency position number with the path number, the relay role of the frequency is set. Based on the relay frequency role distribution value, the difference in the number of frequencies on the primary path and backup path is calculated. The frequencies with the path affiliation mark are classified into path blocks to obtain the cross-segment relay frequency task structure diagram.

[0059] S4: Call the frequency information marked as the forwarding buffer segment in the cross-segment transfer frequency task structure diagram, read the corresponding direction identifier and frequency hopping index, perform comparison processing on the frequency identifier sequence under the condition of switching the direction of the sending segment and the receiving segment, identify the location where the frequency attribution misalignment and direction switching conflict occur, call the corresponding frequency in the original frequency sequence, perform transmission and reception swapping and rearrangement, and obtain the switching transmission and reception frequency band configuration table;

[0060] S5: Based on the switching transmission and reception frequency band configuration table, extract the transmission frequency index, reception frequency index, frequency band belonging segment and time index segment value, set the transmission frequency priority number for the frequency in each scheduling combination in turn, and allocate the corresponding reception frequency maintenance time period, sequentially splice the frequency value and index number, classify the spliced ​​results into groups according to the frequency role and assign control attribute fields, build a data structure in a format that can be recognized by the device, and obtain the cross-segment dual-segment duplex transfer control instruction.

[0061] The list of marked conflicting frequency band paths includes frequency band identification, cross-period records, and path numbers; the frequency hopping channel scheduling chain includes time index sequence, frequency usage duration, and scheduling order; the cross-segment transfer frequency task structure diagram includes frequency role configuration, path number matching, and frequency difference table; the switching send and receive frequency band configuration table includes frequency sequencing relationship, frequency direction status, and configuration order index; the cross-segment dual-segment duplex transfer control instructions include frequency data group, control attribute classification, and instruction encoding details.

[0062] The specific steps of S1 are:

[0063] S101: Obtain the interference start time, interference frequency value, and path number corresponding to the primary frequency band and backup frequency band used by the relay node during the relay function, filter the interference frequency points of the frequency values, establish a correspondence between the frequency points and the path numbers, and generate a repeated interference frequency point path mapping table;

[0064] First, it is necessary to synchronously monitor the current communication status of the relay node, extract the frequency band usage record of the currently active relay device, read the frequency field in the record one by one, and establish a one-to-one correspondence between the device number and the frequency value. On this basis, extract the frequency band occupancy during this period and bind it to the relay number, clarify the main frequency and backup frequency numbers in use on each channel, and combine the interference start time and interference frequency value in chronological order, and store each set of data in a sublist under the corresponding channel number identifier. Next, it is necessary to The frequency points that appear repeatedly in the frequency value are screened and judged. Specifically, the number of times each frequency value appears in all channel numbers is counted. When the frequency value appears ≥ 2 times, it is marked as an interference frequency point, and the channel numbers in which the frequency point appears repeatedly are recorded. For example, if the frequency point f1 is recorded in numbers T01 and T03, then the frequency point is determined to be an interference frequency point, and the corresponding channels are T01 and T03. At this time, the attribution mapping relationship between the frequency point f1 and numbers T01 and T03 is established. After filtering out the interference frequency point, it is necessary to extract its interference time period index. The index value can be obtained by comparing the recorded interference start time with the corresponding position in the time unit sequence within the current relay cycle. The interference time period is then used as a unit to determine whether there is any overlap with the interference segments of the corresponding frequency points in other channels. Intersection is determined by comparing whether there is at least one identical index point in the time period index intervals of the two frequency points. If so, it is considered a time period overlap. The overlapping frequency points are then again bound and updated according to the channel number and frequency value. During this process, a time index overlap of two or more can be set to be considered a valid overlap. After the statistics are completed, each interference frequency point is classified with all its channel numbers. Finally, an interference frequency point channel mapping structure is output with the frequency point as the key and the channel number set as the value. The frequency point channel mapping table is established based on all frequency point samples that meet the intersection behavior of repeated interference frequency values ​​and time period index. For example, if f2 appears in T02 and T05, its interference index segments are [4, 5] and [5, 6]. Since index 5 overlaps, f2 is included in the mapping table and the channel numbers T02 and T05 are recorded, ultimately generating a repeated interference frequency point channel mapping table.

[0065] S102: Based on the repeated interference frequency path mapping table, extract the interference time period index of the interference frequency, filter the time intersection period, mark the intersection period information corresponding to the frequency, and obtain a frequency intersection interference time period list;

[0066] First, extract the interference time period index of all the interference frequency points that have been marked. The time period index is composed of the start time and end time recorded by each frequency point in each channel. It is necessary to extract the start and end time tags from each frequency point record one by one and classify them with integer time indexes. For example, the start time of frequency point f1 in channel T01 is 2s and the end time is 4s, then the corresponding time index interval is [2, 3, 4]. If f1 is [3, 4, 5] in T03 at the same time, it is summarized as the time index set of frequency point f1 {2, 3, 4, 5}. After performing the same extraction operation on all interference frequency points in turn, a corresponding table of frequency point-time period index is established. Then, for each frequency point time index set, a cross judgment operation is performed, that is, whether there is an overlapping interval in the time index of the frequency point appearing in multiple channels is counted. The judgment standard is: if the frequency point has the same index in two or more channels, If the reference value is not found, it is determined that there is an intersection period. The intersection segment is the intersection content of the indexes in these paths. For example, the time index of frequency point f2 in T02 and T04 are [5, 6, 7] and [6, 7, 8] respectively, then its intersection segment is [6, 7]. After the intersection judgment is completed, the intersection segment index set of all frequency points is recorded one by one, and the intersection segment information is marked in the frequency point index data structure to complete the identification binding operation of the frequency point and the intersection segment. In order to ensure the accuracy of the judgment, a cross judgment threshold can be set, and the cross time period must contain at least 2 consecutive index points before it can be marked. For example, if the intersection of a frequency point in the two paths is only 1 index point [9], it is not recorded as a cross period. The default threshold of the number of cross indexes is set to 2. After screening according to this standard, the qualified frequency points and their intersection time periods are sorted into a table for storage, and finally a list of frequency point cross interference time periods is obtained.

[0067] S103: Calling a frequency point cross-interference time period list, counting the number of frequency point repetitions and the number of cross-interference periods in the channel, screening frequencies whose repetitions and cross-interference numbers both exceed the frequency band conflict determination threshold, sorting the channel numbers and frequency point identification groups, and obtaining a list of channels with marked conflicting frequency bands;

[0068] First, establish a corresponding grouping structure between the frequency point and the channel number where it is located, and extract the number of times each frequency point appears in the channel. This number is the number of times the frequency point is repeated in multiple channels. During the execution process, all frequency point keys should be traversed to count the number of elements in the channel number set associated with it. If the frequency point f1 appears in the three channels T01, T02, and T05, then its number of repetitions is 3. Then, for the cross-interference time period corresponding to each frequency point, record the corresponding time index number. The number of time periods needs to count the length of the cross-index set to obtain the number of time periods. For example, if the cross-time period of frequency point f2 is [4, 5, 6], then the number of cross-time periods of this frequency point is 3. After the above two statistics are completed, it should be set Frequency band conflict judgment threshold, set the repetition threshold to 2, the crossing period threshold to 2, and judge whether each frequency point meets the two thresholds at the same time. Those that meet the requirements will be regarded as conflicting frequency points. For example, if f3 appears in both T03 and T07 and the crossing index is [7, 8], then the repetition count is 2 and the crossing period count is 2, both of which meet the conditions and need to be marked into the conflicting frequency point set. Next, for each frequency point in the set, extract its corresponding channel number set and construct a mapping structure between the frequency point identifier and the channel number group, with the frequency point as the primary key and the channel number set as the value. When outputting, the frequency points are sorted in ascending order, and all frequency point group structures that meet the conditions are summarized to obtain a list of marked conflicting frequency band channels.

[0069] The specific steps of S2 are:

[0070] S201: Based on the list of marked conflicting frequency band paths, extract the time index of each set of transmitting and receiving frequencies in the primary and backup combinations, determine the number of overlaps of the time indexes of the frequency hopping pairs, and select frequency hopping combinations whose overlaps do not exceed a set number; and generate a frequency hopping index screening result;

[0071] First, it is necessary to read the sending frequency and receiving frequency under each combination of main and backup frequency bands in turn, extract their start time and end time within the scheduling period, and convert them into corresponding time index segments. During the communication process, each frequency point will be recorded by the system at the time node when it starts sending or receiving. The time index can be converted by subtracting the unified start time from the time node and dividing it by the unit time step. For example, if the start time is 0 seconds and the unit step is 1 second, the frequency point starts at the 3rd second, and the index is 3. Suppose the index segment of the sending frequency point f1 is [3, 4, 5] and the index segment of the receiving frequency point r1 is [4, 5, 6]. Next, the index segments of the sending and receiving frequencies are cross-compared, and the number of index value overlaps between the two is counted, that is, the number of elements of the intersection index. In this example, the intersection is [4, 5] and the number of overlaps is 2. Repeat the comparison and statistical operation for all frequency combinations, and record the number of overlaps for each frequency hopping combination. Then set the frequency hopping overlap judgment threshold to 3. When the number of overlaps for a certain frequency hopping combination is less than or equal to this threshold, it is judged to be an acceptable frequency hopping pair and enters the subsequent process. It should be noted that the setting of the threshold here is based on the channel interference width of 2 seconds. If frequency overlap occurs within 3 consecutive seconds, it is judged as a conflict. If it is lower than this value, no scheduling conflict will occur. Therefore, the threshold is set to 3, and other frequency hopping combinations are processed. For example, if the frequency f2 is [2, 3], r2 is [3, 4], and the overlap is [3], which is only 1, then the conditions are met and the frequency hopping pairs are screened into the valid set. The frequency identifier and the combination number to which they belong are recorded for all frequency hopping pairs that meet the conditions, and they are organized into a unified structure. When summarizing the data, they are grouped by the combination number to finally generate the frequency hopping index screening result.

[0072] S202: Based on the frequency hopping index screening result, extract the start and end time indexes of the frequency hopping segments, calculate the average available duration of each segment, combine the durations of all frequency hopping segments, and calculate the ratio of the durations to the number of frequency hopping segments to obtain the time utilization level of the frequency hopping segments and the average available duration of the frequency hopping segments;

[0073] The calculation formula for the average available duration of the frequency hopping band is as follows:

[0074] ;

[0075] in, represents the average available duration of the frequency hopping segment, and n represents the total number of frequency hopping segments. Represents the starting time index of the i-th frequency hopping segment, Represents the end time index of the i-th frequency hopping segment, Represents the frequency interval index difference within the i-th frequency hopping band, Represents the absolute value of the frequency change amplitude within the i-th frequency hopping band;

[0076] Assume that in a communication system, there are three frequency hopping bands, and the specific time indexes are as follows:

[0077] Section 1: Start time =0 seconds, end time =10 seconds, frequency interval =5, frequency change =20Hz;

[0078] Section 2: Start time =11 seconds, end time =20 seconds, frequency interval =3, frequency change =15Hz;

[0079] Section 3: Start time =21 seconds, end time =30 seconds, frequency interval =4, frequency change =25Hz;

[0080] Perform the calculation in the formula for each segment:

[0081] ;

[0082] Calculation for the first paragraph: ;

[0083] Calculation for the second paragraph: ;

[0084] Calculation for paragraph 3: ;

[0085] Combine these results and calculate the average:

[0086] ;

[0087] The result shows that the average available duration of the frequency hopping segment is approximately 17.8 seconds, reflecting the time occupancy level of each segment in the current frequency hopping channel. This value is used to determine the stable scheduling capability of the frequency hopping segment. When it is lower than the set reference threshold (such as 12 seconds), it will be marked as a forwarding buffer segment. This value will be used as a classification basis in the subsequent frequency point role division, providing a time judgment standard for the primary path, backup path and buffer segment.

[0088] S203: Call the average available duration value of the frequency hopping segment, extract the frequency hopping segment combination that meets the time interval requirement, rearrange the combined segments in chronological order and merge them to form a frequency hopping path structure, and obtain the frequency hopping channel scheduling chain;

[0089] First, extract the start and end time index information of all frequency hopping segment combinations, and calculate the length of each frequency hopping segment. The time length can be obtained by adding one to the difference between its start and end time indexes. If a segment index is [5, 6, 7], the corresponding available time is 3. Compare this value with the average available time value of the frequency hopping segment to determine whether it meets the time interval screening condition. The screening standard is that the combination segment with a frequency hopping segment length not less than the average value is retained, and the others are eliminated. The screening condition uses integer value comparison. For example, if the average value is 4 and the frequency hopping segment length is 3, it is eliminated. If it is 4 or above, it is retained. Assuming that the average available time is 5, there are currently frequency hopping segment combinations A: [3, 4, 5, 6, 7], B: [8, 9, 10], and C: [11, 12, 13, 14, 15]. Then segments A and C are retained, and segment B is eliminated. Then, the retained frequency hopping segment combinations are rearranged to Sort the frequency hopping segments by starting time index from smallest to largest to form a strictly ordered list. If the starting index is the same, sort them again by ending time index in ascending order. After sorting, determine whether adjacent frequency hopping segments are continuous or have a time interval. If the interval between two segments is no more than 1, group them together and merge them to form a continuous frequency hopping path segment. When merging, the original frequency point identification order of each frequency hopping segment must be retained, and the segments are integrated and updated based on their time index range. For example, if segment A is [3, 4, 5] and segment B is [6, 7, 8], they are merged into [3, 4, 5, 6, 7, 8]. The merged path segments are numbered and mapped to the original scheduling frequency table. The frequency point group and index set corresponding to each frequency hopping path structure are identified and stored in the frequency hopping path structure list. All frequency hopping path segment combinations that meet the screening and reorganization conditions are output to generate a frequency hopping channel scheduling chain.

[0090] The specific steps of S3 are:

[0091] S301: Based on the frequency hopping channel scheduling chain, extract the frequencies that continuously hop and have an occupancy time shorter than the average available time value, mark them as forwarding buffer segments, identify the primary path, backup path, and buffer segment locations corresponding to the frequency hopping segments, match the frequency segment numbers with the path segment numbers, organize the attribution information, and generate a frequency segment path attribution table;

[0092] First, extract all the frequency point information in the frequency hopping band, and perform segmented statistics on the corresponding start and end time indexes, and calculate the time occupancy length of each frequency point. The statistical method is to subtract the start index value from the end index value plus one. For example, if a frequency point exists continuously in the index [5, 6, 7], the occupancy time is 3. Compared with the average available time value of the frequency hopping band obtained before, the average value is set to 5. Then all frequency points with a time occupancy of less than 5 are regarded as frequencies with frequent hopping and insufficient occupancy time in the relay link. They need to be screened out and uniformly marked as forwarding buffer segments so that they can be identified and called as link connection nodes in subsequent relay control. Then, the path attribution information of these marked frequency points is read separately. The path type is determined by the frequency point where the frequency point is located. The frequency segment combination method determines that if the corresponding frequency hopping segment is the frequency point that appears in the front segment of the continuous frequency hopping structure, it is mapped as the main path according to the path identifier, the middle frequency point corresponds to the forwarding buffer segment, and the last frequency point is mapped to the backup path. Based on this logic, a mapping list of frequency points and path positions is constructed. Next, the frequency point number of each frequency point and its corresponding path segment number are extracted, and the frequency point number and path segment number are bound into a paired structure. The frequency point role identification and classification are completed in the data structure. Finally, the above-mentioned frequency point number, attribution path type, time index segment and other information are combined into a standard record format. They are grouped by path type, with one group for the main path, one group for the backup path, and one group for the forwarding buffer segment. The data are output as a unified data set to generate a frequency point path attribution table.

[0093] S302: Calling the frequency path attribution table, counting the number of frequencies on the primary path and the backup path, calculating the difference in the number of frequencies between the primary path and the backup path, recording the difference in frequency distribution between the paths, and obtaining the frequency number difference;

[0094] The formula for calculating the difference in the number of frequency points between the primary path and the backup path is:

[0095] ;

[0096] in, Represents the difference in the number of frequencies between the primary path and the backup path. Represents the frequency number of the i-th frequency in the primary path, represents the frequency number of the jth frequency in the backup path, represents the frequency mapping weight between the i-th frequency point in the primary path and the j-th frequency point in the backup path, m represents the total number of frequencies in the primary path, and r represents the total number of frequencies in the backup path;

[0097] Assume the setting value:

[0098] Main path frequency number:

[0099] =2050, =2060, =2070;

[0100] Backup path frequency number:

[0101] =2020, =2080, =2090;

[0102] Mapping weights:

[0103] =0.5, =0.3, = 0.2 is the same for all i;

[0104] The number of main frequencies is m = 3, and the number of backup frequencies is r = 3;

[0105] Calculate the inner weighted mean part for each i:

[0106] =2050:

[0107]

[0108] =2060:

[0109]

[0110] =2070:

[0111]

[0112] Substitute into the main formula and calculate the total value:

[0113]

[0114] The result shows that the value 2056.911 represents the average difference between the frequencies on the primary and backup paths, after weight mapping and numbering quantification. This value reflects the overall deviation in the frequency distribution structure between the two paths. This result, the "frequency number difference" recorded in step S302, serves as an important reference for comparing path design performance and frequency reconfiguration scheduling.

[0115] S303: Based on the frequency point quantity difference, extract the frequency points with path affiliation, classify and mark the positions within the path segment, divide the blocks according to the path affiliation, and obtain a cross-segment transfer frequency point task structure diagram;

[0116] First, count the number of frequencies contained in the primary path and the backup path. Let the number of frequencies in the primary path be N and the number of frequencies in the backup path be N. The difference in the number of frequencies is |NN|, which is used to measure the imbalance of the path distribution. Then, extract the frequency number, attribution type, and starting index position of all attributed paths in the frequency path attribution table. Classify these frequencies according to the paths they belong to, and record their position index in the frequency hopping band structure to clarify the arrangement order of each frequency in the path. Then, divide the block boundaries in each path segment according to the index position of the frequency in the path. Each path segment contains at least one continuous frequency block. When the hopping interval of the frequency in the same path exceeds the set index threshold (for example, If the number of frequency points is ≥ 2, it is considered the start of a new block and the block division within the path is marked. For example, if the frequency point sequence index under a certain path is [3, 4, 5, 8, 9], it can be divided into two blocks, [3, 4, 5] and [8, 9]. The frequencies in each block are assigned a unified path block number. Each frequency point is bound to the path block number, and the path ownership information is marked and its corresponding time index in the frequency hopping channel scheduling chain is retained for subsequent path behavior modeling and frequency hopping segment calling. After the block division and numbering are completed for all frequencies, the frequency point number, path ownership, block number and time index are integrated and output as a unified structural identification set to generate the cross-segment transfer frequency point task structure diagram.

[0117] The specific steps of S4 are:

[0118] S401: Call the frequency of the forwarding buffer segment in the cross-segment transfer frequency task structure diagram, read the corresponding direction identifier and frequency hopping index, and compare the direction identifier in the index order, filter out the frequency number of inconsistent direction order, and generate a direction conflict frequency number set;

[0119] First, it is necessary to filter out the frequency point subset marked as "forward buffer segment" in the path attribution field from the structure diagram, and extract the corresponding frequency point number list. Then, for each frequency point number, read its direction identifier and frequency hopping index position recorded in the scheduling chain. The direction identifier can be "send" or "receive", and the frequency hopping index is the timing number of the frequency point in the scheduling chain. After recording the relative position of each frequency point in the scheduling sequence, the frequency point direction identifiers are sorted and compared in turn to determine whether the direction identifier and index sequence are consistent. In the consistency judgment, the direction change trend of consecutive frequency points is used as a reference standard. If a frequency point is in the leading order in the frequency hopping index, the direction identifier is "receive", and its subsequent frequency point is in the leading order. For example, if the frequency point is "sending", the direction order of the frequency point is judged to be inconsistent, forming a conflict mark. For example, the frequency point p3 is located at the frequency hopping index 4 and the direction mark is "receiving". Its adjacent frequency point p4 is index 5 and the direction is "sending". Then the direction reversal does not conform to the path flow logic, and p3 needs to be recorded as a conflicting frequency point. When performing this operation, a full-order direction comparison is completed for the entire forwarding buffer segment frequency point subset, and the threshold for allowing a single direction reversal is set to 0. If it exceeds, it is judged as a conflict. After traversing all buffer segment frequencies, the frequency point numbers with inconsistent directions are counted and de-duplicated and summarized. Finally, the frequency point numbers of all directions that do not match are sorted out to form a set data structure, which is output as a direction conflict frequency point number set.

[0120] S402: Based on the direction conflict frequency point number set, find the frequency point attribution path in the corresponding sending segment and receiving segment, compare the current attribution role with the target direction identifier, analyze the frequency point set of the direction to be switched, and generate a frequency point list of the role to be switched;

[0121] First, all the frequency points in the number set are queried one by one, and the corresponding attribution path field and current role identification in the frequency path attribution table are read. The attribution path is usually "primary path", "backup path" or "forwarding buffer segment", and the current role identification is "send" or "receive". Then, according to the frequency hopping index position of the frequency point in the frequency task structure diagram, its position segment is queried in the scheduling sequence, and the direction consistency comparison analysis of the adjacent frequency point directions is performed. If the current frequency point direction is "send" but the previous frequency point direction is "receive", it is considered that the frequency point direction is wrong and the role needs to be switched. During the direction identification process, the direction identification field in the task structure diagram needs to be called for comparison and matching, and a comparison table between the current role and the target role needs to be established to determine the difference status. All existing directions Incompatible frequencies will be marked and enter the switching analysis process. Next, the attribution path field is used to determine whether the frequency is in the key section for role switching. If both the "role and direction do not match" and the "path is a transit section" conditions are met, the frequency will be included in the switching set. For example, frequency p7 currently belongs to the primary path and has a role identifier of "receive", but the direction of its adjacent section is "send". According to the path strategy, this frequency should perform a direction switch from "receive" to "send". At this time, p7 enters the switching analysis set. The entire judgment process covers the comparison of three contents: direction identifier, frequency hopping index position, and path attribution field. After all frequencies are analyzed, the frequency numbers that meet the switching requirements are aggregated into a set and a data record list is generated, finally generating a list of frequencies to be switched roles.

[0122] S403: Call the frequency point list to be switched, perform the sending and receiving role swap operation on the frequency points in the set, reconstruct the frequency point path configuration according to the adjusted sequence, and obtain the switching sending and receiving frequency band configuration table;

[0123] First, extract the numbers of all frequency points in the list, the original direction identifiers, and the time index and path segment number information in the frequency path attribution table, and perform a direction change operation on each frequency point in the list, converting its current "send" identifier to "receive" and converting the "receive" identifier to "send". During the processing, the order of the direction identifiers of each frequency point in the scheduling chain should be rechecked and confirmed to ensure that the direction adjustment does not cause path continuity errors. For example, the original direction of frequency point p11 is "send", the frequency hopping index is 5, and the direction of its previous frequency point p10 is "receive", and the index is 4. The adjusted direction of p11 is "receive", which is in line with the scheduling sequence logic. After the adjustment operation is completed, all switched The reconstructed frequency points are re-included into the scheduling sequence, and the adjusted frequency point set is arranged in ascending order according to the frequency hopping index. If there is an index overlap, it is sorted again according to the priority of the path segment number, so that at the same time node, the frequency point with higher priority in the same path is arranged in front. After the sorting is completed, the path attribution check operation needs to be performed again on the reconstructed frequency point sequence to confirm that the correspondence between each frequency point and the path number to which it belongs remains unchanged, ensuring that the role switching will not cause path deviation. Subsequently, a new structure record is generated, including the frequency point number, reconstructed direction identifier, path segment number and time index value, to form an updated scheduling table. All data structures are sorted and output in a standardized record format, and finally a switching sending and receiving frequency band configuration table is obtained.

[0124] The specific steps of S5 are:

[0125] S501: Based on the switching transmit and receive frequency band configuration table, extract the transmit frequency index, receive frequency index, frequency band attribution segment, and time index segment values, set priority numbers for the transmit frequencies, and assign a maintenance period for the receive frequencies to generate a transmit and receive frequency number group;

[0126] First, extract the direction identifier and index value of each frequency point, establish an index ascending list for all frequencies with the direction of "sending", and set priority numbers for them in turn. The number is used to indicate the priority processing order during scheduling. For example, in the same time period, the sending frequency points with smaller numbers are scheduled first, and the priority numbers increase one by one starting with 1. If there are 5 sending frequencies in total, they are numbered from 1 to 5. Then filter the frequencies with the direction of "receiving", extract their time index values ​​in the frequency hopping channel scheduling chain, and allocate a maintenance period to each frequency point in combination with the channel continuity capability of the frequency band to which they belong. This period represents the time interval in which they remain active at the receiving end. The maintenance period setting reference The index difference interval before and after the receiving frequency point, for example, the starting index of frequency point r1 is 10, and the subsequent receiving frequency point on the same path is 13, then the maintenance period is set to 3, indicating that it maintains the receiving state until index 13. All receiving frequency points are assigned period values ​​according to this logic, and then the sending frequency point number, receiving frequency point number, priority number, maintenance period, frequency band attribution field and time index value are associated and integrated, and arranged in ascending order by frequency point number to form an ordered structure. The frequency point records with repeated indexes or overlapping attribution sections in the structure are grouped and sorted, and finally the result table item of the combination of frequency point direction, time dimension and path number is output as a unified scheduling structure unit to finally generate the sending and receiving frequency point number group.

[0127] S502: Call the sending and receiving frequency point number group, splice the frequency point number with the time index, classify and group the frequency points according to their roles, form a data structure combination corresponding to the frequency points, and generate a frequency point grouping splicing structure;

[0128] First, perform field extraction on each data in the numbering group. The extracted fields include frequency number, time index value, role identifier, path attribution paragraph, priority number and maintenance period. For each data, a key-value pair is constructed with the frequency number as the primary key and the time index as the secondary key. The two are connected in a character splicing manner. For example, if the frequency number is pA and the time index is T3, the splicing structure is pA-T3. The generated key-value pair set can be used for subsequent rapid retrieval of the temporal position of the frequency in the scheduling sequence. After the splicing is completed, all spliced ​​data are classified according to the role field into "sending data set" and "receiving data set". The sending data includes the frequency number, priority number, and the time index information after splicing. The receiving data includes the frequency number, maintenance period, and the time index information after splicing. , time splicing structure, and then organize the path segments of the sending data set, perform primary grouping by path number, and arrange them in ascending order by priority number within each group to form a sending scheduling list under each path segment. The receiving data set is arranged in ascending order by the time index field, and the end point of the maintenance period of each frequency point is supplemented and recorded. The two sets are constructed in parallel. In the data structure combination, index fields are set up for "sending group structure" and "receiving group structure" respectively to indicate the positioning sequence of the splicing content in the overall scheduling table. Finally, it is output as a combined structure file in the form of a unified field definition. The field order is: splicing number, role classification, path segment number, time index, auxiliary parameter field (priority number or maintenance period), and finally a frequency point grouping splicing structure is generated.

[0129] S503: Based on the frequency grouping and splicing structure, a control field is added to each group of data, the data is aggregated into a unified format, and a command structure that can be recognized by the device is established to obtain a cross-segment dual-segment duplex transfer control command;

[0130] First, the control field setting logic is introduced into the sending group structure and the receiving group structure respectively. In the sending group structure, a sending control field is set for each data. The field content consists of three items: frequency number, priority number, and frequency hopping channel identifier. When setting each item, it is necessary to judge the uniqueness of its number and the accuracy of the sequence position. If the priority number is repeated, it is necessary to force an incremental adjustment based on the time index. The receiving control field is set in the receiving group structure. The field consists of the frequency number, maintenance period, and path role code. The path role code needs to be assigned with reference to the belonging path segment field. The frequency numbered M segment is assigned to "R1", and the frequency numbered N segment is assigned to "R2". After the addition is completed, the fields of the two structures are synchronized, and the field order is uniformly adjusted to: frequency number, time index, control field One (the sending class is the priority number, the receiving class is the maintenance period), control field two (the sending class is the channel identifier, the receiving class is the path role code), after splicing the fields into a standardized output format, the sending class and receiving class spliced ​​data are inserted into the structured data container respectively, the container is sorted in order of task number, the structure is output as a fixed field length and the task frame header is added. The task frame header consists of the frequency hopping path number, the number of path segments, and the total number of frequency points. It serves as the pre-frame field of the device execution instruction. The output instruction format complies with the structural analysis requirements of the dual-segment duplex intercom device, where the field length is set to 12 bits, and the remaining part is filled with "0" until the structure length is aligned to a multiple of 128 bits. After the alignment operation, it is stored in the device control byte set, and finally a cross-segment dual-segment duplex transit control instruction is generated.

[0131] See also Figure 2 , a walkie-talkie control system with a dual-segment duplex cross-segment relay function, comprising:

[0132] The interference frequency band analysis module obtains the interference start time, interference frequency value and path number of the main frequency band and backup frequency band used by the relay node during the execution of the relay function, identifies the interference frequency point in the relay frequency value, extracts the corresponding interference time period index and determines the time period intersection. It counts and records the relay path combinations with repeated frequency values ​​and time periods, marks them as high-interference frequency band relay path combinations, and obtains a list of marked conflicting frequency band paths;

[0133] The frequency hopping path combination module extracts the time index of each transmitting frequency and receiving frequency point in the primary and backup combinations based on the list of marked conflicting frequency band paths. It compares the corresponding time index overlap rate during the frequency hopping process, selects the frequency hopping pairs whose index overlap frequency does not exceed the set number range, calculates the average available duration of the frequency hopping segment, counts and arranges the index combination segments in the continuous frequency hopping sequence that meet the timing requirements and do not conflict, and integrates the continuous frequency hopping combination segments to obtain the frequency hopping channel scheduling chain.

[0134] The path role construction module is based on the frequency points of each hopping segment in the frequency hopping channel scheduling chain. It marks the frequencies that hop continuously and occupy less than the average available time value of the hopping segment as forwarding buffer segments. It identifies the position relationship between the frequencies corresponding to the primary path, backup path and forwarding buffer segment, matches the frequency point position number with the path number, sets the relay role of each frequency point, calculates the difference in the number of frequencies of the primary path and the backup path based on the relay frequency point role distribution value, and performs path block classification operations on the frequencies with path attribution marks to obtain the cross-segment relay frequency point task structure diagram;

[0135] The bidirectional switching module reads the corresponding direction identifier and frequency hopping index based on the frequency information marked as the forwarding buffer segment in the cross-segment transfer frequency task structure diagram, performs comparison processing on the frequency identifier sequence under the conditions of switching directions between the sending segment and the receiving segment, identifies the location where the frequency attribution misalignment and direction switching conflict occur, and retrieves the corresponding frequency points in the original frequency sequence to perform send and receive swapping and rearrangement to obtain the switching send and receive frequency band configuration table;

[0136] The control instruction output module extracts the sending frequency index, receiving frequency index, frequency band attribution segment and time index segment value based on the switching sending and receiving frequency band configuration table, sets the priority number of the sending frequency for the frequency in each scheduling combination in turn, and allocates the maintenance time period of the corresponding receiving frequency. The frequency value and index number are sequentially spliced, and the spliced ​​results are classified and grouped according to the frequency role and assigned control attribute fields. The data structure in the format that can be recognized by the device is constructed to obtain the cross-segment dual-segment duplex transfer control instruction.

[0137] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A method for controlling a walkie-talkie with a dual-segment duplex inter-segment relay function, characterized in that: The following steps are involved: S1: Obtain the interference start time, interference frequency and channel number of the main and backup frequency bands of the dual-band duplex intercom terminal relay node, identify the frequency repeated intersection period, record the interference combination, and obtain a list of marked conflicting frequency band channels; S2: Based on the list of marked conflicting frequency band paths, extract the time indexes of the transmitting and receiving frequencies in the primary and backup combinations, compare the time index overlap rates during the frequency hopping process, calculate the average available duration value, arrange the frequency hopping segment index combinations in temporal continuity, and obtain the frequency hopping channel scheduling chain; S3: Based on the frequency hopping channel scheduling chain, match the frequency path number, set the frequency role, calculate the difference between the main and backup frequencies, classify and generate an attribution map, and obtain a cross-segment transfer frequency task structure diagram; S4: Based on the cross-band transfer frequency task structure diagram, read the frequency direction identifier and index value, identify and sequence the switching conflict points, perform frequency band interaction operations, and obtain a switching transmission and reception frequency band configuration table; S5: Based on the switching transmission and reception frequency band configuration table, the transmission number and reception period are set, the frequencies are spliced ​​and grouped, control attributes are assigned, identifiable data is constructed, and a cross-segment dual-segment duplex transfer control instruction is obtained; The specific steps of switching the transmit and receive frequency band configuration table are as follows: S401: Calling the frequencies of the forwarding buffer segment in the cross-segment transfer frequency task structure diagram, recording the relative position of each frequency in the scheduling order, reading the corresponding direction identifier and frequency hopping index, and comparing the direction identifiers in the index order, filtering out frequency numbers with inconsistent direction orders, and generating a direction conflict frequency number set; S402: Based on the direction conflict frequency point number set, find the frequency point attribution path in the corresponding sending segment and receiving segment, compare the current attribution role with the target direction identifier, analyze the frequency point set of the direction to be switched, and generate a frequency point list of the role to be switched; S403: calling the frequency point list to be switched roles, performing a sending / receiving role swap operation on the frequency points in the set, reconstructing the frequency point path configuration according to the adjusted sequence, and obtaining a switching sending / receiving frequency band configuration table.

2. The intercom control method with dual-segment duplex cross-segment relay function according to claim 1, characterized in that: The list of marked conflicting frequency band paths includes frequency band identification, cross-period records, and path numbers; the frequency hopping channel scheduling chain includes a time index sequence, frequency usage duration, and scheduling order; the cross-segment transit frequency task structure diagram includes frequency role configuration, path number matching, and frequency difference table; the switching sending and receiving frequency band configuration table includes frequency sequencing relationship, frequency direction status, and configuration order index; the cross-segment dual-segment duplex transit control instruction includes a frequency data group, control attribute classification, and instruction encoding details.

3. The intercom control method of the dual-segment duplex cross-segment relay function according to claim 1, characterized in that: The specific steps of S1 are: S101: Obtain the interference start time, interference frequency value, and path number corresponding to the primary frequency band and backup frequency band used by the relay node during the relay function, filter the interference frequency points of the frequency values, establish a correspondence between the frequency points and the path numbers, and generate a repeated interference frequency point path mapping table; S102: Based on the repeated interference frequency path mapping table, extract the interference time period index of the interference frequency, filter the time intersection time period, mark the intersection time period information corresponding to the frequency, and obtain a frequency intersection interference time period list; S103: Call the frequency point cross-interference time period list, count the number of frequency point repetitions and the number of cross-periods in the path, filter out frequencies whose number of repetitions and cross-numbers exceed the frequency band conflict determination threshold, sort the path numbers and frequency point identification groups, and obtain a list of paths with marked conflicting frequency bands.

4. The intercom control method of the dual-segment duplex cross-segment relay function according to claim 1, characterized in that: The specific steps of S2 are: S201: Based on the list of marked conflicting frequency band paths, extract the time index of each group of transmitting and receiving frequencies in the primary and backup combinations, determine the number of overlaps of the time indexes of the frequency hopping pairs, and select frequency hopping combinations whose number of overlaps does not exceed a set number; Generate frequency hopping index screening results; S202: Based on the frequency hopping index screening result, extract the start and end time indexes of the frequency hopping segments, calculate the average available duration of each segment, combine the durations of all frequency hopping segments, and calculate the ratio of the durations to the number of frequency hopping segments to obtain the time utilization level of the frequency hopping segments and obtain the average available duration of the frequency hopping segments; S203: Call the average available duration value of the frequency hopping segment, extract the frequency hopping segment combination that meets the time interval requirement, rearrange the combined segments in chronological order and merge them to form a frequency hopping path structure, and obtain a frequency hopping channel scheduling chain.

5. The intercom control method of the dual-segment duplex cross-segment relay function according to claim 1, characterized in that: The calculation formula of the average available duration of the frequency hopping segment is specifically: ; in, represents the average available duration of the frequency hopping segment, and n represents the total number of frequency hopping segments. Represents the starting time index of the i-th frequency hopping segment, Represents the end time index of the i-th frequency hopping segment, Represents the frequency interval index difference within the i-th frequency hopping band, Represents the absolute value of the frequency change amplitude within the i-th frequency hopping band.

6. The intercom control method of the dual-segment duplex cross-segment relay function according to claim 1, characterized in that: The specific steps of S3 are: S301: Based on the frequency hopping channel scheduling chain, extract the frequency points that hop continuously and have an occupancy time shorter than the average available time value, mark them as forwarding buffer segments, identify the primary path, backup path, and buffer segment positions corresponding to the frequency hopping segments, match the frequency point numbers with the path segment numbers, organize the attribution information, and generate a frequency point path attribution table; S302: Calling the frequency path attribution table, counting the number of frequencies in the primary path and the backup path respectively, calculating the difference in the number of frequencies in the primary path and the backup path, recording the difference in frequency distribution between the paths, and obtaining the frequency number difference; S303: Based on the frequency point quantity difference, extract the frequency points with path affiliation, classify and mark the positions within the path segment, divide the blocks according to the path affiliation, and obtain a cross-segment transfer frequency point task structure diagram.

7. The intercom control method of the dual-segment duplex cross-segment relay function according to claim 6, characterized in that: The calculation formula for the difference in the number of frequency points between the primary path and the backup path is specifically: ; in, Represents the difference in the number of frequencies between the primary path and the backup path. Represents the frequency number of the i-th frequency in the primary path, represents the frequency number of the jth frequency in the backup path, represents the frequency mapping weight between the i-th frequency in the primary path and the j-th frequency in the backup path, m represents the total number of frequencies in the primary path, and r represents the total number of frequencies in the backup path.

8. The intercom control method with dual-segment duplex cross-segment relay function according to claim 1, characterized in that: The specific steps of S5 are: S501: Based on the switching transmit / receive frequency band configuration table, extract the transmit frequency index, receive frequency index, frequency band attribution segment, and time index segment value, set priority numbers for the transmit frequencies and receive frequency allocation maintenance periods, and generate transmit / receive frequency number groups; S502: Calling the sending and receiving frequency point number group, splicing the frequency point number with the time index, classifying and grouping the frequency points according to their roles, forming a data structure combination corresponding to the frequencies, and generating a frequency point grouping splicing structure; S503: Based on the frequency grouping and splicing structure, a control field is added to each group of data, the data is summarized into a unified format, an instruction structure that can be recognized by the device is established, and a cross-segment dual-segment duplex transfer control instruction is obtained.

9. A walkie-talkie control system with a dual-segment duplex cross-segment relay function, characterized in that: The system is used to implement the intercom control method of the dual-segment duplex cross-segment relay function according to any one of claims 1 to 8, comprising the following steps: The interference frequency band analysis module obtains the interference start time, interference frequency value and path number of the main frequency band and backup frequency band used by the relay node during the execution of the relay function, identifies the interference frequency point in the relay frequency value, extracts the corresponding interference time period index and determines the time period intersection. It counts and records the relay path combinations with repeated frequency values ​​and time periods, marks them as high-interference frequency band relay path combinations, and obtains a list of marked conflicting frequency band paths; The frequency hopping path combination module extracts the time index of each transmitting frequency point and receiving frequency point in the primary and backup combinations based on the list of marked conflicting frequency band paths, compares the corresponding time index overlap rates during the frequency hopping process, selects frequency hopping pairs whose index overlap frequency does not exceed a set number range, calculates the average available duration of the frequency hopping segments, counts and arranges the index combination segments that meet the timing requirements and do not conflict in the continuous frequency hopping sequence, and integrates the continuous frequency hopping combination segments to obtain the frequency hopping channel scheduling chain; The path role construction module is based on the frequency points of each hopping segment in the frequency hopping channel scheduling chain. The frequency points that hop continuously and occupy a time shorter than the average available time value of the hopping segment are marked as forwarding buffer segments. The position relationship between the identified frequencies corresponding to the primary path, the backup path, and the forwarding buffer segments is determined. After matching the frequency point position number with the path number, the transfer role of each frequency point is set. According to the distribution value of the relay frequency point role, the difference in the number of frequencies of the primary path and the backup path is calculated. The path block classification operation is performed on the frequencies with the path attribution mark to obtain the cross-segment transfer frequency point task structure diagram. The bidirectional switching module reads the corresponding direction identifier and frequency hopping index based on the frequency information marked as the forwarding buffer segment in the cross-segment transfer frequency task structure diagram, performs comparison processing on the frequency identifier sequence under the switching direction conditions of the sending segment and the receiving segment, identifies the location where the frequency attribution dislocation and direction switching conflict occur, retrieves the corresponding frequency in the original frequency sequence, performs sending and receiving swapping and rearrangement, and obtains a switching sending and receiving frequency band configuration table; The control instruction output module extracts the sending frequency index, receiving frequency index, frequency band attribution segment and time index segment value based on the switching sending and receiving frequency band configuration table, sets the priority number of the sending frequency for the frequency in each scheduling combination in turn, and allocates the maintenance time period of the corresponding receiving frequency. The frequency value and index number are sequentially spliced, and the spliced ​​results are classified and grouped according to the frequency role and assigned control attribute fields, and a data structure in a format that can be recognized by the device is constructed to obtain a cross-segment dual-segment duplex transit control instruction.

Citation Information

Patent Citations

  • Interphone control method and system with double-segment duplex cross-segment transfer function

    CN119383741A

  • Frequency hopping method and device for multi-hop network

    WO2020199069A1