WO2022111342A1 - Communication synchronization method and apparatus, storage medium, chip and related device - Google Patents

Communication synchronization method and apparatus, storage medium, chip and related device Download PDF

Info

Publication number
WO2022111342A1
WO2022111342A1 PCT/CN2021/131028 CN2021131028W WO2022111342A1 WO 2022111342 A1 WO2022111342 A1 WO 2022111342A1 CN 2021131028 W CN2021131028 W CN 2021131028W WO 2022111342 A1 WO2022111342 A1 WO 2022111342A1
Authority
WO
WIPO (PCT)
Prior art keywords
end device
cell
information
time
time domain
Prior art date
Application number
PCT/CN2021/131028
Other languages
French (fr)
Chinese (zh)
Inventor
涂亮
Original Assignee
紫光展锐(重庆)科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 紫光展锐(重庆)科技有限公司 filed Critical 紫光展锐(重庆)科技有限公司
Publication of WO2022111342A1 publication Critical patent/WO2022111342A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/0015Synchronization between nodes one node acting as a reference for the others
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communication, and in particular, to a communication synchronization method, device, storage medium, chip and related equipment.
  • time synchronization between cellular communication devices is mainly carried out by wire, that is, the near-end device outputs its frame header, and the far-end device receives and adjusts its own timing deviation according to the frame header, so as to realize the time between the near-end device and the far-end device. Synchronization, but this method adds additional hardware and hardware interfaces for wired transmission, thereby increasing the hardware cost.
  • Embodiments of the present application provide a communication synchronization method, apparatus, storage medium, chip, and related equipment, which can wirelessly synchronize time between a near-end device and a far-end device, avoiding additional hardware and hardware interfaces.
  • an embodiment of the present application provides a communication synchronization method, and the method includes:
  • the first information is received, it is determined that the time of the near-end device and the far-end device are synchronized; the first information is sent by the far-end device according to the received heartbeat packet.
  • an embodiment of the present application further provides a communication synchronization method, the method includes:
  • a heartbeat packet If a heartbeat packet is received, determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet;
  • the heartbeat packet is sent by the near-end device.
  • an embodiment of the present application provides a communication synchronization device, where the communication synchronization device includes: a storage device and a processor,
  • the storage device for storing program codes
  • the processor when invoking the stored code, is configured to execute the communication synchronization method according to the first aspect.
  • an embodiment of the present application further provides a communication synchronization device, where the communication synchronization device includes: a storage device and a processor,
  • the storage device for storing program codes
  • the processor when invoking the stored code, is configured to execute the communication synchronization method according to the second aspect.
  • an embodiment of the present application provides a communication synchronization device, where the communication synchronization device includes:
  • a search module for performing a cell search process to determine the first cell
  • a synchronization module configured to adjust the near-end device to be time-synchronized with the base station to which the first cell belongs
  • the sending module is used to send heartbeat packets to the remote device
  • a determining module configured to determine that the near-end device is time-synchronized with the far-end device if the first information is received; the first information is sent by the far-end device according to the received heartbeat packet.
  • an embodiment of the present application further provides a communication synchronization device, where the communication synchronization device includes:
  • a search module for performing a cell search process to determine a second cell
  • a synchronization module configured to adjust the remote device to be time-synchronized with the base station to which the second cell belongs
  • a determining module configured to determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received;
  • the heartbeat packet is sent by the near-end device.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program causes a computer to execute the communication synchronization method described in the first aspect.
  • an embodiment of the present application 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 communication synchronization method described in the second aspect.
  • an embodiment of the present application further provides a communication synchronization system, where the communication synchronization system includes a first communication synchronization device and a second communication synchronization device, and the first communication synchronization device is used to implement the first aspect.
  • the second communication synchronization apparatus is configured to implement the method of the second aspect.
  • an embodiment of the present application provides a chip, where the chip is configured to perform a cell search process to determine a first cell;
  • the first information is received, it is determined that the time of the near-end device and the far-end device are synchronized; the first information is sent by the far-end device according to the received heartbeat packet.
  • an embodiment of the present application further provides a chip, where the chip is configured to perform a cell search process to determine a second cell;
  • a heartbeat packet If a heartbeat packet is received, determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet;
  • the heartbeat packet is sent by the near-end device.
  • an embodiment of the present application provides a modular device, the modular device includes a chip module, an output interface and an input interface, wherein:
  • the chip module is configured to perform a cell search process to determine a first cell; adjust the near-end device to be time-synchronized with the base station to which the first cell belongs;
  • the output interface is used to send a heartbeat packet to the remote device
  • the chip module is further configured to determine that the near-end device and the far-end device are time-synchronized if the first information is received through the input interface; The received heartbeat packet is sent.
  • the embodiments of the present application further provide a modular device, the modular device includes a chip module and an input interface, wherein:
  • the chip module is configured to perform a cell search process to determine a second cell; adjust the remote device to be time-synchronized with the base station to which the second cell belongs;
  • the chip module is further configured to determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received through the input interface;
  • the heartbeat packet is sent by the near-end device.
  • the near-end device and the far-end device can be wirelessly adjusted to synchronize with the time of the base station, and the near-end device and the far-end device can determine the time synchronization between the near-end device and the far-end device through information exchange, so that the near-end device and the far-end device can be synchronized wirelessly.
  • the time synchronization between the end device and the far end device avoids additional hardware and hardware interfaces, which can effectively reduce the cost of time synchronization between the near end device and the far end device.
  • FIG. 1 is a scene diagram of a communication synchronization method provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of the hardware structure of a near-end device and a far-end device according to an embodiment of the present application;
  • FIG. 3 is a schematic flowchart of a communication synchronization method provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of another communication synchronization method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an interaction flow of a communication synchronization method provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a radio frame provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a timing sequence corresponding to a remote device sending a RACH message and second information according to an embodiment of the present application
  • FIG. 8 is a schematic flowchart of another communication processing method provided by an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of another communication processing method provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a communication synchronization device provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a communication synchronization apparatus provided by an embodiment of the application.
  • FIG. 12 is a schematic structural diagram of another communication synchronization apparatus provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a modular device provided by an embodiment of the application.
  • FIG. 14 is a schematic structural diagram of another module device provided by an embodiment of the present application.
  • FIG. 1 is a scene diagram of a communication synchronization method provided by an embodiment of the present application. Specifically, as shown in FIG. 1, in this scenario, the near-end device 101 and the far-end device 102 need to perform time synchronization processing. In order to ensure that the two can communicate normally when the time is synchronized.
  • 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 distance between the remote device 102 and the base station 103 is smaller than the distance between the remote device 102 and the base station 103;
  • the near-end device 101 may also be referred to as the host, and the remote device 102 may be referred to as the slave.
  • the near-end device 101 and the far-end device 102 perform time synchronization processing, which specifically includes the following two processes:
  • the first process the near-end device 101 performs a cell search process to determine the first cell; adjusts the near-end device 101 to be time-synchronized with the base station to which the first cell belongs; that is, reads the first cell during the cell search process. Based on the time synchronization information of a cell, according to the time synchronization information of the first cell, the near-end device 101 is adjusted to be time synchronized with the base station to which the first cell belongs.
  • the time synchronization information corresponding to different communication standards and communication formats may be different.
  • the time synchronization information is MIB (Master Information Block, master message block); when the near-end device 101 performs the cell search process, it sequentially performs power-on, PSS (Primary Synchronization Signal, master synchronization) Signal) monitoring, SSS (Secondary Synchronization Signal, Secondary Synchronization Signal) monitoring, and processing of reading the MIB of the first cell, the near-end device 101 can be adjusted to be time-synchronized with the first cell. After reading the MIB of the first cell, the near-end device may continue to perform other cell search processes such as reading the SIB (System Information Block, system message block) of the first cell, which is not limited herein.
  • SIB System Information Block, system message block
  • the first cell is a cell that satisfies the first condition
  • the satisfying the first condition means that the RSRP (Reference Signal Receiving Power, reference signal received power) of the cell is within the first RSRP threshold range.
  • the fact that the first cell is a cell that satisfies the first condition ensures that the near-end device 101 can communicate with the network side normally through the first cell.
  • the first RSRP threshold range can be configured by high-layer signaling of the near-end device 101, or specified by a protocol, or manually set by the near-end device 101, which is not limited herein.
  • the remote device 102 performs a cell search process to determine the second cell; adjusts the remote device 102 to be time-synchronized with the base station to which the second cell belongs; that is, reads the time synchronization of the second cell during the cell search process information, 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.
  • the second cell is a cell that satisfies the second condition
  • the satisfaction of the second condition means that the RSRP of the cell is within the second RSRP threshold range.
  • the fact that the second cell is a cell that satisfies the second condition ensures that the remote device 102 can communicate with the network side normally through the second cell.
  • the second RSRP threshold range can be configured by high-layer signaling of the remote device 102, or specified by a protocol, or manually set by the remote device 102; the first RSRP threshold range and the second RSRP threshold range can be The same or different, which is not limited here.
  • the processes performed by the near-end device 101 to perform the cell search process and the processes of the remote device 102 to perform the cell search process may overlap in time, or may be staggered from 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 (belonging to the same base station), the near-end device 101 and the far-end device 102 can only be time synchronized.
  • the near-end device 101 and the far-end device 102 Information exchange is performed to determine whether the time of the near-end device 101 and the far-end device 102 is synchronized; if the time of the far-end device 102 and the near-end device 101 are not synchronized, the far-end device 102 will update the second cell, that is, the far-end device 102 will be adjusted In order to synchronize with the base station to which the new second cell belongs, the near-end device 101 interacts with the far-end device 102 again, and the cycle is repeated until it is determined that the near-end device 101 is time-synchronized with the far-end device.
  • the time synchronization process between the near-end device 101 and the far-end device 102 also includes the second process. .
  • the second process after the first process, the near-end device 101 receives the (frequency) signal of the base station (to which the first cell belongs), and obtains the time synchronization deviation between the near-end device 101 and the base station according to the signal of the base station and frequency offset (frequency offset), the time synchronization offset and frequency offset of the near-end device 101 are corrected to maintain time synchronization with the base station to which the first cell belongs.
  • the remote device 102 receives the (frequency point) signal of the base station (to which the second cell belongs), and obtains the time synchronization offset and frequency offset between the remote device 102 and the base station according to the signal of the base station.
  • the time synchronization offset and the frequency offset are corrected to maintain time synchronization with the base station to which the second cell belongs.
  • the communication frequency used when the near-end device 101 communicates with the far-end device 102 can be set on the near-end device 101 and the far-end device 102 in advance, and the communication frequency needs to be set with the public network frequency,
  • the frequency points used in the private network and WIFI (Wireless Fidelity, wireless fidelity) frequency points are different.
  • the near-end device 101 and the far-end device 102 can communicate with each other. Only when the near-end device 101 and the far-end device 102 are time-synchronized, the near-end device 101 can correctly receive the data sent by the far-end device 102, and the far-end device 102 can correctly receive the data sent by the near-end device 101.
  • the remote device 102 is not limited to one remote device 102 shown in FIG. 1 , but may also be multiple remote devices 102 .
  • the near-end device 101 and the far-end device 102 may be Modem (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 both receive signals from the same base station 103 shown in FIG. 1 , and they can also receive signals from different base stations.
  • FIG. 2 is a schematic diagram of hardware structures of a near-end device and a far-end device according to an embodiment of the present application. Specifically, as shown in FIG. 2 , the near-end device 20 and the far-end device 21 determine a 1.4MHz bandwidth signal of 2490MHz as a communication frequency, which is related to the public network frequency, the frequency used by the private network, and the frequency used by WiFi. The points are not the same.
  • the SAW 201 is a bandwidth filter, which is used for band-pass filtering the signal;
  • the switch 202 is used for switching the near-end device 20 or the far-end device 21 to the receiving state or the sending state, and/or, for switching the near-end device 20 or the far-end device 21.
  • the RFIC (radio frequency integrated circuit) + modem (modem) 203 in the transmitting end device is used to generate and transmit data signals, for example: according to the bit value of the data stream, determine the transmission power corresponding to the transmission block in the information frame, and determine Each transmit power of the receiver transmits the data signal of the transmission block; the RFIC+modem 203 in the receiving end device is used to receive the data signal and determine the bit value corresponding to the received data signal, such as: receiving the data signal, and according to the data signal
  • the corresponding RSSI Receiveived Signal Strength Indication, received signal strength indication
  • FIG. 3 is a schematic flowchart of a communication synchronization method provided by an embodiment of the application.
  • This specification provides the method operation steps as described in the embodiment or the flowchart, but based on conventional or non-creative work Include more or fewer steps.
  • the sequence of steps enumerated in the embodiments is only one of the execution sequences of many steps, and does not represent the only execution sequence.
  • the methods shown in the embodiments or the accompanying drawings may be executed sequentially or in parallel.
  • the method is applied to a near-end device; the method includes:
  • S301 Perform a cell search process to determine a first cell.
  • S302 Adjust the near-end device to be time-synchronized with the base station to which the first cell belongs.
  • the heartbeat packet is used to periodically notify the remote device of the state of time synchronization between the near-end device and the base station to which the first cell belongs, and can be sent at a certain time interval, similar to a heartbeat, so it is called a heartbeat Bag.
  • the near-end device can send heartbeat packets wirelessly, and the near-end device can periodically send heartbeat packets in a broadcast mode.
  • step S304 is executed.
  • S304 Determine the time synchronization between the near-end device and the far-end device.
  • the first information is sent by the remote device according to the received heartbeat packet.
  • step S302 is executed in the process of executing step S301.
  • the near-end device can be wirelessly adjusted to be time-synchronized with the base station to which the first cell belongs, and exchanges information with the near-end device to determine the time synchronization between the near-end device and the far-end device, thereby realizing the
  • the wireless method synchronizes the time between the near-end device and the far-end device, avoids additional hardware and hardware interfaces, and can effectively reduce the cost of time synchronization between the near-end device and the far-end device.
  • FIG. 4 is a schematic flowchart of another communication synchronization method provided by an embodiment of the application.
  • This specification provides the method operation steps as described in the embodiment or the flowchart, but based on conventional or non-creative work More or fewer operational steps may be included.
  • the sequence of steps enumerated in the embodiments is only one of the execution sequences of many steps, and does not represent the only execution sequence.
  • the methods shown in the embodiments or the accompanying drawings may be executed sequentially or in parallel.
  • the method is applied to a remote device; the method includes:
  • S401 Perform a cell search process to determine a second cell.
  • S402 Adjust the remote device to be time-synchronized with the base station to which the second cell belongs.
  • the heartbeat packet is used to periodically notify the remote device of the state of time synchronization between the near-end device and the base station to which the first cell belongs, and can be sent at a certain time interval, similar to a heartbeat, so it is called a heartbeat Bag.
  • the near-end device can send heartbeat packets wirelessly, and the near-end device can periodically send heartbeat packets in a broadcast mode.
  • the remote device can receive heartbeat packets wirelessly.
  • step S403 is executed.
  • S403 Determine whether the remote device and the near-end device are time synchronized according to the heartbeat packet.
  • the heartbeat packet is sent by the near-end device.
  • step S402 is executed in the process of executing step S401.
  • the remote device is wirelessly adjusted to synchronize with the time of the base station to which the second cell belongs, and exchanges information with the near-end device to determine the time synchronization between the remote device and the near-end device.
  • the time of the near-end device and the far-end device is synchronized, avoiding additional hardware and hardware interfaces, and can effectively reduce the cost of time synchronization between the near-end device and the far-end device.
  • FIG. 5 is a schematic diagram of an interaction flow of a communication synchronization method provided by an embodiment of the application.
  • This specification provides the operation steps of the method as described in the embodiment or the flowchart, but based on conventional or non-creative work More or fewer operational steps may be included.
  • the sequence of steps enumerated in the embodiments is only one of the execution sequences of many steps, and does not represent the only execution sequence.
  • the methods shown in the embodiments or the accompanying drawings may be executed sequentially or in parallel.
  • the method includes:
  • S501 The near-end device performs a cell search process to determine a first cell.
  • the determining of the first cell includes:
  • a cell with the largest reference signal received power RSRP among the cells satisfying the first condition is determined as the first cell.
  • satisfying the first condition means that the RSRP of the cell is within the first RSRP threshold range.
  • the near-end device may search for N cells that satisfy the first condition, where N is a positive integer, and selects the largest RSRP as the first cell among the N cells that satisfy the first condition, so that The near-end device can implement high-quality normal communication with the network side through the first cell.
  • the near-end device adjusts the near-end device to be time-synchronized with the base station to which the first cell belongs.
  • the adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs includes:
  • the near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs.
  • the time synchronization information is different; in the LTE communication system, the near-end device reads the MIB of the first cell, and adjusts the near-end device to belong to the first cell according to the MIB of the first cell. base station time synchronization.
  • step S502 is executed in the process of executing step S501.
  • S503 The remote device performs a cell search process to determine the second cell.
  • the determining of the second cell includes:
  • a cell with the largest reference signal received power RSRP among the cells satisfying the second condition is determined as the second cell.
  • satisfying the second condition means that the RSRP of the cell is within the second RSRP threshold range.
  • the remote device may search for M cells that satisfy the second condition, where M is a positive integer, and selects the largest RSRP among the M cells that satisfy 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.
  • the remote device may set a second cell standby list (List), and the remote device may store the searched M cells that satisfy the second condition in the second cell during the process of performing the cell search process.
  • the second cell standby list stores at least the cell numbers of M cells, the RSRPs of the cells, and the correspondence between the cell numbers and the RSRPs of the cells, so as to facilitate subsequent invocation of cell information in the second cell standby list. If the cell stored in the second cell standby list does not meet the second condition, the relevant information of the cell is deleted from the second cell standby list.
  • the remote device adjusts the remote device to be time-synchronized with the base station to which the second cell belongs.
  • the adjusting the remote device to be time-synchronized with the base station to which the second cell belongs includes:
  • the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
  • 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.
  • step S504 is executed during the process of executing step S503, and steps S503 and/or S504 are not limited to be executed after step S502, but can also be executed before steps S501 and/or S502, or can be executed after Steps S501 and/or S502 are executed.
  • S505 The near-end device sends a heartbeat packet to the far-end device.
  • the heartbeat packet is used to periodically notify the remote device of the state of time synchronization between the near-end device and the base station to which the first cell belongs, and can be sent at a certain time interval, similar to a heartbeat, so it is called a heartbeat Bag.
  • the near-end device can send the heartbeat packet in a wireless manner, and the near-end device can periodically use the communication frequency to send the heartbeat packet in a broadcast mode.
  • the remote device can receive the heartbeat packet wirelessly (using the communication frequency).
  • the near-end device communicates with the far-end device by using a first information frame
  • the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device.
  • the data communicated by the end device that is, the data sent by the near-end device to the far-end device.
  • the first information frame may be allocated by the network side to the near-end device for use.
  • the time domain position corresponding to the first information frame includes the first time domain position, the second time domain position and the third time domain position;
  • the first time domain position is the time domain corresponding to the transport block in the first information frame the second time domain location is located before the first time domain location;
  • the third time domain location is located between the second time domain location and the first time domain location, and/or, the third time domain location
  • the domain position is located after the first time domain position.
  • the remote device communicates with the near-end device by using a second information frame
  • the second information frame includes a transmission block; the transmission block is used to store the relationship between the remote device and the near-end device.
  • the data communicated by the end device that is, the data sent by the far end device to the near end device.
  • the second information frame may be allocated by the network side to the remote device for use.
  • the time domain position corresponding to the second information frame includes a fourth time domain position, a fifth time domain position and a sixth time domain position; the fourth time domain position is the time domain corresponding to the transport block in the second information frame. domain location; the fifth time domain location is located before the fourth time domain location; the sixth time domain location is located between the fifth time domain location and the fourth time domain location, and/or, the The sixth time domain position is located after the fourth time domain position.
  • 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, and the second time domain position corresponds to the fifth time domain position
  • the third time domain position corresponds to the sixth time domain position.
  • the near-end device and the far-end device may communicate through wired communication, for example, through cable, optical fiber, or through wireless communication; if the near-end device communicates through wireless
  • the first information frame is a wireless frame; if the remote device communicates with the near-end device through wireless communication, the second information frame is a wireless frame. Only when the first information frame and the second information frame are time-aligned, that is, when the near-end device and the far-end device are time-synchronized, the near-end device and the far-end device can communicate normally.
  • FIG. 6 is a schematic structural diagram of a radio frame provided by an embodiment of the present application.
  • the communication period of the radio frame is 160 ms, and each radio frame has the 0th subframe to the 9th subframe
  • There are 10 subframes such as frame, and each radio frame corresponds to the time domain position of 10ms; in each radio frame, the time domain position corresponding to the transmission block is the time domain position corresponding to the second subframe to the seventh subframe;
  • An information frame the first time domain position is the time domain position corresponding to the second subframe to the seventh subframe, the second time domain position is the time domain position corresponding to the 0th subframe, and the third time domain position is the first subframe
  • the fact that the second time domain position is 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: in the same radio frame, the second time domain position is located before the time domain position corresponding to the transmission block.
  • the 0 subframe is located before the 2nd subframe (to the 7th subframe).
  • the third time domain position being located between the second time domain position and the first time domain position means that in the same first information frame, the third time domain position is located at the second time domain position corresponding to the transport block. Between positions in the time domain, for example, the first subframe is located between the 0th subframe and the second subframe (to the 7th subframe) in the same radio frame.
  • the fact that the third time domain position is 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: in the same radio frame
  • the 8th subframe and the 9th subframe are located after (the 2nd subframe to) the 7th subframe.
  • the fact that the fifth time domain position is 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: in the same radio frame, the fifth time domain position is located before the time domain position corresponding to the transmission block.
  • the 0 subframe is located before the 2nd subframe (to the 7th subframe).
  • the fact that the sixth time domain position is located between the fifth time domain position and the fourth time domain position means that the sixth time domain position is located at the fifth time domain position in the same second information frame Between the time domain positions corresponding to the transport block, for example, the first subframe is located between the 0th subframe and the second subframe (to the 7th subframe) in the same radio frame.
  • the fact that the sixth time domain position is 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: in the same radio frame
  • the 8th subframe and the 9th subframe are located after (the 2nd subframe to) the 7th subframe.
  • the communication period of the radio frame is not limited to 160 ms as shown in FIG. 6 , and the communication period of the radio frame may also be set to other time lengths.
  • 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, and the near-end device sends the heartbeat packet at the time domain position corresponding to the heartbeat packet in the first information frame.
  • the time domain position corresponding to the heartbeat packet in an information frame may be the time domain position corresponding to the fifth subframe among the second subframe to the seventh subframe.
  • S506 The remote device receives the heartbeat packet at the fourth time domain position.
  • the fourth time domain position of the second information frame includes: the time domain position corresponding to the heartbeat packet, and the time domain position corresponding to the heartbeat packet in the second information frame is in the time domain position of the remote device that is allowed to receive the heartbeat packet state, that is, the remote device can receive the heartbeat packet at the time domain position corresponding to the heartbeat packet in the second information frame.
  • the time domain position corresponding to the heartbeat packet in the second information frame can be the second subframe. to the time domain position corresponding to the 5th subframe in the 7th subframe.
  • the remote device can correctly receive the heartbeat packet sent by the near-end device. If the near-end device and the far-end device are time-synchronized, the first information frame and the second information frame are time-aligned.
  • the heartbeat packet stores the first frame count information corresponding to the near-end device; the first frame count information is used to indicate the count information of the radio frame used by the near-end device, and the first frame count information includes: The super frame information of the near-end device, the first frame count information is different in different communication systems and communication standards; in the LTE communication system, the first frame count information is the HFN (Hyper Frame Number, super frame number) corresponding to the near-end device. .
  • HFN Hyper Frame Number, super frame number
  • the heartbeat packet stores frequency point information of the base station to which the first cell belongs and cell information of the first cell, and the cell information of the first cell at least includes the cell number of the first cell ;
  • the cell number is used to distinguish 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 obtained in the process of performing cell search processing by the near-end device .
  • step S507 is performed.
  • step S508 is performed.
  • the fact that the remote device receives the heartbeat packet means that the remote device receives the heartbeat packet within the first time period, for example: the first time period corresponds to the time domain of 5 second information frames used to communicate with the near-end device Position, that is, the time domain position corresponding to the heartbeat packet in the five second information frames.
  • the remote device receives the heartbeat packet at any position in the time domain position corresponding to the heartbeat packet in the five second information frames, it determines that the The remote device receives the heartbeat packet; the remote device does not receive the heartbeat packet, which means that the remote device does not receive the heartbeat packet in the first time period, such as: if the remote device is in these 5 second information If the time domain position corresponding to the heartbeat packet in the frame does not receive the heartbeat packet, it is determined that the remote device has not received the heartbeat packet.
  • the first time period may be configured by high-layer signaling of the remote device, or specified by a protocol, or manually set at the remote device, which is not limited herein.
  • the remote device determines whether the remote device and the near-end device are time synchronized according to the heartbeat packet.
  • the heartbeat packet is sent by the near-end device.
  • determining whether the remote device and the near-end device are time-synchronized according to the heartbeat packet includes:
  • the remote device 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 device is time-synchronized with the base station to which the first cell belongs;
  • Step S5072 If the frequency information of the base station to which the second cell belongs is the same as the frequency 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, execute Step S5072.
  • the frequency point information of the base station to which the second cell belongs and the cell information of the second cell may be acquired during the process of performing the cell search process by the remote device.
  • 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, that is, the frequency points of the base stations of the two cells are the same, then the second cell is the same as the first cell.
  • the cells belong to the same base station.
  • the first cell and the second cell are the same cell; On the basis that the frequency point information of the base station to which the first cell belongs is the same, if the cell information of the second cell is the same as the cell information of the first cell, for example, the cell number of the second cell is the same as the cell number of the first cell If the numbers are the same, it is determined that the second cell and the first cell are the same cell.
  • step S5073 is executed.
  • the remote device determines that the time of the remote device and the near-end device is synchronized, that is, determines that the time of the remote device and the near-end device is synchronized according to the heartbeat packet.
  • step S509 needs to be performed.
  • step S514 may also be performed.
  • the remote device determines that the time of the remote device and the near-end device is not synchronized, that is, it is determined according to the heartbeat packet that the time of the remote device and the near-end device are not synchronized.
  • step S508 is performed.
  • the updating of the second cell includes:
  • the cell with the largest RSRP that satisfies the second condition among the remaining cells is updated as a new second cell.
  • the second cell corresponding to not receiving the heartbeat packet refers to the second cell corresponding to the heartbeat packet not received within the first time period after the remote device is adjusted to be time synchronized with the second cell. It is determined according to the heartbeat packet that the remote device and the near-end device have no time synchronization corresponding to the second cell, which means that the remote device receives a heartbeat packet after being adjusted to be time-synchronized with the second cell, and determines the remote device according to the heartbeat packet. The second cell corresponding to the time synchronization between the end device and the near-end device is not synchronized.
  • the second cell corresponding to the second cell standby list that does not receive the heartbeat packet may be excluded, or the second cell corresponding to the time synchronization between the remote device and the near-end device determined according to the heartbeat packet may be excluded. , without the need for the remote device to re-execute the cell search process to determine the updated second cell.
  • the remote device After updating the second cell, the remote device performs step S504.
  • the far-end device sends first information, so that the near-end device determines time synchronization between the near-end device and the far-end device according to the first information.
  • the remote device may send the first information by broadcasting.
  • the first information includes: a RACH (Random Access Channel, random access channel) message; the RACH message is used to request a node ID (Identification, identification) to be allocated to the near-end device; the node ID is used to indicate the near-end device.
  • the time sequence corresponding to the first information frame used by the end device when communicating with the remote device.
  • the time sequence corresponding to the first information frame refers to the time sequence in which the first information frame appears in one first information frame period.
  • the near-end device may specify to communicate with the same far-end device through one or more first information frames in one communication cycle.
  • the period of one first information frame includes multiple first information frames; one near-end device can communicate with multiple remote devices, and the near-end device only communicates with one remote device through one first information frame, so it needs to communicate with The remote device sends the node ID, so that the remote device determines to use the second information frame corresponding to the timing of the first information frame corresponding to the node ID to communicate with the near-end device according to the node ID.
  • the 160ms radio cycle shown in Figure 6 contains 16 radio frames, and the node ID is used to instruct the near-end device to use the first first information frame in the 16 first information frames (radio frames) contained in one radio cycle
  • the far-end device communicates with the near-end device according to the node ID using the first second information frame in the 16 second information frames (radio frames) included in a radio cycle; or, indicating the near-end device
  • the end device uses the 1st, 4th, and 7th first information frames of the 16 first information frames (radio frames) included in a wireless cycle to communicate with the remote device;
  • the remote device uses a The first, fourth, and seventh second information frames in the 16 second information frames (radio frames) included in the wireless cycle communicate with the near-end device.
  • the far-end device by requesting the near-end device to assign a node ID, the far-end device can ensure that the near-end device communicates with multiple far-end devices in an orderly and normal manner.
  • step S510 is performed.
  • the near-end device determines that the near-end device is time-synchronized with the far-end device.
  • the first information is sent by the remote device according to the received heartbeat packet.
  • step S511 In order to further ensure the reliability of determining the time synchronization between the remote device and the near-end device, step S511 also needs to be performed.
  • the near-end device sends a RACH ACK (Acknowledge Character, confirmation character) to the far-end device that sends the first information according to the first information;
  • the RACH message is used to request the near-end device to assign a node ID; the RACH ACK is used to assign a node ID to the far-end device; the node ID is used to indicate that the near-end device is communicating with the far-end device.
  • the first information may be transmitted in the form of a RACH frame.
  • the remote device receives the RACH acknowledgment character ACK.
  • the RACH ACK is sent by the near-end device according to the received RACH message.
  • the remote device After receiving the RACH ACK, the remote device can finally determine that the remote device is time synchronized with the near-end device.
  • the remote device obtains, according to the RACH ACK, the node identification ID allocated by the near-end device to the remote device.
  • the remote device acquires the node identification ID allocated by the near-end device to the remote device, and can confirm the timing sequence corresponding to the second information frame used for communication with the near-end device.
  • the remote device updates the second frame count information corresponding to the remote device according to the received heartbeat packet, so that the updated second frame count information is the same as the first frame count corresponding to the near-end device Information is the same.
  • the heartbeat packet stores the first frame count information.
  • the second frame count information is used to indicate the count information of the radio frame used by the remote device, and the second frame count information includes: the superframe information of the remote device, the second frame in different communication systems and communication standards.
  • the counting information is different; in the LTE communication system, the second frame counting information is the HFN corresponding to the remote device.
  • Updating the second frame count information to the first frame count information can effectively ensure that the far-end device can correctly receive the communication information sent by the near-end device. Since the far-end device needs to decrypt the data packets sent by the near-end device according to the COUNT (count) value, and the COUNT value includes HFN and SN (Sequence Number, sequence number), only when the HFN of the far-end device and the near-end device are synchronized, Only the far-end device can correctly decrypt the data packets sent by the near-end device, so as to realize the normal communication between the near-end device and the far-end device.
  • COUNT count
  • SN Sequence Number, sequence number
  • step S514 is not limited to be executed after step S513, but only needs to be executed after step S5072.
  • S515 The remote device sends the second information.
  • the second information and the RACH message are sent in different second information frames.
  • the second information may be transmitted in the form of data frames.
  • FIG. 7 is a schematic diagram of a timing sequence corresponding to a remote device sending a RACH message and second information according to an embodiment of the application.
  • the periods of the first information frame and the second information frame are both is T1ms, each first information frame and each second information frame corresponds to the time domain position of T2ms, T2 ⁇ T1.
  • the near-end device communicates with the far-end device at the time domain position corresponding to the first first information frame in each first information frame period; The time domain position corresponding to the frame is communicated with the near-end device.
  • the remote device sends the RACH message at the time domain position corresponding to the first second information frame in the second second information frame period
  • the near-end device sends the RACH message at the time domain position corresponding to the first second information frame in the second second information frame period
  • the time domain position corresponding to the first first information frame receives the RACH message sent by the remote device;
  • the remote device sends the second information frame at the time domain position corresponding to the first second information frame in the fourth second information frame period.
  • the near-end device receives the second information sent by the far-end device at the time domain position corresponding to the first first information frame in the fourth first information frame period.
  • the near-end device is in the sending state at the time domain position corresponding to the first first information frame in the first and third first information frame periods, that is, it is allowed to send data to the far-end device;
  • the time domain positions corresponding to the first second information frame in the first and third second information frame periods are in the receiving state, that is, in the state of being allowed to send data to the near-end device.
  • the second information and the RACH message may be alternately staggered and sent at time domain positions corresponding to different second information frames.
  • the fourth time domain position includes: the time domain position corresponding to the RACH message and the time domain position corresponding to the second information;
  • the first time domain position includes: the time domain position corresponding to the RACH message and the time domain position corresponding to the second information
  • Time domain position; 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 may be the same or different, as shown in Figure 6, in the second subframe to the seventh
  • the time domain position corresponding to the fourth subframe in the subframe is the time domain position corresponding to the RACH message, the time domain position corresponding to the fifth subframe is the time domain position corresponding to the heartbeat packet, and the time domain position corresponding to the sixth subframe is The time domain position corresponding to the second information, or, the time domain position corresponding to the fourth subframe in the second subframe to the seventh subframe is both the time domain position corresponding to the RACH message and the time domain corresponding to the second information.
  • the time domain position corresponding to the 5th subframe is the time domain position corresponding to the heartbeat packet, or, the time domain position corresponding to the 5th subframe in the 2nd subframe to the 7th subframe is the time domain position corresponding to the RACH message
  • the remote device 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 device sends the first information
  • the RACH message is received at the time domain position corresponding to the RACH message in the frame, and the second information is received at the time domain position corresponding to the second information in the first information frame.
  • step S515 is not limited to be executed only after step S514, but can also be executed after step S513.
  • S516 The near-end device receives the second information.
  • the second information and the RACH message are received in different first information frames, and the specific description refers to step S515, which is not repeated here.
  • the near-end device may also send feedback information to the far-end device according to the second information, for example, sending feedback information confirming receipt of the second information.
  • the near-end device is wirelessly adjusted to synchronize with the time of the base station to which the first cell belongs
  • the remote device is wirelessly adjusted to be synchronized with the time of the base station to which the second cell belongs
  • the near-end device is connected to the near-end
  • the device can exchange information wirelessly to determine the time synchronization between the near-end device and the far-end device, thus realizing the time synchronization between the near-end device and the far-end device by wireless, avoiding additional hardware and hardware interfaces, which can effectively Reduce the cost of time synchronization between the near-end device and the far-end device.
  • FIG. 8 is a schematic flowchart of another communication processing method provided by an embodiment of the present application. 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, The method includes:
  • S801 Receive a signal of a base station to which the first cell belongs at a second time domain position in the time domain position corresponding to the first information frame.
  • the near-end device receives the frequency signal of the base station to which the first cell belongs at the second time domain position; specifically, as shown in FIG.
  • the 0 subframe receives the signal of the base station to which a cell belongs.
  • the first frequency used by the near-end device when receiving the signal of the base station to which the first cell belongs is different from the communication frequency (second frequency) used by the near-end device when communicating with the far-end device; specifically As shown in FIG. 6 , the near-end device uses the first frequency point at the time domain position corresponding to the 0th subframe of the first information frame, and uses the second frequency point in the second to seventh subframes of the first information frame .
  • the second frequency point can be set in the near-end device and the far-end device in advance, and the second frequency point needs to be set to be different from the used frequency points such as public network frequency points, private network frequency points, WIFI frequency points, etc.
  • the first frequency point is the frequency point of the base station to which the first cell belongs and is determined when the near-end device performs the cell search process.
  • S802 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, correct the time synchronization offset and frequency offset of the near-end device to maintain the same
  • the base stations to which the first cell belongs are time-synchronized.
  • the correction of the time synchronization offset and frequency offset of the near-end device according to the signal of the base station includes:
  • S8021 Calculate the time synchronization deviation between the near-end device and the base station described in the first cell according to the signal of the base station to which the first cell belongs, the time information (clock information) of the near-end device, and the first frequency point used by the near-end device and frequency deviation (frequency deviation);
  • S8022 Correct the time synchronization offset and frequency offset between the near-end device and the base station to which the first cell belongs, so as to maintain time synchronization with the base station to which the first cell belongs.
  • the near-end device may be in the time domain corresponding to one subframe or multiple subframes in the first subframe, the eighth subframe and the ninth subframe of the first information frame (radio frame).
  • Step S8021 is performed at the position
  • step S8022 is performed at a time domain position corresponding to one subframe or multiple subframes in the first subframe, the eighth subframe and the ninth subframe of the first information frame.
  • the time domain position corresponding to the near-end device executing step S8021 and the time domain position corresponding to executing step S8022 may be the time domain position corresponding to the same subframe, or may be the time domain position corresponding to different subframes.
  • Step S8021 is performed in 1 subframe, and step S8022 is performed in the 8th subframe or in the 9th subframe.
  • the near-end device performs steps S8021 and S8022 in the first subframe.
  • the time domain position corresponding to the near-end device performing steps S8021 and S8022 may be configured by high-layer signaling of the near-end device, or specified by a protocol, or manually set, 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 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 signal. Therefore, steps S801 to S802 need to be performed, so that the near-end device keeps time synchronization with the base station to which the first cell belongs, so as to keep the time synchronization with the far-end device.
  • the first information frame corresponding to the near-end device performing steps S801 and S802 may be the same first information frame used when communicating with the near-end device and the far-end device, or may be different As shown in Figure 7, the near-end device may perform step S801 in the first first information frame (the first information frame used to receive the RACH message) in the second first information frame period and S802, the near-end device may also perform steps S801 and S802 for other first information frames other than the first first information frame, such as the second first information frame, in the second first information frame period.
  • the (sequence) of the second information frame for performing steps S801 and S802 can be configured by high-layer signaling of the near-end device, or set by a protocol, or manually, which is not limited herein.
  • step S501 if the near-end device does not receive a signal from the base station to which the first cell belongs within the second time period, step S501 is performed, that is, the cell search process is re-executed to determine a new first cell.
  • the second time period can be configured by high-layer signaling of the near-end device, or set by a protocol, or set manually, which is not limited here.
  • steps S801 and S802 For the content involved in steps S801 and S802, reference may be made to the descriptions in FIG. 1 and FIG. 5, which will not be repeated here.
  • the near-end device after the near-end device is adjusted to synchronize the time of the far-end device wirelessly, it can continue to wirelessly receive the signal of the base station to which the first cell belongs, and according to the signal, the near-end device communicates with the first cell.
  • the time synchronization offset and frequency offset of the base station to which a cell belongs are corrected, so that the near-end device can keep the time synchronization with the base station to which the first cell belongs, so that the near-end device can keep the time synchronization with the far-end device and avoid additional hardware and hardware.
  • the interface can effectively reduce the cost of time synchronization between the near-end device and the far-end device.
  • FIG. 9 is a schematic flowchart of another communication processing method provided by an embodiment of the present application. Specifically, as shown in FIG. 9, the method is applied to a remote device, and the method is executed after step S5072 is executed or Executed after receiving the RACK ACK in step S512, the method includes:
  • S901 Receive a signal of a base station to which the second cell belongs at a fifth time domain position in the time domain position corresponding to the second information frame.
  • the remote device receives the frequency signal of the base station to which the second cell belongs at the fifth time domain position; specifically, as shown in FIG. 6 , the remote device may receive the frequency signal of the base station to which the second cell belongs.
  • the 0 subframe receives the signal of the base station to which the second cell belongs.
  • the first frequency used by the remote device when receiving the signal of the base station to which the second cell belongs is different from the communication frequency (second frequency) used by the remote device when communicating with the near-end device; specifically As shown in FIG. 6 , the remote device uses the first frequency in the 0th subframe of the first information frame, and uses the second frequency in the second to seventh subframes of the second information frame.
  • the second frequency point can be set in the near-end device and the far-end device in advance, and the second frequency point needs to be set to be different from the used frequency points such as public network frequency points, private network frequency points, WIFI frequency points, etc.
  • the first frequency point is the frequency point of the base station to which the second cell belongs and is determined when the remote device performs the cell search process.
  • S902 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, correct the time synchronization offset and frequency offset of the remote device to keep the The base stations to which the second cell belongs are time-synchronized.
  • the correction of the time synchronization offset and frequency offset of the remote device according to the signal of the base station includes:
  • S9021 According to the signal of the base station to which the second cell belongs, the time information (clock information) of the remote device, and the first frequency used by the remote device, calculate the time synchronization deviation between the remote device and the base station to which the second cell belongs, and frequency deviation (frequency deviation);
  • S9022 Correct the time synchronization offset and frequency offset between the remote device and the base station to which the second cell belongs, so as to maintain time synchronization with the base station to which the second cell belongs.
  • the remote device may be in the time domain corresponding to one subframe or multiple subframes in the first subframe, the eighth subframe and the ninth subframe of the second information frame (radio frame).
  • Step S9021 is performed at the position
  • step S9022 is performed at a time domain position corresponding to one subframe or multiple subframes among the first subframe, the eighth subframe and the ninth subframe of the second information frame.
  • the time domain position corresponding to the remote device executing step S9021 and the time domain position corresponding to executing step S9022 may be the time domain position corresponding to the same subframe, or may be the time domain position corresponding to different subframes.
  • Step S9021 is performed in 1 subframe
  • step S9022 is performed in the 8th subframe or in the 9th subframe.
  • the remote device performs step S9021 and step S9022 in the first subframe.
  • the time domain position corresponding to the remote device performing steps S9021 and S9022 may be configured by high-layer signaling of the near-end device, or specified by a protocol, or manually set, which is not limited herein.
  • the clock source of the second cell is different from the clock source of the remote device, and it may occur that the frequency 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, is different from the first frequency signal. Therefore, steps S901 to S902 need to be performed, so that the remote device can keep the time synchronization with the base station to which the second cell belongs, so as to keep the time synchronization with the near-end device.
  • the second information frame corresponding to the remote device performing steps S901 and S902 may be the same second information frame used when communicating with the remote device and the near-end device, or may be different
  • the second information frame specifically as shown in Figure 7, the remote device may perform step S901 in the first second information frame (the second information frame used to send the RACH message) in the second second information frame period and S902, the remote device may also perform steps S901 and S902 for other second information frames other than the first second information frame, such as the second second information frame, in the second second information frame period.
  • the (sequence) of the second information frame for performing steps S901 and S902 may be configured by high-layer signaling of the remote device, or set by a protocol, or manually, which is not limited herein.
  • step S503 if the remote device does not receive a signal from the base station to which the second cell belongs within the third time period, step S503 is performed, that is, the cell search process is re-executed to determine a new second cell.
  • steps S901 and S902 For the content involved in steps S901 and S902, reference may be made to the descriptions in FIG. 1 and FIG. 5, which will not be repeated here.
  • the remote device after the remote device is wirelessly adjusted to synchronize the time of the near-end device, it can continue to wirelessly receive the signal of the base station to which the second cell belongs, and according to the signal, the remote device communicates with the first device.
  • the time synchronization offset and frequency offset of the base station to which the second cell belongs are corrected, so that the remote device can keep the time synchronization with the base station to which the second cell belongs, so that the remote device can keep the time synchronization with the near-end device, and avoid additional hardware and hardware.
  • the interface can effectively reduce the cost of time synchronization between the near-end device and the far-end device.
  • FIG. 10 is a schematic structural diagram of a communication synchronization device provided by an embodiment of the present application.
  • the communication synchronization device includes: a storage device 1001 and a processor 1002; and the communication
  • the synchronization device may further include a data interface 1003 and a user interface 1004 .
  • Various types of buses can also be used to establish connections between various hardwares.
  • the communication synchronization device can exchange data with other terminals, servers and other devices; the user interface 1004 is used to realize human-computer interaction between the user and the communication synchronization device; the user The interface 1004 can provide a touch screen, physical keys, etc. to realize human-computer interaction between the user and the communication synchronization device.
  • the storage device 1001 may include a volatile memory (Volatile memory), such as a random access memory (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 (Flash Memory), Solid-State Drive (Solid-State Drive, SSD), etc.; the storage device 1001 may also include a combination of the above-mentioned types of memories.
  • volatile memory such as a random access memory (Random-Access Memory, RAM)
  • non-Volatile Memory such as a flash memory. Flash memory (Flash Memory), Solid-State Drive (Solid-State Drive, SSD), etc.
  • SSD Solid-State Drive
  • the processor 1002 may be a central processing unit (Central Processing Unit, CPU).
  • the processor 1002 may further include a hardware chip.
  • the above-mentioned hardware chip can be an application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), a programmable logic device (Programmable Logic Device, PLD), and the like.
  • the above-mentioned PLD may be a Field-Programmable Gate Array (FPGA), a Generic Array Logic (GAL), or the like.
  • the communication synchronization device is a near-end device:
  • the storage device 1001 is used to store program codes
  • the processor 1002 when invoking the stored code, is configured to perform a cell search process to determine the first cell;
  • the first information is received, it is determined that the time of the near-end device and the far-end device are synchronized; the first information is sent by the far-end device according to the received heartbeat packet.
  • the processor 1002 is specifically configured to determine a cell that satisfies the first condition among the searched cells;
  • a cell with the largest reference signal received power RSRP among the cells satisfying the first condition is determined as the first cell.
  • satisfying the first condition means that the RSRP of the cell is within the first RSRP threshold range.
  • the processor 1002 is specifically configured to read time synchronization information of the first cell
  • the near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs.
  • the near-end device communicates with the far-end device using a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device.
  • the data communicated by the end device is not limited to a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device. The data communicated by the end device.
  • the heartbeat packet is sent at a first time domain position; the first time domain position is a time domain position corresponding to a transmission block in the first information frame.
  • the processor 1002 is further configured to, after the determining that the near-end device and the far-end device are time synchronized, in the second time domain in the time domain position corresponding to the first information frame location, receiving the signal of the base station to which the first cell belongs;
  • the time synchronization offset and frequency offset of the near-end device are corrected to keep the same as the first information frame.
  • the time of the base station to which the cell belongs is synchronized.
  • the second time domain location is located before the first time domain location; the third time domain location is located between the second time domain location and the first time domain location, and/or, the The third time domain position is located after the first time domain position; the first time domain position is the time domain position corresponding to the transport block in the first information frame.
  • the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID;
  • the processor 1002 is further configured to send a RACH acknowledgment character ACK to the far-end device that sends the first information according to the first information after the time synchronization between the near-end device and the far-end device is determined;
  • the RACH ACK is used to assign a node ID to the far-end device; the node ID is used to indicate the timing corresponding to the first information frame used by the near-end device when communicating with the far-end device.
  • the heartbeat packet stores frequency point information of the base station to which the first cell belongs and cell information of the first cell.
  • the heartbeat packet stores first frame count information corresponding to the near-end device.
  • the processor 1002 is further configured to receive the second information after the RACH acknowledgement character ACK is sent to the remote device that sends the first information;
  • the second information and the RACH message are received in different first information frames.
  • the communication synchronization device is a remote device:
  • the storage device 1001 is used to store program codes
  • the processor 1002 when invoking the stored code, is configured to perform a cell search process to determine a second cell;
  • a heartbeat packet If a heartbeat packet is received, determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet;
  • the heartbeat packet is sent by the near-end device.
  • the processor 1002 is specifically configured to determine a cell that satisfies the second condition among the searched cells;
  • a cell with the largest reference signal received power RSRP among the cells satisfying the second condition is determined as the second cell.
  • the processor 1002 is further configured to update the second cell if the heartbeat packet is not received, or if it is determined according to the heartbeat packet that the time of the remote device and the near-end device is not synchronized ;
  • the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
  • the processor 1002 is specifically configured to exclude a second cell corresponding to a heartbeat packet that has not been received, or to exclude a determination based on the heartbeat packet that the time between the remote device and the near-end device is not synchronized the corresponding second cell;
  • the cell with the largest RSRP that satisfies the second condition among the remaining cells is updated as a new second cell.
  • satisfying the second condition means that the RSRP of the cell is within the second RSRP threshold range.
  • the processor 1002 is specifically configured to acquire frequency point information of the 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 and the The time synchronization of the base station to which the first cell belongs;
  • the far-end device is time-synchronized with the near-end device.
  • the processor 1002 is specifically configured to read time synchronization information of the second cell
  • the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
  • the far-end device communicates with the near-end device by using a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device.
  • the data communicated by the end device is not limited to a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device. The data communicated by the end device.
  • the processor 1002 is further configured to, before determining whether the remote device and the near-end device are time synchronized according to the heartbeat packet if the heartbeat packet is received, perform a fourth The time domain position receives the heartbeat packet; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
  • the processor 1002 is further configured to, after the determining that the remote device is time synchronized with the near-end device, perform the fifth step in the time domain position corresponding to the second information frame time domain location, receiving the signal of the base station to which the second cell belongs;
  • the time synchronization offset and the frequency offset of the remote device are corrected to keep the same as the second information frame.
  • the time of the base station to which the cell belongs is synchronized.
  • the fifth time domain location is located before the fourth time domain location; the sixth time domain location is located between the fifth time domain location and the fourth time domain location, and/or , the sixth time domain position is located after the fourth time domain position; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
  • the processor 1002 is further configured to, if it is determined that the time of the near-end device and the far-end device is synchronized, update the first time corresponding to the far-end device according to the received heartbeat packet Two frames of counting information, so that the updated second frame counting information is the same as the first frame counting information corresponding to the near-end device;
  • the heartbeat packet stores the first frame count information.
  • the processor 1002 is further configured to send first information if it is determined according to the heartbeat packet that the time of the near-end device and the far-end device is synchronized, so that the near-end device The first information determines that the near-end device is time-synchronized with the far-end device.
  • the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID; the node ID is used to indicate that the near-end device is working with The time sequence corresponding to the first information frame used by the remote device for communication.
  • the processor 1002 is further configured to receive a RACH acknowledgment character ACK; the RACH ACK is sent by the near-end device according to the received RACH message;
  • the node identification ID allocated by the near-end device to the far-end device is obtained.
  • the processor 1002 is further configured to send the second information after acquiring the node identification ID allocated by the near-end device to the far-end device according to the RACH ACK;
  • the second information and the RACH message are sent in different second information frames.
  • FIG. 11 is a schematic structural diagram of a communication synchronization apparatus provided by an embodiment of the present application. Specifically, as shown in FIG. 11, the communication synchronization apparatus includes:
  • a search module 1101, configured to perform 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 the base station to which the first cell belongs;
  • the sending module 1103 is used to send a heartbeat packet to the remote device
  • the determining module 1104 is configured to determine the time synchronization between the near-end device and the far-end device if the first information is received; the first information is sent by the far-end device according to the received heartbeat packet.
  • the search module 1101 is specifically configured to determine a cell that satisfies the first condition among the searched cells;
  • a cell with the largest reference signal received power RSRP among the cells satisfying the first condition is determined as the first cell.
  • satisfying the first condition means that the RSRP of the cell is within the first RSRP threshold range.
  • the synchronization module 1102 is specifically configured to read the time synchronization information of the first cell
  • the near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs.
  • the near-end device communicates with the far-end device using a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device.
  • the data communicated by the end device is not limited to a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device. The data communicated by the end device.
  • the heartbeat packet is sent at a first time domain position; the first time domain position is a time domain position corresponding to a transmission block in the first information frame.
  • the communication synchronization apparatus further includes:
  • the receiving module is configured to, after the determining of the time synchronization between the near-end device and the far-end device, receive at the second time domain position in the time domain position corresponding to the first information frame the data of the first cell to which the first cell belongs. base station signal;
  • the correction module at the third time domain position in the time domain position corresponding to the first information frame, according to the signal of the base station, corrects the time synchronization offset and frequency offset of the near-end device, so as to maintain the same The time synchronization of the base station to which the first cell belongs.
  • the second time domain location is located before the first time domain location; the third time domain location is located between the second time domain location and the first time domain location, and/or, the The third time domain position is located after the first time domain position; the first time domain position is the time domain position corresponding to the transport block in the first information frame.
  • the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID;
  • the sending module 1103 is further configured to send a RACH acknowledgment character ACK to the far-end device that sends the first information according to the first information after the time synchronization between the near-end device and the far-end device is determined;
  • the RACH ACK is used to assign a node ID to the far-end device; the node ID is used to indicate the timing corresponding to the first information frame used by the near-end device when communicating with the far-end device.
  • the heartbeat packet stores frequency point information of the base station to which the first cell belongs and cell information of the first cell.
  • the heartbeat packet stores first frame count information corresponding to the near-end device.
  • the receiving module is further configured to receive the second information after the RACH acknowledgement character ACK is sent to the remote device that sends the first information;
  • the second information and the RACH message are received in different first information frames.
  • FIG. 12 is a schematic structural diagram of another communication synchronization apparatus provided by an embodiment of the present application. Specifically, as shown in FIG. 12, the communication synchronization apparatus includes:
  • a search 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 the base station to which the second cell belongs;
  • a determination module 1203, configured to determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received;
  • the heartbeat packet is sent by the near-end device.
  • the search module 1201 is specifically configured to determine a cell that satisfies the second condition among the searched cells;
  • a cell with the largest reference signal received power RSRP among the cells satisfying the second condition is determined as the second cell.
  • the communication synchronization apparatus further includes:
  • an update module configured to update the second cell if the heartbeat packet is not received, or if it is determined that the time of the remote device and the near-end device is not synchronized according to the heartbeat packet;
  • the synchronization module 1202 is further configured to perform time synchronization of the remote device with the base station to which the second cell belongs after the second cell is updated.
  • the update module is specifically configured to exclude the second cell corresponding to the heartbeat packet that has not been received, or to exclude the time synchronization between the remote device and the near-end device determined according to the heartbeat packet. the second district;
  • the cell with the largest RSRP that satisfies the second condition among the remaining cells is updated as a new second cell.
  • satisfying the second condition means that the RSRP of the cell is within the second RSRP threshold range.
  • the determining module 1203 is specifically configured to acquire, according to the heartbeat packet, the frequency point information of the base station to which the first cell belongs and the cell information of the first cell; wherein the near-end device and the The time synchronization of the base station to which the first cell belongs;
  • the far-end device is time-synchronized with the near-end device.
  • the synchronization module 1202 is specifically configured to read the time synchronization information of the second cell;
  • the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
  • the far-end device communicates with the near-end device by using a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device.
  • the data communicated by the end device is not limited to a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device. The data communicated by the end device.
  • the communication synchronization apparatus further includes:
  • a receiving module configured to receive the heartbeat packet at a fourth time domain position before determining whether the remote 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 the time domain position corresponding to the transport block in the second information frame.
  • the receiving module is further configured to, after the determining that the remote device and the near-end device are time synchronized, at a fifth time in the time domain position corresponding to the second information frame domain location, receiving the signal of the base station to which the second cell belongs;
  • the synchronization module 1202 is further configured to, at the sixth time domain position in the time domain position corresponding to the second information frame, perform the time synchronization deviation and frequency deviation of the remote device according to the signal of the base station. Modified to maintain time synchronization with the base station to which the second cell belongs.
  • the fifth time domain location is located before the fourth time domain location; the sixth time domain location is located between the fifth time domain location and the fourth time domain location, and/or , the sixth time domain position is located after the fourth time domain position; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
  • the updating module is further configured to update the second corresponding to the remote device according to the received heartbeat packet if it is determined that the time of the near-end device and the remote device is synchronized frame count information, so that the updated second frame count information is the same as the first frame count information corresponding to the near-end device;
  • the heartbeat packet stores the first frame count information.
  • the communication synchronization apparatus further includes:
  • a sending module configured to send first information if it is determined according to the heartbeat packet that the time of the near-end device and the far-end device is synchronized, so that the near-end device determines the near-end device according to the first information
  • the device is time synchronized with the remote device.
  • the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID; the node ID is used to indicate that the near-end device is working with The time sequence corresponding to the first information frame used by the remote device for communication.
  • the receiving module is further configured to receive a RACH acknowledgment character ACK; the RACH ACK is sent by the near-end device according to the received RACH message;
  • the node identification ID allocated by the near-end device to the far-end device is obtained.
  • the sending module is further configured to send the second information after acquiring the node identification ID allocated by the near-end device to the far-end device according to the RACH ACK;
  • the second information and the RACH message are sent in different second information frames.
  • an embodiment of the present invention 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 perform steps S301 to S304, steps S501 to S502, S505, The method described in any of the embodiments in S510 to S511, S516, and S801 to S802.
  • the computer storage medium here may include both the built-in storage medium in the smart terminal, and certainly also the extended storage medium supported by the smart terminal.
  • the computer storage medium provides storage space, and the storage space stores the operating system of the intelligent terminal.
  • one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions may be one or more computer programs (including program codes).
  • the computer storage medium here can be a high-speed RAM memory, or a non-volatile memory (Non-Volatile Memory), such as at least one disk memory; optionally, it can also be at least one memory located far away from the aforementioned processor. computer storage media.
  • 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 perform steps S401 to S403, steps S503 to S504, and S506 of the present application
  • the computer storage medium here may include both the built-in storage medium in the smart terminal, and certainly also the extended storage medium supported by the smart terminal.
  • the computer storage medium provides storage space, and the storage space stores the operating system of the intelligent terminal.
  • one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions may be one or more computer programs (including program codes).
  • the computer storage medium here can be a high-speed RAM memory, or a non-volatile memory (Non-Volatile Memory), such as at least one disk memory; optionally, it can also be at least one memory located far away from the aforementioned processor. computer storage media.
  • an embodiment of the present application further provides a communication synchronization system, where the communication synchronization system includes a first communication synchronization device and a second communication synchronization device, and the first communication synchronization device is used to implement steps S301 to S304,
  • the communication synchronization system includes a first communication synchronization device and a second communication synchronization device
  • the first communication synchronization device is used to implement steps S301 to S304
  • the second communication synchronization device is used to implement steps S401 to S403, steps S503 to S504, S506 to S509
  • an embodiment of the present application provides a chip for performing a cell search process to determine a first cell
  • the first information is received, it is determined that the time of the near-end device and the far-end device are synchronized; the first information is sent by the far-end device according to the received heartbeat packet.
  • the chip in the aspect of determining the first cell, is specifically configured to determine a cell that satisfies the first condition among the searched cells;
  • a cell with the largest reference signal received power RSRP among the cells satisfying the first condition is determined as the first cell.
  • satisfying the first condition means that the RSRP of the cell is within the first RSRP threshold range.
  • the chip is specifically configured to read time synchronization information of the first cell in terms of adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs;
  • the near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs.
  • the near-end device communicates with the far-end device using a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device.
  • the data communicated by the end device is not limited to a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device. The data communicated by the end device.
  • the heartbeat packet is sent at a first time domain position; the first time domain position is a time domain position corresponding to a transmission block in the first information frame.
  • the chip after the determining of the time synchronization between the near-end device and the far-end device, is further used for a second time-domain position in the time-domain position corresponding to the first information frame, receiving a signal of the base station to which the first cell belongs;
  • the time synchronization offset and frequency offset of the near-end device are corrected to keep the same as the first information frame.
  • the time of the base station to which the cell belongs is synchronized.
  • the second time domain location is located before the first time domain location; the third time domain location is located between the second time domain location and the first time domain location, and/or, the The third time domain position is located after the first time domain position; the first time domain position is the time domain position corresponding to the transport block in the first information frame.
  • the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID;
  • the chip after determining that the time synchronization between the near-end device and the far-end device is determined, is further configured to output a RACH acknowledgement character ACK according to the first information, so as to facilitate the sending of the first information to the far-end device Send RACH ACK;
  • the RACH ACK is used to assign a node ID to the far-end device; the node ID is used to indicate the timing corresponding to the first information frame used by the near-end device when communicating with the far-end device.
  • the heartbeat packet stores frequency point information of the base station to which the first cell belongs and cell information of the first cell.
  • the heartbeat packet stores first frame count information corresponding to the near-end device.
  • the chip is further configured to receive the second information after the RACH acknowledgement character ACK is sent to the remote device that sends the first information;
  • the second information and the RACH message are received in different first information frames.
  • the chip can execute the steps related to the near-end device in the method embodiments of FIG. 3 , FIG. 5 , and FIG. 8 .
  • the steps related to the near-end device in the method embodiments of FIG. 3 , FIG. 5 , and FIG. 8 .
  • the chip can execute the steps related to the near-end device in the method embodiments of FIG. 3 , FIG. 5 , and FIG. 8 .
  • the chip can execute the steps related to the near-end device in the method embodiments of FIG. 3 , FIG. 5 , and FIG. 8 .
  • the chip can execute the steps related to the near-end device in the method embodiments of FIG. 3 , FIG. 5 , and FIG. 8 .
  • the chip includes at least one processor, at least one first memory, and at least one second memory; wherein, the at least one first memory and the at least one processor are interconnected through a line, and the first memory stores There are instructions; the at least one second memory and the at least one processor are interconnected through lines, and the second memory stores the data that needs to be stored in the foregoing method embodiments.
  • each module contained therein may be implemented by hardware such as circuits, or at least some of the modules may be implemented by a software program that runs on the integrated circuit inside the chip.
  • the processor and the remaining (if any) modules can be implemented in hardware such as circuits.
  • an embodiment of the present application further provides a chip, where the chip is configured to perform a cell search process to determine the second cell;
  • a heartbeat packet If a heartbeat packet is received, determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet;
  • the heartbeat packet is sent by the near-end device.
  • the chip in the aspect of determining the second cell, is specifically configured to determine a cell that satisfies the second condition among the searched cells;
  • a cell with the largest reference signal received power RSRP among the cells satisfying the second condition is determined as the second cell.
  • the chip is further configured to update the second cell if the heartbeat packet is not received, or if it is determined that the time of the remote device and the near-end device is not synchronized according to the heartbeat packet;
  • the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
  • the chip in the aspect of updating the second cell, is specifically configured to exclude the second cell corresponding to the heartbeat packet that has not been received, or to exclude the determination of the remote device according to the heartbeat packet.
  • the second cell corresponding to the time synchronization of the near-end device is not synchronized;
  • the cell with the largest RSRP that satisfies the second condition among the remaining cells is updated as a new second cell.
  • satisfying the second condition means that the RSRP of the cell is within the second RSRP threshold range.
  • the chip is specifically configured to acquire, according to the heartbeat packet, the information of the base station to which the first cell belongs. frequency point information and cell information of the first cell; wherein the near-end device is time-synchronized with the base station to which the first cell belongs;
  • the far-end device is time-synchronized with the near-end device.
  • the chip is specifically configured to read time synchronization information of the second cell in terms of adjusting the remote device to be time-synchronized with the base station to which the second cell belongs;
  • the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
  • the far-end device communicates with the near-end device by using a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device.
  • the data communicated by the end device is not limited to a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device. The data communicated by the end device.
  • the chip before the chip determines whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if the heartbeat packet is received, the chip is further configured to perform a fourth time domain The location receives the heartbeat packet; the fourth time domain location is the time domain location corresponding to the transmission block in the second information frame.
  • the chip after the determining of the time synchronization between the remote device and the near-end device, is further configured to perform a fifth time domain in the time domain position corresponding to the second information frame location, receiving the signal of the base station to which the second cell belongs;
  • the time synchronization offset and the frequency offset of the remote device are corrected to keep the same as the second information frame.
  • the time of the base station to which the cell belongs is synchronized.
  • the fifth time domain location is located before the fourth time domain location; the sixth time domain location is located between the fifth time domain location and the fourth time domain location, and/or , the sixth time domain position is located after the fourth time domain position; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
  • the chip is further configured to update the second frame corresponding to the far-end device according to the received heartbeat packet if it is determined that the time of the near-end device and the far-end device is synchronized counting information, so that the updated second frame counting information is the same as the first frame counting information corresponding to the near-end device;
  • the heartbeat packet stores the first frame count information.
  • the chip is further configured to output first information so as to send the first information if it is determined according to the heartbeat packet that the time between the near-end device and the far-end device is synchronized, so that the The near-end device determines, according to the first information, that the near-end device is time-synchronized with the far-end device.
  • the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID; the node ID is used to indicate that the near-end device is working with The time sequence corresponding to the first information frame used by the remote device for communication.
  • the chip is further configured to receive a RACH acknowledgment character ACK; the RACH ACK is sent by the near-end device according to the received RACH message;
  • the node identification ID allocated by the near-end device to the far-end device is obtained.
  • the chip is further configured to output second information after acquiring the node identification ID allocated by the near-end device to the far-end device according to the RACH ACK, so as to facilitate sending the first 2.
  • the chip is further configured to output second information after acquiring the node identification ID allocated by the near-end device to the far-end device according to the RACH ACK, so as to facilitate sending the first 2.
  • the second information and the RACH message are sent in different second information frames.
  • the chip can execute the steps related to the remote device in the method embodiments of FIG. 4 , FIG. 5 , and FIG. 9 .
  • the chip can execute the steps related to the remote device in the method embodiments of FIG. 4 , FIG. 5 , and FIG. 9 .
  • the chip includes at least one processor, at least one first memory, and at least one second memory; wherein, the at least one first memory and the at least one processor are interconnected through a line, and the first memory stores There are instructions; the at least one second memory and the at least one processor are interconnected through lines, and the second memory stores the data that needs to be stored in the foregoing method embodiments.
  • each module contained therein may be implemented by hardware such as circuits, or at least some of the modules may be implemented by a software program that runs on the integrated circuit inside the chip.
  • the processor and the remaining (if any) modules can be implemented in hardware such as circuits.
  • FIG. 13 is a schematic structural diagram of a module device provided by an embodiment of the application.
  • the module device includes a chip module 1301, an output interface 1302 and an input interface 1303, wherein:
  • the chip module 1301 is configured to perform a cell search process to determine a first cell; adjust the near-end device to be time-synchronized with the base station to which the first cell belongs;
  • the output interface 1302 is used to send a heartbeat packet to the remote device
  • the chip module 1301 is further configured to determine the time synchronization between the near-end device and the far-end device if the first information is received through the input interface 1303; the first information is the far-end device Sent according to the received heartbeat packet.
  • the chip module 1301 in the aspect of determining the first cell, is specifically configured to determine a cell that satisfies the first condition among the searched cells;
  • a cell with the largest reference signal received power RSRP among the cells satisfying the first condition is determined as the first cell.
  • satisfying the first condition means that the RSRP of the cell is within the first RSRP threshold range.
  • the chip module 1301 is specifically configured to read the time synchronization of the first cell in terms of adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs. information;
  • the near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs.
  • the near-end device communicates with the far-end device using a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device.
  • the data communicated by the end device is not limited to a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device. The data communicated by the end device.
  • the heartbeat packet is sent at a first time domain position; the first time domain position is a time domain position corresponding to a transmission block in the first information frame.
  • the input interface 1303 is further used for a second time-domain position in the time-domain position corresponding to the first information frame , receiving the signal of the base station to which the first cell belongs;
  • the chip module 1301 is also used for, at the third time domain position in the time domain position corresponding to the first information frame, according to the signal of the base station, to the time synchronization deviation and frequency deviation of the near-end device Correction is made to maintain time synchronization with the base station to which the first cell belongs.
  • the second time domain location is located before the first time domain location; the third time domain location is located between the second time domain location and the first time domain location, and/or, the The third time domain position is located after the first time domain position; the first time domain position is the time domain position corresponding to the transport block in the first information frame.
  • the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID;
  • the chip module 1301 after determining that the time synchronization between the near-end device and the far-end device, is further configured to, according to the first information, send the first information to the far end through the output interface 1302
  • the device sends the RACH acknowledgment character ACK;
  • the RACH ACK is used to assign a node ID to the far-end device; the node ID is used to indicate the timing corresponding to the first information frame used by the near-end device when communicating with the far-end device.
  • the heartbeat packet stores frequency point information of the base station to which the first cell belongs and cell information of the first cell.
  • the heartbeat packet stores first frame count information corresponding to the near-end device.
  • the chip module 1301 is further configured to receive through the input interface 1303 after sending the RACH acknowledgment character ACK to the remote device sending the first information through the output interface 1302 second information;
  • the second information and the RACH message are received in different first information frames.
  • the input interface 1303 and the output interface 1302 may be independent communication interfaces, or may be the same communication interface.
  • the specific connection medium between the input interface 1303 , the chip module 1301 , and the output interface 1302 is not limited in the embodiments of the present application.
  • the input interface 1303 , the chip module 1301 and the output interface 1302 are connected by a bus 1304 in FIG. 13 .
  • the bus is represented by a thick line in FIG. 13 , and the connection between other components is only for illustration. Sexual descriptions are not intended to be limiting.
  • the bus 1304 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.
  • FIG. 14 is a schematic structural diagram of another module device provided by an embodiment of the application.
  • the module device includes a chip module 1401 and an input interface 1402, wherein:
  • the chip module 1401 is configured to perform a cell search process to determine a second cell; adjust the remote device to be time-synchronized with the base station to which the second cell belongs;
  • the chip module 1401 is further configured to determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received through the input interface 1402;
  • the heartbeat packet is sent by the near-end device.
  • the chip module 1401 in the aspect of determining the second cell, is specifically configured to determine a cell that satisfies the second condition among the searched cells;
  • a cell with the largest reference signal received power RSRP among the cells satisfying the second condition is determined as the second cell.
  • the chip module 1401 is further configured to, if no heartbeat packet is received through the input interface 1402, or to determine the time difference between the remote device and the near-end device according to the heartbeat packet If synchronized, the second cell is updated;
  • the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
  • the chip module 1401 in the aspect of updating the second cell, is specifically configured to exclude the second cell corresponding to the heartbeat packet that has not been received, or to exclude the determination of the second cell according to the heartbeat packet.
  • the second cell corresponding to the time synchronization between the remote device and the near-end device is not synchronized;
  • the cell with the largest RSRP that satisfies the second condition among the remaining cells is updated as a new second cell.
  • satisfying the second condition means that the RSRP of the cell is within the second RSRP threshold range.
  • the chip module 1401 in the aspect of determining whether the remote device and the near-end device are time-synchronized according to the heartbeat packet, is specifically configured to obtain, according to the heartbeat packet, to which the first cell belongs The frequency point information of the base station and the cell information of the first cell; wherein, the near-end device is time-synchronized with the base station to which the first cell belongs;
  • the far-end device is time-synchronized with the near-end device.
  • the chip module 1401 is specifically configured to read the time synchronization of the second cell in terms of adjusting the time synchronization of the remote device with the base station to which the second cell belongs. information;
  • the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
  • the far-end device communicates with the near-end device by using a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device.
  • the data communicated by the end device is not limited to a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device. The data communicated by the end device.
  • the chip module 1401 determines whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received through the input interface 1402 , and is further configured to receive the heartbeat packet through the input interface 1402 at a fourth time domain position; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
  • the chip module 1401 after the determining that the remote device is time synchronized with the near-end device, is further configured to perform the first step in the time domain position corresponding to the second information frame. Five time domain positions, receiving the signal of the base station to which the second cell belongs through the input interface 1402;
  • the time synchronization offset and the frequency offset of the remote device are corrected to keep the same as the second information frame.
  • the time of the base station to which the cell belongs is synchronized.
  • the fifth time domain location is located before the fourth time domain location; the sixth time domain location is located between the fifth time domain location and the fourth time domain location, and/or , the sixth time domain position is located after the fourth time domain position; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
  • the chip module 1401 is further configured to, if it is determined that the time between the near-end device and the far-end device is synchronized, update all the heartbeat packets received through the input interface 1402 the second frame count information corresponding to 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;
  • the heartbeat packet stores the first frame count information.
  • the module device further includes an output interface; the chip module 1401 is further configured to, if it is determined according to the heartbeat packet that the time between the near-end device and the far-end device is synchronized, pass the The output interface sends first information, so that the near-end device determines time synchronization between the near-end device and the far-end device according to the first information.
  • the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID; the node ID is used to indicate that the near-end device is working with The time sequence corresponding to the first information frame used by the remote device for communication.
  • the input interface 1402 is further configured to receive a RACH acknowledgment character ACK; the RACH ACK is sent by the near-end device according to the received RACH message;
  • the chip module 1401 is further configured to obtain, according to the RACH ACK, the node identification ID allocated by the near-end device to the far-end device.
  • the chip module 1401 is further configured to, after acquiring the node identification ID allocated by the near-end device to the far-end device according to the RACH ACK, send the second through the output interface information;
  • the second information and the RACH message are sent in different second information frames.
  • the input interface 1402 and the output interface may be independent communication interfaces, or may be the same communication interface.
  • the specific connection medium between the input interface 1402 , the chip module 1401 , and the output interface is not limited in the embodiments of the present application.
  • the input interface 1402 , the chip module 1401 and the output interface are connected by a bus 1403 in FIG. 14 .
  • the bus is represented by a thick line in FIG. 14 , and the connection between other components is only schematic. The description is not intended to be limiting.
  • the bus 1403 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.

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 embodiments of the present application disclose a communication synchronization method and apparatus, a storage medium, a chip and a related device. Said method is applied to a near-end device. Said method comprises: executing cell search processing to determine a first cell; adjusting the near-end device to be synchronized in time with a base station to which the first cell belongs; sending a heartbeat packet to a far-end device; and if first information is received, determining that the near-end device is synchronized in time with the far-end device, the first information being sent by the far-end device according to the received heartbeat packet. By means of the present invention, a near-end device can be synchronized in time with a far-end device in a wireless manner, thereby avoiding adding additional hardware and hardware interfaces.

Description

通信同步方法、装置、存储介质、芯片及相关设备Communication synchronization method, device, storage medium, chip and related equipment 技术领域technical field
本发明涉及通信领域,尤其涉及一种通信同步方法、装置、存储介质、芯片及相关设备。The present invention relates to the field of communication, and in particular, to a communication synchronization method, device, storage medium, chip and related equipment.
背景技术Background technique
为了保证蜂窝通信设备之间的正常通信,需在对有通信需求的蜂窝通信设备进行时间同步。目前,蜂窝通信设备之间主要通过有线的方式进行时间同步,即近端设备输出其帧头,远端设备接收并根据该帧头调整自身的定时偏差,从而实现近端设备与远端设备时间同步,但是这种方式增加了额外的用于有线传输的硬件及硬件接口,进而增加了硬件成本。In order to ensure normal communication between cellular communication devices, it is necessary to perform time synchronization on the cellular communication devices that have communication requirements. At present, time synchronization between cellular communication devices is mainly carried out by wire, that is, the near-end device outputs its frame header, and the far-end device receives and adjusts its own timing deviation according to the frame header, so as to realize the time between the near-end device and the far-end device. Synchronization, but this method adds additional hardware and hardware interfaces for wired transmission, thereby increasing the hardware cost.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种通信同步方法、装置、存储介质、芯片及相关设备,能够通过无线的方式使近端设备与远端设备时间同步,避免额外增加硬件及硬件接口。Embodiments of the present application provide a communication synchronization method, apparatus, storage medium, chip, and related equipment, which can wirelessly synchronize time between a near-end device and a far-end device, avoiding additional hardware and hardware interfaces.
为了解决上述技术问题,第一方面,本申请实施例提供一种通信同步方法,所述方法包括:In order to solve the above technical problems, in the first aspect, an embodiment of the present application provides a communication synchronization method, and the method includes:
执行小区搜索处理以确定第一小区;performing a cell search process to determine the first cell;
将近端设备调整为与所述第一小区所属的基站时间同步;Adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs;
向远端设备发送心跳包;Send heartbeat packets to remote devices;
若接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到的所述心跳包发送的。If the first information is received, it is determined that the time of the near-end device and the far-end device are synchronized; the first information is sent by the far-end device according to the received heartbeat packet.
第二方面,本申请实施例还提供一种通信同步方法,所述方法包括:In a second aspect, an embodiment of the present application further provides a communication synchronization method, the method includes:
执行小区搜索处理以确定第二小区;performing a cell search process to determine a second cell;
将远端设备调整为与所述第二小区所属的基站时间同步;adjusting the remote device to be time-synchronized with the base station to which the second cell belongs;
若接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;If a heartbeat packet is received, determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet;
其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
第三方面,本申请实施例提供一种通信同步设备,所述通信同步设备包括:存储装置和处理器,In a third aspect, an embodiment of the present application provides a communication synchronization device, where the communication synchronization device includes: a storage device and a processor,
所述存储装置,用于存储程序代码;the storage device for storing program codes;
所述处理器,在调用所述存储代码时,用于执行如第一方面所述的通信同步方法。The processor, when invoking the stored code, is configured to execute the communication synchronization method according to the first aspect.
第四方面,本申请实施例还提供一种通信同步设备,所述通信同步设备包括:存储装置和处理器,In a fourth aspect, an embodiment of the present application further provides a communication synchronization device, where the communication synchronization device includes: a storage device and a processor,
所述存储装置,用于存储程序代码;the storage device for storing program codes;
所述处理器,在调用所述存储代码时,用于执行如第二方面所述的通信同步方法。The processor, when invoking the stored code, is configured to execute the communication synchronization method according to the second aspect.
第五方面,本申请实施例提供一种通信同步装置,所述通信同步装置包括:In a fifth aspect, an embodiment of the present application provides a communication synchronization device, where the communication synchronization device includes:
搜索模块,用于执行小区搜索处理以确定第一小区;a search module for performing a cell search process to determine the first cell;
同步模块,用于将近端设备调整为与所述第一小区所属的基站时间同步;a synchronization module, configured to adjust the near-end device to be time-synchronized with the base station to which the first cell belongs;
发送模块,用于向远端设备发送心跳包;The sending module is used to send heartbeat packets to the remote device;
确定模块,用于若接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到所述心跳包发送的。A determining module, configured to determine that the near-end device is time-synchronized with the far-end device if the first information is received; the first information is sent by the far-end device according to the received heartbeat packet.
第六方面,本申请实施例还提供一种通信同步装置,所述通信同步装置包括:In a sixth aspect, an embodiment of the present application further provides a communication synchronization device, where the communication synchronization device includes:
搜索模块,用于执行小区搜索处理以确定第二小区;a search module for performing a cell search process to determine a second cell;
同步模块,用于将远端设备调整为与所述第二小区所属的基站时间同步;a synchronization module, configured to adjust the remote device to be time-synchronized with the base station to which the second cell belongs;
确定模块,用于若接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;a determining module, configured to determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received;
其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
第七方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,所述计算机程序使得计算机执行第一方面所述的通信同步方法。In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program causes a computer to execute the communication synchronization method described in the first aspect.
第八方面,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,所述计算机程序使得计算机执行第二方面所述的通信同步方法。In an eighth aspect, an embodiment of the present application 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 communication synchronization method described in 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 device and a second communication synchronization device, and the first communication synchronization device is used to implement the first aspect. In the method, the second communication synchronization apparatus is configured to implement the method of the second aspect.
第十方面,本申请实施例提供一种芯片,所述芯片,用于执行小区搜索处理以确定第一小区;In a tenth aspect, an embodiment of the present application provides a chip, where the chip is configured to perform a cell search process to determine a first cell;
将近端设备调整为与所述第一小区所属的基站时间同步;Adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs;
输出心跳包,以便于向远端设备发送心跳包;Output heartbeat packets to facilitate sending heartbeat packets to remote devices;
若接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到的所述心跳包发送的。If the first information is received, it is determined that the time of the near-end device and the far-end device are synchronized; the first information is sent by the far-end device according to the received heartbeat packet.
第十一方面,本申请实施例还提供一种芯片,所述芯片,用于执行小区搜索处理以确定第二小区;In an eleventh aspect, an embodiment of the present application further provides a chip, where the chip is configured to perform a cell search process to determine a second cell;
将远端设备调整为与所述第二小区所属的基站时间同步;adjusting the remote device to be time-synchronized with the base station to which the second cell belongs;
若接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;If a heartbeat packet is received, determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet;
其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
第十二方面,本申请实施例提供一种模组设备,所述模组设备包括芯片模组、输出接口和输入接口,其中:A twelfth aspect, an embodiment of the present application provides a modular device, the modular device includes a chip module, an output interface and an input interface, wherein:
所述芯片模组,用于执行小区搜索处理以确定第一小区;将近端设备调整为与所述第一小区所属的基站时间同步;The chip module is configured to perform a cell search process to determine a first cell; adjust the near-end device to be time-synchronized with the base station to which the first cell belongs;
所述输出接口,用于向远端设备发送心跳包;The output interface is used to send a heartbeat packet to the remote device;
所述芯片模组,还用于若通过所述输入接口接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到的所述心跳包发送的。The chip module is further configured to determine that the near-end device and the far-end device are time-synchronized if the first information is received through the input interface; The received heartbeat packet is sent.
第十三方面,本申请实施例还提供一种模组设备,所述模组设备包括芯片模组和输入接口,其中:In a thirteenth aspect, the embodiments of the present application further provide a modular device, the modular device includes a chip module and an input interface, wherein:
所述芯片模组,用于执行小区搜索处理以确定第二小区;将远端设备调整为与所述第二小区所属的基站时间同步;The chip module is configured to perform a cell search process to determine a second cell; adjust the remote device to be time-synchronized with the base station to which the second cell belongs;
所述芯片模组,还用于若通过所述输入接口接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;The chip module is further configured to determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received through the input interface;
其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
实施本申请实施例,具有如下有益效果:Implementing the embodiments of the present application has the following beneficial effects:
近端设备和远端设备可通过无线方式调整为与基站时间同步,且近端设备与远端设备可通过信息交互确定近端设备与远端设备时间同步,从而实现了通过无线的方式使近端设备与远端设备时间同步,避免额外增加硬件及硬件接口,能够有效降低近端设备与远端设备时间同步的成本。The near-end device and the far-end device can be wirelessly adjusted to synchronize with the time of the base station, and the near-end device and the far-end device can determine the time synchronization between the near-end device and the far-end device through information exchange, so that the near-end device and the far-end device can be synchronized wirelessly. The time synchronization between the end device and the far end device avoids additional hardware and hardware interfaces, which can effectively reduce the cost of time synchronization between the near end device and the far end device.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1为本申请实施例提供的一种通信同步方法的场景图;FIG. 1 is a scene diagram of a communication synchronization method provided by an embodiment of the present application;
图2为本申请实施例提供的一种近端设备与远端设备的硬件结构示意图;FIG. 2 is a schematic diagram of the hardware structure of a near-end device and a far-end device according to an embodiment of the present application;
图3为本申请实施例提供的一种通信同步方法的的流程示意图;3 is a schematic flowchart of a communication synchronization method provided by an embodiment of the present application;
图4为本申请实施例提供的另一种通信同步方法的的流程示意图;FIG. 4 is a schematic flowchart of another communication synchronization method provided by an embodiment of the present application;
图5为本申请实施例提供的一种通信同步方法的的交互流程示意图;5 is a schematic diagram of an interaction flow of a communication synchronization method provided by an embodiment of the present application;
图6为本申请实施例提供的一种无线帧的结构示意图;6 is a schematic structural diagram of a radio frame provided by an embodiment of the present application;
图7为本申请实施例提供的一种远端设备发送RACH消息和第二信息对应的时序示意图;7 is a schematic diagram of a timing sequence corresponding to a remote device sending a RACH message and second information according to an embodiment of the present application;
图8为本申请实施例提供的另一种通信处理方法的流程示意图;FIG. 8 is a schematic flowchart of another communication processing method provided by an embodiment of the present application;
图9为本申请实施例提供的另一种通信处理方法的流程示意图;FIG. 9 is a schematic flowchart of another communication processing method provided by an embodiment of the present application;
图10为本申请实施例提供的一种通信同步设备的结构示意图;10 is a schematic structural diagram of a communication synchronization device provided by an embodiment of the present application;
图11为本申请实施例提供的一种通信同步装置的结构示意图;FIG. 11 is a schematic structural diagram of a communication synchronization apparatus provided by an embodiment of the application;
图12为本申请实施例提供的另一种通信同步装置的结构示意图;FIG. 12 is a schematic structural diagram of another communication synchronization apparatus provided by an embodiment of the present application;
图13为本申请实施例提供的一种模组设备的结构示意图;13 is a schematic structural diagram of a modular device provided by an embodiment of the application;
图14为本申请实施例提供的另一种模组设备的结构示意图。FIG. 14 is a schematic structural diagram of another module device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本申请的说明书和权利要求书中及上述附图中的属于“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述以外的顺序实施。此外,术语“包括”及其任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、***、产品或服务器不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that, in the description and claims of the present application and in the above drawings, "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. . It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or server comprising a series of steps or elements is not necessarily limited to those steps or elements expressly listed, Rather, other steps or units not expressly listed or inherent to the process, method, product or apparatus may be included.
请参阅图1,图1为本申请实施例提供的一种通信同步方法的场景图,具体如图1所示,在该场景中,近端设备101与远端设备102需进行时间同步处理,以保证在两者时间同步的情况下能够正常进行通信。Please refer to FIG. 1. FIG. 1 is a scene diagram of a communication synchronization method provided by an embodiment of the present application. Specifically, as shown in FIG. 1, in this scenario, the near-end device 101 and the far-end device 102 need to perform time synchronization processing. In order to ensure that the two can communicate normally when the time is synchronized.
其中,近端设备101是指相对远端设备102更靠近基站103的蜂窝通信设备;远端设备102是指相对近端设备101更远离基站103的蜂窝通信设备,即近端设备101与基站103的距离小于远端设备102与基站103的距离;也可将所述近端设备101称为主机,所述远端设备102称为从机。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 distance between the remote device 102 and the base station 103 is smaller than the distance between the remote device 102 and the base station 103; the near-end device 101 may also be referred to as the host, and the remote device 102 may be referred to as the slave.
本申请实施例中,近端设备101与远端设备102进行时间同步处理,具体包括以下两个过程:In this embodiment of the present application, the near-end device 101 and the far-end device 102 perform time synchronization processing, which specifically includes the following two processes:
第一个过程:近端设备101执行小区搜索处理以确定第一小区;将所述近端设备101调整为与所述第一小区所属的基站时间同步;即在小区搜索处理的过程读取第一小区的时间同步信息,根据第一小区的时间同步信息,将近端设备101调整为与所述第一小区所属的基站时间同步。The first process: the near-end device 101 performs a cell search process to determine the first cell; adjusts the near-end device 101 to be time-synchronized with the base station to which the first cell belongs; that is, reads the first cell during the cell search process. Based on the time synchronization information of a cell, according to the time synchronization information of the first cell, the near-end device 101 is adjusted to be time synchronized with the base station to which the first cell belongs.
其中,不同通信标准和通信制式对应的时间同步信息可能不同。在LTE(Long Term Evolution,长期演进)***中时间同步信息为MIB(Master Information Block,主消息块);近端设备101在执行小区搜索处理时,依次执行开机、PSS(Primary Synchronization Signal,主同步信号)监测、SSS(Secondary Synchronization Signal,辅同步信号)监测以及读取第一小区的MIB的处理,即可实现将近端设备101调整为与所述第一小区时间同步。近端设备在读取第一小区的MIB之后还可继续执行读取第一小区的SIB(System Information  Block,***消息块)等其他小区搜索处理,在此不做限定。The time synchronization information corresponding to different communication standards and communication formats may be different. In the LTE (Long Term Evolution, Long Term Evolution) system, the time synchronization information is MIB (Master Information Block, master message block); when the near-end device 101 performs the cell search process, it sequentially performs power-on, PSS (Primary Synchronization Signal, master synchronization) Signal) monitoring, SSS (Secondary Synchronization Signal, Secondary Synchronization Signal) monitoring, and processing of reading the MIB of the first cell, the near-end device 101 can be adjusted to be time-synchronized with the first cell. After reading the MIB of the first cell, the near-end device may continue to perform other cell search processes such as reading the SIB (System Information Block, system message block) of the first cell, which is not limited herein.
其中,所述第一小区是满足第一条件的小区,所述满足第一条件是指小区的RSRP(Reference Signal Receiving Power,参考信号接收功率)在第一RSRP阈值范围内。所述第一小区是满足第一条件的小区保证了近端设备101可通过第一小区与网络侧正常通信。所述第一RSRP阈值范围可由近端设备101的高层信令配置,或由协议规定,或由人为在近端设备101设定,在此不做限定。Wherein, the first cell is a cell that satisfies the first condition, and the satisfying the first condition means that the RSRP (Reference Signal Receiving Power, reference signal received power) of the cell is within the first RSRP threshold range. The fact that the first cell is a cell that satisfies the first condition ensures that the near-end device 101 can communicate with the network side normally through the first cell. The first RSRP threshold range can be configured by high-layer signaling of the near-end device 101, or specified by a protocol, or manually set by the near-end device 101, which is not limited herein.
远端设备102执行小区搜索处理以确定第二小区;将所述远端设备102调整为与所述第二小区所属的基站时间同步;即在小区搜索处理的过程读取第二小区的时间同步信息,根据第二小区的时间同步信息,将远端设备102调整为与所述第二小区所属的基站时间同步。The remote device 102 performs a cell search process to determine the second cell; adjusts the remote device 102 to be time-synchronized with the base station to which the second cell belongs; that is, reads the time synchronization of the second cell during the cell search process information, 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.
其中,所述第二小区是满足第二条件的小区,所述满足第二条件是指小区的RSRP在第二RSRP阈值范围内。所述第二小区是满足第二条件的小区保证了远端设备102可通过第二小区与网络侧正常通信。所述第二RSRP阈值范围可由远端设备102的高层信令配置,或由协议规定,或由人为在远端设备102设定;所述第一RSRP阈值范围与所述第二RSRP阈值范围可以相同,也可以不同,在此不做限定。Wherein, the second cell is a cell that satisfies the second condition, and the satisfaction of the second condition means that the RSRP of the cell is within the second RSRP threshold range. The fact that the second cell is a cell that satisfies the second condition ensures that the remote device 102 can communicate with the network side normally through the second cell. The second RSRP threshold range can be configured by high-layer signaling of the remote device 102, or specified by a protocol, or manually set by the remote device 102; the first RSRP threshold range and the second RSRP threshold range can be The same or different, which is not limited here.
需要说明的是,近端设备101执行小区搜索处理与远端设备102执行小区搜索处理的过程在时间上可以重合,也可以相互错开,在此不做限定。所述第一小区所属的基站与所述第二小区所属的基站可以为同一个基站,也可以为不同的基站;第一小区与第二小区可以是相同的小区,也可以是不同的小区;若第一小区与第二小区为同一个小区(属于同一个基站),则近端设备101与远端设备102才能时间同步。It should be noted that the processes performed by the near-end device 101 to perform the cell search process and the processes of the remote device 102 to perform the cell search process may overlap in time, or may be staggered from 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 (belonging to the same base station), the near-end device 101 and the far-end device 102 can only be time synchronized.
具体地,在近端设备101调整为与所述第一小区所属的基站时间同步,远端设备102调整为与所述第二小区所属的基站时间同步后,近端设备101与远端设备102进行信息交互,以确定近端设备101与远端设备102是否时间同步;若远端设备102与近端设备101时间不同步,则远端设备102会更新第二小区,即将远端设备102调整为与新的第二小区所属的基站时间同步,然后,近端设备101再次与远端设备102进行交互,如此循环,直到确定近端设备101与远端设备时间同步。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 Information exchange is performed to determine whether the time of the near-end device 101 and the far-end device 102 is synchronized; if the time of the far-end device 102 and the near-end device 101 are not synchronized, the far-end device 102 will update the second cell, that is, the far-end device 102 will be adjusted In order to synchronize with the base station to which the new second cell belongs, the near-end device 101 interacts with the far-end device 102 again, and the cycle is repeated until it is determined that the near-end device 101 is time-synchronized with the far-end device.
本申请实施例中,由于近端设备101的时钟源与第一小区所属的基站的时钟源不同,远端设备102的时钟源与第二小区所属的基站的时钟源不同,在第一个过程之后,近端设备101和远端设备102可能会与对应的基站出现时间同步偏差和频偏(频率偏差),因此,近端设备101与远端设备102进行时间同步处理还包括第二个过程。In the 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, in the first process After that, 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 stations. Therefore, the time synchronization process between the near-end device 101 and the far-end device 102 also includes the second process. .
第二个过程:在第一个过程后,近端设备101接收(第一小区所属的)基站的(频点)信号,根据该基站的信号,获取近端设备101与该基站的时间同步偏差和频偏(频率偏差),对所述近端设备101的时间同步偏差和频偏进行修正,以保持与所述第一小区所属的基站时间同步。The second process: after the first process, the near-end device 101 receives the (frequency) signal of the base station (to which the first cell belongs), and obtains the time synchronization deviation between the near-end device 101 and the base station according to the signal of the base station and frequency offset (frequency offset), the time synchronization offset and frequency offset of the near-end device 101 are corrected to maintain time synchronization with the base station to which the first cell belongs.
远端设备102接收(第二小区所属的)基站的(频点)信号,根据该基站的信号,获取远端设备102与该基站的时间同步偏差和频偏,对所述远端设备102的时间同步偏差和频偏进行修正,以保持与所述第二小区所属的基站时间同步。The remote device 102 receives the (frequency point) signal of the base station (to which the second cell belongs), and obtains the time synchronization offset and frequency offset between the remote device 102 and the base station according to the signal of the base station. The time synchronization offset and the frequency offset are corrected to maintain time synchronization with the base station to which the second cell belongs.
需要说明的是,近端设备101与远端设备102进行通信时使用的通信频点可预先在近端设备101与远端设备102上进行设置,该通信频点需设置与公网频点、专网频点以及WIFI(Wireless Fidelity,无线保真)频点等已使用的频点不同。It should be noted that the communication frequency used when the near-end device 101 communicates with the far-end device 102 can be set on the near-end device 101 and the far-end device 102 in advance, and the communication frequency needs to be set with the public network frequency, The frequency points used in the private network and WIFI (Wireless Fidelity, wireless fidelity) frequency points are different.
本申请实施例中,在近端设备101与远端设备102执行第一个过程后,近端设备101与远端设备102相互之间可进行通信。只有在近端设备101与远端设备102时间同步的情况下,近端设备101才能正确接收到远端设备102发送的数据,以及远端设备102才能正确接收到近端设备101发送的数据。In this embodiment of the present application, after the near-end device 101 and the far-end device 102 perform the first process, the near-end device 101 and the far-end device 102 can communicate with each other. Only when the near-end device 101 and the far-end device 102 are time-synchronized, the near-end device 101 can correctly receive the data sent by the far-end device 102, and the far-end device 102 can correctly receive the data sent by the near-end device 101.
需要说明的是,远端设备102并不限定于图1所示的一个远端设备102,还可以是多个远端设备102。近端设备101与远端设备102可以是Modem(调制解调器)终端,还可以是其他类型的蜂窝通信终端,在此不做限定。近端设备101与远端设备102并不限定于均接收图1所示的同一个基站103的信号,两者还可接收不同的基站的信号。It should be noted that the remote device 102 is not limited to one remote device 102 shown in FIG. 1 , but may also be multiple remote devices 102 . The near-end device 101 and the far-end device 102 may be Modem (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 both receive signals from the same base station 103 shown in FIG. 1 , and they can also receive signals from different base stations.
请参阅图2,图2为本申请实施例提供的一种近端设备与远端设备的硬件结构示意图。具体如图2所示,近端设备20与远端设备21确定2490MHz的1.4MHz的带宽信号作为通信频点,该通信频点与公网频点、专网使用的频点、WiFi使用的频点均不相同。Please refer to FIG. 2. FIG. 2 is a schematic diagram of hardware structures of a near-end device and a far-end device according to an embodiment of the present application. Specifically, as shown in FIG. 2 , the near-end device 20 and the far-end device 21 determine a 1.4MHz bandwidth signal of 2490MHz as a communication frequency, which is related to the public network frequency, the frequency used by the private network, and the frequency used by WiFi. The points are not the same.
图2中SAW 201是带宽滤波器,用于对信号进行带通滤波;开关202用于将近端设备20或远端设备21切换到接收状态或发送状态,和/或,用于切换近端设备20或远端设备21使用的频点;近端设备20为发送端设备,远端设备21为接收端设备,或者,近端设备20为接收端设备,远端设备21为发送端设备;发送端设备中的RFIC(射频集成电路)+modem(调制解调器)203用于生成并发送数据信号,比如:根据数据流的比特bit取值,确定信息帧中传输块对应的发送功率,以及根据确定的各发送功率,发送传输块的数据信号;接收端设备中的RFIC+modem 203用于接收数据信号并确定接收到的数据信号对应的比特bit取值,比如:接收数据信号,以及根据数据信号对应的RSSI(Received Signal Strength Indication,接收信号强度指示),确定信息帧中传输块对应的数据流的比特bit取值。近端设备20与远端设备21之间通过无线或有线的方式通信。In FIG. 2, the SAW 201 is a bandwidth filter, which is used for band-pass filtering the signal; the switch 202 is used for switching the near-end device 20 or the far-end device 21 to the receiving state or the sending state, and/or, for switching the near-end device 20 or the far-end device 21. The frequency used by the device 20 or the far-end device 21; the near-end device 20 is the transmitting-end device, and the far-end device 21 is the receiving-end device, or the near-end device 20 is the receiving-end device, and the far-end device 21 is the transmitting-end device; The RFIC (radio frequency integrated circuit) + modem (modem) 203 in the transmitting end device is used to generate and transmit data signals, for example: according to the bit value of the data stream, determine the transmission power corresponding to the transmission block in the information frame, and determine Each transmit power of the receiver transmits the data signal of the transmission block; the RFIC+modem 203 in the receiving end device is used to receive the data signal and determine the bit value corresponding to the received data signal, such as: receiving the data signal, and according to the data signal The corresponding RSSI (Received Signal Strength Indication, received signal strength indication) determines the bit value of the data stream corresponding to the transport block in the information frame. The communication between the near-end device 20 and the far-end device 21 is wireless or wired.
请参阅图3,图3为本申请实施例提供的一种通信同步方法的的流程示意图,本说明书提供了如实施例或流程图所述的方法操作步骤,但基于常规或者无创造性的劳动可以包括更多或者更少的操作步骤。实施例中列举的步骤顺序仅仅为众多步骤执行顺序中的一种方式,不代表唯一的执行顺序。在实际中的终端或者存储介质产品执行时,可以按照实施例或者附图所示的方法顺序执行或者并行执行。具体如图3所示,所述方法应用于近端设备;所述方法包括:Please refer to FIG. 3. FIG. 3 is a schematic flowchart of a communication synchronization method provided by an embodiment of the application. This specification provides the method operation steps as described in the embodiment or the flowchart, but based on conventional or non-creative work Include more or fewer steps. The sequence of steps enumerated in the embodiments is only one of the execution sequences of many steps, and does not represent the only execution sequence. When an actual terminal or storage medium product is executed, the methods shown in the embodiments or the accompanying drawings may be executed sequentially or in parallel. Specifically, as shown in FIG. 3 , the method is applied to a near-end device; the method includes:
S301:执行小区搜索处理以确定第一小区。S301: Perform a cell search process to determine a first cell.
S302:将所述近端设备调整为与所述第一小区所属的基站时间同步。S302: Adjust the near-end device to be time-synchronized with the base station to which the first cell belongs.
S303:向远端设备发送心跳包。S303: Send a heartbeat packet to the remote device.
本申请实施例中,所述心跳包用于定时向远端设备通知近端设备与第一小区所属的基站时间同步的状态,可按照一定的时间间隔发送,类似于心跳,故称之为心跳包。近端设备可通过无线的方式发送心跳包,近端设备可周期性地以广播的方式发送心跳包。In the embodiment of the present application, the heartbeat packet is used to periodically notify the remote device of the state of time synchronization between the near-end device and the base station to which the first cell belongs, and can be sent at a certain time interval, similar to a heartbeat, so it is called a heartbeat Bag. The near-end device can send heartbeat packets wirelessly, and the near-end device can periodically send heartbeat packets in a broadcast mode.
若接收到第一信息,则执行步骤S304。If the first information is received, step S304 is executed.
S304:确定所述近端设备与所述远端设备时间同步。S304: Determine the time synchronization between the near-end device and the far-end device.
其中,所述第一信息是所述远端设备根据接收到的所述心跳包发送的。The first information is sent by the remote device according to the received heartbeat packet.
需要说明的是,步骤S302是在执行步骤S301的过程中执行的。It should be noted that step S302 is executed in the process of executing step S301.
本申请实施例中,近端设备可通过无线方式调整为与第一小区所属的基站时间同步,并与近端设备进行信息交互,以确定近端设备与远端设备时间同步,从而实现了通过无线的方式使近端设备与远端设备时间同步,避免额外增加硬件及硬件接口,能够有效降低近端设备与远端设备时间同步的成本。In the embodiment of the present application, the near-end device can be wirelessly adjusted to be time-synchronized with the base station to which the first cell belongs, and exchanges information with the near-end device to determine the time synchronization between the near-end device and the far-end device, thereby realizing the The wireless method synchronizes the time between the near-end device and the far-end device, avoids additional hardware and hardware interfaces, and can effectively reduce the cost of time synchronization between the near-end device and the far-end device.
请参阅图4,图4为本申请实施例提供的另一种通信同步方法的的流程示意图,本说明书提供了如实施例或流程图所述的方法操作步骤,但基于常规或者无创造性的劳动可以包括更多或者更少的操作步骤。实施例中列举的步骤顺序仅仅为众多步骤执行顺序中的一种方式,不代表唯一的执行顺序。在实际中的终端或者存储介质产品执行时,可以按照实施例或者附图所示的方法顺序执行或者并行执行。具体如图4所示,所述方法应用于远端设备;所述方法包括:Please refer to FIG. 4. FIG. 4 is a schematic flowchart of another communication synchronization method provided by an embodiment of the application. This specification provides the method operation steps as described in the embodiment or the flowchart, but based on conventional or non-creative work More or fewer operational steps may be included. The sequence of steps enumerated in the embodiments is only one of the execution sequences of many steps, and does not represent the only execution sequence. When an actual terminal or storage medium product is executed, the methods shown in the embodiments or the accompanying drawings may be executed sequentially or in parallel. Specifically, as shown in Figure 4, the method is applied to a remote device; the method includes:
S401:执行小区搜索处理以确定第二小区。S401: Perform a cell search process to determine a second cell.
S402:将所述远端设备调整为与所述第二小区所属的基站时间同步。S402: Adjust the remote device to be time-synchronized with the base station to which the second cell belongs.
本申请实施例中,所述心跳包用于定时向远端设备通知近端设备与第一小区所属的基站时间同步的状态,可按照一定的时间间隔发送,类似于心跳,故称之为心跳包。近端设备可通过无线的方式发送心跳包,近端设备可周期性地以广播的方式发送心跳包。远端设备可通过无线的方式接收心跳包。In the embodiment of the present application, the heartbeat packet is used to periodically notify the remote device of the state of time synchronization between the near-end device and the base station to which the first cell belongs, and can be sent at a certain time interval, similar to a heartbeat, so it is called a heartbeat Bag. The near-end device can send heartbeat packets wirelessly, and the near-end device can periodically send heartbeat packets in a broadcast mode. The remote device can receive heartbeat packets wirelessly.
若接收到心跳包,则执行步骤S403。If the heartbeat packet is received, step S403 is executed.
S403:根据所述心跳包确定所述远端设备与近端设备是否时间同步。S403: Determine whether the remote device and the near-end device are time synchronized according to the heartbeat packet.
其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
需要说明的是,步骤S402是在执行步骤S401的过程中执行的。It should be noted that step S402 is executed in the process of executing step S401.
本申请实施例中,远端设备通过无线方式调整为与第二小区所属的基站时间同步,并与近端设备进行信息交互,以确定远端设备与近端设备时间同步,从而实现了通过无线的方式使近端设备与远端设备时间同步,避免额外增加硬件及硬件接口,能够有效降低近端 设备与远端设备时间同步的成本。In the embodiment of the present application, the remote device is wirelessly adjusted to synchronize with the time of the base station to which the second cell belongs, and exchanges information with the near-end device to determine the time synchronization between the remote device and the near-end device. In this way, the time of the near-end device and the far-end device is synchronized, avoiding additional hardware and hardware interfaces, and can effectively reduce the cost of time synchronization between the near-end device and the far-end device.
请参阅图5,图5为本申请实施例提供的一种通信同步方法的的交互流程示意图,本说明书提供了如实施例或流程图所述的方法操作步骤,但基于常规或者无创造性的劳动可以包括更多或者更少的操作步骤。实施例中列举的步骤顺序仅仅为众多步骤执行顺序中的一种方式,不代表唯一的执行顺序。在实际中的终端或者存储介质产品执行时,可以按照实施例或者附图所示的方法顺序执行或者并行执行。所述方法包括:Please refer to FIG. 5. FIG. 5 is a schematic diagram of an interaction flow of a communication synchronization method provided by an embodiment of the application. This specification provides the operation steps of the method as described in the embodiment or the flowchart, but based on conventional or non-creative work More or fewer operational steps may be included. The sequence of steps enumerated in the embodiments is only one of the execution sequences of many steps, and does not represent the only execution sequence. When an actual terminal or storage medium product is executed, the methods shown in the embodiments or the accompanying drawings may be executed sequentially or in parallel. The method includes:
S501:近端设备执行小区搜索处理以确定第一小区。S501: The near-end device performs a cell search process to determine a first cell.
本申请实施例中,所述确定第一小区,包括:In this embodiment of the present application, the determining of the first cell includes:
确定搜索到的小区中满足第一条件的小区;Determine a cell that satisfies the first condition in the searched cells;
将所述满足第一条件的小区中参考信号接收功率RSRP最大的小区,确定为第一小区。A cell with the largest reference signal received power RSRP among the cells satisfying the first condition is determined as the first cell.
本申请实施例中,所述满足第一条件是指小区的RSRP在第一RSRP阈值范围内。In the embodiment of the present application, satisfying the first condition means that the RSRP of the cell is within the first RSRP threshold range.
具体地,近端设备在执行小区搜索处理的过程中可能搜索到N个满足第一条件的小区,N为正整数,在N个满足第一条件的小区中选择RSRP最大作为第一小区,使得近端设备通过第一小区能够实现与网络侧高质量的正常通信。Specifically, in the process of performing the cell search process, the near-end device may search for N cells that satisfy the first condition, where N is a positive integer, and selects the largest RSRP as the first cell among the N cells that satisfy the first condition, so that The near-end device can implement high-quality normal communication with the network side through the first cell.
S502:近端设备将所述近端设备调整为与所述第一小区所属的基站时间同步。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 the embodiment of the present application, the adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs includes:
读取所述第一小区的时间同步信息。Read the time synchronization information of the first cell.
根据所述第一小区的时间同步信息,将所述近端设备调整为与所述第一小区所属的基站时间同步。According to the time synchronization information of the first cell, the near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs.
在不同的通信标准和通信制式中,时间同步信息不同;在LTE通信***中,近端设备读取第一小区的MIB,根据第一小区的MIB,将近端设备调整为与第一小区所属的基站时间同步。In different communication standards and communication systems, the time synchronization information is different; in the LTE communication system, the near-end device reads the MIB of the first cell, and adjusts the near-end device to belong to the first cell according to the MIB of the first cell. base station time synchronization.
需要说明的是,步骤S502是在执行步骤S501的过程中执行的。It should be noted that step S502 is executed in the process of executing step S501.
S503:远端设备执行小区搜索处理以确定第二小区。S503: The remote device performs a cell search process to determine the second cell.
本申请实施例中,所述确定第二小区,包括:In this embodiment of the present application, the determining of the second cell includes:
确定搜索到的小区中满足第二条件的小区;determining a cell that satisfies the second condition in the searched cells;
将所述满足第二条件的小区中参考信号接收功率RSRP最大的小区,确定为第二小区。A cell with the largest reference signal received power RSRP among the cells satisfying the second condition is determined as the second cell.
本申请实施例中,所述满足第二条件是指小区的RSRP在第二RSRP阈值范围内。In the embodiment of the present application, satisfying the second condition means that the RSRP of the cell is within the second RSRP threshold range.
具体地,远端设备在执行小区搜索处理的过程中可能搜索到M个满足第二条件的小区,M为正整数,在M个满足第二条件的小区中选择RSRP最大作为第二小区,使得远端设备通过第二小区能够实现与网络侧高质量的正常通信。Specifically, in the process of performing the cell search process, the remote device may search for M cells that satisfy the second condition, where M is a positive integer, and selects the largest RSRP among the M cells that satisfy 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.
本申请实施例中,远端设备可设置第二小区备用列表(List),远端设备可在执行小区 搜索处理的过程中,将搜索到的满足第二条件的M个小区存储到第二小区备用列表中,在该第二小区备用列表至少存储有M个小区的小区号、小区的RSRP,以及小区号与小区的RSRP的对应关系,方便后续调用该第二小区备用列表中小区信息。若存储在第二小区备用列表中小区不满足第二条件,则将该小区的相关信息从第二小区备用列表中删除。In this embodiment of the present application, the remote device may set a second cell standby list (List), and the remote device may store the searched M cells that satisfy the second condition in the second cell during the process of performing the cell search process. In the standby list, the second cell standby list stores at least the cell numbers of M cells, the RSRPs of the cells, and the correspondence between the cell numbers and the RSRPs of the cells, so as to facilitate subsequent invocation of cell information in the second cell standby list. If the cell stored in the second cell standby list does not meet the second condition, the relevant information of the cell is deleted from the second cell standby list.
S504:远端设备将所述远端设备调整为与所述第二小区所属的基站时间同步。S504: The remote device adjusts the remote device to be time-synchronized with the base station to which the second cell belongs.
本申请实施例中,所述将所述远端设备调整为与所述第二小区所属的基站时间同步,包括:In this embodiment of the present application, the adjusting the remote device to be time-synchronized with the base station to which the second cell belongs includes:
读取所述第二小区的时间同步信息;reading the time synchronization information of the second cell;
根据所述第二小区的时间同步信息,将所述远端设备调整为与所述第二小区所属的基站时间同步。According to the time synchronization information of the second cell, the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
具体地,在LTE通信***中,远端设备读取第二小区的MIB,根据第二小区的MIB,将远端设备调整为与第二小区所属的基站时间同步。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.
需要说明的是,步骤S504是在执行步骤S503的过程中执行的,步骤S503和/或S504并不限定于在步骤S502之后执行,也可在步骤S501和/或S502之前执行,还可在执行步骤S501和/或S502过程中执行。It should be noted that step S504 is executed during the process of executing step S503, and steps S503 and/or S504 are not limited to be executed after step S502, but can also be executed before steps S501 and/or S502, or can be executed after Steps S501 and/or S502 are executed.
S505:近端设备向远端设备发送心跳包。S505: The near-end device sends a heartbeat packet to the far-end device.
本申请实施例中,所述心跳包用于定时向远端设备通知近端设备与第一小区所属的基站时间同步的状态,可按照一定的时间间隔发送,类似于心跳,故称之为心跳包。近端设备可通过无线的方式发送心跳包,近端设备可周期性地利用通信频点以广播的方式发送心跳包。远端设备可通过无线的方式(利用通信频点)接收心跳包。In the embodiment of the present application, the heartbeat packet is used to periodically notify the remote device of the state of time synchronization between the near-end device and the base station to which the first cell belongs, and can be sent at a certain time interval, similar to a heartbeat, so it is called a heartbeat Bag. The near-end device can send the heartbeat packet in a wireless manner, and the near-end device can periodically use the communication frequency to send the heartbeat packet in a broadcast mode. The remote device can receive the heartbeat packet wirelessly (using the communication frequency).
本申请实施例中,所述近端设备利用第一信息帧与所述远端设备通信,所述第一信息帧包括传输块;所述传输块用于存储所述近端设备与所述远端设备通信的数据,即近端设备发送给远端设备的数据。所述第一信息帧可以是由网络侧分配给近端设备使用的。In this embodiment of the present application, the near-end device communicates with the far-end device by using a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device. The data communicated by the end device, that is, the data sent by the near-end device to the far-end device. The first information frame may be allocated by the network side to the near-end device for use.
所以第一信息帧对应的时域位置包括第一时域位置、第二时域位置和第三时域位置;所述第一时域位置是所述第一信息帧中传输块对应的时域位置;所述第二时域位置位于第一时域位置之前;所述第三时域位置位于所述第二时域位置与第一时域位置之间,和/或,所述第三时域位置位于所述第一时域位置之后。Therefore, the time domain position corresponding to the first information frame includes the first time domain position, the second time domain position and the third time domain position; the first time domain position is the time domain corresponding to the transport block in the first information frame the second time domain location is located before the first time domain location; the third time domain location is located between the second time domain location and the first time domain location, and/or, the third time domain location The domain position is located after the first time domain position.
本申请实施例中,所述远端设备利用第二信息帧与所述近端设备通信,所述第二信息帧包括传输块;所述传输块用于存储所述远端设备与所述近端设备通信的数据,即远端设备发送给近端设备的数据。所述第二信息帧可以是由网络侧分配给远端设备使用的。In this embodiment of the present application, the remote device communicates with the near-end device by using a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the remote device and the near-end device. The data communicated by the end device, that is, the data sent by the far end device to the near end device. The second information frame may be allocated by the network side to the remote device for use.
所述第二信息帧对应的时域位置包括第四时域位置、第五时域位置和第六时域位置;所述第四时域位置是所述第二信息帧中传输块对应的时域位置;所述第五时域位置位于第四时域位置之前;所述第六时域位置位于所述第五时域位置与所述第四时域位置之间,和/或,所述第六时域位置位于所述第四时域位置之后。The time domain position corresponding to the second information frame includes a fourth time domain position, a fifth time domain position and a sixth time domain position; the fourth time domain position is the time domain corresponding to the transport block in the second information frame. domain location; the fifth time domain location is located before the fourth time domain location; the sixth time domain location is located between the fifth time domain location and the fourth time domain location, and/or, the The sixth time domain position is located after the fourth time domain position.
本申请实施例中,所述第一信息帧与第二信息帧具有相同的子帧结构,所述第一时域位置与第四时域位置对应,所述第二时域位置与第五时域位置对应,所述第三时域位置与第六时域位置对应。In the embodiment of the present application, 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, and the second time domain position corresponds to the fifth time domain position The third time domain position corresponds to the sixth time domain position.
本申请实施例中,所述近端设备与所述远端设备可通过有线通信方式进行通信,比如:通过电缆、光纤进行通信,也可通过无线通信方式进行通信;若近端设备通过无线通信方式与远端设备通信,则第一信息帧为无线帧;若远端设备通过无线通信方式与近端设备通信,则第二信息帧为无线帧。只有在第一信息帧与第二信息帧时间对齐的情况下,即在近端设备与远端设备时间同步的情况下,近端设备与远端设备才能正常通信。In the embodiment of the present application, the near-end device and the far-end device may communicate through wired communication, for example, through cable, optical fiber, or through wireless communication; if the near-end device communicates through wireless The first information frame is a wireless frame; if the remote device communicates with the near-end device through wireless communication, the second information frame is a wireless frame. Only when the first information frame and the second information frame are time-aligned, that is, when the near-end device and the far-end device are time-synchronized, the near-end device and the far-end device can communicate normally.
请参阅图6,图6为本申请实施例提供的一种无线帧的结构示意图,具体如图6所示,无线帧的通信周期为160ms,每个无线帧有第0子帧到第9子帧等10个子帧,每个无线帧对应10ms的时域位置;在每个无线帧中,传输块对应的时域位置为第2子帧至第7子帧对应的时域位置;针对于第一信息帧,第一时域位置为第2子帧至第7子帧对应的时域位置,第二时域位置为第0子帧对应的时域位置,第三时域位置为第1子帧、第8子帧和第9子帧中至少一个子帧对应的时域位置;针对第二信息帧,第四时域位置为第2子帧至第7子帧对应的时域位置,第五时域位置为第0子帧对应的时域位置,第六时域位置为第1子帧、第8子帧和第9子帧中至少一个子帧对应的时域位置。Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a radio frame provided by an embodiment of the present application. Specifically, as shown in FIG. 6, the communication period of the radio frame is 160 ms, and each radio frame has the 0th subframe to the 9th subframe There are 10 subframes such as frame, and each radio frame corresponds to the time domain position of 10ms; in each radio frame, the time domain position corresponding to the transmission block is the time domain position corresponding to the second subframe to the seventh subframe; An information frame, the first time domain position is the time domain position corresponding to the second subframe to the seventh subframe, the second time domain position is the time domain position corresponding to the 0th subframe, and the third time domain position is the first subframe The time domain position corresponding to at least one subframe in the frame, the 8th subframe and the 9th subframe; for the second information frame, the fourth time domain position is the time domain position corresponding to the second subframe to the seventh subframe, and the fourth time domain position is the time domain position corresponding to the second subframe to the seventh subframe. The fifth time domain position is the time domain position corresponding to the 0th subframe, and the sixth time domain position is the time domain position corresponding to at least one of the first subframe, the eighth subframe and the ninth subframe.
所述第二时域位置位于第一时域位置之前是指在同一个第一信息帧中所述第二时域位置位于传输块对应的时域位置之前,比如:在同一个无线帧中第0子帧位于第2子帧(至第7子帧)之前。The fact that the second time domain position is 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: in the same radio frame, the second time domain position is located before the time domain position corresponding to the transmission block. The 0 subframe is located before the 2nd subframe (to the 7th subframe).
所述第三时域位置位于所述第二时域位置与第一时域位置之间指在同一个第一信息帧中所述第三时域位置位于第二时域位置与传输块对应的时域位置之间,比如:在同一个无线帧中第1子帧位于第0子帧与第2子帧(至第7子帧)之间。The third time domain position being located between the second time domain position and the first time domain position means that in the same first information frame, the third time domain position is located at the second time domain position corresponding to the transport block. Between positions in the time domain, for example, the first subframe is located between the 0th subframe and the second subframe (to the 7th subframe) in the same radio frame.
所述第三时域位置位于所述第一时域位置之后是指在同一个第一信息帧中所述第三时域位置位于传输块对应的时域位置之后,比如:在同一个无线帧中第8子帧、第9子帧位于(第2子帧至)第7子帧之后。The fact that the third time domain position is 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: in the same radio frame The 8th subframe and the 9th subframe are located after (the 2nd subframe to) the 7th subframe.
所述第五时域位置位于第四时域位置之前是指在同一个第二信息帧中所述第五时域位置位于传输块对应的时域位置之前,比如:在同一个无线帧中第0子帧位于第2子帧(至第7子帧)之前。The fact that the fifth time domain position is 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: in the same radio frame, the fifth time domain position is located before the time domain position corresponding to the transmission block. The 0 subframe is located before the 2nd subframe (to the 7th subframe).
所述第六时域位置位于所述第五时域位置与所述第四时域位置之间是指在同一个第二信息帧中所述第六时域位置位于所述第五时域位置与传输块对应的时域位置之间,比如:在同一个无线帧中第1子帧位于第0子帧与第2子帧(至第7子帧)之间。The fact that the sixth time domain position is located between the fifth time domain position and the fourth time domain position means that the sixth time domain position is located at the fifth time domain position in the same second information frame Between the time domain positions corresponding to the transport block, for example, the first subframe is located between the 0th subframe and the second subframe (to the 7th subframe) in the same radio frame.
所述第六时域位置位于所述第四时域位置之后是指在同一个第二信息帧中所述第六时域位置位于传输块对应的时域位置之后,比如:在同一个无线帧中第8子帧、第9子帧位于(第2子帧至)第7子帧之后。The fact that the sixth time domain position is 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: in the same radio frame The 8th subframe and the 9th subframe are located after (the 2nd subframe to) the 7th subframe.
需要说明的是,无线帧的通信周期并不限定于图6所示的160ms,无线帧的通信周期还可以设定为其它时间长度。It should be noted that the communication period of the radio frame is not limited to 160 ms as shown in FIG. 6 , and the communication period of the radio frame may also be set to other time lengths.
本申请实施例中,所述心跳包是近端设备在第一时域位置发送的。In this embodiment of the present application, the heartbeat packet is sent by the near-end device at the first time domain location.
第一信息帧的第一时域位置包括:心跳包对应的时域位置,所述近端设备在第一信息帧中心跳包对应的时域位置发送心跳包,具体如图6所示,第一信息帧中心跳包对应的时域位置可以是第2子帧至第7子帧中的第5子帧对应的时域位置。The first time domain position of the first information frame includes: the time domain position corresponding to the heartbeat packet, and the near-end device sends the heartbeat packet at the time domain position corresponding to the heartbeat packet in the first information frame. The time domain position corresponding to the heartbeat packet in an information frame may be the time domain position corresponding to the fifth subframe among the second subframe to the seventh subframe.
S506:远端设备在第四时域位置接收所述心跳包。S506: The remote device receives the heartbeat packet at the fourth time domain position.
本申请实施例中,第二信息帧的第四时域位置包括:心跳包对应的时域位置,所述远端设备在第二信息帧中心跳包对应的时域位置处于被允许接收心跳包的状态,即远端设备可在第二信息帧中心跳包对应的时域位置接收心跳包,具体如图6所示,第二信息帧中心跳包对应的时域位置可以是第2子帧至第7子帧中的第5子帧对应的时域位置。若第一信息帧与第二信息帧具有相同的结构,且第一信息帧与第二信息帧时间对齐,则远端设备可正确接收到近端设备发送的心跳包。若近端设备与远端设备时间同步,则所述第一信息帧与所述第二信息帧时间对齐。In the embodiment of the present application, the fourth time domain position of the second information frame includes: the time domain position corresponding to the heartbeat packet, and the time domain position corresponding to the heartbeat packet in the second information frame is in the time domain position of the remote device that is allowed to receive the heartbeat packet state, that is, the remote device can receive the heartbeat packet at the time domain position corresponding to the heartbeat packet in the second information frame. Specifically, as shown in Figure 6, the time domain position corresponding to the heartbeat packet in the second information frame can be the second subframe. to the time domain position corresponding to the 5th subframe in the 7th subframe. If the first information frame and the second information frame have the same structure, and the first information frame and the second information frame are time-aligned, the remote device can correctly receive the heartbeat packet sent by the near-end device. If the near-end device and the far-end device are time-synchronized, the first information frame and the second information frame are time-aligned.
本申请实施例中,所述心跳包存储有所述近端设备对应的第一帧计数信息;第一帧计数信息用于表示近端设备使用无线帧的计数信息,第一帧计数信息包括:近端设备的超帧信息,在不同通信制式和通信标准中第一帧计数信息不同;在LTE通信***中,第一帧计数信息为近端设备对应的HFN(Hyper Frame Number,超帧号)。In the embodiment of the present application, the heartbeat packet stores the first frame count information corresponding to the near-end device; the first frame count information is used to indicate the count information of the radio frame used by the near-end device, and the first frame count information includes: The super frame information of the near-end device, the first frame count information is different in different communication systems and communication standards; in the LTE communication system, the first frame count information is the HFN (Hyper Frame Number, super frame number) corresponding to the near-end device. .
本申请实施例中,所述心跳包存储有所述第一小区所属的基站的频点信息以及所述第一小区的小区信息,所述第一小区的小区信息至少包括第一小区的小区号;所述小区号用于区别属于同一基站的不同的小区;所述第一小区所属的基站的频点信息以及所述第一小区的小区信息可在近端设备执行小区搜索处理的过程中获取。In the embodiment of the present application, the heartbeat packet stores frequency point information of the base station to which the first cell belongs and cell information of the first cell, and the cell information of the first cell at least includes the cell number of the first cell ; The cell number is used to distinguish 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 obtained in the process of performing cell search processing by the near-end device .
若所述远端设备接收到心跳包,则执行步骤S507。If the remote device receives the heartbeat packet, step S507 is performed.
若所述远端设备没有接收到心跳包,则执行步骤S508。If the remote device does not receive the heartbeat packet, step S508 is performed.
所述远端设备接收到心跳包,是指远端设备在第一时间段内接收到心跳包,比如:第一时间段对应5个用于与近端设备通信的第二信息帧的时域位置,即对应5个第二信息帧中心跳包对应的时域位置,若远端设备在这5个第二信息帧中心跳包对应的时域位置任一位置接收到心跳包,则确定所述远端设备接收到心跳包;所述远端设备没有接收到心跳包,是指远端设备在第一时间段内没有接收到心跳包,比如:若远端设备在这5个第二信息帧中心跳包对应的时域位置均没有接收到心跳包,则确定所述远端设备没有接收到心跳包。The fact that the remote device receives the heartbeat packet means that the remote device receives the heartbeat packet within the first time period, for example: the first time period corresponds to the time domain of 5 second information frames used to communicate with the near-end device Position, that is, the time domain position corresponding to the heartbeat packet in the five second information frames. If the remote device receives the heartbeat packet at any position in the time domain position corresponding to the heartbeat packet in the five second information frames, it determines that the The remote device receives the heartbeat packet; the remote device does not receive the heartbeat packet, which means that the remote device does not receive the heartbeat packet in the first time period, such as: if the remote device is in these 5 second information If the time domain position corresponding to the heartbeat packet in the frame does not receive the heartbeat packet, it is determined that the remote device has not received the heartbeat packet.
需要说明的是,所述第一时间段可由远端设备的高层信令配置,或者,由协议规定,或者,人为在远端设备设定,在此不做限定。It should be noted that the first time period may be configured by high-layer signaling of the remote device, or specified by a protocol, or manually set at the remote device, which is not limited herein.
S507:远端设备根据所述心跳包确定所述远端设备与近端设备是否时间同步。S507: The remote device determines whether the remote device and the near-end device are time synchronized according to the heartbeat packet.
其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
本申请实施例中,所述根据所述心跳包确定所述远端设备与近端设备是否时间同步,包括:In this embodiment of the present application, determining whether the remote device and the near-end device are time-synchronized according to the heartbeat packet includes:
S5071:远端设备根据所述心跳包,获取第一小区所属的基站的频点信息以及第一小区的小区信息;其中,所述近端设备与所述第一小区所属的基站时间同步;S5071: The remote device 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 device is time-synchronized with the base station to which the first cell belongs;
若所述第二小区所属的基站的频点信息与所述第一小区所属的基站的频点信息相同,且所述第二小区的小区信息与所述第一小区的小区信息相同,则执行步骤S5072。If the frequency information of the base station to which the second cell belongs is the same as the frequency 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, execute Step S5072.
所述第二小区所属的基站的频点信息以及所述第二小区的小区信息,可在所述远端设备执行小区搜索处理的过程中获取。The frequency point information of the base station to which the second cell belongs and the cell information of the second cell may be acquired during the process of performing the cell search process by the remote device.
若所述第二小区所属的基站的频点信息与所述第一小区所属的基站的频点信息相同,即两个小区的基站的频点相同,则所述第二小区与所述第一小区属于同一个基站。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, that is, the frequency points of the base stations of the two cells are the same, then the second cell is the same as the first cell. The cells 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 necessary to further determine whether the first cell and the second cell are the same cell; On the basis that the frequency point information of the base station to which the first cell belongs is the same, if the cell information of the second cell is the same as the cell information of the first cell, for example, the cell number of the second cell is the same as the cell number of the first cell If the numbers are the same, it is determined that the second cell and the first cell are the same cell.
若所述第二小区所属的基站的频点信息与所述第一小区所属的基站的频点信息不相同,和/或,所述第二小区的小区信息与所述第一小区的小区信息不相同,则执行步骤S5073。If the frequency information of the base station to which the second cell belongs is different from the frequency information of the base station to which the first cell belongs, and/or the cell information of the second cell is different from the cell information of the first cell If not, step S5073 is executed.
S5072:远端设备确定所述远端设备与所述近端设备时间同步,即根据所述心跳包确定所述远端设备与所述近端设备时间同步。S5072: The remote device determines that the time of the remote device and the near-end device is synchronized, that is, determines that the time of the remote device and the near-end device is synchronized according to the heartbeat packet.
为了保证远端设备与近端设备确定时间同步的可靠性,在远端设备与近端设备之间还需完成至少一次信息的交互,即在根据所述心跳包确定所述远端设备与所述近端设备时间同步后,还需执行步骤S509。In order to ensure the reliability of the time synchronization between the remote device and the near-end device, at least one information interaction needs to be completed between the remote device and the near-end device, that is, after determining the time synchronization between the remote device and the remote device according to the heartbeat packet After the time synchronization of the near-end device is performed, step S509 needs to be performed.
若远端设备确定所述近端设备与所述远端设备时间同步,则还可执行步骤S514。If the far-end device determines that the near-end device is time-synchronized with the far-end device, step S514 may also be performed.
S5073:远端设备确定所述远端设备与所述近端设备时间没有同步,即根据所述心跳包确定所述远端设备与近端设备时间没有同步。S5073: The remote device determines that the time of the remote device and the near-end device is not synchronized, that is, it is determined according to the heartbeat packet that the time of the remote device and the near-end device are not synchronized.
若根据所述心跳包确定所述远端设备与近端设备时间没有同步,则执行步骤S508。If it is determined according to the heartbeat packet that the time of the remote device and the near-end device are not synchronized, step S508 is performed.
S508:远端设备更新第二小区。S508: The remote device updates the second cell.
本申请实施例中,所述更新第二小区,包括:In this embodiment of the present application, the updating of the second cell includes:
排除掉没有接收到心跳包对应的第二小区,或者,排除掉根据所述心跳包确定所述远端设备与近端设备时间没有同步对应的第二小区;Excluding the second cell corresponding to the heartbeat packet that has not been received, or excluding the second cell corresponding to the time synchronization between the remote device and the near-end device determined according to the heartbeat packet;
确定剩余的小区中满足第二条件的小区;determining a cell that satisfies the second condition in the remaining cells;
将剩余的小区中所述满足第二条件的RSRP最大的小区,更新为新的第二小区。The cell with the largest RSRP that satisfies the second condition among the remaining cells is updated as a new second cell.
其中,没有接收到心跳包对应的第二小区是指远端设备调整为与该第二小区时间同步后在第一时间段内没有接收到心跳包对应的第二小区。根据所述心跳包确定所述远端设备 与近端设备时间没有同步对应的第二小区是指远端设备调整为与该第二小区时间同步后接收到心跳包,根据该心跳包确定述远端设备与近端设备时间没有同步对应的第二小区。The second cell corresponding to not receiving the heartbeat packet refers to the second cell corresponding to the heartbeat packet not received within the first time period after the remote device is adjusted to be time synchronized with the second cell. It is determined according to the heartbeat packet that the remote device and the near-end device have no time synchronization corresponding to the second cell, which means that the remote device receives a heartbeat packet after being adjusted to be time-synchronized with the second cell, and determines the remote device according to the heartbeat packet. The second cell corresponding to the time synchronization between the end device and the near-end device is not synchronized.
具体地,可排除掉第二小区备用列表中没有接收到心跳包对应的第二小区,或者,排除掉根据所述心跳包确定所述远端设备与近端设备时间没有同步对应的第二小区,而无需远端设备重新执行小区搜索处理来确定更新后的第二小区。Specifically, the second cell corresponding to the second cell standby list that does not receive the heartbeat packet may be excluded, or the second cell corresponding to the time synchronization between the remote device and the near-end device determined according to the heartbeat packet may be excluded. , without the need for the remote device to re-execute the cell search process to determine the updated second cell.
远端设备在更新所述第二小区后,执行步骤S504。After updating the second cell, the remote device performs step S504.
S509:远端设备发送第一信息,以使所述近端设备根据所述第一信息确定所述近端设备与所述远端设备时间同步。S509: The far-end device sends first information, so that the near-end device determines time synchronization between the near-end device and the far-end device according to the first information.
本申请实施例中,远端设备可通过广播的方式发送第一信息。所述第一信息包括:RACH(Random Access Channel,随机接入信道)消息;所述RACH消息用于向近端设备请求分配节点ID(Identification,标识);所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。所述第一信息帧对应的时序是指第一信息帧在一个第一信息帧周期中出现的时间顺序。所述近端设备在一个通信周期内可指定通过一个或多个第一信息帧与同一个远端设备通信。In this embodiment of the present application, the remote device may send the first information by broadcasting. The first information includes: a RACH (Random Access Channel, random access channel) message; the RACH message is used to request a node ID (Identification, identification) to be allocated to the near-end device; the node ID is used to indicate the near-end device. The time sequence corresponding to the first information frame used by the end device when communicating with the remote device. The time sequence corresponding to the first information frame refers to the time sequence in which the first information frame appears in one first information frame period. The near-end device may specify to communicate with the same far-end device through one or more first information frames in one communication cycle.
在一个第一信息帧的周期中包含多个第一信息帧;一个近端设备可与多个远端设备通信,近端设备通过一个第一信息帧只与一个远端设备通信,故需要向远端设备发送节点ID,以使远端设备根据该节点ID确定利用与该节点ID对应的第一信息帧的时序所对应的第二信息帧与近端设备通信。The period of one first information frame includes multiple first information frames; one near-end device can communicate with multiple remote devices, and the near-end device only communicates with one remote device through one first information frame, so it needs to communicate with The remote device sends the node ID, so that the remote device determines to use the second information frame corresponding to the timing of the first information frame corresponding to the node ID to communicate with the near-end device according to the node ID.
比如:在图6所示的160ms无线周期中包含16个无线帧,节点ID用于指示近端设备使用一个无线周期包含的16个第一信息帧(无线帧)中第1个第一信息帧与远端设备通信,该远端设备根据该节点ID使用一个无线周期包含的16个第二信息帧(无线帧)中的第1个第二信息帧与该近端设备通信;或者,指示近端设备使用一个无线周期包含的16个第一信息帧(无线帧)中第1个、第4个、第7个第一信息帧与远端设备通信;该远端设备根据该节点ID使用一个无线周期包含的16个第二信息帧(无线帧)中的第1个、第4个、第7个第二信息帧与该近端设备通信。For example, the 160ms radio cycle shown in Figure 6 contains 16 radio frames, and the node ID is used to instruct the near-end device to use the first first information frame in the 16 first information frames (radio frames) contained in one radio cycle Communicate with the far-end device, the far-end device communicates with the near-end device according to the node ID using the first second information frame in the 16 second information frames (radio frames) included in a radio cycle; or, indicating the near-end device; The end device uses the 1st, 4th, and 7th first information frames of the 16 first information frames (radio frames) included in a wireless cycle to communicate with the remote device; the remote device uses a The first, fourth, and seventh second information frames in the 16 second information frames (radio frames) included in the wireless cycle communicate with the near-end device.
在本申请实施例中,远端设备通过向近端设备请求分配节点ID,能够保证近端设备与多个远端设备有序、正常地进行通信。In this embodiment of the present application, by requesting the near-end device to assign a node ID, the far-end device can ensure that the near-end device communicates with multiple far-end devices in an orderly and normal manner.
若所述近端设备接收到第一信息,则执行步骤S510。If the near-end device receives the first information, step S510 is performed.
S510:近端设备确定所述近端设备与所述远端设备时间同步。S510: The near-end device determines that the near-end device is time-synchronized with the far-end device.
其中,所述第一信息是所述远端设备根据接收到的所述心跳包发送的。The first information is sent by the remote device according to the received heartbeat packet.
为了进一步保证确定远端设备与近端设备时间同步的可靠性,还需要执行步骤S511。In order to further ensure the reliability of determining the time synchronization between the remote device and the near-end device, step S511 also needs to be performed.
S511:近端设备根据所述第一信息,向发送所述第一信息的远端设备发送RACH ACK(Acknowledge Character,确认字符);S511: The near-end device sends a RACH ACK (Acknowledge Character, confirmation character) to the far-end device that sends the first information according to the first information;
其中,所述RACH消息用于向近端设备请求分配节点标识ID;所述RACH ACK用于 向远端设备分配节点ID;所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。第一信息可以是以RACH帧的形式传输的。The RACH message is used to request the near-end device to assign a node ID; the RACH ACK is used to assign a node ID to the far-end device; the node ID is used to indicate that the near-end device is communicating with the far-end device. The timing corresponding to the first information frame used by the device for communication. The first information may be transmitted in the form of a RACH frame.
S512:远端设备接收RACH确认字符ACK。S512: The remote device receives the RACH acknowledgment character ACK.
其中,所述RACH ACK是所述近端设备根据接收到的所述RACH消息发送的。Wherein, the RACH ACK is sent by the near-end device according to the received RACH message.
远端设备可在接收到所述RACH ACK后,最终确定远端设备与近端设备时间同步。After receiving the RACH ACK, the remote device can finally determine that the remote device is time synchronized with the near-end device.
S513:远端设备根据所述RACH ACK,获取所述近端设备分配给所述远端设备的节点标识ID。S513: The remote device obtains, according to the RACH ACK, the node identification ID allocated by the near-end device to the remote device.
远端设备获取所述近端设备分配给所述远端设备的节点标识ID,可确认用于与近端设备进行通信的第二信息帧对应的时序。The remote device acquires the node identification ID allocated by the near-end device to the remote device, and can confirm the timing sequence corresponding to the second information frame used for communication with the near-end device.
S514:远端设备根据接收到的所述心跳包,更新所述远端设备对应的第二帧计数信息,以使更新后的第二帧计数信息与所述近端设备对应的第一帧计数信息相同。S514: The remote device updates the second frame count information corresponding to the remote device according to the received heartbeat packet, so that the updated second frame count information is the same as the first frame count corresponding to the near-end device Information is the same.
其中,所述心跳包存储有所述第一帧计数信息。Wherein, the heartbeat packet stores the first frame count information.
本申请实施例中,第二帧计数信息用于表示远端设备使用无线帧的计数信息,第二帧计数信息包括:远端设备的超帧信息,在不同通信制式和通信标准中第二帧计数信息不同;在LTE通信***中,第二帧计数信息为远端设备对应的HFN。In this embodiment of the present application, the second frame count information is used to indicate the count information of the radio frame used by the remote device, and the second frame count information includes: the superframe information of the remote device, the second frame in different communication systems and communication standards. The counting information is different; in the LTE communication system, the second frame counting information is the HFN corresponding to the remote device.
将第二帧计数信息更新为第一帧计数信息,可以有效保证远端设备能够正确接收到近端设备发送的通信信息。由于远端设备需要根据COUNT(计数)值对近端设备发送的数据包进行解密,而COUNT值包括HFN和SN(Sequence Number,序号),故只有远端设备与近端设备的HFN同步时,远端设备才能对近端设备发送的数据包正确解密,实现近端设备与远端设备的正常通信。Updating the second frame count information to the first frame count information can effectively ensure that the far-end device can correctly receive the communication information sent by the near-end device. Since the far-end device needs to decrypt the data packets sent by the near-end device according to the COUNT (count) value, and the COUNT value includes HFN and SN (Sequence Number, sequence number), only when the HFN of the far-end device and the near-end device are synchronized, Only the far-end device can correctly decrypt the data packets sent by the near-end device, so as to realize the normal communication between the near-end device and the far-end device.
需要说明的是,步骤S514并不限定于在步骤S513之后执行,只要在步骤S5072之后执行即可。It should be noted that, step S514 is not limited to be executed after step S513, but only needs to be executed after step S5072.
S515:远端设备发送第二信息。S515: The remote device sends the second information.
其中,所述第二信息与所述RACH消息是在不同的第二信息帧发送的。第二信息可以是以数据帧的形式传输的。Wherein, the second information and the RACH message are sent in different second information frames. The second information may be transmitted in the form of data frames.
请参阅图7,图7为本申请实施例提供的一种远端设备发送RACH消息和第二信息对应的时序示意图,具体如图7所示,第一信息帧和第二信息帧的周期均为T1ms,每个第一信息帧和每个第二信息帧均对应T2ms的时域位置,T2<T1。近端设备在每个第一信息帧周期内的第一个第一信息帧对应的时域位置与远端设备通信;远端设备在每个第二信息帧周期内的第一个第二信息帧对应的时域位置与近端设备通信。如图7所示,远端设备在第二个第二信息帧周期中的第一个第二信息帧对应的时域位置发送RACH消息,近端设备在第二个第一信息帧周期中的第一个第一信息帧对应的时域位置接收远端设备发送的RACH消息;远端设备在第四个第二信息帧周期中的第一个第二信息帧对应的时域位置发送第二信息,近端设备在第四个第一信息帧周期中的第一个第一信息帧对应的时域位置接收远端 设备发送的第二信息。近端设备在第一个和第三个第一信息帧周期中第一个第一信息帧对应的时域位置处于发送状态,即处于被允许向远端设备发送数据的状态;远端设备在第一个和第三个第二信息帧周期中的第一个第二信息帧对应的时域位置处于接收状态,即处于被允许向近端设备发送数据的状态。Please refer to FIG. 7. FIG. 7 is a schematic diagram of a timing sequence corresponding to a remote device sending a RACH message and second information according to an embodiment of the application. Specifically, as shown in FIG. 7, the periods of the first information frame and the second information frame are both is T1ms, each first information frame and each second information frame corresponds to the time domain position of T2ms, T2<T1. The near-end device communicates with the far-end device at the time domain position corresponding to the first first information frame in each first information frame period; The time domain position corresponding to the frame is communicated with the near-end device. As shown in Figure 7, the remote device sends the RACH message at the time domain position corresponding to the first second information frame in the second second information frame period, and the near-end device sends the RACH message at the time domain position corresponding to the first second information frame in the second second information frame period, The time domain position corresponding to the first first information frame receives the RACH message sent by the remote device; the remote device sends the second information frame at the time domain position corresponding to the first second information frame in the fourth second information frame period. information, the near-end device receives the second information sent by the far-end device at the time domain position corresponding to the first first information frame in the fourth first information frame period. The near-end device is in the sending state at the time domain position corresponding to the first first information frame in the first and third first information frame periods, that is, it is allowed to send data to the far-end device; The time domain positions corresponding to the first second information frame in the first and third second information frame periods are in the receiving state, that is, in the state of being allowed to send data to the near-end device.
本申请实施例中,所述第二信息与所述RACH消息可以是交替错开在不同的第二信息帧对应的时域位置发送的。In this embodiment of the present application, the second information and the RACH message may be alternately staggered and sent at time domain positions corresponding to different second information frames.
本申请实施例中,第四时域位置包括:RACH消息对应的时域位置和第二信息对应的时域位置;第一时域位置包括:RACH消息对应的时域位置和第二信息对应的时域位置;RACH消息对应的时域位置、第二信息对应的时域位置以及心跳包对应的时域位置可以相同,也可以不同,具体如图6所示,在第2子帧至第7子帧中的第4子帧对应的时域位置是RACH消息对应的时域位置,第5子帧对应的时域位置是心跳包对应的时域位置、第6子帧对应的时域位置是第二信息对应的时域位置,或者,在第2子帧至第7子帧中的第4子帧对应的时域位置既是RACH消息对应的时域位置,又是第二信息对应的时域位置,第5子帧对应的时域位置是心跳包对应的时域位置,或者,在第2子帧至第7子帧中的第5子帧对应的时域位置是RACH消息对应的时域位置、第二信息对应的时域位置以及心跳包对应的时域位置。In the embodiment of this application, the fourth time domain position includes: the time domain position corresponding to the RACH message and the time domain position corresponding to the second information; the first time domain position includes: the time domain position corresponding to the RACH message and the time domain position corresponding to the second information Time domain position; 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 may be the same or different, as shown in Figure 6, in the second subframe to the seventh The time domain position corresponding to the fourth subframe in the subframe is the time domain position corresponding to the RACH message, the time domain position corresponding to the fifth subframe is the time domain position corresponding to the heartbeat packet, and the time domain position corresponding to the sixth subframe is The time domain position corresponding to the second information, or, the time domain position corresponding to the fourth subframe in the second subframe to the seventh subframe is both the time domain position corresponding to the RACH message and the time domain corresponding to the second information. Position, the time domain position corresponding to the 5th subframe is the time domain position corresponding to the heartbeat packet, or, the time domain position corresponding to the 5th subframe in the 2nd subframe to the 7th subframe is the time domain position corresponding to the RACH message The location, the time domain location corresponding to the second information, and the time domain location corresponding to the heartbeat packet.
远端设备是在第二信息帧中RACH消息对应的时域位置发送RACH消息的,在第二信息帧中第二信息对应的时域位置发送第二信息的;近端设备是在第一信息帧中RACH消息对应的时域位置接收RACH消息的,在第一信息帧中第二信息对应的时域位置接收第二信息的。The remote device 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 device sends the first information The RACH message is received at the time domain position corresponding to the RACH message in the frame, and the second information is received at the time domain position corresponding to the second information in the first information frame.
需要说明的是步骤S515并不限定于只在步骤S514之后执行,还可在步骤S513之后执行。It should be noted that step S515 is not limited to be executed only after step S514, but can also be executed after step S513.
S516:近端设备接收第二信息。S516: The near-end device receives the second information.
其中,所述第二信息与所述RACH消息是在不同的第一信息帧接收的,具体描述参见步骤S515,在此不做赘述。The second information and the RACH message are received in different first information frames, and the specific description refers to step S515, which is not repeated here.
近端设备在接收第二信息后,还可根据第二信息向远端设备发送反馈信息,比如:发送确认收到第二信息的反馈信息等。After receiving the second information, the near-end device may also send feedback information to the far-end device according to the second information, for example, sending feedback information confirming receipt of the second information.
本申请实施例中,近端设备通过无线的方式调整为与第一小区所属的基站时间同步,远端设备通过无线的方式调整为与第二小区所属的基站时间同步,近端设备与近端设备可通过无线的方式进行信息交互,以确定近端设备与远端设备时间同步,从而实现了通过无线的方式使近端设备与远端设备时间同步,避免额外增加硬件及硬件接口,能够有效降低近端设备与远端设备时间同步的成本。In the embodiment of the present application, the near-end device is wirelessly adjusted to synchronize with the time of the base station to which the first cell belongs, the remote device is wirelessly adjusted to be synchronized with the time of the base station to which the second cell belongs, and the near-end device is connected to the near-end The device can exchange information wirelessly to determine the time synchronization between the near-end device and the far-end device, thus realizing the time synchronization between the near-end device and the far-end device by wireless, avoiding additional hardware and hardware interfaces, which can effectively Reduce the cost of time synchronization between the near-end device and the far-end device.
请参阅图8,图8为本申请实施例提供的另一种通信处理方法的流程示意图,具体如 图8所示,所述方法应用于近端设备,所述方法在执行步骤S510之后执行,所述方法包括:Please refer to FIG. 8, which is a schematic flowchart of another communication processing method provided by an embodiment of the present application. 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, The method includes:
S801:在所述第一信息帧对应的时域位置中的第二时域位置,接收所述第第一小区所属的基站的信号。S801: Receive a signal of a base station to which the first cell belongs at a second time domain position in the time domain position corresponding to the first information frame.
本申请实施例中,近端设备在第二时域位置接收的是第一小区所属基站的频点信号;具体如图6所示,近端设备可以在第一信息帧(无线帧)的第0子帧接收一小区所属的基站的信号。In this embodiment of the present application, the near-end device receives the frequency signal of the base station to which the first cell belongs at the second time domain position; specifically, as shown in FIG. The 0 subframe receives the signal of the base station to which a cell belongs.
本申请实施例中,近端设备接收第一小区所属的基站的信号时使用的第一频点和近端设备在与远端设备通信时使用的通信频点(第二频点)不同;具体如图6所示,近端设备在第一信息帧的第0子帧对应的时域位置使用第一频点,在第一信息帧的第2子帧至第7子帧使用第二频点。第二频点可预先在近端设备和远端设备中进行设置,所述第二频点需设置为与公网频点、专网频点、WIFI频点等已使用的频点不同。第一频点是近端设备执行小区搜索处理时确定的第一小区所属的基站的频点。In the embodiment of the present application, the first frequency used by the near-end device when receiving the signal of the base station to which the first cell belongs is different from the communication frequency (second frequency) used by the near-end device when communicating with the far-end device; specifically As shown in FIG. 6 , the near-end device uses the first frequency point at the time domain position corresponding to the 0th subframe of the first information frame, and uses the second frequency point in the second to seventh subframes of the first information frame . The second frequency point can be set in the near-end device and the far-end device in advance, and the second frequency point needs to be set to be different from the used frequency points such as public network frequency points, private network frequency points, WIFI frequency points, etc. The first frequency point is the frequency point of the base station to which the first cell belongs and is determined when the near-end device performs the cell search process.
S802:在所述第一信息帧对应的时域位置中的第三时域位置,根据所述基站的信号,对所述近端设备的时间同步偏差和频偏进行修正,以保持与所述第一小区所属的基站时间同步。S802: 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, correct the time synchronization offset and frequency offset of the near-end device to maintain the same The base stations to which the first cell belongs are time-synchronized.
本申请实施例中,所述根据所述基站的信号,对所述近端设备的时间同步偏差和频偏进行修正,包括:In the embodiment of the present application, the correction of the time synchronization offset and frequency offset of the near-end device according to the signal of the base station includes:
S8021:根据第一小区所属的基站的信号、近端设备的时间信息(时钟信息)、以及近端设备使用的第一频点,计算近端设备与第一小区所述的基站的时间同步偏差和频偏(频率偏差);S8021: Calculate the time synchronization deviation between the near-end device and the base station described in the first cell according to the signal of the base station to which the first cell belongs, the time information (clock information) of the near-end device, and the first frequency point used by the near-end device and frequency deviation (frequency deviation);
S8022:对所述近端设备与第一小区所属的基站的时间同步偏差和频偏进行修正,以保持与所述第一小区所属的基站时间同步。S8022: Correct the time synchronization offset and frequency offset between the near-end device and the base station to which the first cell belongs, so as to maintain time synchronization with the base station to which the first cell belongs.
具体如图6所示,近端设备可在第一信息帧(无线帧)的第1子帧、第8子帧和第9子帧中的一项子帧或多项子帧对应的时域位置执行步骤S8021,在第一信息帧的第1子帧、第8子帧和第9子帧中的一项子帧或多项子帧对应的时域位置执行步骤S8022。近端设备执行步骤S8021对应的时域位置与执行步骤S8022对应的时域位置可以是同一个子帧对应的时域位置,也可以是不同子帧对应的时域位置,比如:近端设备在第1子帧执行步骤S8021,在第8子帧或在第9子帧执行步骤S8022,再比如:近端设备在第1子帧执行步骤S8021和步骤S8022。近端设备执行步骤S8021和步骤S8022对应的时域位置可由近端设备的高层信令配置,或由协议规定,或人为设定,在此不做限定。Specifically, as shown in FIG. 6 , the near-end device may be in the time domain corresponding to one subframe or multiple subframes in the first subframe, the eighth subframe and the ninth subframe of the first information frame (radio frame). Step S8021 is performed at the position, and step S8022 is performed at a time domain position corresponding to one subframe or multiple subframes in the first subframe, the eighth subframe and the ninth subframe of the first information frame. The time domain position corresponding to the near-end device executing step S8021 and the time domain position corresponding to executing step S8022 may be the time domain position corresponding to the same subframe, or may be the time domain position corresponding to different subframes. Step S8021 is performed in 1 subframe, and step S8022 is performed in the 8th subframe or in the 9th subframe. For another example, the near-end device performs steps S8021 and S8022 in the first subframe. The time domain position corresponding to the near-end device performing steps S8021 and S8022 may be configured by high-layer signaling of the near-end device, or specified by a protocol, or manually set, which is not limited herein.
其中,第一小区的时钟源与近端设备的时钟源不同,可能出现近端设备在第一信息帧的第二时域位置接收到的第一小区所属的基站的频点信号与第一频点不同,因此,需要执行步骤S801至S802,以使近端设备保持与第一小区所属的基站时间同步,从而保持与远端设备时间同步。Wherein, 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 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 signal. Therefore, steps S801 to S802 need to be performed, so that the near-end device keeps time synchronization with the base station to which the first cell belongs, so as to keep the time synchronization with the far-end device.
本申请实施例中,近端设备执行步骤S801和S802对应的第一信息帧可以是与近端设备和远端设备通信时使用的第一信息帧为同一个第一信息帧,也可以为不同的第一信息帧,具体如图7所述,近端设备可以在第二个第一信息帧周期中的第一个第一信息帧(用于接收RACH消息的第一信息帧)执行步骤S801和S802,近端设备也可以在第二个第一信息帧周期中除第一个第一信息帧以外的其他第一信息帧,比如:第二个第一信息帧,执行步骤S801和S802。用于执行步骤S801和S802的第二信息帧(的时序)可由近端设备的高层信令配置,或由协议设定,或人为设定,在此不做限定。In this embodiment of the present application, the first information frame corresponding to the near-end device performing steps S801 and S802 may be the same first information frame used when communicating with the near-end device and the far-end device, or may be different As shown in Figure 7, the near-end device may perform step S801 in the first first information frame (the first information frame used to receive the RACH message) in the second first information frame period and S802, the near-end device may also perform steps S801 and S802 for other first information frames other than the first first information frame, such as the second first information frame, in the second first information frame period. The (sequence) of the second information frame for performing steps S801 and S802 can be configured by high-layer signaling of the near-end device, or set by a protocol, or manually, which is not limited herein.
本申请实施例中,若所述近端设备在第二时间段内没有接收到第一小区所属的基站的信号,则执行步骤S501,即重新执行小区搜索处理确定新的第一小区。第二时间段可由近端设备的高层信令配置,或由协议设定,或人为设定,在此不做限定。In this embodiment of the present application, if the near-end device does not receive a signal from the base station to which the first cell belongs within the second time period, step S501 is performed, that is, the cell search process is re-executed to determine a new first cell. The second time period can be configured by high-layer signaling of the near-end device, or set by a protocol, or set manually, which is not limited here.
步骤S801和S802涉及到的内容可参见图1和图5的描述,在此不做赘述。For the content involved in steps S801 and S802, reference may be made to the descriptions in FIG. 1 and FIG. 5, which will not be repeated here.
在本申请实施例中,近端设备在通过无线的方式调整为远端设备时间同步后,还可继续通过无线的方式接收第一小区所属的基站的信号,根据该信号对近端设备与第一小区所属的基站的时间同步偏差与频偏进行修正,以使近端设备保持与第一小区所属的基站时间同步,从而使近端设备保持与远端设备时间同步,避免额外增加硬件及硬件接口,能够有效降低近端设备与远端设备时间同步的成本。In this embodiment of the present application, after the near-end device is adjusted to synchronize the time of the far-end device wirelessly, it can continue to wirelessly receive the signal of the base station to which the first cell belongs, and according to the signal, the near-end device communicates with the first cell. The time synchronization offset and frequency offset of the base station to which a cell belongs are corrected, so that the near-end device can keep the time synchronization with the base station to which the first cell belongs, so that the near-end device can keep the time synchronization with the far-end device and avoid additional hardware and hardware. The interface can effectively reduce the cost of time synchronization between the near-end device and the far-end device.
请参阅图9,图9为本申请实施例提供的另一种通信处理方法的流程示意图,具体如图9所示,所述方法应用于远端设备,所述方法在执行步骤S5072之后执行或在执行步骤S512接收到RACK ACK之后执行,所述方法包括:Please refer to FIG. 9. FIG. 9 is a schematic flowchart of another communication processing method provided by an embodiment of the present application. Specifically, as shown in FIG. 9, the method is applied to a remote device, and the method is executed after step S5072 is executed or Executed after receiving the RACK ACK in step S512, the method includes:
S901:在所述第二信息帧对应的时域位置中的第五时域位置,接收所述第二小区所属的基站的信号。S901: Receive a signal of a base station to which the second cell belongs at a fifth time domain position in the time domain position corresponding to the second information frame.
本申请实施例中,远端设备在第五时域位置接收的是第二小区所属基站的频点信号;具体如图6所示,远端设备可以在第二信息帧(无线帧)的第0子帧接收第二小区所属的基站的信号。In this embodiment of the present application, the remote device receives the frequency signal of the base station to which the second cell belongs at the fifth time domain position; specifically, as shown in FIG. 6 , the remote device may receive the frequency signal of the base station to which the second cell belongs. The 0 subframe receives the signal of the base station to which the second cell belongs.
本申请实施例中,远端设备接收第二小区所属的基站的信号时使用的第一频点和远端设备在与近端设备通信时使用的通信频点(第二频点)不同;具体如图6所示,远端设备在第一信息帧的第0子帧使用第一频点,在第二信息帧的第2子帧至第7子帧使用第二频点。第二频点可预先在近端设备和远端设备中进行设置,所述第二频点需设置为与公网频点、专网频点、WIFI频点等已使用的频点不同。第一频点是远端设备执行小区搜索处理时确定的第二小区所属的基站的频点。In this embodiment of the present application, the first frequency used by the remote device when receiving the signal of the base station to which the second cell belongs is different from the communication frequency (second frequency) used by the remote device when communicating with the near-end device; specifically As shown in FIG. 6 , the remote device uses the first frequency in the 0th subframe of the first information frame, and uses the second frequency in the second to seventh subframes of the second information frame. The second frequency point can be set in the near-end device and the far-end device in advance, and the second frequency point needs to be set to be different from the used frequency points such as public network frequency points, private network frequency points, WIFI frequency points, etc. The first frequency point is the frequency point of the base station to which the second cell belongs and is determined when the remote device performs the cell search process.
S902:在所述第二信息帧对应的时域位置中的第六时域位置,根据所述基站的信号,对所述远端设备的时间同步偏差和频偏进行修正,以保持与所述第二小区所属的基站时间同步。S902: 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, correct the time synchronization offset and frequency offset of the remote device to keep the The base stations to which the second cell belongs are time-synchronized.
本申请实施例中,所述根据所述基站的信号,对所述远端设备的时间同步偏差和频偏进行修正,包括:In the embodiment of the present application, the correction of the time synchronization offset and frequency offset of the remote device according to the signal of the base station includes:
S9021:根据第二小区所属的基站的信号、远端设备的时间信息(时钟信息)、以及远端设备使用的第一频点,计算远端设备与第二小区所属的基站的时间同步偏差和频偏(频率偏差);S9021: According to the signal of the base station to which the second cell belongs, the time information (clock information) of the remote device, and the first frequency used by the remote device, calculate the time synchronization deviation between the remote device and the base station to which the second cell belongs, and frequency deviation (frequency deviation);
S9022:对所述远端设备与第二小区所属的基站的时间同步偏差和频偏进行修正,以保持与所述第二小区所属的基站时间同步。S9022: Correct the time synchronization offset and frequency offset between the remote device and the base station to which the second cell belongs, so as to maintain time synchronization with the base station to which the second cell belongs.
具体如图6所示,远端设备可在第二信息帧(无线帧)的第1子帧、第8子帧和第9子帧中的一项子帧或多项子帧对应的时域位置执行步骤S9021,在第二信息帧的的第1子帧、第8子帧和第9子帧中的一项子帧或多项子帧对应的时域位置执行步骤S9022。远端设备执行步骤S9021对应的时域位置与执行步骤S9022对应的时域位置可以是同一个子帧对应的时域位置,也可以是不同子帧对应的时域位置,比如:远端设备在第1子帧执行步骤S9021,在第8子帧或在第9子帧执行步骤S9022,再比如:远端设备在第1子帧执行步骤S9021和步骤S9022。远端设备执行步骤S9021和步骤S9022对应的时域位置可由近端设备的高层信令配置,或由协议规定,或人为设定,在此不做限定。Specifically, as shown in FIG. 6 , the remote device may be in the time domain corresponding to one subframe or multiple subframes in the first subframe, the eighth subframe and the ninth subframe of the second information frame (radio frame). Step S9021 is performed at the position, and step S9022 is performed at a time domain position corresponding to one subframe or multiple subframes among the first subframe, the eighth subframe and the ninth subframe of the second information frame. The time domain position corresponding to the remote device executing step S9021 and the time domain position corresponding to executing step S9022 may be the time domain position corresponding to the same subframe, or may be the time domain position corresponding to different subframes. Step S9021 is performed in 1 subframe, and step S9022 is performed in the 8th subframe or in the 9th subframe. For another example, the remote device performs step S9021 and step S9022 in the first subframe. The time domain position corresponding to the remote device performing steps S9021 and S9022 may be configured by high-layer signaling of the near-end device, or specified by a protocol, or manually set, which is not limited herein.
其中,第二小区的时钟源与远端设备的时钟源不同,可能出现远端设备在第二信息帧的第五时域位置接收到的第二小区所属的基站的频点信号与第一频点不同,因此,需要执行步骤S901至S902,以使远端设备保持与第二小区所属的基站时间同步,从而保持与近端设备时间同步。The clock source of the second cell is different from the clock source of the remote device, and it may occur that the frequency 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, is different from the first frequency signal. Therefore, steps S901 to S902 need to be performed, so that the remote device can keep the time synchronization with the base station to which the second cell belongs, so as to keep the time synchronization with the near-end device.
本申请实施例中,远端设备执行步骤S901和S902对应的第二信息帧可以是与远端设备和近端设备通信时使用的第二信息帧为同一个第二信息帧,也可以为不同的第二信息帧,具体如图7所述,远端设备可以在第二个第二信息帧周期中的第一个第二信息帧(用于发送RACH消息的第二信息帧)执行步骤S901和S902,远端设备也可以在第二个第二信息帧周期中除第一个第二信息帧以外的其他第二信息帧,比如:第二个第二信息帧,执行步骤S901和S902。用于执行步骤S901和S902的第二信息帧(的时序)可由远端设备的高层信令配置,或由协议设定,或人为设定,在此不做限定。In this embodiment of the present application, the second information frame corresponding to the remote device performing steps S901 and S902 may be the same second information frame used when communicating with the remote device and the near-end device, or may be different The second information frame, specifically as shown in Figure 7, the remote device may perform step S901 in the first second information frame (the second information frame used to send the RACH message) in the second second information frame period and S902, the remote device may also perform steps S901 and S902 for other second information frames other than the first second information frame, such as the second second information frame, in the second second information frame period. The (sequence) of the second information frame for performing steps S901 and S902 may be configured by high-layer signaling of the remote device, or set by a protocol, or manually, which is not limited herein.
本申请实施例中,若所述远端设备在第三时间段内没有接收到第二小区所属的基站的信号,则执行步骤S503,即重新执行小区搜索处理确定新的第二小区。In this embodiment of the present application, if the remote device does not receive a signal from the base station to which the second cell belongs within the third time period, step S503 is performed, that is, the cell search process is re-executed to determine a new second cell.
步骤S901和S902涉及到的内容可参见图1和图5的描述,在此不做赘述。For the content involved in steps S901 and S902, reference may be made to the descriptions in FIG. 1 and FIG. 5, which will not be repeated here.
在本申请实施例中,远端设备在通过无线的方式调整为近端设备时间同步后,还可继续通过无线的方式接收第二小区所属的基站的信号,根据该信号对远端设备与第二小区所属的基站的时间同步偏差与频偏进行修正,以使远端设备保持与第二小区所属的基站时间同步,从而使远端设备保持与近端设备时间同步,避免额外增加硬件及硬件接口,能够有效降低近端设备与远端设备时间同步的成本。In this embodiment of the present application, after the remote device is wirelessly adjusted to synchronize the time of the near-end device, it can continue to wirelessly receive the signal of the base station to which the second cell belongs, and according to the signal, the remote device communicates with the first device. The time synchronization offset and frequency offset of the base station to which the second cell belongs are corrected, so that the remote device can keep the time synchronization with the base station to which the second cell belongs, so that the remote device can keep the time synchronization with the near-end device, and avoid additional hardware and hardware. The interface can effectively reduce the cost of time synchronization between the near-end device and the far-end device.
请参阅图10,图10为本申请实施例提供的一种通信同步设备的结构示意图,具体如图10所示,所述通信同步设备,包括:存储装置1001和处理器1002;并且所述通信同步设备还可以包括数据接口1003、用户接口1004。各个硬件之间还可以通过各种类型的总线建立连接。Please refer to FIG. 10. FIG. 10 is a schematic structural diagram of a communication synchronization device provided by an embodiment of the present application. Specifically, as shown in FIG. 10, the communication synchronization device includes: a storage device 1001 and a processor 1002; and the communication The synchronization device may further include a data interface 1003 and a user interface 1004 . Various types of buses can also be used to establish connections between various hardwares.
通过所述数据接口1003,所述通信同步设备可以和其他终端、服务器等设备之间交互数据;所述用户接口1004用于实现用户与所述通信同步设备之间的人机交互;所述用户接口1004可提供触摸显示屏、物理按键等实现用户与所述通信同步设备之间的人机交互。Through the data interface 1003, the communication synchronization device can exchange data with other terminals, servers and other devices; the user interface 1004 is used to realize human-computer interaction between the user and the communication synchronization device; the user The interface 1004 can provide a touch screen, physical keys, etc. to realize human-computer interaction between the user and the communication synchronization device.
所述存储装置1001可以包括易失性存储器(Volatile memory),例如随机存取存储器(Random-Access Memory,RAM);存储装置1001也可以包括非易失性存储器(Non-Volatile Memory),例如快闪存储器(Flash Memory),固态硬盘(Solid-State Drive,SSD)等;存储装置1001还可以包括上述种类的存储器的组合。The storage device 1001 may include a volatile memory (Volatile memory), such as a random access memory (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 (Flash Memory), Solid-State Drive (Solid-State Drive, SSD), etc.; the storage device 1001 may also include a combination of the above-mentioned types of memories.
所述处理器1002可以是中央处理器(Central Processing Unit,CPU)。所述处理器1002还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(Application-Specific Integrated Circuit,ASIC),可编程逻辑器件(Programmable Logic Device,PLD)等。上述PLD可以是现场可编程逻辑门阵列(Field-Programmable Gate Array,FPGA),通用阵列逻辑(Generic Array Logic,GAL)等。The processor 1002 may be a central processing unit (Central Processing Unit, CPU). The processor 1002 may further include a hardware chip. The above-mentioned hardware chip can be an application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), a programmable logic device (Programmable Logic Device, PLD), and the like. The above-mentioned PLD may be a Field-Programmable Gate Array (FPGA), a Generic Array Logic (GAL), or the like.
对于所述通信同步设备为近端设备的情况:For the case where the communication synchronization device is a near-end device:
所述存储装置1001,用于存储程序代码;The storage device 1001 is used to store program codes;
所述处理器1002,在调用所述存储代码时,用于执行小区搜索处理以确定第一小区;The processor 1002, when invoking the stored code, is configured to perform a cell search process to determine the first cell;
将所述近端设备调整为与所述第一小区所属的基站时间同步;adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs;
向远端设备发送心跳包;Send heartbeat packets to remote devices;
若接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到的所述心跳包发送的。If the first information is received, it is determined that the time of the near-end device and the far-end device are synchronized; the first information is sent by the far-end device according to the received heartbeat packet.
在一个实施例中,所述处理器1002,具体用于确定搜索到的小区中满足第一条件的小区;In one embodiment, the processor 1002 is specifically configured to determine a cell that satisfies the first condition among the searched cells;
将所述满足第一条件的小区中参考信号接收功率RSRP最大的小区,确定为第一小区。A cell with the largest reference signal received power RSRP among the cells satisfying the first condition is determined as the first cell.
在一个实施例中,所述满足第一条件是指小区的RSRP在第一RSRP阈值范围内。In one embodiment, satisfying the first condition means that the RSRP of the cell is within the first RSRP threshold range.
在一个实施例中,所述处理器1002,具体用于读取所述第一小区的时间同步信息;In one embodiment, the processor 1002 is specifically configured to read time synchronization information of the first cell;
根据所述第一小区的时间同步信息,将所述近端设备调整为与所述第一小区所属的基站时间同步。According to the time synchronization information of the first cell, the near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs.
在一个实施例中,所述近端设备利用第一信息帧与所述远端设备通信,所述第一信息帧包括传输块;所述传输块用于存储所述近端设备与所述远端设备通信的数据。In one embodiment, the near-end device communicates with the far-end device using a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device. The data communicated by the end device.
在一个实施例中,所述心跳包是在第一时域位置发送的;所述第一时域位置是所述第 一信息帧中传输块对应的时域位置。In one embodiment, the heartbeat packet is sent at a first time domain position; the first time domain position is a time domain position corresponding to a transmission block in the first information frame.
在一个实施例中,所述处理器1002,还用于在所述确定所述近端设备与远端设备时间同步之后,在所述第一信息帧对应的时域位置中的第二时域位置,接收所述第一小区所属的基站的信号;In one embodiment, the processor 1002 is further configured to, after the determining that the near-end device and the far-end device are time synchronized, in the second time domain in the time domain position corresponding to the first information frame location, receiving the signal of the base station to which the first cell belongs;
在所述第一信息帧对应的时域位置中的第三时域位置,根据所述基站的信号,对所述近端设备的时间同步偏差和频偏进行修正,以保持与所述第一小区所属的基站时间同步。At the third time domain position in the time domain position corresponding to the first information frame, according to the signal of the base station, the time synchronization offset and frequency offset of the near-end device are corrected to keep the same as the first information frame. The time of the base station to which the cell belongs is synchronized.
在一个实施例中,所述第二时域位置位于第一时域位置之前;所述第三时域位置位于所述第二时域位置与第一时域位置之间,和/或,所述第三时域位置位于所述第一时域位置之后;所述第一时域位置是所述第一信息帧中传输块对应的时域位置。In one embodiment, the second time domain location is located before the first time domain location; the third time domain location is located between the second time domain location and the first time domain location, and/or, the The third time domain position is located after the first time domain position; the first time domain position is the time domain position corresponding to the transport block in the first information frame.
在一个实施例中,所述第一信息包括:随机接入信道RACH消息;所述RACH消息用于向近端设备请求分配节点标识ID;In one embodiment, the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID;
所述处理器1002,还用于在所述确定所述近端设备与远端设备时间同步之后,根据所述第一信息,向发送所述第一信息的远端设备发送RACH确认字符ACK;The processor 1002 is further configured to send a RACH acknowledgment character ACK to the far-end device that sends the first information according to the first information after the time synchronization between the near-end device and the far-end device is determined;
其中,所述RACH ACK用于向远端设备分配节点ID;所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。Wherein, the RACH ACK is used to assign a node ID to the far-end device; the node ID is used to indicate the timing corresponding to the first information frame used by the near-end device when communicating with the far-end device.
在一个实施例中,所述心跳包存储有所述第一小区所属的基站的频点信息以及所述第一小区的小区信息。In one embodiment, the heartbeat packet stores frequency point information of the 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.
在一个实施例中,所述处理器1002,还用于在所述向发送所述第一信息的远端设备发送RACH确认字符ACK之后,接收第二信息;In one embodiment, the processor 1002 is further configured to receive the second information after the RACH acknowledgement character ACK is sent to the remote device that sends the first information;
其中,所述第二信息与所述RACH消息是在不同的第一信息帧接收的。Wherein, the second information and the RACH message are received in different first information frames.
对于所述通信同步设备为远端设备的情况:For the case where the communication synchronization device is a remote device:
所述存储装置1001,用于存储程序代码;The storage device 1001 is used to store program codes;
所述处理器1002,在调用所述存储代码时,用于执行小区搜索处理以确定第二小区;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 the base station to which the second cell belongs;
若接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;If a heartbeat packet is received, determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet;
其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
在一个实施例中,所述处理器1002,具体用于确定搜索到的小区中满足第二条件的小区;In one embodiment, the processor 1002 is specifically configured to determine a cell that satisfies the second condition among the searched cells;
将所述满足第二条件的小区中参考信号接收功率RSRP最大的小区,确定为第二小区。A cell with the largest reference signal received power RSRP among the cells satisfying the second condition is determined as the second cell.
在一个实施例中,所述处理器1002,还用于若没有接收到心跳包,或者,根据所述心跳包确定所述远端设备与所述近端设备时间没有同步,则更新第二小区;In one embodiment, the processor 1002 is further configured to update the second cell if the heartbeat packet is not received, or if it is determined according to the heartbeat packet that the time of the remote device and the near-end device is not synchronized ;
在更新所述第二小区后,执行将所述远端设备调整为与所述第二小区所属的基站时间 同步。After the second cell is updated, the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
在一个实施例中,所述处理器1002,具体用于排除掉没有接收到心跳包对应的第二小区,或者,排除掉根据所述心跳包确定所述远端设备与近端设备时间没有同步对应的第二小区;In one embodiment, the processor 1002 is specifically configured to exclude a second cell corresponding to a heartbeat packet that has not been received, or to exclude a determination based on the heartbeat packet that the time between the remote device and the near-end device is not synchronized the corresponding second cell;
确定剩余的小区中满足第二条件的小区;determining a cell that satisfies the second condition in the remaining cells;
将剩余的小区中所述满足第二条件的RSRP最大的小区,更新为新的第二小区。The cell with the largest RSRP that satisfies the second condition among the remaining cells is updated as a new second cell.
在一个实施例中,所述满足第二条件是指小区的RSRP在第二RSRP阈值范围内。In one embodiment, satisfying the second condition means that the RSRP of the cell is within the second RSRP threshold range.
在一个实施例中,所述处理器1002,具体用于根据所述心跳包,获取第一小区所属的基站的频点信息以及第一小区的小区信息;其中,所述近端设备与所述第一小区所属的基站时间同步;In an embodiment, the processor 1002 is specifically configured to acquire frequency point information of the 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 and the The time synchronization of the base station to which the first cell belongs;
若所述第二小区所属的基站的频点信息与所述第一小区所属的基站的频点信息相同,且所述第二小区的小区信息与所述第一小区的小区信息相同,则确定所述远端设备与所述近端设备时间同步。If the frequency information of the base station to which the second cell belongs is the same as the frequency 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, determine The far-end device is time-synchronized with the near-end device.
在一个实施例中,所述处理器1002,具体用于读取所述第二小区的时间同步信息;In one embodiment, the processor 1002 is specifically configured to read time synchronization information of the second cell;
根据所述第二小区的时间同步信息,将所述远端设备调整为与所述第二小区所属的基站时间同步。According to the time synchronization information of the second cell, the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
在一个实施例中,所述远端设备利用第二信息帧与所述近端设备通信,所述第二信息帧包括传输块;所述传输块用于存储所述远端设备与所述近端设备通信的数据。In one embodiment, the far-end device communicates with the near-end device by using a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device. The data communicated by the end device.
在一个实施例中,所述处理器1002,还用于在所述若接收到心跳包,则根据所述心跳包确定所述远端设备与所述近端设备是否时间同步之前,在第四时域位置接收所述心跳包;所述第四时域位置是所述第二信息帧中传输块对应的时域位置。In one embodiment, the processor 1002 is further configured to, before determining whether the remote device and the near-end device are time synchronized according to the heartbeat packet if the heartbeat packet is received, perform a fourth The time domain position receives the heartbeat packet; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
在一个实施例中,所述处理器1002,还用于在所述确定所述远端设备与所述近端设备时间同步之后,在所述第二信息帧对应的时域位置中的第五时域位置,接收所述第二小区所属的基站的信号;In one embodiment, the processor 1002 is further configured to, after the determining that the remote device is time synchronized with the near-end device, perform the fifth step in the time domain position corresponding to the second information frame time domain location, receiving the signal of the base station to which the second cell belongs;
在所述第二信息帧对应的时域位置中的第六时域位置,根据所述基站的信号,对所述远端设备的时间同步偏差和频偏进行修正,以保持与所述第二小区所属的基站时间同步。At the sixth time domain position in the time domain position corresponding to the second information frame, according to the signal of the base station, the time synchronization offset and the frequency offset of the remote device are corrected to keep the same as the second information frame. The time of the base station to which the cell belongs is synchronized.
在一个实施例中,所述第五时域位置位于第四时域位置之前;所述第六时域位置位于所述第五时域位置与所述第四时域位置之间,和/或,所述第六时域位置位于所述第四时域位置之后;所述第四时域位置是所述第二信息帧中传输块对应的时域位置。In one embodiment, the fifth time domain location is located before the fourth time domain location; the sixth time domain location is located between the fifth time domain location and the fourth time domain location, and/or , the sixth time domain position is located after the fourth time domain position; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
在一个实施例中,所述处理器1002,还用于若确定所述近端设备与所述远端设备时间同步,则根据接收到的所述心跳包,更新所述远端设备对应的第二帧计数信息,以使更新后的第二帧计数信息与所述近端设备对应的第一帧计数信息相同;In one embodiment, the processor 1002 is further configured to, if it is determined that the time of the near-end device and the far-end device is synchronized, update the first time corresponding to the far-end device according to the received heartbeat packet Two frames of counting information, so that the updated second frame counting information is the same as the first frame counting information corresponding to the near-end device;
其中,所述心跳包存储有所述第一帧计数信息。Wherein, the heartbeat packet stores the first frame count information.
在一个实施例中,所述处理器1002,还用于若根据所述心跳包确定所述近端设备与所 述远端设备时间同步,则发送第一信息,以使所述近端设备根据所述第一信息确定所述近端设备与所述远端设备时间同步。In one embodiment, the processor 1002 is further configured to send first information if it is determined according to the heartbeat packet that the time of the near-end device and the far-end device is synchronized, so that the near-end device The first information determines that the near-end device is time-synchronized with the far-end device.
在一个实施例中,所述第一信息包括:随机接入信道RACH消息;所述RACH消息用于向近端设备请求分配节点标识ID;所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。In one embodiment, the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID; the node ID is used to indicate that the near-end device is working with The time sequence corresponding to the first information frame used by the remote device for communication.
在一个实施例中,所述处理器1002,还用于接收RACH确认字符ACK;所述RACH ACK是所述近端设备根据接收到的所述RACH消息发送的;In one embodiment, the processor 1002 is further configured to receive a RACH acknowledgment character ACK; the RACH ACK is sent by the near-end device according to the received RACH message;
根据所述RACH ACK,获取所述近端设备分配给所述远端设备的节点标识ID。According to the RACH ACK, the node identification ID allocated by the near-end device to the far-end device is obtained.
在一个实施例中,所述处理器1002,还用于在所述根据RACH ACK,获取所述近端设备分配给所述远端设备的节点标识ID之后,发送第二信息;In one embodiment, the processor 1002 is further configured to send the second information after acquiring the node identification ID allocated by the near-end device to the far-end device according to the RACH ACK;
其中,所述第二信息与所述RACH消息是在不同的第二信息帧发送的。Wherein, the second information and the RACH message are sent in different second information frames.
请参阅图11,图11为本申请实施例提供的一种通信同步装置的结构示意图,具体如图11所示,所述通信同步装置包括:Please refer to FIG. 11. FIG. 11 is a schematic structural diagram of a communication synchronization apparatus provided by an embodiment of the present application. Specifically, as shown in FIG. 11, the communication synchronization apparatus includes:
搜索模块1101,用于执行小区搜索处理以确定第一小区;a search module 1101, configured to perform a cell search process to determine a first cell;
同步模块1102,用于将所述近端设备调整为与所述第一小区所属的基站时间同步;a synchronization module 1102, configured to adjust the near-end device to be time-synchronized with the base station to which the first cell belongs;
发送模块1103,用于向远端设备发送心跳包;The sending module 1103 is used to send a heartbeat packet to the remote device;
确定模块1104,用于若接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到所述心跳包发送的。The determining module 1104 is configured to determine the time synchronization between the near-end device and the far-end device if the first information is received; the first information is sent by the far-end device according to the received heartbeat packet.
在一个实施例中,所述搜索模块1101,具体用于确定搜索到的小区中满足第一条件的小区;In one embodiment, the search module 1101 is specifically configured to determine a cell that satisfies the first condition among the searched cells;
将所述满足第一条件的小区中参考信号接收功率RSRP最大的小区,确定为第一小区。A cell with the largest reference signal received power RSRP among the cells satisfying the first condition is determined as the first cell.
在一个实施例中,所述满足第一条件是指小区的RSRP在第一RSRP阈值范围内。In one embodiment, satisfying the first condition means that the RSRP of the cell is within the first RSRP threshold range.
在一个实施例中,所述同步模块1102,具体用于读取所述第一小区的时间同步信息;In one embodiment, the synchronization module 1102 is specifically configured to read the time synchronization information of the first cell;
根据所述第一小区的时间同步信息,将所述近端设备调整为与所述第一小区所属的基站时间同步。According to the time synchronization information of the first cell, the near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs.
在一个实施例中,所述近端设备利用第一信息帧与所述远端设备通信,所述第一信息帧包括传输块;所述传输块用于存储所述近端设备与所述远端设备通信的数据。In one embodiment, the near-end device communicates with the far-end device using a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device. The data communicated by the end device.
在一个实施例中,所述心跳包是在第一时域位置发送的;所述第一时域位置是所述第一信息帧中传输块对应的时域位置。In one embodiment, the heartbeat packet is sent at a first time domain position; the first time domain position is a time domain position corresponding to a transmission block in the first information frame.
在一个实施例中,所述通信同步装置还包括:In one embodiment, the communication synchronization apparatus further includes:
接收模块,用于在所述确定所述近端设备与远端设备时间同步之后,在所述第一信息帧对应的时域位置中的第二时域位置,接收所述第一小区所属的基站的信号;The receiving module is configured to, after the determining of the time synchronization between the near-end device and the far-end device, receive at the second time domain position in the time domain position corresponding to the first information frame the data of the first cell to which the first cell belongs. base station signal;
修正模块,在所述第一信息帧对应的时域位置中的第三时域位置,根据所述基站的信 号,对所述近端设备的时间同步偏差和频偏进行修正,以保持与所述第一小区所属的基站时间同步。The correction module, at the third time domain position in the time domain position corresponding to the first information frame, according to the signal of the base station, corrects the time synchronization offset and frequency offset of the near-end device, so as to maintain the same The time synchronization of 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 location is located between the second time domain location and the first time domain location, and/or, the The third time domain position is located after the first time domain position; the first time domain position is the time domain position corresponding to the transport block in the first information frame.
在一个实施例中,所述第一信息包括:随机接入信道RACH消息;所述RACH消息用于向近端设备请求分配节点标识ID;In one embodiment, the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID;
所述发送模块1103,还用于在所述确定所述近端设备与远端设备时间同步之后,根据所述第一信息,向发送所述第一信息的远端设备发送RACH确认字符ACK;The sending module 1103 is further configured to send a RACH acknowledgment character ACK to the far-end device that sends the first information according to the first information after the time synchronization between the near-end device and the far-end device is determined;
其中,所述RACH ACK用于向远端设备分配节点ID;所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。Wherein, the RACH ACK is used to assign a node ID to the far-end device; the node ID is used to indicate the timing corresponding to the first information frame used by the near-end device when communicating with the far-end device.
在一个实施例中,所述心跳包存储有所述第一小区所属的基站的频点信息以及所述第一小区的小区信息。In one embodiment, the heartbeat packet stores frequency point information of the 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.
在一个实施例中,所述接收模块,还用于在所述向发送所述第一信息的远端设备发送RACH确认字符ACK之后,接收第二信息;In one embodiment, the receiving module is further configured to receive the second information after the RACH acknowledgement character ACK is sent to the remote device that sends the first information;
其中,所述第二信息与所述RACH消息是在不同的第一信息帧接收的。Wherein, the second information and the RACH message are received in different first information frames.
请参阅图12,图12为本申请实施例提供的另一种通信同步装置的结构示意图,具体如图12所示,所述通信同步装置包括:Please refer to FIG. 12. FIG. 12 is a schematic structural diagram of another communication synchronization apparatus provided by an embodiment of the present application. Specifically, as shown in FIG. 12, the communication synchronization apparatus includes:
搜索模块1201,用于执行小区搜索处理以确定第二小区;a search module 1201, configured to perform a cell search process to determine a second cell;
同步模块1202,用于将所述远端设备调整为与所述第二小区所属的基站时间同步;A synchronization module 1202, configured to adjust the remote device to be time-synchronized with the base station to which the second cell belongs;
确定模块1203,用于若接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;A determination module 1203, configured to determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received;
其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
在一个实施例中,所述搜索模块1201,具体用于确定搜索到的小区中满足第二条件的小区;In one embodiment, the search module 1201 is specifically configured to determine a cell that satisfies the second condition among the searched cells;
将所述满足第二条件的小区中参考信号接收功率RSRP最大的小区,确定为第二小区。A cell with the largest reference signal received power RSRP among the cells satisfying the second condition is determined as the second cell.
在一个实施例中,所述通信同步装置还包括:In one embodiment, the communication synchronization apparatus further includes:
更新模块,用于若没有接收到心跳包,或者,根据所述心跳包确定所述远端设备与所述近端设备时间没有同步,则更新第二小区;an update module, configured to update the second cell if the heartbeat packet is not received, or if it is determined that the time of the remote device and the near-end device is not synchronized according to the heartbeat packet;
所述同步模块1202,还用于在更新所述第二小区后,执行将所述远端设备调整为与所述第二小区所属的基站时间同步。The synchronization module 1202 is further configured to perform time synchronization of the remote device with the base station to which the second cell belongs after the second cell is updated.
在一个实施例中,所述更新模块,具体用于排除掉没有接收到心跳包对应的第二小区, 或者,排除掉根据所述心跳包确定所述远端设备与近端设备时间没有同步对应的第二小区;In one embodiment, the update module is specifically configured to exclude the second cell corresponding to the heartbeat packet that has not been received, or to exclude the time synchronization between the remote device and the near-end device determined according to the heartbeat packet. the second district;
确定剩余的小区中满足第二条件的小区;determining a cell that satisfies the second condition in the remaining cells;
将剩余的小区中所述满足第二条件的RSRP最大的小区,更新为新的第二小区。The cell with the largest RSRP that satisfies the second condition among the remaining cells is updated as a new second cell.
在一个实施例中,所述满足第二条件是指小区的RSRP在第二RSRP阈值范围内。In one embodiment, satisfying the second condition means that the RSRP of the cell is within the second RSRP threshold range.
在一个实施例中,所述确定模块1203,具体用于根据所述心跳包,获取第一小区所属的基站的频点信息以及第一小区的小区信息;其中,所述近端设备与所述第一小区所属的基站时间同步;In one embodiment, the determining module 1203 is specifically configured to acquire, according to the heartbeat packet, the frequency point information of the base station to which the first cell belongs and the cell information of the first cell; wherein the near-end device and the The time synchronization of the base station to which the first cell belongs;
若所述第二小区所属的基站的频点信息与所述第一小区所属的基站的频点信息相同,且所述第二小区的小区信息与所述第一小区的小区信息相同,则确定所述远端设备与所述近端设备时间同步。If the frequency information of the base station to which the second cell belongs is the same as the frequency 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, determine The far-end device is time-synchronized with the near-end device.
在一个实施例中,所述同步模块1202,具体用于读取所述第二小区的时间同步信息;In one embodiment, the synchronization module 1202 is specifically configured to read the time synchronization information of the second cell;
根据所述第二小区的时间同步信息,将所述远端设备调整为与所述第二小区所属的基站时间同步。According to the time synchronization information of the second cell, the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
在一个实施例中,所述远端设备利用第二信息帧与所述近端设备通信,所述第二信息帧包括传输块;所述传输块用于存储所述远端设备与所述近端设备通信的数据。In one embodiment, the far-end device communicates with the near-end device by using a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device. The data communicated by the end device.
在一个实施例中,所述通信同步装置还包括:In one embodiment, the communication synchronization apparatus further includes:
接收模块,用于在所述若接收到心跳包,则根据所述心跳包确定所述远端设备与所述近端设备是否时间同步之前,在第四时域位置接收所述心跳包;所述第四时域位置是所述第二信息帧中传输块对应的时域位置。a receiving module, configured to receive the heartbeat packet at a fourth time domain position before determining whether the remote 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 the time domain position corresponding to the transport block in the second information frame.
在一个实施例中,所述接收模块,还用于在所述确定所述远端设备与所述近端设备时间同步之后,在所述第二信息帧对应的时域位置中的第五时域位置,接收所述第二小区所属的基站的信号;In one embodiment, the receiving module is further configured to, after the determining that the remote device and the near-end device are time synchronized, at a fifth time in the time domain position corresponding to the second information frame domain location, receiving the signal of the base station to which the second cell belongs;
所述同步模块1202,还用于在所述第二信息帧对应的时域位置中的第六时域位置,根据所述基站的信号,对所述远端设备的时间同步偏差和频偏进行修正,以保持与所述第二小区所属的基站时间同步。The synchronization module 1202 is further configured to, at the sixth time domain position in the time domain position corresponding to the second information frame, perform the time synchronization deviation and frequency deviation of the remote device according to the signal of the base station. Modified to maintain time synchronization with the base station to which the second cell belongs.
在一个实施例中,所述第五时域位置位于第四时域位置之前;所述第六时域位置位于所述第五时域位置与所述第四时域位置之间,和/或,所述第六时域位置位于所述第四时域位置之后;所述第四时域位置是所述第二信息帧中传输块对应的时域位置。In one embodiment, the fifth time domain location is located before the fourth time domain location; the sixth time domain location is located between the fifth time domain location and the fourth time domain location, and/or , the sixth time domain position is located after the fourth time domain position; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
在一个实施例中,所述更新模块,还用于若确定所述近端设备与所述远端设备时间同步,则根据接收到的所述心跳包,更新所述远端设备对应的第二帧计数信息,以使更新后的第二帧计数信息与所述近端设备对应的第一帧计数信息相同;In one embodiment, the updating module is further configured to update the second corresponding to the remote device according to the received heartbeat packet if it is determined that the time of the near-end device and the remote device is synchronized frame count information, 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 includes:
发送模块,用于若根据所述心跳包确定所述近端设备与所述远端设备时间同步,则发 送第一信息,以使所述近端设备根据所述第一信息确定所述近端设备与所述远端设备时间同步。A sending module, configured to send first information if it is determined according to the heartbeat packet that the time of the near-end device and the far-end device is synchronized, so that the near-end device determines the near-end device according to the first information The device is time synchronized with the remote device.
在一个实施例中,所述第一信息包括:随机接入信道RACH消息;所述RACH消息用于向近端设备请求分配节点标识ID;所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。In one embodiment, the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID; the node ID is used to indicate that the near-end device is working with The time sequence corresponding to the first information frame used by the remote device for communication.
在一个实施例中,所述接收模块,还用于接收RACH确认字符ACK;所述RACH ACK是所述近端设备根据接收到的所述RACH消息发送的;In one embodiment, the receiving module is further configured to receive a RACH acknowledgment character ACK; the RACH ACK is sent by the near-end device according to the received RACH message;
根据所述RACH ACK,获取所述近端设备分配给所述远端设备的节点标识ID。According to the RACH ACK, the node identification ID allocated by the near-end device to the far-end device is obtained.
在一个实施例中,所述发送模块,还用于在所述根据RACH ACK,获取所述近端设备分配给所述远端设备的节点标识ID之后,发送第二信息;In one embodiment, the sending module is further configured to send the second information after acquiring the node identification ID allocated by the near-end device to the far-end device according to the RACH ACK;
其中,所述第二信息与所述RACH消息是在不同的第二信息帧发送的。Wherein, the second information and the RACH message are sent in different second information frames.
相应地,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,所述计算机程序使得计算机执行本申请步骤S301至S304、步骤S501至S502、S505、S510至S511、S516以及S801至S802中任意实施例描述的方法。可以理解的是,此处的计算机存储介质既可以包括智能终端中的内置存储介质,当然也可以包括智能终端所支持的扩展存储介质。计算机存储介质提供存储空间,该存储空间存储了智能终端的操作***。并且,在该存储空间中还存放了适于被处理器加载并执行的一条或一条以上的指令,这些指令可以是一个或一个以上的计算机程序(包括程序代码)。需要说明的是,此处的计算机存储介质可以是高速RAM存储器,也可以是非不稳定的存储器(Non-Volatile Memory),例如至少一个磁盘存储器;可选的还可以是至少一个位于远离前述处理器的计算机存储介质。Correspondingly, an embodiment of the present invention 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 perform steps S301 to S304, steps S501 to S502, S505, The method described in any of the embodiments in S510 to S511, S516, and S801 to S802. It can be understood that, the computer storage medium here may include both the built-in storage medium in the smart terminal, and certainly also the extended storage medium supported by the smart terminal. The computer storage medium provides storage space, and the storage space stores the operating system of the intelligent terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer storage medium here can be a high-speed RAM memory, or a non-volatile memory (Non-Volatile Memory), such as at least one disk memory; optionally, it can also be at least one memory located far away from the aforementioned processor. computer storage media.
相应地,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,所述计算机程序使得计算机执行本申请步骤S401至S403、步骤S503至S504、S506至S509、S512至S515以及S901至S902中任意实施例描述的方法。可以理解的是,此处的计算机存储介质既可以包括智能终端中的内置存储介质,当然也可以包括智能终端所支持的扩展存储介质。计算机存储介质提供存储空间,该存储空间存储了智能终端的操作***。并且,在该存储空间中还存放了适于被处理器加载并执行的一条或一条以上的指令,这些指令可以是一个或一个以上的计算机程序(包括程序代码)。需要说明的是,此处的计算机存储介质可以是高速RAM存储器,也可以是非不稳定的存储器(Non-Volatile Memory),例如至少一个磁盘存储器;可选的还可以是至少一个位于远离前述处理器的计算机存储介质。Correspondingly, 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 perform steps S401 to S403, steps S503 to S504, and S506 of the present application The method described in any of the embodiments in to S509, S512 to S515, and S901 to S902. It can be understood that, the computer storage medium here may include both the built-in storage medium in the smart terminal, and certainly also the extended storage medium supported by the smart terminal. The computer storage medium provides storage space, and the storage space stores the operating system of the intelligent terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions may be one or more computer programs (including program codes). It should be noted that the computer storage medium here can be a high-speed RAM memory, or a non-volatile memory (Non-Volatile Memory), such as at least one disk memory; optionally, it can also be at least one memory located far away from the aforementioned processor. computer storage media.
相应地,本申请实施例还提供一种通信同步***,所述通信同步***包括第一通信同步装置和第二通信同步装置,所述第一通信同步装置用于实现本申请步骤S301至S304、步骤S501至S502、S505、S510至S511、S516以及S801至S802中任意实施例描述的方法,所述第二通信同步装置用于实现本申请步骤S401至S403、步骤S503至S504、S506至S509、S512至S515以及S901至S902中任意实施例描述的方法。Correspondingly, an embodiment of the present application further provides a communication synchronization system, where the communication synchronization system includes a first communication synchronization device and a second communication synchronization device, and the first communication synchronization device is used to implement steps S301 to S304, The method described in any of the embodiments in steps S501 to S502, S505, S510 to S511, S516, and S801 to S802, the second communication synchronization device is used to implement steps S401 to S403, steps S503 to S504, S506 to S509, The method described in any of the embodiments in S512 to S515 and S901 to S902.
相应地,本申请实施例提供一种芯片,所述芯片,用于执行小区搜索处理以确定第一小区;Correspondingly, an embodiment of the present application provides a chip for performing a cell search process to determine a first cell;
将近端设备调整为与所述第一小区所属的基站时间同步;Adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs;
输出心跳包,以便于向远端设备发送心跳包;Output heartbeat packets to facilitate sending heartbeat packets to remote devices;
若接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到的所述心跳包发送的。If the first information is received, it is determined that the time of the near-end device and the far-end device are synchronized; the first information is sent by the far-end device according to the received heartbeat packet.
在一个实施例中,所述芯片,在所述确定第一小区方面,具体用于确定搜索到的小区中满足第一条件的小区;In an embodiment, the chip, in the aspect of determining the first cell, is specifically configured to determine a cell that satisfies the first condition among the searched cells;
将所述满足第一条件的小区中参考信号接收功率RSRP最大的小区,确定为第一小区。A cell with the largest reference signal received power RSRP among the cells satisfying the first condition is determined as the first cell.
在一个实施例中,所述满足第一条件是指小区的RSRP在第一RSRP阈值范围内。In one embodiment, satisfying the first condition means that the RSRP of the cell is within the first RSRP threshold range.
在一个实施例中,所述芯片,在所述将所述近端设备调整为与所述第一小区所属的基站时间同步方面,具体用于读取所述第一小区的时间同步信息;In one embodiment, the chip is specifically configured to read time synchronization information of the first cell in terms of adjusting the near-end device 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 near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs.
在一个实施例中,所述近端设备利用第一信息帧与所述远端设备通信,所述第一信息帧包括传输块;所述传输块用于存储所述近端设备与所述远端设备通信的数据。In one embodiment, the near-end device communicates with the far-end device using a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device. The data communicated by the end device.
在一个实施例中,所述心跳包是在第一时域位置发送的;所述第一时域位置是所述第一信息帧中传输块对应的时域位置。In one embodiment, the heartbeat packet is sent at a first time domain position; the first time domain position is a time domain position corresponding to a transmission block in the first information frame.
在一个实施例中,所述芯片,在所述确定所述近端设备与远端设备时间同步之后,还用于在所述第一信息帧对应的时域位置中的第二时域位置,接收所述第一小区所属的基站的信号;In one embodiment, the chip, after the determining of the time synchronization between the near-end device and the far-end device, is further used for a second time-domain position in the time-domain position corresponding to the first information frame, receiving a signal of the base station to which the first cell belongs;
在所述第一信息帧对应的时域位置中的第三时域位置,根据所述基站的信号,对所述近端设备的时间同步偏差和频偏进行修正,以保持与所述第一小区所属的基站时间同步。At the third time domain position in the time domain position corresponding to the first information frame, according to the signal of the base station, the time synchronization offset and frequency offset of the near-end device are corrected to keep the same as the first information frame. The time of the base station to which the cell belongs is synchronized.
在一个实施例中,所述第二时域位置位于第一时域位置之前;所述第三时域位置位于所述第二时域位置与第一时域位置之间,和/或,所述第三时域位置位于所述第一时域位置之后;所述第一时域位置是所述第一信息帧中传输块对应的时域位置。In one embodiment, the second time domain location is located before the first time domain location; the third time domain location is located between the second time domain location and the first time domain location, and/or, the The third time domain position is located after the first time domain position; the first time domain position is the time domain position corresponding to the transport block in the first information frame.
在一个实施例中,所述第一信息包括:随机接入信道RACH消息;所述RACH消息用于向近端设备请求分配节点标识ID;In one embodiment, the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID;
所述芯片,在所述确定所述近端设备与远端设备时间同步之后,还用于根据所述第一信息,输出RACH确认字符ACK,以便于向发送所述第一信息的远端设备发送RACH ACK;The chip, after determining that the time synchronization between the near-end device and the far-end device is determined, is further configured to output a RACH acknowledgement character ACK according to the first information, so as to facilitate the sending of the first information to the far-end device Send RACH ACK;
其中,所述RACH ACK用于向远端设备分配节点ID;所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。Wherein, the RACH ACK is used to assign a node ID to the far-end device; the node ID is used to indicate the timing corresponding to the first information frame used by the near-end device when communicating with the far-end device.
在一个实施例中,所述心跳包存储有所述第一小区所属的基站的频点信息以及所述第一小区的小区信息。In one embodiment, the heartbeat packet stores frequency point information of the 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.
在一个实施例中,所述芯片,在所述向发送所述第一信息的远端设备发送RACH确认字符ACK之后,还用于接收第二信息;In one embodiment, the chip is further configured to receive the second information after the RACH acknowledgement character ACK is sent to the remote device that sends the first information;
其中,所述第二信息与所述RACH消息是在不同的第一信息帧接收的。Wherein, the second information and the RACH message are received in different first information frames.
需要说明的是,所述芯片可以执行上述图3、图5、图8方法实施例中近端设备的相关步骤,具体可参见上述各个步骤所提供的实现方式,在此不再赘述。It should be noted that the chip can execute the steps related to the near-end device in the method embodiments of FIG. 3 , FIG. 5 , and FIG. 8 . For details, refer to the implementation manners provided by the above steps, and details are not repeated here.
在一个实施例中,上述芯片包括至少一个处理器、至少一个第一存储器和至少一个第二存储器;其中,前述至少一个第一存储器和前述至少一个处理器通过线路互联,前述第一存储器中存储有指令;前述至少一个第二存储器和前述至少一个处理器通过线路互联,前述第二存储器中存储前述方法实施例中需要存储的数据。In one embodiment, the chip includes at least one processor, at least one first memory, and at least one second memory; wherein, the at least one first memory and the at least one processor are interconnected through a line, and the first memory stores There are instructions; the at least one second memory and the at least one processor are interconnected through lines, and the second memory stores the data that needs to be stored in the foregoing method embodiments.
对于应用于或集成于芯片的各个装置、产品,其包含的各个模块可以都采用电路等硬件的方式实现,或者,至少部分模块可以采用软件程序的方式实现,该软件程序运行于芯片内部集成的处理器,剩余的(如果有)部分模块可以采用电路等硬件方式实现。For each device or product applied to or integrated in the chip, each module contained therein may be implemented by hardware such as circuits, or at least some of the modules may be implemented by a software program that runs on the integrated circuit inside the chip. The processor and the remaining (if any) modules can be implemented in hardware such as circuits.
相应地,本申请实施例还提供一种芯片,所述芯片,用于执行小区搜索处理以确定第二小区;Correspondingly, an embodiment of the present application further provides a chip, where the chip is configured to perform a cell search process to determine the second cell;
将远端设备调整为与所述第二小区所属的基站时间同步;adjusting the remote device to be time-synchronized with the base station to which the second cell belongs;
若接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;If a heartbeat packet is received, determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet;
其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
在一个实施例中,所述芯片,在所述确定第二小区方面,具体用于确定搜索到的小区中满足第二条件的小区;In an embodiment, the chip, in the aspect of determining the second cell, is specifically configured to determine a cell that satisfies the second condition among the searched cells;
将所述满足第二条件的小区中参考信号接收功率RSRP最大的小区,确定为第二小区。A cell with the largest reference signal received power RSRP among the cells satisfying the second condition is determined as the second cell.
在一个实施例中,所述芯片,还用于若没有接收到心跳包,或者,根据所述心跳包确定所述远端设备与所述近端设备时间没有同步,则更新第二小区;In one embodiment, the chip is further configured to update the second cell if the heartbeat packet is not received, or if it is determined that the time of the remote device and the near-end device is not synchronized according to the heartbeat packet;
在更新所述第二小区后,执行将所述远端设备调整为与所述第二小区所属的基站时间同步。After the second cell is updated, the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
在一个实施例中,所述芯片,在所述更新第二小区方面,具体用于排除掉没有接收到心跳包对应的第二小区,或者,排除掉根据所述心跳包确定所述远端设备与近端设备时间 没有同步对应的第二小区;In one embodiment, the chip, in the aspect of updating the second cell, is specifically configured to exclude the second cell corresponding to the heartbeat packet that has not been received, or to exclude the determination of the remote device according to the heartbeat packet. The second cell corresponding to the time synchronization of the near-end device is not synchronized;
确定剩余的小区中满足第二条件的小区;determining a cell that satisfies the second condition in the remaining cells;
将剩余的小区中所述满足第二条件的RSRP最大的小区,更新为新的第二小区。The cell with the largest RSRP that satisfies the second condition among the remaining cells is updated as a new second cell.
在一个实施例中,所述满足第二条件是指小区的RSRP在第二RSRP阈值范围内。In one embodiment, satisfying the second condition means that the RSRP of the cell is within the second RSRP threshold range.
在一个实施例中,所述芯片,在所述根据所述心跳包确定所述远端设备与近端设备是否时间同步方面,具体用于根据所述心跳包,获取第一小区所属的基站的频点信息以及第一小区的小区信息;其中,所述近端设备与所述第一小区所属的基站时间同步;In one embodiment, in the aspect of determining whether the remote device and the near-end device are time-synchronized according to the heartbeat packet, the chip is specifically configured to acquire, according to the heartbeat packet, the information of the base station to which the first cell belongs. frequency point information and cell information of the first cell; wherein the near-end device is time-synchronized with the base station to which the first cell belongs;
若所述第二小区所属的基站的频点信息与所述第一小区所属的基站的频点信息相同,且所述第二小区的小区信息与所述第一小区的小区信息相同,则确定所述远端设备与所述近端设备时间同步。If the frequency information of the base station to which the second cell belongs is the same as the frequency 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, determine The far-end device is time-synchronized with the near-end device.
在一个实施例中,所述芯片,在所述将所述远端设备调整为与所述第二小区所属的基站时间同步方面,具体用于读取所述第二小区的时间同步信息;In one embodiment, the chip is specifically configured to read time synchronization information of the second cell in terms of adjusting the remote device to be time-synchronized with the base station to which the second cell belongs;
根据所述第二小区的时间同步信息,将所述远端设备调整为与所述第二小区所属的基站时间同步。According to the time synchronization information of the second cell, the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
在一个实施例中,所述远端设备利用第二信息帧与所述近端设备通信,所述第二信息帧包括传输块;所述传输块用于存储所述远端设备与所述近端设备通信的数据。In one embodiment, the far-end device communicates with the near-end device by using a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device. The data communicated by the end device.
在一个实施例中,所述芯片,在所述若接收到心跳包,则根据所述心跳包确定所述远端设备与所述近端设备是否时间同步之前,还用于在第四时域位置接收所述心跳包;所述第四时域位置是所述第二信息帧中传输块对应的时域位置。In an embodiment, before the chip determines whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if the heartbeat packet is received, the chip is further configured to perform a fourth time domain The location receives the heartbeat packet; the fourth time domain location is the time domain location corresponding to the transmission block in the second information frame.
在一个实施例中,所述芯片,在所述确定所述远端设备与所述近端设备时间同步之后,还用于在所述第二信息帧对应的时域位置中的第五时域位置,接收所述第二小区所属的基站的信号;In one embodiment, the chip, after the determining of the time synchronization between the remote device and the near-end device, is further configured to perform a fifth time domain in the time domain position corresponding to the second information frame location, receiving the signal of the base station to which the second cell belongs;
在所述第二信息帧对应的时域位置中的第六时域位置,根据所述基站的信号,对所述远端设备的时间同步偏差和频偏进行修正,以保持与所述第二小区所属的基站时间同步。At the sixth time domain position in the time domain position corresponding to the second information frame, according to the signal of the base station, the time synchronization offset and the frequency offset of the remote device are corrected to keep the same as the second information frame. The time of the base station to which the cell belongs is synchronized.
在一个实施例中,所述第五时域位置位于第四时域位置之前;所述第六时域位置位于所述第五时域位置与所述第四时域位置之间,和/或,所述第六时域位置位于所述第四时域位置之后;所述第四时域位置是所述第二信息帧中传输块对应的时域位置。In one embodiment, the fifth time domain location is located before the fourth time domain location; the sixth time domain location is located between the fifth time domain location and the fourth time domain location, and/or , the sixth time domain position is located after the fourth time domain position; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
在一个实施例中,所述芯片,还用于若确定所述近端设备与所述远端设备时间同步,则根据接收到的所述心跳包,更新所述远端设备对应的第二帧计数信息,以使更新后的第二帧计数信息与所述近端设备对应的第一帧计数信息相同;In one embodiment, the chip is further configured to update the second frame corresponding to the far-end device according to the received heartbeat packet if it is determined that the time of the near-end device and the far-end device is synchronized counting information, so that the updated second frame counting information is the same as the first frame counting information corresponding to the near-end device;
其中,所述心跳包存储有所述第一帧计数信息。Wherein, the heartbeat packet stores the first frame count information.
在一个实施例中,所述芯片,还用于若根据所述心跳包确定所述近端设备与所述远端设备时间同步,则输出第一信息以便于发送所述第一信息,以使所述近端设备根据所述第一信息确定所述近端设备与所述远端设备时间同步。In one embodiment, the chip is further configured to output first information so as to send the first information if it is determined according to the heartbeat packet that the time between the near-end device and the far-end device is synchronized, so that the The near-end device determines, according to the first information, that the near-end device is time-synchronized with the far-end device.
在一个实施例中,所述第一信息包括:随机接入信道RACH消息;所述RACH消息用于向近端设备请求分配节点标识ID;所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。In one embodiment, the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID; the node ID is used to indicate that the near-end device is working with The time sequence corresponding to the first information frame used by the remote device for communication.
在一个实施例中,所述芯片,还用于接收RACH确认字符ACK;所述RACH ACK是所述近端设备根据接收到的所述RACH消息发送的;In one embodiment, the chip is further configured to receive a RACH acknowledgment character ACK; the RACH ACK is sent by the near-end device according to the received RACH message;
根据所述RACH ACK,获取所述近端设备分配给所述远端设备的节点标识ID。According to the RACH ACK, the node identification ID allocated by the near-end device to the far-end device is obtained.
在一个实施例中,所述芯片,在所述根据RACH ACK,获取所述近端设备分配给所述远端设备的节点标识ID之后,还用于输出第二信息,以便于发送所述第二信息;In one embodiment, the chip is further configured to output second information after acquiring the node identification ID allocated by the near-end device to the far-end device according to the RACH ACK, so as to facilitate sending the first 2. Information;
其中,所述第二信息与所述RACH消息是在不同的第二信息帧发送的。Wherein, the second information and the RACH message are sent in different second information frames.
需要说明的是,所述芯片可以执行上述图4、图5、图9方法实施例中远端设备的相关步骤,具体可参见上述各个步骤所提供的实现方式,在此不再赘述。It should be noted that the chip can execute the steps related to the remote device in the method embodiments of FIG. 4 , FIG. 5 , and FIG. 9 . For details, please refer to the implementation manners provided by the above steps, which will not be repeated here.
在一个实施例中,上述芯片包括至少一个处理器、至少一个第一存储器和至少一个第二存储器;其中,前述至少一个第一存储器和前述至少一个处理器通过线路互联,前述第一存储器中存储有指令;前述至少一个第二存储器和前述至少一个处理器通过线路互联,前述第二存储器中存储前述方法实施例中需要存储的数据。In one embodiment, the chip includes at least one processor, at least one first memory, and at least one second memory; wherein, the at least one first memory and the at least one processor are interconnected through a line, and the first memory stores There are instructions; the at least one second memory and the at least one processor are interconnected through lines, and the second memory stores the data that needs to be stored in the foregoing method embodiments.
对于应用于或集成于芯片的各个装置、产品,其包含的各个模块可以都采用电路等硬件的方式实现,或者,至少部分模块可以采用软件程序的方式实现,该软件程序运行于芯片内部集成的处理器,剩余的(如果有)部分模块可以采用电路等硬件方式实现。For each device or product applied to or integrated in the chip, each module contained therein may be implemented by hardware such as circuits, or at least some of the modules may be implemented by a software program that runs on the integrated circuit inside the chip. The processor and the remaining (if any) modules can be implemented in hardware such as circuits.
请参阅图13,图13为本申请实施例提供的一种模组设备的结构示意图,所述模组设备包括芯片模组1301、输出接口1302和输入接口1303,其中:Please refer to FIG. 13. FIG. 13 is a schematic structural diagram of a module device provided by an embodiment of the application. The module device includes a chip module 1301, an output interface 1302 and an input interface 1303, wherein:
所述芯片模组1301,用于执行小区搜索处理以确定第一小区;将近端设备调整为与所述第一小区所属的基站时间同步;The chip module 1301 is configured to perform a cell search process to determine a first cell; adjust the near-end device to be time-synchronized with the base station to which the first cell belongs;
所述输出接口1302,用于向远端设备发送心跳包;The output interface 1302 is used to send a heartbeat packet to the remote device;
所述芯片模组1301,还用于若通过所述输入接口1303接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到的所述心跳包发送的。The chip module 1301 is further configured to determine the time synchronization between the near-end device and the far-end device if the first information is received through the input interface 1303; the first information is the far-end device Sent according to the received heartbeat packet.
在一个实施例中,所述芯片模组1301,在所述确定第一小区方面,具体用于确定搜索到的小区中满足第一条件的小区;In one embodiment, the chip module 1301, in the aspect of determining the first cell, is specifically configured to determine a cell that satisfies the first condition among the searched cells;
将所述满足第一条件的小区中参考信号接收功率RSRP最大的小区,确定为第一小区。A cell with the largest reference signal received power RSRP among the cells satisfying the first condition is determined as the first cell.
在一个实施例中,所述满足第一条件是指小区的RSRP在第一RSRP阈值范围内。In one embodiment, satisfying the first condition means that the RSRP of the cell is within the first RSRP threshold range.
在一个实施例中,所述芯片模组1301,在所述将所述近端设备调整为与所述第一小区所属的基站时间同步方面,具体用于读取所述第一小区的时间同步信息;In one embodiment, the chip module 1301 is specifically configured to read the time synchronization of the first cell in terms of adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs. information;
根据所述第一小区的时间同步信息,将所述近端设备调整为与所述第一小区所属的基站时间同步。According to the time synchronization information of the first cell, the near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs.
在一个实施例中,所述近端设备利用第一信息帧与所述远端设备通信,所述第一信息帧包括传输块;所述传输块用于存储所述近端设备与所述远端设备通信的数据。In one embodiment, the near-end device communicates with the far-end device using a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the information between the near-end device and the far-end device. The data communicated by the end device.
在一个实施例中,所述心跳包是在第一时域位置发送的;所述第一时域位置是所述第一信息帧中传输块对应的时域位置。In one embodiment, the heartbeat packet is sent at a first time domain position; the first time domain position is a time domain position corresponding to a transmission block in the first information frame.
在一个实施例中,在所述确定所述近端设备与远端设备时间同步之后,所述输入接口1303还用于在所述第一信息帧对应的时域位置中的第二时域位置,接收所述第一小区所属的基站的信号;In one embodiment, after the determining of the time synchronization between the near-end device and the far-end device, the input interface 1303 is further used for a second time-domain position in the time-domain position corresponding to the first information frame , receiving the signal of the base station to which the first cell belongs;
所述芯片模组1301,还用于在所述第一信息帧对应的时域位置中的第三时域位置,根据所述基站的信号,对所述近端设备的时间同步偏差和频偏进行修正,以保持与所述第一小区所属的基站时间同步。The chip module 1301 is also used for, at the third time domain position in the time domain position corresponding to the first information frame, according to the signal of the base station, to the time synchronization deviation and frequency deviation of the near-end device Correction is made to maintain 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 location is located between the second time domain location and the first time domain location, and/or, the The third time domain position is located after the first time domain position; the first time domain position is the time domain position corresponding to the transport block in the first information frame.
在一个实施例中,所述第一信息包括:随机接入信道RACH消息;所述RACH消息用于向近端设备请求分配节点标识ID;In one embodiment, the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID;
所述芯片模组1301,在所述确定所述近端设备与远端设备时间同步之后,还用于根据所述第一信息,通过所述输出接口1302向发送所述第一信息的远端设备发送RACH确认字符ACK;The chip module 1301, after determining that the time synchronization between the near-end device and the far-end device, is further configured to, according to the first information, send the first information to the far end through the output interface 1302 The device sends the RACH acknowledgment character ACK;
其中,所述RACH ACK用于向远端设备分配节点ID;所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。Wherein, the RACH ACK is used to assign a node ID to the far-end device; the node ID is used to indicate the timing corresponding to the first information frame used by the near-end device when communicating with the far-end device.
在一个实施例中,所述心跳包存储有所述第一小区所属的基站的频点信息以及所述第一小区的小区信息。In one embodiment, the heartbeat packet stores frequency point information of the 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.
在一个实施例中,所述芯片模组1301,在所述通过所述输出接口1302向发送所述第一信息的远端设备发送RACH确认字符ACK之后,还用于通过所述输入接口1303接收第二信息;In one embodiment, the chip module 1301 is further configured to receive through the input interface 1303 after sending the RACH acknowledgment character ACK to the remote device sending the first information through the output interface 1302 second information;
其中,所述第二信息与所述RACH消息是在不同的第一信息帧接收的。Wherein, the second information and the RACH message are received in different first information frames.
本申请实施例中,所述输入接口1303和所述输出接口1302可以为相互独立的通信接口,也可以为同一个通信接口。本申请实施例中不限定输入接口1303、芯片模组1301以及输出接口1302之间的具体连接介质。本申请实施例在图13中以输入接口1303、芯片模组1301以及输出接口1302之间通过总线1304连接,总线在图13中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线1304可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。In this embodiment of the present application, the input interface 1303 and the output interface 1302 may be independent communication interfaces, or may be the same communication interface. The specific connection medium between the input interface 1303 , the chip module 1301 , and the output interface 1302 is not limited in the embodiments of the present application. In this embodiment of the present application, the input interface 1303 , the chip module 1301 and the output interface 1302 are connected by a bus 1304 in FIG. 13 . The bus is represented by a thick line in FIG. 13 , and the connection between other components is only for illustration. Sexual descriptions are not intended to be limiting. The bus 1304 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.
请参阅图14,图14为本申请实施例提供的另一种模组设备的结构示意图,所述模组设备包括芯片模组1401和输入接口1402,其中:Please refer to FIG. 14. FIG. 14 is a schematic structural diagram of another module device provided by an embodiment of the application. The module device includes a chip module 1401 and an input interface 1402, wherein:
所述芯片模组1401,用于执行小区搜索处理以确定第二小区;将远端设备调整为与所述第二小区所属的基站时间同步;The chip module 1401 is configured to perform a cell search process to determine a second cell; adjust the remote device to be time-synchronized with the base station to which the second cell belongs;
所述芯片模组1401,还用于若通过所述输入接口1402接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;The chip module 1401 is further configured to determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received through the input interface 1402;
其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
在一个实施例中,所述芯片模组1401,在所述确定第二小区方面,具体用于确定搜索到的小区中满足第二条件的小区;In one embodiment, the chip module 1401, in the aspect of determining the second cell, is specifically configured to determine a cell that satisfies the second condition among the searched cells;
将所述满足第二条件的小区中参考信号接收功率RSRP最大的小区,确定为第二小区。A cell with the largest reference signal received power RSRP among the cells satisfying the second condition is determined as the second cell.
在一个实施例中,所述芯片模组1401,还用于若通过所述输入接口1402没有接收到心跳包,或者,根据所述心跳包确定所述远端设备与所述近端设备时间没有同步,则更新第二小区;In one embodiment, the chip module 1401 is further configured to, if no heartbeat packet is received through the input interface 1402, or to determine the time difference between the remote device and the near-end device according to the heartbeat packet If synchronized, the second cell is updated;
在更新所述第二小区后,执行将所述远端设备调整为与所述第二小区所属的基站时间同步。After the second cell is updated, the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
在一个实施例中,所述芯片模组1401,在所述更新第二小区方面,具体用于排除掉没有接收到心跳包对应的第二小区,或者,排除掉根据所述心跳包确定所述远端设备与近端设备时间没有同步对应的第二小区;In one embodiment, the chip module 1401, in the aspect of updating the second cell, is specifically configured to exclude the second cell corresponding to the heartbeat packet that has not been received, or to exclude the determination of the second cell according to the heartbeat packet. The second cell corresponding to the time synchronization between the remote device and the near-end device is not synchronized;
确定剩余的小区中满足第二条件的小区;determining a cell that satisfies the second condition in the remaining cells;
将剩余的小区中所述满足第二条件的RSRP最大的小区,更新为新的第二小区。The cell with the largest RSRP that satisfies the second condition among the remaining cells is updated as a new second cell.
在一个实施例中,所述满足第二条件是指小区的RSRP在第二RSRP阈值范围内。In one embodiment, satisfying the second condition means that the RSRP of the cell is within the second RSRP threshold range.
在一个实施例中,所述芯片模组1401,在所述根据所述心跳包确定所述远端设备与近端设备是否时间同步方面,具体用于根据所述心跳包,获取第一小区所属的基站的频点信息以及第一小区的小区信息;其中,所述近端设备与所述第一小区所属的基站时间同步;In one embodiment, the chip module 1401, in the aspect of determining whether the remote device and the near-end device are time-synchronized according to the heartbeat packet, is specifically configured to obtain, according to the heartbeat packet, to which the first cell belongs The frequency point information of the base station and the cell information of the first cell; wherein, the near-end device is time-synchronized with the base station to which the first cell belongs;
若所述第二小区所属的基站的频点信息与所述第一小区所属的基站的频点信息相同,且所述第二小区的小区信息与所述第一小区的小区信息相同,则确定所述远端设备与所述近端设备时间同步。If the frequency information of the base station to which the second cell belongs is the same as the frequency 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, determine The far-end device is time-synchronized with the near-end device.
在一个实施例中,所述芯片模组1401,在所述将所述远端设备调整为与所述第二小区所属的基站时间同步方面,具体用于读取所述第二小区的时间同步信息;In one embodiment, the chip module 1401 is specifically configured to read the time synchronization of the second cell in terms of adjusting the time synchronization of the remote device with the base station to which the second cell belongs. information;
根据所述第二小区的时间同步信息,将所述远端设备调整为与所述第二小区所属的基站时间同步。According to the time synchronization information of the second cell, the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
在一个实施例中,所述远端设备利用第二信息帧与所述近端设备通信,所述第二信息帧包括传输块;所述传输块用于存储所述远端设备与所述近端设备通信的数据。In one embodiment, the far-end device communicates with the near-end device by using a second information frame, and the second information frame includes a transmission block; the transmission block is used to store the relationship between the far-end device and the near-end device. The data communicated by the end device.
在一个实施例中,所述芯片模组1401,在所述若通过所述输入接口1402接收到心跳 包,则根据所述心跳包确定所述远端设备与所述近端设备是否时间同步之前,还用于在第四时域位置通过所述输入接口1402接收所述心跳包;所述第四时域位置是所述第二信息帧中传输块对应的时域位置。In one embodiment, the chip module 1401 determines whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received through the input interface 1402 , and is further configured to receive the heartbeat packet through the input interface 1402 at a fourth time domain position; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
在一个实施例中,所述芯片模组1401,在所述确定所述远端设备与所述近端设备时间同步之后,还用于在所述第二信息帧对应的时域位置中的第五时域位置,通过所述输入接口1402接收所述第二小区所属的基站的信号;In one embodiment, the chip module 1401, after the determining that the remote device is time synchronized with the near-end device, is further configured to perform the first step in the time domain position corresponding to the second information frame. Five time domain positions, receiving the signal of the base station to which the second cell belongs through the input interface 1402;
在所述第二信息帧对应的时域位置中的第六时域位置,根据所述基站的信号,对所述远端设备的时间同步偏差和频偏进行修正,以保持与所述第二小区所属的基站时间同步。At the sixth time domain position in the time domain position corresponding to the second information frame, according to the signal of the base station, the time synchronization offset and the frequency offset of the remote device are corrected to keep the same as the second information frame. The time of the base station to which the cell belongs is synchronized.
在一个实施例中,所述第五时域位置位于第四时域位置之前;所述第六时域位置位于所述第五时域位置与所述第四时域位置之间,和/或,所述第六时域位置位于所述第四时域位置之后;所述第四时域位置是所述第二信息帧中传输块对应的时域位置。In one embodiment, the fifth time domain location is located before the fourth time domain location; the sixth time domain location is located between the fifth time domain location and the fourth time domain location, and/or , the sixth time domain position is located after the fourth time domain position; the fourth time domain position is the time domain position corresponding to the transmission block in the second information frame.
在一个实施例中,所述芯片模组1401,还用于若确定所述近端设备与所述远端设备时间同步,则根据通过所述输入接口1402接收到的所述心跳包,更新所述远端设备对应的第二帧计数信息,以使更新后的第二帧计数信息与所述近端设备对应的第一帧计数信息相同;In one embodiment, the chip module 1401 is further configured to, if it is determined that the time between the near-end device and the far-end device is synchronized, update all the heartbeat packets received through the input interface 1402 the second frame count information corresponding to 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.
在一个实施例中,所述模组设备还包括输出接口;所述芯片模组1401,还用于若根据所述心跳包确定所述近端设备与所述远端设备时间同步,则通过所述输出接口发送第一信息,以使所述近端设备根据所述第一信息确定所述近端设备与所述远端设备时间同步。In one embodiment, the module device further includes an output interface; the chip module 1401 is further configured to, if it is determined according to the heartbeat packet that the time between the near-end device and the far-end device is synchronized, pass the The output interface sends first information, so that the near-end device determines time synchronization between the near-end device and the far-end device according to the first information.
在一个实施例中,所述第一信息包括:随机接入信道RACH消息;所述RACH消息用于向近端设备请求分配节点标识ID;所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。In one embodiment, the first information includes: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID; the node ID is used to indicate that the near-end device is working with The time sequence corresponding to the first information frame used by the remote device for communication.
在一个实施例中,所述输入接口1402,还用于接收RACH确认字符ACK;所述RACH ACK是所述近端设备根据接收到的所述RACH消息发送的;In one embodiment, the input interface 1402 is further configured to receive a RACH acknowledgment character ACK; the RACH ACK is sent by the near-end device according to the received RACH message;
所述芯片模组1401,还用于根据所述RACH ACK,获取所述近端设备分配给所述远端设备的节点标识ID。The chip module 1401 is further configured to obtain, according to the RACH ACK, the node identification ID allocated by the near-end device to the far-end device.
在一个实施例中,所述芯片模组1401,还用于在所述根据RACH ACK,获取所述近端设备分配给所述远端设备的节点标识ID之后,通过所述输出接口发送第二信息;In one embodiment, the chip module 1401 is further configured to, after acquiring the node identification ID allocated by the near-end device to the far-end device according to the RACH ACK, send the second through the output interface information;
其中,所述第二信息与所述RACH消息是在不同的第二信息帧发送的。Wherein, the second information and the RACH message are sent in different second information frames.
本申请实施例中,所述输入接口1402和所述输出接口(图14中未画出)可以为相互独立的通信接口,也可以为同一个通信接口。本申请实施例中不限定输入接口1402、芯片模组1401以及输出接口之间的具体连接介质。本申请实施例在图14中以输入接口1402、芯片模组1401以及输出接口之间通过总线1403连接,总线在图14中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线1403可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。In this embodiment of the present application, the input interface 1402 and the output interface (not shown in FIG. 14 ) may be independent communication interfaces, or may be the same communication interface. The specific connection medium between the input interface 1402 , the chip module 1401 , and the output interface is not limited in the embodiments of the present application. In this embodiment of the present application, the input interface 1402 , the chip module 1401 and the output interface are connected by a bus 1403 in FIG. 14 . The bus is represented by a thick line in FIG. 14 , and the connection between other components is only schematic. The description is not intended to be limiting. The bus 1403 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is used in FIG. 13, but it does not mean that there is only one bus or one type of bus.
以上所揭露的仅为本发明的部分实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。The above disclosure is only a part of the embodiments of the present invention, of course, it cannot limit the scope of the rights of the present invention. Those of ordinary skill in the art can understand the whole or part of the process of realizing the above embodiments, and make according to the claims of the present invention. The equivalent changes of the invention still belong to the scope covered by the invention.

Claims (38)

  1. 一种通信同步方法,其特征在于,所述方法包括:A communication synchronization method, characterized in that the method comprises:
    执行小区搜索处理以确定第一小区;performing a cell search process to determine the first cell;
    将近端设备调整为与所述第一小区所属的基站时间同步;Adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs;
    向远端设备发送心跳包;Send heartbeat packets to remote devices;
    若接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到的所述心跳包发送的。If the first information is received, it is determined that the time of the near-end device and the far-end device are synchronized; the first information is sent by the far-end device according to the received heartbeat packet.
  2. 如权利要求1所述的方法,其特征在于,所述确定第一小区,包括:The method of claim 1, wherein the determining the first cell comprises:
    确定搜索到的小区中满足第一条件的小区;Determine a cell that satisfies the first condition in the searched cells;
    将所述满足第一条件的小区中参考信号接收功率RSRP最大的小区,确定为第一小区。A cell with the largest reference signal received power RSRP among the cells satisfying the first condition is determined as the first cell.
  3. 如权利要求2所述的方法,其特征在于,所述满足第一条件是指小区的RSRP在第一RSRP阈值范围内。The method of claim 2, wherein satisfying the first condition means that the RSRP of the cell is within a first RSRP threshold range.
  4. 如权利要求1所述的方法,其特征在于,所述将所述近端设备调整为与所述第一小区所属的基站时间同步,包括:The method of claim 1, wherein the adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs comprises:
    读取所述第一小区的时间同步信息;reading the time synchronization information of the first cell;
    根据所述第一小区的时间同步信息,将所述近端设备调整为与所述第一小区所属的基站时间同步。According to the time synchronization information of the first cell, the near-end device is adjusted to be time-synchronized with the base station to which the first cell belongs.
  5. 如权利要求1所述的方法,其特征在于,所述近端设备利用第一信息帧与所述远端设备通信,所述第一信息帧包括传输块;所述传输块用于存储所述近端设备与所述远端设备通信的数据。The method of claim 1, wherein the near-end device communicates with the far-end device by using a first information frame, and the first information frame includes a transmission block; the transmission block is used to store the Data communicated between the near-end device and the far-end device.
  6. 如权利要求5所述的方法,其特征在于,所述心跳包是在第一时域位置发送的;所述第一时域位置是所述第一信息帧中传输块对应的时域位置。The method of claim 5, wherein the heartbeat packet is sent at a first time domain position; the first time domain position is a time domain position corresponding to a transmission block in the first information frame.
  7. 如权利要求5所述的方法,其特征在于,在所述确定所述近端设备与远端设备时间同步之后,所述方法还包括:The method of claim 5, wherein after the determining that the near-end device is time-synchronized with the far-end device, the method further comprises:
    在所述第一信息帧对应的时域位置中的第二时域位置,接收所述第一小区所属的基站的信号;at a second time domain position in the time domain position corresponding to the first information frame, receiving a signal of the base station to which the first cell belongs;
    在所述第一信息帧对应的时域位置中的第三时域位置,根据所述基站的信号,对所述近端设备的时间同步偏差和频偏进行修正,以保持与所述第一小区所属的基站时间同步。At the third time domain position in the time domain position corresponding to the first information frame, according to the signal of the base station, the time synchronization offset and frequency offset of the near-end device are corrected to keep the same as the first information frame. The time of the base station to which the cell belongs is synchronized.
  8. 如权利要求7所述的方法,其特征在于,所述第二时域位置位于第一时域位置之前;所述第三时域位置位于所述第二时域位置与第一时域位置之间,和/或,所述第三时域位置位于所述第一时域位置之后;所述第一时域位置是所述第一信息帧中传输块对应的时域位置。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 the time domain position corresponding to the transport block in the first information frame.
  9. 如权利要求1所述的方法,其特征在于,所述第一信息包括:随机接入信道RACH 消息;所述RACH消息用于向近端设备请求分配节点标识ID;The method according to claim 1, wherein the first information comprises: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID;
    在所述确定所述近端设备与远端设备时间同步之后,所述方法还包括:After the determining that the near-end device is time synchronized with the far-end device, the method further includes:
    根据所述第一信息,向发送所述第一信息的远端设备发送RACH确认字符ACK;According to the first information, send a RACH acknowledgement character ACK to the remote device that sends the first information;
    其中,所述RACH ACK用于向远端设备分配节点ID;所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。Wherein, the RACH ACK is used to assign a node ID to the far-end device; the node ID is used to indicate the timing corresponding to the first information frame used by the near-end device when communicating with the far-end device.
  10. 如权利要求1所述的方法,其特征在于,所述心跳包存储有所述第一小区所属的基站的频点信息以及所述第一小区的小区信息。The method of claim 1, wherein the heartbeat packet stores frequency point information of the base station to which the first cell belongs and cell information of the first cell.
  11. 如权利要求1所述的方法,其特征在于,所述心跳包存储有所述近端设备对应的第一帧计数信息。The method of claim 1, wherein the heartbeat packet stores first frame count information corresponding to the near-end device.
  12. 如权利要求9所述的方法,其特征在于,在所述向发送所述第一信息的远端设备发送RACH确认字符ACK之后,所述方法还包括;The method according to claim 9, characterized in that after the RACH acknowledgement character ACK is sent to the remote device that sends the first information, the method further comprises:
    接收第二信息;receive second information;
    其中,所述第二信息与所述RACH消息是在不同的第一信息帧接收的。Wherein, the second information and the RACH message are received in different first information frames.
  13. 一种通信同步方法,其特征在于,所述方法包括:A communication synchronization method, characterized in that the method comprises:
    执行小区搜索处理以确定第二小区;performing a cell search process to determine a second cell;
    将远端设备调整为与所述第二小区所属的基站时间同步;adjusting the remote device to be time-synchronized with the base station to which the second cell belongs;
    若接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;If a heartbeat packet is received, determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet;
    其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
  14. 如权利要求13所述的方法,其特征在于,所述确定第二小区,包括:The method of claim 13, wherein the determining the second cell comprises:
    确定搜索到的小区中满足第二条件的小区;determining a cell that satisfies the second condition in the searched cells;
    将所述满足第二条件的小区中参考信号接收功率RSRP最大的小区,确定为第二小区。A cell with the largest reference signal received power RSRP among the cells satisfying the second condition is determined as the second cell.
  15. 如权利要求14所述的方法,其特征在于,所述方法还包括:The method of claim 14, wherein the method further comprises:
    若没有接收到心跳包,或者,根据所述心跳包确定所述远端设备与所述近端设备时间没有同步,则更新第二小区;If the heartbeat packet is not received, or, according to the heartbeat packet, it is determined that the time of the remote device and the near-end device is not synchronized, updating the second cell;
    在更新所述第二小区后,执行将所述远端设备调整为与所述第二小区所属的基站时间同步。After the second cell is updated, the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
  16. 如权利要求15所述的方法,其特征在于,所述更新第二小区,包括:The method of claim 15, wherein the updating the second cell comprises:
    排除掉没有接收到心跳包对应的第二小区,或者,排除掉根据所述心跳包确定所述远端设备与近端设备时间没有同步对应的第二小区;Excluding the second cell corresponding to the heartbeat packet that has not been received, or excluding the second cell corresponding to the time synchronization between the remote device and the near-end device determined according to the heartbeat packet;
    确定剩余的小区中满足第二条件的小区;determining a cell that satisfies the second condition in the remaining cells;
    将剩余的小区中所述满足第二条件的RSRP最大的小区,更新为新的第二小区。The cell with the largest RSRP that satisfies the second condition among the remaining cells is updated as a new second cell.
  17. 如权利要求14-16任一项所述的方法,其特征在于,所述满足第二条件是指小区的RSRP在第二RSRP阈值范围内。The method according to any one of claims 14-16, wherein satisfying the second condition means that the RSRP of the cell is within the second RSRP threshold range.
  18. 如权利要求13所述的方法,其特征在于,所述根据所述心跳包确定所述远端设备 与近端设备是否时间同步,包括:method as claimed in claim 13, is characterized in that, whether described far-end equipment and near-end equipment are time-synchronized according to described heartbeat packet, comprise:
    根据所述心跳包,获取第一小区所属的基站的频点信息以及第一小区的小区信息;其中,所述近端设备与所述第一小区所属的基站时间同步;Acquire frequency point information of the 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 the base station to which the first cell belongs;
    若所述第二小区所属的基站的频点信息与所述第一小区所属的基站的频点信息相同,且所述第二小区的小区信息与所述第一小区的小区信息相同,则确定所述远端设备与所述近端设备时间同步。If the frequency information of the base station to which the second cell belongs is the same as the frequency 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, determine The far-end device is time-synchronized with the near-end device.
  19. 如权利要求13所述的方法,其特征在于,所述将所述远端设备调整为与所述第二小区所属的基站时间同步,包括:The method of claim 13, wherein the adjusting the remote device to be time-synchronized with the base station to which the second cell belongs comprises:
    读取所述第二小区的时间同步信息;reading the time synchronization information of the second cell;
    根据所述第二小区的时间同步信息,将所述远端设备调整为与所述第二小区所属的基站时间同步。According to the time synchronization information of the second cell, the remote device is adjusted to be time-synchronized with the base station to which the second cell belongs.
  20. 如权利要求13所述的方法,其特征在于,所述远端设备利用第二信息帧与所述近端设备通信,所述第二信息帧包括传输块;所述传输块用于存储所述远端设备与所述近端设备通信的数据。The method of claim 13, wherein the remote device communicates with the near-end device using a second information frame, the second information frame comprising a transport block; the transport block is used to store the Data communicated by the far-end device with the near-end device.
  21. 如权利要求20所述的方法,其特征在于,在所述若接收到心跳包,则根据所述心跳包确定所述远端设备与所述近端设备是否时间同步之前,所述方法包括:The method according to claim 20, wherein, before determining whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if the heartbeat packet is received, the method comprises:
    在第四时域位置接收所述心跳包;所述第四时域位置是所述第二信息帧中传输块对应的时域位置。The heartbeat packet is received at a fourth time domain position; the fourth time domain position is a time domain position corresponding to the transmission block in the second information frame.
  22. 如权利要求20所述的方法,其特征在于,在所述确定所述远端设备与所述近端设备时间同步之后,所述方法还包括:The method of claim 20, wherein after the determining that the remote device is time synchronized with the near-end device, the method further comprises:
    在所述第二信息帧对应的时域位置中的第五时域位置,接收所述第二小区所属的基站的信号;receiving, at a fifth time domain position in the time domain position corresponding to the second information frame, a signal of the base station to which the second cell belongs;
    在所述第二信息帧对应的时域位置中的第六时域位置,根据所述基站的信号,对所述远端设备的时间同步偏差和频偏进行修正,以保持与所述第二小区所属的基站时间同步。At the sixth time domain position in the time domain position corresponding to the second information frame, according to the signal of the base station, the time synchronization offset and the frequency offset of the remote device are corrected to keep the same as the second information frame. The time of the base station to which the cell belongs is synchronized.
  23. 如权利要求22所述的方法,其特征在于,所述第五时域位置位于第四时域位置之前;所述第六时域位置位于所述第五时域位置与所述第四时域位置之间,和/或,所述第六时域位置位于所述第四时域位置之后;所述第四时域位置是所述第二信息帧中传输块对应的时域位置。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 the time domain position corresponding to the transport block in the second information frame.
  24. 如权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13, wherein the method further comprises:
    若确定所述近端设备与所述远端设备时间同步,则根据接收到的所述心跳包,更新所述远端设备对应的第二帧计数信息,以使更新后的第二帧计数信息与所述近端设备对应的第一帧计数信息相同;If it is determined that the near-end device is time-synchronized with the far-end device, update the 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.
  25. 如权利要求13所述的方法,其特征在于,所述方法还包括:The method of claim 13, wherein the method further comprises:
    若根据所述心跳包确定所述近端设备与所述远端设备时间同步,则发送第一信息,以使所述近端设备根据所述第一信息确定所述近端设备与所述远端设备时间同步。If it is determined according to the heartbeat packet that the time between the near-end device and the far-end device is synchronized, first information is sent, so that the near-end device can determine the time between the near-end device and the far-end device according to the first information. End device time synchronization.
  26. 如权利要求25所述的方法,其特征在于,所述第一信息包括:随机接入信道RACH消息;所述RACH消息用于向近端设备请求分配节点标识ID;所述节点ID用于指示所述近端设备在与所述远端设备通信时使用的第一信息帧对应的时序。The method of claim 25, wherein the first information comprises: a random access channel RACH message; the RACH message is used to request the near-end device to assign a node identification ID; the node ID is used to indicate The timing corresponding to the first information frame used by the near-end device when communicating with the far-end device.
  27. 如权利要求26所述的方法,其特征在于,所述方法还包括:The method of claim 26, wherein the method further comprises:
    接收RACH确认字符ACK;所述RACH ACK是所述近端设备根据接收到的所述RACH消息发送的;Receive the RACH confirmation character ACK; the RACH ACK is sent by the near-end device according to the received RACH message;
    根据所述RACH ACK,获取所述近端设备分配给所述远端设备的节点标识ID。According to the RACH ACK, the node identification ID allocated by the near-end device to the far-end device is obtained.
  28. 如权利要求27所述的方法,其特征在于,在所述根据RACH ACK,获取所述近端设备分配给所述远端设备的节点标识ID之后,所述方法还包括:The method according to claim 27, wherein after acquiring the node identification ID allocated by the near-end device to the far-end device according to the RACH ACK, the method further comprises:
    发送第二信息;send a second message;
    其中,所述第二信息与所述RACH消息是在不同的第二信息帧发送的。Wherein, the second information and the RACH message are sent in different second information frames.
  29. 一种通信同步设备,其特征在于,所述通信同步设备包括:存储装置和处理器,A communication synchronization device, characterized in that the communication synchronization device comprises: a storage device and a processor,
    所述存储装置,用于存储程序代码;the storage device for storing program codes;
    所述处理器,在调用所述存储代码时,用于执行如权利要求1-12任一项所述的通信同步方法。The processor, when invoking the stored code, is configured to execute the communication synchronization method according to any one of claims 1-12.
  30. 一种通信同步设备,其特征在于,所述通信同步设备包括:存储装置和处理器,A communication synchronization device, characterized in that the communication synchronization device comprises: a storage device and a processor,
    所述存储装置,用于存储程序代码;the storage device for storing program codes;
    所述处理器,在调用所述存储代码时,用于执行如权利要求13-28任一项所述的通信同步方法。The processor, when invoking the stored code, is configured to execute the communication synchronization method according to any one of claims 13-28.
  31. 一种通信同步装置,其特征在于,所述通信同步装置包括:A communication synchronization device, characterized in that the communication synchronization device comprises:
    搜索模块,用于执行小区搜索处理以确定第一小区;a search module for performing a cell search process to determine the first cell;
    同步模块,用于将近端设备调整为与所述第一小区所属的基站时间同步;a synchronization module, configured to adjust the near-end device to be time-synchronized with the base station to which the first cell belongs;
    发送模块,用于向远端设备发送心跳包;The sending module is used to send heartbeat packets to the remote device;
    确定模块,用于若接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到所述心跳包发送的。A determining module, configured to determine that the near-end device is time-synchronized with the far-end device if the first information is received; the first information is sent by the far-end device according to the received heartbeat packet.
  32. 一种通信同步装置,其特征在于,所述通信同步装置包括:A communication synchronization device, characterized in that the communication synchronization device comprises:
    搜索模块,用于执行小区搜索处理以确定第二小区;a search module for performing a cell search process to determine a second cell;
    同步模块,用于将远端设备调整为与所述第二小区所属的基站时间同步;a synchronization module, configured to adjust the remote device to be time-synchronized with the base station to which the second cell belongs;
    确定模块,用于若接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;a determining module, configured to determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received;
    其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
  33. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质用于存储计算机 程序,所述计算机程序使得计算机执行权利要求1-12任一项所述的通信同步方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium is used for storing a computer program, and the computer program causes a computer to execute the communication synchronization method according to any one of claims 1-12.
  34. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质用于存储计算机程序,所述计算机程序使得计算机执行权利要求13-28任一项所述的通信同步方法。A computer-readable storage medium, characterized in that the computer-readable storage medium is used for storing a computer program, and the computer program causes a computer to execute the communication synchronization method according to any one of claims 13-28.
  35. 一种芯片,其特征在于,所述芯片,用于执行小区搜索处理以确定第一小区;A chip, characterized in that the chip is configured to perform a cell search process to determine a first cell;
    将近端设备调整为与所述第一小区所属的基站时间同步;Adjusting the near-end device to be time-synchronized with the base station to which the first cell belongs;
    输出心跳包,以便于向远端设备发送心跳包;Output heartbeat packets to facilitate sending heartbeat packets to remote devices;
    若接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到的所述心跳包发送的。If the first information is received, it is determined that the time of the near-end device and the far-end device are synchronized; the first information is sent by the far-end device according to the received heartbeat packet.
  36. 一种芯片,其特征在于,所述芯片,用于执行小区搜索处理以确定第二小区;A chip, characterized in that the chip is configured to perform a cell search process to determine a second cell;
    将远端设备调整为与所述第二小区所属的基站时间同步;adjusting the remote device to be time-synchronized with the base station to which the second cell belongs;
    若接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;If a heartbeat packet is received, determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet;
    其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
  37. 一种模组设备,其特征在于,所述模组设备包括芯片模组、输出接口和输入接口,其中:A modular device, characterized in that the modular device comprises a chip module, an output interface and an input interface, wherein:
    所述芯片模组,用于执行小区搜索处理以确定第一小区;将近端设备调整为与所述第一小区所属的基站时间同步;The chip module is configured to perform a cell search process to determine a first cell; adjust the near-end device to be time-synchronized with the base station to which the first cell belongs;
    所述输出接口,用于向远端设备发送心跳包;The output interface is used to send a heartbeat packet to the remote device;
    所述芯片模组,还用于若通过所述输入接口接收到第一信息,则确定所述近端设备与所述远端设备时间同步;所述第一信息是所述远端设备根据接收到的所述心跳包发送的。The chip module is further configured to determine that the near-end device and the far-end device are time-synchronized if the first information is received through the input interface; The received heartbeat packet is sent.
  38. 一种模组设备,其特征在于,所述模组设备包括芯片模组和输入接口,其中:A modular device, characterized in that the modular device includes a chip module and an input interface, wherein:
    所述芯片模组,用于执行小区搜索处理以确定第二小区;将远端设备调整为与所述第二小区所属的基站时间同步;The chip module is configured to perform a cell search process to determine a second cell; adjust the remote device to be time-synchronized with the base station to which the second cell belongs;
    所述芯片模组,还用于若通过所述输入接口接收到心跳包,则根据所述心跳包确定所述远端设备与近端设备是否时间同步;The chip module is further configured to determine whether the remote device and the near-end device are time-synchronized according to the heartbeat packet if a heartbeat packet is received through the input interface;
    其中,所述心跳包是所述近端设备发送的。Wherein, the heartbeat packet is sent by the near-end device.
PCT/CN2021/131028 2020-11-30 2021-11-16 Communication synchronization method and apparatus, storage medium, chip and related device WO2022111342A1 (en)

Applications Claiming Priority (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
CN202011375899.7 2020-11-30

Publications (1)

Publication Number Publication Date
WO2022111342A1 true WO2022111342A1 (en) 2022-06-02

Family

ID=75016656

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/131028 WO2022111342A1 (en) 2020-11-30 2021-11-16 Communication synchronization method and apparatus, storage medium, chip and related device

Country Status (2)

Country Link
CN (1) CN112543502B (en)
WO (1) WO2022111342A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1086646A (en) * 1992-07-31 1994-05-11 Csir公司 Cellular communication system
CN101056135A (en) * 2006-06-15 2007-10-17 华为技术有限公司 Radio area network system and method for adjusting the cell synchronization
CN101296048A (en) * 2008-06-17 2008-10-29 杭州华三通信技术有限公司 Time synchronization method and apparatus
US20180242267A1 (en) * 2015-10-30 2018-08-23 Huawei Technologies Co., Ltd. Method, Node, and System for Detecting Clock Synchronization Path
CN112543502A (en) * 2020-11-30 2021-03-23 紫光展锐(重庆)科技有限公司 Communication synchronization method, device, apparatus and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105515710B (en) * 2011-01-26 2019-05-24 华为技术有限公司 A kind of method and apparatus for realizing time synchronization
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
US10575272B2 (en) * 2016-02-03 2020-02-25 Lg Electronics Inc. Method and apparatus for synchronizing frequency and time in a wireless communication system
CN108112020B (en) * 2016-11-25 2020-05-05 维沃移动通信有限公司 Transmission method, device and system for synchronous access signal group
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
CN111757335B (en) * 2020-07-10 2022-06-24 展讯半导体(成都)有限公司 Access and access control method, device, system, node and storage medium
CN111935728B (en) * 2020-07-10 2022-08-19 展讯半导体(成都)有限公司 Handshaking method, device, related equipment, storage medium and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1086646A (en) * 1992-07-31 1994-05-11 Csir公司 Cellular communication system
CN101056135A (en) * 2006-06-15 2007-10-17 华为技术有限公司 Radio area network system and method for adjusting the cell synchronization
CN101296048A (en) * 2008-06-17 2008-10-29 杭州华三通信技术有限公司 Time synchronization method and apparatus
US20180242267A1 (en) * 2015-10-30 2018-08-23 Huawei Technologies Co., Ltd. Method, Node, and System for Detecting Clock Synchronization Path
CN112543502A (en) * 2020-11-30 2021-03-23 紫光展锐(重庆)科技有限公司 Communication synchronization method, device, apparatus and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ITRI: "Considerations of Synchronization Aspects for UE-to-Network Relay for Further Enhanced Device-to-Device Communication", 3GPP DRAFT; R1-1708382, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG1, no. Hangzhou; 20170515 - 20170519, 5 May 2017 (2017-05-05), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051261419 *

Also Published As

Publication number Publication date
CN112543502B (en) 2022-10-11
CN112543502A (en) 2021-03-23

Similar Documents

Publication Publication Date Title
WO2022111342A1 (en) Communication synchronization method and apparatus, storage medium, chip and related device
JP7266617B2 (en) Communication method and communication device
CN111106853B (en) Master-slave switching method, device and equipment for double wireless Bluetooth equipment and audio system
US10021182B2 (en) Method and apparatus for data synchronization
CN110691381A (en) Joint transmission method and communication device
EP3954143A1 (en) Bluetooth voice link mirroring
CN112260778B (en) Method for evaluating broadcast channel and related product
CN107645368B (en) Method and apparatus for unsolicited block acknowledgement
CN108886713B (en) Data transmission method, data receiving equipment and data sending equipment
CN111264079B (en) Data transmission method, electronic device, system and storage medium
WO2017157065A1 (en) Method for managing address of meter device, and acquisition terminal and meter device
CN109314975B (en) Method for operating a communication node in a wireless communication network, associated communication node, communication system and storage system
WO2016070693A1 (en) Method and device for transmitting preamble signal
US11653318B2 (en) Network coordination
CN114830699A (en) Method for establishing ISO link and BLE equipment
CN102138295B (en) Communication system, dependent station thereof and dependent-station relay transmission method
US8792463B2 (en) Method for managing a distribution of bandwidth in a communications network, corresponding storage means and slave node
CN103813437A (en) Mobile wireless ad hoc network clock synchronization method based on time domain narrow pulse
US20160227494A1 (en) Method and apparatus to determine a transmission time of a wireless data frame
CN110545151A (en) Method for synchronizing states between audio ends and sending audio data packets and audio equipment
US9699750B2 (en) Synchronization establishment method
CN111294864A (en) Wireless communication method and related wireless device
JP6241817B2 (en) Wireless communication system
US20120044855A1 (en) Communication Method In An Automatic System
KR101089918B1 (en) Method for managing wireless communication network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21896843

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21896843

Country of ref document: EP

Kind code of ref document: A1