WO2016082223A1 - 一种获取d2d传输距离的方法及设备 - Google Patents

一种获取d2d传输距离的方法及设备 Download PDF

Info

Publication number
WO2016082223A1
WO2016082223A1 PCT/CN2014/092584 CN2014092584W WO2016082223A1 WO 2016082223 A1 WO2016082223 A1 WO 2016082223A1 CN 2014092584 W CN2014092584 W CN 2014092584W WO 2016082223 A1 WO2016082223 A1 WO 2016082223A1
Authority
WO
WIPO (PCT)
Prior art keywords
transmit power
power information
data
distance
information
Prior art date
Application number
PCT/CN2014/092584
Other languages
English (en)
French (fr)
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 EP14907003.9A priority Critical patent/EP3232692A4/en
Priority to AU2014412483A priority patent/AU2014412483B2/en
Priority to PCT/CN2014/092584 priority patent/WO2016082223A1/zh
Priority to CN201480036507.0A priority patent/CN105830466A/zh
Publication of WO2016082223A1 publication Critical patent/WO2016082223A1/zh
Priority to US15/608,272 priority patent/US10560946B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0473Wireless resource allocation based on the type of the allocated resource the resource being transmission power
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/02Systems for determining distance or velocity not using reflection or reradiation using radio waves
    • G01S11/06Systems for determining distance or velocity not using reflection or reradiation using radio waves using intensity measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/10Interfaces between hierarchically different network devices between terminal device and access point, i.e. wireless air interface

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and device for acquiring a D2D transmission distance.
  • Device-to-Device (D2D) communication technology is a technology for direct communication between devices and devices. Unlike cellular communication technology, data of transmitting devices does not need to be transmitted to and received through the base station. The device transmits directly through the air interface of the transmitting device and the receiving device, thereby reducing the delay of the base station forwarding.
  • Typical application scenarios of D2D communication technology are public security scenarios, such as communication between fire alarm team members; typical services of D2D communication technology are voice services.
  • the device often needs to know the distance of the device with which it communicates. For example, in a public safety scenario, the fire needs to know the distance to other fires.
  • the ad receiving user needs to know the distance from the ad publishing user.
  • the method for acquiring the D2D transmission distance is: the receiving device receives the information sent by the transmitting device, detects the received power of the information, and then estimates the distance from the transmitting device to the receiving device according to the received power.
  • the above method for obtaining the D2D transmission distance in the prior art only the influence of the D2D transmission distance on the received power is considered, and then the distance from the transmitting device to the receiving device is calculated by the received power without considering the influence of other factors on the received power; The distance between the device and the device obtained by the method is not accurate.
  • Embodiments of the present invention provide a method and device for acquiring a D2D transmission distance, which are used to make the distance between the acquired device and the device more accurate.
  • a first device where the first device includes:
  • a processing unit configured to acquire transmit power information, where the transmit power information is used to indicate a transmit power used by the first device to send data to the second device;
  • a sending unit configured to send the transmit power information acquired by the processing unit to the second device, so that the second device acquires a distance between the second device and the first device, where the second device The distance between the devices is obtained according to the received power and the transmit power when the second device receives the data.
  • the sending unit is specifically configured to carry, in the data, the transmit power information to the second device.
  • the data is media access control MAC layer communication data
  • the transmit power information is included in a control unit of the MAC layer communication data.
  • the sending unit is specifically configured to send the transmit power information in physical layer control information of the data.
  • the first device and the second device are terminals.
  • a second device where the second device includes:
  • a receiving unit configured to receive transmit power information sent by the first device, where the transmit power information is used to indicate a transmit power used by the first device to send data to the second device;
  • a processing unit configured to acquire received power information, where the received power information is used to indicate a received power when the second device receives data sent by the first device;
  • the processing unit further acquires a distance between the second device and the first device, where a distance between the second device and the first device is according to a received power and the receiving by the receiving unit The transmit power is obtained.
  • the processing unit calculates a distance between the second device and the first device according to the received power and the transmit power.
  • the second device further includes: a sending unit, where the sending unit is configured to send the transmit power information and the received power information to a third device;
  • the processing unit is configured to acquire the third device that is received by the receiving unit The distance between the second device and the first device.
  • the receiving unit is specifically configured to receive the transmit power carried in the data. information.
  • the data is MAC layer communication data
  • the transmit power information is included in a control unit of the MAC layer communication data.
  • the receiving unit is specifically configured to be used in a physical layer of data sent by the first device.
  • the transmission power information is obtained in the control information.
  • the first device and the second device are terminals.
  • a third device where the third device includes:
  • a receiving unit configured to receive, by the second device, transmit power information and receive power information, where the transmit power information is used to indicate a transmit power used by the first device to send data to the second device, where the received power information is used by Receiving power when the second device is instructed to receive data sent by the first device;
  • a processing unit configured to calculate a distance between the second device and the first device according to the transmit power and the received power received by the receiving unit;
  • a sending unit configured to send, by the processing unit, a distance between the second device and the first device to the second device.
  • the first device and the second device are terminals, and the third device is a base station or a core network element.
  • the core network element is a short-range service function entity.
  • a method for obtaining a D2D transmission distance is provided, characterized in that
  • the first device acquires transmit power information, where the transmit power information is used to indicate a transmit power used by the first device to send data to the second device;
  • the sending, by the first device, the transmit power information to the second device includes:
  • the first device carries the transmit power information to the second device in the data.
  • the data is media access control MAC layer communication data
  • the transmit power information is included in a control unit of the MAC layer communication data.
  • the sending, by the first device, the transmit power information to the second device includes:
  • the first device sends the transmit power information in physical layer control information of the data.
  • the first device and the second device are terminals.
  • a method for obtaining a D2D transmission distance including:
  • the second device receives the transmit power information sent by the first device, where the transmit power information is used to indicate a transmit power used by the first device to send data to the second device;
  • the second device acquires the received power information, where the received power information is used to indicate the received power when the second device receives the data sent by the first device;
  • the second device acquires a distance between the second device and the first device, where a distance between the second device and the first device is obtained according to the received power and the transmit power.
  • the acquiring, by the second device, the distance between the second device and the first device includes:
  • the second device calculates a distance between the second device and the first device according to the received power and the transmit power.
  • the method further includes:
  • the obtaining, by the second device, the distance between the second device and the first device includes: receiving, by the second device, a distance between the second device and the first device that is sent by the third device.
  • the receiving, by the second device, the transmit power information sent by the first device includes:
  • the second device receives the transmit power information carried in the data.
  • the data is MAC layer communication data
  • the transmit power information is included in a control unit of the MAC layer communication data.
  • the receiving, by the second device, the transmit power information sent by the first device includes:
  • the second device acquires the transmit power information in physical layer control information of data sent by the first device.
  • the first device and the second device are terminals.
  • a method for obtaining a D2D transmission distance including:
  • the third device receives the transmit power information and the received power information that are sent by the second device, where the transmit power information is used to indicate a transmit power used when the first device sends data to the second device, where the received power information is used to indicate Receiving power when the second device receives data sent by the first device;
  • the third device calculates a distance between the second device and the first device according to the transmit power and the received power
  • the third device sends a distance between the second device and the first device to the second device.
  • the first device and the second device are terminals, and the third device is a base station or a core network element.
  • the core network element is a short-range service function entity.
  • the method and device for acquiring a D2D transmission distance provided by the embodiment of the present invention, the first device first acquires the transmit power information, and then sends the transmit power information to the second device, where the second device receives the transmit power information indicating the transmit power and obtains the receive information.
  • the data sent by the first device is used to indicate the received power information of the received power, and finally the second device obtains the distance between the second device and the first device acquired according to the received power and the transmit power, compared with the prior art only by the prior art.
  • the receiving power estimates the distance between the devices.
  • the embodiment of the present invention further considers the impact of the transmit power of the first device on the received power. Therefore, the embodiment of the present invention can make the distance between the second device and the first device acquired by the second device more accurate.
  • FIG. 1 is a schematic structural diagram of a wireless communication system according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a first device according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a second device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a wireless communication system according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a second device according to another embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a third device according to an embodiment of the present disclosure.
  • FIG. 7 is a flowchart of a method for acquiring a D2D transmission distance according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for acquiring a D2D transmission distance according to another embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for acquiring a D2D transmission distance according to another embodiment of the present invention.
  • FIG. 10 is a flowchart of a method for acquiring a D2D transmission distance according to still another embodiment of the present invention.
  • FIG. 11 is a flowchart of a method for acquiring a D2D transmission distance according to another embodiment of the present invention.
  • FIG. 12 is a flowchart of a method for acquiring a D2D transmission distance according to another embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a first device according to another embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of a second device according to another embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of a third device according to another embodiment of the present invention.
  • the first device and the second device in the embodiment of the present invention are usually terminals, for example, may be a cellular phone, a cordless phone, a SIP (Session Initiation Protocol) phone, a WLL (Wireless Local Loop) Station, PDA (Personal Digital Assistant), handheld device with wireless communication capabilities, in-vehicle device, wearable device, computing device, or other processing device connected to a wireless modem.
  • a cellular phone for example, may be a cellular phone, a cordless phone, a SIP (Session Initiation Protocol) phone, a WLL (Wireless Local Loop) Station, PDA (Personal Digital Assistant), handheld device with wireless communication capabilities, in-vehicle device, wearable device, computing device, or other processing device connected to a wireless modem.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • the third device in the embodiment of the present invention may be a base station or other access device, for example, may refer to a device in the access network that communicates with the wireless terminal through one or more sectors on the air interface.
  • the base station can be used to convert the received air frame and the network interconnection protocol (English: Internet Protocol, IP for short) into a router between the wireless terminal and the rest of the access network, where the access is performed.
  • the rest of the network may include an IP protocol network.
  • the base station can also coordinate attribute management of the air interface.
  • the base station may be a base station in GSM (English: Global System for Mobile Communication) or CDMA (Code Division Multiple Access) (English: Base Transceiver) Station, referred to as BTS), may also be a base station in WCDMA (Wideband CDMA, Wideband Code Division Multiple Access) (abbreviated as: NodeB), or an evolved base station in LTE (English: evolutional Node B: NodeB or eNB) Or e-NodeB), which is not limited in the embodiment of the present invention.
  • GSM Global System for Mobile Communication
  • CDMA Code Division Multiple Access
  • BTS Base Transceiver Station
  • WCDMA Wideband CDMA, Wideband Code Division Multiple Access
  • NodeB Wideband Code Division Multiple Access
  • LTE Evolutional Node B: NodeB or eNB
  • e-NodeB evolved base station in LTE
  • an embodiment of the present invention is applied to a wireless communication system including at least one first device D1 and at least one second device D2, wherein the first device D1 and the second device D2 can communicate by using a D2D method;
  • the first device D1 and the second device D2 are terminals.
  • the first device D1 is used as a terminal for transmitting data
  • the second device D2 is used as a terminal for receiving data for explanation.
  • An embodiment of the present invention provides a first device D1, which may be D1 in the wireless communication system shown in FIG. 1.
  • the first device D1 includes: a processing unit 210 and a sending unit 220, where The processing unit 210 can be a processor, and the sending unit 220 can be a transmitter;
  • the processing unit 210 is configured to acquire transmit power information, where the transmit power information is used to indicate a transmit power used by the first device D1 to send data to the second device D2.
  • the sending unit 220 is configured to send the transmit power information acquired by the processing unit to the second device D2, so that the second device D2 acquires a distance between the second device D2 and the first device D1, where The distance between the second device D2 and the first device D1 is obtained according to the received power and the transmission power when the second device D2 receives the data.
  • the processing unit of the first device first acquires the transmit power information, and then the sending unit sends the transmit power information acquired by the processing unit to the second device, so that the second device acquires the second device and the first device.
  • the embodiment of the present invention further considers the impact of the transmit power of the first device on the received power, as compared with the distance between the received power estimation devices in the prior art. The distance between the second device and the first device is more accurate.
  • the sending unit 220 is specifically configured to carry, in the data, the transmit power information to the second device.
  • the data is Media Access Control (MAC) layer communication data
  • the transmission power information is included in the control unit of the MAC layer communication data.
  • the transmitting unit 220 may configure the transmission power information in a packet header of a data packet of communication data, and then transmit the communication data to D2.
  • the transmitting unit 220 may also configure the transmission power information in a dedicated control unit of the data packet of the communication data, and then send it to D2.
  • the sending unit 220 is specifically configured to send the transmit power information in physical layer control information of the data. Specifically, the sending unit 220 sends the transmit power information to the D2 in a physical layer channel or dedicated control signaling, for example, transmitting the transmit power information in a physical layer synchronization channel or other control channel.
  • the transmit power may be expressed as a power value used when transmitting data, such as 20 dBm, and may of course be other decibel milliwatts or decibel millivolts power value; or the transmit power may also be expressed as transmitting the data.
  • the target distance such as 100 meters or a range of distance thresholds indicating distances, distances, and distances.
  • An embodiment of the present invention provides a second device D2, which may be D2 in the wireless communication system shown in FIG. 1.
  • the second device D2 includes: a receiving unit 310 and a processing unit 320, where The processing unit 320 can be a processor, and the sending unit 310 can be a transmitter;
  • the receiving unit 310 is configured to receive the transmit power information sent by the first device D1, where the transmit power information is used to indicate the transmit power used by the first device D1 to send data to the second device D2;
  • the processing unit 320 is configured to acquire the received power information, where the received power information is used to indicate the received power when the second device receives the data sent by the first device;
  • the processing unit 320 is further configured to acquire a distance between the second device D2 and the first device D1, where a distance between the second device D2 and the first device D1 is according to the received power and the The transmit power received by the receiving unit 310 is obtained.
  • the receiving unit of the second device first receives the transmit power information sent by the first device, and then the processing unit acquires the second device according to the received power and the transmit power received by the receiving unit.
  • the embodiment of the present invention further considers the influence of the transmit power of the first device on the received power, as compared with the distance between the first devices and the received power estimation device. The distance between the second device acquired by the second device and the first device is more accurate.
  • the receiving unit 310 is specifically configured to receive the transmit power information carried in the data.
  • the data is MAC layer communication data
  • the transmission power information is included in a control unit of the MAC layer communication data.
  • the transmit power information can be carried in the header of the data packet.
  • the transmit power information is carried in a dedicated control unit of the data packet of the data.
  • the receiving unit 310 is specifically configured to acquire the transmit power information in physical layer control information of data sent by the first device. Specifically, the receiving unit 310 acquires transmit power information in a physical layer channel or dedicated control signaling, for example, acquiring transmit power information in a physical layer synchronization channel or other control channels.
  • the transmit power may be expressed as a power value used when transmitting data, such as 20 dBm, and may of course be other decibel milliwatts or decibel millivolts power values; or the transmit power may also be expressed as a target for transmitting data.
  • Distance such as 100 meters or a distance range indicating distance, medium, and near distance.
  • the processing unit 320 calculates a distance between the second device D2 and the first device D1 according to the received power and the transmit power.
  • the power difference can be obtained by subtracting the received power from the transmit power, and the power difference is divided by the power loss in a unit distance to obtain a distance between D2 and D1, or the processing unit 320 is used.
  • the distance between D2 and D1 is calculated according to the received power and the transmission power by a preset formula set in advance.
  • an embodiment of the present invention should include a wireless communication system of at least one first device D1, at least one second device D2, and at least one third device D3 (where D3 in FIG. 4 is shown by an eNB).
  • the first device D2 and the second device D2 are terminals
  • the third device D3 is a base station or a core network element
  • the specific core network element is a short-distance service function entity.
  • ProSe Function Proximity-based Service Function
  • the first device D1 and the second device D2 can communicate by using a D2D method; in the following embodiment, the first device D1 is used as a terminal for transmitting data, and the second device is used.
  • D2 is used as a terminal for receiving data
  • the third device D3 is a base station eNB that can communicate with the first device D1 and the second device D2.
  • the first device D1 in the wireless communication system shown in FIG. 4 has the same function as the first device D1 in the wireless communication system shown in FIG. 1 in the foregoing embodiment. To avoid redundancy, the first device D1 is not re-executed. Detailed description.
  • the embodiment of the present invention provides a second device D2, which may be D2 in the wireless communication system shown in FIG. 4.
  • the second device D2 includes: a receiving unit 310 and a processing unit 320, where The processing unit 320 can be a processor, and the sending unit 310 can be a transmitter;
  • the receiving unit 310 is configured to receive the transmit power information sent by the first device D1, where the transmit power information is used to indicate the transmit power used by the first device D1 to send data to the second device D2;
  • the processing unit 320 is configured to acquire the received power information, where the received power information is used to indicate the received power when the second device receives the data sent by the first device;
  • the processing unit 320 is further configured to acquire a distance between the second device D2 and the first device D1, where a distance between the second device D2 and the first device D1 is according to the received power and the The transmit power received by the receiving unit 310 is obtained.
  • the second device D2 further includes: a sending unit 330, where the sending unit 330 can be a transmitter; the sending unit 330 is configured to use the sending power information and the received power information Send to the third device;
  • the processing unit 320 is configured to acquire a distance between the second device and the first device that is sent by the third device that is received by the receiving unit 310.
  • the third device D3 includes a receiving unit 410, a processing unit 420, and a sending unit 430.
  • the receiving unit 410 can be a receiver and a processing unit 420.
  • the processor and the transmitting unit 430 can be a transmitter;
  • the receiving unit 410 is configured to receive, by the second device, transmit power information and receive power information, where the transmit power information is used to indicate a transmit power used by the first device D1 to send data to the second device D2, where the receiving The power information is used to indicate the received power when the second device D2 receives the data sent by the first device D1;
  • the processing unit 420 is configured to calculate a distance between the second device D2 and the first device D1 according to the transmit power and the received power received by the receiving unit 410;
  • the sending unit 430 is configured to send, by the processing unit 420, a distance between the second device D2 and the first device D1 to the second device D2.
  • the first device D1 and the second device D2 are terminals, and the third device is a base station or a core network element. Further, the core network element is a close-range service function entity.
  • the third device receives the transmit power information and the received power information sent by the second device, and then acquires the distance between the second device and the first device according to the received received power and the transmit power. Transmitting the distance between the second device and the first device to the second device, the embodiment of the present invention further considers the transmit power pair of the first device compared to the distance between the received power estimation device and the prior art. The impact of the power is received, so the embodiment of the present invention can make the distance between the second device and the first device acquired by the second device more accurate.
  • Embodiments of the present invention are applied to a wireless communication system (such as the wireless communication system shown in FIG. 1) including at least one first device D1 and at least one second device D2, wherein the first device D1 and the second device D2 can pass
  • the D2D mode performs communication; in the following embodiment, the first device D1 is used as a terminal for transmitting data, and the second device D2 is used as a terminal for receiving data for explanation.
  • the embodiment of the present invention provides a method for acquiring a D2D transmission distance.
  • the first device D1 is configured to perform the following steps:
  • the first device acquires transmit power information, where the transmit power information is used to indicate a transmit power used by the first device to send data to the second device.
  • the first device sends the transmit power information to the second device, so that the second device acquires a second obtained according to the received power and the transmit power when the second device receives the data.
  • the distance between the device and the first device is the distance between the device and the first device.
  • An embodiment of the present invention provides a method for acquiring a D2D transmission distance.
  • the second device D2 is configured to perform the following steps:
  • the second device receives the transmit power information sent by the first device, where The transmit power information is used to indicate a transmit power used by the first device to transmit data to the second device.
  • the second device acquires received power information, where the received power information is used to indicate a received power when the second device receives data sent by the first device.
  • the second device acquires a distance between the second device and the first device, where a distance between the second device and the first device is obtained according to the received power and the transmit power.
  • the first device first acquires the transmit power information, and then sends the transmit power information to the second device, where the second device receives the transmit power information indicating the transmit power and obtains the data sent by the first device for indicating Receive power information of the received power, and finally the second device acquires the distance between the second device and the first device acquired according to the received power and the transmit power, compared to the distance between the received power estimation device and the prior art.
  • the embodiment further considers the impact of the transmit power of the first device on the received power. Therefore, the embodiment of the present invention can make the distance between the second device and the first device acquired by the second device more accurate.
  • the embodiment of the present invention provides a method for acquiring a D2D transmission distance.
  • the method includes the following steps:
  • D1 acquires transmit power information, where the transmit power information is used to indicate a transmit power used when D1 sends data to D2.
  • the foregoing step S902 is specifically: D1 carries the transmitting power information to the D2 in the data.
  • the data is Media Access Control (MAC) layer communication data, where the transmit power information is included in a control unit of the MAC layer communication data, or the transmit power.
  • Information is included in the header of the media access control layer communication packet.
  • the D1 may configure the transmission power information in a header of a data packet of communication data, and then transmit the communication data to D2.
  • D1 may also configure the transmission power information in a dedicated control unit of the data packet of the communication data, and then the communication data is sent to D2.
  • D2 receives the transmit power information sent by D1, where: D2 receives the transmit power carried in the data.
  • the information specifically, D2 receives the data sent by D1; D2 acquires the transmit power information in the data.
  • D2 acquires the transmit power information in a control unit of the media access control layer communication data.
  • step S902 D1 sends the transmit power information in physical layer control information of the data, and D1 may send transmit power information to D2 in a physical layer channel or dedicated control signaling, for example, to transmit Power information is sent in the physical layer synchronization channel or other control channel.
  • D1 starts transmitting data to the D2.
  • the D2 receiving the transmit power information sent by the D1 includes: D2 acquiring the transmit power information in the physical layer control information of the data sent by the D1.
  • the transmit power may be expressed as a power value used when transmitting data, such as 20 dBm, and may of course be other decibel milliwatts or decibel millivolts power value; or the transmit power may also be expressed as a target distance of the transmitted data. Such as 100 meters or a distance threshold range indicating distance, medium and near distance.
  • D2 acquires received power information, where the received power information is used to indicate the received power when the D2 receives the data sent by the D1.
  • step S903 the method for obtaining the received power information by D2 is specifically: D2 receives the data transmitted by D1, and detects the received power of the received data while receiving the data, thereby obtaining the received power.
  • the D2 obtains a distance between the D2 and the D1, where a distance between the D2 and the D1 is obtained according to the received power and the transmit power.
  • the distance between D2 and D1 may be obtained by D2: calculating a distance between the second device D2 and the first device D1 according to the received power and the transmit power.
  • the power difference can be obtained by subtracting the received power from the transmit power, and the power difference is divided by the power loss within a unit distance to obtain a distance between D2 and D1, or according to the received power.
  • the transmission power calculates the distance between D2 and D1 by a preset preset formula.
  • the first device first acquires the transmit power information, and then sends the transmit power information to the second device, where the second device receives the transmit power information indicating the transmit power. Obtaining the received power information for indicating the received power when receiving the data sent by the first device, and finally obtaining the distance between the second device and the first device obtained according to the received power and the transmit power, compared with the prior art.
  • the embodiment of the present invention further considers the impact of the transmit power of the first device on the received power, and the embodiment of the present invention may enable the second device to acquire the second device and the first device. The distance is more accurate.
  • Embodiments of the present invention are applied to a wireless communication system including at least one first device D1, at least one second device D2, and at least one third device D3 (eg, the eNB shown in FIG. 5), optionally, the The device and the second device are terminals, and the third device is a base station or a core network element, and the specific network element of the core network is a close-range service function entity (English: Proximity-based Service Function, abbreviation: ProSe Function), wherein the first device D1 and the second device D2 can communicate in a D2D manner; in the following embodiments, the first device D1 is used as a terminal for transmitting data, and the second device D2 is used as a terminal for receiving data,
  • the three devices D3 are described as base stations eNB that can communicate with the first device D1 and the second device D2.
  • the function of the first device D1 is the same as that of the foregoing embodiment. Still referring to FIG. 7, the first device D1 is configured to perform the following steps:
  • the first device acquires transmit power information, where the transmit power information is used to indicate a transmit power used by the first device to send data to the second device.
  • the first device sends the transmit power information to the second device, so that the second device acquires a second obtained according to the received power and the transmit power when the second device receives the data.
  • the distance between the device and the first device is the distance between the device and the first device.
  • the second device D2 is configured to perform the following steps:
  • the second device receives the transmit power information sent by the first device, where the transmit power information is used to indicate a transmit power used by the first device to send data to the second device.
  • the second device acquires received power information, where the received power information is used to indicate a received power when the second device receives data sent by the first device.
  • the second device sends the transmit power information and the received power information. Send to the third device.
  • the second device receives a distance between the second device and the first device that is sent by the third device.
  • the third device D3 is configured to perform the following steps:
  • the third device receives the transmit power information and the received power information that are sent by the second device.
  • the transmit power information is used to indicate a transmit power used by the first device to send data to the second device, where the received power information is used.
  • the receiving power when the second device is instructed to receive data sent by the first device.
  • the third device calculates a distance between the second device and the first device according to the transmit power and the received power.
  • the third device sends a distance between the second device and the first device to the second device.
  • the first device first acquires the transmit power information, and sends the transmit power information to the second device, where the second device receives the transmit power information indicating the transmit power and acquires the data sent by the first device to indicate the received power.
  • Receiving the power information, and then the second device sends the received power information and the transmit power information to the third device, where the third device acquires the second device and the first device according to the received power corresponding to the received power information and the transmit power corresponding to the transmit power information.
  • the distance and the distance between the second device and the first device are sent to the second device.
  • the embodiment of the present invention further considers the transmit power of the first device compared to the distance between the received power estimation device and the prior art.
  • the embodiment of the present invention can make the distance between the second device and the first device acquired by the second device more accurate.
  • the second device directly receives the second device and the second device. The distance between the device and the first device, without having to calculate the received power and transmit power by itself. The distance between the device and the first device, the second device may reduce power consumption.
  • the embodiment of the present invention provides a method for acquiring a D2D transmission distance.
  • the method includes the following steps:
  • D1 acquires transmit power information, where the transmit power information is used to indicate a transmit power used when D1 sends data to D2.
  • the foregoing step S122 is specifically: D1 carries the transmitting power information to the D2 in the data.
  • the data is Media Access Control (MAC) layer communication data, where the transmit power information is included in a control unit of the MAC layer communication data, or the transmitting The power information is included in the header of the media access control layer communication packet.
  • the D1 may configure the transmission power information in a header of a data packet of communication data, and then transmit the communication data to D2.
  • D1 may also configure the transmission power information in a dedicated control unit of the data packet of the communication data, and then the communication data is sent to D2.
  • the D2 receiving the transmit power information sent by the D1 includes: D2 receiving the transmit power information carried in the data, where the specific D2 receives the data sent by D1; and D acquires the transmit power information in the data.
  • D2 acquires the transmit power information in a control unit of the media access control layer communication data.
  • step S122 D1 sends the transmit power information in physical layer control information of the data, and D1 may send the transmit power information to D2 in a physical layer channel or dedicated control signaling, for example, to transmit. Power information is sent in the physical layer synchronization channel or other control channel.
  • the D2 receiving the transmit power information sent by the D1 includes: D2 acquiring the transmit power information in the physical layer control information of the data sent by the D1.
  • the transmit power may be expressed as a power value used when transmitting the data, such as 20 dBm, and may of course be other decibel milliwatts or decibel millivolts power value; or the transmit power may also be expressed as a target for transmitting data.
  • Distance such as 100 meters or a distance range indicating distance, medium, and near distance.
  • D2 acquires received power information, where the received power information is used to indicate the received power when the D2 receives the data sent by the D1.
  • step S123 the method for obtaining the received power information by D2 is specifically as follows: D2 receives the data transmitted by D1, and detects the received power of the received data while receiving the data, thereby obtaining the received power.
  • the D2 sends the transmit power information and the received power information to an eNB.
  • the transmit power information is used to indicate the transmit power used when D1 sends data to D2, and the received power information is used to indicate the received power when the D2 receives the data sent by the D1.
  • the eNB calculates a distance between the D2 and the D1 according to the transmit power and the received power.
  • step S125 the calculation manner in step S125 is: obtaining the power difference by subtracting the received power from the transmit power, and dividing the power difference by the power loss within a unit distance to obtain a distance between D2 and D1.
  • the distance between D2 and D1 is calculated according to the preset power and the transmit power by a preset formula set in advance.
  • the eNB sends the distance between the D2 and the D1 to the D2.
  • the first device first acquires the transmit power information, and sends the transmit power information to the second device, where the second device receives the transmit power information indicating the transmit power and acquires the data sent by the first device to indicate the received power.
  • Receiving the power information, and then the second device sends the received power information and the transmit power information to the third device, where the third device acquires the second device and the first device according to the received power corresponding to the received power information and the transmit power corresponding to the transmit power information.
  • the distance and the distance between the second device and the first device are sent to the second device.
  • the embodiment of the present invention further considers the transmit power of the first device compared to the distance between the received power estimation device and the prior art.
  • the embodiment of the present invention can make the distance between the second device and the first device acquired by the second device more accurate.
  • the second device directly receives the second device and the second device. The distance between the device and the first device, without having to calculate the received power and transmit power by itself. The distance between the device and the first device, the second device may reduce power consumption.
  • the first device 130 includes a transmitter 131, a memory 132, a processor 133, and a bus 134.
  • the transmitter 131, the memory 132, and the processor 133 are connected to each other through the bus 134, and the memory 132 is configured to store data processed by the processor 133;
  • the bus 134 can be an industry standard architecture (English: Industry Standard Architecture, ISA for short) bus, external device interconnection (English: Peripheral Component, abbreviated as PCI) bus or extended industry standard architecture (English: Extended Industry Standard Architecture, EISA for short) bus, etc., is not limited herein.
  • the bus 134 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 13, but it does not mean that there is only one bus or one type of bus.
  • the memory 132 is configured to store data or executable program code, where the program code includes a computer operation instruction, which may be specifically an operating system, an application, or the like.
  • the memory 132 may include a high-speed random access memory (English: Random-Access Memory, RAM for short), and may also include non-volatile memory (English: non-volatile memory), such as at least one disk storage.
  • the processor 133 may be a central processing unit (English: Central Processing Unit, abbreviated as CPU), or an application specific integrated circuit (ASIC), or configured to implement the embodiments of the present invention.
  • CPU Central Processing Unit
  • ASIC application specific integrated circuit
  • the processor 133 is configured to implement the method performed by the processing unit in the embodiment of the first device by executing the program code in the memory 132, and the transmitter 131 is configured to execute the method performed by the sending unit in the embodiment of the first device.
  • the processor 133 is configured to acquire transmit power information, where the transmit power information is used to indicate a transmit power used by the first device to send data to the second device;
  • the transmitter 131 is configured to send the transmit power information acquired by the processor 133 to the second device, so that the second device acquires a distance between the second device and the first device, where the The distance between the second device and the first device is obtained according to the received power and the transmit power when the second device receives the data.
  • the transmitter 131 is specifically configured to carry the transmit power information to the second device in the data.
  • the data is media access control MAC layer communication data
  • the transmit power information is included in a control unit of the MAC layer communication data.
  • the transmitter 131 is specifically configured to send the transmit power information in physical layer control information of the data.
  • the first device and the second device are terminals.
  • the processor of the first device first acquires the transmit power information, and then the transceiver Transmitting, by the sending device, the transmit power information to the second device, so that the second device acquires a distance between the second device and the first device, compared to a distance between the device and the received power estimating device in the prior art.
  • the embodiment of the present invention further considers the impact of the transmit power of the first device on the received power. Therefore, the embodiment of the present invention can make the distance between the second device and the first device acquired by the second device more accurate.
  • the second device 140 includes a receiver 141, a memory 142, a processor 143, and a bus 144.
  • the receiver 141, the memory 142, and the processor 143 are connected to each other through the bus 144, and the memory 142 is configured to store data processed by the processor 143;
  • the bus 144 can be an industry standard architecture (English: Industry Standard Architecture, ISA for short) bus, external device interconnection (English: Peripheral Component, PCI for short) bus or an extended industry standard architecture (English: Extended Industry Standard Architecture) , referred to as EISA) bus, etc., is not limited here.
  • the bus 144 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 14, but it does not mean that there is only one bus or one type of bus.
  • the memory 142 is configured to store data or executable program code, where the program code includes a calculator operation instruction, which may be specifically an operating system, an application, or the like.
  • the memory 142 may include a high-speed random access memory (English: Random-Access Memory, RAM for short), and may also include non-volatile memory (English: non-volatile memory), such as at least one disk storage.
  • the processor 143 may be a central processing unit (English: Central Processing Unit, abbreviated as CPU), or an application specific integrated circuit (ASIC), or configured to implement the embodiments of the present invention.
  • CPU Central Processing Unit
  • ASIC application specific integrated circuit
  • the processor 143 is configured to implement the method performed by the processing unit in the embodiment of the second device by executing the program code in the memory 142, and the receiver 141 is configured to execute the method performed by the receiving unit in the embodiment of the second device.
  • a receiver 141 configured to receive transmit power information sent by the first device, where the transmit The power information is used to indicate a transmit power used by the first device to send data to the second device;
  • the processor 143 is configured to acquire the received power information, where the received power information is used to indicate the received power when the second device receives the data sent by the first device;
  • the processor 143 is further configured to acquire a distance between the second device and the first device, where a distance between the second device and the first device is according to the received power and the receiving The transmit power received by the 141 is obtained.
  • the processor 143 is further configured to calculate a distance between the second device and the first device according to the received power and the transmit power.
  • the second device further includes a transmitter 145 connected to the bus 144, and the transmitter 145 is configured to perform the method performed by the sending unit in the embodiment of the second device;
  • the transmitter 145 is configured to send the transmit power information and the received power information to a third device;
  • the processor 143 is further configured to acquire a distance between the second device and the first device that is sent by the third device that is received by the receiver 141.
  • the receiver 141 is specifically configured to receive the transmit power information carried in the data.
  • the data is MAC layer communication data
  • the transmission power information is included in a control unit of the MAC layer communication data.
  • the receiver 141 is configured to obtain the transmit power information in physical layer control information of data sent by the first device.
  • the first device and the second device are terminals.
  • the second device receives the transmit power information sent by the first device, and then obtains the distance between the second device and the first device according to the received power and the transmit power, compared with the prior art.
  • the embodiment of the present invention further considers the impact of the transmit power of the first device on the received power, and the embodiment of the present invention may enable the second device to acquire the second device and the first device. The distance is more accurate.
  • the third device 150 includes: a receiver 151, a memory 152, a processor 153, a bus 154, and a transmitter 155.
  • the receiver 151, the memory 152, the processor 153, and the transmitter 155 are connected to each other through the bus 154, and the memory 152 is configured to store data processed by the processor 153;
  • the bus 154 can be an industry standard architecture (English: Industry Standard Architecture, ISA for short) bus, an external device interconnection (English: Peripheral Component, PCI for short) bus or an extended industry standard architecture (English: Extended Industry Standard Architecture) , referred to as EISA) bus, etc., is not limited here.
  • the bus 154 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 15, but it does not mean that there is only one bus or one type of bus.
  • the memory 152 is configured to store data or executable program code, where the program code includes a computer operation instruction, and may be specifically an operating system, an application, or the like.
  • the memory 152 may include a high-speed random access memory (English: Random-Access Memory, RAM for short), and may also include non-volatile memory (English: non-volatile memory), such as at least one disk storage.
  • the processor 153 may be a central processing unit (English: Central Processing Unit, abbreviated as CPU), or an application specific integrated circuit (ASIC), or configured to implement the embodiments of the present invention.
  • CPU Central Processing Unit
  • ASIC application specific integrated circuit
  • the processor 153 is configured to implement the method performed by the processing unit in the embodiment of the third device by executing the program code in the memory 152, and the receiver 151 is configured to execute the method performed by the receiving unit in the embodiment of the third device, the transmitter 145.
  • the receiver 151 is configured to receive, by the second device, transmit power information and receive power information, where the transmit power information is used to indicate a transmit power used by the first device to send data to the second device, where the receive power information is used. And a receiving power used to indicate that the second device receives data sent by the first device;
  • the processor 153 is configured to calculate a distance between the second device and the first device according to the transmit power and the received power received by the receiver 151;
  • the transmitter 155 is configured to use the second device acquired by the processor 153 and the first device The distance between the devices is sent to the second device.
  • the first device and the second device are terminals
  • the third device 150 is a base station or a core network element.
  • the core network element is a short-range service function entity.
  • the third device receives the transmit power information and the received power information sent by the second device, and then acquires the distance between the second device and the first device according to the received power and the transmit power, and then The distance between the second device and the first device is sent to the second device, and the embodiment of the present invention further considers the transmit power of the first device to receive, compared to the distance between the received power estimation device and the prior art. The impact of the power, so the embodiment of the present invention can make the distance between the second device acquired by the second device and the first device more accurate.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明的实施例提供一种获取D2D传输距离的方法及设备,涉及通信技术领域,该方法包括:第一设备获取发射功率信息,所述发射功率信息用于指示所述第一设备向第二设备发送数据时使用的发射功率;所述第一设备发送所述发射功率信息到所述第二设备,以便所述第二设备获取第二设备与第一设备间的距离,其中所述第二设备与第一设备间的距离为根据所述第二设备接收所述数据时的接收功率和所述发射功率得到。本发明实施例可以使获取的设备与设备间的距离更准确,本发明实施例用于无线通信。

