CN112543502B - Communication synchronization method, device, apparatus and storage medium - Google Patents
Communication synchronization method, device, apparatus and storage medium Download PDFInfo
- Publication number
- CN112543502B CN112543502B CN202011375899.7A CN202011375899A CN112543502B CN 112543502 B CN112543502 B CN 112543502B CN 202011375899 A CN202011375899 A CN 202011375899A CN 112543502 B CN112543502 B CN 112543502B
- Authority
- CN
- China
- Prior art keywords
- cell
- information
- end device
- time
- far
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W56/00—Synchronisation arrangements
- H04W56/001—Synchronization between nodes
- H04W56/0015—Synchronization between nodes one node acting as a reference for the others
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application discloses a communication synchronization method, equipment, a device and a storage medium, wherein the method is applied to near-end equipment; the method comprises the following steps: performing a cell search process to determine a first cell; adjusting the near-end equipment to be time-synchronized with a base station to which the first cell belongs; sending a heartbeat packet to a remote device; if the first information is received, determining that the time of the near-end equipment is synchronous with that of the far-end equipment; the first information is sent by the remote device according to the received heartbeat packet. By adopting the invention, the time synchronization of the near-end equipment and the far-end equipment can be realized in a wireless mode, and the additional increase of hardware and hardware interfaces is avoided.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a communication synchronization method, device, apparatus, and storage medium.
Background
In order to ensure normal communication between cellular communication devices, it is necessary to synchronize the time of the cellular communication devices that have a communication demand. At present, time synchronization is mainly performed between cellular communication devices in a wired manner, that is, a near-end device outputs a frame header thereof, and a far-end device receives and adjusts a timing deviation of itself according to the frame header, thereby achieving time synchronization between the near-end device and the far-end device.
Disclosure of Invention
Embodiments of the present application provide a communication synchronization method, device, apparatus, and storage medium, which can synchronize time between a near-end device and a far-end device in a wireless manner, thereby avoiding additional hardware and hardware interfaces.
In order to solve the above technical problem, in a first aspect, an embodiment of the present application provides a communication synchronization method, where the method is applied to a near-end device; the method comprises the following steps:
performing a cell search process to determine a first cell;
adjusting the near-end equipment to be time-synchronized with a base station to which the first cell belongs;
sending a heartbeat packet to a remote device;
if the first information is received, determining that the time of the near-end equipment is synchronous with that of the far-end equipment; the first information is sent by the far-end equipment according to the received heartbeat packet.
In a second aspect, an embodiment of the present application further provides a communication synchronization method, where the method is applied to a remote device, and the method includes:
performing a cell search process to determine a second cell;
adjusting the remote device to be time-synchronized with a base station to which the second cell belongs;
if a heartbeat packet is received, determining whether the far-end equipment and the near-end equipment are time-synchronized according to the heartbeat packet;
wherein the heartbeat packet is transmitted by the near-end device.
In a third aspect, an embodiment of the present application further provides a communication synchronization apparatus, where the communication synchronization apparatus includes: a storage device and a processor, wherein the processor is capable of,
the storage device is used for storing program codes;
the processor, when invoking the stored code, is configured to perform the communication synchronization method according to the first aspect.
In a fourth aspect, an embodiment of the present application further provides a communication synchronization apparatus, where the communication synchronization apparatus includes: a storage device and a processor, wherein the processor is capable of,
the storage device is used for storing program codes;
the processor, when invoking the stored code, is configured to perform the communication synchronization method according to the second aspect.
In a fifth aspect, an embodiment of the present application further provides a communication synchronization apparatus, where the communication synchronization apparatus includes:
a search module to perform a cell search process to determine a first cell;
a synchronization module, configured to adjust a near-end device to be time-synchronized with a base station to which the first cell belongs;
the sending module is used for sending the heartbeat packet to the remote equipment;
the determining module is used for determining that the time of the near-end equipment is synchronous with that of the far-end equipment if the first information is received; the first information is sent by the remote device according to the received heartbeat packet.
In a sixth aspect, an embodiment of the present application further provides a communication synchronization apparatus, where the communication synchronization apparatus includes:
a search module to perform a cell search process to determine a second cell;
a synchronization module, configured to adjust a remote device to be time-synchronized with a base station to which the second cell belongs;
the determining module is used for determining whether the far-end equipment and the near-end equipment are time-synchronized according to the heartbeat packet if the heartbeat packet is received;
wherein the heartbeat packet is transmitted by the near-end device.
In a seventh aspect, this application embodiment further provides a computer-readable storage medium for storing a computer program, where the computer program causes a computer to execute the communication synchronization method according to the first aspect.
In an eighth aspect, the present embodiments also provide a computer-readable storage medium for storing a computer program, where the computer program makes a computer execute the communication synchronization method according to the second aspect.
In a ninth aspect, an embodiment of the present application further provides a communication synchronization system, where the communication synchronization system includes a first communication synchronization apparatus and a second communication synchronization apparatus, the first communication synchronization apparatus is configured to implement the method in the first aspect, and the second communication synchronization apparatus is configured to implement the method in the second aspect.
The embodiment of the application has the following beneficial effects:
the near-end equipment and the far-end equipment can be adjusted to be time synchronous with the base station in a wireless mode, and the near-end equipment and the far-end equipment can determine the time synchronization of the near-end equipment and the far-end equipment through information interaction, so that the time synchronization of the near-end equipment and the far-end equipment is realized in a wireless mode, extra hardware and hardware interfaces are avoided, and the time synchronization cost of the near-end equipment and the far-end equipment can be effectively reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a scene diagram of a communication synchronization method according to an embodiment of the present application;
fig. 2 is a schematic hardware structure diagram of a near-end device and a far-end device according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a communication synchronization method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another communication synchronization method according to an embodiment of the present application;
fig. 5 is an interaction flow diagram of a communication synchronization method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a radio frame according to an embodiment of the present disclosure;
fig. 7 is a timing diagram illustrating that a remote device transmits a RACH message and second information according to an embodiment of the present disclosure;
fig. 8 is a schematic flowchart of another communication processing method according to an embodiment of the present application;
fig. 9 is a schematic flowchart of another communication processing method according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a communication synchronization apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a communication synchronization apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another communication synchronization 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.
It should be noted that the terms "first," "second," 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.
Referring to fig. 1, fig. 1 is a scene diagram of a communication synchronization method according to an embodiment of the present application, specifically referring to fig. 1, in the scene, a near-end device 101 and a far-end device 102 need to perform time synchronization processing to ensure that communication can be performed normally under the condition that the two devices are time synchronized.
Wherein, the near-end device 101 refers to a cellular communication device that is closer to the base station 103 than the far-end device 102; the far-end device 102 refers to a cellular communication device that is further away from the base station 103 than the near-end device 101, i.e. the distance between the near-end device 101 and the base station 103 is smaller than the distance between the far-end device 102 and the base station 103; the near-end device 101 may also be referred to as a master and the far-end device 102 as a slave.
In the embodiment of the present application, the time synchronization processing performed by the near-end device 101 and the far-end device 102 specifically includes the following two processes:
the first process is as follows: the near-end device 101 performs a cell search process to determine a first cell; adjusting the near-end device 101 to be time-synchronized with the base station to which the first cell belongs; that is, the time synchronization information of the first cell is read in the process of cell search processing, and the near-end device 101 is adjusted to be time-synchronized with the base station to which the first cell belongs according to the time synchronization information of the first cell.
The time synchronization information corresponding to different communication standards and communication systems may be different. In an LTE (Long Term Evolution) system, time synchronization Information is MIB (Master Information Block); when the near-end device 101 executes the cell search processing, the near-end device 101 sequentially executes the processes of starting, PSS (Primary Synchronization Signal) monitoring, SSS (Secondary Synchronization Signal) monitoring, and reading the MIB of the first cell, that is, the near-end device 101 can be adjusted to be time-synchronized with the first cell. The near-end device may further continue to perform other cell search processing, such as reading an SIB (System Information Block, system message Block) of the first cell, after reading the MIB of the first cell, which is not limited herein.
Wherein the first cell is a cell satisfying a first condition that a Reference Signal Receiving Power (Reference Signal Receiving Power) of the cell is within a first RSRP threshold range. The first cell is a cell satisfying the first condition, which ensures that the near-end device 101 can normally communicate with the network side through the first cell. The first RSRP threshold range may be configured by higher layer signaling of the near-end device 101, or may be specified by a protocol, or may be set by a human at the near-end device 101, which is not limited herein.
The remote device 102 performs a cell search process to determine a second cell; adjusting the remote device 102 to be time-synchronized with the base station to which the second cell belongs; that is, in the process of cell search processing, the time synchronization information of the second cell is read, and according to the time synchronization information of the second cell, the remote device 102 is adjusted to be time-synchronized with the base station to which the second cell belongs.
Wherein the second cell is a cell satisfying a second condition that the RSRP of the cell is within a second RSRP threshold range. The second cell is a cell satisfying the second condition, which ensures that the remote device 102 can normally communicate with the network side through the second cell. The second RSRP threshold range may be configured by higher layer signaling of the remote device 102, or specified by a protocol, or set by a human at the remote device 102; the first RSRP threshold range and the second RSRP threshold range may be the same or different, and are not limited herein.
It should be noted that, the processes of the cell search processing performed by the near-end device 101 and the cell search processing performed by the far-end device 102 may overlap in time or may be staggered with each other, which is not limited herein. The base station to which the first cell belongs and the base station to which the second cell belongs may be the same base station or different base stations; the first cell and the second cell may be the same cell or different cells; if the first cell and the second cell are the same cell (belong to the same base station), the near-end device 101 and the far-end device 102 can perform time synchronization.
Specifically, after the near-end device 101 is adjusted to be time-synchronized with the base station to which the first cell belongs, and the far-end device 102 is adjusted to be time-synchronized with the base station to which the second cell belongs, the near-end device 101 and the far-end device 102 perform information interaction to determine whether the near-end device 101 and the far-end device 102 are time-synchronized; if the time of the far-end device 102 is not synchronized with that of the near-end device 101, the far-end device 102 will update the second cell, that is, the far-end device 102 is adjusted to be time-synchronized with the base station to which the new second cell belongs, and then the near-end device 101 interacts with the far-end device 102 again, and the process is circulated until the time synchronization between the near-end device 101 and the far-end device is determined.
In this embodiment of the present application, since the clock source of the near-end device 101 is different from the clock source of the base station to which the first cell belongs, and the clock source of the far-end device 102 is different from the clock source of the base station to which the second cell belongs, after the first process, time synchronization deviation and frequency deviation (frequency deviation) may occur between the near-end device 101 and the far-end device 102 and the corresponding base station, and therefore, the time synchronization processing performed between the near-end device 101 and the far-end device 102 further includes a second process.
The second process is as follows: after the first process, the near-end device 101 receives a (frequency point) signal of a base station (to which the first cell belongs), acquires a time synchronization deviation and a frequency deviation (frequency deviation) between the near-end device 101 and the base station according to the signal of the base station, and corrects the time synchronization deviation and the frequency deviation of the near-end device 101 to maintain time synchronization with the base station to which the first cell belongs.
The remote device 102 receives a (frequency point) signal of a base station (to which the second cell belongs), acquires a time synchronization deviation and a frequency offset of the remote device 102 and the base station according to the signal of the base station, and corrects the time synchronization deviation and the frequency offset of the remote device 102 to maintain time synchronization with the base station to which the second cell belongs.
It should be noted that the communication frequency points used when the near-end device 101 communicates with the far-end device 102 may be set in advance on the near-end device 101 and the far-end device 102, and the communication frequency points need to be set to be different from used frequency points such as a public network frequency point, a private network frequency point, and a WIFI (Wireless Fidelity) frequency point.
In the embodiment of the present application, after the near-end device 101 and the far-end device 102 perform the first procedure, the near-end device 101 and the far-end device 102 can communicate with each other. Only in case that the near-end device 101 and the far-end device 102 are time-synchronized, the near-end device 101 can correctly receive the data transmitted by the far-end device 102, and the far-end device 102 can correctly receive the data transmitted by the near-end device 101.
It should be noted that the remote device 102 is not limited to the remote device 102 shown in fig. 1, and may also be multiple remote devices 102. The near-end device 101 and the far-end device 102 may be Modem terminals, and may also be other types of cellular communication terminals, which are not limited herein. The near-end device 101 and the far-end device 102 are not limited to receive signals of the same base station 103 shown in fig. 1, but may receive signals of different base stations.
Referring to fig. 2, fig. 2 is a schematic diagram of a hardware structure of a near-end device and a far-end device according to an embodiment of the present disclosure. Specifically, as shown in fig. 2, the near-end device 20 and the far-end device 21 determine a bandwidth signal of 2490MHz and 1.4MHz as a communication frequency point, where the communication frequency point is different from a public network frequency point, a frequency point used by a private network, and a frequency point used by WiFi.
SAW 201 in fig. 2 is a bandwidth filter for band-pass filtering a signal; the switch 202 is configured to switch the near-end device 20 or the far-end device 21 to a receiving state or a sending state, and/or is configured to switch a frequency point used by the near-end device 20 or the far-end device 21; the near-end device 20 is a sending-end device, and the far-end device 21 is a receiving-end device, or the near-end device 20 is a receiving-end device, and the far-end device 21 is a sending-end device; RFIC (radio frequency integrated circuit) + modem (modem) 203 in a transmitting end device is used to generate and transmit data signals such as: determining the sending power corresponding to the transmission block in the information frame according to the bit value of the data stream, and sending the data signal of the transmission block according to each determined sending power; the RFIC + modem 203 in the receiving end device is configured to receive a data signal and determine a bit value corresponding to the received data signal, for example: receiving a data Signal, and determining a bit value of a data stream corresponding to a transmission block in an information frame according to a Received Signal Strength Indication (RSSI) corresponding to the data Signal. The near-end device 20 and the far-end device 21 communicate with each other in a wireless or wired manner.
Referring to fig. 3, fig. 3 is a flow chart of a communication synchronization method provided in an embodiment of the present application, and the present specification provides the method operation steps as described in the embodiment or the flow chart, but may include more or less operation steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of sequences, and does not represent a unique order of performance. In the actual execution of the terminal or the storage medium product, the methods according to the embodiments or shown in the drawings can be executed sequentially or in parallel. As shown in particular in fig. 3, the method is applied to a proximal device; the method comprises the following steps:
s301: a cell search process is performed to determine a first cell.
S302: and adjusting the near-end equipment to be time-synchronized with the base station to which the first cell belongs.
S303: and sending the heartbeat packet to the remote device.
In this embodiment of the present application, the heartbeat packet is used to notify the far-end device of a state of time synchronization between the near-end device and the base station to which the first cell belongs at regular time, and may be sent at a certain time interval, which is similar to a heartbeat, and therefore is called a heartbeat packet. The near-end device may wirelessly transmit the heartbeat packet, and the near-end device may periodically transmit the heartbeat packet in a broadcast manner.
If the first message is received, step S304 is executed.
S304: determining that the near-end device is time synchronized with the far-end device.
Wherein the first information is sent by the remote device according to the received heartbeat packet.
It should be noted that step S302 is executed in the process of executing step S301.
In the embodiment of the application, the near-end device can be adjusted to be time-synchronized with the base station to which the first cell belongs in a wireless manner, and performs information interaction with the near-end device to determine time synchronization between the near-end device and the far-end device, so that time synchronization between the near-end device and the far-end device is realized in a wireless manner, additional hardware and hardware interfaces are avoided, and the time synchronization cost between the near-end device and the far-end device can be effectively reduced.
Referring to fig. 4, fig. 4 is a flow chart of another communication synchronization method provided in the embodiments of the present application, and the present specification provides the method operation steps as described in the embodiments or the flow chart, but may include more or less operation steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In the actual execution of the terminal or the storage medium product, the methods according to the embodiments or shown in the drawings can be executed sequentially or in parallel. As shown in fig. 4 in particular, the method is applied to a remote device; the method comprises the following steps:
s401: a cell search process is performed to determine a second cell.
S402: and adjusting the remote equipment to be time-synchronized with the base station to which the second cell belongs.
In this embodiment of the present application, the heartbeat packet is used to notify the far-end device of a state of time synchronization between the near-end device and the base station to which the first cell belongs at regular time, and may be sent at a certain time interval, which is similar to a heartbeat, and therefore is called a heartbeat packet. The near-end device may wirelessly transmit the heartbeat packet, and the near-end device may periodically transmit the heartbeat packet in a broadcast manner. The remote device may receive the heartbeat packet wirelessly.
If the heartbeat packet is received, step S403 is executed.
S403: and determining whether the far-end equipment and the near-end equipment are time-synchronized according to the heartbeat packet.
Wherein the heartbeat packet is transmitted by the near-end device.
It should be noted that step S402 is executed in the process of executing step S401.
In the embodiment of the application, the far-end device is adjusted to be time-synchronized with the base station to which the second cell belongs in a wireless manner, and performs information interaction with the near-end device to determine time synchronization between the far-end device and the near-end device, so that time synchronization between the near-end device and the far-end device is realized in a wireless manner, additional hardware and hardware interfaces are avoided, and the time synchronization cost between the near-end device and the far-end device can be effectively reduced.
Referring to fig. 5, fig. 5 is an interactive flow chart of a communication synchronization method provided in the embodiment of the present application, and the present specification provides the method operation steps as described in the embodiment or the flowchart, but may include more or less operation steps based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of sequences, and does not represent a unique order of performance. In the actual execution of the terminal or the storage medium product, the methods according to the embodiments or shown in the drawings can be executed sequentially or in parallel. The method comprises the following steps:
s501: the near-end device performs a cell search process to determine a first cell.
In this embodiment of the present application, the determining the first cell includes:
determining cells satisfying a first condition among the searched cells;
and determining the cell with the maximum Reference Signal Received Power (RSRP) in the cells meeting the first condition as a first cell.
In this embodiment, the meeting of the first condition means that RSRP of the cell is within a first RSRP threshold range.
Specifically, the near-end device may search N cells meeting the first condition in the process of performing cell search processing, where N is a positive integer, and select the maximum RSRP among the N cells meeting the first condition as the first cell, so that the near-end device can implement high-quality normal communication with the network side through the first cell.
S502: the near-end device adjusts the near-end device to be time-synchronized with the base station to which the first cell belongs.
In this embodiment, the adjusting the time synchronization between the near-end device and the base station to which the first cell belongs includes:
and reading the time synchronization information of the first cell.
And adjusting the near-end equipment to be time-synchronized with the base station to which the first cell belongs according to the time synchronization information of the first cell.
In different communication standards and communication systems, time synchronization information is different; in the LTE communication system, the near-end equipment reads the MIB of the first cell and adjusts the near-end equipment to be time-synchronized with the base station to which the first cell belongs according to the MIB of the first cell.
It should be noted that step S502 is executed in the process of executing step S501.
S503: the remote device performs a cell search process to determine a second cell.
In this embodiment of the application, the determining the second cell includes:
determining cells satisfying a second condition among the searched cells;
and determining the cell with the maximum Reference Signal Received Power (RSRP) in the cells meeting the second condition as a second cell.
In this embodiment, the second condition is met, that is, the RSRP of the cell is within a second RSRP threshold range.
Specifically, the remote device may search M cells meeting the second condition in the process of performing cell search processing, where M is a positive integer, and select the maximum RSRP among the M cells meeting the second condition as the second cell, so that the remote device can implement high-quality normal communication with the network side through the second cell.
In this embodiment, the remote device may set a second cell standby List (List), and the remote device may store, in the process of performing cell search processing, the M cells that satisfy the second condition that are searched in the second cell standby List, where the second cell standby List at least stores cell numbers of the M cells, RSRPs of the cells, and a correspondence between the cell numbers and the RSRPs of the cells, so as to facilitate subsequent call of cell information in the second cell standby List. And if the cell stored in the second cell standby list does not meet the second condition, deleting the related information of the cell from the second cell standby list.
S504: and the remote equipment adjusts the remote equipment to be time-synchronized with the base station to which the second cell belongs.
In this embodiment, the adjusting the remote device to be time-synchronized with the base station to which the second cell belongs includes:
reading time synchronization information of the second cell;
and adjusting the remote equipment to be time-synchronized with the base station to which the second cell belongs according to the time synchronization information of the second cell.
Specifically, in the LTE communication system, the remote device reads the MIB of the second cell, and adjusts the remote device to be time-synchronized with the base station to which the second cell belongs according to the MIB of the second cell.
It should be noted that step S504 is executed during the process of executing step S503, and step S503 and/or step S504 are not limited to be executed after step S502, and may be executed before step S501 and/or step S502, and may also be executed during the process of executing step S501 and/or step S502.
S505: the near-end device sends a heartbeat packet to the far-end device.
In this embodiment of the present application, the heartbeat packet is used to notify the far-end device of a state of time synchronization between the near-end device and the base station to which the first cell belongs at regular time, and may be sent at a certain time interval, which is similar to a heartbeat, and therefore is called a heartbeat packet. The near-end equipment can send the heartbeat packet in a wireless mode, and the near-end equipment can periodically send the heartbeat packet in a broadcasting mode by utilizing the communication frequency point. The remote device can receive the heartbeat packet in a wireless mode (by utilizing a communication frequency point).
In an embodiment of the present application, the near-end device communicates with the far-end device by using a first information frame, where the first information frame includes a transport block; the transmission block is used for storing data of the near-end device communicating with the far-end device, namely the data sent by the near-end device to the far-end device. The first information frame may be for use by a near-end device assigned by the network side.
Therefore, the time domain position corresponding to the first information frame comprises a first time domain position, a second time domain position and a third time domain position; the first time domain position is a time domain position corresponding to a transmission block in the first information frame; the second time domain position is located before the first time domain position; the third time domain position is located between the second time domain position and the first time domain position and/or the third time domain position is located after the first time domain position.
In this embodiment of the present application, the far-end device communicates with the near-end device using a second information frame, where the second information frame includes a transport block; the transmission block is used for storing the data of the communication between the far-end equipment and the near-end equipment, namely the data sent to the near-end equipment by the far-end equipment. The second information frame may be allocated by the network side for use by a remote device.
The time domain position corresponding to the second information frame comprises a fourth time domain position, a fifth time domain position and a sixth time domain position; the fourth time domain position is a time domain position corresponding to a transmission block in the second information frame; the fifth time domain position is located before the fourth time domain position; the sixth time domain position is located between the fifth time domain position and the fourth time domain position and/or the sixth time domain position is located after the fourth time domain position.
In this embodiment, the first information frame and the second information frame have the same subframe structure, the first time domain position corresponds to the fourth time domain position, the second time domain position corresponds to the fifth time domain position, and the third time domain position corresponds to the sixth time domain position.
In this embodiment, the near-end device and the far-end device may communicate in a wired communication manner, for example: the communication is carried out through cables, optical fibers and a wireless communication mode; if the near-end equipment communicates with the far-end equipment in a wireless communication mode, the first information frame is a wireless frame; and if the far-end equipment is communicated with the near-end equipment in a wireless communication mode, the second information frame is a wireless frame. The near-end device and the far-end device can normally communicate only if the first information frame is time-aligned with the second information frame, i.e., if the near-end device and the far-end device are time-synchronized.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a radio frame according to an embodiment of the present disclosure, specifically, as shown in fig. 6, a communication cycle of the radio frame is 160ms, each radio frame has 10 subframes, such as a 0 th subframe to a 9 th subframe, and each radio frame corresponds to a time domain position of 10 ms; in each wireless frame, the time domain position corresponding to the transmission block is the time domain position corresponding to the 2 nd sub-frame to the 7 th sub-frame; for a first information frame, a first time domain position is a time domain position corresponding to a 2 nd sub-frame to a 7 th sub-frame, a second time domain position is a time domain position corresponding to a 0 th sub-frame, and a third time domain position is a time domain position corresponding to at least one of a 1 st sub-frame, an 8 th sub-frame and a 9 th sub-frame; for the second information frame, the fourth time domain position is the time domain position corresponding to the 2 nd sub-frame to the 7 th sub-frame, the fifth time domain position is the time domain position corresponding to the 0 th sub-frame, and the sixth time domain position is the time domain position corresponding to at least one sub-frame of the 1 st sub-frame, the 8 th sub-frame and the 9 th sub-frame.
The second time domain position located before the first time domain position means that the second time domain position is located before the time domain position corresponding to the transmission block in the same first information frame, for example: the 0 th subframe precedes the 2 nd subframe (to the 7 th subframe) in the same radio frame.
The third time domain position located between the second time domain position and the first time domain position means that the third time domain position is located between the second time domain position and the time domain position corresponding to the transmission block in the same first information frame, for example: the 1 st subframe is located between the 0 th subframe and the 2 nd subframe (to the 7 th subframe) in the same radio frame.
The third time domain position located after the first time domain position means that the third time domain position is located after the time domain position corresponding to the transmission block in the same first information frame, for example: the 8 th subframe and the 9 th subframe are positioned after (2 nd subframe to) 7 th subframe in the same radio frame.
The fifth time domain position located before the fourth time domain position means that the fifth time domain position is located before the time domain position corresponding to the transmission block in the same second information frame, for example: the 0 th subframe is located before the 2 nd subframe (to the 7 th subframe) in the same radio frame.
The sixth time domain position located between the fifth time domain position and the fourth time domain position means that the sixth time domain position is located between the fifth time domain position and the time domain position corresponding to the transmission block in the same second information frame, for example: the 1 st subframe is located between the 0 th subframe and the 2 nd subframe (to the 7 th subframe) in the same radio frame.
The sixth time domain position located after the fourth time domain position means that the sixth time domain position is located after the time domain position corresponding to the transmission block in the same second information frame, for example: the 8 th subframe and the 9 th subframe are located after (2 nd subframe to) 7 th subframe in the same radio frame.
The communication cycle of the radio frame is not limited to 160ms shown in fig. 6, and may be set to other time lengths.
In this embodiment, the heartbeat packet is sent by the near-end device at the first time domain location.
The first time domain position of the first information frame includes: the time domain position corresponding to the heartbeat packet, where the near-end device sends the heartbeat packet at the time domain position corresponding to the heartbeat packet in the first information frame, specifically as shown in fig. 6, the time domain position corresponding to the heartbeat packet in the first information frame may be a time domain position corresponding to a 5 th subframe from a 2 nd subframe to a 7 th subframe.
S506: the remote device receives the heartbeat packet at a fourth time domain location.
In this embodiment, the fourth time domain position of the second information frame includes: the time domain position corresponding to the heartbeat packet in the second information frame is in a state of being allowed to receive the heartbeat packet, that is, the remote device may receive the heartbeat packet at the time domain position corresponding to the heartbeat packet in the second information frame, specifically, as shown in fig. 6, the time domain position corresponding to the heartbeat packet in the second information frame may be a time domain position corresponding to a 5 th subframe from a 2 nd subframe to a 7 th subframe. If the first information frame and the second information frame have the same structure and are aligned in time, the far-end device can correctly receive the heartbeat packet sent by the near-end device. And if the time of the near-end equipment is synchronous with that of the far-end equipment, the first information frame is aligned with the second information frame in time.
In the embodiment of the application, the heartbeat packet stores first frame counting information corresponding to the near-end device; the first frame count information is used to indicate the count information of the wireless frame used by the near-end device, and the first frame count information includes: superframe information of the near-end equipment is different from first frame counting information in different communication systems and communication standards; in the LTE communication system, the first Frame count information is an HFN (Hyper Frame Number) corresponding to the near-end device.
In this embodiment of the present application, the heartbeat packet stores frequency point information of a base station to which the first cell belongs and cell information of the first cell, where the cell information of the first cell at least includes a cell number of the first cell; the cell number is used for distinguishing different cells belonging to the same base station; the frequency point information of the base station to which the first cell belongs and the cell information of the first cell can be acquired in the process of cell search processing executed by the near-end equipment.
If the remote device receives the heartbeat packet, step S507 is executed.
If the remote device does not receive the heartbeat packet, step S508 is executed.
The far-end device receiving the heartbeat packet means that the far-end device receives the heartbeat packet in a first time period, for example: the first time period corresponds to 5 time domain positions of second information frames used for communicating with the near-end equipment, namely, corresponds to time domain positions corresponding to heartbeat packets in the 5 second information frames, and if the far-end equipment receives the heartbeat packets at any position of the time domain positions corresponding to the heartbeat packets in the 5 second information frames, the far-end equipment is determined to receive the heartbeat packets; the far-end device does not receive the heartbeat packet, which means that the far-end device does not receive the heartbeat packet in a first time period, for example: if the remote device does not receive the heartbeat packet at the time domain position corresponding to the heartbeat packet in the 5 second information frames, determining that the remote device does not receive the heartbeat packet.
It should be noted that the first time period may be configured by a higher layer signaling of the remote device, or defined by a protocol, or set by a human at the remote device, and is not limited herein.
S507: and the far-end equipment determines whether the far-end equipment and the near-end equipment are time-synchronized or not according to the heartbeat packet.
Wherein the heartbeat packet is transmitted by the near-end device.
In this embodiment of the present application, determining whether the far-end device and the near-end device are time-synchronized according to the heartbeat packet includes:
s5071: the remote equipment acquires the frequency point information of the base station to which the first cell belongs and the cell information of the first cell according to the heartbeat packet; wherein the near-end equipment is time-synchronized with a base station to which the first cell belongs;
if the frequency point information of the base station to which the second cell belongs is the same as the frequency point information of the base station to which the first cell belongs, and the cell information of the second cell is the same as the cell information of the first cell, step S5072 is executed.
The frequency point information of the base station to which the second cell belongs and the cell information of the second cell may be obtained in the process of performing cell search processing by the remote device.
And if the frequency point information of the base station to which the second cell belongs is the same as the frequency point information of the base station to which the first cell belongs, namely the frequency points of the base stations of the two cells are the same, the second cell and the first cell belong to the same base station.
In order to further ensure the accuracy of time synchronization between the near-end device and the far-end device, it is further necessary to determine whether the first cell and the second cell are the same cell; specifically, on the basis that the frequency point information of the base station to which the second cell belongs is the same as the frequency point information of the base station to which the first cell belongs, if the cell information of the second cell is the same as the cell information of the first cell, for example: and if the cell number of the second cell is the same as that of the first cell, determining that the second cell and the first cell are the same.
If the frequency point information of the base station to which the second cell belongs is not the same as the frequency point information of the base station to which the first cell belongs, and/or the cell information of the second cell is not the same as the cell information of the first cell, step S5073 is executed.
S5072: and the far-end equipment determines that the far-end equipment and the near-end equipment are time-synchronized, namely the far-end equipment and the near-end equipment are time-synchronized according to the heartbeat packet.
In order to ensure the reliability of determining time synchronization between the far-end device and the near-end device, at least one information interaction between the far-end device and the near-end device needs to be completed, that is, after determining the time synchronization between the far-end device and the near-end device according to the heartbeat packet, step S509 needs to be executed.
If the far-end device determines that the near-end device and the far-end device are time-synchronized, step S514 may also be performed.
S5073: and the far-end equipment determines that the time of the far-end equipment is not synchronized with that of the near-end equipment, namely the time of the far-end equipment is not synchronized with that of the near-end equipment according to the heartbeat packet.
If it is determined that the time of the far-end device is not synchronized with that of the near-end device according to the heartbeat packet, step S508 is performed.
S508: the remote device updates the second cell.
In this embodiment of the present application, the updating the second cell includes:
excluding a second cell corresponding to the condition that the heartbeat packet is not received, or excluding a second cell corresponding to the condition that the time of the far-end equipment and the time of the near-end equipment are not synchronous according to the heartbeat packet;
determining cells satisfying a second condition among the remaining cells;
and updating the cell which meets the second condition and has the maximum RSRP in the rest cells into a new second cell.
The second cell that does not receive the heartbeat packet refers to the second cell that does not receive the heartbeat packet within the first time period after the remote device is adjusted to be time-synchronized with the second cell. Determining the second cell, to which the time of the far-end device is not synchronized with that of the near-end device, according to the heartbeat packet means that the far-end device receives the heartbeat packet after being adjusted to be time-synchronized with the second cell, and determining the second cell, to which the time of the far-end device is not synchronized with that of the near-end device, according to the heartbeat packet.
Specifically, the second cell corresponding to the heartbeat packet that is not received in the second cell standby list may be excluded, or the second cell corresponding to the time synchronization failure between the far-end device and the near-end device that is determined according to the heartbeat packet may be excluded, and the far-end device does not need to perform the cell search processing again to determine the updated second cell.
After updating the second cell, the remote device executes step S504.
S509: and the far-end equipment sends first information so that the near-end equipment determines time synchronization between the near-end equipment and the far-end equipment according to the first information.
In the embodiment of the application, the remote device may send the first information in a broadcast manner. The first information includes: a RACH (Random Access Channel) message; the RACH message is used to request a near-end device to assign a node ID (Identification); the node ID is used to indicate a timing corresponding to a first information frame used by the near-end device when communicating with the far-end device. The time sequence corresponding to the first information frame refers to the time sequence of the first information frame appearing in a first information frame period. The near-end device may designate to communicate with the same far-end device through one or more first information frames in one communication cycle.
A plurality of first information frames are contained in a period of one first information frame; one near-end device can communicate with a plurality of far-end devices, the near-end device only communicates with one far-end device through one first information frame, so that a node ID needs to be sent to the far-end device, and the far-end device determines to communicate with the near-end device by using a second information frame corresponding to the time sequence of the first information frame corresponding to the node ID according to the node ID.
Such as: in the 160ms radio cycle shown in fig. 6, 16 radio frames are included, the node ID is used to instruct the near-end device to communicate with the far-end device using the 1 st first information frame of the 16 first information frames (radio frames) included in one radio cycle, and the far-end device communicates with the near-end device using the 1 st second information frame of the 16 second information frames (radio frames) included in one radio cycle according to the node ID; or, the near-end device is instructed to communicate with the far-end device by using the 1 st, 4 th and 7 th first information frames in 16 first information frames (wireless frames) contained in one wireless cycle; the far-end device communicates with the near-end device according to the node ID by using the 1 st, 4 th and 7 th second information frames in 16 second information frames (wireless frames) contained in one wireless cycle.
In the embodiment of the present application, the remote device can ensure that the near-end device communicates with a plurality of remote devices orderly and normally by requesting the near-end device to assign the node ID.
If the near-end device receives the first information, step S510 is executed.
S510: a near-end device determines that the near-end device is time synchronized with the far-end device.
Wherein the first information is sent by the remote device according to the received heartbeat packet.
In order to further ensure the reliability of determining the time synchronization between the far-end device and the near-end device, step S511 is also required to be executed.
S511: the near-end equipment sends RACHACK (acknowledgement Character) to the far-end equipment which sends the first information according to the first information;
wherein, the RACH message is used for requesting the near-end equipment to allocate a node identification ID; the RACH ACK is used for allocating a node ID to the remote equipment; the node ID is used to indicate a timing corresponding to a first information frame used by the near-end device when communicating with the far-end device. The first information may be transmitted in the form of a RACH frame.
S512: the remote device receives a RACH acknowledgment character ACK.
Wherein the RACH ACK is transmitted by the near-end device according to the received RACH message.
The far-end device may finally determine that the far-end device and the near-end device are time synchronized after receiving the RACH ACK.
S513: and the remote equipment acquires the node identification ID which is distributed to the remote equipment by the near-end equipment according to the RACH ACK.
The far-end equipment acquires the node identification ID which is distributed to the far-end equipment by the near-end equipment, and can confirm the time sequence corresponding to a second information frame used for communicating with the near-end equipment.
S514: and the far-end equipment updates second frame counting information corresponding to the far-end equipment according to the received heartbeat packet so that the updated second frame counting information is the same as the first frame counting information corresponding to the near-end equipment.
Wherein the heartbeat packet stores the first frame count information.
In this embodiment of the application, the second frame count information is used to indicate count information of a wireless frame used by the remote device, and the second frame count information includes: superframe information of the remote equipment is different from second frame counting information in different communication systems and communication standards; in the LTE communication system, the second frame count information is an HFN corresponding to the remote device.
The second frame counting information is updated to the first frame counting information, so that the far-end equipment can be effectively ensured to correctly receive the communication information sent by the near-end equipment. Since the far-end device needs to decrypt the data packet sent by the near-end device according to the COUNT value, and the COUNT value includes HFN and SN (Sequence Number), the far-end device can correctly decrypt the data packet sent by the near-end device only when the HFN of the far-end device and the HFN of the near-end device are synchronized, so as to implement normal communication between the near-end device and the far-end device.
Step S514 is not limited to being executed after step S513, and may be executed after step S5072.
S515: the remote device transmits the second information.
Wherein the second information is transmitted in a second information frame different from the RACH message. The second information may be transmitted in the form of a data frame.
Referring to fig. 7, fig. 7 is a timing diagram illustrating that a remote device sends a RACH message and second information in a corresponding manner, specifically, as shown in fig. 7, the periods of the first information frame and the second information frame are both T1ms, each of the first information frame and each of the second information frame corresponds to a time domain position of T2ms, and T2 is smaller than T1. The near-end equipment communicates with the far-end equipment at a time domain position corresponding to a first information frame in each first information frame period; the far-end device communicates with the near-end device at the time domain position corresponding to the first second information frame in each second information frame period. As shown in fig. 7, the remote device sends an RACH message at a time domain position corresponding to the first second information frame in the second information frame period, and the near-end device receives an RACH message sent by the remote device at a time domain position corresponding to the first information frame in the second first information frame period; the far-end device sends the second information at the time domain position corresponding to the first second information frame in the fourth second information frame period, and the near-end device receives the second information sent by the far-end device at the time domain position corresponding to the first information frame in the fourth first information frame period. The near-end device is in a sending state at the time domain position corresponding to the first information frame in the first and third first information frame periods, namely, in a state of being allowed to send data to the far-end device; the far-end device is in a receiving state at the time domain position corresponding to the first second information frame in the first and third second information frame periods, that is, in a state of being allowed to send data to the near-end device.
In this embodiment, the second information and the RACH message may be transmitted alternately staggered at time domain positions corresponding to different second information frames.
In an embodiment of the present application, the fourth time domain position includes: a time domain position corresponding to the RACH message and a time domain position corresponding to the second information; the first time domain location includes: a time domain position corresponding to the RACH message and a time domain position corresponding to the second information; specifically, as shown in fig. 6, the time domain position corresponding to the 4 th subframe of the 2 nd subframe to the 7 th subframe is the time domain position corresponding to the RACH message, the time domain position corresponding to the 5 th subframe is the time domain position corresponding to the heartbeat packet, the time domain position corresponding to the 6 th subframe is the time domain position corresponding to the second information, or the time domain position corresponding to the 4 th subframe of the 2 nd subframe to the 7 th subframe is the time domain position corresponding to the RACH message and is also the time domain position corresponding to the second information, and the time domain position corresponding to the 5 th subframe is the time domain position corresponding to the heartbeat packet, or the time domain position corresponding to the 5 th subframe of the 2 nd subframe to the 7 th subframe is the time domain position corresponding to the RACH message, the time domain position corresponding to the second information, and the time domain position corresponding to the heartbeat packet.
The remote equipment sends the RACH message at the time domain position corresponding to the RACH message in the second information frame, and sends the second information at the time domain position corresponding to the second information in the second information frame; the near-end equipment receives the RACH message at the time domain position corresponding to the RACH message in the first information frame, and receives the second information at the time domain position corresponding to the second information in the first information frame.
It should be noted that step S515 is not limited to be executed only after step S514, and may be executed after step S513.
S516: the near-end equipment receives the second information.
For specific description, refer to step S515, and details are not repeated herein.
After receiving the second information, the near-end device may further send feedback information to the far-end device according to the second information, for example: sending feedback information confirming receipt of the second information, and the like.
In the embodiment of the application, the near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs in a wireless manner, the far-end device is adjusted to be time-synchronized with the base station to which the second cell belongs in a wireless manner, and the near-end device can perform information interaction in a wireless manner to determine time synchronization of the near-end device and the far-end device, so that time synchronization of the near-end device and the far-end device is realized in a wireless manner, additional hardware and hardware interfaces are avoided, and the time synchronization cost of the near-end device and the far-end device can be effectively reduced.
Referring to fig. 8, fig. 8 is a schematic flowchart of another communication processing method provided in the embodiment of the present application, and specifically as shown in fig. 8, the method is applied to a near end device, and the method is executed after step S510 is executed, where the method includes:
s801: and receiving the signal of the base station to which the first cell belongs at a second time domain position in the time domain positions corresponding to the first information frame.
In the embodiment of the application, the near-end device receives, at the second time domain position, a frequency point signal of a base station to which the first cell belongs; as shown in fig. 6, the near-end device may receive a signal of a base station to which a cell belongs in the 0 th subframe of the first information frame (radio frame).
In the embodiment of the application, a first frequency point used when the near-end device receives a signal of a base station to which a first cell belongs is different from a communication frequency point (second frequency point) used when the near-end device communicates with the far-end device; specifically, as shown in fig. 6, the near-end device uses a first frequency point at a time domain position corresponding to the 0 th subframe of the first information frame, and uses a second frequency point at the 2 nd subframe to the 7 th subframe of the first information frame. The second frequency point can be set in the near-end equipment and the far-end equipment in advance, and the second frequency point needs to be set to be different from used frequency points such as a public network frequency point, a private network frequency point and a WIFI frequency point. The first frequency point is the frequency point of the base station to which the first cell belongs, which is determined when the near-end device performs the cell search processing.
S802: and correcting the time synchronization deviation and the frequency deviation of the near-end equipment at a third time domain position in the time domain positions corresponding to the first information frame according to the signal of the base station so as to keep time synchronization with the base station to which the first cell belongs.
In this embodiment, the correcting, according to the signal of the base station, the time synchronization deviation and the frequency offset of the near-end device includes:
s8021: calculating time synchronization deviation and frequency deviation (frequency deviation) of the near-end equipment and the base station of the first cell according to a signal of the base station to which the first cell belongs, time information (clock information) of the near-end equipment and a first frequency point used by the near-end equipment;
s8022: and correcting the time synchronization deviation and the frequency offset of the near-end equipment and the base station to which the first cell belongs so as to keep time synchronization with the base station to which the first cell belongs.
Specifically, as shown in fig. 6, the near-end device may perform step S8021 at the time domain position corresponding to one or more subframes of the 1 st subframe, the 8 th subframe and the 9 th subframe of the first information frame (radio frame), and perform step S8022 at the time domain position corresponding to one or more subframes of the 1 st subframe, the 8 th subframe and the 9 th subframe of the first information frame. The time domain position corresponding to the step S8021 executed by the near-end device and the time domain position corresponding to the step S8022 executed by the near-end device may be the time domain position corresponding to the same subframe, or the time domain positions corresponding to different subframes, for example: the near-end device performs step S8021 in the 1 st subframe, and performs step S8022 in the 8 th subframe or the 9 th subframe, for example: the near end device performs step S8021 and step S8022 in the 1 st subframe. The time domain position corresponding to the step S8021 and step S8022 executed by the near-end device may be configured by a high-level signaling of the near-end device, or specified by a protocol, or set manually, which is not limited herein.
The clock source of the first cell is different from the clock source of the near-end device, and it may occur that the frequency point signal of the base station to which the first cell belongs, which is received by the near-end device at the second time domain position of the first information frame, is different from the first frequency point, so that steps S801 to S802 need to be executed to keep the time synchronization between the near-end device and the base station to which the first cell belongs, and thus keep the time synchronization with the far-end device.
In this embodiment, the first information frame corresponding to the step S801 and the step S802 executed by the near-end device may be the same first information frame used when communicating with the near-end device and the far-end device, or may be different first information frames, specifically as shown in fig. 7, the near-end device may execute the step S801 and the step S802 in a first information frame (a first information frame used for receiving an RACH message) in a second first information frame period, or the near-end device may execute other first information frames except the first information frame in the second first information frame period, for example: the second first information frame, steps S801 and S802 are performed. The (timing of the) second information frame for performing steps S801 and S802 may be configured by the higher layer signaling of the near-end device, or set by a protocol, or set by an operator, which is not limited herein.
In this embodiment of the present application, if the near-end device does not receive the signal of the base station to which the first cell belongs within the second time period, step S501 is executed, that is, the cell search process is executed again to determine a new first cell. The second time period may be configured by higher layer signaling of the near-end device, or set by a protocol, or set by an operator, which is not limited herein.
The content related to steps S801 and S802 can refer to the description of fig. 1 and fig. 5, and is not described herein again.
In this embodiment, after the time synchronization of the near-end device is adjusted to the time synchronization of the far-end device in a wireless manner, the near-end device may further continue to receive a signal of the base station to which the first cell belongs in a wireless manner, and correct the time synchronization deviation and the frequency offset of the near-end device and the base station to which the first cell belongs according to the signal, so that the near-end device maintains the time synchronization with the base station to which the first cell belongs, thereby maintaining the time synchronization of the near-end device and the far-end device, avoiding additional hardware and hardware interfaces, and being capable of effectively reducing the cost of the time synchronization of the near-end device and the far-end device.
Referring to fig. 9, fig. 9 is a flowchart illustrating another communication processing method according to an embodiment of the present application, and specifically as shown in fig. 9, the method is applied to a remote device, and is executed after step S5072 is executed or after RACK ACK is received in step S512 is executed, where the method includes:
s901: and receiving the signal of the base station to which the second cell belongs at a fifth time domain position in the time domain positions corresponding to the second information frame.
In the embodiment of the application, the remote device receives, at the fifth time domain position, a frequency point signal of a base station to which the second cell belongs; as shown in fig. 6, the remote device may receive a signal of the base station to which the second cell belongs in the 0 th subframe of the second information frame (radio frame).
In the embodiment of the present application, a first frequency used when the far-end device receives a signal of a base station to which a second cell belongs is different from a communication frequency (second frequency) used when the far-end device communicates with the near-end device; specifically, as shown in fig. 6, the remote device uses the first frequency point in the 0 th subframe of the first information frame, and uses the second frequency point in the 2 nd subframe to the 7 th subframe of the second information frame. The second frequency point can be set in the near-end equipment and the far-end equipment in advance, and the second frequency point needs to be set to be different from used frequency points such as a public network frequency point, a private network frequency point and a WIFI frequency point. The first frequency point is a frequency point of a base station to which the second cell belongs, which is determined when the remote device performs cell search processing.
S902: and correcting the time synchronization deviation and the frequency offset of the remote equipment at a sixth time domain position in the time domain position corresponding to the second information frame according to the signal of the base station so as to keep time synchronization with the base station to which the second cell belongs.
In this embodiment of the present application, the correcting, according to the signal of the base station, the time synchronization deviation and the frequency offset of the remote device includes:
s9021: calculating time synchronization deviation and frequency deviation (frequency deviation) of the remote equipment and the base station to which the second cell belongs according to the signal of the base station to which the second cell belongs, time information (clock information) of the remote equipment and a first frequency point used by the remote equipment;
s9022: and correcting the time synchronization deviation and the frequency offset of the remote equipment and the base station to which the second cell belongs so as to keep time synchronization with the base station to which the second cell belongs.
Specifically, as shown in fig. 6, the remote device may perform step S9021 at a time domain position corresponding to one or more subframes of the 1 st subframe, the 8 th subframe, and the 9 th subframe of the second information frame (radio frame), and perform step S9022 at a time domain position corresponding to one or more subframes of the 1 st subframe, the 8 th subframe, and the 9 th subframe of the second information frame. The time domain position corresponding to the step S9021 and the time domain position corresponding to the step S9022 executed by the remote device may be time domain positions corresponding to the same subframe, or time domain positions corresponding to different subframes, for example: the remote device performs step S9021 in the 1 st subframe, and performs step S9022 in the 8 th subframe or the 9 th subframe, for example: the remote device performs step S9021 and step S9022 in the 1 st subframe. The time domain positions corresponding to the steps S9021 and S9022 executed by the far-end device may be configured by the high-level signaling of the near-end device, or specified by a protocol, or set by a human, which is not limited herein.
Since the clock source of the second cell is different from the clock source of the remote device, and the frequency point signal of the base station to which the second cell belongs, which is received by the remote device at the fifth time domain position of the second information frame, may be different from the first frequency point, steps S901 to S902 need to be executed to keep the time synchronization between the remote device and the base station to which the second cell belongs, so as to keep the time synchronization with the near-end device.
In this embodiment of the application, the second information frame corresponding to the step S901 and the step S902 executed by the remote device may be the same second information frame used when communicating with the remote device and the near-end device, or may be a different second information frame, specifically as shown in fig. 7, the remote device may execute the step S901 and the step S902 in a first second information frame (a second information frame used for sending an RACH message) in a second information frame period, or the remote device may execute other second information frames in the second information frame period except for the first second information frame, for example: and a second information frame, performing steps S901 and S902. The (timing of the) second information frame for performing steps S901 and S902 may be configured by the higher layer signaling of the remote device, or set by a protocol, or set by an operator, which is not limited herein.
In this embodiment of the application, if the remote device does not receive the signal of the base station to which the second cell belongs within the third time period, step S503 is executed, that is, the cell search process is executed again to determine a new second cell.
The content related to steps S901 and S902 can refer to the description of fig. 1 and fig. 5, and is not described herein again.
In this embodiment of the present application, after the time synchronization of the far-end device is adjusted to the time synchronization of the near-end device in a wireless manner, the far-end device may further continue to receive a signal of the base station to which the second cell belongs in a wireless manner, and correct the time synchronization deviation and the frequency offset of the far-end device and the base station to which the second cell belongs according to the signal, so that the far-end device maintains the time synchronization with the base station to which the second cell belongs, thereby maintaining the time synchronization between the far-end device and the near-end device, avoiding additional hardware and hardware interfaces, and effectively reducing the cost of the time synchronization between the near-end device and the far-end device.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a communication synchronization device according to an embodiment of the present application, specifically, as shown in fig. 10, the communication synchronization device includes: a storage 1001 and a processor 1002; and the communication synchronization apparatus may further include a data interface 1003 and a user interface 1004. Connections may also be made between the various pieces of hardware via various types of buses.
Through the data interface 1003, the communication synchronization device may interact data with other devices such as other terminals and servers; the user interface 1004 is used for realizing human-computer interaction between a user and the communication synchronization equipment; the user interface 1004 may provide a touch screen display, physical keys, etc. to enable human-machine interaction between a user and the communication synchronization apparatus.
The storage 1001 may include a Volatile Memory (Volatile Memory), such as a Random-Access Memory (RAM); the storage device 1001 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Flash Memory (Flash Memory), a Solid-State Drive (SSD), or the like; the storage 1001 may also include a combination of memories of the types described above.
The processor 1002 may be a Central Processing Unit (CPU). The processor 1002 may further include a hardware chip. The hardware chip may be an Application-Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), or the like. The PLD may be a Field-Programmable Gate Array (FPGA), a General Array Logic (GAL), or the like.
For the case where the communication synchronization device is a near-end device:
the storage 1001 is used for storing program codes;
the processor 1002, when invoking the stored code, is configured to perform a cell search process to determine a first cell;
adjusting the near-end equipment to be time-synchronized with a base station to which the first cell belongs;
sending a heartbeat packet to a remote device;
if the first information is received, determining that the time of the near-end equipment is synchronous with that of the far-end equipment; the first information is sent by the far-end equipment according to the received heartbeat packet.
In an embodiment, the processor 1002 is specifically configured to determine a cell satisfying a first condition from among the searched cells;
and determining the cell with the maximum Reference Signal Received Power (RSRP) in the cells meeting the first condition as a first cell.
In one embodiment, the meeting the first condition is that the RSRP of the cell is within a first RSRP threshold range.
In an embodiment, the processor 1002 is specifically configured to read time synchronization information of the first cell;
and adjusting the near-end equipment to be time-synchronized with the base station to which the first cell belongs according to the time synchronization information of the first cell.
In one embodiment, the near-end device communicates with the far-end device using a first information frame, the first information frame including a transport block; the transmission block is used for storing the data of the communication between the near-end equipment and the far-end equipment.
In one embodiment, the heartbeat packet is transmitted at a first time domain location; the first time domain position is a time domain position corresponding to a transport block in the first information frame.
In one embodiment, the processor 1002 is further configured to receive, at a second time domain position in the time domain positions corresponding to the first information frame, a signal of a base station to which the first cell belongs after the determining that the near-end device is time-synchronized with a far-end device;
and correcting the time synchronization deviation and the frequency deviation of the near-end equipment at a third time domain position in the time domain positions corresponding to the first information frame according to the signal of the base station so as to keep time synchronization with the base station to which the first cell belongs.
In one embodiment, the second time domain location is located before the first time domain location; the third time domain position is located between the second time domain position and the first time domain position, and/or the third time domain position is located after the first time domain position; the first time domain position is a time domain position corresponding to a transport block in the first information frame.
In one embodiment, the first information comprises: random Access Channel (RACH) messages; the RACH message is used for requesting the near-end equipment to allocate a node identification ID;
the processor 1002 is further configured to, after the time synchronization between the near-end device and the far-end device is determined, send an RACH acknowledgement character ACK to the far-end device that sent the first information according to the first information;
wherein the RACH ACK is used for allocating a node ID to a remote device; the node ID is used to indicate a timing corresponding to a first information frame used by the near-end device when communicating with the far-end device.
In an embodiment, the heartbeat packet stores frequency point information of a base station to which the first cell belongs and cell information of the first cell.
In one embodiment, the heartbeat packet stores first frame count information corresponding to the near-end device.
In one embodiment, the processor 1002 is further configured to receive a second message after the transmission of a RACH acknowledgement character ACK to the remote device that transmitted the first message;
wherein the second information is received at a different first information frame than the RACH message.
For the case where the communication synchronization device is a remote device:
the storage 1001 is used for storing program codes;
the processor 1002, when invoking the stored code, is configured to perform a cell search process to determine a second cell;
adjusting the remote device to be time-synchronized with a base station to which the second cell belongs;
if a heartbeat packet is received, determining whether the far-end equipment and the near-end equipment are time-synchronized according to the heartbeat packet;
wherein the heartbeat packet is transmitted by the near-end device.
In an embodiment, the processor 1002 is specifically configured to determine a cell satisfying the second condition from the searched cells;
and determining the cell with the maximum Reference Signal Received Power (RSRP) in the cells meeting the second condition as a second cell.
In an embodiment, the processor 1002 is further configured to update a second cell if a heartbeat packet is not received, or it is determined that the time of the far-end device is not synchronized with that of the near-end device according to the heartbeat packet;
after updating the second cell, performing time synchronization of the remote device with the base station to which the second cell belongs.
In an embodiment, the processor 1002 is specifically configured to exclude a second cell corresponding to that a heartbeat packet is not received, or exclude a second cell corresponding to that the time of the far-end device and the time of the near-end device are not synchronized according to the heartbeat packet;
determining cells satisfying a second condition among the remaining cells;
and updating the cell with the maximum RSRP meeting the second condition in the rest cells as a new second cell.
In one embodiment, the second condition being met is that the RSRP of the cell is within a second RSRP threshold range.
In an embodiment, the processor 1002 is specifically configured to obtain, according to the heartbeat packet, frequency point information of a base station to which the first cell belongs and cell information of the first cell; wherein the near-end device is time-synchronized with a base station to which the first cell belongs;
and if the frequency point information of the base station to which the second cell belongs is the same as the frequency point information of the base station to which the first cell belongs, and the cell information of the second cell is the same as the cell information of the first cell, determining that the far-end equipment and the near-end equipment are time-synchronized.
In an embodiment, the processor 1002 is specifically configured to read time synchronization information of the second cell;
and adjusting the remote equipment to be time-synchronized with the base station to which the second cell belongs according to the time synchronization information of the second cell.
In one embodiment, the far-end device communicates with the near-end device using a second information frame, the second information frame comprising a transport block; the transmission block is used for storing the data of the far-end device and the near-end device.
In one embodiment, the processor 1002 is further configured to receive a heartbeat packet at a fourth time domain location before determining whether the far-end device and the near-end device are time-synchronized according to the heartbeat packet if the heartbeat packet is received; the fourth time domain position is a time domain position corresponding to a transport block in the second information frame.
In one embodiment, the processor 1002 is further configured to receive, at a fifth time domain position in the time domain positions corresponding to the second information frame, a signal of a base station to which the second cell belongs after the determining that the far-end device and the near-end device are time-synchronized;
and correcting the time synchronization deviation and the frequency offset of the remote equipment at a sixth time domain position in the time domain position corresponding to the second information frame according to the signal of the base station so as to keep time synchronization with the base station to which the second cell belongs.
In one embodiment, the fifth time domain position is located before the fourth time domain position; the sixth time domain position is located between the fifth time domain position and the fourth time domain position, and/or the sixth time domain position is located after the fourth time domain position; the fourth time domain position is a time domain position corresponding to a transport block in the second information frame.
In an embodiment, the processor 1002 is further configured to update, if it is determined that the time of the near-end device is synchronized with that of the far-end device, second frame count information corresponding to the far-end device according to the received heartbeat packet, so that the updated second frame count information is the same as the first frame count information corresponding to the near-end device;
wherein the heartbeat packet stores the first frame count information.
In an embodiment, the processor 1002 is further configured to send first information if it is determined that the time of the near-end device is synchronized with the time of the far-end device according to the heartbeat packet, so that the near-end device determines that the time of the near-end device is synchronized with the time of the far-end device according to the first information.
In one embodiment, the first information comprises: random Access Channel (RACH) messages; the RACH message is used for requesting the near-end equipment to allocate a node identification ID; the node ID is used to indicate a timing corresponding to a first information frame used by the near-end device when communicating with the far-end device.
In one embodiment, the processor 1002 is further configured to receive a RACH acknowledgement character ACK; the RACH ACK is sent by the near-end equipment according to the received RACH message;
and acquiring the node identification ID distributed to the far-end equipment by the near-end equipment according to the RACH ACK.
In one embodiment, the processor 1002 is further configured to send second information after the node identification ID allocated to the far-end device by the near-end device is obtained according to RACH ACK;
wherein the second information is transmitted in a second information frame different from the RACH message.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a communication synchronization apparatus according to an embodiment of the present application, and specifically as shown in fig. 11, the communication synchronization apparatus includes:
a search module 1101 for performing a cell search process to determine a first cell;
a synchronization module 1102, configured to adjust the near-end device to be time-synchronized with a base station to which the first cell belongs;
a sending module 1103, configured to send a heartbeat packet to a remote device;
a determining module 1104, configured to determine that the near-end device and the far-end device are time-synchronized if the first information is received; the first information is sent by the remote device according to the received heartbeat packet.
In an embodiment, the searching module 1101 is specifically configured to determine a cell satisfying a first condition from the searched cells;
and determining the cell with the maximum Reference Signal Received Power (RSRP) in the cells meeting the first condition as a first cell.
In one embodiment, the meeting the first condition is that the RSRP of the cell is within a first RSRP threshold range.
In an embodiment, the synchronization module 1102 is specifically configured to read time synchronization information of the first cell;
and adjusting the near-end equipment to be time-synchronized with the base station to which the first cell belongs according to the time synchronization information of the first cell.
In one embodiment, the near-end device communicates with the far-end device using a first information frame, the first information frame including a transport block; the transmission block is used for storing the data of the communication between the near-end equipment and the far-end equipment.
In one embodiment, the heartbeat packet is sent at a first time domain location; the first time domain position is a time domain position corresponding to a transport block in the first information frame.
In one embodiment, the communication synchronization apparatus further comprises:
a receiving module, configured to receive, at a second time domain position in the time domain positions corresponding to the first information frame, a signal of a base station to which the first cell belongs after the time synchronization between the near-end device and the far-end device is determined;
and the correcting module is used for correcting the time synchronization deviation and the frequency deviation of the near-end equipment at a third time domain position in the time domain position corresponding to the first information frame according to the signal of the base station so as to keep time synchronization with the base station to which the first cell belongs.
In one embodiment, the second time domain location is located before the first time domain location; the third time domain position is located between the second time domain position and the first time domain position, and/or the third time domain position is located after the first time domain position; the first time domain position is a time domain position corresponding to a transport block in the first information frame.
In one embodiment, the first information comprises: random Access Channel (RACH) messages; the RACH message is used for requesting the near-end equipment to allocate a node identification ID;
the sending module 1103 is further configured to send, according to the first information, an RACH acknowledgement character ACK to the remote device that sends the first information after the time synchronization between the near-end device and the remote device is determined;
wherein the RACH ACK is used for allocating a node ID to a remote device; the node ID is used to indicate a timing corresponding to a first information frame used by the near-end device when communicating with the far-end device.
In an embodiment, the heartbeat packet stores frequency point information of a base station to which the first cell belongs and cell information of the first cell.
In one embodiment, the heartbeat packet stores first frame count information corresponding to the near-end device.
In one embodiment, the receiving module is further configured to receive second information after the RACH acknowledgement character ACK is transmitted to the remote device that transmitted the first information;
wherein the second information is received in a different first information frame than the RACH message.
Referring to fig. 12, fig. 12 is a schematic structural diagram of another communication synchronization apparatus according to an embodiment of the present application, specifically, as shown in fig. 12, the communication synchronization apparatus includes:
a searching module 1201, configured to perform a cell search process to determine a second cell;
a synchronization module 1202, configured to adjust the remote device to be time-synchronized with a base station to which the second cell belongs;
a determining module 1203, configured to determine, if a heartbeat packet is received, whether the far-end device and the near-end device are time-synchronized according to the heartbeat packet;
wherein the heartbeat packet is transmitted by the near-end device.
In an embodiment, the searching module 1201 is specifically configured to determine a cell satisfying a second condition from among the searched cells;
and determining the cell with the maximum Reference Signal Received Power (RSRP) in the cells meeting the second condition as a second cell.
In one embodiment, the communication synchronization apparatus further comprises:
an updating module, configured to update a second cell if a heartbeat packet is not received, or it is determined according to the heartbeat packet that the time of the far-end device is not synchronized with that of the near-end device;
the synchronization module 1202 is further configured to perform time synchronization adjustment of the remote device with the base station to which the second cell belongs after the second cell is updated.
In an embodiment, the updating module is specifically configured to exclude a second cell corresponding to a heartbeat packet that is not received, or exclude a second cell that is determined according to the heartbeat packet and corresponds to the far-end device and the near-end device that are not synchronized in time;
determining cells satisfying a second condition among the remaining cells;
and updating the cell which meets the second condition and has the maximum RSRP in the rest cells into a new second cell.
In one embodiment, the second condition being met is that the RSRP of the cell is within a second RSRP threshold range.
In an embodiment, the determining module 1203 is specifically configured to obtain, according to the heartbeat packet, frequency point information of a base station to which the first cell belongs and cell information of the first cell; wherein the near-end device is time-synchronized with a base station to which the first cell belongs;
and if the frequency point information of the base station to which the second cell belongs is the same as the frequency point information of the base station to which the first cell belongs, and the cell information of the second cell is the same as the cell information of the first cell, determining that the far-end equipment and the near-end equipment are time-synchronized.
In an embodiment, the synchronization module 1202 is specifically configured to read time synchronization information of the second cell;
and adjusting the remote equipment to be time-synchronized with the base station to which the second cell belongs according to the time synchronization information of the second cell.
In one embodiment, the far-end device communicates with the near-end device using a second information frame, the second information frame comprising a transport block; the transmission block is used for storing the data of the far-end device and the near-end device.
In one embodiment, the communication synchronization apparatus further comprises:
a receiving module, configured to receive a heartbeat packet at a fourth time domain location before determining, according to the heartbeat packet, whether the far-end device and the near-end device are time-synchronized if the heartbeat packet is received; the fourth time domain position is a time domain position corresponding to a transport block in the second information frame.
In an embodiment, the receiving module is further configured to receive, at a fifth time domain position in the time domain positions corresponding to the second information frame, a signal of a base station to which the second cell belongs after the determining that the far-end device and the near-end device are time-synchronized;
the synchronization module 1202 is further configured to correct, at a sixth time domain position in the time domain positions corresponding to the second information frame, the time synchronization deviation and the frequency offset of the remote device according to the signal of the base station, so as to maintain time synchronization with the base station to which the second cell belongs.
In one embodiment, the fifth time domain position is located before the fourth time domain position; the sixth time domain position is located between the fifth time domain position and the fourth time domain position, and/or the sixth time domain position is located after the fourth time domain position; the fourth time domain position is a time domain position corresponding to a transport block in the second information frame.
In an embodiment, the updating module is further configured to update, according to the received heartbeat packet, second frame count information corresponding to the far-end device if it is determined that the time of the near-end device is synchronized with that of the far-end device, so that the updated second frame count information is the same as the first frame count information corresponding to the near-end device;
wherein the heartbeat packet stores the first frame count information.
In one embodiment, the communication synchronization apparatus further comprises:
and the sending module is used for sending first information if the time synchronization between the near-end equipment and the far-end equipment is determined according to the heartbeat packet, so that the near-end equipment determines the time synchronization between the near-end equipment and the far-end equipment according to the first information.
In one embodiment, the first information comprises: random Access Channel (RACH) messages; the RACH message is used for requesting the near-end equipment to allocate a node identification ID; the node ID is used to indicate a timing corresponding to a first information frame used by the near-end device when communicating with the far-end device.
In one embodiment, the receiving module is further configured to receive a RACH acknowledgement character ACK; the RACH ACK is sent by the near-end equipment according to the received RACH message;
and acquiring the node identification ID distributed to the far-end equipment by the near-end equipment according to the RACH ACK.
In an embodiment, the sending module is further configured to send second information after the node identifier ID allocated to the remote device by the near-end device is obtained according to the RACH ACK;
wherein the second information is transmitted in a second information frame different from the RACH message.
Accordingly, the embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium is used for storing a computer program, and the computer program enables a computer to execute the method described in any embodiment of steps S301 to S304, S501, S502, S505, S510, S511, and S516 of this application. It is understood that the computer storage medium herein may include a built-in storage medium in the smart terminal, and may also include an extended storage medium supported by the smart terminal. The computer storage medium provides a storage space storing an operating system of the smart terminal. Also, one or more instructions, which may be one or more computer programs (including program code), are stored in the memory space and are adapted to be loaded and executed by the processor. It should be noted that the computer storage medium herein may be a high-speed RAM Memory, or a Non-Volatile Memory (Non-Volatile Memory), such as at least one disk Memory; and optionally at least one computer storage medium located remotely from the processor.
Accordingly, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program enables a computer to execute the method described in any embodiment of steps S401 to S403, S503, S504, S506 to S509, and S512 to S515 in this application. It is understood that the computer storage medium herein may include a built-in storage medium in the smart terminal, and may also include an extended storage medium supported by the smart terminal. The computer storage medium provides a storage space storing an operating system of the smart terminal. Also, one or more instructions, which may be one or more computer programs (including program code), are stored in the memory space and are adapted to be loaded and executed by the processor. It should be noted that the computer storage medium may be a high-speed RAM Memory, or may be a Non-Volatile Memory (Non-Volatile Memory), such as at least one disk Memory; and optionally at least one computer storage medium located remotely from the processor.
Correspondingly, the embodiment of the present application further provides a communication synchronization system, where the communication synchronization system includes a first communication synchronization apparatus and a second communication synchronization apparatus, the first communication synchronization apparatus is configured to implement the method described in any of steps S301 to S304, steps S501, S502, S505, S510, S511, and S516 of the present application, and the second communication synchronization apparatus is configured to implement the method described in any of steps S401 to S403, steps S503, S504, S506 to S509, and S512 to S515 of the present application.
While the invention has been described with reference to a number of embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (34)
1. A communication synchronization method, wherein the method is applied to a near-end device; the method comprises the following steps:
performing a cell search process to determine a first cell;
adjusting the near-end equipment to be time-synchronized with a base station to which the first cell belongs;
sending a heartbeat packet to a remote device;
if first information is received, determining that the time of the near-end equipment is synchronous with that of the far-end equipment, wherein the first information is sent by the far-end equipment according to the received heartbeat packet;
and the first frequency point used when the near-end equipment receives the signal of the base station to which the first cell belongs is different from the communication frequency point used when the near-end equipment communicates with the far-end equipment.
2. The method of claim 1, wherein the determining the first cell comprises:
determining cells satisfying a first condition among the searched cells;
and determining the cell with the maximum Reference Signal Received Power (RSRP) in the cells meeting the first condition as a first cell.
3. The method of claim 2, wherein the satisfaction of the first condition is RSRP of a cell within a first RSRP threshold range.
4. The method of claim 1, wherein said adjusting said near-end device to be time-synchronized with a base station to which said first cell belongs comprises:
reading time synchronization information of the first cell;
and adjusting the near-end equipment to be time-synchronized with the base station to which the first cell belongs according to the time synchronization information of the first cell.
5. The method of claim 1, wherein the near-end device communicates with the far-end device using a first information frame, the first information frame comprising a transport block; the transmission block is used for storing the data of the near-end device and the far-end device.
6. The method of claim 5, wherein the heartbeat packet is transmitted at a first time domain location; the first time domain position is a time domain position corresponding to a transport block in the first information frame.
7. The method of claim 5, wherein after the determining that the near-end device is time synchronized with a far-end device, the method further comprises:
receiving a signal of a base station to which the first cell belongs at a second time domain position in the time domain positions corresponding to the first information frame;
and correcting the time synchronization deviation and the frequency deviation of the near-end equipment at a third time domain position in the time domain positions corresponding to the first information frame according to the signal of the base station so as to keep time synchronization with the base station to which the first cell belongs.
8. The method of claim 7, wherein the second time domain position is located before the first time domain position; the third time domain position is located between the second time domain position and the first time domain position, and/or the third time domain position is located after the first time domain position; the first time domain position is a time domain position corresponding to a transport block in the first information frame.
9. The method of claim 1, wherein the first information comprises: random Access Channel (RACH) messages; the RACH message is used for requesting the near-end equipment to allocate a node identification ID;
after the determining that the near-end device is time synchronized with a far-end device, the method further comprises:
sending an RACH (random Access channel) acknowledgement character ACK (acknowledgement character) to the remote equipment sending the first information according to the first information;
wherein the RACH ACK is used for allocating a node ID to a remote device; the node ID is used to indicate a timing corresponding to a first information frame used by the near-end device when communicating with the far-end device.
10. The method of claim 1, wherein the heartbeat packet stores frequency point information of a base station to which the first cell belongs and cell information of the first cell.
11. The method of claim 1, wherein the heartbeat packet stores first frame count information corresponding to the near-end device.
12. The method of claim 9, wherein after said transmitting a RACH acknowledgement character ACK to a remote device transmitting said first information, said method further comprises;
receiving second information;
wherein the second information is received at a different first information frame than the RACH message.
13. A method for synchronizing communications, the method being applied to a remote device, the method comprising:
performing a cell search process to determine a second cell;
adjusting the remote device to be time-synchronized with a base station to which the second cell belongs;
if a heartbeat packet is received, determining whether the far-end equipment and the near-end equipment are time-synchronized according to the heartbeat packet, wherein the heartbeat packet is sent by the near-end equipment;
and the first frequency point used when the far-end equipment receives the signal of the base station to which the second cell belongs is different from the communication frequency point used when the far-end equipment communicates with the near-end equipment.
14. The method of claim 13, wherein the determining the second cell comprises:
determining cells satisfying a second condition among the searched cells;
and determining the cell with the maximum Reference Signal Received Power (RSRP) in the cells meeting the second condition as a second cell.
15. The method of claim 14, wherein the method further comprises:
if the heartbeat packet is not received, or the time of the far-end equipment and the time of the near-end equipment are determined not to be synchronous according to the heartbeat packet, updating a second cell;
after updating the second cell, performing time synchronization of the remote device with the base station to which the second cell belongs.
16. The method of claim 15, wherein the updating the second cell comprises:
excluding a second cell corresponding to the condition that the heartbeat packet is not received, or excluding a second cell corresponding to the condition that the time of the far-end equipment and the time of the near-end equipment are not synchronous according to the heartbeat packet;
determining cells satisfying a second condition among the remaining cells;
and updating the cell which meets the second condition and has the maximum RSRP in the rest cells into a new second cell.
17. The method of any of claims 14-16, wherein the meeting of the second condition is the RSRP of the cell being within a second RSRP threshold range.
18. The method of claim 13, wherein said determining from the heartbeat packet whether the far-end device and near-end device are time synchronized comprises:
acquiring frequency point information of a base station to which the first cell belongs and cell information of the first cell according to the heartbeat packet; wherein the near-end device is time-synchronized with a base station to which the first cell belongs;
and if the frequency point information of the base station to which the second cell belongs is the same as the frequency point information of the base station to which the first cell belongs, and the cell information of the second cell is the same as the cell information of the first cell, determining that the far-end equipment and the near-end equipment are time-synchronized.
19. The method of claim 13, wherein said adjusting said remote device to be time synchronized with a base station to which said second cell belongs comprises:
reading time synchronization information of the second cell;
and adjusting the remote equipment to be time-synchronized with the base station to which the second cell belongs according to the time synchronization information of the second cell.
20. The method of claim 13, wherein the far-end device communicates with the near-end device using a second information frame, the second information frame comprising a transport block; the transmission block is used for storing the data of the far-end equipment and the near-end equipment.
21. The method of claim 20, wherein prior to said determining if the far-end device and the near-end device are time synchronized based on the heartbeat packet if received, the method comprises:
receiving the heartbeat packet at a fourth time domain location; the fourth time domain position is a time domain position corresponding to a transport block in the second information frame.
22. The method of claim 20, wherein after said determining that the far-end device is time synchronized with the near-end device, the method further comprises:
receiving a signal of a base station to which the second cell belongs at a fifth time domain position in the time domain positions corresponding to the second information frame;
and correcting the time synchronization deviation and the frequency offset of the remote equipment at a sixth time domain position in the time domain position corresponding to the second information frame according to the signal of the base station so as to keep time synchronization with the base station to which the second cell belongs.
23. The method of claim 22, wherein the fifth time domain position is located before the fourth time domain position; the sixth time domain position is located between the fifth time domain position and the fourth time domain position, and/or the sixth time domain position is located after the fourth time domain position; the fourth time domain position is a time domain position corresponding to a transport block in the second information frame.
24. The method of claim 13, wherein the method further comprises:
if the time synchronization between the near-end equipment and the far-end equipment is determined, updating second frame counting information corresponding to the far-end equipment according to the received heartbeat packet so that the updated second frame counting information is the same as first frame counting information corresponding to the near-end equipment;
wherein the heartbeat packet stores the first frame count information.
25. The method of claim 13, wherein the method further comprises:
and if the time synchronization between the near-end equipment and the far-end equipment is determined according to the heartbeat packet, sending first information so that the near-end equipment determines the time synchronization between the near-end equipment and the far-end equipment according to the first information.
26. The method of claim 25, wherein the first information comprises: random access channel, RACH, messages; the RACH message is used for requesting the near-end equipment to allocate a node identification ID; the node ID is used to indicate a timing corresponding to a first information frame used by the near-end device when communicating with the far-end device.
27. The method of claim 26, wherein the method further comprises:
receiving an RACH acknowledgement character ACK; the RACH ACK is sent by the near-end equipment according to the received RACH message;
and acquiring the node identification ID distributed to the far-end equipment by the near-end equipment according to the RACH ACK.
28. The method of claim 27, wherein after said acquiring a node identification, ID, assigned by the near-end device to the far-end device based on a RACH ACK, the method further comprises:
sending the second information;
wherein the second information is transmitted in a second information frame different from the RACH message.
29. A communication synchronization apparatus, characterized in that the communication synchronization apparatus comprises: a storage device and a processor, wherein the processor is capable of,
the storage device is used for storing program codes;
the processor, when invoking the program code, is configured to perform the communication synchronization method of any of claims 1-12.
30. A communication synchronization apparatus, characterized in that the communication synchronization apparatus comprises: a storage device and a processor, wherein the processor is capable of,
the storage device is used for storing program codes;
the processor, when invoking the program code, is configured to perform the communication synchronization method of any of claims 13-28.
31. A communication synchronization apparatus, characterized in that the communication synchronization apparatus comprises:
a search module to perform a cell search process to determine a first cell;
a synchronization module, configured to adjust a near-end device to be time-synchronized with a base station to which the first cell belongs;
the sending module is used for sending the heartbeat packet to the remote equipment;
a determining module, configured to determine that the time of the near-end device is synchronized with that of the far-end device if first information is received, where the first information is sent by the far-end device according to the received heartbeat packet;
the first frequency used when the communication synchronization device receives the signal of the base station to which the first cell belongs is different from the communication frequency used when the communication synchronization device communicates with the remote equipment.
32. A communication synchronization apparatus, characterized in that the communication synchronization apparatus comprises:
a search module to perform a cell search process to determine a second cell;
a synchronization module, configured to adjust a remote device to be time-synchronized with a base station to which the second cell belongs;
a determining module, configured to determine whether the far-end device and the near-end device are time-synchronized according to a heartbeat packet if the heartbeat packet is received, where the heartbeat packet is sent by the near-end device;
the first frequency used when the communication synchronization device receives the signal of the base station to which the second cell belongs is different from the communication frequency used when the communication synchronization device communicates with the near-end equipment.
33. A computer-readable storage medium for storing a computer program, the computer program causing a computer to execute the communication synchronization method according to any one of claims 1 to 12.
34. A computer-readable storage medium for storing a computer program for causing a computer to execute the communication synchronization method according to any one of claims 13 to 28.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011375899.7A CN112543502B (en) | 2020-11-30 | 2020-11-30 | Communication synchronization method, device, apparatus and storage medium |
PCT/CN2021/131028 WO2022111342A1 (en) | 2020-11-30 | 2021-11-16 | Communication synchronization method and apparatus, storage medium, chip and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011375899.7A CN112543502B (en) | 2020-11-30 | 2020-11-30 | Communication synchronization method, device, apparatus and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112543502A CN112543502A (en) | 2021-03-23 |
CN112543502B true CN112543502B (en) | 2022-10-11 |
Family
ID=75016656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011375899.7A Active CN112543502B (en) | 2020-11-30 | 2020-11-30 | Communication synchronization method, device, apparatus and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112543502B (en) |
WO (1) | WO2022111342A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112543502B (en) * | 2020-11-30 | 2022-10-11 | 紫光展锐(重庆)科技有限公司 | Communication synchronization method, device, apparatus and storage medium |
CN113543303B (en) * | 2021-06-30 | 2022-10-21 | 紫光展锐(重庆)科技有限公司 | Synchronization method, synchronization device, chip and module equipment |
CN115397007B (en) * | 2022-10-26 | 2023-03-24 | 杰创智能科技股份有限公司 | Time slot synchronization method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101296048A (en) * | 2008-06-17 | 2008-10-29 | 杭州华三通信技术有限公司 | Time synchronization method and apparatus |
CN105515710A (en) * | 2011-01-26 | 2016-04-20 | 华为技术有限公司 | Method and device for realizing time synchronization |
WO2018095068A1 (en) * | 2016-11-25 | 2018-05-31 | 维沃移动通信有限公司 | Method, device and system for transmitting synchronization access signal group |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ZA935527B (en) * | 1992-07-31 | 1994-02-24 | Csir | Cellular communication system |
CN101056135B (en) * | 2006-06-15 | 2010-05-12 | 华为技术有限公司 | Radio area network system and method for adjusting the cell synchronization |
CN101119133A (en) * | 2007-09-07 | 2008-02-06 | 倪郁青 | 2.4GHz frequency hopping technique based one-to-many fast synchronization method |
JP5335077B2 (en) * | 2008-07-03 | 2013-11-06 | ゼットティーイー コーポレーション | Synchronization, scheduling, network management and frequency allocation method for hierarchical radio access system |
EP2592842A1 (en) * | 2011-11-14 | 2013-05-15 | Accenture Global Services Limited | Computer-implemented method, computer system, and computer program product for synchronizing output of media data across a plurality of devices |
CN106656387B (en) * | 2015-10-30 | 2018-09-07 | 华为技术有限公司 | Method, node and system for detecting clock synchronous path |
US10575272B2 (en) * | 2016-02-03 | 2020-02-25 | Lg Electronics Inc. | Method and apparatus for synchronizing frequency and time in a wireless communication system |
CN111901803B (en) * | 2020-07-10 | 2021-09-14 | 展讯通信(上海)有限公司 | Communication interaction method, master node, slave node, indoor distribution system and medium |
CN111935725B (en) * | 2020-07-10 | 2023-01-31 | 展讯半导体(成都)有限公司 | Communication time sequence planning method, device, related equipment, storage medium and system |
CN111935728B (en) * | 2020-07-10 | 2022-08-19 | 展讯半导体(成都)有限公司 | Handshaking method, device, related equipment, storage medium and system |
CN111757335B (en) * | 2020-07-10 | 2022-06-24 | 展讯半导体(成都)有限公司 | Access and access control method, device, system, node and storage medium |
CN112543502B (en) * | 2020-11-30 | 2022-10-11 | 紫光展锐(重庆)科技有限公司 | Communication synchronization method, device, apparatus and storage medium |
-
2020
- 2020-11-30 CN CN202011375899.7A patent/CN112543502B/en active Active
-
2021
- 2021-11-16 WO PCT/CN2021/131028 patent/WO2022111342A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101296048A (en) * | 2008-06-17 | 2008-10-29 | 杭州华三通信技术有限公司 | Time synchronization method and apparatus |
CN105515710A (en) * | 2011-01-26 | 2016-04-20 | 华为技术有限公司 | Method and device for realizing time synchronization |
WO2018095068A1 (en) * | 2016-11-25 | 2018-05-31 | 维沃移动通信有限公司 | Method, device and system for transmitting synchronization access signal group |
Also Published As
Publication number | Publication date |
---|---|
CN112543502A (en) | 2021-03-23 |
WO2022111342A1 (en) | 2022-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112543502B (en) | Communication synchronization method, device, apparatus and storage medium | |
CN103098537B (en) | A kind of wireless communications method and device | |
RU2469475C2 (en) | Method of generating random access reply message group identifier and random access method | |
CN102651890B (en) | Method and device for transmitting system information | |
CN101432683B (en) | Wireless architecture for a traditional wire-based protocol | |
US20210083806A1 (en) | Methods of Sharing HARQ Process IDs Between Semi-Persistent Scheduling and Dynamic Grants | |
RU2010107450A (en) | METHOD, DEVICE AND SYNCHRONIZATION SYSTEM IN WIRELESS NETWORKS | |
EP2566282B1 (en) | Method and apparatus for accessing wireless sensor network | |
KR20090059056A (en) | Method for improving discontinuous reception for a wireless communication system and related communication device | |
AU2018286249B2 (en) | Communication method, apparatus, and computer-readable storage medium | |
CN110691381A (en) | Joint transmission method and communication device | |
US10182413B2 (en) | Wireless positioning using scheduled transmissions | |
CN106686669B (en) | Synchronization method and device | |
CN111294286B (en) | MPDU transmitting and receiving method and device, storage medium, transmitting end and receiving end of multi-link system | |
CN111264079B (en) | Data transmission method, electronic device, system and storage medium | |
CN112260778A (en) | Method for evaluating broadcast channel and related product | |
CN105635017A (en) | Preamble signal transmission method and apparatus | |
CN108401293B (en) | Scheduling method, using method and device for residual resources of synchronous signal block | |
CN102055724B (en) | Synchronous processing method for multimedia broadcast multicast service, upper layer network element and lower network element | |
CN110771236B (en) | Network device, user device, and wireless communication method | |
EP4401431A1 (en) | Communication method and apparatus | |
CN112333812B (en) | Data transmission method, device, apparatus and storage medium | |
US20210184799A1 (en) | Harq processing in a frequency division duplexing-based radio communication network | |
KR101401966B1 (en) | Apparatus and method for updating the idle channel and idle channel lists | |
JP2018528649A (en) | Uplink data packet transmission method, terminal device, base station, and communication system |
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 |