WO2015109524A1 - Method and device for transmitting synchronisation signal - Google Patents

Method and device for transmitting synchronisation signal Download PDF

Info

Publication number
WO2015109524A1
WO2015109524A1 PCT/CN2014/071363 CN2014071363W WO2015109524A1 WO 2015109524 A1 WO2015109524 A1 WO 2015109524A1 CN 2014071363 W CN2014071363 W CN 2014071363W WO 2015109524 A1 WO2015109524 A1 WO 2015109524A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
signal
wake
synchronization
synchronization signal
Prior art date
Application number
PCT/CN2014/071363
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 华为技术有限公司
Priority to PCT/CN2014/071363 priority Critical patent/WO2015109524A1/en
Priority to CN201480000634.5A priority patent/CN105379375A/en
Publication of WO2015109524A1 publication Critical patent/WO2015109524A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for transmitting a synchronization signal.
  • D2D (Device to Device) refers to direct communication between terminal devices or direct communication with the assistance of the network.
  • D2D has three working scenarios, namely network coverage, no network coverage and partial network coverage.
  • the terminal devices participating in D2D communication are within the coverage of the network; in the scenario without network coverage, participation
  • the terminal devices of the D2D communication are all in the coverage of the network; in the scenario of partial network coverage, a part of the terminal devices participating in the D2D communication are within the coverage of the network, and another part of the terminal devices are outside the coverage of the network.
  • the two communicating parties of the synchronous communication need to establish synchronization first, and adjust the frequency and timing of the two terminal devices to the same frequency and time.
  • Synchronization requires a common synchronization reference between the two terminal devices communicating, which is the device that provides the synchronization reference.
  • the prior art uses the base stations in the network as a synchronization source, and the terminal devices synchronized to the base station form a group.
  • one of the plurality of terminal devices without network coverage in the prior art is used as a synchronization source, and other terminal devices synchronized to the terminal device form a group.
  • the prior art is not able to generate a group of partial network coverage, and the partially covered group helps to reduce the interference of the network coverage boundary and enhance the synchronization precision.
  • some terminal devices are within the network coverage, and another terminal device is outside the network coverage.
  • the terminal devices outside the network coverage cannot discover the terminal devices within the network coverage and perform synchronous communication. , increasing the difficulty of connecting users inside and outside the network coverage. For example: In the event of an earthquake or snowstorm, users in the disaster area outside the network coverage cannot use the terminal equipment to communicate effectively with users in the network coverage of the outside world, which improves rescue or other work. Difficulty.
  • Embodiments of the present invention provide a method and an apparatus for transmitting a synchronization signal, which can implement synchronous communication of terminal devices inside and outside the network coverage in a working scenario of partial network coverage, and reduce users in and out of the network coverage.
  • the difficulty of the connection can implement synchronous communication of terminal devices inside and outside the network coverage in a working scenario of partial network coverage, and reduce users in and out of the network coverage. The difficulty of the connection.
  • an embodiment of the present invention uses the following technical solution:
  • a device for transmitting a synchronization signal where the first terminal device is in a network coverage.
  • Terminal device the device includes:
  • a receiving module configured to receive, by the first terminal device, a wake-up signal sent by the second terminal device, where the wake-up signal is used to trigger the terminal device to transmit a synchronization signal
  • a transmitting module configured to send, by the first terminal device, the synchronization signal.
  • the receiving module includes:
  • a receiving unit configured to receive, by the first terminal device, the wake-up signal sent by the second terminal device at a predetermined time.
  • the predetermined time is a preset time set or a time period set.
  • the wake-up signal carries group ID information, and the group ID and the carried by the wake-up signal The group ID of the first terminal device is the same.
  • the wake-up signal includes synchronization priority information
  • the sending module includes:
  • a first transmitting unit configured to: when the priority of the synchronization signal to be transmitted of the first terminal device is higher than a synchronization priority of the wake-up signal, the first terminal device transmits the synchronization signal to be transmitted.
  • the device further includes: a random number module, configured to generate a random number by the first terminal device;
  • a determining module determining whether the random number satisfies a preset condition
  • the transmitting module includes:
  • a second transmitting unit configured to: when the random number meets the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
  • an embodiment of the present invention provides a device for transmitting a synchronization signal, which is used for a second terminal device, where the device includes:
  • a transmitting module configured to send, by the second terminal device, a wake-up signal, where the wake-up signal is used to trigger the terminal device to transmit a synchronization signal
  • the receiving module is configured to receive a synchronization signal sent by the first terminal device, and synchronize with the first terminal device.
  • the second terminal device has no network connection.
  • the wake-up signal carries group ID information, and the group ID carried by the wake-up signal is related to the first terminal.
  • the device's group ID is the same.
  • the wake-up signal includes synchronization priority information.
  • the embodiment of the present invention provides a method for transmitting a synchronization signal, where the first terminal device is a terminal device in a network coverage, and the method includes:
  • the first terminal device transmits a synchronization signal.
  • the receiving, by the first terminal device, the wake-up signal sent by the second terminal device includes:
  • the first terminal device receives the wake-up signal transmitted by the second terminal device at a predetermined time.
  • the predetermined time is a preset time set or a time period set.
  • the wake-up signal carries group ID information, and the group ID and the carried by the wake-up signal The group ID of the first terminal device is the same.
  • the wake-up signal includes synchronization priority information; the first terminal device transmits a synchronization signal , including:
  • the first terminal device When the priority of the synchronization signal to be transmitted of the first terminal device is higher than the synchronization priority of the wake-up signal, the first terminal device transmits the synchronization signal to be transmitted.
  • any one of the first to the fourth possible implementation manners of the third aspect, in a fifth possible implementation manner, before the first terminal device transmits the synchronization signal to be transmitted including:
  • the first terminal device generates a random number
  • the transmitting, by the first terminal device, the synchronization signal to be transmitted includes:
  • the first terminal device When the random number satisfies the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
  • the embodiment of the present invention provides a method for transmitting a synchronization signal, which is used in a second terminal device, where the method includes:
  • the second terminal device transmits a wake-up signal, where the wake-up signal is used to trigger the terminal device to transmit a synchronization signal;
  • the second terminal device has no network connection.
  • the wake-up signal carries group ID information, a group ID carried by the wake-up signal, and the first terminal The device's group ID is the same.
  • the wake-up signal includes synchronization priority information.
  • the second terminal device can transmit the wake-up signal, the first terminal device receives the wake-up signal, and transmits the synchronization signal, and the second terminal device receives the synchronization transmitted by the first terminal device. Signal and synchronize with the first terminal device.
  • the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage.
  • Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Precision.
  • FIG. 1 is a schematic structural diagram of an apparatus for transmitting a synchronization signal according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a specific implementation manner of an apparatus for transmitting a synchronization signal according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of another specific implementation manner of an apparatus for transmitting a synchronization signal according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of another apparatus for transmitting a synchronization signal according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of another terminal device according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of transmitting a synchronization signal according to an embodiment of the present invention
  • FIG. 8 is a flowchart of a specific implementation manner of a method for transmitting a synchronization signal according to an embodiment of the present invention
  • FIG. 9 is a flowchart of another specific implementation manner of a method for transmitting a synchronization signal according to an embodiment of the present invention
  • FIG. 10 is a flow chart of another method for transmitting a synchronization signal according to an embodiment of the present invention.
  • the technical solution provided by the embodiment of the present invention can be applied to a working scenario of partial network coverage.
  • some terminal devices are within the network coverage, and another terminal device is outside the network coverage. Synchronizing the terminal devices inside and outside the network coverage by using the synchronization signal transmitted by the first terminal device and the wake-up signal transmitted by the second terminal device.
  • the technical solution provided by the embodiment of the present invention may also be used in a scenario in which a terminal device in a different cell in a network coverage communicates, using a synchronization signal transmitted by the first terminal device and a wake-up signal transmitted by the second terminal device to implement different cells. Synchronization of terminal device communication.
  • the embodiment of the present invention provides a device 100 for transmitting a synchronization signal, which is used for a first terminal device, and the first terminal device is a terminal device in a network coverage.
  • the device 100 includes:
  • the receiving module 101 is configured to receive, by the first terminal device, a wake-up signal sent by the second terminal device.
  • the wake-up signal is used to trigger the terminal device to transmit a synchronization signal.
  • the wake-up signal can be either a sync signal or a custom signal.
  • the first terminal device can learn the existence of the second terminal device, thereby performing a subsequent process.
  • the transmitting module 102 is configured to send, by the first terminal device, the synchronization signal.
  • the synchronization signal can enable the two terminal devices of the communication to obtain a common synchronization Reference, thereby enabling the two terminal devices of the communication to synchronize.
  • the device for transmitting a synchronization signal is provided by the embodiment of the present invention
  • the second terminal device is capable of transmitting a wake-up signal
  • the first terminal device receives the wake-up signal, and transmits the synchronization signal
  • the second terminal device receives the synchronization signal transmitted by the first terminal device, And synchronized with the first terminal device.
  • the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage.
  • Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Accuracy; Moreover, it is also possible to enable the terminal devices in different cells in the network coverage to perform synchronous communication; at the same time, the interference that may occur when the terminal devices are not synchronized is also avoided, and the receiving performance of the terminal device is improved.
  • the receiving module 101 and the transmitting module 102 include: a receiving unit 101 1 , configured to receive, by the first terminal device, the wake-up signal sent by the second terminal device at a predetermined time.
  • the predetermined time is a preset time set or a time period set, that is, the predetermined time may be a preset time set or a time period set of the communication system, or may be a time known in the D2D communication group. Collection or time period collection.
  • the communication system presets that the duration of receiving the wake-up signal by the first terminal device may be N times of the wake-up signal sent by the second terminal, where N is a positive integer, for example, the N-time period is 1 second, and the preset time period set is ⁇ 0.
  • the first terminal device starts from time 0 and continues to receive the wake-up signal for 1 second, and stops receiving the wake-up signal after 1 second; starts from the next time 100 in the preset time period set, and continues for 1 second. Receive wake-up signal, stop receiving wake-up signal after 1 second, and so on.
  • the wake-up signal transmitted by the second terminal device is a continuous process, and when the first terminal device receives the wake-up signal transmitted by the second terminal device at a predetermined time, the wake-up signal does not occur.
  • the first transmitting unit 1021 is configured to: when the priority of the synchronization signal to be transmitted of the first terminal device is higher than the synchronization priority of the wake-up signal, the first terminal device Transmitting the synchronization signal to be transmitted.
  • the wake-up signal includes synchronization priority information.
  • the first terminal device transmits the synchronization signal to be transmitted.
  • the first terminal device does not need to transmit the synchronization signal to be transmitted if the priority of the synchronization signal to be transmitted of the first terminal device is lower than the synchronization priority of the wake-up signal.
  • the device for transmitting a synchronization signal is provided by the embodiment of the present invention.
  • the second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal at a predetermined time, and transmits a synchronization signal, and the second terminal device receives the first terminal device and transmits the synchronization signal.
  • the synchronization signal determines whether to transmit the synchronization signal to be transmitted according to the priority of the synchronization signal to be transmitted and the wake-up signal, and synchronizes with the first terminal device.
  • the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage.
  • Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization.
  • the device 100 further includes:
  • the random number module 103 is configured to generate a random number by the first terminal device.
  • the random number is used to determine whether the first terminal device transmits a synchronization signal to be transmitted, and the range of the random number can be set by the user. For example: Set the random number to 0 or 1.
  • the determining module 104 determines whether the random number satisfies a preset condition.
  • the preset condition can also be set by the user, for example: the random number that may be generated is 0 or 1, and the preset condition is set to 1 for the random number, and when the generated random number is 1, The random number satisfies the preset condition.
  • the transmitting module 102 includes:
  • the second transmitting unit 1022 is configured to: when the random number meets the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
  • the preset condition is that the random number is 1, and when the generated random number is 1, that is, when the random number satisfies the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
  • the wake-up signal carries the group ID information, and the wake-up signal carries the same group ID as the first terminal device.
  • the wake-up signal carrying the group ID information may carry a field dedicated to the group ID information; or, if the wake-up signal is a sequence, the length of the sequence, the sequence number of the sequence, or the position of the sequence may be used to correspond to the group ID. , to carry group ID information.
  • the wake-up signal is a sequence of sequence number N, and the sequence ID of the sequence N is 1 , and the wake-up signal carries a group ID of 1.
  • the device for transmitting a synchronization signal is provided by the embodiment of the present invention.
  • the second terminal device can transmit the wake-up signal, and the first terminal device receives the wake-up signal, and uses the random number generated by the first terminal device to determine whether to transmit the synchronization signal, and second.
  • the terminal device receives the synchronization signal transmitted by the first terminal device and synchronizes with the first terminal device.
  • the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage.
  • Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Accuracy; Moreover, it is also possible to enable the terminal devices in different cells in the network coverage to perform synchronous communication; at the same time, the interference that may occur when the terminal devices are not synchronized is also avoided, and the receiving performance of the terminal device is improved.
  • the embodiment of the present invention provides a device 200 for transmitting a synchronization signal, which is used for a second terminal device, as shown in FIG. 4, and includes:
  • the transmitting module 201 is configured to send, by the second terminal device, a wake-up signal.
  • the wake-up signal is used to trigger the terminal device to transmit a synchronization signal.
  • the terminal devices are all within the network coverage, they are different.
  • the terminal device in the neighboring cell of the cell wants to perform D2D communication with the terminal device that is transmitting the communication signal
  • the terminal device in the neighboring cell It is necessary to synchronize with the terminal device that is transmitting the communication signal at the communication time. Therefore, the terminal device in the neighboring cell needs to acquire the synchronization reference of the cell where the terminal device that is transmitting the communication signal is located, that is, the cell where the terminal device that is transmitting the communication signal is located.
  • the wake-up signal may be transmitted by the terminal device in the neighboring cell, and the terminal device of the cell where the terminal device that is transmitting the communication signal is triggered to transmit the synchronization signal.
  • the second terminal device may be a terminal device in a neighboring cell
  • the first terminal device may be a terminal device in a cell where the terminal device that is transmitting the communication signal is located.
  • the second terminal device has no network connection, that is, when the second terminal device is outside the network coverage, the wake-up signal is sent in a broadcast manner, for example, the second terminal device is disconnected from the originally connected network due to an emergency event. At this time, the second terminal device transmits a wake-up signal.
  • the second terminal device is always in a no-network connection state, and the second terminal device transmits a wake-up signal.
  • the receiving module 202 is configured to receive a synchronization signal sent by the first terminal device, and synchronize with the first terminal device.
  • the second terminal device transmits a wake-up signal in a broadcast manner, and a plurality of terminal devices may receive a wake-up signal transmitted by the second terminal device, and the terminal device that receives the wake-up signal may transmit a synchronization signal.
  • the second terminal device receives more than one synchronization signal, it selects to synchronize with the terminal device with the highest priority.
  • the wakeup signal carries the group ID information
  • the group ID carried by the wakeup signal is the same as the group ID of the first terminal device.
  • the first terminal device and the second terminal device are in the same network coverage, belong to the same group, and the first terminal device and the second terminal device have the same group ID;
  • the second The terminal device leaves the network, carries the group ID information in the wake-up signal transmitted by the second terminal device, and wakes up
  • the group ID carried by the signal is the same as the group ID of the first terminal device.
  • the wake-up signal includes synchronization priority information, and the terminal device with low priority is synchronized to the terminal device with high priority.
  • the device for transmitting a synchronization signal is provided by the embodiment of the present invention
  • the second terminal device is capable of transmitting a wake-up signal
  • the first terminal device receives the wake-up signal, and transmits the synchronization signal
  • the second terminal device receives the synchronization signal transmitted by the first terminal device, And synchronized with the first terminal device.
  • the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage.
  • the embodiment of the present invention provides a terminal device 300, as shown in FIG.
  • At least one processor 301 such as a CPU
  • at least one communication bus 302 a memory 303
  • at least one network interface 304 or a user interface 305 a transmitting end 306 and receiving end 307.
  • Communication bus 302 is used to implement connection communication between these components.
  • the user interface 305 includes a display, a keyboard, a mouse, a touch screen, and the like.
  • Memory 303 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • Transmitter 306 is used to transmit a synchronization signal.
  • the receiving end 307 is configured to receive the wake-up signal transmitted by the second terminal device.
  • the memory 303 can be used to store the wake-up signal transmitted by the second terminal device and the synchronization signal transmitted by the first terminal device.
  • the memory 303 may be further configured to store the group ID carried by the wake-up signal and the group ID of the first terminal device; and may also store the synchronization priority information included in the wake-up signal and the priority of the synchronization signal to be transmitted of the first terminal device. ; can also store generated Random numbers and preset conditions.
  • the processor 301 can be configured to control the receiving end 307 to receive the wake-up signal sent by the second terminal device, where the wake-up signal is used to trigger the terminal device to transmit the synchronization signal, and to control the transmitting end 306 to transmit the synchronization signal.
  • the processor 301 is further configured to control the receiving end 307 to receive the wake-up signal sent by the second terminal device at a predetermined time.
  • the predetermined time is a preset time set or a time period set.
  • the wakeup signal carries the group ID information; the group ID carried by the wakeup signal is the same as the group ID of the first terminal device.
  • the wakeup signal includes the synchronization priority information
  • the processor 301 is further configured to: when the priority of the synchronization signal to be transmitted of the first terminal device is higher than the synchronization priority of the wakeup signal, control the transmitting end 306. Transmitting the synchronization signal to be transmitted.
  • the processor 301 may be further configured to generate a random number; and, configured to determine whether the random number satisfies a preset condition; and, to be used, when the random number satisfies the preset condition, the first The terminal device transmits the synchronization signal to be transmitted.
  • the second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal, and transmits a synchronization signal, and the second terminal device receives the synchronization signal transmitted by the first terminal device, and the A terminal device synchronizes.
  • the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage.
  • Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization.
  • Accuracy and, also, enabling terminal devices in different cells in the network coverage to perform synchronous communication; at the same time, avoiding interference that may occur when the terminal device is out of synchronization, and improving reception performance of the terminal device;
  • the device does not always receive the wake-up signal, but receives the wake-up signal at a given time, and also saves the power consumed by the first terminal device on the received signal.
  • the embodiment of the present invention provides a terminal device 400, as shown in FIG.
  • At least one processor 401 such as a CPU
  • at least one communication bus 402 a memory 403, at least one network interface 404 or a user interface 405, and a transmitting end 406 and receiving end 407.
  • Communication bus 402 is used to implement connection communication between these components.
  • the user interface 405 includes a display, a keyboard, a mouse, a touch screen, and the like.
  • the memory 403 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • Transmitter 406 is used to transmit a wake-up signal.
  • the receiving end 407 is configured to receive a synchronization signal transmitted by the first terminal device.
  • the memory 403 can be used to store the wake-up signal and the received synchronization signal; and can also be used to store the group ID information carried by the wake-up signal; and can also be used to store the synchronization priority information included in the wake-up signal.
  • the processor 401 may be configured to: the second terminal device controls the transmitting end 406 to send a wake-up signal, where the wake-up signal is used to trigger the terminal device to transmit the synchronization signal; and, to control the receiving end 407 to receive the first terminal.
  • the second terminal device has no network connection.
  • the wake-up signal carries the group ID information, and the wake-up signal carries the same group ID as the first terminal device.
  • the wake-up signal includes synchronization priority information.
  • the second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal, and transmits a synchronization signal, and the second terminal device receives the synchronization signal transmitted by the first terminal device, and the A terminal device synchronizes.
  • the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage.
  • the embodiment of the invention provides a method for transmitting a synchronization signal, which is used for a first terminal device, and the first terminal device is a terminal device in a network coverage. As shown in FIG. 7, the method includes:
  • the first terminal device receives a wake-up signal sent by the second terminal device.
  • the wake-up signal is used to trigger the terminal device to transmit a synchronization signal.
  • the wake-up signal can be either a sync signal or a custom signal.
  • the first terminal device can learn the existence of the second terminal device, thereby performing a subsequent process.
  • the first terminal device transmits a synchronization signal.
  • the synchronization signal can cause the two terminal devices of the communication to obtain a common synchronization reference, so that the two terminal devices of the communication synchronize.
  • a method for transmitting a synchronization signal is provided by the embodiment of the present invention, the second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal, and transmits the synchronization signal, and the second terminal device receives the synchronization signal transmitted by the first terminal device, And synchronized with the first terminal device.
  • the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage.
  • the embodiment of the present invention further provides a specific solution of the information transmission method, where the wake-up signal includes a synchronization priority.
  • the execution process of 501 and 502 shown in FIG. 7 is further refined.
  • 501 can be implemented as 501 1
  • 502 can be implemented as 5021 .
  • the method includes:
  • the first terminal device receives the wake-up signal sent by the second terminal device at a predetermined time.
  • the predetermined time is a preset time set or a time period set, that is, the predetermined time may be a preset time set or a time period set of the communication system, or may be a time known in the D2D communication group. Collection or time period collection.
  • the communication system presets that the duration of receiving the wake-up signal by the first terminal device may be N times of the wake-up signal sent by the second terminal, where N is a positive integer, for example, the N-time period is 1 second, and the preset time period set is ⁇ 0.
  • the first terminal device starts from time 0 and continues to receive the wake-up signal for 1 second, and stops receiving the wake-up signal after 1 second; starts from the next time 100 in the preset time period set, and continues for 1 second. Receive wake-up signal, stop receiving wake-up signal after 1 second, and so on.
  • the wake-up signal transmitted by the second terminal device is a continuous process, and when the first terminal device receives the wake-up signal transmitted by the second terminal device at a predetermined time, the wake-up signal does not occur.
  • the first terminal device transmits the synchronization signal to be transmitted when the priority of the synchronization signal to be transmitted of the first terminal device is higher than the synchronization priority of the wake-up signal.
  • the wake-up signal includes synchronization priority information.
  • the priority of the to-be-transmitted synchronization signal of the first terminal device is higher than the synchronization priority of the wake-up signal, the first terminal device transmits the synchronization signal to be transmitted.
  • the first terminal device does not need to transmit the synchronization signal to be transmitted if the priority of the synchronization signal to be transmitted of the first terminal device is lower than the synchronization priority of the wake-up signal.
  • a method for transmitting a synchronization signal is provided by the embodiment of the present invention.
  • the second terminal device can transmit a wake-up signal, the first terminal device receives the wake-up signal at a predetermined time, and transmits a synchronization signal, and the second terminal device receives the first terminal device and transmits the synchronization signal.
  • the synchronization signal determines whether to transmit the synchronization to be transmitted according to the priority of the synchronization signal to be transmitted and the wake-up signal Signal and synchronize with the first terminal device.
  • the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage.
  • the embodiment of the present invention further provides a specific method for transmitting a synchronization signal, which can add 503 and 504, and further refine the execution process of 502, and further Can be specifically refined to 5022, as shown in Figure 9, including:
  • the first terminal device generates a random number.
  • the random number is used to determine whether the first terminal device transmits a synchronization signal to be transmitted, and the range of the random number can be set by the user. For example: Set the random number to 0 or 1.
  • the preset condition can also be set by the user.
  • the random number that may be generated is 0 or 1.
  • the preset condition is set to 1 for the random number.
  • the generated random number is 1, the random number satisfies the preset. condition.
  • the first terminal device transmits the synchronization signal to be transmitted.
  • the first terminal device when the generated random number is 1, that is, when the random number satisfies the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
  • the wakeup signal may carry the group ID information, and the wakeup signal carries the same group ID as the first terminal device.
  • the wake-up signal carrying the group ID information may be To carry a field dedicated to the group ID information; or, if the wake-up signal is a sequence, the group ID information may be carried by using the correspondence between the length of the sequence, the sequence number of the sequence, or the position of the sequence and the group ID.
  • the wake-up signal is a sequence of sequence number N, and the group ID corresponding to the sequence number N of the sequence is 1, and the group ID carried by the wake-up signal is 1.
  • a method for transmitting a synchronization signal is provided by an embodiment of the present invention.
  • the second terminal device can transmit a wake-up signal, and the first terminal device receives the wake-up signal, and uses the random number generated by the first terminal device to determine whether to transmit the synchronization signal, and second.
  • the terminal device receives the synchronization signal transmitted by the first terminal device and synchronizes with the first terminal device.
  • the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage.
  • An embodiment of the present invention provides a method for transmitting a synchronization signal, which is used in a second terminal device, as shown in FIG. 10, and includes:
  • the second terminal device sends a wake-up signal.
  • the wake-up signal is used to trigger the terminal device to transmit a synchronization signal.
  • the terminal devices are all in the network coverage but are in different non-synchronized cells
  • the terminal device in the neighboring cell of the cell wants to be The terminal device transmitting the communication signal performs D2D communication, and the terminal device in the neighboring cell needs to synchronize with the terminal device that is transmitting the communication signal at the communication time. Therefore, the terminal device in the neighboring cell needs to acquire the terminal device where the communication signal is being transmitted.
  • the synchronization reference of the cell that is, the synchronization signal transmitted by the base station of the cell where the terminal device that is transmitting the communication signal is located, but in this case, the terminal device in the neighboring cell cannot correctly receive the base of the different cell.
  • the wake-up signal may be transmitted by the terminal device in the neighboring cell, and the terminal device of the cell where the terminal device that is transmitting the communication signal is triggered to transmit the synchronization signal.
  • the second terminal device may be a terminal device in a neighboring cell
  • the first terminal device may be a terminal device in a cell where the terminal device that is transmitting the communication signal is located.
  • the second terminal device has no network connection, that is, when the second terminal device is outside the network coverage, the wake-up signal is sent in a broadcast manner, for example, the second terminal device is disconnected from the originally connected network due to an emergency event. At this time, the second terminal device transmits a wake-up signal.
  • the second terminal device is always in a no-network connection state, and the second terminal device transmits a wake-up signal.
  • the second terminal device transmits a wake-up signal in a broadcast manner, and a plurality of terminal devices may receive a wake-up signal transmitted by the second terminal device, and the terminal device that receives the wake-up signal may transmit a synchronization signal.
  • the second terminal device receives more than one synchronization signal, it selects to synchronize with the terminal device with the highest priority.
  • the wakeup signal may carry the group ID information, and the wakeup signal carries the same group ID as the first terminal device.
  • the first terminal device and the second terminal device are in the same network coverage, belong to the same group, and the first terminal device and the second terminal device have the same group ID;
  • the second The terminal device is out of the network, and the group ID information is carried in the wake-up signal transmitted by the second terminal device, and the group ID carried by the wake-up signal is the same as the group ID of the first terminal device.
  • the wake-up signal includes synchronization priority information, and the terminal device with low priority is synchronized to the terminal device with high priority.
  • a method for transmitting a synchronization signal is provided by the embodiment of the present invention, the second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal, and transmits the synchronization signal, and the second terminal device receives the synchronization signal transmitted by the first terminal device, And synchronized with the first terminal device.
  • the solution is in the first terminal device and the second terminal.
  • the wake-up signal and the synchronization signal are used between the devices, so that the second terminal device can synchronize with the first terminal device. Even in a working scenario of partial network coverage, users in and out of the network coverage can use the synchronization reference of the network.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a method and device for transmitting a synchronisation signal, relating to the technical field of communications, and capable of implementing synchronous communication of terminal devices within and outside of a network coverage range, thereby reducing the difficulty of contact between users within and outside of the network coverage range. The method comprises: a second terminal device transmits a wake-up signal; a first terminal device receives the wake-up signal transmitted by the second terminal device; the first terminal device transmits a synchronisation signal; the second terminal device receives the synchronisation signal transmitted by the first terminal device, and performs synchronisation with the first terminal device. The present invention is suitable for a scenario wherein terminal devices within and outside of a network coverage range perform synchronous communication, and also for a scenario wherein terminal devices in different cells within a network implement synchronisation.