Description

一种获取D2D传输距离的方法及设备 技术领域
本发明涉及通信技术领域,尤其涉及一种获取D2D传输距离的方法及设备。
背景技术
设备与设备(英文:Device-to-Device,简称:D2D)通信技术是一种设备与设备之间直接通信的技术;与蜂窝通信技术不同的是,发射设备的数据不需要通过基站传输至接收设备,而是直接通过发射设备和接收设备的空口进行传输,从而减少了基站转发的延时。D2D通信技术典型的应用场景是公共安全场景,如火警组员之间的通信;D2D通信技术典型的业务是语音业务。而在D2D通信过程中,设备往往需要知道与其通信的设备的距离。例如在公共安全场景中,火警需要知道与其他火警之间的距离。在广告发现场景中,广告接收用户需要知道与广告发布用户之间的距离。
现有技术中,获取D2D传输距离的方法为:接收设备接收发射设备发送的信息,并检测该信息的接收功率,然后根据接收功率估计发射设备到接收设备的距离。上述现有技术获取D2D传输距离的方法中,仅仅考虑了D2D传输距离对接收功率的影响,然后由接收功率计算发射设备到接收设备的距离,而没有考虑其他因素对接收功率的影响;所以上述方法获取的设备与设备间的距离不准确。
发明内容
本发明的实施例提供一种获取D2D传输距离的方法及设备,用于使获取的设备与设备间的距离更准确。
为达到上述目的,本发明的实施例采用如下技术方案:
第一方面,提供一种第一设备,所述第一设备包括:
处理单元,用于获取发射功率信息,所述发射功率信息用于指示所述第一设备向第二设备发送数据时使用的发射功率;
发送单元,用于发送所述处理单元获取的所述发射功率信息到所述第二设备,以便所述第二设备获取第二设备与第一设备间的距离,其中所述第二设备与第一设备间的距离为根据所述第二设备接收所述数据时的接收功率和所述发射功率得到。
结合第一方面,在第一种可能的实现方式中,所述发送单元具体用于携带在所述数据中发送所述发射功率信息到所述第二设备。
结合第一种可能的实现方式,在第二种可能的实现方式中,所述数据为媒体访问控制MAC层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中。
结合第一方面,在第三种可能的实现方式中,所述发送单元具体用于在所述数据的物理层控制信息中发送所述发射功率信息。
结合第一方面或第一方面任一种可能的实现方式,在第四种可能的实现方式中,所述第一设备和所述第二设备为终端。
第二方面,提供一种第二设备,所述第二设备包括:
接收单元,用于接收所述第一设备发送的发射功率信息,所述发射功率信息用于指示所述第一设备向所述第二设备发送数据时使用的发射功率;
处理单元,用于获取接收功率信息,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
所述处理单元还用获取所述第二设备与所述第一设备间的距离,其中所述第二设备与所述第一设备间的距离为根据接收功率和所述接收单元接收的所述发射功率得到。
结合第二方面,在第一种可能的实现方式中,所述处理单元根据所述接收功率和发射功率计算所述第二设备与所述第一设备间的距离。
结合第二方面,在第二种可能的实现方式中,所述第二设备还包括:发送单元,所述发送单元用于将所述发射功率信息和所述接收功率信息发送至第三设备;
所述处理单元,用于获取所述接收单元接收的所述第三设备发 送的所述第二设备与所述第一设备间的距离。
结合第二方面或第一种可能的实现方式或第二种可能的实现方式,在第三种可能的实现方式中,所述接收单元具体用于接收携带在所述数据中的所述发射功率信息。
结合第三种可能的实现方式,在第四种可能的实现方式中,所述数据为MAC层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中。
结合第二方面或第一种可能的实现方式或第二种可能的实现方式,在第五种可能的实现方式中,所述接收单元具体用于在所述第一设备发送的数据的物理层控制信息中获取所述发射功率信息。
结合第二方面或第二方面任一种可能的实现方式中,在第六种可能的实现方式中,所述第一设备和所述第二设备为终端。
第三方面,提供一种第三设备,所述第三设备包括:
接收单元,用于接收所述第二设备发送的发射功率信息和接收功率信息,所述发射功率信息用于指示第一设备向第二设备发送数据时使用的发射功率,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
处理单元,用于根据所述接收单元接收的所述发射功率和接收功率计算所述第二设备与所述第一设备间的距离;
发送单元,用于将所述处理单元计算的所述第二设备与所述第一设备间的距离发送至所述第二设备。
结合第三方面,在第一种可能的实现方式中,所述第一设备和所述第二设备为终端,所述第三设备为基站或核心网网元。
结合第三方面,在第二种可能的实现方式中,所述核心网网元为近距离业务功能实体。
第四方面,提供一种获取D2D传输距离的方法,其特征在于,
第一设备获取发射功率信息,所述发射功率信息用于指示所述第一设备向第二设备发送数据时使用的发射功率;
所述第一设备发送所述发射功率信息到所述第二设备,以便所 述第二设备获取第二设备与第一设备间的距离,其中所述第二设备与第一设备间的距离为根据所述第二设备接收所述数据时的接收功率和所述发射功率得到。
结合第四方面,在第一种可能的实现方式中,所述第一设备发送所述发射功率信息到所述第二设备包括:
所述第一设备携带在所述数据中发送所述发射功率信息到所述第二设备。
结合第一种可能的实现方式,在第二种可能的实现方式中,所述数据为媒体访问控制MAC层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中。
结合第四方面,在第三种可能的实现方式中,所述第一设备发送所述发射功率信息到所述第二设备包括:
所述第一设备在所述数据的物理层控制信息中发送所述发射功率信息。
结合第四方面或第四方面任一种可能的实现方式,在第四种可能的实现方式中,所述第一设备和所述第二设备为终端。
第五方面,提供一种获取D2D传输距离的方法,包括:
第二设备接收所述第一设备发送的发射功率信息,所述发射功率信息用于指示所述第一设备向所述第二设备发送数据时使用的发射功率;
所述第二设备获取接收功率信息,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
所述第二设备获取所述第二设备与所述第一设备间的距离,其中所述第二设备与所述第一设备间的距离为根据所述接收功率和所述发射功率得到。
结合第五方面,在第一种可能的实现方式中,所述第二设备获取所述第二设备与所述第一设备间的距离,包括:
所述第二设备根据所述接收功率和发射功率计算所述第二设备与所述第一设备间的距离。
结合第五方面,在第二种可能的实现方式中,所述方法还包括:
所述第二设备将所述发射功率信息和所述接收功率信息发送至第三设备;
所述第二设备获取所述第二设备与所述第一设备间的距离包括:所述第二设备接收所述第三设备发送的所述第二设备与所述第一设备间的距离。
结合第五方面或第一种可能的实现方式或第二中可能的实现方式,在第三种可能的实现方式中,所述第二设备接收所述第一设备发送的发射功率信息,包括:
所述第二设备接收携带在所述数据中的所述发射功率信息。
结合第三种可能的实现方式,在第四种可能的实现方式中,所述数据为MAC层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中。
结合第五方面或第一种可能的实现方式或第二中可能的实现方式,在第五种可能的实现方式中,所述第二设备接收所述第一设备发送的发射功率信息,包括:
所述第二设备在所述第一设备发送的数据的物理层控制信息中获取所述发射功率信息。
结合第五方面或第五方面任一种可能的实现方式,在第六种可能的实现方式中,所述第一设备和所述第二设备为终端。
第六方面,提供一种获取D2D传输距离的方法,包括:
第三设备接收所述第二设备发送的发射功率信息和接收功率信息,所述发射功率信息用于指示第一设备向第二设备发送数据时使用的发射功率,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
所述第三设备根据所述发射功率和接收功率计算所述第二设备与所述第一设备间的距离;
所述第三设备将所述第二设备与所述第一设备间的距离发送至所述第二设备。
结合第六方面,在第一种可能的实现方式中,所述第一设备和所述第二设备为终端,所述第三设备为基站或核心网网元。
结合第一种可能的实现方式,在第二种可能的实现方式中,所述核心网网元为近距离业务功能实体。
本发明实施例提供的获取D2D传输距离的方法及设备,第一设备先获取发射功率信息,然后发送发射功率信息到所述第二设备,第二设备接收指示发射功率的发射功率信息并获取接收第一设备发送的数据时用于指示接收功率的接收功率信息,最后第二设备获取根据接收功率和发射功率获取的第二设备与第一设备间的距离,相比与现有技术中仅由接收功率估计设备间的距离,本发明实施例进一步考虑了第一设备的发射功率对接收功率的影响,所以本发明实施例可以使得第二设备获取的第二设备与第一设备间的距离更准确。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种无线通信***的结构示意图;
图2为本发明实施例提供的一种第一设备的结构示意图;
图3为本发明实施例提供的一种第二设备的结构示意图;
图4为本发明另一实施例提供的一种无线通信***的结构示意图;
图5为本发明另一实施例提供的一种第二设备的结构示意图;
图6为本发明实施例提供的一种第三设备的结构示意图;
图7为本发明实施例提供的一种获取D2D传输距离的方法流程图;
图8为本发明另一实施例提供的一种获取D2D传输距离的方法流程图;
图9为本发明又一实施例提供的一种获取D2D传输距离的方法流程图;
图10为本发明再一实施例提供的一种获取D2D传输距离的方法流程图;
图11为本发明另一实施例提供的一种获取D2D传输距离的方法流程图;
图12为本发明又一实施例提供的一种获取D2D传输距离的方法流程图;
图13为本发明另一实施例提供的一种第一设备的结构示意图;
图14为本发明又一实施例提供的一种第二设备的结构示意图;
图15为本发明另一实施例提供一种第三设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
本发明的实施例中的第一设备和第二设备通常为终端,例如,可以为蜂窝电话、无绳电话、SIP(Session Initiation Protocol,会话启动协议)电话、WLL(Wireless Local Loop,无线本地环路)站、PDA(Personal Digital Assistant,个人数字处理)、具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备。
本发明的实施例中的第三设备可以为基站或者其他接入设备,例如可以是指接入网中在空中接口上通过一个或多个扇区与无线终端通信的设备。基站可用于将收到的空中帧与网络之间互连的协议(英文:Internet Protocol,简称:IP)分组进行相互转换,作为无线终端与接入网的其余部分之间的路由器,其中接入网的其余部分可包括IP协议网络。基站还可协调对空中接口的属性管理。例如,基站可以是GSM(英文:Global System for Mobile Communication,全球移动通信***)或CDMA(英文:Code Division Multiple Access,码分多址)中的基站(英文:Base Transceiver  Station,简称:BTS),也可以是WCDMA(Wideband CDMA,宽带码分多址)中的基站(简称:NodeB),还可以是LTE中的演进型基站(英文:evolutional Node B简称:NodeB或eNB或e-NodeB),本发明实施例中并不限定。
参照图1所示,本发明的实施例应用于包括至少一个第一设备D1和至少一个第二设备D2的无线通信***,其中,第一设备D1和第二设备D2可以通过D2D方式进行通信;可选的,第一设备D1和第二设备D2为终端。在以下实施例中以第一设备D1用作发射数据的终端,第二设备D2用作接收数据的终端进行说明。
本发明一实施例提供一种第一设备D1,D1可以为图1所示无线通信***中的D1,参照图2所示,所述第一设备D1包括:处理单元210和发送单元220,其中处理单元210可以为处理器、发送单元220可以为发射器;
处理单元210,用于获取发射功率信息,所述发射功率信息用于指示所述第一设备D1向第二设备D2发送数据时使用的发射功率;
发送单元220,用于发送所述处理单元获取的所述发射功率信息到所述第二设备D2,以便所述第二设备D2获取第二设备D2与第一设备D1间的距离,其中所述第二设备D2与第一设备D1间的距离为根据所述第二设备D2接收所述数据时的接收功率和所述发射功率得到。
上述实施例中,第一设备的处理单元先获取发射功率信息,然后发送单元发送处理单元获取的发射功率信息到所述第二设备,以便所述第二设备获取第二设备与第一设备间的距离,相比与现有技术中仅由接收功率估计设备间的距离,本发明实施例进一步考虑了第一设备的发射功率对接收功率的影响,所以本发明实施例可以使得第二设备获取的第二设备与第一设备间的距离更准确。
可选的,所述发送单元220具体用于携带在所述数据中发送所述发射功率信息到所述第二设备。进一步可选的,所述数据为媒体访问控制(英文:Media Access Control,简称:MAC)层通信数据,所述 发射功率信息包含在MAC层通信数据的控制单元中。例如:所述发送单元220可以将所述发射功率信息配置于通信数据的数据包的包头中,然后将通信数据发送到D2。再例如:发送单元220还可以将所述发射功率信息配置于通信数据的数据包的专用控制单元中,然后发送到D2。
可选的,所述发送单元220具体用于在所述数据的物理层控制信息中发送所述发射功率信息。具体的,发送单元220将发射功率信息在物理层信道或者专用控制信令中发送至D2,例如:将发射功率信息在物理层同步信道或者其他控制信道中发送。
其中,所述发射功率可以表示为发射数据时所使用的功率值,如20dBm,当然也可以为其他分贝毫瓦或者分贝毫伏功率值;或者,所述发射功率也可以表示为发射所述数据的目标距离,如100米或表示距离远、中、近的距离阈值范围等。
本发明一实施例提供一种第二设备D2,D2可以为图1所示无线通信***中的D2,参照图3所示,所述第二设备D2包括:接收单元310和处理单元320,其中处理单元320可以为处理器、发送单元310可以为发射器;
接收单元310,用于接收所述第一设备D1发送的发射功率信息,所述发射功率信息用于指示所述第一设备D1向所述第二设备D2发送数据时使用的发射功率;
处理单元320,用于获取接收功率信息,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
处理单元320,还用于获取所述第二设备D2与所述第一设备D1间的距离,其中所述第二设备D2与所述第一设备D1间的距离为根据所述接收功率和所述接收单元310接收的所述发射功率得到。
上述实施例中,第二设备的接收单元先接收第一设备发送的发射功率信息,然后处理单元根据所述接收功率和所述接收单元接收的所述发射功率获取所述第二设备与所述第一设备间的距离,相比与现有技术中仅由接收功率估计设备间的距离,本发明实施例进一步考虑了第一设备的发射功率对接收功率的影响,所以本发明实施例可以使 得第二设备获取的第二设备与第一设备间的距离更准确。
可选的,所述接收单元310具体用于接收携带在所述数据中的所述发射功率信息。
具体的,所述数据为MAC层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中。例如:所述发射功率信息可以携带在数据的数据包的包头中。再例如:所述发射功率信息携带在所述数据的数据包的专用控制单元中。
可选的,所述接收单元310具体用于在所述第一设备发送的数据的物理层控制信息中获取所述发射功率信息。具体的,接收单元310在物理层信道或者专用控制信令中获取发射功率信息,例如:在物理层同步信道或者其他控制信道中获取发射功率信息。
其中,所述发射功率可以表示为发射数据时所使用的功率值,如20dBm,当然也可以为其他分贝毫瓦或者分贝毫伏功率值;或者,所述发射功率也可以表示为发射数据的目标距离,如100米或表示距离远、中、近的距离阈值范围等。
进一步可选的,所述处理单元320根据所述接收功率和发射功率计算所述第二设备D2与所述第一设备D1间的距离。具体的,可以用所述发射功率减去所述接收功率获得功率差,再用所述功率差除以单位距离内的功率损耗即可获得D2与D1间的距离,或者,所述处理单元320根据所述接收功率和发射功率通过预先设置的预设公式计算D2与D1间的距离。
参照图4所示,本发明的实施例应包括至少一个第一设备D1、至少一个第二设备D2和至少一个第三设备D3(其中图例4中D3用eNB示出)的无线通信***,可选的,所述第一设备D2和所述第二设备D2为终端,所述第三设备D3为基站或核心网网元,具体的所述核心网网元为近距离业务功能实体(英文:Proximity-based Service Function,简称:ProSe Function),其中,第一设备D1和第二设备D2可以通过D2D方式进行通信;在以下实施例中以第一设备D1用作发射数据的终端,第二设备D2用作接收数据的终端,第三设备 D3为可以与第一设备D1和第二设备D2通信的基站eNB进行说明。
其中,图4所示无线通信***中的第一设备D1,与上述实施例中图1所示的无线通信***中的第一设备D1的功能相同,为避免赘述,不对第一设备D1再做详细说明。
本发明的实施例提供一种第二设备D2,D2可以为图4所示无线通信***中的D2,参照图3所示,所述第二设备D2包括:接收单元310和处理单元320,其中处理单元320可以为处理器、发送单元310可以为发射器;
接收单元310,用于接收所述第一设备D1发送的发射功率信息,所述发射功率信息用于指示所述第一设备D1向所述第二设备D2发送数据时使用的发射功率;
处理单元320,用于获取接收功率信息,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
处理单元320,还用于获取所述第二设备D2与所述第一设备D1间的距离,其中所述第二设备D2与所述第一设备D1间的距离为根据所述接收功率和所述接收单元310接收的所述发射功率得到。
可选的,参照图5所示,所述第二设备D2还包括:发送单元330,发送单元330可以为发射器;所述发送单元330用于将所述发射功率信息和所述接收功率信息发送至第三设备;
所述处理单元320,用于获取所述接收单元310接收的所述第三设备发送的所述第二设备与所述第一设备间的距离。
本发明一实施例提一种第三设备D3,参照图6所示,所述第三设备D3包括:接收单元410、处理单元420和发送单元430,接收单元410可以为接收器、处理单元420可以为处理器和发送单元430可以为发射器;
接收单元410,用于接收所述第二设备发送的发射功率信息和接收功率信息,所述发射功率信息用于指示第一设备D1向第二设备D2发送数据时使用的发射功率,所述接收功率信息用于指示所述第二设备D2接收所述第一设备D1发送的数据时的接收功率;
处理单元420,用于根据所述接收单元410接收的所述发射功率和接收功率计算所述第二设备D2与所述第一设备D1间的距离;
发送单元430,用于将所述处理单元420计算的所述第二设备D2与所述第一设备D1间的距离发送至所述第二设备D2。
可选的,所述第一设备D1和所述第二设备D2为终端,所述第三设备为基站或核心网网元。进一步的,所述核心网网元为近距离业务功能实体。
上述实施例中,第三设备的接收所述第二设备发送的发射功率信息和接收功率信息,然后根据接收的接收功率和发射功率获取所述第二设备与所述第一设备间的距离,将第二设备与所述第一设备间的距离发送至第二设备,相比与现有技术中仅由接收功率估计设备间的距离,本发明实施例进一步考虑了第一设备的发射功率对接收功率的影响,所以本发明实施例可以使得第二设备获取的第二设备与第一设备间的距离更准确。
本发明的实施例应用于包括至少一个第一设备D1和至少一个第二设备D2的无线通信***(如图1所示的无线通信***),其中,第一设备D1和第二设备D2可以通过D2D方式进行通信;在以下实施例中以第一设备D1用作发射数据的终端,第二设备D2用作接收数据的终端进行说明。
具体的,本发明实施例提供一种获取D2D传输距离的方法,参照图7所示,第一设备D1用于执行如下步骤:
S701、第一设备获取发射功率信息,所述发射功率信息用于指示所述第一设备向第二设备发送数据时使用的发射功率。
S702、所述第一设备发送所述发射功率信息到所述第二设备,以便所述第二设备获取根据所述第二设备接收所述数据时的接收功率和所述发射功率得到的第二设备与第一设备间的距离。
本发明实施例提供一种获取D2D传输距离的方法,参照图8所示,第二设备D2用于执行如下步骤:
S801、第二设备接收所述第一设备发送的发射功率信息,所述 发射功率信息用于指示所述第一设备向所述第二设备发送数据时使用的发射功率。
S802、所述第二设备获取接收功率信息,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率。
S803、所述第二设备获取所述第二设备与所述第一设备间的距离,其中所述第二设备与所述第一设备间的距离为根据所述接收功率和所述发射功率得到。
上述实施例中,第一设备先获取发射功率信息,然后发送发射功率信息到所述第二设备,第二设备接收指示发射功率的发射功率信息并获取接收第一设备发送的数据时用于指示接收功率的接收功率信息,最后第二设备获取根据接收功率和发射功率获取的第二设备与第一设备间的距离,相比与现有技术中仅由接收功率估计设备间的距离,本发明实施例进一步考虑了第一设备的发射功率对接收功率的影响,所以本发明实施例可以使得第二设备获取的第二设备与第一设备间的距离更准确。
具体的,本发明实施例提供一种获取D2D传输距离的方法,参照图9所示,包括以下步骤:
S901、D1获取发射功率信息,所述发射功率信息用于指示D1向D2发送数据时使用的发射功率。
S902、D1发送发射功率信息到所述D2。
可选的,上述步骤S902具体为:D1携带在所述数据中发送所述发射功率信息到D2。具体可选的,所述数据为媒体访问控制(英文:Media Access Control,简称:MAC)层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中,或者所述发射功率信息包含在所述媒体访问控制层通信数据包的包头中。例如:所述D1可以将所述发射功率信息配置于通信数据的数据包的包头中,然后将通信数据发送到D2。再例如:D1还可以将所述发射功率信息配置于通信数据的数据包的专用控制单元中,然后通信数据发送到D2。对应的,D2接收D1发送的发射功率信息包括:D2接收携带在所述数据中的所述发射功率 信息,具体为D2接收D1发送的数据;D2在所述数据中获取所述发射功率信息。示例性的,当所述数据为媒体访问控制层通信数据,D2在所述媒体访问控制层通信数据的控制单元中获取所述发射功率信息。
可选的,步骤S902中,D1在所述数据的物理层控制信息中发送所述发射功率信息,D1可以将发射功率信息在物理层信道或者专用控制信令中发送至D2,例如:将发射功率信息在物理层同步信道或者其他控制信道中发送。此时,在步骤S902之前或者之后,D1开始发送数据到所述D2。对应的,D2接收D1发送的发射功率信息包括:D2在D1发送的数据的物理层控制信息中获取所述发射功率信息。
所述发射功率可以表示为发射数据时所使用的功率值,如20dBm,当然也可以为其他分贝毫瓦或者分贝毫伏功率值;或者,所述发射功率也可以表示为发射数据的目标距离,如100米或表示距离远、中、近的距离阈值范围等。
S903、D2获取接收功率信息,所述接收功率信息用于指示所述D2接收所述D1发送的数据时的接收功率。
在步骤S903中,D2获取接收功率信息的方法具体为:D2接收D1发送的数据,并在接收数据的同时检测接收数据的接收功率,从而获得接收功率。
S904、D2获取所述D2与所述D1间的距离,其中所述D2与所述D1间的距离为根据所述接收功率和所述发射功率得到。
可选的,在步骤S904中,D2获取D2与D1间的距离可以为:根据所述接收功率和发射功率计算所述第二设备D2与所述第一设备D1间的距离。具体的,可以用所述发射功率减去所述接收功率获得功率差,再用所述功率差除以单位距离内的功率损耗即可获得D2与D1间的距离,或者,根据所述接收功率和发射功率通过预先设置的预设公式计算D2与D1间的距离。
上述实施例中,第一设备先获取发射功率信息,然后发送发射功率信息到所述第二设备,第二设备接收指示发射功率的发射功率信息 并获取接收第一设备发送的数据时用于指示接收功率的接收功率信息,最后第二设备获取根据接收功率和发射功率获取的第二设备与第一设备间的距离,相比与现有技术中仅由接收功率估计设备间的距离,本发明实施例进一步考虑了第一设备的发射功率对接收功率的影响,所以本发明实施例可以使得第二设备获取的第二设备与第一设备间的距离更准确。
本发明的实施例应用于包括至少一个第一设备D1、至少一个第二设备D2和至少一个第三设备D3(例如图5中示出的eNB)的无线通信***,可选的,所述第一设备和所述第二设备为终端,所述第三设备为基站或核心网网元,具体的所述核心网网元为近距离业务功能实体(英文:Proximity-based Service Function,简称:ProSe Function),其中,第一设备D1和第二设备D2可以通过D2D方式进行通信;在以下实施例中以第一设备D1用作发射数据的终端,第二设备D2用作接收数据的终端,第三设备D3为可以与第一设备D1和第二设备D2通信的基站eNB进行说明。
具体的,第一设备D1的功能与上述实施例相同,依然参照图7所示,第一设备D1用于执行如下步骤:
S701、第一设备获取发射功率信息,所述发射功率信息用于指示所述第一设备向第二设备发送数据时使用的发射功率。
S702、所述第一设备发送所述发射功率信息到所述第二设备,以便所述第二设备获取根据所述第二设备接收所述数据时的接收功率和所述发射功率得到的第二设备与第一设备间的距离。
参照图10所示,第二设备D2用于执行如下步骤:
S101、第二设备接收所述第一设备发送的发射功率信息;所述发射功率信息用于指示所述第一设备向第二设备发送数据时使用的发射功率。
S102、所述第二设备获取接收功率信息,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率。
S103、所述第二设备将所述发射功率信息和所述接收功率信息 发送至第三设备。
S104、所述第二设备接收所述第三设备发送的所述第二设备与所述第一设备间的距离。
参照图11所示,第三设备D3用于执行如下步骤:
S111、第三设备接收所述第二设备发送的发射功率信息和接收功率信息;所述发射功率信息用于指示第一设备向第二设备发送数据时使用的发射功率,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率。
S112、所述第三设备根据所述发射功率和接收功率计算所述第二设备与所述第一设备间的距离。
S113、所述第三设备将所述第二设备与所述第一设备间的距离发送至所述第二设备。
上述实施例中,第一设备先获取发射功率信息,发送发射功率信息到第二设备,第二设备接收指示发射功率的发射功率信息并获取接收第一设备发送的数据时用于指示接收功率的接收功率信息,然后第二设备发送接收功率信息和发射功率信息到第三设备,第三设备根据接收功率信息对应的接收功率和发射功率信息对应的发射功率获取第二设备与第一设备间的距离,并将第二设备与第一设备间的距离发送至第二设备,相比与现有技术中仅由接收功率估计设备间的距离,本发明实施例进一步考虑了第一设备的发射功率对接收功率的影响,所以本发明实施例可以使得第二设备获取的第二设备与第一设备间的距离更准确;同时在上述实施例中,第二设备直接接收第三设备发送的第二设备与第一设备间的距离,而不必自己根据接收功率和发射功率计算获取第二设备与第一设备间的距离,可以减小第二设备的功耗。
具体的,本发明实施例提供一种获取D2D传输距离的方法,参照图12所示,该方法包括以下步骤:
S121、D1获取发射功率信息,所述发射功率信息用于指示D1向D2发送数据时使用的发射功率。
S122、D1发送发射功率信息到所述D2。
可选的,上述步骤S122具体为:D1携带在所述数据中发送所述发射功率信息到D2。具体可选的,所述数据为媒体访问控制(英文:Media Access Control,简称:MAC)层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中,或者,所述发射功率信息包含在所述媒体访问控制层通信数据包的包头中。例如:所述D1可以将所述发射功率信息配置于通信数据的数据包的包头中,然后将通信数据发送到D2。再例如:D1还可以将所述发射功率信息配置于通信数据的数据包的专用控制单元中,然后通信数据发送到D2。对应的,D2接收D1发送的发射功率信息包括:D2接收携带在所述数据中的所述发射功率信息,具体的D2接收D1发送的数据;D在所述数据中获取所述发射功率信息。示例性的,当所述数据为媒体访问控制层通信数据,D2在所述媒体访问控制层通信数据的控制单元中获取所述发射功率信息。
可选的,步骤S122中,D1在所述数据的物理层控制信息中发送所述发射功率信息,D1可以将发射功率信息在物理层信道或者专用控制信令中发送至D2,例如:将发射功率信息在物理层同步信道或者其他控制信道中发送。此时,在步骤S122之前或者之后,D1开始发送数据到所述D2。对应的,D2接收D1发送的发射功率信息包括:D2在D1发送的数据的物理层控制信息中获取所述发射功率信息。
所述发射功率可以表示为发射所述数据时所使用的功率值,如20dBm,当然也可以为其他分贝毫瓦或者分贝毫伏功率值;或者,所述发射功率也可以表示为发射数据的目标距离,如100米或表示距离远、中、近的距离阈值范围等。
S123、D2获取接收功率信息,所述接收功率信息用于指示所述D2接收所述D1发送的数据时的接收功率。
在步骤S123中,D2获取接收功率信息的方法具体为:D2接收D1发送的数据,并在接收数据的同时检测接收数据的接收功率,从而获得接收功率。
S124、D2发送所述发射功率信息和所述接收功率信息至eNB。
其中,所述发射功率信息用于指示D1向D2发送数据时使用的发射功率,所述接收功率信息用于指示所述D2接收所述D1发送的数据时的接收功率。
S125、eNB根据所述发射功率和接收功率计算所述D2与所述D1间的距离。
具体的,步骤S125中的计算方式为:用所述发射功率减去所述接收功率获得功率差,再用所述功率差除以单位距离内的功率损耗即可获得D2与D1间的距离,或者,根据所述接收功率和发射功率通过预先设置的预设公式计算D2与D1间的距离。
S126、eNB发送所述D2与所述D1间的距离至所述D2。
上述实施例中,第一设备先获取发射功率信息,发送发射功率信息到第二设备,第二设备接收指示发射功率的发射功率信息并获取接收第一设备发送的数据时用于指示接收功率的接收功率信息,然后第二设备发送接收功率信息和发射功率信息到第三设备,第三设备根据接收功率信息对应的接收功率和发射功率信息对应的发射功率获取第二设备与第一设备间的距离,并将第二设备与第一设备间的距离发送至第二设备,相比与现有技术中仅由接收功率估计设备间的距离,本发明实施例进一步考虑了第一设备的发射功率对接收功率的影响,所以本发明实施例可以使得第二设备获取的第二设备与第一设备间的距离更准确;同时在上述实施例中,第二设备直接接收第三设备发送的第二设备与第一设备间的距离,而不必自己根据接收功率和发射功率计算获取第二设备与第一设备间的距离,可以减小第二设备的功耗。
本发明一实施例提供一种第一设备,用于实现上述获取D2D传输距离的方法,参照图13所示,所述第一设备130包括:发射器131、存储器132、处理器133及总线134;其中所述发射器131、存储器132及处理器133通过所述总线134连接实现相互通信,所述存储器132用于存储所述处理器133处理的数据;
该总线134可以是工业标准体系结构(英文:Industry Standard Architecture,简称为ISA)总线、外部设备互连(英文:Peripheral  Component,简称为PCI)总线或扩展工业标准体系结构(英文:Extended Industry Standard Architecture,简称为EISA)总线等,此处并不限定。该总线134可以分为地址总线、数据总线、控制总线等。为便于表示,图13中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
存储器132用于存储数据或可执行程序代码,其中程序代码包括计算器操作指令,具体可以为:操作***、应用程序等。存储器132可能包含高速随器存取存储器(英文:Random-Access Memory,简称:RAM),也可能还包括非易失性存储器(英文:non-volatile memory),例如至少一个磁盘存储器。
处理器133可能是一个中央处理器(英文:Central Processing Unit,简称为CPU),或者是特定集成电路(英文:Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。
处理器133用于通过执行存储器132中的程序代码实现上述第一设备的实施例中处理单元执行的方法,发射器131用于执行上述第一设备的实施例中发送单元执行的方法。
所述处理器133,用于获取发射功率信息,所述发射功率信息用于指示所述第一设备向第二设备发送数据时使用的发射功率;
所述发射器131,用于发送所述处理器133获取的所述发射功率信息到所述第二设备,以便所述第二设备获取第二设备与第一设备间的距离,其中所述第二设备与第一设备间的距离为根据所述第二设备接收所述数据时的接收功率和所述发射功率得到。
可选的,所述发射器131具体用于携带在所述数据中发送所述发射功率信息到所述第二设备。
进一步可选的,所述数据为媒体访问控制MAC层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中。
可选的,所述发射器131具体用于在所述数据的物理层控制信息中发送所述发射功率信息。
可选的,所述第一设备和所述第二设备为终端。
上述实施例中,第一设备的处理器先获取发射功率信息,然后收发器 发送处理器获取的发射功率信息到所述第二设备,以便所述第二设备获取第二设备与第一设备间的距离,相比与现有技术中仅由接收功率估计设备间的距离,本发明实施例进一步考虑了第一设备的发射功率对接收功率的影响,所以本发明实施例可以使得第二设备获取的第二设备与第一设备间的距离更准确。
本发明一实施例提供一种第二设备,用于实现上述获取D2D传输距离的方法,参照图14所示,所述第二设备140包括:接收器141、存储器142、处理器143及总线144;其中所述接收器141、存储器142及处理器143通过所述总线144连接实现相互通信,所述存储器142用于存储所述处理器143处理的数据;
该总线144可以是工业标准体系结构(英文:Industry Standard Architecture,简称为ISA)总线、外部设备互连(英文:Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(英文:Extended Industry Standard Architecture,简称为EISA)总线等,此处并不限定。该总线144可以分为地址总线、数据总线、控制总线等。为便于表示,图14中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
存储器142用于存储数据或可执行程序代码,其中程序代码包括计算器操作指令,具体可以为:操作***、应用程序等。存储器142可能包含高速随器存取存储器(英文:Random-Access Memory,简称:RAM),也可能还包括非易失性存储器(英文:non-volatile memory),例如至少一个磁盘存储器。
处理器143可能是一个中央处理器(英文:Central Processing Unit,简称为CPU),或者是特定集成电路(英文:Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。
处理器143用于通过执行存储器142中的程序代码实现上述第二设备的实施例中处理单元执行的方法,接收器141用于执行上述第二设备的实施例中接收单元执行的方法。
接收器141,用于接收所述第一设备发送的发射功率信息,所述发射 功率信息用于指示所述第一设备向所述第二设备发送数据时使用的发射功率;
处理器143,用于获取接收功率信息,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
所述处理器143,还用于获取所述第二设备与所述第一设备间的距离,其中所述第二设备与所述第一设备间的距离为根据所述接收功率和所述接收器141接收的所述发射功率得到。
可选的,所述处理器143还用于根据所述接收功率和发射功率计算所述第二设备与所述第一设备间的距离。
参照图14所示,所述第二设备还包括与所述总线144连接的发射器145,发射器145用于执行上述第二设备的实施例中发送单元执行的方法;
所述发射器145用于将所述发射功率信息和所述接收功率信息发送至第三设备;
所述处理器143还用于获取所述接收器141接收的所述第三设备发送的所述第二设备与所述第一设备间的距离。
可选的,所述接收器141具体用于接收携带在所述数据中的所述发射功率信息。
进一步可选的,所述数据为MAC层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中。
可选的,所述接收器141用于在所述第一设备发送的数据的物理层控制信息中获取所述发射功率信息。
可选的,所述第一设备和所述第二设备为终端。
上述实施例中,第二设备接收所述第一设备发送的发射功率信息,然后根据接收功率和发射功率获取所述第二设备与所述第一设备间的距离,相比与现有技术中仅由接收功率估计设备间的距离,本发明实施例进一步考虑了第一设备的发射功率对接收功率的影响,所以本发明实施例可以使得第二设备获取的第二设备与第一设备间的距离更准确。
本发明一实施例提供一种第三设备,参照图15所示,所述第三设备150包括:接收器151、存储器152、处理器153、总线154及发射器155; 其中所述接收器151、存储器152、处理器153及发射器155通过所述总线154连接实现相互通信,所述存储器152用于存储所述处理器153处理的数据;
该总线154可以是工业标准体系结构(英文:Industry Standard Architecture,简称为ISA)总线、外部设备互连(英文:Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(英文:Extended Industry Standard Architecture,简称为EISA)总线等,此处并不限定。该总线154可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
存储器152用于存储数据或可执行程序代码,其中程序代码包括计算器操作指令,具体可以为:操作***、应用程序等。存储器152可能包含高速随器存取存储器(英文:Random-Access Memory,简称:RAM),也可能还包括非易失性存储器(英文:non-volatile memory),例如至少一个磁盘存储器。
处理器153可能是一个中央处理器(英文:Central Processing Unit,简称为CPU),或者是特定集成电路(英文:Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。
处理器153用于通过执行存储器152中的程序代码实现上述第三设备的实施例中处理单元执行的方法,接收器151用于执行上述第三设备的实施例中接收单元执行的方法,发射器145用于执行上述第三设备的实施例中发送单元执行的方法;
接收器151,用于接收所述第二设备发送的发射功率信息和接收功率信息,所述发射功率信息用于指示第一设备向第二设备发送数据时使用的发射功率,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
处理器153,用于根据所述接收器151接收的所述发射功率和接收功率计算所述第二设备与所述第一设备间的距离;
发射器155用于将所述处理器153获取的所述第二设备与所述第一设 备间的距离发送至所述第二设备。
可选的,所述第一设备和所述第二设备为终端,所述第三设备150为基站或核心网网元。
进一步可选的,所述核心网网元为近距离业务功能实体。
上述实施例中,第三设备接收所述第二设备发送的发射功率信息和接收功率信息,然后根据接收功率和发射功率获取所述第二设备与所述第一设备间的距离,再将第二设备与所述第一设备间的距离发送至第二设备,相比与现有技术中仅由接收功率估计设备间的距离,本发明的实施例进一步考虑了第一设备的发射功率对接收功率的影响,所以本发明实施例可以使得第二设备获取的第二设备与第一设备间的距离更准确。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (30)

  1. 第一设备,其特征在于,所述第一设备包括:
    处理单元,用于获取发射功率信息,所述发射功率信息用于指示所述第一设备向第二设备发送数据时使用的发射功率;
    发送单元,用于发送所述处理单元获取的所述发射功率信息到所述第二设备,以便所述第二设备获取第二设备与第一设备间的距离,其中所述第二设备与第一设备间的距离为根据所述第二设备接收所述数据时的接收功率和所述发射功率得到。
  2. 根据权利要求1所述的第一设备,其特征在于,所述发送单元具体用于携带在所述数据中发送所述发射功率信息到所述第二设备。
  3. 根据权利权利要求2所述的第一设备,其特征在于,所述数据为媒体访问控制MAC层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中。
  4. 根据权利要求1所述的第一设备,其特征在于,所述发送单元具体用于在所述数据的物理层控制信息中发送所述发射功率信息。
  5. 根据权利要求1-4任一项所述的第一设备,其特征在于,所述第一设备和所述第二设备为终端。
  6. 第二设备,其特征在于,所述第二设备包括:
    接收单元,用于接收所述第一设备发送的发射功率信息,所述发射功率信息用于指示所述第一设备向所述第二设备发送数据时使用的发射功率;
    处理单元,用于获取接收功率信息,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
    所述处理单元还用获取所述第二设备与所述第一设备间的距离,其中所述第二设备与所述第一设备间的距离为根据接收功率和所述接收单元接收的所述发射功率得到。
  7. 根据权利要求6所述的第二设备,其特征在于,所述处理单元具体用于根据所述接收功率和发射功率计算所述第二设备与所述 第一设备间的距离。
  8. 根据权利要求6所述的第二设备,其特征在于,所述第二设备还包括:发送单元,所述发送单元用于将所述发射功率信息和所述接收功率信息发送至第三设备;
    所述处理单元,具体用于通过所述接收单元获取所述接收单元接收的所述第三设备发送的所述第二设备与所述第一设备间的距离。
  9. 根据权利要求6-8任一项所述的第二设备,其特征在于,
    所述接收单元具体用于接收携带在所述数据中的所述发射功率信息。
  10. 根据权利要求9所述的第二设备,其特征在于,所述数据为MAC层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中。
  11. 根据权利要求6-9任一项所述的第二设备,其特征在于,
    所述接收单元具体用于在所述第一设备发送的数据的物理层控制信息中获取所述发射功率信息。
  12. 根据权利要求6-11任一项所述的第二设备,其特征在于,所述第一设备和所述第二设备为终端。
  13. 一种第三设备,其特征在于,所述第三设备包括:
    接收单元,用于接收所述第二设备发送的发射功率信息和接收功率信息,所述发射功率信息用于指示第一设备向第二设备发送数据时使用的发射功率,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
    处理单元,用于根据所述接收单元接收的所述发射功率和接收功率计算所述第二设备与所述第一设备间的距离;
    发送单元,用于将所述处理单元计算的所述第二设备与所述第一设备间的距离发送至所述第二设备。
  14. 根据权利要求13所述的第三设备,其特征在于,所述第一设备和所述第二设备为终端,所述第三设备为基站或核心网网元。
  15. 根据权利要求14所述的第三设备,其特征在于,所述核心 网网元为近距离业务功能实体。
  16. 一种获取D2D传输距离的方法,其特征在于,
    第一设备获取发射功率信息,所述发射功率信息用于指示所述第一设备向第二设备发送数据时使用的发射功率;
    所述第一设备发送所述发射功率信息到所述第二设备,以便所述第二设备获取第二设备与第一设备间的距离,其中所述第二设备与第一设备间的距离为根据所述第二设备接收所述数据时的接收功率和所述发射功率得到。
  17. 根据权利要求16所述的方法,其特征在于,所述第一设备发送所述发射功率信息到所述第二设备包括:
    所述第一设备携带在所述数据中发送所述发射功率信息到所述第二设备。
  18. 根据权利要求17所述的方法,其特征在于,所述数据为媒体访问控制MAC层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中。
  19. 根据权利要求16所述的方法,其特征在于,所述第一设备发送所述发射功率信息到所述第二设备包括:
    所述第一设备在所述数据的物理层控制信息中发送所述发射功率信息。
  20. 根据权利要求16-19任一项所述的方法,其特征在于,所述第一设备和所述第二设备为终端。
  21. 一种获取D2D传输距离的方法,其特征在于,
    第二设备接收所述第一设备发送的发射功率信息,所述发射功率信息用于指示所述第一设备向所述第二设备发送数据时使用的发射功率;
    所述第二设备获取接收功率信息,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
    所述第二设备获取所述第二设备与所述第一设备间的距离,其中所述第二设备与所述第一设备间的距离为根据所述接收功率和所述 发射功率得到。
  22. 根据权利要求21所述的方法,其特征在于,所述第二设备获取所述第二设备与所述第一设备间的距离,包括:
    所述第二设备根据所述接收功率和发射功率计算所述第二设备与所述第一设备间的距离。
  23. 根据权利要求21所述的方法,其特征在于,所述方法还包括:
    所述第二设备将所述发射功率信息和所述接收功率信息发送至第三设备;
    所述第二设备获取所述第二设备与所述第一设备间的距离包括:所述第二设备接收所述第三设备发送的所述第二设备与所述第一设备间的距离。
  24. 根据权利要求21-23任一项所述的方法,其特征在于,所述第二设备接收所述第一设备发送的发射功率信息,包括:
    所述第二设备接收携带在所述数据中的所述发射功率信息。
  25. 根据权利要求24所述的方法,其特征在于,所述数据为MAC层通信数据,所述发射功率信息包含在所述MAC层通信数据的控制单元中。
  26. 根据权利要求21-23任一项所述的方法,其特征在于,所述第二设备接收所述第一设备发送的发射功率信息,包括:
    所述第二设备在所述第一设备发送的数据的物理层控制信息中获取所述发射功率信息。
  27. 根据权利要求21-26任一项所述的方法,其特征在于,所述第一设备和所述第二设备为终端。
  28. 一种获取D2D传输距离的方法,其特征在于,
    第三设备接收所述第二设备发送的发射功率信息和接收功率信息,所述发射功率信息用于指示第一设备向第二设备发送数据时使用的发射功率,所述接收功率信息用于指示所述第二设备接收所述第一设备发送的数据时的接收功率;
    所述第三设备根据所述发射功率和接收功率计算所述第二设备与所述第一设备间的距离;
    所述第三设备将所述第二设备与所述第一设备间的距离发送至所述第二设备。
  29. 根据权利要求28所述的方法,其特征在于,所述第一设备和所述第二设备为终端,所述第三设备为基站或核心网网元。
  30. 根据权利要求29所述的方法,所述核心网网元为近距离业务功能实体。
PCT/CN2014/092584 2014-11-28 2014-11-28 一种获取d2d传输距离的方法及设备 WO2016082223A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP14907003.9A EP3232692A4 (en) 2014-11-28 2014-11-28 Method and device for obtaining d2d transmission distance
AU2014412483A AU2014412483B2 (en) 2014-11-28 2014-11-28 D2d transmission distance obtaining method and device
PCT/CN2014/092584 WO2016082223A1 (zh) 2014-11-28 2014-11-28 一种获取d2d传输距离的方法及设备
CN201480036507.0A CN105830466A (zh) 2014-11-28 2014-11-28 一种获取d2d传输距离的方法及设备
US15/608,272 US10560946B2 (en) 2014-11-28 2017-05-30 D2D transmission distance obtaining method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/092584 WO2016082223A1 (zh) 2014-11-28 2014-11-28 一种获取d2d传输距离的方法及设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/608,272 Continuation US10560946B2 (en) 2014-11-28 2017-05-30 D2D transmission distance obtaining method and device

Publications (1)

Publication Number Publication Date
WO2016082223A1 true WO2016082223A1 (zh) 2016-06-02

Family

ID=56073413

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092584 WO2016082223A1 (zh) 2014-11-28 2014-11-28 一种获取d2d传输距离的方法及设备

Country Status (5)

Country Link
US (1) US10560946B2 (zh)
EP (1) EP3232692A4 (zh)
CN (1) CN105830466A (zh)
AU (1) AU2014412483B2 (zh)
WO (1) WO2016082223A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101606076A (zh) * 2006-12-29 2009-12-16 诺基亚公司 对距离估计或涉及距离估计的改进
CN103630876A (zh) * 2013-12-03 2014-03-12 大连大学 基于RSSI的ZigBee节点定位方法
CN103797882A (zh) * 2011-07-14 2014-05-14 交互数字专利控股公司 用于为机器对机器通信进行测距功率控制的方法和设备
CN103957031A (zh) * 2014-05-09 2014-07-30 北京邮电大学 基于线形无线传感器网络的跳频与定位功能的实现方法

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100577682B1 (ko) * 2004-06-04 2006-05-10 삼성전자주식회사 노드들로 구성된 통신 시스템에서 거리 추정 장치 및 방법
GB201117723D0 (en) * 2011-10-13 2011-11-23 Sensewhere Ltd Method of estimating the position of a user device using radio beacons and radio beacons adapted to facilitate the methods of the invention
JP6294002B2 (ja) * 2013-02-08 2018-03-14 株式会社Nttドコモ 距離推定方法、及びユーザ装置
KR102059135B1 (ko) * 2013-08-14 2019-12-24 삼성전자주식회사 무선 통신 시스템에서 장치 간 통신을 위한 송신 제어 장치 및 방법
EP3208631A4 (en) * 2014-10-17 2018-03-28 Ntt Docomo, Inc. User device and distance estimation method
US9986410B2 (en) * 2014-11-06 2018-05-29 Samsung Electronics Co., Ltd. Terminal and distance estimation method thereof
US20160142897A1 (en) * 2014-11-14 2016-05-19 Telefonaktiebolaget L M Ericsson (Publ) Enriched D2D Discovery Content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101606076A (zh) * 2006-12-29 2009-12-16 诺基亚公司 对距离估计或涉及距离估计的改进
CN103797882A (zh) * 2011-07-14 2014-05-14 交互数字专利控股公司 用于为机器对机器通信进行测距功率控制的方法和设备
CN103630876A (zh) * 2013-12-03 2014-03-12 大连大学 基于RSSI的ZigBee节点定位方法
CN103957031A (zh) * 2014-05-09 2014-07-30 北京邮电大学 基于线形无线传感器网络的跳频与定位功能的实现方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3232692A4 *

Also Published As

Publication number Publication date
US20170273088A1 (en) 2017-09-21
US10560946B2 (en) 2020-02-11
AU2014412483B2 (en) 2018-11-08
AU2014412483A1 (en) 2017-06-29
EP3232692A4 (en) 2017-11-08
CN105830466A (zh) 2016-08-03
EP3232692A1 (en) 2017-10-18

Similar Documents

Publication Publication Date Title
JP5985767B2 (ja) 近接場通信を用いたピア・ツー・ピアWi−Fiレンジングのための方法および装置
US9351273B2 (en) Method and system for characterizing location and/or range based on transmit power
JP2019508959A5 (zh)
JP6040466B2 (ja) 通信制御方法、ユーザ機器、ネットワークサーバ、およびシステム
WO2016008138A1 (zh) 一种功率控制的方法,基站和用户设备
WO2014071564A1 (en) Proxy connection method and apparatus
JP2015061169A5 (zh)
US20170150475A1 (en) Positioning method and apparatus and communication system
WO2018102964A1 (zh) 传输信息的方法和设备
JP6782373B2 (ja) PUSCHおよびMsg3用の時間領域表
WO2015103788A1 (zh) 传输参考信号的方法和用户设备
JP6430513B2 (ja) デバイス対デバイス信号を検出するための方法、ユーザ機器および基地局
CN112997566A (zh) 处理用于传输的关键数据到达与配置许可的传输时机之间的失准
WO2016101110A1 (zh) 一种cqi上报方法、触发方法、设备及无线通信***
US10948593B2 (en) System for determining distance between fixed and mobile endpoints and related methods
TWI724139B (zh) 基於設備到設備的通訊方法和終端
WO2015042887A1 (zh) 用户设备直连通信的信号传输方法和用户设备
WO2021248284A1 (zh) 位置确定方法、装置、通信设备及存储介质
TW201840225A (zh) 處理信號的方法和設備
WO2016082223A1 (zh) 一种获取d2d传输距离的方法及设备
WO2018103016A1 (zh) 数据处理方法和设备
WO2019006882A1 (zh) 一种训练传输波束的方法、装置及***
WO2020038393A1 (zh) 一种数据传输方法及终端
WO2017193308A1 (zh) 通信方法和通信设备
US11671808B2 (en) Enhancement on smartwatch implementation

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014907003

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2014412483

Country of ref document: AU

Date of ref document: 20141128

Kind code of ref document: A