CN113543303B - Synchronization method, synchronization device, chip and module equipment - Google Patents
Synchronization method, synchronization device, chip and module equipment Download PDFInfo
- Publication number
- CN113543303B CN113543303B CN202110739440.9A CN202110739440A CN113543303B CN 113543303 B CN113543303 B CN 113543303B CN 202110739440 A CN202110739440 A CN 202110739440A CN 113543303 B CN113543303 B CN 113543303B
- Authority
- CN
- China
- Prior art keywords
- value
- synchronization
- synchronous
- estimation value
- counter
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/336—Signal-to-interference ratio [SIR] or carrier-to-interference ratio [CIR]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/391—Modelling the propagation channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/003—Arrangements to increase tolerance to errors in transmission or reception timing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/0035—Synchronisation arrangements detecting errors in frequency or phase
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application discloses a synchronization method, a synchronization device, a chip and module equipment, wherein the method comprises the following steps: determining a weighting factor according to one or more of an error range of a synchronization algorithm, a current channel environment type and a bit error rate variation; determining a first synchronization adjustment value according to a first synchronization estimation value obtained by the synchronization algorithm and the weighting factor; and performing synchronization based on the first synchronization adjustment value. The method described by the application is beneficial to enabling the terminal equipment to be more accurately synchronized with the network equipment.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a synchronization method, apparatus, chip, and module device.
Background
In a communication system, if normal communication needs to be realized between communication devices, it is necessary to ensure time synchronization between the two communication parties, that is, a receiver needs to receive data according to the starting and ending time of sending an information unit by a sender, so as to accurately receive the data sent by the sender. However, in the actual communication process, various factors such as interference, noise, and difference in clock accuracy between two communication parties cause deviation of time synchronization between the two communication parties. Therefore, in the mobile communication system, timing synchronization adjustment needs to be performed at the receiving end; to ensure that the receiver is synchronized in time with the sender. In addition to the timing synchronization estimation described above, the synchronization estimation algorithm can also be used for frequency synchronization estimation.
In general, the aim of studying synchronization estimation algorithms is to improve the accuracy of synchronization estimation and reduce error values, but the accuracy of synchronization estimation is easily affected by the channel environment. In the face of complex channel environment, if the synchronization estimation value calculated by the synchronization algorithm is directly used for the synchronization estimation of the system, estimation errors are easily introduced into the system, and adverse effects are caused. In order to solve the problem, a synchronization estimation value obtained by a synchronization algorithm may be gradually introduced into the system, and the conventional method is to divide the currently estimated synchronization estimation value by a weighting factor, and then add the previously determined synchronization adjustment value, that is, the synchronization adjustment value determined this time, if the weighting factor is assumed to be 5, if the first synchronization estimation value is determined by the first synchronization estimation algorithm to be 100, the first synchronization adjustment value is determined to be 20, and if the second synchronization estimation value is determined by the second synchronization estimation algorithm to be 100, the second synchronization adjustment value is determined to be 40, that is, the second synchronization estimation value 100 is divided by the weighting factor 5, and then add the first synchronization adjustment value 20, and as the number of times of synchronization estimation is greater, the determined synchronization adjustment value approaches to the actual time offset or frequency offset.
The weighting factors can reduce the negative effect of the error on the system, but correspondingly, the sensitivity of the system to the synchronization variation caused by the normal variation of the channel environment is reduced due to the influence of the weighting factors. If the weighting factor is selected too large, when the synchronization estimation value is large, the accurate synchronization adjustment value can be determined only by adjusting for many times, and the mode possibly causes long locking time, thereby affecting the performance of the system in the time; if the selection is too small, the effect of protecting the estimation error is reduced. How to determine an appropriate weighting factor is an urgent problem to be solved.
Disclosure of Invention
The application provides a synchronization method, a synchronization device, a chip and module equipment, which are beneficial to enabling terminal equipment to be capable of accurately synchronizing with network equipment.
In a first aspect, the present application provides a synchronization method, including: determining a weighting factor according to one or more items of an error range, a current channel environment type and a bit error rate variable quantity of a synchronization algorithm; determining a first synchronization adjustment value according to a first synchronization estimation value obtained by the synchronization algorithm and the weighting factor; and performing synchronization based on the first synchronization adjustment value. Based on the method, the terminal equipment can be synchronized with the network equipment more accurately.
In a possible implementation manner, when determining the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the step specifically includes: if the first synchronization estimation value meets a first preset condition, increasing the value of a first counter by a unit value, and adding the first synchronization estimation value into a first set, wherein the first preset condition is that the absolute value of the first synchronization estimation value is smaller than the weighting factor; determining the first synchronization adjustment value as an average of the values in the first set when the value of the first counter incremented by the unit value is greater than a first threshold; when the value of the first counter added with the unit value is less than or equal to the first threshold value, the first synchronization adjustment value is not updated.
In a possible implementation manner, if the first synchronization estimation value does not satisfy the first preset condition, the first counter is cleared by 0, and the first set is cleared.
In a possible implementation manner, when determining the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the step specifically includes: if the first synchronous estimation value meets a second preset condition, increasing the value of a second counter by a unit value, and adding the first synchronous estimation value into a second set; the second preset condition is that the absolute value of the first synchronous estimation value is greater than a decision threshold, and the first synchronous estimation value and the second synchronous estimation value have the same positive and negative, wherein the decision threshold is greater than the weighting factor, the second synchronous estimation value is greater than the decision threshold, and the second synchronous estimation value is a synchronous estimation value close to the current synchronous time; when the value of the second counter incremented by the unit value is greater than a second threshold value, determining the first synchronization adjustment value to be the average of the values in the second set; when the value of the second counter after increasing the unit value is less than or equal to the second threshold value, the first synchronization adjustment value is not updated.
In a possible implementation manner, if the first synchronization estimation value does not satisfy the second preset condition, the second counter is cleared by 0, and the second set is cleared.
In a possible implementation manner, when determining the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the step specifically includes: and if the first synchronous estimation value does not meet the first preset condition and the second preset condition, processing the first synchronous estimation value according to the weighting factor to obtain the first synchronous adjustment value.
In a possible implementation manner, when the weighting factor is determined according to the error range of the synchronization algorithm, the current channel environment type, and the bit error rate variation, the step specifically includes: determining a priori factor according to the error range of the synchronous algorithm; determining a channel factor according to the current channel environment type; determining a decoding factor according to the bit error rate variable quantity; and determining the value of the weighting factor as the sum of the prior factor, the channel factor and the decoding factor multiplied by the corresponding preset coefficients respectively.
In a second aspect, the present application provides a communication device comprising a processing unit and a synchronization unit, wherein: the processing unit is used for determining a weighting factor according to one or more items in an error range, a current channel environment type and a bit error rate variable quantity of a synchronization algorithm; the processing unit is further used for determining a first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor; the synchronization unit is configured to perform synchronization based on the first synchronization adjustment value.
In a third aspect, the present application provides a chip, configured to determine a weighting factor according to one or more of an error range of a synchronization algorithm, a current channel environment type, and a bit error rate variation; the chip is also used for determining a first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor; the chip is also used for carrying out synchronization based on the first synchronization adjustment value.
In a fourth aspect, the present application provides a module device, which includes a communication module, a power module, a storage module, and a chip, wherein: the power module is used for providing electric energy for the module equipment; the storage module is used for storing data and instructions; the communication module is used for carrying out internal communication of the module equipment or is used for carrying out communication between the module equipment and external equipment; the chip is used for: determining a weighting factor according to one or more items of an error range, a current channel environment type and a bit error rate variable quantity of a synchronization algorithm; determining a first synchronization adjustment value according to a first synchronization estimation value obtained by the synchronization algorithm and the weighting factor; and performing synchronization based on the first synchronization adjustment value.
In a fifth aspect, the present application provides a communications apparatus comprising a processor, a memory, and a transceiver; the transceiver is used for receiving channels or signals or transmitting channels or signals; the memory for storing a computer program; the processor is configured to invoke the computer program from the memory to perform the method as described in the first aspect above.
In a sixth aspect, the present application provides a computer-readable storage medium having stored thereon a computer program which, when run on a communication apparatus, causes the communication apparatus to perform the method as described in the first aspect above.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of a network architecture provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a synchronization method provided in an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram illustrating another synchronization method provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another communication device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a module apparatus according to an embodiment of 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 invention, and not all of 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 invention.
The terminology used in the following embodiments of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the specification of this application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the listed items.
It should be noted that the terms "first," "second," "third," and the like in the description and claims of the present application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than described or illustrated herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the present application may be applied to the network architecture schematic diagram shown in fig. 1, where the network architecture shown in fig. 1 is a network architecture of a wireless communication system, the network architecture generally includes a terminal device and a network device, and the number and the form of each device do not constitute a limitation to the embodiment of the present application. The terminal device is connected with the network device, and the terminal device can acquire data network services through the network device, wherein the network device can provide communication services for a plurality of terminal devices. In the embodiment of the application, a unidirectional communication link from a network device to a terminal device is defined as a downlink, data transmitted on the downlink is downlink data, and the transmission direction of the downlink data is called as a downlink direction; and the unidirectional communication link from the terminal device to the network device is an uplink, the data transmitted on the uplink is uplink data, and the transmission direction of the uplink data is referred to as an uplink direction.
The terminal device in the embodiments of the present application is an entity for receiving or transmitting signals at a user side. The terminal device may be a device providing voice and/or data connectivity to a user, e.g. a handheld device, a vehicle mounted device, etc. with wireless connection capability. The terminal device may also be other processing devices connected to the wireless modem. The terminal device may communicate with a Radio Access Network (RAN). A terminal device may also be referred to as a wireless terminal, a subscriber unit (subscriber unit), a subscriber station (subscriber station), a mobile station (mobile), a remote station (remote station), an access point (access point), a remote terminal (remote terminal), an access terminal (access terminal), a user terminal (user terminal), a user agent (user agent), a user device (user device), or a user equipment (user equipment, UE), among others. The terminal equipment may be mobile terminals such as mobile telephones (otherwise known as "cellular" telephones) and computers with mobile terminals, e.g. portable, pocket, hand-held, computer-included or car-mounted mobile devices, which exchange language and/or data with a radio access network. For example, the terminal device may be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), or the like. Common terminal devices include, for example: the mobile terminal includes a mobile phone, a tablet computer, a notebook computer, a handheld computer, a Mobile Internet Device (MID), and a wearable device, such as a smart watch, a smart bracelet, a pedometer, and the like, but the embodiment of the present application is not limited thereto.
The network device related to the embodiment of the present application includes a Base Station (BS), which may be a device deployed in a radio access network and capable of performing wireless communication with a terminal. The base station may have various forms, such as a macro base station, a micro base station, a relay station, an access point, and the like. In the embodiment of the present application, the apparatus for implementing the function of the network device may be a network device; or may be a device, such as a system-on-chip, capable of supporting the network device to implement the function, and the device may be installed in the network device.
The method provided in the embodiment of the present application may be applied to various communication systems, for example, an internet of things (IoT) system, a narrowband band internet of things (NB-IoT) system, a Long Term Evolution (LTE) system, a fifth generation (5 th-generation, 5G) communication system, a hybrid architecture of LTE and 5G, a New Radio (NR) system of 5G, a new communication system appearing in future communication development, and the like.
The following describes the synchronization estimation method provided in the embodiments of the present application in further detail:
referring to fig. 2, fig. 2 is a schematic flow chart of a synchronization estimation method according to an embodiment of the present disclosure. As shown in fig. 2, the synchronization estimation method includes the following steps 201 to 203. The method execution subject shown in fig. 2 may be a terminal device, or the execution subject may be a chip in the terminal device. Fig. 2 illustrates an execution subject of the method by taking the terminal device as an example. The execution main bodies of the synchronization estimation methods shown in other figures of the embodiment of the present application are the same, and are not described in detail later. Wherein:
201. and the terminal equipment determines the weighting factor according to one or more of the error range of the synchronization algorithm, the current channel environment type and the bit error rate variation.
In the embodiment of the application, the synchronization algorithm is generally used for performing time offset estimation or frequency offset estimation, and the time offset or frequency offset between the terminal device and the network device is predicted according to the known time offset or frequency offset when the terminal device and the network device transmit data.
For example, the terminal device may determine the error range of the synchronization algorithm by: and simulating the synchronous algorithm to operate in different channel scenes in advance to obtain a simulation result, and determining the estimation error range of the estimation algorithm according to the simulation result.
For example, the terminal device may determine the current channel environment type by detecting current channel data information, where the channel environment type may include an Extended pedestrian channel model (EPA) channel, an Extended vehicle channel model (EVA) channel, and an Extended Typical Urban (ETU) channel.
The bit error rate refers to a proportion of bit numbers with errors in the total number of transmitted bits, the bit error rate variation refers to a variation situation of the current bit error rate, that is, the bit error rate is gradually increased or gradually decreased, and the terminal device can obtain the variation quantity of the bit error rate according to the decoding situation of the bottom layer.
In a possible implementation manner, the specific implementation manner of determining the weighting factor by the terminal device may be: determining a prior factor according to the error range of the synchronous algorithm; determining a channel factor according to the current channel environment type; determining a decoding factor according to the bit error rate variable quantity; and determining the value of the weighting factor as the sum of the prior factor, the channel factor and the decoding factor after being multiplied by the corresponding preset coefficients respectively. Based on the method described in the present application, the weighting factor can be determined by a plurality of parameters, which is beneficial to help the terminal device determine a more appropriate weighting factor.
Alternatively, the weighting factor may be a flat of the prior factor, the channel factor and the decoding factorOr the average value, or the prior factor, the channel factor and the decoding factor are added according to different coefficient proportions. For example, the weighting factor α 0 Can be represented by the formulaIs determined in which 1 A priori factor, α 2 Is the channel factor and alpha 3 For the decoding factor, the embodiment of the present application does not limit the determination manner of the weighting factor.
The larger the estimation error range is, the larger the prior factor is, the smaller the estimation error range is, and the smaller the prior factor is; the faster the channel environment change corresponding to the current channel environment type is, the smaller the channel factor is, the slower the channel environment change is, and the larger the channel factor is; the bit error rate variation can be a positive value or a negative value and 0, the bit error rate variation is a positive value, namely the bit error rate has a trend of increasing, the bit error rate variation is a negative value, namely the bit error rate has a trend of decreasing; the larger the bit error rate variation, the larger the decoding factor, and the smaller the bit error rate variation, the smaller the decoding factor.
202. And the terminal equipment determines a first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor.
In one possible implementation, the conventional way of determining the first synchronization adjustment value is that the first synchronization adjustment value may be equal to the first synchronization estimate divided by a weighting factor, plus the synchronization adjustment value determined before the synchronization instant. For example, assuming that the weighting factor is 5, a synchronization estimation has already been performed before outputting the current first synchronization adjustment value, the synchronization estimation value determined by the current synchronization estimation algorithm performed before the current time is the second synchronization estimation value 100, the synchronization adjustment value is determined to be the second synchronization adjustment value 20, and if the current synchronization estimation algorithm determines that the first synchronization estimation value is 100, the first synchronization adjustment value is output to be 40, that is, the first synchronization estimation value 100 is divided by the weighting factor 5, and the second synchronization adjustment value 20 is added. This implementation is only one possibility proposed in the embodiments of the present application, and there may be other ways of determining the first synchronization adjustment value. The specific implementation manner of step 202 may refer to step 302 to step 310 in subsequent fig. 3, which is not described herein again in this embodiment of the present application.
203. The terminal device synchronizes based on the first synchronization adjustment value.
In this embodiment, the terminal device may perform time offset synchronization estimation and frequency offset synchronization estimation based on the first synchronization adjustment value. The first synchronization adjustment value is determined according to the weighting factor, which can avoid errors caused by the synchronization algorithm. Meanwhile, the weighting factor is determined by the error range of the synchronization algorithm, the current channel environment type and the bit error rate variation, so that the determined weighting factor can be more suitable for the synchronization algorithm, the channel environment and the channel variation adopted by the current terminal equipment. Based on the method, the terminal equipment can be synchronized with the network equipment more accurately.
Referring to fig. 3, fig. 3 is a schematic flowchart of another synchronization estimation method according to an embodiment of the present application. As shown in fig. 3, the synchronization estimation method includes the following steps 301 to 311, where steps 301 and 311 are respectively the same as the specific implementation manners of steps 201 and 203, and are not described herein again in this embodiment of the application, and steps 302 to 310 are a specific implementation manner of step 202.
301. And the terminal equipment determines the weighting factor according to one or more of the error range of the synchronization algorithm, the current channel environment type and the bit error rate variation.
After step 301 is executed, the terminal device determines whether the first synchronization estimation value satisfies a first preset condition or a second preset condition, if the first synchronization estimation value satisfies the first preset condition, step 301 is executed, if the first synchronization estimation value satisfies the second preset condition, step 306 is executed, and if the first synchronization estimation value does not satisfy the first preset condition and the second preset condition, step 310 is executed.
302. If the first synchronization estimation value meets a first preset condition, the terminal equipment increases the value of the first counter by a unit value and adds the first synchronization estimation value into the first set.
In an embodiment of the present application, the first predetermined condition is that an absolute value of the first synchronization estimation value is smaller than the weighting factor. Because the absolute value of the first synchronization estimation value is smaller than the weighting factor, the processing is carried out by adopting a conventional method, namely the first synchronization adjustment value is equal to the synchronization estimation value estimated at the current time divided by the weighting factor, and a certain error may exist in addition to the previously determined synchronization adjustment value. Since the first synchronization estimate is divided by the weighting factor, resulting in a quotient of 0 and a remainder of the first synchronization estimate, if the remainder is directly applied in determining the first synchronization adjustment value, there is a possibility that the remainder is caused by an error of the synchronization algorithm, and the direct application may cause an error; if the remainder is discarded directly for use in determining the synchronization adjustment value, there is also a possibility that the remainder is a substantial deviation, and direct discarding would result in the first synchronization adjustment value being determined to be less accurate. Therefore, it is required to observe a certain number of times or a certain time, and if the remainder exists within a certain time or a certain number of times, that is, the absolute value of the first synchronization estimation value is always smaller than the weighting factor, that is, the first synchronization estimation value is not caused by an error; if the absolute value of the synchronization estimation value determined by the synchronization algorithm is not always smaller than the weighting factor within a certain time or a certain number of times, it indicates that the fact that the absolute value of the first synchronization estimation value is smaller than the weighting factor is caused by an error, which is a temporary reason.
303. The terminal device determines whether the value of the first counter incremented by the unit value is greater than a first threshold value. When the value of the first counter incremented by the unit value is greater than the first threshold, go to step 304; when the value of the first counter incremented by the unit value is less than or equal to the first threshold, step 305 is performed.
In this embodiment of the present application, the first threshold may be determined according to a signal-to-noise ratio of the current channel, where the signal-to-noise ratio may be determined by the terminal device by detecting a channel parameter. The larger the signal-to-noise ratio is, the smaller the first threshold value is; the smaller the signal-to-noise ratio, the larger the first threshold. The first counter is used for continuously monitoring whether the absolute values of the synchronous estimation values obtained through the synchronous algorithm in a period of time or a certain number of times are all smaller than the weighting factor, and if the absolute value of the first synchronous estimation value is temporarily smaller than the weighting factor due to the error of the synchronous algorithm, the value of the first counter will not exceed the first threshold. If the absolute values of the synchronization estimation values determined by the current synchronization algorithm in a longer time or a larger number of times are smaller than the weighting factor, the first counter exceeds the first threshold. The first counter can be used for better distinguishing different situations that the first synchronous estimation value is smaller than the weighting factor and carrying out distinguishing processing, and the method is beneficial to enabling the terminal equipment to be capable of synchronizing with the network equipment more accurately.
304. The terminal device determines the first synchronization adjustment value as an average of the values in the first set.
In a possible implementation manner, when the value obtained by incrementing the unit value by the first counter is greater than the first threshold, it indicates that the absolute values of the synchronization estimation values determined by the synchronization algorithm are all smaller than the weighting factor in a longer time, the first synchronization estimation value is not caused by an error, and may be caused by the fact that the actual time offset or frequency offset always fluctuates, so that the synchronization estimation values determined by the synchronization algorithm also always fluctuate, that is, the synchronization estimation values determined by the synchronization algorithm may fluctuate around a value within a certain time or a certain number of times when the weighting factor is assumed to be α. However, with the conventional method, a certain error may be caused by the fluctuation and the time-delay of the actual value, for example, the terminal device is performing time-offset synchronization, assuming that the current time-offset mainly fluctuates between (-4,4), if the current actual time-offset is-3 ms, it is determined that the first synchronization adjustment value has a certain time-delay according to the first synchronization estimation value and the weighting factor, and therefore the determined synchronization adjustment value may be 3, that is, the estimated time-offset of the terminal device is 3ms, and the terminal device is based on 3ms synchronization, there is a possibility that the terminal device cannot receive the data sent by the network device due to insufficient synchronization, and thus, such a manner is not favorable for the terminal device to perform synchronization. The actual time offset fluctuation usually fluctuates around a central value, and the first synchronization adjustment value is determined as the average value of the values in the first set, which is more favorable for the terminal device to accurately synchronize than the conventional method. Based on the method, the terminal equipment can be synchronized accurately.
305. The terminal device does not update the first synchronization adjustment value.
In a possible implementation manner, when the value obtained by incrementing the unit value by the first counter is smaller than or equal to the first threshold, which may be caused by a certain error of the synchronization algorithm, it is a temporary condition that the current first synchronization estimation value is smaller than the weighting factor, and therefore, the first synchronization adjustment value is not updated, that is, the first synchronization estimation value is not used for determining the first synchronization adjustment value, and the influence on the synchronization of the terminal device due to the error of the sub-synchronization algorithm can be avoided. Not updating the first synchronization adjustment value means determining that the first synchronization adjustment value is the last synchronization adjustment value determined, for example, determining the synchronization adjustment value once every 10ms, and the synchronization adjustment value determined in the previous 10ms is the second synchronization adjustment value 100, and if the first estimation value determined by the current synchronization algorithm meets the first preset requirement and the value of the first counter after increasing the unit value is less than or equal to the first threshold value, determining that the current first synchronization adjustment value is the second synchronization adjustment value 100.
In a possible implementation manner, if the first synchronization estimation value does not satisfy the first preset condition, the first counter is cleared by 0, and the first set is cleared. If the first set or the first counter is not cleared in time, the first synchronization adjustment value may be affected by the synchronization estimation values stored in the first set for a long time, for example, if the synchronization adjustment value is determined continuously within 10ms of the terminal device, if the absolute values of all the synchronization estimation values determined by the synchronization algorithm within the 1 st ms are smaller than the weighting factor, and therefore stored in the first set, the absolute values of the synchronization estimation values determined from the 2 nd ms to the 9 th ms are not smaller than the weighting factor, and the absolute values of all the synchronization estimation values determined by the synchronization algorithm within the 10 th ms are smaller than the weighting factor, and at this time, if the synchronization estimation values stored in the 1 st ms are not cleared by the first set, a certain influence may be caused on the synchronization adjustment value determined by the 10 th ms.
306. If the first synchronous estimated value meets a second preset condition, the terminal equipment increases the value of the second counter by a unit value and adds the first synchronous estimated value into a second set.
In the embodiment of the present application, the second preset condition is: the absolute value of the first synchronous estimated value is greater than a decision threshold, and the first synchronous estimated value and the second synchronous estimated value have the same positive and negative, wherein the decision threshold is greater than the weighting factor, the second synchronous estimated value is greater than the decision threshold, and the second synchronous estimated value is a synchronous estimated value close to the current synchronous time. The second synchronization estimation value refers to a synchronization estimation value determined according to a synchronization algorithm last time, for example, a synchronization estimation value is determined every 10ms, and if the currently determined synchronization estimation value is the first synchronization estimation value, the synchronization estimation value determined in the previous 10ms is the second synchronization estimation value.
In a continuous period of time, all the synchronization estimation values determined by the synchronization algorithm are positive values or negative values, and the absolute values of the synchronization estimation values are greater than the decision threshold, a certain error may exist through the weighting factor processing, especially when the current weighting factor is large, an accurate synchronization adjustment value may not be output for a long time, for example, assuming that a primary synchronization estimation value is determined in 10ms, and a primary synchronization adjustment value is also determined at the same time, the current weighting factor is 10, the actual time offset is always 100ms, and the synchronization estimation algorithm is error-free. The estimated synchronization value determined in the 1 st 10ms is 100, then the synchronization adjustment value determined in the 1 st 10ms is 100/10=10, the terminal device performs synchronization based on 10ms, and after performing actual synchronization, the terminal device determines that the difference between the synchronization adjustment value 10ms and the actual time offset 100ms is 90ms. Thus the 2 nd 10ms algorithmically determined synchronization estimate is 90, then according to conventional methods the 2 nd 10ms determined synchronization estimate 90 is divided by a weighting factor 10 equal to 9, added to the 1 st 10ms determined synchronization adjustment 10, and finally the 2 nd 10ms determined synchronization adjustment is 19. The difference between the synchronization adjustment value 10 determined in the 1 st 10ms and the synchronization adjustment value 19 determined in the 2 nd 10ms is larger than the actual time offset of 100ms, which shows that in the early stage of synchronization, the difference between the determined synchronization adjustment value and the actual time offset is larger, which results in long system locking time and affects the performance of the system in the period of time. Therefore, it is desirable to avoid determining the first synchronization adjustment value to be processed using the conventional method of determining based on the weighting factor and the first synchronization estimate value. If the absolute value of the first synchronization estimate is temporarily greater than the weighting factor due to an error in the synchronization algorithm, the value of the second counter will not exceed the second threshold. If the absolute values of the synchronization estimation values determined by the current synchronization algorithm in a longer time or a larger number of times are all larger than the weighting factor, the second counter exceeds the second threshold. The absolute value of the second synchronization estimation value greater than the decision threshold may be caused by an error of a synchronization algorithm, and may also actually exist, and the second counter can distinguish two different situations, and then processes the two different situations respectively, which is beneficial for the terminal device to be able to synchronize with the network device more accurately.
Optionally, the decision threshold is determined by the decoding performance requirement of the system.
307. The terminal device determines whether the value of the second counter incremented by the unit number is greater than a second threshold value. When the value of the second counter incremented by the unit value is greater than the second threshold, go to step 308; when the value of the second counter incremented by the unit value is less than or equal to the second threshold, step 309 is performed.
In this embodiment, the second threshold may be determined according to a signal-to-noise ratio of the current channel, where the signal-to-noise ratio may be obtained by detecting the channel by the terminal device. The larger the signal-to-noise ratio is, the smaller the second threshold value is; the smaller the signal-to-noise ratio, the larger the second threshold. The second threshold value can be adopted to well judge whether the second synchronous estimated value is larger than the weighting factor and is a temporary error reason or not, and the distinguishing processing is carried out, so that the terminal equipment can be more accurately synchronized with the network equipment.
308. The terminal device determines the first synchronization adjustment value as an average of the values in the second set.
In one possible implementation, when the value of the second counter incremented by the unit value is greater than the second threshold, it is determined that the current first synchronization estimation value is larger. If a conventional method is adopted, the difference between the synchronization adjustment value determined in the previous period and the actual time offset is large, so that the locking time of the system is long, and the performance of the system in the time is influenced. In order to avoid that the terminal equipment carries out synchronization estimation for a long time, the first synchronization adjustment value is directly determined to be the average value of the values in the second set, and the synchronization adjustment value is rapidly determined.
309. The terminal device does not update the first synchronization adjustment value.
In a possible implementation manner, when the value obtained by incrementing the unit value by the second counter is smaller than or equal to the second threshold, it is determined that there may be a certain error in the synchronization algorithm, which is a temporary condition, so that the current first synchronization adjustment value is not updated, and the influence on the synchronization of the terminal device due to the error in the sub-synchronization algorithm can be avoided. Not updating the first synchronization adjustment value refers to determining the first synchronization adjustment value as the last synchronization adjustment value determined, for example, determining the synchronization adjustment value once per second, the synchronization adjustment value determined in the previous second being 100, and if the current first estimation value satisfies the second preset requirement and the value of the second counter after increasing the unit value is less than or equal to the second threshold, determining the first synchronization adjustment value as the synchronization adjustment value determined in the previous second being 100.
In a possible implementation manner, if the first synchronization estimation value does not satisfy the second preset condition, the second counter is cleared by 0, and the second set is cleared. If the second set or the second counter is not cleared in time, the first synchronization adjustment value may be affected by a synchronization estimate stored in the second set a longer time ago. Based on the method, it can be avoided that the current first synchronization adjustment value is affected by the synchronization estimation values stored in the second set longer ago, thereby causing an error.
310. And if the first synchronous estimation value does not meet the first preset condition and the second preset condition, the terminal equipment processes the first synchronous estimation value according to the weighting factor to obtain the first synchronous adjustment value.
In this embodiment, the processing, by the terminal device, of the first synchronization estimation value according to the weighting factor to obtain the first synchronization adjustment value may be: the terminal equipment determines that the first synchronization adjustment value is equal to the first synchronization estimation value divided by the weighting factor and added with the synchronization adjustment value determined before the synchronization moment; this way of processing is the conventional method mentioned in the above. For example, assuming that the weighting factor is 5, before outputting the current first synchronization adjustment value, one synchronization estimation has been performed, the synchronization estimation value determined by the synchronization estimation algorithm is the second synchronization estimation value 100, the second synchronization adjustment value determined is 20, and if the current synchronization estimation algorithm determines the first synchronization estimation value is 100, the first synchronization adjustment value is output to be 40, that is, the first synchronization estimation value 100 is divided by the weighting factor 5, and then the second synchronization adjustment value 20 is added. This implementation manner is only one possibility proposed in the embodiment of the present application, and there may be other determination manners for the first synchronization adjustment value, which is not limited in the embodiment of the present application.
311. The terminal device synchronizes based on the first synchronization adjustment value.
Illustratively, the terminal device may perform a timing synchronization adjustment based on the first synchronization adjustment value; to ensure that the receiver and the sender are synchronized in time. Alternatively, in addition to the timing synchronization adjustment, the terminal device may perform frequency synchronization estimation based on the first synchronization adjustment value.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a communication device according to an embodiment of the present application. The communication apparatus shown in fig. 4 may be used to perform part or all of the functions of the terminal device described above. The device may be a terminal device, or a device in the terminal device, or a device capable of being used in cooperation with the terminal device. Wherein, the communication device can also be a chip system. The communication device shown in fig. 4 may comprise a processing unit 401 and a synchronization unit 402. The processing unit 401 is configured to perform data processing. Wherein:
the processing unit 401 is configured to determine a weighting factor according to one or more of an error range of a synchronization algorithm, a current channel environment type, and a bit error rate variation; the processing unit 401 is further configured to determine a first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor; the synchronization unit 402 is further configured to perform synchronization based on the first synchronization adjustment value.
In a possible implementation manner, when the processing unit 401 is configured to determine the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the processing unit 401 is specifically configured to: if the first synchronization estimation value meets a first preset condition, increasing the value of a first counter by a unit value, and adding the first synchronization estimation value into a first set, wherein the first preset condition is that the absolute value of the first synchronization estimation value is smaller than the weighting factor; determining the first synchronization adjustment value as an average of the values in the first set when the value of the first counter incremented by the unit value is greater than a first threshold; when the value of the first counter added with the unit value is less than or equal to the first threshold value, the first synchronization adjustment value is not updated.
In a possible implementation manner, if the first synchronization estimation value does not satisfy the first preset condition, the first counter is cleared by 0, and the first set is cleared.
In a possible implementation manner, when the processing unit 401 is configured to determine the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the processing unit 401 is specifically configured to: if the first synchronous estimation value meets a second preset condition, increasing the value of a second counter by a unit value, and adding the first synchronous estimation value into a second set; the second preset condition is that the absolute value of the first synchronous estimated value is greater than a decision threshold, and the first synchronous estimated value and the second synchronous estimated value have the same positive and negative, wherein the decision threshold is greater than the weighting factor, the second synchronous estimated value is greater than the decision threshold, and the second synchronous estimated value is a synchronous estimated value close to the current synchronous moment; when the value of the second counter after the unit value is increased is larger than a second threshold value, determining the first synchronization adjustment value as the average value of the values in the second set; when the value of the second counter after increasing the unit value is less than or equal to the second threshold value, the first synchronization adjustment value is not updated.
In a possible implementation manner, if the first synchronization estimation value does not satisfy the second preset condition, the second counter is cleared by 0, and the second set is cleared.
In a possible implementation manner, when the processing unit 401 is configured to determine the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the processing unit 401 is specifically configured to: and if the first synchronous estimation value does not meet the first preset condition and the second preset condition, processing the first synchronous estimation value according to the weighting factor to obtain the first synchronous adjustment value.
In a possible implementation manner, when the processing unit 401 is configured to determine the weighting factor according to the error range of the synchronization algorithm, the current channel environment type, and the bit error rate variation, the processing unit 401 is specifically configured to: determining a priori factor according to the error range of the synchronous algorithm; determining a channel factor according to the current channel environment type; determining a decoding factor according to the bit error rate variable quantity; and determining the value of the weighting factor as the sum of the prior factor, the channel factor and the decoding factor multiplied by the corresponding preset coefficients respectively.
The embodiment of the present application further provides a chip, where the chip may perform relevant steps of the network device in the foregoing method embodiment.
The chip is used for determining a weighting factor according to one or more items in an error range, a current channel environment type and a bit error rate variable quantity of a synchronization algorithm; the chip is also used for determining a first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor; the chip is also used for carrying out synchronization based on the first synchronization adjustment value.
In a possible implementation manner, when the chip is configured to determine the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the chip is specifically configured to: if the first synchronization estimation value meets a first preset condition, increasing the value of a first counter by a unit value, and adding the first synchronization estimation value into a first set, wherein the first preset condition is that the absolute value of the first synchronization estimation value is smaller than the weighting factor; determining the first synchronization adjustment value as an average of the values in the first set when the value of the first counter incremented by the unit value is greater than a first threshold; when the value of the first counter added with the unit value is less than or equal to the first threshold value, the first synchronization adjustment value is not updated.
In a possible implementation manner, if the first synchronization estimation value does not satisfy the first preset condition, the first counter is cleared by 0, and the first set is cleared.
In a possible implementation manner, when the chip is configured to determine the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the chip is specifically configured to: if the first synchronous estimation value meets a second preset condition, increasing the value of a second counter by a unit value, and adding the first synchronous estimation value into a second set; the second preset condition is that the absolute value of the first synchronous estimation value is greater than a decision threshold, and the first synchronous estimation value and the second synchronous estimation value have the same positive and negative, wherein the decision threshold is greater than the weighting factor, the second synchronous estimation value is greater than the decision threshold, and the second synchronous estimation value is a synchronous estimation value close to the current synchronous time; when the value of the second counter after the unit value is increased is larger than a second threshold value, determining the first synchronization adjustment value as the average value of the values in the second set; when the value of the second counter after increasing the unit value is less than or equal to the second threshold value, the first synchronization adjustment value is not updated.
In a possible implementation manner, if the first synchronization estimation value does not satisfy the second preset condition, the second counter is cleared by 0, and the second set is cleared.
In a possible implementation manner, when the chip is configured to determine the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the chip is specifically configured to: and if the first synchronous estimation value does not meet the first preset condition and the second preset condition, processing the first synchronous estimation value according to the weighting factor to obtain the first synchronous adjustment value.
In a possible implementation manner, when the chip is configured to determine the weighting factor according to the error range of the synchronization algorithm, the current channel environment type, and the bit error rate variation, the chip is specifically configured to: determining a priori factor according to the error range of the synchronous algorithm; determining a channel factor according to the current channel environment type; determining a decoding factor according to the bit error rate variable quantity; and determining the value of the weighting factor as the sum of the prior factor, the channel factor and the decoding factor multiplied by the corresponding preset coefficients respectively.
Fig. 5 shows a communication apparatus 50 according to an embodiment of the present application, which is used for implementing the above-mentioned terminal device function. The apparatus may be a terminal device or an apparatus for a terminal device. The means for the terminal device may be a system of chips or a chip within the terminal device. The chip system may be composed of a chip, or may include a chip and other discrete devices.
The communication device may also be configured to implement the network device function. The apparatus may be a network device or an apparatus for a network device. The means for the network device may be a system-on-chip or a chip within the network device. The chip system may be composed of a chip, or may include a chip and other discrete devices.
The communication device 50 includes at least one processor 520, which is configured to implement the data processing function of the terminal device in the method provided in the embodiment of the present application. The apparatus 50 may further include a communication interface 510 for implementing transceiving operations of the terminal device in the method provided by the embodiment of the present application. In embodiments of the present application, the communication interface may be a transceiver, circuit, bus, module, or other type of communication interface for communicating with other devices over a transmission medium. For example, the communication interface 510 is used for devices in the apparatus 50 to communicate with other devices. The processor 520 utilizes the communication interface 510 to transmit and receive data and is configured to implement the method described in the method embodiment above with respect to fig. 2.
The apparatus 50 may also include at least one memory 530 for storing program instructions and/or data. The memory 530 is coupled to the processor 520. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, and may be in an electrical, mechanical or other form, which is used for information interaction between the devices, units or modules. The processor 520 may operate in conjunction with the memory 530. Processor 520 may execute program instructions stored in memory 530. At least one of the at least one memory may be included in the processor.
When the device 50 is powered on, the processor 520 can read the software program in the memory 530, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor 520 performs baseband processing on the data to be sent, and outputs a baseband signal to a radio frequency circuit (not shown), and the radio frequency circuit performs radio frequency processing on the baseband signal and sends the radio frequency signal to the outside in the form of electromagnetic waves through an antenna. When data is transmitted to the apparatus 50, the rf circuit receives an rf signal through the antenna, converts the rf signal into a baseband signal, and outputs the baseband signal to the processor 520, and the processor 520 converts the baseband signal into data and processes the data.
In another implementation, the rf circuitry and antennas may be provided independently of the processor 520 performing baseband processing, for example in a distributed scenario, the rf circuitry and antennas may be in a remote arrangement independent of the communication device.
The specific connection medium among the communication interface 510, the processor 520, and the memory 530 is not limited in the embodiments of the present application. In the embodiment of the present application, the memory 530, the processor 520, and the communication interface 510 are connected by a bus 540 in fig. 5, the bus is represented by a thick line in fig. 5, and the connection manner between other components is merely illustrative and is not limited thereto. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
When the apparatus 50 is specifically for a terminal device, for example, when the apparatus 50 is specifically a chip or a chip system, the output or the reception of the communication interface 510 may be a baseband signal. When the apparatus 50 is a terminal device, the communication interface 510 may output or receive a radio frequency signal. In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, operations, and logic blocks disclosed in the embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The operations of the methods disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
It should be noted that, the communication apparatus may perform relevant steps of the terminal device or the access network device in the foregoing method embodiments, which may specifically refer to implementation manners provided in the foregoing steps, and details are not described herein again.
For each device or product applied to or integrated in the communication device, each module included in the device or product may be implemented by hardware such as a circuit, different modules may be located in the same component (e.g., a chip, a circuit module, etc.) or different components in the terminal, or at least a part of the modules may be implemented by a software program running on a processor integrated in the terminal, and the rest (if any) of the modules may be implemented by hardware such as a circuit.
As shown in fig. 6, fig. 6 is a schematic structural diagram of a module device according to an embodiment of the present disclosure. The module device 60 can perform the steps related to the network device in the foregoing method embodiments, and the module device 60 includes: a communication module 601, a power module 602, a memory module 603 and a chip 604.
The power module 602 is configured to provide power for the module device; the storage module 603 is used for storing data and instructions; the communication module 601 is used for performing module device internal communication, or for performing module device and external device communication.
The chip 604 is configured to determine a weighting factor according to one or more of an error range of a synchronization algorithm, a current channel environment type, and a bit error rate variation; the chip 604 is further configured to determine a first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor; the chip 604 is further configured to perform synchronization based on the first synchronization adjustment value.
In a possible implementation manner, when the chip 604 is configured to determine the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the chip 604 is specifically configured to: if the first synchronization estimation value meets a first preset condition, increasing the value of a first counter by a unit value, and adding the first synchronization estimation value into a first set, wherein the first preset condition is that the absolute value of the first synchronization estimation value is smaller than the weighting factor; determining the first synchronization adjustment value as an average of the values in the first set when the value of the first counter incremented by the unit value is greater than a first threshold; when the value of the first counter added with the unit value is less than or equal to the first threshold value, the first synchronization adjustment value is not updated.
In a possible implementation manner, if the first synchronization estimation value does not satisfy the first preset condition, the first counter is cleared by 0, and the first set is cleared.
In a possible implementation manner, when the chip 604 is configured to determine the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the chip 604 is specifically configured to: if the first synchronous estimation value meets a second preset condition, increasing the value of a second counter by a unit value, and adding the first synchronous estimation value into a second set; the second preset condition is that the absolute value of the first synchronous estimation value is greater than a decision threshold, and the first synchronous estimation value and the second synchronous estimation value have the same positive and negative, wherein the decision threshold is greater than the weighting factor, the second synchronous estimation value is greater than the decision threshold, and the second synchronous estimation value is a synchronous estimation value close to the current synchronous time; when the value of the second counter after the unit value is increased is larger than a second threshold value, determining the first synchronization adjustment value as the average value of the values in the second set; when the value of the second counter after increasing the unit value is less than or equal to the second threshold value, the first synchronization adjustment value is not updated.
In a possible implementation manner, if the first synchronization estimation value does not satisfy the second preset condition, the second counter is cleared by 0, and the second set is cleared.
In a possible implementation manner, when the chip 604 is configured to determine the first synchronization adjustment value according to the first synchronization estimation value obtained by the synchronization algorithm and the weighting factor, the chip 604 is specifically configured to: and if the first synchronous estimation value does not meet the first preset condition and the second preset condition, processing the first synchronous estimation value according to the weighting factor to obtain the first synchronous adjustment value.
In a possible implementation manner, when the chip 604 is configured to determine the weighting factor according to the error range of the synchronization algorithm, the current channel environment type, and the bit error rate variation, the chip 604 is specifically configured to: determining a priori factor according to the error range of the synchronous algorithm; determining a channel factor according to the current channel environment type; determining a decoding factor according to the bit error rate variable quantity; and determining the value of the weighting factor as the sum of the prior factor, the channel factor and the decoding factor multiplied by the corresponding preset coefficients respectively.
Embodiments of the present application further provide a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium is executed on a processor, the method flow of the above method embodiments is implemented.
Embodiments of the present application further provide a computer program product, where when the computer program product runs on a processor, the method flow of the above method embodiments is implemented.
It is noted that, for simplicity of explanation, the foregoing method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some acts may, in accordance with the present application, occur in other orders and/or concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
The descriptions of the embodiments provided in the present application may be referred to each other, and the descriptions of the embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments. For convenience and brevity of description, for example, the functions and operations performed by the devices and apparatuses provided in the embodiments of the present application may refer to the related descriptions of the method embodiments of the present application, and may also be referred to, combined with or cited among the method embodiments and the device embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
Claims (10)
1. A method of synchronization, the method comprising:
determining a weighting factor according to one or more items of an error range, a current channel environment type and a bit error rate variable quantity of a synchronization algorithm;
if a first synchronization estimation value obtained by the synchronization algorithm meets a first preset condition, increasing a unit numerical value by a value of a first counter, and adding the first synchronization estimation value into a first set, wherein the first preset condition is that an absolute value of the first synchronization estimation value is smaller than the weighting factor;
determining a first synchronization adjustment value as an average of values in the first set when the value of the first counter incremented by the unit value is greater than a first threshold;
when the value obtained by adding the unit value to the first counter is smaller than or equal to the first threshold value, the first synchronization adjustment value is not updated;
if the first synchronous estimation value meets a second preset condition, increasing the value of a second counter by a unit value, and adding the first synchronous estimation value into a second set; the second preset condition is that the absolute value of the first synchronous estimation value is greater than a decision threshold, and the first synchronous estimation value and the second synchronous estimation value have the same positive and negative, wherein the decision threshold is greater than the weighting factor, the second synchronous estimation value is greater than the decision threshold, and the second synchronous estimation value is a synchronous estimation value close to the current synchronous time;
determining the first synchronization adjustment value as an average of the values in the second set when the value of the second counter incremented by the unit value is greater than a second threshold value;
when the value of the second counter after the unit value is increased is less than or equal to the second threshold value, the first synchronization adjustment value is not updated;
synchronizing based on the first synchronization adjustment value.
2. The method of claim 1, further comprising:
and if the first synchronization estimation value does not meet the first preset condition, clearing 0 from the first counter and clearing the first set.
3. The method of claim 1, further comprising:
and if the first synchronization estimation value does not meet the second preset condition, clearing 0 from the second counter and clearing the second set.
4. The method of any one of claims 1~3, further comprising:
and if the first synchronous estimation value does not meet the first preset condition and the second preset condition, processing the first synchronous estimation value according to the weighting factor to obtain the first synchronous adjustment value.
5. The method of claim 1, wherein determining the weighting factor according to the error range of the synchronization algorithm, the current channel environment type and the bit error rate variation comprises:
determining a prior factor according to the error range of the synchronous algorithm;
determining a channel factor according to the current channel environment type;
determining a decoding factor according to the bit error rate variable quantity;
and determining the value of the weighting factor as the sum of the prior factor, the channel factor and the decoding factor after being multiplied by corresponding preset coefficients respectively.
6. A communication apparatus, characterized in that the communication apparatus comprises a processing unit and a synchronization unit, wherein:
the processing unit is used for determining a weighting factor according to one or more items of an error range, a current channel environment type and a bit error rate variable quantity of a synchronization algorithm;
the processing unit is further configured to:
if a first synchronization estimation value obtained by the synchronization algorithm meets a first preset condition, increasing a unit numerical value by a value of a first counter, and adding the first synchronization estimation value into a first set, wherein the first preset condition is that an absolute value of the first synchronization estimation value is smaller than the weighting factor;
determining a first synchronization adjustment value as an average of values in the first set when the value of the first counter incremented by the unit value is greater than a first threshold;
when the value obtained by adding the unit number value to the first counter is less than or equal to the first threshold value, not updating the first synchronization adjustment value;
if the first synchronous estimation value meets a second preset condition, increasing the value of a second counter by a unit value, and adding the first synchronous estimation value into a second set; the second preset condition is that the absolute value of the first synchronous estimation value is greater than a decision threshold, and the first synchronous estimation value and the second synchronous estimation value have the same positive and negative, wherein the decision threshold is greater than the weighting factor, the second synchronous estimation value is greater than the decision threshold, and the second synchronous estimation value is a synchronous estimation value close to the current synchronous time;
determining the first synchronization adjustment value as an average of the values in the second set when the value of the second counter incremented by the unit value is greater than a second threshold value;
when the value of the second counter after the unit value is increased is less than or equal to the second threshold value, the first synchronization adjustment value is not updated;
the synchronization unit is further configured to perform synchronization based on the first synchronization adjustment value.
7. A chip, wherein the chip comprises a processor and a communication interface, wherein the processor is configured to:
determining a weighting factor according to one or more items of an error range, a current channel environment type and a bit error rate variable quantity of a synchronization algorithm;
if a first synchronization estimation value obtained by the synchronization algorithm meets a first preset condition, increasing a unit numerical value by a value of a first counter, and adding the first synchronization estimation value into a first set, wherein the first preset condition is that an absolute value of the first synchronization estimation value is smaller than the weighting factor;
determining a first synchronization adjustment value as an average of values in the first set when the value of the first counter incremented by the unit value is greater than a first threshold;
when the value obtained by adding the unit value to the first counter is smaller than or equal to the first threshold value, the first synchronization adjustment value is not updated;
if the first synchronous estimation value meets a second preset condition, increasing the value of a second counter by a unit value, and adding the first synchronous estimation value into a second set; the second preset condition is that the absolute value of the first synchronous estimation value is greater than a decision threshold, and the first synchronous estimation value and the second synchronous estimation value have the same positive and negative, wherein the decision threshold is greater than the weighting factor, the second synchronous estimation value is greater than the decision threshold, and the second synchronous estimation value is a synchronous estimation value close to the current synchronous time;
determining the first synchronization adjustment value to be an average of the values in the second set when the value of the second counter incremented by the unit value is greater than a second threshold value;
when the value of the second counter after the unit value is increased is less than or equal to the second threshold value, the first synchronization adjustment value is not updated;
synchronizing based on the first synchronization adjustment value.
8. The utility model provides a module equipment, its characterized in that, module equipment includes communication module, power module, storage module and chip, wherein:
the power supply module is used for providing electric energy for the module equipment;
the storage module is used for storing data and instructions;
the communication module is used for carrying out internal communication of module equipment or is used for carrying out communication between the module equipment and external equipment;
the chip is used for:
determining a weighting factor according to one or more items of an error range, a current channel environment type and a bit error rate variable quantity of a synchronization algorithm;
if a first synchronization estimation value obtained by the synchronization algorithm meets a first preset condition, increasing a unit numerical value by a value of a first counter, and adding the first synchronization estimation value into a first set, wherein the first preset condition is that an absolute value of the first synchronization estimation value is smaller than the weighting factor;
determining a first synchronization adjustment value as an average of values in the first set when the value of the first counter incremented by the unit value is greater than a first threshold;
when the value obtained by adding the unit value to the first counter is smaller than or equal to the first threshold value, the first synchronization adjustment value is not updated;
if the first synchronous estimation value meets a second preset condition, increasing the value of a second counter by a unit value, and adding the first synchronous estimation value into a second set; the second preset condition is that the absolute value of the first synchronous estimation value is greater than a decision threshold, and the first synchronous estimation value and the second synchronous estimation value have the same positive and negative, wherein the decision threshold is greater than the weighting factor, the second synchronous estimation value is greater than the decision threshold, and the second synchronous estimation value is a synchronous estimation value close to the current synchronous time;
determining the first synchronization adjustment value as an average of the values in the second set when the value of the second counter incremented by the unit value is greater than a second threshold value;
when the value of the second counter after the unit value is increased is less than or equal to the second threshold value, the first synchronization adjustment value is not updated;
synchronizing based on the first synchronization adjustment value.
9. A communication device comprising a processor, a memory, and a transceiver;
the transceiver is used for receiving channels or signals or sending the channels or signals;
the memory for storing a computer program;
the processor to invoke the computer program from the memory to perform the method of any of claims 1~5.
10. A computer-readable storage medium, having stored thereon a computer program which, when run on a communication apparatus, causes the communication apparatus to perform the method of any one of claims 1~5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110739440.9A CN113543303B (en) | 2021-06-30 | 2021-06-30 | Synchronization method, synchronization device, chip and module equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110739440.9A CN113543303B (en) | 2021-06-30 | 2021-06-30 | Synchronization method, synchronization device, chip and module equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113543303A CN113543303A (en) | 2021-10-22 |
CN113543303B true CN113543303B (en) | 2022-10-21 |
Family
ID=78097419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110739440.9A Active CN113543303B (en) | 2021-06-30 | 2021-06-30 | Synchronization method, synchronization device, chip and module equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113543303B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1501605A (en) * | 2002-11-19 | 2004-06-02 | 电子科技大学 | OFDM time and frequency synchronizing method capable of correcting long-range frequency deviation |
CN101764780A (en) * | 2009-12-28 | 2010-06-30 | 北京中星微电子有限公司 | Method and system for time and frequency synchronization in orthogonal frequency division multiplexing |
CN102447656A (en) * | 2010-10-01 | 2012-05-09 | 英特尔移动通信技术德累斯顿有限公司 | Method for processing received OFDM data symbols and OFDM baseband receiver |
CN105144648A (en) * | 2013-03-11 | 2015-12-09 | 罗德施瓦兹两合股份有限公司 | Measuring device and measuring method for high resolution time synchronization in OFDM systems |
CN107270893A (en) * | 2017-05-27 | 2017-10-20 | 东南大学 | Lever arm, time in-synchronization error estimation and the compensation method measured towards real estate |
CN111585706A (en) * | 2017-08-11 | 2020-08-25 | 华为技术有限公司 | System and method for configuring transmission time and frequency tracking signals using single-port CSI-RS |
CN111786917A (en) * | 2020-08-03 | 2020-10-16 | Oppo广东移动通信有限公司 | Channel estimation method, receiver and storage medium |
CN112910815A (en) * | 2021-01-15 | 2021-06-04 | 西安电子科技大学 | Generalized frequency division multiplexing system time-frequency synchronization method based on positive and negative lead codes |
Family Cites Families (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1259780C (en) * | 2002-10-31 | 2006-06-14 | 电子科技大学 | New OFDM time, frequency synchronization method |
US8249616B2 (en) * | 2007-08-23 | 2012-08-21 | Texas Instruments Incorporated | Satellite (GPS) assisted clock apparatus, circuits, systems and processes for cellular terminals on asynchronous networks |
JP5354474B2 (en) * | 2007-09-14 | 2013-11-27 | 日本電気株式会社 | Clock synchronization system, method thereof and program thereof |
CN101895380B (en) * | 2010-04-02 | 2012-10-31 | 厦门大学 | Blind estimation bit synchronization method for differential chaotic modulation communication system |
US8488055B2 (en) * | 2010-09-30 | 2013-07-16 | Apple Inc. | Flash synchronization using image sensor interface timing signal |
CN102573041B (en) * | 2010-12-31 | 2016-08-03 | 重庆重邮信科通信技术有限公司 | HSPA+ timing synchronization keeping method |
GB2500563B (en) * | 2012-01-23 | 2016-08-17 | Nvidia Corp | Timing calibration method and apparatus |
CN103582109B (en) * | 2012-07-23 | 2016-09-07 | 京信通信系统(中国)有限公司 | A kind of method for synchronizing time and device |
US8873589B2 (en) * | 2012-09-04 | 2014-10-28 | Khalifa University Of Science, Technology And Research | Methods and devices for clock synchronization |
US9178637B2 (en) * | 2013-12-09 | 2015-11-03 | Khalifa University of Science, Technology, and Research | Method and devices for synchronization using linear programming |
US9562951B2 (en) * | 2014-03-11 | 2017-02-07 | Venable Corporation | Digital Frequency response analysis system and method useful for power supplies |
WO2016208020A1 (en) * | 2015-06-24 | 2016-12-29 | 三菱電機株式会社 | Communication device, time correction method, and network system |
CN108011851B (en) * | 2017-12-19 | 2021-05-07 | 普联技术有限公司 | Frequency synchronization method, device, terminal equipment and storage medium |
CN110557823A (en) * | 2018-05-31 | 2019-12-10 | 华为技术有限公司 | clock synchronization method and device, terminal equipment, chip and readable storage medium |
CN109041017B (en) * | 2018-08-24 | 2021-06-25 | 锐迪科(重庆)微电子科技有限公司 | Terminal sleep awakening synchronous recovery method and device |
CN110430614B (en) * | 2019-08-06 | 2021-08-31 | 深圳前海中电慧安科技有限公司 | Base station signal synchronization method, device, equipment and storage medium based on GPS signal |
CN110971558B (en) * | 2019-12-17 | 2021-07-06 | 西安电子科技大学 | CAZAC sequence-based low-complexity anti-frequency offset synchronization method |
CN112383498B (en) * | 2020-11-17 | 2022-11-04 | 紫光展锐(重庆)科技有限公司 | Low-frequency clock compensation method and device, storage medium and terminal |
CN112543502B (en) * | 2020-11-30 | 2022-10-11 | 紫光展锐(重庆)科技有限公司 | Communication synchronization method, device, apparatus and storage medium |
-
2021
- 2021-06-30 CN CN202110739440.9A patent/CN113543303B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1501605A (en) * | 2002-11-19 | 2004-06-02 | 电子科技大学 | OFDM time and frequency synchronizing method capable of correcting long-range frequency deviation |
CN101764780A (en) * | 2009-12-28 | 2010-06-30 | 北京中星微电子有限公司 | Method and system for time and frequency synchronization in orthogonal frequency division multiplexing |
CN102447656A (en) * | 2010-10-01 | 2012-05-09 | 英特尔移动通信技术德累斯顿有限公司 | Method for processing received OFDM data symbols and OFDM baseband receiver |
CN105144648A (en) * | 2013-03-11 | 2015-12-09 | 罗德施瓦兹两合股份有限公司 | Measuring device and measuring method for high resolution time synchronization in OFDM systems |
CN107270893A (en) * | 2017-05-27 | 2017-10-20 | 东南大学 | Lever arm, time in-synchronization error estimation and the compensation method measured towards real estate |
CN111585706A (en) * | 2017-08-11 | 2020-08-25 | 华为技术有限公司 | System and method for configuring transmission time and frequency tracking signals using single-port CSI-RS |
CN111786917A (en) * | 2020-08-03 | 2020-10-16 | Oppo广东移动通信有限公司 | Channel estimation method, receiver and storage medium |
CN112910815A (en) * | 2021-01-15 | 2021-06-04 | 西安电子科技大学 | Generalized frequency division multiplexing system time-frequency synchronization method based on positive and negative lead codes |
Non-Patent Citations (2)
Title |
---|
Channel_State_Tracking_for_Large-Scale_Distributed_MIMO_Communication_Systems;D. Richard Brown;《IEEE XPLORE》;20150515;全文 * |
基于移动网的传输网络优化方案设计;赵宇;《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》;20121221;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113543303A (en) | 2021-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114788198B (en) | Channel information feedback method and communication device | |
CN110768770B (en) | Reference signal sending and receiving method, device and equipment | |
EP2876837A1 (en) | Method and device of frame synchronization of wireless system and wireless system | |
WO2019140668A1 (en) | Channel state information (csi) measurement method, terminal device and network device | |
US20230239014A1 (en) | Information indication method and apparatus | |
WO2022247625A1 (en) | Data transmission method and communication device | |
CN105554870A (en) | Uplink synchronization method and mobile terminal | |
CN113302975B (en) | Cell switching method, device, equipment and storage medium | |
US20180192381A1 (en) | System and method for providing weighted pattern demapper for bluetooth® low energy long range | |
CN113543303B (en) | Synchronization method, synchronization device, chip and module equipment | |
CN114793189B (en) | Combined channel estimation method and communication device | |
CN108811071B (en) | Method and device for transmitting signals | |
CN113692013B (en) | Signal measurement method, communication device, chip and module equipment | |
WO2020177615A1 (en) | Channel measurement method and device | |
US20040242218A1 (en) | Communication terminal out of range determination method, wireless communication system switching method and communication terminal | |
TWI829704B (en) | An information transmission method and device, a terminal device, and a network device | |
CN113556772A (en) | Channel prediction method and device | |
EP3113540A1 (en) | Method and device for adjusting data transmission rate | |
CN113759180B (en) | Antenna delay calibration method and system for improving ultra-wideband ranging precision | |
US20100316020A1 (en) | Communication system, mobile terminal and communication method | |
CN111770568B (en) | Method and device for determining positioning measurement value | |
CN115622667A (en) | Downlink control information sending and acquiring methods and devices, terminal and network side equipment | |
WO2021022569A1 (en) | Methods and devices used for detecting and sending physical downlink control channel | |
CN115314984A (en) | Communication method and communication device | |
CN113691947B (en) | Method, device, chip and module equipment for receiving paging message |
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 |