Description

一种发射同步信号的方法及装置 技术领域  Method and device for transmitting synchronization signal
本发明涉及通信技术领域, 尤其涉及一种发射同步信号的方法 及装置。  The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for transmitting a synchronization signal.
背景技术 Background technique
D2D ( Device to Device , 用户直接通信) 是指终端设备之间直 接通信, 或者在网络的辅助下进行直接通信。 D2D有三种工作场景, 分别是网络覆盖、 无网络覆盖和部分网络覆盖, 在网络覆盖的工作 场景中, 参与 D2D通信的终端设备都在网络的覆盖范围内; 在无网 络覆盖的场景中,参与 D2D通信的终端设备都在网络的覆盖范围夕卜; 在部分网络覆盖的场景中, 参与 D2D通信的一部分终端设备在网络 的覆盖范围内, 另一部分终端设备在网络的覆盖范围外。 同步通信 的通信双方需要先建立同步, 将两个终端设备的频率和定时调整到 同一个频率和时间。 同步需要在通信的两个终端设备之间规定一个 共同的同步参考, 同步源是提供同步参考的设备。 在网络覆盖的工 作场景中, 现有技术将网络中的基站作为同步源, 同步到基站的终 端设备形成一个组。 在无网络覆盖的工作场景中, 现有技术中无网 络覆盖的多个终端设备中的一个终端设备作为同步源, 同步到这一 个终端设备的其他终端设备形成一个组。  D2D (Device to Device) refers to direct communication between terminal devices or direct communication with the assistance of the network. D2D has three working scenarios, namely network coverage, no network coverage and partial network coverage. In the network coverage working scenario, the terminal devices participating in D2D communication are within the coverage of the network; in the scenario without network coverage, participation The terminal devices of the D2D communication are all in the coverage of the network; in the scenario of partial network coverage, a part of the terminal devices participating in the D2D communication are within the coverage of the network, and another part of the terminal devices are outside the coverage of the network. The two communicating parties of the synchronous communication need to establish synchronization first, and adjust the frequency and timing of the two terminal devices to the same frequency and time. Synchronization requires a common synchronization reference between the two terminal devices communicating, which is the device that provides the synchronization reference. In the working scenario of network coverage, the prior art uses the base stations in the network as a synchronization source, and the terminal devices synchronized to the base station form a group. In a work scenario without network coverage, one of the plurality of terminal devices without network coverage in the prior art is used as a synchronization source, and other terminal devices synchronized to the terminal device form a group.
但是, 现有技术还不能够生成部分网络覆盖的组, 而部分覆盖 的组有助于降低网络覆盖边界的干扰, 增强同步精度。 在部分网络 覆盖的工作场景中, 一部分终端设备在网络覆盖范围内, 另一部分 终端设备在网络覆盖范围外, 在网络覆盖范围外的终端设备无法发 现在网络覆盖范围内的终端设备并进行同步通信, 加大了网络覆盖 范围内、 外的用户之间联系的难度。 比如: 在发生地震、 雪灾等紧 急情况时, 在网络覆盖范围外的灾区用户无法使用终端设备与外界 的网络覆盖范围内的用户进行有效通信, 提高了救援或其他工作的 难度。 However, the prior art is not able to generate a group of partial network coverage, and the partially covered group helps to reduce the interference of the network coverage boundary and enhance the synchronization precision. In a part of the network coverage work scenario, some terminal devices are within the network coverage, and another terminal device is outside the network coverage. The terminal devices outside the network coverage cannot discover the terminal devices within the network coverage and perform synchronous communication. , increasing the difficulty of connecting users inside and outside the network coverage. For example: In the event of an earthquake or snowstorm, users in the disaster area outside the network coverage cannot use the terminal equipment to communicate effectively with users in the network coverage of the outside world, which improves rescue or other work. Difficulty.
发明内容 Summary of the invention
本发明的实施例提供一种发射同步信号的方法及装置, 在部分 网络覆盖的工作场景中, 能够实现网络覆盖范围内、 外的终端设备 的同步通信, 降低网络覆盖范围内、 外的用户之间联系的难度。  Embodiments of the present invention provide a method and an apparatus for transmitting a synchronization signal, which can implement synchronous communication of terminal devices inside and outside the network coverage in a working scenario of partial network coverage, and reduce users in and out of the network coverage. The difficulty of the connection.
为达到上述目 的, 本发明的实施例釆用如下技术方案: 第一方面, 本发明实施例提供一种发射同步信号的装置, 用于 第一终端设备, 所述第一终端设备为网络覆盖内的终端设备, 所述 装置包括:  In order to achieve the above object, an embodiment of the present invention uses the following technical solution: In a first aspect, an embodiment of the present invention provides a device for transmitting a synchronization signal, where the first terminal device is in a network coverage. Terminal device, the device includes:
接收模块, 用于所述第一终端设备接收第二终端设备发射的唤 醒信号, 所述唤醒信号用于触发终端设备发射同步信号;  a receiving module, configured to receive, by the first terminal device, a wake-up signal sent by the second terminal device, where the wake-up signal is used to trigger the terminal device to transmit a synchronization signal;
发射模块, 用于所述第一终端设备发射所述同步信号。  a transmitting module, configured to send, by the first terminal device, the synchronization signal.
结合第一方面, 在第一种可能的实现方式中, 所述接收模块, 包括:  With reference to the first aspect, in a first possible implementation, the receiving module includes:
接收单元, 用于所述第一终端设备在既定时间接收所述第二终 端设备发射的所述唤醒信号。  And a receiving unit, configured to receive, by the first terminal device, the wake-up signal sent by the second terminal device at a predetermined time.
结合第一方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述既定时间为预先设定的时刻集合或时间段集合。  With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the predetermined time is a preset time set or a time period set.
结合第一方面、 第一方面的第一种或第二种可能的实现方式, 在第三种可能的实现方式中, 所述唤醒信号携带组 ID信息; 所述唤 醒信号携带的组 ID与所述第一终端设备的组 ID相同。  With reference to the first aspect, the first or the second possible implementation manner of the first aspect, in a third possible implementation manner, the wake-up signal carries group ID information, and the group ID and the carried by the wake-up signal The group ID of the first terminal device is the same.
结合第一方面、 第一方面的第一种或第二种可能的实现方式, 在第四种可能的实现方式中, 所述唤醒信号包括同步优先级信息; 所述发射模块, 包括:  With the first aspect, the first or the second possible implementation of the first aspect, in a fourth possible implementation, the wake-up signal includes synchronization priority information, and the sending module includes:
第一发射单元, 用于当所述第一终端设备的待发射同步信号的 优先级高于所述唤醒信号的同步优先级时, 所述第一终端设备发射 所述待发射同步信号。  a first transmitting unit, configured to: when the priority of the synchronization signal to be transmitted of the first terminal device is higher than a synchronization priority of the wake-up signal, the first terminal device transmits the synchronization signal to be transmitted.
结合第一方面、 第一方面的第一种至第四种中任意一种可能的 实现方式, 在第五种可能的实现方式中, 所述装置还包括: 随机数模块, 用于所述第一终端设备产生随机数; With reference to the first aspect, any one of the first to the fourth possible implementations of the first aspect, in a fifth possible implementation, the device further includes: a random number module, configured to generate a random number by the first terminal device;
判断模块, 判断所述随机数是否满足预设条件;  a determining module, determining whether the random number satisfies a preset condition;
所述发射模块, 包括:  The transmitting module includes:
第二发射单元, 用于当所述随机数满足所述预设条件时, 所述 第一终端设备发射所述待发射同步信号。  a second transmitting unit, configured to: when the random number meets the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
第二方面, 本发明实施例提供一种发射同步信号的装置, 用于 第二终端设备, 所述装置包括:  In a second aspect, an embodiment of the present invention provides a device for transmitting a synchronization signal, which is used for a second terminal device, where the device includes:
发射模块, 用于所述第二终端设备发射唤醒信号, 所述唤醒信 号用于触发终端设备发射同步信号;  a transmitting module, configured to send, by the second terminal device, a wake-up signal, where the wake-up signal is used to trigger the terminal device to transmit a synchronization signal;
接收模块, 用于接收所述第一终端设备发射的同步信号, 并与 所述第一终端设备进行同步。  The receiving module is configured to receive a synchronization signal sent by the first terminal device, and synchronize with the first terminal device.
结合第二方面, 在第一种可能的实现方式中, 所述第二终端设 备无网络连接。  With reference to the second aspect, in a first possible implementation manner, the second terminal device has no network connection.
结合第二方面或第二方面的第一种可能的实现方式, 在第二种 可能的实现方式中, 所述唤醒信号携带组 ID信息; 所述唤醒信号携 带的组 ID与所述第一终端设备的组 ID相同。  With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the wake-up signal carries group ID information, and the group ID carried by the wake-up signal is related to the first terminal. The device's group ID is the same.
结合第二方面或第二方面的第一种可能的实现方式, 在第三种 可能的实现方式中, 所述唤醒信号包括同步优先级信息。  In conjunction with the second aspect or the first possible implementation of the second aspect, in a third possible implementation, the wake-up signal includes synchronization priority information.
第三方面, 本发明实施例提供一种发射同步信号的方法, 用于 第一终端设备, 所述第一终端设备为网络覆盖内的终端设备, 所述 方法包括:  In a third aspect, the embodiment of the present invention provides a method for transmitting a synchronization signal, where the first terminal device is a terminal device in a network coverage, and the method includes:
所述第一终端设备接收第二终端设备发射的唤醒信号, 所述唤 醒信号用于触发终端设备发射同步信号;  Receiving, by the first terminal device, a wake-up signal sent by the second terminal device, where the wake-up signal is used to trigger the terminal device to transmit a synchronization signal;
所述第一终端设备发射同步信号。  The first terminal device transmits a synchronization signal.
结合第三方面, 在第一种可能的实现方式中, 所述第一终端设 备接收第二终端设备发射的唤醒信号, 包括:  With reference to the third aspect, in a first possible implementation, the receiving, by the first terminal device, the wake-up signal sent by the second terminal device includes:
所述第一终端设备在既定时间接收所述第二终端设备发射的所 述唤醒信号。  The first terminal device receives the wake-up signal transmitted by the second terminal device at a predetermined time.
结合第三方面的第一种可能的实现方式, 在第二种可能的实现 方式中, 所述既定时间为预先设定的时刻集合或时间段集合。 Combined with the first possible implementation of the third aspect, in the second possible implementation In the mode, the predetermined time is a preset time set or a time period set.
结合第三方面、 第三方面的第一种或第二种可能的实现方式, 在第三种可能的实现方式中, 所述唤醒信号携带组 ID信息; 所述唤 醒信号携带的组 ID与所述第一终端设备的组 ID相同。  With reference to the third aspect, the first or the second possible implementation manner of the third aspect, in a third possible implementation manner, the wake-up signal carries group ID information, and the group ID and the carried by the wake-up signal The group ID of the first terminal device is the same.
结合第三方面、 第三方面的第一种或第二种可能的实现方式, 在第四种可能的实现方式中, 所述唤醒信号包括同步优先级信息; 所述第一终端设备发射同步信号, 包括:  With reference to the third aspect, the first or the second possible implementation manner of the third aspect, in a fourth possible implementation manner, the wake-up signal includes synchronization priority information; the first terminal device transmits a synchronization signal , including:
当所述第一终端设备的待发射同步信号的优先级高于所述唤醒 信号的同步优先级时, 所述第一终端设备发射所述待发射同步信号。  When the priority of the synchronization signal to be transmitted of the first terminal device is higher than the synchronization priority of the wake-up signal, the first terminal device transmits the synchronization signal to be transmitted.
结合第三方面、 第三方面的第一种至第四种中任意一种可能的 实现方式, 在第五种可能的实现方式中, 在所述第一终端设备发射 所述待发射同步信号之前, 包括:  With reference to the third aspect, any one of the first to the fourth possible implementation manners of the third aspect, in a fifth possible implementation manner, before the first terminal device transmits the synchronization signal to be transmitted , including:
所述第一终端设备产生随机数;  The first terminal device generates a random number;
判断所述随机数是否满足预设条件;  Determining whether the random number satisfies a preset condition;
所述第一终端设备发射所述待发射同步信号, 包括:  The transmitting, by the first terminal device, the synchronization signal to be transmitted includes:
当所述随机数满足所述预设条件时, 所述第一终端设备发射所 述待发射同步信号。  When the random number satisfies the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
第四方面, 本发明实施例提供一种发射同步信号的方法, 用于 第二终端设备, 所述方法包括:  In a fourth aspect, the embodiment of the present invention provides a method for transmitting a synchronization signal, which is used in a second terminal device, where the method includes:
所述第二终端设备发射唤醒信号, 所述唤醒信号用于触发终端 设备发射同步信号;  The second terminal device transmits a wake-up signal, where the wake-up signal is used to trigger the terminal device to transmit a synchronization signal;
接收所述第一终端设备发射的同步信号, 并与所述第一终端设 备进行同步。  Receiving a synchronization signal transmitted by the first terminal device, and synchronizing with the first terminal device.
结合第四方面, 在第一种可能的实现方式中, 所述第二终端设 备无网络连接。  In conjunction with the fourth aspect, in a first possible implementation, the second terminal device has no network connection.
结合第四方面或第四方面的第一种可能的实现方式, 在第二种 可能的实现方式中, 所述唤醒信号携带组 ID信息, 所述唤醒信号携 带的组 ID与所述第一终端设备的组 ID相同。  With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the wake-up signal carries group ID information, a group ID carried by the wake-up signal, and the first terminal The device's group ID is the same.
结合第四方面或第四方面的第一种可能的实现方式, 在第三种 可能的实现方式中, 所述唤醒信号包括同步优先级信息。 In combination with the fourth aspect or the first possible implementation of the fourth aspect, in the third In a possible implementation manner, the wake-up signal includes synchronization priority information.
本发明实施例提供的一种发射同步信号的方法及装置, 第二终 端设备能够发射唤醒信号, 第一终端设备接收唤醒信号, 并发射同 步信号, 第二终端设备接收第一终端设备发射的同步信号, 并与第 一终端设备进行同步。 与现有技术相比, 本方案在第一终端设备和 第二终端设备之间利用唤醒信号和同步信号, 使得第二终端设备能 够同步于第一终端设备, 即使在部分网络覆盖的工作场景中, 网络 覆盖范围内、 外的用户也可以釆用网络的同步参考进行通信, 减小 了网络覆盖范围内、 外的用户之间联系的难度, 并降低了网络覆盖 边界的干扰, 增强了同步的精度。  The method and device for transmitting a synchronization signal provided by the embodiment of the present invention, the second terminal device can transmit the wake-up signal, the first terminal device receives the wake-up signal, and transmits the synchronization signal, and the second terminal device receives the synchronization transmitted by the first terminal device. Signal and synchronize with the first terminal device. Compared with the prior art, the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage. Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Precision.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施 例中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的 附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其它的附 图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without any creative work.
图 1 为本发明实施例提供的一种发射同步信号的装置的结构示 意图;  FIG. 1 is a schematic structural diagram of an apparatus for transmitting a synchronization signal according to an embodiment of the present invention;
图 2 为本发明实施例提供的一种发射同步信号的装置的一种具 体实现方式的结构示意图;  2 is a schematic structural diagram of a specific implementation manner of an apparatus for transmitting a synchronization signal according to an embodiment of the present invention;
图 3 为本发明实施例提供的一种发射同步信号的装置的另一种 具体实现方式的结构示意图;  FIG. 3 is a schematic structural diagram of another specific implementation manner of an apparatus for transmitting a synchronization signal according to an embodiment of the present disclosure;
图 4 为本发明实施例提供的另一种发射同步信号的装置的结构 示意图;  4 is a schematic structural diagram of another apparatus for transmitting a synchronization signal according to an embodiment of the present invention;
图 5为本发明实施例提供的一种终端设备的结构示意图; 图 6为本发明实施例提供的另一种终端设备的结构示意图; 图 7为本发明实施例提供的一种发射同步信号的方法的流程图; 图 8 为本发明实施例提供的一种发射同步信号的方法的一种具 体实现方式的流程图; 图 9 为本发明实施例提供的一种发射同步信号的方法的另一种 具体实现方式的流程图; 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention; FIG. 6 is a schematic structural diagram of another terminal device according to an embodiment of the present invention; FIG. 7 is a schematic diagram of transmitting a synchronization signal according to an embodiment of the present invention; FIG. 8 is a flowchart of a specific implementation manner of a method for transmitting a synchronization signal according to an embodiment of the present invention; FIG. 9 is a flowchart of another specific implementation manner of a method for transmitting a synchronization signal according to an embodiment of the present invention;
图 10为本发明实施例提供的另一种发射同步信号的方法的流程 图。  FIG. 10 is a flow chart of another method for transmitting a synchronization signal according to an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它 实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供的技术方案可以应用于部分网络覆盖的工作 场景中, 在部分网络覆盖的场景中, 有一部分终端设备在网络覆盖 范围内, 另一部分终端设备在网络覆盖范围外, 本方案中, 利用第 一终端设备发射的同步信号和第二终端设备发射的唤醒信号, 实现 网络覆盖范围内、 外的终端设备的同步。 本发明实施例提供的技术 方案还可以用于网络覆盖下的不同小区中的终端设备进行通信的场 景中, 利用第一终端设备发射的同步信号和第二终端设备发射的唤 醒信号, 实现不同小区中的终端设备通信的同步。  The technical solution provided by the embodiment of the present invention can be applied to a working scenario of partial network coverage. In a scenario covered by a part of the network, some terminal devices are within the network coverage, and another terminal device is outside the network coverage. Synchronizing the terminal devices inside and outside the network coverage by using the synchronization signal transmitted by the first terminal device and the wake-up signal transmitted by the second terminal device. The technical solution provided by the embodiment of the present invention may also be used in a scenario in which a terminal device in a different cell in a network coverage communicates, using a synchronization signal transmitted by the first terminal device and a wake-up signal transmitted by the second terminal device to implement different cells. Synchronization of terminal device communication.
本发明实施例提供了一种发射同步信号的装置 100 ,用于第一终 端设备, 第一终端设备为网络覆盖内的终端设备, 如图 1 所示, 装 置 100包括:  The embodiment of the present invention provides a device 100 for transmitting a synchronization signal, which is used for a first terminal device, and the first terminal device is a terminal device in a network coverage. As shown in FIG. 1, the device 100 includes:
接收模块 101 ,用于所述第一终端设备接收第二终端设备发射的 唤醒信号。  The receiving module 101 is configured to receive, by the first terminal device, a wake-up signal sent by the second terminal device.
其中, 唤醒信号用于触发终端设备发射同步信号。 唤醒信号可 以是同步信号, 也可以是自定义信号。 当第一终端设备接收第二终 端设备发射的唤醒信号时, 第一终端设备就可以得知第二终端设备 的存在, 从而进行后续的流程。  The wake-up signal is used to trigger the terminal device to transmit a synchronization signal. The wake-up signal can be either a sync signal or a custom signal. When the first terminal device receives the wake-up signal transmitted by the second terminal device, the first terminal device can learn the existence of the second terminal device, thereby performing a subsequent process.
发射模块 102 , 用于所述第一终端设备发射所述同步信号。 其中, 同步信号可以使得通信的两个终端设备得到共同的同步 参考, 从而使得通信的两个终端设备进行同步。 The transmitting module 102 is configured to send, by the first terminal device, the synchronization signal. Wherein, the synchronization signal can enable the two terminal devices of the communication to obtain a common synchronization Reference, thereby enabling the two terminal devices of the communication to synchronize.
本发明实施例提供的一种发射同步信号的装置, 第二终端设备 能够发射唤醒信号, 第一终端设备接收唤醒信号, 并发射同步信号, 第二终端设备接收第一终端设备发射的同步信号, 并与第一终端设 备进行同步。 与现有技术相比, 本方案在第一终端设备和第二终端 设备之间利用唤醒信号和同步信号, 使得第二终端设备能够同步于 第一终端设备, 即使在部分网络覆盖的工作场景中, 网络覆盖范围 内、 外的用户也可以釆用网络的同步参考进行通信, 减小了网络覆 盖范围内、 外的用户之间联系的难度, 并降低了网络覆盖边界的干 扰, 增强了同步的精度; 并且, 也能够使网络覆盖范围内的不同小 区中的终端设备进行同步通信; 同时, 也避免了终端设备不同步时 会出现的干扰, 提高了终端设备的接收性能。  The device for transmitting a synchronization signal is provided by the embodiment of the present invention, the second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal, and transmits the synchronization signal, and the second terminal device receives the synchronization signal transmitted by the first terminal device, And synchronized with the first terminal device. Compared with the prior art, the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage. Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Accuracy; Moreover, it is also possible to enable the terminal devices in different cells in the network coverage to perform synchronous communication; at the same time, the interference that may occur when the terminal devices are not synchronized is also avoided, and the receiving performance of the terminal device is improved.
进一步的, 如图 2所示, 接收模块 101和发射模块 102 , 包括: 接收单元 101 1 , 用于所述第一终端设备在既定时间接收所述第 二终端设备发射的所述唤醒信号。  Further, as shown in FIG. 2, the receiving module 101 and the transmitting module 102 include: a receiving unit 101 1 , configured to receive, by the first terminal device, the wake-up signal sent by the second terminal device at a predetermined time.
进一步的, 既定时间为预先设定的时刻集合或时间段集合, 也 就是说, 既定时间可以是通信系统预设的时刻集合或时间段集合, 也可以是在 D2D—个通信组内公知的时刻集合或时间段集合。例如: 通信系统预设第一终端设备接收唤醒信号的持续时间可以是第二终 端发送唤醒信号的 N倍周期, N是正整数, 比如 N倍周期为 1秒钟, 预设时间段集合是 {0 , 100 , 1000} , 则第一终端设备从时刻 0开始, 持续 1 秒尝试接收唤醒信号, 1 秒后停止接收唤醒信号; 从预设时 间段集合中的下一个时刻 100开始, 持续 1秒尝试接收唤醒信号, 1 秒后停止接收唤醒信号, 依此类推。  Further, the predetermined time is a preset time set or a time period set, that is, the predetermined time may be a preset time set or a time period set of the communication system, or may be a time known in the D2D communication group. Collection or time period collection. For example, the communication system presets that the duration of receiving the wake-up signal by the first terminal device may be N times of the wake-up signal sent by the second terminal, where N is a positive integer, for example, the N-time period is 1 second, and the preset time period set is {0. , 100 , 1000} , the first terminal device starts from time 0 and continues to receive the wake-up signal for 1 second, and stops receiving the wake-up signal after 1 second; starts from the next time 100 in the preset time period set, and continues for 1 second. Receive wake-up signal, stop receiving wake-up signal after 1 second, and so on.
需要说明的是, 第二终端设备发射的唤醒信号是一个持续的过 程, 第一终端设备在既定时间接收第二终端设备发射的唤醒信号时, 并不会发生遗漏唤醒信号的情况。  It should be noted that the wake-up signal transmitted by the second terminal device is a continuous process, and when the first terminal device receives the wake-up signal transmitted by the second terminal device at a predetermined time, the wake-up signal does not occur.
第一发射单元 1021 , 用于当所述第一终端设备的待发射同步信 号的优先级高于所述唤醒信号的同步优先级时, 所述第一终端设备 发射所述待发射同步信号。 The first transmitting unit 1021 is configured to: when the priority of the synchronization signal to be transmitted of the first terminal device is higher than the synchronization priority of the wake-up signal, the first terminal device Transmitting the synchronization signal to be transmitted.
其中, 唤醒信号包括同步优先级信息。 当第一终端设备的待发 射同步信号的优先级高于唤醒信号的同步优先级时, 第一终端设备 发射待发射同步信号。  The wake-up signal includes synchronization priority information. When the priority of the to-be-sent sync signal of the first terminal device is higher than the synchronization priority of the wake-up signal, the first terminal device transmits the synchronization signal to be transmitted.
其中, 若第一终端设备的待发射同步信号的优先级低于唤醒信 号的同步优先级时, 第一终端设备不需要发射待发射同步信号。  The first terminal device does not need to transmit the synchronization signal to be transmitted if the priority of the synchronization signal to be transmitted of the first terminal device is lower than the synchronization priority of the wake-up signal.
本发明实施例提供的一种发射同步信号的装置, 第二终端设备 能够发射唤醒信号, 第一终端设备在既定时间接收唤醒信号, 并发 射同步信号, 第二终端设备接收第一终端设备发射的同步信号, 根 据待发射同步信号和唤醒信号的优先级, 决定是否发射待发射同步 信号, 并与第一终端设备进行同步。 与现有技术相比, 本方案在第 一终端设备和第二终端设备之间利用唤醒信号和同步信号, 使得第 二终端设备能够同步于第一终端设备, 即使在部分网络覆盖的工作 场景中, 网络覆盖范围内、 外的用户也可以釆用网络的同步参考进 行通信, 减小了网络覆盖范围内、 外的用户之间联系的难度, 并降 低了网络覆盖边界的干扰, 增强了同步的精度; 并且, 也能够使网 络覆盖范围内的不同小区中的终端设备进行同步通信; 同时, 也避 免了终端设备不同步时会出现的干扰, 提高了终端设备的接收性能; 而且, 第一终端设备并不是一直都处于接收唤醒信号的状态, 而是 在既定时间接收唤醒信号, 也节省了第一终端设备在接收信号上消 耗的电能。 进一步的, 如图 3所示, 装置 100还包括:  The device for transmitting a synchronization signal is provided by the embodiment of the present invention. The second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal at a predetermined time, and transmits a synchronization signal, and the second terminal device receives the first terminal device and transmits the synchronization signal. The synchronization signal determines whether to transmit the synchronization signal to be transmitted according to the priority of the synchronization signal to be transmitted and the wake-up signal, and synchronizes with the first terminal device. Compared with the prior art, the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage. Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Accuracy; and, also, enabling terminal devices in different cells in the network coverage to perform synchronous communication; at the same time, avoiding interference that may occur when the terminal device is out of synchronization, and improving reception performance of the terminal device; The device does not always receive the wake-up signal, but receives the wake-up signal at a given time, and also saves the power consumed by the first terminal device on the received signal. Further, as shown in FIG. 3, the device 100 further includes:
随机数模块 103 , 用于所述第一终端设备产生随机数。  The random number module 103 is configured to generate a random number by the first terminal device.
其中, 随机数用于判断第一终端设备是否发射待发射同步信号, 随机数的范围可以由用户设定。 例如: 设定随机数为 0或 1。  The random number is used to determine whether the first terminal device transmits a synchronization signal to be transmitted, and the range of the random number can be set by the user. For example: Set the random number to 0 or 1.
判断模块 104 , 判断所述随机数是否满足预设条件。  The determining module 104 determines whether the random number satisfies a preset condition.
其中, 预设条件也可以由用户设定, 比如: 可能产生的随机数 为 0或 1 , 设定预设条件为随机数为 1 , 当产生的随机数为 1 时, 即 随机数满足预设条件。 The preset condition can also be set by the user, for example: the random number that may be generated is 0 or 1, and the preset condition is set to 1 for the random number, and when the generated random number is 1, The random number satisfies the preset condition.
发射模块 102 , 包括:  The transmitting module 102 includes:
第二发射单元 1022 , 用于当所述随机数满足所述预设条件时, 所述第一终端设备发射所述待发射同步信号。  The second transmitting unit 1022 is configured to: when the random number meets the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
其中, 例如: 设定预设条件为随机数为 1 , 当产生的随机数为 1 时, 即随机数满足预设条件时, 第一终端设备发射待发射同步信号。  For example, the preset condition is that the random number is 1, and when the generated random number is 1, that is, when the random number satisfies the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
可选的, 唤醒信号携带组 ID信息, 唤醒信号携带的组 ID与第 一终端设备的组 ID相同。 其中, 携带组 ID信息的唤醒信号可以携 带一个专用来表示组 ID信息的字段;或者,若唤醒信号是一个序列, 可以利用序列的长度、序列的序号或序列的位置等与组 ID的对应关 系, 来携带组 ID信息。 比如: 唤醒信号是序号为 N 的序列, 序列 的序号 N对应的组 ID为 1 , 则唤醒信号携带的组 ID为 1。  Optionally, the wake-up signal carries the group ID information, and the wake-up signal carries the same group ID as the first terminal device. The wake-up signal carrying the group ID information may carry a field dedicated to the group ID information; or, if the wake-up signal is a sequence, the length of the sequence, the sequence number of the sequence, or the position of the sequence may be used to correspond to the group ID. , to carry group ID information. For example, the wake-up signal is a sequence of sequence number N, and the sequence ID of the sequence N is 1 , and the wake-up signal carries a group ID of 1.
本发明实施例提供的一种发射同步信号的装置, 第二终端设备 能够发射唤醒信号, 第一终端设备接收唤醒信号, 并利用第一终端 设备产生的随机数, 决定是否发射同步信号, 第二终端设备接收第 一终端设备发射的同步信号, 并与第一终端设备进行同步。 与现有 技术相比, 本方案在第一终端设备和第二终端设备之间利用唤醒信 号和同步信号, 使得第二终端设备能够同步于第一终端设备, 即使 在部分网络覆盖的工作场景中, 网络覆盖范围内、 外的用户也可以 釆用网络的同步参考进行通信, 减小了网络覆盖范围内、 外的用户 之间联系的难度, 并降低了网络覆盖边界的干扰, 增强了同步的精 度; 并且, 也能够使网络覆盖范围内的不同小区中的终端设备进行 同步通信; 同时, 也避免了终端设备不同步时会出现的干扰, 提高 了终端设备的接收性能。  The device for transmitting a synchronization signal is provided by the embodiment of the present invention. The second terminal device can transmit the wake-up signal, and the first terminal device receives the wake-up signal, and uses the random number generated by the first terminal device to determine whether to transmit the synchronization signal, and second. The terminal device receives the synchronization signal transmitted by the first terminal device and synchronizes with the first terminal device. Compared with the prior art, the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage. Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Accuracy; Moreover, it is also possible to enable the terminal devices in different cells in the network coverage to perform synchronous communication; at the same time, the interference that may occur when the terminal devices are not synchronized is also avoided, and the receiving performance of the terminal device is improved.
本发明实施例提供了一种发射同步信号的装置 200 ,用于第二终 端设备, 如图 4所示, 包括:  The embodiment of the present invention provides a device 200 for transmitting a synchronization signal, which is used for a second terminal device, as shown in FIG. 4, and includes:
发射模块 201 , 用于所述第二终端设备发射唤醒信号。  The transmitting module 201 is configured to send, by the second terminal device, a wake-up signal.
其中, 唤醒信号用于触发终端设备发射同步信号。  The wake-up signal is used to trigger the terminal device to transmit a synchronization signal.
需要说明的是, 当终端设备都处于网络覆盖内, 但是处于非同 步的不同小区时, 若一个小区中存在正在发射通信信号的终端设备, 这一个小区的邻小区中的终端设备想要与正在发射通信信号的终端 设备进行 D2D通信, 则邻小区中的终端设备需要在通信时刻同步于 正在发射通信信号的终端设备, 所以, 邻小区中的终端设备需要获 取正在发射通信信号的终端设备所在的小区的同步参考, 即正在发 射通信信号的终端设备所在的小区的基站发射的同步信号, 但在这 种情况下, 也存在邻小区中的终端设备无法正确接收不同小区的基 站发射的同步信号的可能性。 所以, 可以由邻小区中的终端设备发 射唤醒信号, 触发正在发射通信信号的终端设备所在小区的终端设 备发射同步信号。 其中, 第二终端设备可以是邻小区中的终端设备, 第一终端设备可以是正在发射通信信号的终端设备所在小区中的终 端设备。 It should be noted that when the terminal devices are all within the network coverage, they are different. In a different cell of a step, if there is a terminal device that is transmitting a communication signal in a cell, and the terminal device in the neighboring cell of the cell wants to perform D2D communication with the terminal device that is transmitting the communication signal, the terminal device in the neighboring cell It is necessary to synchronize with the terminal device that is transmitting the communication signal at the communication time. Therefore, the terminal device in the neighboring cell needs to acquire the synchronization reference of the cell where the terminal device that is transmitting the communication signal is located, that is, the cell where the terminal device that is transmitting the communication signal is located. The synchronization signal transmitted by the base station, but in this case, there is also a possibility that the terminal equipment in the neighboring cell cannot correctly receive the synchronization signal transmitted by the base station of the different cell. Therefore, the wake-up signal may be transmitted by the terminal device in the neighboring cell, and the terminal device of the cell where the terminal device that is transmitting the communication signal is triggered to transmit the synchronization signal. The second terminal device may be a terminal device in a neighboring cell, and the first terminal device may be a terminal device in a cell where the terminal device that is transmitting the communication signal is located.
可选的, 第二终端设备无网络连接, 即第二终端设备处于网络 覆盖范围外时, 以广播的方式发射唤醒信号, 比如: 第二终端设备 由于突发事件, 与原来连接的网络断开, 此时, 第二终端设备发射 唤醒信号。 再比如: 第二终端设备一直处于无网络连接状态, 此时 第二终端设备发射唤醒信号。  Optionally, the second terminal device has no network connection, that is, when the second terminal device is outside the network coverage, the wake-up signal is sent in a broadcast manner, for example, the second terminal device is disconnected from the originally connected network due to an emergency event. At this time, the second terminal device transmits a wake-up signal. For another example: the second terminal device is always in a no-network connection state, and the second terminal device transmits a wake-up signal.
接收模块 202 , 用于接收所述第一终端设备发射的同步信号, 并 与所述第一终端设备进行同步。  The receiving module 202 is configured to receive a synchronization signal sent by the first terminal device, and synchronize with the first terminal device.
其中, 第二终端设备以广播的方式发射唤醒信号, 周围可能会 有多个终端设备都接收到了第二终端设备发射的唤醒信号, 接收到 唤醒信号的终端设备都有可能会发射同步信号, 当第二终端设备接 收到多于一个的同步信号时, 选择与优先级最高的终端设备进行同 步。  The second terminal device transmits a wake-up signal in a broadcast manner, and a plurality of terminal devices may receive a wake-up signal transmitted by the second terminal device, and the terminal device that receives the wake-up signal may transmit a synchronization signal. When the second terminal device receives more than one synchronization signal, it selects to synchronize with the terminal device with the highest priority.
可选的, 唤醒信号携带组 ID信息, 唤醒信号携带的组 ID与第 一终端设备的组 ID相同。 比如: 在时刻 tl , 第一终端设备与第二终 端设备在同一网络覆盖范围内, 同属一个组, 第一终端设备与第二 终端设备的组 ID相同; 在时刻 tl 之后的时刻 t2 , 第二终端设备脱 离网络, 在第二终端设备发射的唤醒信号中携带组 ID信息, 且唤醒 信号携带的组 ID与第一终端设备的组 ID相同。 Optionally, the wakeup signal carries the group ID information, and the group ID carried by the wakeup signal is the same as the group ID of the first terminal device. For example, at time t1, the first terminal device and the second terminal device are in the same network coverage, belong to the same group, and the first terminal device and the second terminal device have the same group ID; at time t2 after the time t1, the second The terminal device leaves the network, carries the group ID information in the wake-up signal transmitted by the second terminal device, and wakes up The group ID carried by the signal is the same as the group ID of the first terminal device.
可选的, 唤醒信号包括同步优先级信息, 优先级低的终端设备 会同步到优先级高的终端设备上。  Optionally, the wake-up signal includes synchronization priority information, and the terminal device with low priority is synchronized to the terminal device with high priority.
本发明实施例提供的一种发射同步信号的装置, 第二终端设备 能够发射唤醒信号, 第一终端设备接收唤醒信号, 并发射同步信号, 第二终端设备接收第一终端设备发射的同步信号, 并与第一终端设 备进行同步。 与现有技术相比, 本方案在第一终端设备和第二终端 设备之间利用唤醒信号和同步信号, 使得第二终端设备能够同步于 第一终端设备, 即使在部分网络覆盖的工作场景中, 网络覆盖范围 内、 外的用户也可以釆用网络的同步参考进行通信, 减小了网络覆 盖范围内、 外的用户之间联系的难度, 并降低了网络覆盖边界的干 扰, 增强了同步的精度; 并且, 也能够使网络覆盖范围内的不同小 区中的终端设备进行同步通信; 同时, 也避免了终端设备不同步时 会出现的干扰, 提高了终端设备的接收性能。 本发明实施例提供了一种终端设备 300 , 如图 5所示, 包括: 至 少一个处理器 301 , 例如 CPU , 至少一个通信总线 302 , 存储器 303 , 至少一个网络接口 304或者用户接口 305 ,发射端 306和接收端 307。 通信总线 302 用于实现这些组件之间的连接通信。 可选的, 用户接 口 305 包括显示器、 键盘、 鼠标、 触摸屏等设备。 存储器 303 可能 包含高速 RAM 存储器 , 也可能还 包括非 不稳定的存储器 ( non-volatile memory ) , 例如至少一个磁盘存储器。 发射端 306用 于发射同步信号。 接收端 307 用于接收第二终端设备发射的唤醒信 号。  The device for transmitting a synchronization signal is provided by the embodiment of the present invention, the second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal, and transmits the synchronization signal, and the second terminal device receives the synchronization signal transmitted by the first terminal device, And synchronized with the first terminal device. Compared with the prior art, the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage. Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Accuracy; Moreover, it is also possible to enable the terminal devices in different cells in the network coverage to perform synchronous communication; at the same time, the interference that may occur when the terminal devices are not synchronized is also avoided, and the receiving performance of the terminal device is improved. The embodiment of the present invention provides a terminal device 300, as shown in FIG. 5, including: at least one processor 301, such as a CPU, at least one communication bus 302, a memory 303, at least one network interface 304 or a user interface 305, and a transmitting end 306 and receiving end 307. Communication bus 302 is used to implement connection communication between these components. Optionally, the user interface 305 includes a display, a keyboard, a mouse, a touch screen, and the like. Memory 303 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory. Transmitter 306 is used to transmit a synchronization signal. The receiving end 307 is configured to receive the wake-up signal transmitted by the second terminal device.
具体的, 存储器 303 可以用于存储第二终端设备发射的唤醒信 号和第一终端设备发射的同步信号。  Specifically, the memory 303 can be used to store the wake-up signal transmitted by the second terminal device and the synchronization signal transmitted by the first terminal device.
进一步的, 存储器 303还可以用于存储唤醒信号携带的组 ID和 第一终端设备的组 ID ; 还可以存储唤醒信号中包括的同步优先级信 息和第一终端设备的待发射同步信号的优先级; 还可以存储产生的 随机数和预设条件。 Further, the memory 303 may be further configured to store the group ID carried by the wake-up signal and the group ID of the first terminal device; and may also store the synchronization priority information included in the wake-up signal and the priority of the synchronization signal to be transmitted of the first terminal device. ; can also store generated Random numbers and preset conditions.
具体的, 处理器 301 可以用于控制接收端 307接收第二终端设 备发射的唤醒信号, 所述唤醒信号用于触发终端设备发射同步信号; 以及, 用于控制发射端 306发射所述同步信号。  Specifically, the processor 301 can be configured to control the receiving end 307 to receive the wake-up signal sent by the second terminal device, where the wake-up signal is used to trigger the terminal device to transmit the synchronization signal, and to control the transmitting end 306 to transmit the synchronization signal.
进一步的, 处理器 301 还可以用于控制接收端 307在既定时间 接收所述第二终端设备发射的所述唤醒信号。  Further, the processor 301 is further configured to control the receiving end 307 to receive the wake-up signal sent by the second terminal device at a predetermined time.
进一步的, 既定时间为预先设定的时刻集合或时间段集合。  Further, the predetermined time is a preset time set or a time period set.
可选的, 唤醒信号携带组 ID 信息; 所述唤醒信号携带的组 ID 与所述第一终端设备的组 ID相同。  Optionally, the wakeup signal carries the group ID information; the group ID carried by the wakeup signal is the same as the group ID of the first terminal device.
可选的, 唤醒信号包括同步优先级信息, 处理器 301 还可以用 于当所述第一终端设备的待发射同步信号的优先级高于所述唤醒信 号的同步优先级时, 控制发射端 306发射所述待发射同步信号。  Optionally, the wakeup signal includes the synchronization priority information, and the processor 301 is further configured to: when the priority of the synchronization signal to be transmitted of the first terminal device is higher than the synchronization priority of the wakeup signal, control the transmitting end 306. Transmitting the synchronization signal to be transmitted.
进一步的, 处理器 301 还可以用于产生随机数; 以及, 用于判 断所述随机数是否满足预设条件; 以及, 用于当所述随机数满足所 述预设条件时, 所述第一终端设备发射所述待发射同步信号。  Further, the processor 301 may be further configured to generate a random number; and, configured to determine whether the random number satisfies a preset condition; and, to be used, when the random number satisfies the preset condition, the first The terminal device transmits the synchronization signal to be transmitted.
本发明实施例提供的一种终端设备, 第二终端设备能够发射唤 醒信号, 第一终端设备接收唤醒信号, 并发射同步信号, 第二终端 设备接收第一终端设备发射的同步信号, 并与第一终端设备进行同 步。 与现有技术相比, 本方案在第一终端设备和第二终端设备之间 利用唤醒信号和同步信号, 使得第二终端设备能够同步于第一终端 设备, 即使在部分网络覆盖的工作场景中, 网络覆盖范围内、 外的 用户也可以釆用网络的同步参考进行通信, 减小了网络覆盖范围内、 外的用户之间联系的难度, 并降低了网络覆盖边界的干扰, 增强了 同步的精度; 并且, 也能够使网络覆盖范围内的不同小区中的终端 设备进行同步通信; 同时, 也避免了终端设备不同步时会出现的干 扰, 提高了终端设备的接收性能; 而且, 第一终端设备并不是一直 都处于接收唤醒信号的状态, 而是在既定时间接收唤醒信号, 也节 省了第一终端设备在接收信号上消耗的电能。 本发明实施例提供了一种终端设备 400 , 如图 6所示, 包括: 至 少一个处理器 401 , 例如 CPU , 至少一个通信总线 402 , 存储器 403 , 至少一个网络接口 404或者用户接口 405 ,发射端 406和接收端 407。 通信总线 402 用于实现这些组件之间的连接通信。 可选的, 用户接 口 405 包括显示器、 键盘、 鼠标、 触摸屏等设备。 存储器 403 可能 包含高速 RAM 存储器 , 也可能还 包括非 不稳定的存储器 ( non-volatile memory ) , 例如至少一个磁盘存储器。 发射端 406用 于发射唤醒信号。 接收端 407 用于接收第一终端设备发射的同步信 号。 A terminal device provided by the embodiment of the present invention, the second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal, and transmits a synchronization signal, and the second terminal device receives the synchronization signal transmitted by the first terminal device, and the A terminal device synchronizes. Compared with the prior art, the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage. Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Accuracy; and, also, enabling terminal devices in different cells in the network coverage to perform synchronous communication; at the same time, avoiding interference that may occur when the terminal device is out of synchronization, and improving reception performance of the terminal device; The device does not always receive the wake-up signal, but receives the wake-up signal at a given time, and also saves the power consumed by the first terminal device on the received signal. The embodiment of the present invention provides a terminal device 400, as shown in FIG. 6, including: at least one processor 401, such as a CPU, at least one communication bus 402, a memory 403, at least one network interface 404 or a user interface 405, and a transmitting end 406 and receiving end 407. Communication bus 402 is used to implement connection communication between these components. Optionally, the user interface 405 includes a display, a keyboard, a mouse, a touch screen, and the like. The memory 403 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory. Transmitter 406 is used to transmit a wake-up signal. The receiving end 407 is configured to receive a synchronization signal transmitted by the first terminal device.
具体的, 存储器 403可以用于存储唤醒信号和接收的同步信号; 还可以用于存储唤醒信号携带的组 ID信息; 还可以用于存储唤醒信 号包括的同步优先级信息。  Specifically, the memory 403 can be used to store the wake-up signal and the received synchronization signal; and can also be used to store the group ID information carried by the wake-up signal; and can also be used to store the synchronization priority information included in the wake-up signal.
具体的,处理器 401可以用于所述第二终端设备控制发射端 406 发射唤醒信号, 所述唤醒信号用于触发终端设备发射同步信号; 以 及, 用于控制接收端 407接收所述第一终端设备发射的同步信号, 并与所述第一终端设备进行同步。  Specifically, the processor 401 may be configured to: the second terminal device controls the transmitting end 406 to send a wake-up signal, where the wake-up signal is used to trigger the terminal device to transmit the synchronization signal; and, to control the receiving end 407 to receive the first terminal. A synchronization signal transmitted by the device and synchronized with the first terminal device.
可选的, 第二终端设备无网络连接。  Optionally, the second terminal device has no network connection.
可选的, 唤醒信号携带组 ID信息, 唤醒信号携带的组 ID与第 一终端设备的组 ID相同。  Optionally, the wake-up signal carries the group ID information, and the wake-up signal carries the same group ID as the first terminal device.
可选的, 唤醒信号包括同步优先级信息。  Optionally, the wake-up signal includes synchronization priority information.
本发明实施例提供的一种终端设备, 第二终端设备能够发射唤 醒信号, 第一终端设备接收唤醒信号, 并发射同步信号, 第二终端 设备接收第一终端设备发射的同步信号, 并与第一终端设备进行同 步。 与现有技术相比, 本方案在第一终端设备和第二终端设备之间 利用唤醒信号和同步信号, 使得第二终端设备能够同步于第一终端 设备, 即使在部分网络覆盖的工作场景中, 网络覆盖范围内、 外的 用户也可以釆用网络的同步参考进行通信, 减小了网络覆盖范围内、 外的用户之间联系的难度, 并降低了网络覆盖边界的干扰, 增强了 同步的精度; 并且, 也能够使网络覆盖范围内的不同小区中的终端 设备进行同步通信; 同时, 也避免了终端设备不同步时会出现的干 扰, 提高了终端设备的接收性能; 而且, 第一终端设备并不是一直 都处于接收唤醒信号的状态, 而是在既定时间接收唤醒信号, 也节 省了第一终端设备在接收信号上消耗的电能。 本发明实施例提供了一种发射同步信号的方法, 用于第一终端 设备, 第一终端设备为网络覆盖内的终端设备, 如图 7所示, 包括:A terminal device provided by the embodiment of the present invention, the second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal, and transmits a synchronization signal, and the second terminal device receives the synchronization signal transmitted by the first terminal device, and the A terminal device synchronizes. Compared with the prior art, the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage. Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Accuracy; and, also, enables terminals in different cells within the network coverage The device performs synchronous communication. At the same time, the interference that occurs when the terminal device is out of synchronization is avoided, and the receiving performance of the terminal device is improved. Moreover, the first terminal device is not always in the state of receiving the wake-up signal, but at a predetermined time. Receiving the wake-up signal also saves the power consumed by the first terminal device on the received signal. The embodiment of the invention provides a method for transmitting a synchronization signal, which is used for a first terminal device, and the first terminal device is a terminal device in a network coverage. As shown in FIG. 7, the method includes:
501 , 所述第一终端设备接收第二终端设备发射的唤醒信号。 其中, 唤醒信号用于触发终端设备发射同步信号。 唤醒信号可 以是同步信号, 也可以是自定义信号。 当第一终端设备接收第二终 端设备发射的唤醒信号时, 第一终端设备就可以得知第二终端设备 的存在, 从而进行后续的流程。 501. The first terminal device receives a wake-up signal sent by the second terminal device. The wake-up signal is used to trigger the terminal device to transmit a synchronization signal. The wake-up signal can be either a sync signal or a custom signal. When the first terminal device receives the wake-up signal transmitted by the second terminal device, the first terminal device can learn the existence of the second terminal device, thereby performing a subsequent process.
502 , 所述第一终端设备发射同步信号。  502. The first terminal device transmits a synchronization signal.
其中, 同步信号可以使得通信的两个终端设备得到共同的同步 参考, 从而使得通信的两个终端设备进行同步。  Wherein, the synchronization signal can cause the two terminal devices of the communication to obtain a common synchronization reference, so that the two terminal devices of the communication synchronize.
本发明实施例提供的一种发射同步信号的方法, 第二终端设备 能够发射唤醒信号, 第一终端设备接收唤醒信号, 并发射同步信号, 第二终端设备接收第一终端设备发射的同步信号, 并与第一终端设 备进行同步。 与现有技术相比, 本方案在第一终端设备和第二终端 设备之间利用唤醒信号和同步信号, 使得第二终端设备能够同步于 第一终端设备, 即使在部分网络覆盖的工作场景中, 网络覆盖范围 内、 外的用户也可以釆用网络的同步参考进行通信, 减小了网络覆 盖范围内、 外的用户之间联系的难度, 并降低了网络覆盖边界的干 扰, 增强了同步的精度; 并且, 也能够使网络覆盖范围内的不同小 区中的终端设备进行同步通信; 同时, 也避免了终端设备不同步时 会出现的干扰, 提高了终端设备的接收性能。 进一步的, 在图 7 所示的方案的基础上, 本发明实施例还提供 了一种信息发射方法的具体方案, 其中, 唤醒信号包括同步优先级 信息, 对图 7 所示的 501 和 502 的执行过程进行进一步细化, 501 可以具体实现为 501 1 , 502可以具体实现为 5021 , 如图 8所示, 包 括: A method for transmitting a synchronization signal is provided by the embodiment of the present invention, the second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal, and transmits the synchronization signal, and the second terminal device receives the synchronization signal transmitted by the first terminal device, And synchronized with the first terminal device. Compared with the prior art, the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage. Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Accuracy; Moreover, it is also possible to enable the terminal devices in different cells in the network coverage to perform synchronous communication; at the same time, the interference that may occur when the terminal devices are not synchronized is also avoided, and the receiving performance of the terminal device is improved. Further, on the basis of the solution shown in FIG. 7, the embodiment of the present invention further provides a specific solution of the information transmission method, where the wake-up signal includes a synchronization priority. For the information, the execution process of 501 and 502 shown in FIG. 7 is further refined. 501 can be implemented as 501 1 , and 502 can be implemented as 5021 . As shown in FIG. 8 , the method includes:
501 1 , 所述第一终端设备在既定时间接收所述第二终端设备发 射的所述唤醒信号。  501: The first terminal device receives the wake-up signal sent by the second terminal device at a predetermined time.
进一步的, 既定时间为预先设定的时刻集合或时间段集合, 也 就是说, 既定时间可以是通信系统预设的时刻集合或时间段集合, 也可以是在 D2D—个通信组内公知的时刻集合或时间段集合。例如: 通信系统预设第一终端设备接收唤醒信号的持续时间可以是第二终 端发送唤醒信号的 N倍周期, N是正整数, 比如 N倍周期为 1秒钟, 预设时间段集合是 {0 , 100 , 1000 } , 则第一终端设备从时刻 0开始, 持续 1 秒尝试接收唤醒信号, 1 秒后停止接收唤醒信号; 从预设时 间段集合中的下一个时刻 100开始, 持续 1秒尝试接收唤醒信号, 1 秒后停止接收唤醒信号, 依此类推。  Further, the predetermined time is a preset time set or a time period set, that is, the predetermined time may be a preset time set or a time period set of the communication system, or may be a time known in the D2D communication group. Collection or time period collection. For example, the communication system presets that the duration of receiving the wake-up signal by the first terminal device may be N times of the wake-up signal sent by the second terminal, where N is a positive integer, for example, the N-time period is 1 second, and the preset time period set is {0. , 100 , 1000 } , the first terminal device starts from time 0 and continues to receive the wake-up signal for 1 second, and stops receiving the wake-up signal after 1 second; starts from the next time 100 in the preset time period set, and continues for 1 second. Receive wake-up signal, stop receiving wake-up signal after 1 second, and so on.
需要说明的是, 第二终端设备发射的唤醒信号是一个持续的过 程, 第一终端设备在既定时间接收第二终端设备发射的唤醒信号时, 并不会发生遗漏唤醒信号的情况。  It should be noted that the wake-up signal transmitted by the second terminal device is a continuous process, and when the first terminal device receives the wake-up signal transmitted by the second terminal device at a predetermined time, the wake-up signal does not occur.
5021 , 当所述第一终端设备的待发射同步信号的优先级高于所 述唤醒信号的同步优先级时, 所述第一终端设备发射所述待发射同 步信号。  The first terminal device transmits the synchronization signal to be transmitted when the priority of the synchronization signal to be transmitted of the first terminal device is higher than the synchronization priority of the wake-up signal.
其中, 唤醒信号包括同步优先级信息。 当第一终端设备的待发 射同步信号的优先级高于唤醒信号的同步优先级时, 第一终端设备 发射待发射同步信号。  The wake-up signal includes synchronization priority information. When the priority of the to-be-transmitted synchronization signal of the first terminal device is higher than the synchronization priority of the wake-up signal, the first terminal device transmits the synchronization signal to be transmitted.
其中, 若第一终端设备的待发射同步信号的优先级低于唤醒信 号的同步优先级时, 第一终端设备不需要发射待发射同步信号。  The first terminal device does not need to transmit the synchronization signal to be transmitted if the priority of the synchronization signal to be transmitted of the first terminal device is lower than the synchronization priority of the wake-up signal.
本发明实施例提供的一种发射同步信号的方法, 第二终端设备 能够发射唤醒信号, 第一终端设备在既定时间接收唤醒信号, 并发 射同步信号, 第二终端设备接收第一终端设备发射的同步信号, 根 据待发射同步信号和唤醒信号的优先级, 决定是否发射待发射同步 信号, 并与第一终端设备进行同步。 与现有技术相比, 本方案在第 一终端设备和第二终端设备之间利用唤醒信号和同步信号, 使得第 二终端设备能够同步于第一终端设备, 即使在部分网络覆盖的工作 场景中, 网络覆盖范围内、 外的用户也可以釆用网络的同步参考进 行通信, 减小了网络覆盖范围内、 外的用户之间联系的难度, 并降 低了网络覆盖边界的干扰, 增强了同步的精度; 并且, 也能够使网 络覆盖范围内的不同小区中的终端设备进行同步通信; 同时, 也避 免了终端设备不同步时会出现的干扰, 提高了终端设备的接收性能; 而且, 第一终端设备并不是一直都处于接收唤醒信号的状态, 而是 在既定时间接收唤醒信号, 也节省了第一终端设备在接收信号上消 耗的电能。 此外, 在图 8 所示的方案的基础上, 本发明实施例还提供了一 种发射同步信号的方法的具体方案, 可以增加 503 和 504 , 同时对 502 的执行过程进行进一步细化, 502 还可以具体细化为 5022 , 如 图 9所示, 包括: A method for transmitting a synchronization signal is provided by the embodiment of the present invention. The second terminal device can transmit a wake-up signal, the first terminal device receives the wake-up signal at a predetermined time, and transmits a synchronization signal, and the second terminal device receives the first terminal device and transmits the synchronization signal. The synchronization signal determines whether to transmit the synchronization to be transmitted according to the priority of the synchronization signal to be transmitted and the wake-up signal Signal and synchronize with the first terminal device. Compared with the prior art, the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage. Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Accuracy; and, also, enabling terminal devices in different cells in the network coverage to perform synchronous communication; at the same time, avoiding interference that may occur when the terminal device is out of synchronization, and improving reception performance of the terminal device; The device does not always receive the wake-up signal, but receives the wake-up signal at a given time, and also saves the power consumed by the first terminal device on the received signal. In addition, on the basis of the solution shown in FIG. 8, the embodiment of the present invention further provides a specific method for transmitting a synchronization signal, which can add 503 and 504, and further refine the execution process of 502, and further Can be specifically refined to 5022, as shown in Figure 9, including:
503 , 所述第一终端设备产生随机数。  503. The first terminal device generates a random number.
其中, 随机数用于判断第一终端设备是否发射待发射同步信号, 随机数的范围可以由用户设定。 例如: 设定随机数为 0或 1。  The random number is used to determine whether the first terminal device transmits a synchronization signal to be transmitted, and the range of the random number can be set by the user. For example: Set the random number to 0 or 1.
504 , 判断所述随机数是否满足预设条件。  504. Determine whether the random number meets a preset condition.
其中, 预设条件也可以由用户设定, 比如: 可能产生的随机数 为 0或 1 , 设定预设条件为随机数为 1 , 当产生的随机数为 1 时, 即 随机数满足预设条件。  The preset condition can also be set by the user. For example, the random number that may be generated is 0 or 1. The preset condition is set to 1 for the random number. When the generated random number is 1, the random number satisfies the preset. condition.
5022 , 当所述随机数满足所述预设条件时, 所述第一终端设备 发射所述待发射同步信号。  5022. When the random number satisfies the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
其中, 例如: 在 504 的例子中, 当产生的随机数为 1 时, 即随 机数满足预设条件时, 第一终端设备发射待发射同步信号。  For example, in the example of 504, when the generated random number is 1, that is, when the random number satisfies the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
可选的, 唤醒信号可以携带组 ID 信息, 唤醒信号携带的组 ID 与第一终端设备的组 ID相同。 其中, 携带组 ID信息的唤醒信号可 以携带一个专用来表示组 ID信息的字段; 或者, 若唤醒信号是一个 序列, 可以利用序列的长度、 序列的序号或序列的位置等与组 ID的 对应关系, 来携带组 ID信息。 比如: 唤醒信号是序号为 N的序列, 序列的序号 N对应的组 ID为 1 , 则唤醒信号携带的组 ID为 1。 Optionally, the wakeup signal may carry the group ID information, and the wakeup signal carries the same group ID as the first terminal device. Wherein, the wake-up signal carrying the group ID information may be To carry a field dedicated to the group ID information; or, if the wake-up signal is a sequence, the group ID information may be carried by using the correspondence between the length of the sequence, the sequence number of the sequence, or the position of the sequence and the group ID. For example, the wake-up signal is a sequence of sequence number N, and the group ID corresponding to the sequence number N of the sequence is 1, and the group ID carried by the wake-up signal is 1.
本发明实施例提供的一种发射同步信号的方法, 第二终端设备 能够发射唤醒信号, 第一终端设备接收唤醒信号, 并利用第一终端 设备产生的随机数, 决定是否发射同步信号, 第二终端设备接收第 一终端设备发射的同步信号, 并与第一终端设备进行同步。 与现有 技术相比, 本方案在第一终端设备和第二终端设备之间利用唤醒信 号和同步信号, 使得第二终端设备能够同步于第一终端设备, 即使 在部分网络覆盖的工作场景中, 网络覆盖范围内、 外的用户也可以 釆用网络的同步参考进行通信, 减小了网络覆盖范围内、 外的用户 之间联系的难度, 并降低了网络覆盖边界的干扰, 增强了同步的精 度; 并且, 也能够使网络覆盖范围内的不同小区中的终端设备进行 同步通信; 同时, 也避免了终端设备不同步时会出现的干扰, 提高 了终端设备的接收性能。 本发明实施例提供了一种发射同步信号的方法, 用于第二终端 设备, 如图 10所示, 包括:  A method for transmitting a synchronization signal is provided by an embodiment of the present invention. The second terminal device can transmit a wake-up signal, and the first terminal device receives the wake-up signal, and uses the random number generated by the first terminal device to determine whether to transmit the synchronization signal, and second. The terminal device receives the synchronization signal transmitted by the first terminal device and synchronizes with the first terminal device. Compared with the prior art, the solution utilizes a wake-up signal and a synchronization signal between the first terminal device and the second terminal device, so that the second terminal device can synchronize with the first terminal device, even in a working scenario of partial network coverage. Users inside and outside the network coverage can also use the synchronization reference of the network to communicate, which reduces the difficulty of the connection between users inside and outside the network coverage, and reduces the interference of the network coverage boundary, and enhances the synchronization. Accuracy; Moreover, it is also possible to enable the terminal devices in different cells in the network coverage to perform synchronous communication; at the same time, the interference that may occur when the terminal devices are not synchronized is also avoided, and the receiving performance of the terminal device is improved. An embodiment of the present invention provides a method for transmitting a synchronization signal, which is used in a second terminal device, as shown in FIG. 10, and includes:
601 , 所述第二终端设备发射唤醒信号。  601. The second terminal device sends a wake-up signal.
其中, 唤醒信号用于触发终端设备发射同步信号。  The wake-up signal is used to trigger the terminal device to transmit a synchronization signal.
需要说明的是, 当终端设备都处于网络覆盖内, 但是处于非同 步的不同小区时, 若一个小区中存在正在发射通信信号的终端设备, 这一个小区的邻小区中的终端设备想要与正在发射通信信号的终端 设备进行 D2D通信, 则邻小区中的终端设备需要在通信时刻同步于 正在发射通信信号的终端设备, 所以, 邻小区中的终端设备需要获 取正在发射通信信号的终端设备所在的小区的同步参考, 即正在发 射通信信号的终端设备所在的小区的基站发射的同步信号, 但在这 种情况下, 也存在邻小区中的终端设备无法正确接收不同小区的基 站发射的同步信号的可能性。 所以, 可以由邻小区中的终端设备发 射唤醒信号, 触发正在发射通信信号的终端设备所在小区的终端设 备发射同步信号。 其中, 第二终端设备可以是邻小区中的终端设备, 第一终端设备可以是正在发射通信信号的终端设备所在小区中的终 端设备。 It should be noted that when the terminal devices are all in the network coverage but are in different non-synchronized cells, if there is a terminal device that is transmitting a communication signal in one cell, the terminal device in the neighboring cell of the cell wants to be The terminal device transmitting the communication signal performs D2D communication, and the terminal device in the neighboring cell needs to synchronize with the terminal device that is transmitting the communication signal at the communication time. Therefore, the terminal device in the neighboring cell needs to acquire the terminal device where the communication signal is being transmitted. The synchronization reference of the cell, that is, the synchronization signal transmitted by the base station of the cell where the terminal device that is transmitting the communication signal is located, but in this case, the terminal device in the neighboring cell cannot correctly receive the base of the different cell. The possibility of a synchronization signal transmitted by the station. Therefore, the wake-up signal may be transmitted by the terminal device in the neighboring cell, and the terminal device of the cell where the terminal device that is transmitting the communication signal is triggered to transmit the synchronization signal. The second terminal device may be a terminal device in a neighboring cell, and the first terminal device may be a terminal device in a cell where the terminal device that is transmitting the communication signal is located.
可选的, 第二终端设备无网络连接, 即第二终端设备处于网络 覆盖范围外时, 以广播的方式发射唤醒信号, 比如: 第二终端设备 由于突发事件, 与原来连接的网络断开, 此时, 第二终端设备发射 唤醒信号。 再比如: 第二终端设备一直处于无网络连接状态, 此时 第二终端设备发射唤醒信号。  Optionally, the second terminal device has no network connection, that is, when the second terminal device is outside the network coverage, the wake-up signal is sent in a broadcast manner, for example, the second terminal device is disconnected from the originally connected network due to an emergency event. At this time, the second terminal device transmits a wake-up signal. For another example: the second terminal device is always in a no-network connection state, and the second terminal device transmits a wake-up signal.
602 , 接收所述第一终端设备发射的同步信号, 并与所述第一终 端设备进行同步。  602. Receive a synchronization signal sent by the first terminal device, and synchronize with the first terminal device.
其中, 第二终端设备以广播的方式发射唤醒信号, 周围可能会 有多个终端设备都接收到了第二终端设备发射的唤醒信号, 接收到 唤醒信号的终端设备都有可能会发射同步信号, 当第二终端设备接 收到多于一个的同步信号时, 选择与优先级最高的终端设备进行同 步。  The second terminal device transmits a wake-up signal in a broadcast manner, and a plurality of terminal devices may receive a wake-up signal transmitted by the second terminal device, and the terminal device that receives the wake-up signal may transmit a synchronization signal. When the second terminal device receives more than one synchronization signal, it selects to synchronize with the terminal device with the highest priority.
可选的, 唤醒信号可以携带组 ID 信息, 唤醒信号携带的组 ID 与第一终端设备的组 ID相同。 比如: 在时刻 tl , 第一终端设备与第 二终端设备在同一网络覆盖范围内, 同属一个组, 第一终端设备与 第二终端设备的组 ID相同; 在时刻 t l 之后的时刻 t2 , 第二终端设 备脱离网络, 在第二终端设备发射的唤醒信号中携带组 ID信息, 且 唤醒信号携带的组 ID与第一终端设备的组 ID相同。  Optionally, the wakeup signal may carry the group ID information, and the wakeup signal carries the same group ID as the first terminal device. For example, at time t1, the first terminal device and the second terminal device are in the same network coverage, belong to the same group, and the first terminal device and the second terminal device have the same group ID; at time t2 after the time t1, the second The terminal device is out of the network, and the group ID information is carried in the wake-up signal transmitted by the second terminal device, and the group ID carried by the wake-up signal is the same as the group ID of the first terminal device.
可选的, 唤醒信号包括同步优先级信息, 优先级低的终端设备 会同步到优先级高的终端设备上。  Optionally, the wake-up signal includes synchronization priority information, and the terminal device with low priority is synchronized to the terminal device with high priority.
本发明实施例提供的一种发射同步信号的方法, 第二终端设备 能够发射唤醒信号, 第一终端设备接收唤醒信号, 并发射同步信号, 第二终端设备接收第一终端设备发射的同步信号, 并与第一终端设 备进行同步。 与现有技术相比, 本方案在第一终端设备和第二终端 设备之间利用唤醒信号和同步信号, 使得第二终端设备能够同步于 第一终端设备, 即使在部分网络覆盖的工作场景中, 网络覆盖范围 内、 外的用户也可以釆用网络的同步参考进行通信, 减小了网络覆 盖范围内、 外的用户之间联系的难度, 并降低了网络覆盖边界的干 扰, 增强了同步的精度; 并且, 也能够使网络覆盖范围内的不同小 区中的终端设备进行同步通信; 同时, 也避免了终端设备不同步时 会出现的干扰, 提高了终端设备的接收性能。 本说明书中的各个实施例均釆用递进的方式描述, 各个实施例 之间相同相似的部分互相参见即可, 每个实施例重点说明的都是与 其他实施例的不同之处。 尤其, 对于设备实施例而言, 由于其基本 相似于方法实施例, 所以描述得比较简单, 相关之处参见方法实施 例的部分说明即可。 A method for transmitting a synchronization signal is provided by the embodiment of the present invention, the second terminal device is capable of transmitting a wake-up signal, the first terminal device receives the wake-up signal, and transmits the synchronization signal, and the second terminal device receives the synchronization signal transmitted by the first terminal device, And synchronized with the first terminal device. Compared with the prior art, the solution is in the first terminal device and the second terminal. The wake-up signal and the synchronization signal are used between the devices, so that the second terminal device can synchronize with the first terminal device. Even in a working scenario of partial network coverage, users in and out of the network coverage can use the synchronization reference of the network. Communication, which reduces the difficulty of the connection between users inside and outside the network coverage, reduces the interference of the network coverage boundary, enhances the accuracy of synchronization, and enables terminal devices in different cells within the network coverage. Synchronous communication is performed; at the same time, interference that occurs when the terminal device is out of synchronization is also avoided, and the receiving performance of the terminal device is improved. The various embodiments in the present specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
本领域普通技术人员可以理解实现上述实施例方法中的全部或 部分流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述 的程序可存储于一计算机可读取存储介质中, 该程序在执行时, 可 包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁 碟、 光盘、 只读存储记忆体 ( Read-Only Memory , ROM ) 或随机存 储记忆体 ( Random Access Memory , RAM ) 等。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技 术范围内, 可轻易想到的变化或替换, 都应涵盖在本发明的保护范 围之内。 因此, 本发明的保护范围应该以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any change or replacement that can be easily conceived by those skilled in the art within the technical scope of the present invention is All should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权 利 要 求 书 claims
1、 一种发射同步信号的装置, 其特征在于, 用于第一终端设备, 所述第一终端设备为网络覆盖内的终端设备, 所述装置包括: 1. A device for transmitting synchronization signals, characterized in that it is used for a first terminal device, and the first terminal device is a terminal device within network coverage. The device includes:
接收模块, 用于所述第一终端设备接收第二终端设备发射的唤醒 信号, 所述唤醒信号用于触发终端设备发射同步信号; A receiving module, configured for the first terminal device to receive a wake-up signal transmitted by the second terminal device, where the wake-up signal is used to trigger the terminal device to transmit a synchronization signal;
发射模块, 用于所述第一终端设备发射所述同步信号。 A transmitting module, configured for the first terminal device to transmit the synchronization signal.
2、 根据权利要求 1所述的装置, 其特征在于, 所述接收模块, 包 括: 2. The device according to claim 1, characterized in that the receiving module includes:
接收单元, 用于所述第一终端设备在既定时间接收所述第二终端 设备发射的所述唤醒信号。 A receiving unit, configured for the first terminal device to receive the wake-up signal transmitted by the second terminal device at a predetermined time.
3、 根据权利要求 2所述的装置, 其特征在于, 所述既定时间为预 先设定的时刻集合或时间段集合。 3. The device according to claim 2, characterized in that the predetermined time is a preset time set or a time period set.
4、 根据权利要求 1 -3中任意一项所述的装置, 其特征在于, 所述 唤醒信号携带组 ID信息; 所述唤醒信号携带的组 ID与所述第一终端设 备的组 ID相同。 4. The device according to any one of claims 1 to 3, wherein the wake-up signal carries group ID information; the group ID carried by the wake-up signal is the same as the group ID of the first terminal device.
5、 根据权利要求 1 -3中任意一项所述的装置, 其特征在于, 所述 唤醒信号包括同步优先级信息; 所述发射模块, 包括: 5. The device according to any one of claims 1 to 3, characterized in that the wake-up signal includes synchronization priority information; the transmitting module includes:
第一发射单元, 用于当所述第一终端设备的待发射同步信号的优 先级高于所述唤醒信号的同步优先级时, 所述第一终端设备发射所述 待发射同步信号。 The first transmitting unit is configured to transmit the synchronization signal to be transmitted by the first terminal device when the priority of the synchronization signal to be transmitted by the first terminal device is higher than the synchronization priority of the wake-up signal.
6、 根据权利要求 1 -5中任意一项所述的装置, 其特征在于, 所述 装置还包括: 6. The device according to any one of claims 1 to 5, characterized in that the device further includes:
随机数模块, 用于所述第一终端设备产生随机数; A random number module, used for the first terminal device to generate random numbers;
判断模块, 判断所述随机数是否满足预设条件; A judgment module to judge whether the random number meets the preset conditions;
所述发射模块, 包括: The transmitting module includes:
第二发射单元, 用于当所述随机数满足所述预设条件时, 所述第 一终端设备发射所述待发射同步信号。 The second transmitting unit is configured to transmit the synchronization signal to be transmitted to the first terminal device when the random number meets the preset condition.
7、 一种发射同步信号的装置, 其特征在于, 用于第二终端设备, 所述装置包括: 发射模块, 用于所述第二终端设备发射唤醒信号, 所述唤醒信号 用于触发终端设备发射同步信号; 7. A device for transmitting synchronization signals, characterized in that it is used for second terminal equipment, and the device includes: A transmitting module, configured for the second terminal device to transmit a wake-up signal, and the wake-up signal is used to trigger the terminal device to transmit a synchronization signal;
接收模块, 用于接收所述第一终端设备发射的同步信号, 并与所 述第一终端设备进行同步。 A receiving module, configured to receive the synchronization signal transmitted by the first terminal device and synchronize with the first terminal device.
8、 根据权利要求 7所述的装置, 其特征在于, 所述第二终端设备 无网络连接。 8. The device according to claim 7, characterized in that the second terminal device has no network connection.
9、 根据权利要求 7或 8所述的装置, 其特征在于, 所述唤醒信号携 带组 ID信息; 所述唤醒信号携带的组 ID与所述第一终端设备的组 ID 相同。 9. The device according to claim 7 or 8, wherein the wake-up signal carries group ID information; the group ID carried by the wake-up signal is the same as the group ID of the first terminal device.
10、 根据权利要求 7或 8所述的装置, 其特征在于, 所述唤醒信号 包括同步优先级信息。 10. The device according to claim 7 or 8, characterized in that the wake-up signal includes synchronization priority information.
1 1、 一种发射同步信号的方法, 其特征在于, 用于第一终端设备, 所述第一终端设备为网络覆盖内的终端设备, 所述方法包括: 1 1. A method of transmitting synchronization signals, characterized in that it is used for a first terminal device, and the first terminal device is a terminal device within network coverage. The method includes:
所述第一终端设备接收第二终端设备发射的唤醒信号, 所述唤醒 信号用于触发终端设备发射同步信号; The first terminal device receives a wake-up signal transmitted by the second terminal device, and the wake-up signal is used to trigger the terminal device to transmit a synchronization signal;
所述第一终端设备发射所述同步信号。 The first terminal device transmits the synchronization signal.
12、 根据权利要求 1 1所述的方法, 其特征在于, 所述第一终端设 备接收第二终端设备发射的唤醒信号, 包括: 12. The method according to claim 11, characterized in that the first terminal device receives the wake-up signal transmitted by the second terminal device, including:
所述第一终端设备在既定时间接收所述第二终端设备发射的所述 唤醒信号。 The first terminal device receives the wake-up signal transmitted by the second terminal device at a predetermined time.
13、 根据权利要求 12所述的方法, 其特征在于, 所述既定时间为 预先设定的时刻集合或时间段集合。 13. The method according to claim 12, characterized in that the predetermined time is a preset time set or a time period set.
14、 根据权利要求 11 - 13中任意一项所述的方法, 其特征在于, 所 述唤醒信号携带组 ID信息; 所述唤醒信号携带的组 ID与所述第一终端 设备的组 ID相同。 14. The method according to any one of claims 11 to 13, characterized in that the wake-up signal carries group ID information; the group ID carried by the wake-up signal is the same as the group ID of the first terminal device.
15、 根据权利要求 11 - 13中任意一项所述的方法, 其特征在于, 所 述唤醒信号包括同步优先级信息; 所述第一终端设备发射同步信号, 包括: 当所述第一终端设备的待发射同步信号的优先级高于所述唤醒信 号的同步优先级时, 所述第一终端设备发射所述待发射同步信号。 15. The method according to any one of claims 11 to 13, characterized in that the wake-up signal includes synchronization priority information; the first terminal device transmits a synchronization signal, including: When the priority of the synchronization signal to be transmitted by the first terminal device is higher than the synchronization priority of the wake-up signal, the first terminal device transmits the synchronization signal to be transmitted.
16、 根据权利要求 11 - 15中任意一项所述的方法, 其特征在于, 在 所述第一终端设备发射所述待发射同步信号之前, 包括: 16. The method according to any one of claims 11 to 15, characterized in that, before the first terminal device transmits the synchronization signal to be transmitted, it includes:
所述第一终端设备产生随机数; The first terminal device generates random numbers;
判断所述随机数是否满足预设条件; Determine whether the random number meets the preset conditions;
所述第一终端设备发射所述待发射同步信号, 包括: The first terminal device transmits the synchronization signal to be transmitted, including:
当所述随机数满足所述预设条件时, 所述第一终端设备发射所述 待发射同步信号。 When the random number meets the preset condition, the first terminal device transmits the synchronization signal to be transmitted.
17、 一种发射同步信号的方法, 其特征在于, 用于第二终端设备, 所述方法包括: 17. A method of transmitting a synchronization signal, characterized in that it is used for a second terminal device, and the method includes:
所述第二终端设备发射唤醒信号, 所述唤醒信号用于触发终端设 备发射同步信号; The second terminal device transmits a wake-up signal, and the wake-up signal is used to trigger the terminal device to transmit a synchronization signal;
接收所述第一终端设备发射的同步信号, 并与所述第一终端设备 进行同步。 Receive the synchronization signal transmitted by the first terminal device, and synchronize with the first terminal device.
18、 根据权利要求 17所述的方法, 其特征在于, 所述第二终端设 备无网络连接。 18. The method according to claim 17, characterized in that the second terminal device has no network connection.
19、 根据权利要求 17或 18所述的方法, 其特征在于, 所述唤醒信 号携带组 ID信息, 所述唤醒信号携带的组 ID与所述第一终端设备的组 ID相同。 19. The method according to claim 17 or 18, characterized in that the wake-up signal carries group ID information, and the group ID carried by the wake-up signal is the same as the group ID of the first terminal device.
20、 根据权利要求 17或 18所述的方法, 其特征在于, 所述唤醒 信号包括同步优先级信息。 20. The method according to claim 17 or 18, characterized in that the wake-up signal includes synchronization priority information.
PCT/CN2014/071363 2014-01-24 2014-01-24 Method and device for transmitting synchronisation signal WO2015109524A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/071363 WO2015109524A1 (en) 2014-01-24 2014-01-24 Method and device for transmitting synchronisation signal
CN201480000634.5A CN105379375A (en) 2014-01-24 2014-01-24 Method and device for transmitting synchronisation signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/071363 WO2015109524A1 (en) 2014-01-24 2014-01-24 Method and device for transmitting synchronisation signal

Publications (1)

Publication Number Publication Date
WO2015109524A1 true WO2015109524A1 (en) 2015-07-30

Family

ID=53680631

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071363 WO2015109524A1 (en) 2014-01-24 2014-01-24 Method and device for transmitting synchronisation signal

Country Status (2)

Country Link
CN (1) CN105379375A (en)
WO (1) WO2015109524A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110167107A (en) * 2018-02-12 2019-08-23 维沃移动通信有限公司 Information transferring method, the network equipment and terminal

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102424043B1 (en) * 2017-05-04 2022-07-22 소니그룹주식회사 Communication apparatus and methods for transmitting a wake up signal comprising synchronization signaling
CN113365325B (en) * 2021-05-18 2023-07-04 南京大鱼半导体有限公司 Data transmission method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102783211A (en) * 2010-03-05 2012-11-14 诺基亚公司 Handover of direct peer to peer communication
CN103108389A (en) * 2011-11-15 2013-05-15 中兴通讯股份有限公司 Communication method and communication system from device to device and user devices
WO2013083197A1 (en) * 2011-12-08 2013-06-13 Nokia Siemens Networks Oy Network synchronisation of devices in a d2d cluster
CN103200634A (en) * 2012-01-05 2013-07-10 华为技术有限公司 Method and device of inter-cell switching

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101541106B (en) * 2008-03-17 2012-04-18 中兴通讯股份有限公司 Relay method in wireless communication system
US20120163278A1 (en) * 2010-12-24 2012-06-28 Electronics And Telecommunications Research Institute Method for performing direct communication between terminals

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102783211A (en) * 2010-03-05 2012-11-14 诺基亚公司 Handover of direct peer to peer communication
CN103108389A (en) * 2011-11-15 2013-05-15 中兴通讯股份有限公司 Communication method and communication system from device to device and user devices
WO2013083197A1 (en) * 2011-12-08 2013-06-13 Nokia Siemens Networks Oy Network synchronisation of devices in a d2d cluster
CN103200634A (en) * 2012-01-05 2013-07-10 华为技术有限公司 Method and device of inter-cell switching

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110167107A (en) * 2018-02-12 2019-08-23 维沃移动通信有限公司 Information transferring method, the network equipment and terminal
CN110167107B (en) * 2018-02-12 2020-10-20 维沃移动通信有限公司 Information transmission method, network equipment and terminal

Also Published As

Publication number Publication date
CN105379375A (en) 2016-03-02

Similar Documents

Publication Publication Date Title
US10841865B2 (en) Method and apparatus for transmitting D2D discovery signal and communication system
EP4333556A3 (en) Dual-connectivity establishment method and device
JP2015023472A5 (en)
WO2013174154A1 (en) Terminal device discovery method, device and system
CN103428895B (en) Communication establishing method based on transfer mode, mobile station and transferring equipment
WO2014106498A1 (en) Preamble sequence transmission method, device and system
KR20160079089A (en) Method and apparatus for transmitting d2d signals
JP2019504533A5 (en)
WO2017166313A1 (en) Unlicensed spectrum-based paging method and associated equipment
CN104703164B (en) It is a kind of obtain synchronous reference method, send synchronizing information method and apparatus
WO2016019864A1 (en) Device-to-device communications data reception method, sending method, and device
WO2020119214A1 (en) Synchronization method and device, network element, and computer storage medium
WO2014180426A1 (en) Transmission method for device-to-device discovery signal and user equipment
WO2018170920A1 (en) Signal processing method and apparatus
CN107027166B (en) A kind of sending method, device and the node of the synchronizing information of node
WO2015106654A1 (en) Method for sending and detecting synchronisation information, and user device
WO2015109524A1 (en) Method and device for transmitting synchronisation signal
WO2015043357A1 (en) Ue device and method
WO2014012259A1 (en) Method, base station and system for achieving time division duplex configuration of auxiliary cell
WO2015196998A1 (en) Method and device for signal sending and detecting
WO2015042955A1 (en) Synchronization method and apparatus
WO2018170701A1 (en) System information transmission method, base station and terminal
WO2016119161A1 (en) Channel sending method, and receiving method and device
WO2022148339A1 (en) Synchronization state processing method, and device and storage medium
CN110493764A (en) Bluetooth devices method, apparatus, bluetooth equipment and storage medium

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: 14879958

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: 14879958

Country of ref document: EP

Kind code of ref document: A1