CN115378533A - Method, device and computer readable storage medium for improving frame synchronization rate - Google Patents
Method, device and computer readable storage medium for improving frame synchronization rate Download PDFInfo
- Publication number
- CN115378533A CN115378533A CN202110553968.7A CN202110553968A CN115378533A CN 115378533 A CN115378533 A CN 115378533A CN 202110553968 A CN202110553968 A CN 202110553968A CN 115378533 A CN115378533 A CN 115378533A
- Authority
- CN
- China
- Prior art keywords
- synchronization
- synchronization code
- code
- codes
- candidate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000001360 synchronised effect Effects 0.000 claims abstract description 97
- 238000004590 computer program Methods 0.000 claims description 13
- 230000000903 blocking effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 15
- 230000006854 communication Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 11
- 230000005540 biological transmission Effects 0.000 description 8
- 230000014509 gene expression Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 238000012216 screening Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 101100501281 Caenorhabditis elegans emb-1 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/062—Synchronisation of signals having the same nominal but fluctuating bit rates, e.g. using buffers
- H04J3/0632—Synchronisation of packets and cells, e.g. transmission of voice via a packet network, circuit emulation service [CES]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The application discloses a method, a device and a computer readable storage medium for improving frame synchronization rate, wherein the method comprises the steps of determining an optimal synchronization code based on a standard synchronization code group; inserting the optimal synchronous code into an F frame of a voice superframe; and sending a data packet to a receiving terminal, wherein the data packet comprises a voice superframe. By the method, the frame synchronization rate can be improved, and voice interruption or blocking can be avoided.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, and a computer-readable storage medium for improving a frame synchronization rate.
Background
The current frame synchronization scheme generally has a frame synchronization passing rate of about 60%, and about 40% of frames are lost, so that voice cannot be received or received voice is discontinuous, while the current synchronization frame optimization can only improve the access success rate when the voice starts, and cannot guarantee the performance of subsequently received voice, and under the condition of weak signals, the frame synchronization passing rate is still very low, and the problem of voice interruption or blockage still exists in the voice transmission process.
Disclosure of Invention
The application provides a method, a device and a computer readable storage medium for improving frame synchronization rate, which can improve the frame synchronization rate and avoid voice interruption or pause.
In order to solve the technical problem, the technical scheme adopted by the application is as follows: a method for improving frame synchronization rate is provided, the method includes determining an optimal synchronization code based on a standard synchronization code group; inserting the optimal synchronous code into an F frame of a voice superframe; and sending a data packet to a receiving terminal, wherein the data packet comprises a voice superframe.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided an apparatus for improving a frame synchronization rate, the apparatus comprising a memory and a processor connected to each other, wherein the memory is used for storing a computer program, and the computer program, when executed by the processor, is used for implementing the above method for improving a frame synchronization rate.
In order to solve the above technical problem, another technical solution adopted by the present application is: there is provided a computer readable storage medium for storing a computer program which, when executed by a processor, is adapted to carry out the above-mentioned method of increasing a frame synchronization rate.
Through the scheme, the beneficial effects of the application are that: firstly, collecting standard synchronous codes to generate a standard synchronous code group; then, the standard synchronization code group is used for selecting an optimal synchronization code with better synchronization performance, and the obtained optimal synchronization code is inserted into a null data area in an F frame of a voice superframe, so that the null data area in the F frame is not wasted, and the utilization rate of the F frame is improved; then sending the data packet containing the voice superframe to a receiving terminal; because the sent voice superframe contains the optimal synchronous code with better synchronization performance, the frame synchronization rate of a communication link can be improved, namely the synchronization passing rate can be improved, and the frame loss rate can be reduced, so that the transmission quality is improved, the user conversation experience is increased, and the problem of voice interruption or blockage during conversation is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
FIG. 1 is a flowchart illustrating an embodiment of a method for increasing a frame synchronization rate according to the present disclosure;
FIG. 2 is a diagram of a standard set of synchronization codes for the embodiment shown in FIG. 1;
FIG. 3 is a diagram illustrating the structure of a burst subframe in the embodiment shown in FIG. 1;
fig. 4 is a schematic diagram of the structure of a superframe;
fig. 5 is a schematic diagram of the structure of the optimized superframe in the embodiment shown in fig. 1;
FIG. 6 is a diagram of the structure of a packet in the embodiment shown in FIG. 1;
FIG. 7 is a flow chart illustrating a method for improving frame synchronization rate according to another embodiment of the present disclosure;
FIG. 8 is a schematic flow chart of step 22 in the embodiment shown in FIG. 7;
FIG. 9 is a schematic flow chart of step 23 in the embodiment shown in FIG. 7;
FIG. 10 (a) is a waveform diagram of a standard synchronization code;
FIG. 10 (b) is a waveform diagram of an optimal synchronization code;
FIG. 11 (a) is a waveform diagram of an autocorrelation result corresponding to a standard synchronization code;
FIG. 11 (b) is a waveform diagram of the autocorrelation result corresponding to the optimal synchronization code;
FIG. 12 is a graph of synchronization rate comparison of an optimal synchronization code to a standard synchronization code;
FIG. 13 is a graph of error-free probability comparison of a single frame of an optimal synchronization code with a standard synchronization code;
FIG. 14 is a block diagram illustrating an embodiment of an apparatus for increasing a frame synchronization rate according to the present disclosure;
FIG. 15 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a method for increasing a frame synchronization rate according to the present disclosure, the method including:
step 11: an optimal synchronization code is determined based on the set of standard synchronization codes.
In the communication system, there exists a standard synchronization code group, which includes at least one standard synchronization code, such as a standard synchronization code group shown in fig. 2, which includes 10 groups of hexadecimal (Hex) and Binary (Binary) expressions of common standard synchronization codes, and as shown in the expression, the Binary expression of each group of standard synchronization codes includes 48 symbols, while a general synchronization code includes only 24 symbols, so that before determining the optimal synchronization code based on the standard synchronization code group, the number of symbol bits of the standard synchronization code is converted into 24, and as an example, the BS source Voice standard synchronization code in the standard synchronization code group is denoted as S, and its Binary expression is as follows:
S={0,1,1,1,0,1,0,1,0,1,0,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1}
the sequence comprises 48 characters, and then the sequence is converted into a decimal system to obtain a new decimal system sequence, which is marked as S, and the expression is as follows:
S*={1,3,1,1,1,1,3,3,3,1,1,3,3,1,3,3,1,3,1,1,3,3,1,3}
the new sequence comprises 24 symbols and has the same sequence number as the synchronous code, so that the optimal synchronous code is selected based on a standard decimal synchronous code group; specifically, in order to improve the frame synchronization rate of the communication link, based on the standard synchronization codes in the standard synchronization code group, an optimal synchronization code with better synchronization performance than that of the quasi-synchronization code is selected, and the optimal synchronization code may be a synchronization code with a smaller side lobe value.
Step 12: and inserting the optimal synchronization code into the F frame of the voice superframe.
When voice communication is performed in communication systems such as a Digital Mobile Radio (DMR) and a Police Digital Trunking (PDT), a transmitting terminal transmits voice information to a receiving terminal by using a superframe as a transmission unit, and the transmitting terminal or the receiving terminal may be a receiver or a Mobile phone or other devices supporting voice communication.
Furthermore, a voice superframe comprises 6 burst subframes which are respectively marked by letters A to F and occupy 360ms, and the frame structure of each burst subframe is shown in figure 3 and comprises two 108-bit load information areas and a 48-bit data area positioned between the two load information areas; specifically, the load information region of each burst subframe contains voice load information (voice load) for carrying content information of voice communication, and the data region of each burst subframe is different from the content contained in the load information region and may contain information related to the voice load information, such as synchronization signaling or embedded signaling; specifically, as shown in fig. 4, a frame a is a start frame of a voice superframe, a data area of the frame a includes frame synchronization information (SYNC), data areas in frames B to E can respectively carry embedded information emb1 to emb4 for link control, and a frame F stores corresponding information in the data area except for channel inversion and encryption, and the data area of the frame F is a null data area (null) in general, and only a frame a in one superframe has frame synchronization information, and after determining an optimal synchronization code, the obtained optimal synchronization code is inserted into the null data area in the frame F of the voice superframe, so as to improve a frame synchronization rate, and simultaneously, an originally idle area of the frame F is not wasted, and the voice superframe after inserting the optimal synchronization code can be denoted as fig. 5, where the optimal synchronization code is denoted as new SYNC.
Step 13: and sending the data packet to a receiving terminal.
After inserting the optimal synchronization code into the F frame in the voice superframe, sending the data packet containing the voice superframe to the receiving terminal, specifically, in the DMR system, the transmitting terminal sends the data packet to the receiving terminal in a half-duplex manner, that is, the data packet is divided into two time slots, as shown in fig. 6, the transmitting terminal can send a signal in the first time slot in the current transmission link, and receive a signal in the second time slot or be in an idle state, the transmitting terminal can send voice information, that is, a voice header (Hdr) and a-F frames in the drawing, the F frame contains the optimal synchronization code, the transmitting terminal can send the voice information to the receiving terminal, and then can receive information returned by the receiving terminal in the second time slot. Further, the three Hdr transmitted by the transmitting terminal before the voice superframe is transmitted contain information such as a source address, a destination address or a call type, so that the receiving terminal can receive the call of the transmitting terminal according to the information and can return the information to the transmitting terminal.
In this embodiment, the standard synchronization codes are collected first to generate a standard synchronization code group; then, the standard synchronization code group is utilized to select an optimal synchronization code with better synchronization performance, and the obtained optimal synchronization code is inserted into a null data area in an F frame of a voice superframe, so that the null data area in the F frame is not wasted, and the utilization rate of the F frame is improved; then sending the data packet containing the voice superframe to a receiving terminal; because the sent voice superframe contains the optimal synchronous code with better synchronization performance, the frame synchronization rate of a communication link can be improved, and the frame loss rate can be reduced, so that the transmission quality is improved, the user experience is increased, and the problem of voice interruption or blockage during conversation is avoided.
Referring to fig. 7, fig. 7 is a schematic flowchart illustrating another embodiment of a method for increasing a frame synchronization rate according to the present application, the method including:
step 21: a predetermined synchronization code table is established in advance.
A predetermined synchronization code table is pre-established, the predetermined synchronization code table includes a plurality of synchronization codes, the synchronization codes have 24 symbols, and the number of the synchronization codes can have 2 24 And in the range of the synchronous codes, eliminating the synchronous codes corresponding to all the standard synchronous codes in the standard synchronous code group, and adding the residual synchronous codes into a preset synchronous code table to establish a preset synchronous code table, so as to select the optimal synchronous code from the plurality of synchronous codes based on the plurality of synchronous codes and at least one standard synchronous code in the preset synchronous code table, wherein the specific scheme is shown in the step 22 to the step 23.
Step 22: and selecting the synchronous codes with the symbol difference value exceeding a preset difference threshold from the preset synchronous code table as candidate synchronous codes.
After the preset synchronization code table is established, comparing each synchronization code in the preset synchronization code table with each standard synchronization code, calculating a symbol difference value between each synchronization code and the standard synchronization code, and then according to a calculation result, taking the synchronization code of which the symbol difference value with each standard synchronization code exceeds a preset difference threshold as a candidate synchronization code, wherein the specific scheme is shown in fig. 8 and comprises the following steps:
step 221: and sequentially selecting one synchronization code from a preset synchronization code table as the current preamble.
After the preset synchronous code table is established, one synchronous code is selected from the preset synchronous code table in sequence according to the arrangement sequence of the synchronous codes in the preset synchronous code table to serve as a current preamble, and then the current preamble is respectively compared with a standard synchronous code until each synchronous code in the preset synchronous code table is compared with the standard synchronous code; it can be understood that the sequence of selecting the current preamble from the preset synchronization code table may also be randomly selected according to a certain rule, and the specific selection rule may be set according to the actual situation.
Step 222: and judging whether the symbol difference value between the preamble and the standard synchronous code exceeds a preset difference threshold or not.
In the transmission process, the selected optimal synchronization code is prevented from being identified as the standard synchronization code in the communication process, so that the synchronization code with a larger symbol difference from the standard synchronization code is screened from the preset synchronization code group, specifically, the symbol difference value between the preamble and each standard synchronization code in the standard synchronization code group can be calculated, then, whether the symbol difference value exceeds a preset difference threshold is judged, whether the difference between the preamble and the standard synchronization code is large enough is judged, the preset difference threshold can be set to be more than 6 or 6, the specific value of the preset difference threshold can be selected according to the fault tolerance number and the actual condition, the fault tolerance number is the number of symbol differences allowed when the synchronization code to be identified is identified as the target synchronization code, the fault tolerance number is generally 5, namely, when the symbol difference value between the synchronization code to be identified and the standard synchronization code is within 5, the synchronization code to be identified is determined as the standard synchronization code, and therefore, in order to identify the optimal synchronization code from the standard synchronization code, the preset difference threshold is generally set to be larger than the fault tolerance number.
Further, when the preamble includes a plurality of first symbol values, the standard synchronization code includes a plurality of second symbol values, and the symbol difference value is a number of different symbol values obtained by comparing the first symbol values with the second symbol values on a bit-by-bit basis.
Taking as an example when the preamble is {1,3,1,1,1,3,3,3,1,1,3,3,1,3,3,1,3,1,1,3,3,3,1,3 } and the standard synchronization code is {3,3,3,3,3,1,1,3,3,1,1,1,1,3,1,3,1,3,1,3,1,3,1,1,3,1,3 }, it can be seen that when the preamble contains 24 first symbol values, the normal synchronization code contains 24 second symbol values; comparing a first symbol value and a second symbol value corresponding to the first bit to the 24 th bit in the preamble and the standard synchronization code in order according to the bit, counting the number of the first symbol value different from the second symbol value to obtain a symbol difference value of the preamble and the standard synchronization code, wherein the number of the symbol difference values is 12 in the example, after the symbol difference value is calculated, comparing the symbol difference value with a preset difference threshold, and judging whether the symbol difference value between the preamble and the standard synchronization code exceeds the preset difference threshold.
Step 223: and if the symbol difference value between the preamble and the standard synchronous code exceeds a preset difference threshold, taking the preamble as a candidate synchronous code.
If the symbol difference value between the preamble and any one of the standard synchronization codes in the standard synchronization code group exceeds the preset difference threshold, the preamble is used as a candidate synchronization code, and then the symbol difference value between the next synchronization code of the preamble and the standard synchronization code group in the preset synchronization code table is judged.
It is understood that there may be a plurality of synchronization codes satisfying that the symbol difference value with any one standard synchronization code exceeds the preset difference threshold, that is, there may be a plurality of candidate synchronization codes screened from the preset synchronization code table to satisfy the condition.
If the symbol difference value between the preamble and each standard synchronous code in the standard synchronous code group does not exceed the preset difference threshold, the preamble is not selected as a candidate synchronous code, the next synchronous code in the preset synchronous code table is directly judged, namely, the next synchronous code in the preset synchronous code table is taken as the current preamble, whether the symbol difference value between the current preamble and the standard synchronous code exceeds the preset difference threshold is judged until the preset synchronous code table is traversed, all synchronous codes in the preset synchronous code table are screened, and all candidate synchronous codes are obtained.
Step 23: and selecting one candidate synchronization code from the candidate synchronization codes as the optimal synchronization code based on the candidate synchronization codes and a preset maximum sidelobe threshold.
Comparing symbol difference values in a preset synchronous code table, screening out candidate synchronous codes, and selecting an optimal synchronous code from the candidate synchronous codes; specifically, according to the characteristics of the synchronization performance and the side lobe size of the synchronization signal, the smaller the side lobe of the synchronization code is, the better the synchronization performance thereof is, so that a candidate synchronization code with a small side lobe value (i.e., good synchronization performance) is selected from the candidate synchronization codes as the optimal synchronization code, and the specific scheme is as shown in fig. 9, and includes the following steps:
step 231: an autocorrelation coefficient sequence is calculated for each candidate synchronization code.
Using candidate sync code 1,3,1,1,1,1,3,3,3,1,1,3,3,1,3,3,1,3,1,1,3,1,3,3,1,3 } for example, it contains 24 symbols, the symbols 1,3 represent the corresponding frequency deviation is +3, -3; in order to simplify the calculation of the subsequent autocorrelation coefficient sequence, the original candidate synchronization code is first converted into a new sequence containing 47 symbols, specifically, the frequency offsets +3, -3 are correspondingly replaced by symbols 1, -1, that is, the symbol 3 of the candidate synchronization code is replaced by the symbol-1, and then 23 0 s are added to the tail of the replaced sequence, so as to form a new sequence, which is denoted as X [1:
X[1:47]={1,-1,1,1,1,1,-1,-1,-1,1,1,-1,-1,1,-1,-1,1,-1,1,1,-1,-1,1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}
after obtaining the new sequence X [1 ]:
wherein n =1,2,3, \ 8230;, 24.
Substituting the new sequence X [1 ]:
R(n)={24,-3,-6,3,-4,-1,6,-3,-2,5,-2,-3,-4,3,2,-1,2,-1,-2,1,0,-3,2,-1}
as can be seen from the above equation, the autocorrelation coefficient sequence includes a plurality of autocorrelation coefficients.
Step 232: and taking the autocorrelation coefficient with the second largest absolute value in the autocorrelation coefficient sequence as the maximum side lobe value.
Continuing with the example of candidate synchronization codes {1,3,1,1,1,3,3,3,1,1,3,3,3,1,3,3,1,3,1,1,3,3,1,3 }, the calculated autocorrelation coefficient series are:
R(n)={24,-3,-6,3,-4,-1,6,-3,-2,5,-2,-3,-4,3,2,-1,2,-1,-2,1,0,-3,2,-1}。
wherein, R (1) is a main lobe, the autocorrelation coefficient of the main lobe is 24, R (2) to R (24) are side lobes, the maximum side lobe value of the candidate synchronous code is the maximum value of the absolute values of all the side lobes, and the autocorrelation coefficient with the second largest absolute value in the autocorrelation coefficient sequence R (n) is taken as the maximum side lobe value of the candidate synchronous code, namely the maximum side lobe value of the candidate synchronous code is 6.
Step 233: and judging whether the maximum sidelobe value of the candidate synchronous code is smaller than a preset maximum sidelobe threshold value or not.
After the maximum side lobe value of each candidate synchronous code is obtained through calculation, the magnitude relation between the maximum side lobe value of each candidate synchronous code and a preset maximum side lobe value is sequentially compared, whether the maximum side lobe value is smaller than the preset maximum side lobe value or not is judged, and therefore the synchronization performance of each candidate synchronous code is judged according to the comparison result; specifically, the preset maximum sidelobe value may be set to 5, that is, it is determined whether the maximum sidelobe value of each candidate synchronization code is less than 5.
Step 234: if the maximum sidelobe value of the candidate synchronous codes is smaller than the preset maximum sidelobe threshold value, recording the candidate synchronous codes as the synchronous codes to be selected, and judging whether the number of the synchronous codes to be selected is larger than the preset number.
If the maximum sidelobe value of the candidate synchronous code is smaller than the preset maximum sidelobe value, the maximum sidelobe value of the candidate synchronous code is smaller, the synchronization performance is higher, and the candidate synchronous code is recorded as the synchronous code to be selected.
It can be understood that there may be a plurality of candidate synchronization codes, when a synchronization code to be selected is selected from the plurality of candidate synchronization codes, each candidate synchronization code may be sequentially compared with a preset maximum side lobe value according to a certain rule to obtain at least one synchronization code to be selected, then it is determined whether the number of the obtained synchronization codes to be selected is greater than a preset number, and an optimal synchronization code is selected according to the number of the synchronization codes to be selected, where the preset number may be 1, that is, it is determined whether the number of the synchronization codes to be selected is greater than 1.
Step 235: and if the number of the synchronization codes to be selected is not more than the preset number, taking the synchronization codes to be selected as the optimal synchronization codes.
And if the number of the screened to-be-selected synchronous codes is 1, directly selecting the to-be-selected synchronous codes as the optimal synchronous codes.
Step 236: and if the number of the synchronization codes to be selected is larger than the preset number, selecting the synchronization code to be selected with the minimum maximum sidelobe value in all the synchronization codes to be selected as the optimal synchronization code.
If the number of the synchronization codes to be selected is more than one, that is, the number of the synchronization codes to be selected is 2,3 or more than 3, the synchronization code to be selected with the minimum maximum side lobe value is selected from all the synchronization codes to be selected as the optimal synchronization code, that is, the synchronization code to be selected with the best synchronization performance is selected as the optimal synchronization code.
In another specific embodiment, when the optimal synchronization code is selected from the multiple synchronization codes based on the multiple synchronization codes and at least one standard synchronization code, the side lobe value may be used for screening first, and then the symbol difference value is used for screening, that is, the synchronization code smaller than the preset maximum side lobe threshold value is selected from the preset synchronization code table as the candidate synchronization code, and then the candidate synchronization code with the maximum symbol difference value between the candidate synchronization code and each standard synchronization code is selected from all the candidate synchronization codes as the optimal synchronization code.
Step 24: and inserting the optimal synchronization code into the F frame of the voice superframe.
After the optimal synchronization code is obtained through calculation, the optimal synchronization code is inserted into a 48-bit empty data area in an F frame of a voice superframe.
Step 25: and sending the data packet to a receiving terminal.
<xnotran> , , 6 {1,3,1,1,1,1,3,3,3,1,1,3,3,1,3,3,1,3,1,1,3,3,1,3} , 10 (a) , : </xnotran>
{3,3,3,3,3,1,1,1,3,3,1,1,1,3,1,3,1,3,1,1,3,1,1,3}
The maximum side lobe value of the optimal synchronization code is 1, and the symbol difference values from the 10 sets of standard synchronization codes are all 9 or more, and the waveform diagram of the optimal synchronization code is shown in fig. 10 (b).
Further, in order to visually compare the synchronization performance of the optimal synchronization code and the standard synchronization code through the oscillogram, after the optimal synchronization code and the standard synchronization code are subjected to 5 times of upsampling to obtain root raised cosine waves, autocorrelation coefficient operations are respectively performed on the optimal synchronization code and the standard synchronization code, so that the oscillograms shown in fig. 11 (a) and 11 (b) are respectively obtained; the waveform diagram is compared to obtain that the waveform autocorrelation main lobe peak value threshold of the optimal synchronous code is 6056, and the correlation side lobe value is-1319-533; the peak threshold of the waveform autocorrelation main lobe of the standard synchronous code is 5938, and the correlation side lobe value is-2541-1495, namely the peak threshold of the waveform autocorrelation main lobe of the optimal synchronous code is higher than the peak threshold of the waveform autocorrelation main lobe of the standard synchronous code, and the autocorrelation side lobe value is more convergent than the autocorrelation side lobe value of the standard synchronous code, which shows that the synchronization performance of the optimal synchronous code is better, compared with the standard synchronous code, the optimal synchronous code can be distinguished from the non-synchronous signal, and a lower peak threshold can be set to obtain the synchronization passing rate under a lower signal-to-noise ratio.
Fig. 12 shows a comparison of the synchronization passing rates of the standard synchronization code and the optimal synchronization code, and it can be known from fig. 12 that when the synchronization passing rate is 0.85, the signal strength corresponding to the standard synchronization code is-120.5 dbm, the signal strength corresponding to the optimal synchronization code is-123 dbm, which is 2.5dB higher than the standard synchronization code, and the following results can be obtained by performing statistics: when the synchronization passing rates are the same, the signal intensity corresponding to the optimal synchronization code is improved by 2dB on average compared with the signal intensity corresponding to the standard synchronization code, namely the optimal synchronization code can receive a signal with smaller signal intensity when the synchronization passing rates are the same, and the synchronization passing rate when the signal intensity is smaller is higher than that of the standard synchronization code; as shown in fig. 13, the error-free probability ratio of the single frame between the standard synchronization code and the optimal synchronization code is shown in fig. 13, and it can be known from fig. 13 that when the error-free probabilities of the single frames are equal, the signal strength value corresponding to the optimal synchronization code is improved by 0.5-0.7 dB on average compared with the signal strength value corresponding to the standard synchronization code.
In summary, compared with the standard synchronization code, the optimal synchronization code calculated in this embodiment has better synchronization performance, higher synchronization throughput, higher error-free rate of a single frame, and better accuracy during synchronization, so that the bit error rate of the position of the recovered optimal sampling point is smaller, and better sound quality effect and communication distance are achieved during voice reception.
In the embodiment, a candidate synchronization code with a larger symbol difference with a current preamble is screened out by calculating the symbol difference value between the current preamble and each standard synchronization code in a preset synchronization code table and comparing the symbol difference value with a preset difference threshold; selecting the candidate synchronous code with the minimum side lobe value as the optimal synchronous code; because the optimal synchronous code is selected through the side lobe value and the symbol difference value, the selected optimal synchronous code has higher synchronous passing rate and has larger difference with the standard synchronous code, and can be distinguished from the asynchronous signal in the transmission process, the frame synchronization passing rate is further improved, the synchronization performance is optimized, the transmission quality is improved, meanwhile, the receiving terminal can also obtain better optimal sampling point precision through the optimal synchronous code, so that better tone quality effect and longer communication distance are obtained under the low signal-to-noise ratio.
Referring to fig. 14, fig. 14 is a schematic structural diagram of an embodiment of the apparatus for increasing a frame synchronization rate according to the present application, in which the apparatus 140 for increasing a frame synchronization rate includes a memory 141 and a processor 142 connected to each other, the memory 141 is used for storing a computer program, and the computer program is used for implementing the method for increasing a frame synchronization rate in the above embodiment when the computer program is executed by the processor 142.
Referring to fig. 15, fig. 15 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application, where the computer-readable storage medium 150 is used to store a computer program 151, and when the computer program 151 is executed by a processor, the computer program 151 is used to implement the method for improving the frame synchronization rate in the foregoing embodiment.
The computer readable storage medium 150 may be a server, a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules or units is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each of the units may exist alone physically, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.
Claims (10)
1. A method for increasing a frame synchronization rate, comprising:
determining an optimal synchronization code based on the standard synchronization code group;
inserting the optimal synchronization code into an F frame of a voice superframe;
and sending a data packet to a receiving terminal, wherein the data packet comprises the voice superframe.
2. The method for improving frame synchronization rate of claim 1, wherein the standard synchronization code group comprises at least one standard synchronization code, and the step of determining the optimal synchronization code based on the standard synchronization code group comprises:
the method comprises the steps of establishing a preset synchronous code table in advance, wherein the preset synchronous code table comprises a plurality of synchronous codes;
selecting the optimal synchronization code from the plurality of synchronization codes based on the plurality of synchronization codes and the at least one standard synchronization code.
3. The method of claim 2, wherein the step of selecting the optimal synchronization code from the plurality of synchronization codes based on the plurality of synchronization codes and the at least one standard synchronization code comprises:
selecting a synchronization code with a symbol difference value between the synchronization code and each standard synchronization code exceeding a preset difference threshold from the preset synchronization code table as a candidate synchronization code;
and selecting one candidate synchronization code from the candidate synchronization codes as the optimal synchronization code based on the candidate synchronization codes and a preset maximum side lobe threshold.
4. The method of claim 3, wherein the step of selecting the synchronization codes with the symbol difference value exceeding a preset difference threshold from each of the standard synchronization codes in the preset synchronization code table as the candidate synchronization codes comprises:
sequentially selecting a synchronous code from the preset synchronous code table as a current preamble;
judging whether the symbol difference value between the current preamble and the standard synchronous code exceeds the preset difference threshold or not;
if yes, the current preamble is used as the candidate synchronization code.
5. The method for improving frame synchronization rate according to claim 4,
the current preamble includes a plurality of first symbol values, the standard synchronization code includes a plurality of second symbol values, and the symbol difference value is a number of different symbol values obtained by comparing the first symbol value and the second symbol value in bits.
6. The method of claim 3, wherein the step of selecting one of the candidate synchronization codes as the optimal synchronization code based on the candidate synchronization codes and a preset maximum sidelobe threshold comprises:
calculating an autocorrelation coefficient sequence of each of the candidate synchronization codes, wherein the autocorrelation coefficient sequence comprises a plurality of autocorrelation coefficients;
taking the autocorrelation coefficient with the second largest absolute value in the autocorrelation coefficient sequence as the maximum side lobe value;
judging whether the maximum sidelobe value of the candidate synchronous code is smaller than the preset maximum sidelobe threshold value or not;
if yes, recording the candidate synchronous codes as synchronous codes to be selected, and selecting the optimal synchronous codes based on the number of the synchronous codes to be selected.
7. The method as claimed in claim 6, wherein the step of recording the candidate synchronization codes as candidate synchronization codes and selecting the optimal synchronization code based on the number of the candidate synchronization codes comprises:
judging whether the number of the synchronization codes to be selected is larger than a preset number or not;
if not, taking the synchronization code to be selected as the optimal synchronization code;
and if so, selecting the synchronization code to be selected with the minimum maximum side lobe value in all the synchronization codes to be selected as the optimal synchronization code.
8. The method of claim 2, wherein the step of selecting the optimal synchronization code from the plurality of synchronization codes based on the plurality of synchronization codes and the at least one standard synchronization code comprises:
selecting a synchronization code smaller than a preset maximum side lobe threshold value from the preset synchronization code table as a candidate synchronization code;
and selecting the candidate synchronization code with the maximum symbol difference value with each standard synchronization code from all the candidate synchronization codes as the optimal synchronization code.
9. An apparatus for increasing a frame synchronization rate, comprising a memory and a processor connected to each other, wherein the memory is used for storing a computer program, and the computer program, when executed by the processor, is used for implementing the method for increasing a frame synchronization rate according to any one of claims 1 to 8.
10. A computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, is configured to implement the method for increasing a frame synchronization rate according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110553968.7A CN115378533B (en) | 2021-05-20 | 2021-05-20 | Method, device and computer readable storage medium for improving frame synchronization rate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110553968.7A CN115378533B (en) | 2021-05-20 | 2021-05-20 | Method, device and computer readable storage medium for improving frame synchronization rate |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115378533A true CN115378533A (en) | 2022-11-22 |
CN115378533B CN115378533B (en) | 2024-10-15 |
Family
ID=84059723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110553968.7A Active CN115378533B (en) | 2021-05-20 | 2021-05-20 | Method, device and computer readable storage medium for improving frame synchronization rate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115378533B (en) |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000188755A (en) * | 1995-10-25 | 2000-07-04 | Matsushita Electric Ind Co Ltd | Method for coding/decoding moving picture signal and coder/decoder |
CN1284221A (en) * | 1997-12-10 | 2001-02-14 | L-3通讯公司 | S-CDMA fixed wireless loop system employing subscriber unit-radio base unit super-frame alignment |
CN1372390A (en) * | 2001-02-07 | 2002-10-02 | 皇家菲利浦电子有限公司 | Telecommunication system, method and signal for time slot coding data transmission |
CN101026681A (en) * | 2006-02-17 | 2007-08-29 | 联咏科技股份有限公司 | Interlaced scanning image signal frequency multiplication method and device |
CN101095298A (en) * | 2004-08-16 | 2007-12-26 | 中兴通讯圣迭戈有限公司 | Fast cell search and accurate synchronization in wireless communications |
JP2008035132A (en) * | 2006-07-27 | 2008-02-14 | Kenwood Corp | Frequency control system, repeater device, and wireless communication device |
CN101174885A (en) * | 2006-11-02 | 2008-05-07 | 中兴通讯股份有限公司 | Accidental access device of Time Division-Synchronous Code Division Multiple Access system |
CN101179372A (en) * | 2006-11-07 | 2008-05-14 | 深圳市好易通科技有限公司 | Link frame synchronization system and method of digital communication system |
WO2008089399A1 (en) * | 2007-01-21 | 2008-07-24 | Motorola, Inc. | Method and device for selectively transmitting voice bursts and regenerated header bursts |
CN102800316A (en) * | 2012-08-30 | 2012-11-28 | 重庆大学 | Optimal codebook design method for voiceprint recognition system based on nerve network |
CN102820942A (en) * | 2012-08-17 | 2012-12-12 | 广州海格天立通信息技术有限公司 | Frame synchronization method based on burst frames of TDMA (Time Division Multiple Access) system |
CN102843206A (en) * | 2012-08-17 | 2012-12-26 | 广州海格天立通信息技术有限公司 | Voice transmission method based on channel associated signaling |
CN103634878A (en) * | 2013-12-11 | 2014-03-12 | 海能达通信股份有限公司 | Communication method and communication terminal based on time-division multi-address communication system |
CN105592077A (en) * | 2011-05-19 | 2016-05-18 | 福建联拓科技有限公司 | Voice transmission method |
CN105635721A (en) * | 2015-12-29 | 2016-06-01 | 深圳Tcl数字技术有限公司 | Display terminal three-dimensional crosstalk elimination method and display terminal |
CN106301659A (en) * | 2015-06-05 | 2017-01-04 | 华东师范大学 | A kind of magnetic resonance multi-channel digital transmission system and data transmission method thereof |
CN109660309A (en) * | 2018-12-26 | 2019-04-19 | 中国人民解放军63921部队 | The method apart from speed clock deviation frequency difference is measured using two-way communication transmission frame swynchronization code |
CN110838889A (en) * | 2018-08-16 | 2020-02-25 | 海能达通信股份有限公司 | Encoding method, decoding method, transmitting terminal and receiving terminal |
CN111314867A (en) * | 2019-05-13 | 2020-06-19 | 展讯通信(上海)有限公司 | Voice transmission and receiving method and device of DMR system, storage medium and terminal |
-
2021
- 2021-05-20 CN CN202110553968.7A patent/CN115378533B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000188755A (en) * | 1995-10-25 | 2000-07-04 | Matsushita Electric Ind Co Ltd | Method for coding/decoding moving picture signal and coder/decoder |
CN1284221A (en) * | 1997-12-10 | 2001-02-14 | L-3通讯公司 | S-CDMA fixed wireless loop system employing subscriber unit-radio base unit super-frame alignment |
CN1372390A (en) * | 2001-02-07 | 2002-10-02 | 皇家菲利浦电子有限公司 | Telecommunication system, method and signal for time slot coding data transmission |
CN101095298A (en) * | 2004-08-16 | 2007-12-26 | 中兴通讯圣迭戈有限公司 | Fast cell search and accurate synchronization in wireless communications |
CN101026681A (en) * | 2006-02-17 | 2007-08-29 | 联咏科技股份有限公司 | Interlaced scanning image signal frequency multiplication method and device |
JP2008035132A (en) * | 2006-07-27 | 2008-02-14 | Kenwood Corp | Frequency control system, repeater device, and wireless communication device |
CN101174885A (en) * | 2006-11-02 | 2008-05-07 | 中兴通讯股份有限公司 | Accidental access device of Time Division-Synchronous Code Division Multiple Access system |
CN101179372A (en) * | 2006-11-07 | 2008-05-14 | 深圳市好易通科技有限公司 | Link frame synchronization system and method of digital communication system |
WO2008089399A1 (en) * | 2007-01-21 | 2008-07-24 | Motorola, Inc. | Method and device for selectively transmitting voice bursts and regenerated header bursts |
CN105592077A (en) * | 2011-05-19 | 2016-05-18 | 福建联拓科技有限公司 | Voice transmission method |
CN102820942A (en) * | 2012-08-17 | 2012-12-12 | 广州海格天立通信息技术有限公司 | Frame synchronization method based on burst frames of TDMA (Time Division Multiple Access) system |
CN102843206A (en) * | 2012-08-17 | 2012-12-26 | 广州海格天立通信息技术有限公司 | Voice transmission method based on channel associated signaling |
CN102800316A (en) * | 2012-08-30 | 2012-11-28 | 重庆大学 | Optimal codebook design method for voiceprint recognition system based on nerve network |
CN103634878A (en) * | 2013-12-11 | 2014-03-12 | 海能达通信股份有限公司 | Communication method and communication terminal based on time-division multi-address communication system |
CN106301659A (en) * | 2015-06-05 | 2017-01-04 | 华东师范大学 | A kind of magnetic resonance multi-channel digital transmission system and data transmission method thereof |
CN105635721A (en) * | 2015-12-29 | 2016-06-01 | 深圳Tcl数字技术有限公司 | Display terminal three-dimensional crosstalk elimination method and display terminal |
CN110838889A (en) * | 2018-08-16 | 2020-02-25 | 海能达通信股份有限公司 | Encoding method, decoding method, transmitting terminal and receiving terminal |
CN109660309A (en) * | 2018-12-26 | 2019-04-19 | 中国人民解放军63921部队 | The method apart from speed clock deviation frequency difference is measured using two-way communication transmission frame swynchronization code |
CN111314867A (en) * | 2019-05-13 | 2020-06-19 | 展讯通信(上海)有限公司 | Voice transmission and receiving method and device of DMR system, storage medium and terminal |
Non-Patent Citations (6)
Title |
---|
ANDREAS F. MOLISCH: "GSM Global System for Mobile Communications", 《WILEY-IEEE PRESS》, 31 December 2011 (2011-12-31) * |
业余无线电: "DMR对讲机数字协议详解", 《HTTPS://BAIJIAHAO.BAIDU.COM/S?ID=1658689415091924053&WFR=SPIDER&FOR=PC》, 16 February 2020 (2020-02-16) * |
窦建华;凌小星;: "基于DMR协议的信道编译码研究", 计算机工程与设计, no. 02, 16 February 2014 (2014-02-16) * |
耿立中: "RS485高速数据传输协议的设计与实现", 《清华大学学报(自然科学版)》, 31 August 2008 (2008-08-31) * |
陈自力: "一种语音信号处理方法和装置及系统研究", 《福建电脑》, 30 April 2020 (2020-04-30) * |
陈自力;陈源福;林英狮;: "一种语音信号处理方法和装置及系统研究", 福建电脑, no. 04, 25 April 2020 (2020-04-25) * |
Also Published As
Publication number | Publication date |
---|---|
CN115378533B (en) | 2024-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1832467B (en) | OFDM transmission/reception apparatus and method, communication terminal apparatus, base station apparatus | |
RU2385535C2 (en) | Transmission of data with efficient formats of time interval and unit in system of wireless communication | |
EP1366584B1 (en) | Method for time slot synchronization | |
US8935160B2 (en) | Systems and methods for frame synchronization | |
US20160013833A1 (en) | Method and apparatus for frequency assignment in a frequency hopping mode of a wireless communication system | |
CN107409432B (en) | Data transmission method, receiving end equipment and sending end equipment | |
WO2020164495A1 (en) | RS For PUSCH Repetitions | |
KR20070114222A (en) | Detection of signal modulation format type | |
US7450593B2 (en) | Clock difference compensation for a network | |
US8824428B2 (en) | Method for resolving data conflicts and mobile terminal | |
RU2406231C2 (en) | Mobile wireless communication device, wireless communication device and method of processing data from communication channels | |
WO2008026062A2 (en) | Method, device, system and software product for soft value scaling with receivers in an unsynchronized network | |
JP2003512639A (en) | Method and system for robust frame type protection in systems employing variable bit rate | |
US12047998B2 (en) | Two-protocol transmission method, reception method and corresponding devices and signal | |
JP2001292484A (en) | Collision recovery signal processing unit used with multiple access communication channel | |
CN115378533B (en) | Method, device and computer readable storage medium for improving frame synchronization rate | |
CN116582225B (en) | Method, device and storage medium for determining validity of discontinuous transmission signal | |
US5539783A (en) | Non-coherent synchronization signal detector | |
US20030099314A1 (en) | Boundary detection using multiple correlations | |
JP2002261726A (en) | Ofdm signal transmitter-receiver | |
US20240089149A1 (en) | First and second communication devices and methods | |
WO2024012170A1 (en) | Psfch signal detection method and device, storage medium, and electronic device | |
CN116233992A (en) | Digital automatic gain control method, digital automatic gain control device, electronic equipment and storage medium | |
WO2004019514A1 (en) | Data reception device and data reception method | |
US20240146596A1 (en) | Flow optimization method for non-real-time decoding systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |