WO2015161442A1 - 一种d2d通信的发现方法、装置及系统 - Google Patents

一种d2d通信的发现方法、装置及系统 Download PDF

Info

Publication number
WO2015161442A1
WO2015161442A1 PCT/CN2014/075938 CN2014075938W WO2015161442A1 WO 2015161442 A1 WO2015161442 A1 WO 2015161442A1 CN 2014075938 W CN2014075938 W CN 2014075938W WO 2015161442 A1 WO2015161442 A1 WO 2015161442A1
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
information
communication
location information
distance
Prior art date
Application number
PCT/CN2014/075938
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 CN201910380327.9A priority Critical patent/CN110191440B/zh
Priority to PCT/CN2014/075938 priority patent/WO2015161442A1/zh
Priority to JP2016564233A priority patent/JP6338229B2/ja
Priority to CA2946630A priority patent/CA2946630C/en
Priority to EP14889857.0A priority patent/EP3128804B1/en
Priority to CN201480071553.4A priority patent/CN105850218B/zh
Priority to RU2016145148A priority patent/RU2663711C2/ru
Publication of WO2015161442A1 publication Critical patent/WO2015161442A1/zh
Priority to US15/331,522 priority patent/US10212537B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/306User profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • H04W4/23Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel for mobile advertising
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • 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/02Terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications, and in particular, to a D2D (Device-to-Deice, Device-to-Device) communication discovery method, apparatus, and system.
  • D2D Device-to-Deice, Device-to-Device
  • D2D communication is a technology that directly exchanges data or services without transiting the network.
  • the terminal Bluetooth module can be always opened for scanning or when the Bluetooth-supported transmission distance is met, the user manually operates the Bluetooth module on the local end to connect with the scanned peer Bluetooth, and the user can select the data to be transmitted by Bluetooth.
  • the local end and the opposite end can transmit data through Bluetooth, and the process of D2D discovery and data transmission is completed.
  • the user equipment A (UEA, User Equipment), the user equipment B (UEB), the ProSe server A to which the UEA belongs, the ProSe Server B to which the UEB belongs, and the UEA belong to GMLC (Gateway Mobile Location Center) A and GMLC B to which the UEB belongs.
  • the step of establishing D2D communication in the LTE cellular network may include: (1) the UEA registers with the associated ProSe server A, the ProSe server A obtains the ProSe identifier A and the application identifier A of the UEA, and the UEB belongs to the ProSe server to which it belongs.
  • the ProSe server B obtains the ProSe identity B and the application identifier B of the UEB;
  • the GMLC A updates the location information of the UEA, the GMLC B updates the location information of the UE B, and the ProSe server A obtains the location information of the UEA from the GMLC A,
  • ProSe server B can obtain the location information of the UEB from the GMLC B, the ProSe server A can obtain the location information of the UEB from the ProSe server B, and the ProSe server B can obtain the location information of the UEA from the ProSe server A;
  • the UEA requests the ProSe server A Pairing with the D2D of the UEB, for example, the ProSe server A can calculate the distance D between the UEA and the UEB through the location information of the UEA and the location information of the UEB, determine whether the distance D satisfies the pairing distance S, and if so, notify the UEA that the D2D communication can be performed with
  • the following problems occur in establishing a D2D communication in an LTE cellular network: A third-party server needs to be deployed, and a message interface with a different ProSe server needs to be deployed for different operators, which increases the difficulty of deployment, and the core network and the connection. Network elements such as network access and user equipment need to support positioning, and network signaling overhead is large, which increases the burden on the cellular network.
  • the positioning method is single. At present, the TD-Cell cellular network can use the 0TD0A (observed Time Difference of Arrival), but the positioning accuracy is much lower than that of the GPS (Global Positioning System, Global Positioning System). ) and other positioning methods. Summary of the invention
  • the embodiments of the present invention provide a method, a device, and a system for discovering D2D communication, which can automatically implement D2D communication discovery at the application layer, reduce network signaling overhead, and improve the hit rate of D2D communication.
  • the method for discovering D2D communication includes: acquiring, by an application layer, location information of a first user equipment and location information of a second user equipment; and according to location information of the first user equipment, The location information of the second user equipment calculates a distance between the first user equipment and the second user equipment;
  • the method further includes: the first user equipment acquiring information of the D2D communication capability of the first user equipment; the first user equipment acquiring information of the D2D communication capability of the second user equipment;
  • the calculating, by the location information of the first user equipment, and the location information of the second user equipment, the first user equipment and the second user After the distance of the device, the first user equipment confirms that the distance between the first user equipment and the second user equipment is less than or equal to a preset threshold, and the first user equipment sends the An identifier of the second user equipment and location information of the second user equipment.
  • the method further includes: the application server receiving the second user that is sent by the first user equipment After the identifier of the device and the location information of the second user equipment, the application server acquires information about the D2D communication capability of the first user equipment and information about the D2D communication capability of the second user equipment;
  • the application server confirms that the distance between the first user equipment and the second user equipment meets the D2D communication capability supported by the first user equipment and the second user equipment, and sends the information to the first user.
  • the device sends the identifier of the second user equipment and the information of the D2D communication capability that the first user equipment and the second user equipment can support.
  • the acquiring, by the application layer, the location information of the first user equipment and the location information of the second user equipment includes: the application server separately acquiring the information from the first user equipment The location information of the first user equipment, the location information of the second user equipment is obtained from the second user equipment;
  • the method further includes: the application server acquiring information of the D2D communication capability of the first user equipment and information of a D2D communication capability of the second user equipment;
  • the sending, by the application server, the indication that the D2D link is established to the first user equipment according to the distance between the first user equipment and the second user equipment specifically: the application server confirms the first user equipment and the The information about the distance of the second user equipment that satisfies the D2D communication capability supported by the first user equipment and the second user equipment, and the identifier of the second user equipment and the Information of D2D communication capabilities that both the first user equipment and the second user equipment can support.
  • the acquiring, by the application layer, the location information of the first user equipment and the location information of the second user equipment includes: acquiring, by the application server, the first user equipment Position information of a user equipment, and acquiring location information of the second user equipment from the second user equipment;
  • the sending, by the application server, the indication that the D2D link is established to the first user equipment according to the distance between the first user equipment and the second user equipment specifically: the application server confirms the first user equipment and the The identifier of the second user equipment is less than or equal to a preset threshold, and the identifier of the second user equipment and the location information of the second user equipment are sent to the first user equipment.
  • the method further includes:
  • the first user equipment After the first user equipment receives the identifier of the second user equipment and the location information of the second user equipment, the first user equipment acquires information and information about the D2D communication capability of the first user equipment. Information about the D2D communication capability of the second user equipment;
  • a user equipment sends information of the identifier of the second user equipment and D2D communication capability supported by the first user equipment and the second user equipment to a D2D communication unit in the first user equipment.
  • the information about the D2D communication capability includes: a D2D transmission mode, the D2D The allowed transmission distance of the transmission mode;
  • the information that the distance between the first user equipment and the second user equipment meets the D2D communication capability that can be supported by the first user equipment and the second user equipment is specifically:
  • the information about the D2D communication capability further includes: a priority of the D2D transmission mode
  • the method further includes: confirming a D2D transmission mode with the highest priority from the D2D transmission mode that can satisfy the distance condition;
  • the information about the D2D communication capability that can be supported by the first user equipment includes: the information of the D2D transmission mode with the highest priority.
  • the information about the D2D communication capability further includes: a transmission rate of the D2D transmission mode;
  • the method further includes: determining a target D2D transmission mode according to a data volume size of the service data and a transmission rate of the D2D transmission mode;
  • the information about the D2D communication capability that can be supported by the first user equipment includes: the information about the determined target D2D transmission mode.
  • a device for discovering D2D communication includes: a location information acquiring unit, configured to acquire location information of a first user equipment and location information of a second user equipment;
  • a calculating unit configured to calculate a distance between the first user equipment and the second user equipment according to the location information of the first user equipment acquired by the location information acquiring unit and the location information of the second user equipment;
  • a sending unit configured to send, according to the distance between the first user equipment and the second user equipment, the first user equipment, an indication for establishing a D2D link, so that the first user equipment Establishing a D2D communication link with the second user equipment.
  • the capability information acquiring unit is further configured to acquire information about D2D communication capability of the first user equipment and information about D2D communication capability of the second user equipment;
  • the device further includes: a capability information confirming unit, configured to confirm that the distance between the first user equipment and the second user equipment meets D2D communication capabilities supported by the first user equipment and the second user equipment Information.
  • the apparatus further includes: a D2D communication unit configured to establish a D2D communication link;
  • the sending unit is specifically configured to: send, to the D2D communication unit, information about the identifier of the second user equipment and the D2D communication capability that the first user equipment and the second user equipment can support.
  • the device further includes: a distance confirmation unit, configured to confirm that a distance between the first user equipment and the second user equipment is less than or equal to a preset threshold;
  • the sending unit is further configured to: send an identifier of the second user equipment and location information of the second user equipment to an application server.
  • the sending unit is specifically configured to: send the identifier of the second user equipment to the first user equipment And information about D2D communication capabilities supported by the first user equipment and the second user equipment.
  • the device further includes: a distance confirmation unit, configured to confirm the first user equipment and the second The distance of the user equipment is less than or equal to the preset threshold;
  • the sending unit is further configured to: send the identifier of the second user equipment and the location information of the second user equipment to the first user equipment.
  • the information about the D2D communication capability includes: a D2D transmission mode, and an allowable transmission distance of the D2D transmission mode;
  • the capability information confirming unit is specifically configured to: confirm that the distance between the first user equipment and the second user equipment is less than or equal to the D2D transmission manner supported by the first user equipment and the second user equipment Allow for transmission distance.
  • the information about the D2D communication capability further includes: a priority of the D2D transmission mode; a transmission mode confirming unit, configured to confirm a D2D transmission mode with the highest priority from the D2D transmission mode that can support the distance condition;
  • the information about the D2D communication capability that can be supported by the sending unit to the first user equipment includes: the information of the D2D transmission mode with the highest priority.
  • the information about the D2D communication capability further includes: a transmission rate of the D2D transmission mode; a transmission mode confirming unit, configured to determine a target D2D transmission mode according to a data volume size of the service data and a transmission rate of the D2D transmission mode;
  • the D2D communication capability that the sending unit sends to the first user equipment can be supported.
  • the information of the force specifically includes: the information of the determined target D2D transmission mode.
  • a third aspect of the present invention provides a user equipment, including: a second aspect, a first possible implementation manner of the second aspect, a second possible implementation manner, a third possible implementation manner, and a sixth A device as described in any of the possible implementations, the seventh possible implementation, or the eighth possible implementation.
  • an application server provided by the embodiment of the present invention includes: a second possible aspect, a first possible implementation manner of the second aspect, a fourth possible implementation manner, a fifth possible implementation manner, and a sixth A device as described in any of the possible implementations, the seventh possible implementation, or the eighth possible implementation.
  • a fifth aspect of the present invention provides a D2D communication discovery system, comprising: the user equipment according to the third aspect, and the application server according to the fourth aspect.
  • the discovery of D2D communication can be automatically implemented in the application layer, and the application layer is the seventh layer of the computer network architecture OSI, and the application layer device, such as an application server or a user equipment, specifically obtains the first at the application layer.
  • the location information of the user equipment and the location information of the second user equipment so that the distance between the first user equipment and the second user equipment is calculated by the location information of the first user equipment and the location information of the second user equipment, by the first user equipment and The distance of the second user equipment sends an indication that the D2D link is established to the first user equipment, and the first user equipment and the second user equipment establish a D2D communication link.
  • the D2D communication can be implemented by the application server and the user equipment.
  • the discovery, or the discovery of the D2D communication by the two user equipments eliminates the need to deploy other devices, eliminates the need to deploy interfaces, reduces network signaling overhead, reduces power consumption, and obtains location information of user equipments at the application layer, for example, One or more combinations of GPS positioning, cell positioning, cloud positioning, etc. Acquiring position information mode, can support a variety of targeting methods to improve the positioning accuracy, optimize network performance.
  • FIG. 1 is a flowchart of a method for discovering D2D communication according to a first embodiment of the present invention
  • FIG. 2 is a flowchart of a method for discovering D2D communication according to a second embodiment of the present invention
  • FIG. 4 is a flowchart of a method for discovering D2D communication according to a fourth embodiment of the present invention
  • FIG. 5 is a flowchart of a method for discovering D2D communication according to a fourth embodiment of the present invention
  • FIG. 6 is a flowchart of a method for discovering D2D communication according to a sixth embodiment of the present invention
  • FIG. 7 is a device for discovering D2D communication according to a first embodiment of the present invention
  • FIG. 8 is a structural diagram of an application server according to an embodiment of the present invention
  • FIG. 9 is a structural diagram of a device for discovering D2D communication according to a second embodiment of the present invention
  • FIG. 10 is a structural diagram of a user equipment according to an embodiment of the present invention
  • Figure 11a is a schematic diagram of a D2D communication discovery system according to a first embodiment of the present invention
  • Figure 11b is a schematic diagram of a D2D communication discovery system according to a second embodiment of the present invention
  • FIG. 1 is a schematic diagram of a discovery system for D2D communication according to a fourth embodiment of the present invention
  • FIG. 1 is a D2D communication provided by a fifth embodiment of the present invention Schematic diagram of the discovery system.
  • the location information of the first user equipment and the location information of the second user equipment may be obtained at the application layer, where the application layer is the seventh of the computer network architecture OSI (Open Systems Interconnection) Layer, 0SI
  • the first layer to the seventh layer are respectively: physical layer, data link layer, network layer, transport layer, session layer, layer, application layer, application layer
  • the device may be an application server or a user device, and the application server is a server to which the application in the user device belongs, for example, an application server corresponding to the instant messaging application.
  • the D2D communication can be supported.
  • the user equipment UE is required to have the capability of D2D communication, for example, having the capability of supporting GPS positioning.
  • Function modules, etc. for a network element of a self-organizing network such as a non-cellular network, the UE is required to have the capability of supporting D2D communication, for example, a function module supporting WiFi (Wireless Fidelity, WLAN), Bluetooth, a port supporting a wired network, and the like. Wait.
  • the discovery of D2D communication may be implemented by the application server and the user equipment, or the discovery of D2D communication by the two user equipments.
  • D2D communication is implemented between two user equipments, for example, Bluetooth communication is implemented between two mobile phones.
  • the specific steps are as follows:
  • the terminal Bluetooth module can be always opened for scanning or the user manually works on the local end within the transmission distance of the Bluetooth support.
  • the operation opens the Bluetooth module and connects with the scanned peer Bluetooth.
  • the user can select the data to be transmitted by Bluetooth.
  • the local end and the peer end can transmit data through Bluetooth, and the process of D2D discovery and data transmission is completed.
  • manual intervention is required, the Bluetooth module is turned on, and the Bluetooth connection is selected. If the Bluetooth module is turned on for scanning, the D2D communication has a low hit rate and consumes the power of the device.
  • the data to be sent is transmitted to the server through the network, and then forwarded by the server, instead of directly receiving and transmitting data between the two devices, for example, after the user opens the application 1 on the computer, Click the "Send to my mobile device” option, open the communication window of the two devices, and then add the data to be transferred in this window: Document 1, the computer uploads the document 1 to the server of the application 1, and the server forwards the document 1 To the mobile phone, the mobile phone can receive the document sent by the computer, and the user opens the application 1 in the mobile phone, and can manually click to receive the document 1.
  • the server does not need to perform message content forwarding, but directly realizes sending and receiving of message content between two user equipments, and the D2D communication discovery process is automatically implemented without manual participation.
  • the discovery of the D2D communication can be automatically implemented in the application layer.
  • the location information of the first user equipment and the location information of the second user equipment can be obtained at the application layer, thereby The location information of the user equipment and the location information of the second user equipment are used to calculate the distance between the first user equipment and the second user equipment, and the distance between the first user equipment and the second user equipment is sent to the first user equipment to establish a D2D link. Instructing the first user equipment and the second user equipment to establish a D2D communication link, eliminating the need to deploy other devices, eliminating the need to deploy interfaces, reducing network signaling overhead, reducing power consumption, and acquiring location information of user equipments at the application layer.
  • location information can be obtained by one or more combinations of GPS positioning, cell positioning, or cloud positioning, which can support multiple positioning modes, improve positioning accuracy, and optimize network performance.
  • the method for discovering D2D communication provided by the embodiment of the present invention will be described in detail below with reference to FIG. 1 to FIG.
  • FIG. 1 is a flowchart of a method for discovering D2D communication according to a first embodiment of the present invention. As shown in FIG. 1, the method for discovering D2D communication provided by this embodiment includes: S101 ⁇ S103.
  • S101 Acquire, at an application layer, location information of the first user equipment and location information of the second user equipment.
  • location information may be obtained by one or more combinations of GPS positioning, cell positioning, cloud positioning, and OTDOA positioning.
  • the user equipment UE is required to have the capability of D2D communication, for example, the user equipment is required to have a function module supporting GPS positioning, OTDOA positioning, etc., for a network of an ad hoc network such as a non-cellular network.
  • the UE is required to have the capability of supporting D2D communication, for example, having a function module supporting WiFi, Bluetooth, a port supporting a wired network, and the like.
  • the location information may include a network IP address of the user equipment, a latitude and longitude of the location where the user equipment is located, or location information determined by the registered address of the account of the application or the access path of the user equipment.
  • the embodiment of the present invention may include at least two user equipments.
  • D2D communication can be performed between two user equipments, and any one of them can be called: the first user equipment, and the other is called: the second user equipment.
  • the location information may be obtained by one of the following three methods, or may be other
  • the first mode is not limited by the embodiment of the present invention.
  • the three modes are distributed as follows: Mode 1: The second user equipment actively reports the location information of the second user equipment to the first user equipment, and the second mode: the first user equipment
  • the second user equipment sends a location query request, and the second user equipment sends the location information of the second user equipment to the first user equipment according to the location query request.
  • the third user equipment requests the application server to obtain the location information of the second user equipment.
  • the application server acquires location information of the second user equipment in advance.
  • the location information may be obtained by using one of the following two methods, and may be other implementation manners, which are not specifically limited by the embodiment of the present invention.
  • Method 1 The application server may send a location query request to the first user equipment and the second user equipment, where the first user equipment sends the location information of the first user equipment to the application server, and the second user equipment sends the second user equipment to the application server.
  • Location information, the second mode the first user equipment actively sends the location information of the first user equipment to the application server, and the second user equipment actively sends the location information of the second user equipment to the application server.
  • the distance between the first user equipment and the second user equipment may be calculated according to the location information of the first user equipment and the location information of the second user equipment, for example, according to the latitude and longitude of the first user equipment, and The latitude and longitude of the second user equipment may calculate the relative distance between the first user equipment and the second user equipment (eg, 5 meters, 4 meters, etc.).
  • This step can be performed by the application server or the user equipment. For the specific implementation process, refer to FIG. 2 and FIG. 3.
  • the first user equipment sends an indication of establishing a D2D link to the first user equipment according to the distance between the first user equipment and the second user equipment. Further, the information about the D2D communication capability of the first user equipment may also be acquired. The information of the D2D communication capability of the second user equipment may also be obtained. Specifically, it can be determined whether the distance between the first user equipment and the second user equipment meets the information of the D2D communication capability that can be supported by the first user equipment and the second user equipment.
  • the information of the D2D communication capability includes but is not limited to: an allowable transmission distance of the D2D transmission mode and the D2D transmission mode.
  • the information of the D2D communication capability may also include: The transmission rate and the like of the pre- or D2D transmission mode are not limited by the embodiment of the present invention.
  • the information of the D2D communication capability is as shown in the following table.
  • the D2D transmission mode is, for example, Bluetooth, WiFi, or cellular network.
  • the transmission rate of the D2D transmission mode is the maximum transmission rate of the D2D transmission mode in the following table, and the D2D transmission mode is preferred.
  • the level can be set to 0 ⁇ 2 for a total of 3 levels. The higher the level, the more preferred the D2D transmission mode.
  • the information that the distance between the first user equipment and the second user equipment meets the D2D communication capability that can be supported by the first user equipment and the second user equipment may be:
  • the distance is less than or equal to the allowable transmission distance of the D2D transmission mode supported by both the first user equipment and the second user equipment.
  • the distance between the first user equipment and the second user equipment is calculated to be 5 meters, and the information of the D2D communication capability of the first user equipment and the D2D communication capability of the second user equipment are determined.
  • a user equipment supports Bluetooth 3.0
  • a second user equipment supports Bluetooth 3.0
  • Bluetooth 3.0 allows a transmission distance of 10 meters
  • 5 meters is less than 10 meters, so that the distance between the first user equipment and the second user equipment can be determined to satisfy the first user equipment.
  • the D2D transmission mode of the first user equipment and the second user equipment is determined to be: Bluetooth, and the indication for establishing the D2D link is sent to the first user equipment, D2D
  • the indication of the link includes the determined D2D transmission mode: Bluetooth, so that the first user equipment and the second user equipment establish a D2D communication link according to the D2D link indication.
  • the D2D transmission mode with the highest priority can be confirmed from the D2D transmission mode that can support the above-mentioned distance conditions, so that the information of the D2D communication capability that can be transmitted to the first user equipment can be specifically Includes: Information on the highest priority D2D transmission method confirmed.
  • the priorities of the multiple D2D transmission modes can be compared, and the D2D transmission mode with the highest priority is determined as the target transmission mode, thereby
  • the information of the D2D communication capability that can be supported by the first user equipment may specifically include: information of the D2D transmission mode with the highest priority.
  • the target D2D transmission mode may be determined according to the data volume size of the service data and the transmission rate of the D2D transmission mode.
  • the information about the D2D communication capability that can be supported by the first user equipment includes: The target D2D transmission mode information.
  • the service request when receiving the service request, may include: a data volume size of the service data, if there are multiple D2D transmission modes that can be supported by the foregoing distance condition, according to the data volume size of the service data
  • the transmission rate of multiple D2D transmission modes specifically, the task execution time can be calculated from the data volume size and the transmission rate of the service data, and the D2D transmission mode with the shortest task execution time is determined as the target transmission mode, thereby being sent to the first user equipment.
  • the determined target transmission mode may be included in the D2D link access indication.
  • the present invention provides a method for discovering D2D communication, which can automatically realize the discovery of D2D communication at the application layer, such as an application server or a user equipment of the application layer.
  • the location information of the first user equipment can be obtained at the application layer.
  • the location information of the second user equipment so that the distance between the first user equipment and the second user equipment is calculated by the location information of the first user equipment and the location information of the second user equipment, and the distance between the first user equipment and the second user equipment Sending an indication of establishing a D2D link to the first user equipment, and then the first user equipment and the second user equipment establish a D2D communication link.
  • the discovery of the D2D communication may be implemented by the application server and the user equipment, or two
  • the user equipment implements the discovery of D2D communication, eliminates the need to deploy other devices, eliminates the need to deploy interfaces, reduces network signaling overhead, reduces power consumption, and obtains location information of user equipments at the application layer, for example, through GPS positioning and cell positioning. Or one or more combinations of cloud positioning to obtain a location
  • the information can support multiple positioning methods, improve positioning accuracy and optimize network performance.
  • the obtaining of the location information is performed at the application layer, but may be implemented on the application server or the user equipment.
  • the distance between the user equipments may also be on the application server or the user equipment.
  • Figure 4, Figure 5, and Figure 6 respectively provide signaling flow diagrams based on differences in execution subjects, or differences in processes. Ming, other content will not be described here.
  • FIG. 4 is a signaling flow diagram of a method for discovering D2D communication provided by the present invention. As shown in FIG. 4, the method for discovering D2D communication provided by this embodiment includes: S401 ⁇ S409.
  • the first user equipment acquires location information of the first user equipment.
  • the first user equipment receives location information of the second user equipment that is sent by the second user equipment.
  • the first user equipment may send a location query request to the second user equipment, where the second user equipment sends the location information of the second user equipment to the first user equipment according to the location query request, and further, The user equipment can report the location information of the second user equipment to the first user equipment.
  • the location information may be obtained by one or more combinations of GPS positioning, cell positioning, cloud positioning, or OTDOA positioning.
  • the first user equipment calculates a distance between the first user equipment and the second user equipment according to the location information of the first user equipment and the location information of the second user equipment.
  • the first user equipment confirms that the distance between the first user equipment and the second user equipment is less than or equal to a preset threshold.
  • the first user equipment determines that the distance between the first user equipment and the second user equipment is less than or equal to a preset threshold, where the preset threshold may be a preset editable distance value, for example, 10m, 50m, 100m, etc. Further, the preset threshold can also correspond to the D2D transmission mode. For example, the default threshold for Bluetooth is 10m, and the preset threshold for Wi-Fi is 600m.
  • the first user equipment sends the identifier of the second user equipment and the location information of the second user equipment to the application server.
  • the first user equipment after determining that the distance between the first user equipment and the second user equipment is less than or equal to a preset threshold, the first user equipment sends the identifier of the second user equipment and the second user equipment to the application server. Location information.
  • the application server obtains information about the D2D communication capability of the second user equipment according to the identifier of the second user equipment and the location information of the second user equipment.
  • the application server is located by the second user equipment and the second user The identifier of the device may send a capability information query request to the second user equipment, so that the second user equipment may send the information of the D2D communication capability of the second user equipment to the application server according to the capability information query request. Further, the application server may also obtain the information of the D2D communication capability of the second user equipment from the D2D server, where the D2D server acquires the information of the D2D communication capability of the second user equipment from the second user equipment, and according to the second The identity of the user device is stored.
  • the application server acquires information about the D2D communication capability of the first user equipment from the first user equipment.
  • the information of the D2D communication capability can be obtained by one of the following three methods, or can be other implementation manners.
  • Manner 1 The application server may send a capability information query request to the first user equipment, and the first user equipment sends the information of the D2D communication capability of the first user equipment to the application server.
  • the second method the first user equipment sends the first to the application server.
  • Method 3 The application server may also obtain the information of the D2D communication capability of the first user equipment from the D2D server, where the D2D server obtains the D2D communication capability of the first user equipment from the first user equipment in advance. Information, and stored according to the identity of the first user equipment.
  • the application server determines information that the distance between the first user equipment and the second user equipment meets the D2D communication capability that can be supported by the first user equipment and the second user equipment.
  • the information of the D2D communication capability includes but is not limited to: the D2D transmission mode, the allowed transmission distance of the D2D transmission mode, and the information of the D2D communication capability may further include: a limitation of the example.
  • the application server confirms that the distance between the first user equipment and the second user equipment is less than or equal to the allowed transmission distance of the D2D transmission mode supported by the first user equipment and the second user equipment.
  • the application server sends, to the first user equipment, information about the identifier of the second user equipment and the D2D communication capability that can be supported by the first user equipment and the second user equipment.
  • the second user equipment ID and D2D that both the first user device and the second user device can support The information of the communication capability is sent to the first user equipment, so that the first user equipment receives the identifier of the second user equipment sent by the application server and can be supported by both the first user equipment and the second user equipment.
  • the information of the D2D communication capability is established with the second user equipment to establish a D2D link.
  • the first user equipment can actively establish D2D communication with the second user equipment, and can also establish D2D communication with the second user equipment when receiving the task request, and can also identify the identifier of the first user equipment and the first user equipment.
  • the information of the D2D communication capability that can be supported by the two user equipments is sent to the second user equipment, so that the second user equipment can initiate a request for establishing D2D communication to the first user equipment.
  • the D2D communication discovery method is implemented in the application layer, and the D2D communication is discovered by the user equipment and the application server, so that D2D communication can be implemented between the first user equipment and the second user equipment, and no other equipment needs to be deployed.
  • the network signaling overhead is reduced
  • the power consumption is reduced
  • the user equipment in the application layer obtains the location information of the user equipment, for example, one or more of GPS positioning, cell positioning, cloud positioning, and the like.
  • the combined way to obtain location information can support multiple positioning methods, improve positioning accuracy, and optimize network performance.
  • the application server may obtain information about the D2D communication capability of the second user equipment by using the location of the second user equipment and the identifier of the second user equipment.
  • the information of the D2D communication capability can be obtained by one of the following four methods, and can be other implementation manners, and is not limited by the embodiment of the present invention.
  • the four modes are:
  • the application server may send a capability information query request to the second user equipment, where the second user equipment sends the information of the D2D communication capability of the second user equipment to the application server;
  • Manner 2 The second user equipment actively sends information about the D2D communication capability of the second user equipment to the application server.
  • the D2D of the second user equipment is directly searched from the local storage according to the identifier of the second user equipment.
  • Manner 4 If the application server to which the application of the first user device belongs is the first application server and the application server to which the application of the second user device belongs is the second application server, the first application server The second application server acquires information about the D2D communication capability of the second user equipment, where the second application server acquires information of the D2D communication capability of the second user equipment from the second user equipment in advance.
  • a D2D server may be included, that is, the D2D server to which the first user equipment belongs and the D2D server to which the second user equipment belongs are the same application server, and may also include two D2D servers, that is, The D2D server to which the first user equipment belongs is the first D2D server, and the D2D server to which the second user equipment belongs is the second D2D server.
  • the D2D server to which the first user equipment belongs is the first D2D server
  • the D2D server to which the second user equipment belongs is the second D2D server.
  • the first user equipment and the second user equipment are both connected to the D2D server of the same communication carrier's cellular network, and for the Bluetooth or Wi-Fi D2D transmission mode, the D2D server can be deployed in the D2D communication user equipment.
  • Any host or any network element that is accessed, for example, may be deployed in a wireless router, for example, a user device such as a desktop computer, a notebook computer, a tablet computer, or a smart phone that accesses the wireless router through WiFi or a network cable.
  • a user device such as a desktop computer, a notebook computer, a tablet computer, or a smart phone that accesses the wireless router through WiFi or a network cable.
  • the user equipment needs to have a function module supporting D2D communication capability, such as a wireless network card or a Bluetooth adapter connected to a desktop computer.
  • the address of the D2D server can be obtained by using broadcast information, communication parameters provided by the operator, network card subscription data, or a communication protocol, and the first D2D server can obtain the address of the second D2D server, thereby The first D2D server can interactively communicate with the second D2D server to determine D2D link parameters.
  • the first user equipment establishes a D2D link with the second user equipment according to the D2D link parameter, the identifier of the second user equipment, and the D2D communication capability supported by the first user equipment and the second user equipment.
  • the first user equipment may establish a connection with the second user equipment according to the D2D link parameter, and the information of the D2D communication capability supported by the first user equipment and the second user equipment, and the second The user equipment establishes a D2D link.
  • the present invention provides a method for discovering D2D communication, where the first user equipment can separately obtain the location information of the first user equipment and the location information of the second user equipment, so that the location information of the first user equipment and the second user equipment can be obtained.
  • the location information calculates a distance between the first user equipment and the second user equipment, and after the first user equipment confirms that the distance between the first user equipment and the second user equipment is less than or equal to a preset threshold, sends the second user equipment to the application server.
  • the location information of the second user equipment, and the application server may obtain the information of the D2D communication capability of the first user equipment and the D2D communication capability of the second user equipment, respectively, and confirm the first user equipment and the second user equipment.
  • the information of the D2D communication capability that can be supported by the first user equipment and the second user equipment is sent, and the identifier of the second user equipment and the D2D communication capability supported by the first user equipment and the second user equipment are sent to the first user equipment.
  • the D2D link parameter may be obtained from the D2D server, and the first user equipment and the second user equipment may obtain information about the D2D communication capability supported by the first user equipment and the second user equipment according to the D2D link parameter. , establish D2D communication, optimize the network, and reduce link interference.
  • the D2D communication discovery method is implemented in the application layer, and the D2D communication is discovered by the user equipment and the application server, so that D2D communication can be implemented between the first user equipment and the second user equipment, and network signaling is reduced.
  • the power consumption is reduced, and the user equipment in the application layer obtains the location information of the user equipment.
  • the location information can be obtained by one or more combinations of GPS positioning, cell positioning, or cloud positioning. The positioning method improves positioning accuracy and optimizes network performance.
  • the device for discovering D2D communication provided by the embodiment of the present invention will be described in detail below with reference to FIG. 7 and FIG.
  • FIG. 7 is a schematic structural diagram of a device for discovering D2D communication according to a first embodiment of the present invention. It should be noted that the discovery device of the D2D communication shown in FIG. 7 is used to perform the method of the embodiment shown in FIG. 1 or FIG. 2 of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the embodiment shown in FIG. 1 or FIG. 2 of the present invention.
  • the device for discovering D2D communication may be a user equipment, where the user equipment may be a mobile user equipment, a PC, a device serving global communication, or another type of user equipment, and a specific user.
  • the implementation of the device is not limited.
  • the embodiment of the present invention may include at least two user equipments. Specifically, D2D communication can be performed between two user equipments, and any one of them can be called: the first user equipment, and the other is called: the second user equipment. Further, the device for discovering the D2D communication in the embodiment of the present invention may be a first user device or a second user device, which is not limited by the embodiment of the present invention.
  • the device shown in FIG. 7 is described as a first user equipment.
  • the apparatus may include: a location information acquisition unit 701, a calculation unit 702, and a transmission unit 703.
  • the location information obtaining unit 701 is configured to acquire location information of the first user equipment and location information of the second user equipment.
  • location information may be obtained by one or more combinations of GPS positioning, cell positioning, cloud positioning, and OTDOA positioning.
  • the user equipment UE is required to have the capability of D2D communication, for example, the user equipment is required to have a function module supporting GPS positioning, OTDOA positioning, etc., for a network of an ad hoc network such as a non-cellular network.
  • the UE is required to have the capability of supporting D2D communication, for example, having a function module supporting WiFi, Bluetooth, a port supporting a wired network, and the like.
  • the location information may include a network IP address of the user equipment, a latitude and longitude of the location where the user equipment is located, or location information determined by the registered address of the account of the application or the access path of the user equipment.
  • the location information may be obtained by one of the following three methods, and may be other implementation manners, which are not limited by the embodiment of the present invention.
  • the three manners are: The user equipment actively reports the location information of the second user equipment. The second user equipment sends a location query request to the second user equipment, and the second user equipment sends the location information of the second user equipment to the first user equipment according to the location query request. The third user equipment requests the application server to obtain the location information of the second user equipment, where the application server obtains the location information of the second user equipment in advance.
  • the calculating unit 702 is configured to calculate a distance between the first user equipment and the second user equipment according to the location information of the first user equipment acquired by the location information acquiring unit 701 and the location information of the second user equipment.
  • the distance between the first user equipment and the second user equipment may be calculated according to the location information of the first user equipment and the location information of the second user equipment, for example, according to the latitude and longitude of the first user equipment, and The latitude and longitude of the second user equipment may calculate the relative distance between the first user equipment and the second user equipment (eg, 5 meters, 4 meters, etc.).
  • the sending unit 703 is configured to send, according to the distance between the first user equipment and the second user equipment calculated by the calculating unit 702, an indication of establishing a D2D link to the first user equipment, so that the first user equipment and the second user equipment establish D2D communication. link.
  • the device for discovering D2D communication may further include: The capability information acquisition unit 704 and the capability information confirmation unit 705.
  • the capability information obtaining unit 704 is further configured to acquire information of the D2D communication capability of the first user equipment and information of the D2D communication capability of the second user equipment.
  • the capability information confirming unit 705 is configured to confirm that the distance between the first user equipment and the second user equipment satisfies the D2D communication capability supported by the first user equipment and the second user equipment.
  • the capability information acquiring unit 704 may directly acquire information of the D2D communication capability of the second user equipment from the second user equipment. Further, the capability information acquiring unit 704 may also acquire information about the D2D communication capability of the second user equipment from the application server, where the application server acquires information about the D2D communication capability of the second user equipment from the second user equipment in advance, and The storage is performed according to the identifier of the second user equipment. Further, the capability information obtaining unit 704 may also obtain the information of the D2D communication capability of the second user equipment from the D2D server, where the D2D server acquires the information of the D2D communication capability of the second user equipment in advance, and The storage is performed according to the identifier of the second user equipment.
  • the information of the D2D communication capability includes, but is not limited to, the allowable transmission distance of the D2D transmission mode or the D2D transmission mode.
  • the information of the D2D communication capability may further include: a priority of the D2D transmission mode or a transmission rate of the D2D transmission mode, and the like, which is not limited by the embodiment of the present invention.
  • the information of the D2D communication capability is as shown in the following table.
  • the D2D transmission mode such as Bluetooth, WiFi, cellular network, etc.
  • the transmission rate of the D2D transmission mode is the maximum transmission rate of the D2D transmission mode in the following table, and the D2D transmission mode is preferred.
  • the level can be set to 0 ⁇ 2 for a total of 3 levels. The higher the level, the more preferred the D2D transmission mode.
  • the capability information confirming unit 705 is specifically configured to: confirm the first user equipment and the first The distance between the two user equipments is less than or equal to the allowed transmission distance of the D2D transmission mode supported by the first user equipment and the second user equipment.
  • the calculating unit 702 calculates that the distance between the first user equipment and the second user equipment is 5 meters, the information of the D2D communication capability of the first user equipment acquired, and the D2D communication capability of the second user equipment.
  • the information determines that the first user equipment supports Bluetooth 3.0, the second user equipment supports Bluetooth 3.0, and the Bluetooth 3.0 allows the transmission distance to be 10 meters, and the 5 meters is less than 10 meters, and the distance between the first user equipment and the second user equipment can be determined to be satisfied.
  • the D2D communication capability of the first user equipment and the second user equipment may be determined as: Bluetooth, and the D2D link is sent to the first user equipment.
  • the indication of the D2D link includes the determined D2D transmission mode: Bluetooth, so that the first user equipment and the second user equipment establish a D2D communication link according to the D2D link indication.
  • the device for discovering D2D communication may further include: a transmission mode confirming unit 706.
  • the transmission mode confirming unit 706 is configured to confirm the D2D transmission mode with the highest priority from the D2D transmission modes that can satisfy the distance condition.
  • the information about the D2D communication capability that the sending unit 703 sends to the first user equipment includes: the information of the D2D transmission mode with the highest priority.
  • the priorities of the multiple D2D transmission modes can be compared, and the D2D transmission mode with the highest priority is determined as the target transmission mode, thereby
  • the information of the D2D communication capability that can be supported by the first user equipment may specifically include: information of the D2D transmission mode with the highest priority.
  • the transmission mode confirming unit 706 is further configured to determine the target D2D transmission mode according to the data amount of the service data and the transmission rate of the D2D transmission mode.
  • the information about the D2D communication capability that the sending unit 703 sends to the first user equipment specifically includes: the information of the determined target D2D transmission mode.
  • the service request when receiving the service request, may include: a data volume size of the service data, if there are multiple D2D transmission modes that can be supported by the foregoing distance condition, according to the data volume size of the service data Transmission rate of multiple D2D transmission modes, specifically, the number of services
  • the task execution time is calculated according to the data size and the transmission rate, and the D2D transmission mode with the shortest task execution time is determined as the target transmission mode, so that the determined target transmission may be included in the D2D link access indication sent to the first user equipment. the way.
  • the device for discovering D2D communication may further include: a D2D communication unit 707.
  • a D2D communication unit 707 is a D2D communication unit for establishing a D2D communication link.
  • the sending unit 703 is specifically configured to: send, to the D2D communication unit 707, the identifier of the second user equipment and the information of the D2D communication capability that can be supported by the first user equipment and the second user equipment.
  • the sending unit 703 send, to the D2D communication unit 707 in the first user equipment, information about the identifier of the second user equipment and the D2D communication capability that can be supported by the first user equipment and the second user equipment.
  • the D2D communication unit 707 establishes a D2D communication link, and the D2D communication unit 707 can actively establish D2D communication with the second user equipment, and can also establish D2D communication with the second user equipment when receiving the task request, and can also be the first
  • the information of the user equipment and the D2D communication capability supported by the first user equipment and the second user equipment are sent to the second user equipment, so that the second user equipment can initiate a request for establishing D2D communication to the first user equipment.
  • the device for discovering D2D communication may further include: a distance confirmation unit 708.
  • the distance confirmation unit 708 is configured to confirm that the distance between the first user equipment and the second user equipment is less than or equal to a preset threshold.
  • the sending unit 703 is further configured to: send the identifier of the second user equipment and the location information of the second user equipment to the application server.
  • the distance confirmation unit 708 confirms that the distance between the first user equipment and the second user equipment is less than or equal to a preset threshold, wherein the preset threshold may be a preset editable distance value, for example, 10m, 50m, 100m, etc. Further, the preset threshold can also correspond to the D2D transmission mode. For example, the preset threshold of Bluetooth corresponds to 10m, and the preset threshold of WiFi corresponds to 600m. Further, after the distance confirmation unit 708 confirms that the distance between the first user equipment and the second user equipment is less than or equal to the preset threshold, the sending unit 703 sends the identifier of the second user equipment and the location information of the second user equipment to the application server.
  • the preset threshold may be a preset editable distance value, for example, 10m, 50m, 100m, etc.
  • the preset threshold can also correspond to the D2D transmission mode. For example, the preset threshold of Bluetooth corresponds to 10m, and the preset threshold of WiFi corresponds to 600m.
  • the application server obtains the information of the D2D communication capability of the first user equipment and the D2D communication capability of the second user equipment, and confirms that the distance between the first user equipment and the second user equipment meets both the first user equipment and the second user equipment.
  • the information of the D2D communication capability that can be supported is sent to the first user equipment by the identifier of the second user equipment and the D2D communication capability supported by the first user equipment and the second user equipment.
  • a device for discovering D2D communication where the location information acquiring unit can obtain location information of the first user equipment and location information of the second user equipment, and the capability information acquiring unit can obtain the D2D communication capability of the first user equipment.
  • the information and the information of the D2D communication capability of the second user equipment so that the computing unit can calculate the distance between the first user equipment and the second user equipment according to the location information of the first user equipment and the location information of the second user equipment, and confirm When the distance between the first user equipment and the second user equipment meets the D2D communication capability supported by the first user equipment and the second user equipment, the sending unit sends the second user equipment to the D2D communication unit in the first user equipment.
  • the method for discovering D2D communication in the application layer is implemented only between two user devices, no need to deploy other devices, no need to deploy interfaces, reducing network signaling overhead, reducing power consumption, and applying
  • the layer obtains the location information of the user equipment.
  • the location information can be obtained by one or more combinations of GPS positioning, cell positioning, or cloud positioning.
  • the multiple positioning modes can be supported, the positioning accuracy is improved, and the network performance can be optimized.
  • the sending unit in this embodiment may be a transmitter of the user equipment; in addition, the receiving unit and the sending unit may be integrated to form a transceiver of the user equipment.
  • the location information acquisition unit and the calculation unit may be separately set up processors, or may be integrated in one processor of the user equipment, or may be stored in the memory of the user equipment in the form of program code, by the user equipment.
  • a processor calls and executes the functions of the above tracking task creation unit.
  • the capability information acquisition unit, the capability information confirmation unit, the D2D communication unit, the distance confirmation unit, or the transmission mode confirmation unit are implemented as the same calculation unit, and can be integrated with the location information acquisition unit and the calculation unit. It can also be implemented independently.
  • the processor described herein can be a central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.
  • FIG. 8 is a schematic structural diagram of a user equipment according to an embodiment of the present invention.
  • the user equipment provided in this embodiment corresponds to the method shown in FIG. 2, and is based on the discovery of D2D communication shown in FIG. 2 .
  • the user equipment provided by the embodiment of the present invention may be a mobile user equipment, a PC, a device serving global communication, or another type of user equipment.
  • the implementation form of the specific user equipment is not limited.
  • the specific implementation is as shown in FIG. 8.
  • the user equipment in the embodiment of the present invention may include: a receiver 801, a transmitter 802, a memory 803, and a processor 804, where the receiver 801, the transmitter 802, and the memory 803 are both processed.
  • the 804 is connected, for example, via a bus.
  • the user equipment may also include a common component such as an antenna, an input/output device, and the like, and the embodiment of the present invention is not limited thereto.
  • Receiver 801 and transmitter 802 can be integrated to form a transceiver.
  • Memory 803 is for storing executable program code, the program code including computer operating instructions.
  • Memory 803 may contain high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • Processor 804 can be a central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 803 stores a set of program codes
  • the processor 804 is configured to call the program code stored in the memory 803 to perform the following operations:
  • the processor 804 is further configured to: obtain information about D2D communication capability of the first user equipment; and acquire information about D2D communication capability of the second user equipment;
  • the processor 804 passes the transmitter according to the distance between the first user equipment and the second user equipment. And the sending, by the 802, the indication that the D2D communication capability is supported by the first user equipment and the second user equipment is: Information of the identity of the second user equipment and the D2D communication capabilities supported by both the first user equipment and the second user equipment are transmitted to the D2D communication unit in the processor 804.
  • the processor 804 is further configured to: confirm that the distance between the first user equipment and the second user equipment is less than or equal to a preset threshold, and send the identifier of the second user equipment and the second user to the application server. Location information of the device.
  • the information of the D2D communication capability includes: a D2D transmission mode, and an allowable transmission distance of the D2D transmission mode;
  • the processor 804 confirms that the distance between the first user equipment and the second user equipment meets the D2D communication capability that can be supported by the first user equipment and the second user equipment, and specifically includes:
  • the distance between the first user equipment and the second user equipment is less than or equal to the allowable transmission distance of the D2D transmission mode supported by the first user equipment and the second user equipment.
  • the information of the D2D communication capability further includes: a priority of the D2D transmission mode
  • the processor 804 is further configured to: confirm a D2D transmission mode with the highest priority from a D2D transmission mode that can support the distance condition;
  • the information of the D2D communication capability that the processor 804 sends to the first user equipment through the transmitter 802 specifically includes: the information of the D2D transmission mode with the highest priority.
  • the information about the D2D communication capability further includes: a transmission rate of the D2D transmission mode;
  • the processor 804 is further configured to: determine a target D2D transmission mode according to a data volume size of the service data and a transmission rate of the D2D transmission mode;
  • the information of the D2D communication capability that the processor 804 sends to the first user equipment through the transmitter 802 specifically includes: information about the determined target D2D transmission mode.
  • a user equipment including: a receiver, a transmitter, a memory, and a processor, where the processor can acquire location information of the first user equipment, location information of the second user equipment, and D2D of the first user equipment.
  • the processor can acquire location information of the first user equipment, location information of the second user equipment, and D2D of the first user equipment.
  • Letter of communication capability and letter of D2D communication capability of the second user equipment The distance between the first user equipment and the second user equipment is calculated according to the location information of the first user equipment and the location information of the second user equipment, and the distance between the first user equipment and the second user equipment is confirmed to be the first.
  • the D2D communication unit in the processor And transmitting, by the D2D communication unit in the processor, the identifier of the second user equipment and the D2D communication capability supported by the first user equipment and the second user equipment, when the information of the D2D communication capability supported by the user equipment and the second user equipment is The information, and thus the first user equipment, can establish D2D communication with the second user equipment.
  • the method for discovering D2D communication in the application layer is implemented only between two user devices, no need to deploy other devices, no need to deploy interfaces, reducing network signaling overhead, reducing power consumption, and applying
  • the layer obtains the location information of the user equipment.
  • location information can be obtained by one or more combinations of GPS positioning, cell positioning, and cloud positioning.
  • FIG. 9 is a schematic structural diagram of a device for discovering D2D communication according to a second embodiment of the present invention. It should be noted that the discovery device of the D2D communication shown in FIG. 9 is used to execute the method of the embodiment shown in FIG. 1 or 3 of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown. The specific technical details are not disclosed, please refer to the embodiment shown in Fig. 1 or 3 of the present invention. Further, the device for discovering D2D communication provided by the embodiment of the present invention may be an application server.
  • the apparatus may include: a location information acquisition unit 901, a calculation unit 902, and a transmission unit 903.
  • the location information obtaining unit 901 is configured to acquire location information of the first user equipment and location information of the second user equipment.
  • location information may be obtained by one or more combinations of GPS positioning, cell positioning, cloud positioning, and OTDOA positioning.
  • the location information may include a network IP address of the user equipment, a latitude and longitude of the location where the user equipment is located, and location information determined by the registered address of the account of the application or the access path of the user equipment.
  • the location information may be obtained by one of the following two methods, and may be other implementation manners, which are not limited by the embodiment of the present invention.
  • the two modes are as follows: Method 1: The application server may be used to the first user. The device and the second user equipment send a location query request, and the first user equipment responds Sending, by the server, location information of the first user equipment, where the second user equipment sends the location information of the second user equipment to the application server, where the second user equipment actively sends the location information of the first user equipment to the application server, and the second user The device actively sends the location information of the second user equipment to the application server.
  • the embodiment of the present invention may include at least two user equipments.
  • D2D communication can be performed between two user equipments, and any one of them can be called: the first user equipment, and the other is called: the second user equipment.
  • the calculating unit 902 is configured to calculate a distance between the first user equipment and the second user equipment according to the location information of the first user equipment acquired by the location information acquiring unit 901 and the location information of the second user equipment.
  • the calculating unit 902 may calculate the distance between the first user equipment and the second user equipment according to the location information of the first user equipment and the location information of the second user equipment, for example, according to the first user equipment.
  • the latitude and longitude of the second user equipment and the latitude and longitude of the second user equipment can calculate the relative distance between the first user equipment and the second user equipment (eg, 5 meters, 4 meters, etc.).
  • the sending unit 903 is configured to send, according to the distance between the first user equipment and the second user equipment calculated by the calculating unit 902, an indication of establishing a D2D link to the first user equipment, so that the first user equipment and the second user equipment establish D2D communication. link.
  • the device for discovering D2D communication may further include: a capability information acquiring unit 904 and a capability information confirming unit 905.
  • the capability information obtaining unit 904 is further configured to acquire information about the D2D communication capability of the first user equipment and the D2D communication capability of the second user equipment.
  • the capability information confirming unit 905 is configured to confirm that the distance between the first user equipment and the second user equipment satisfies the D2D communication capability supported by the first user equipment and the second user equipment.
  • the capability information acquiring unit 904 may implement the information of the D2D communication capability in one of the following three manners, and may be other implementation manners, which are not specifically limited by the embodiments of the present invention.
  • the mode is as follows: Method 1: The application server may send a capability information query request to the first user device and the second user device, where the first user device sends information about the D2D communication capability of the first user device to the application server, where the second user device sends The application server sends the information of the D2D communication capability of the second user equipment, and the second method: the first user equipment actively sends the information to the application server.
  • the information is stored according to the identifier of the second user equipment and the identifier of the first user equipment.
  • the information of the D2D communication capability includes but is not limited to: the D2D transmission mode and the allowed transmission distance of the D2D transmission mode, and the information of the D2D communication capability may further include: a priority of the D2D transmission mode or a transmission rate of the D2D transmission mode, etc. It is not limited by the embodiments of the present invention.
  • the information of the D2D communication capability is as shown in the following table.
  • the D2D transmission mode such as Bluetooth, WiFi, cellular network, etc.
  • the transmission rate of the D2D transmission mode is the maximum transmission rate of the D2D transmission mode in the following table, and the D2D transmission mode is preferred.
  • the level can be set to 0 ⁇ 2 for a total of 3 levels. The higher the level, the more preferred the D2D transmission mode.
  • the capability information confirming unit 904 is specifically configured to: confirm that the distance between the first user equipment and the second user equipment is less than or equal to the allowed transmission distance of the D2D transmission mode supported by the first user equipment and the second user equipment.
  • the calculating unit 902 calculates information about the D2D communication capability of the first user equipment acquired by the capability information acquiring unit 904 and the second user equipment, where the distance between the first user equipment and the second user equipment is 5 meters.
  • the information of the D2D communication capability determines that the first user equipment supports Bluetooth 3.0, the second user equipment supports Bluetooth 3.0, and the Bluetooth 3.0 allows a transmission distance of 10 meters, and 5 meters is less than 10 meters, and the first user equipment and the second device can be determined.
  • the distance of the user equipment meets the first user setting
  • the information about the D2D communication capability that can be supported by the second user equipment is determined, and the D2D transmission mode of the first user equipment and the second user equipment is determined as: Bluetooth, and the indication for establishing the D2D link is sent to the first user equipment,
  • the indication of the D2D link includes a determined D2D transmission mode: Bluetooth, so that the first user equipment and the second user equipment establish a D2D communication link according to the D2D link indication.
  • the device for discovering D2D communication may further include: a transmission mode confirming unit 906.
  • the transmission mode confirming unit 906 is configured to confirm the D2D transmission mode with the highest priority from the D2D transmission mode that can satisfy the distance condition.
  • the information about the D2D communication capability that the sending unit 903 sends to the first user equipment includes: the information of the D2D transmission mode with the highest priority.
  • the priorities of the multiple D2D transmission modes can be compared, and the D2D transmission mode with the highest priority is determined as the target transmission mode, thereby
  • the information of the D2D communication capability that can be supported by the first user equipment may specifically include: information of the D2D transmission mode with the highest priority.
  • the transmission mode confirming unit 906 is further configured to determine the target D2D transmission mode according to the data amount of the service data and the transmission rate of the D2D transmission mode.
  • the information about the D2D communication capability that the sending unit 903 sends to the first user equipment specifically includes: the information of the determined target D2D transmission mode.
  • the service request when receiving the service request, may include: a data volume size of the service data, if there are multiple D2D transmission modes that can be supported by the foregoing distance condition, according to the data volume size of the service data
  • the transmission rate of multiple D2D transmission modes specifically, the task execution time can be calculated from the data volume size and the transmission rate of the service data, and the D2D transmission mode with the shortest task execution time is determined as the target transmission mode, thereby being sent to the first user equipment.
  • the determined target transmission mode may be included in the D2D link access indication.
  • the first user equipment may send the identifier of the second user equipment and the second user equipment to the application server, where the first user equipment confirms that the distance between the first user equipment and the second user equipment is less than or equal to a preset threshold.
  • the sending unit 903 is specifically configured to: send, to the first user equipment, information about the identifier of the second user equipment and the D2D communication capability that can be supported by the first user equipment and the second user equipment.
  • the device for discovering D2D communication may further include: a distance confirmation unit 907.
  • the distance confirmation unit 907 is configured to confirm that the distance between the first user equipment and the second user equipment is less than or equal to a preset threshold.
  • the sending unit 903 is further configured to: send the identifier of the second user equipment and the location information of the second user equipment to the first user equipment.
  • the sending unit 903 sends the identifier of the second user equipment and the second user equipment to the first user equipment.
  • the location information so that the first user equipment can obtain the information of the D2D communication capability of the first user equipment and the D2D communication capability of the second user equipment, respectively, and confirm that the distance between the first user equipment and the second user equipment meets the first.
  • the information of the D2D communication capability supported by the user equipment and the second user equipment is sent to the D2D communication unit of the first user equipment to transmit the identifier of the second user equipment and the D2D communication capability supported by the first user equipment and the second user equipment.
  • the information, and thus the first user equipment can establish D2D communication with the second user equipment.
  • a device for discovering D2D communication is provided, and the location information acquiring unit may separately obtain location information of the first user equipment and location information of the second user equipment, and the capability information acquiring unit may obtain D2D communication of the first user equipment.
  • the information of the capability and the information of the D2D communication capability of the second user equipment so that the computing unit can calculate the distance between the first user equipment and the second user equipment according to the location information of the first user equipment and the location information of the second user equipment, and When the information that the distance between the first user equipment and the second user equipment meets the D2D communication capability that can be supported by the first user equipment and the second user equipment is satisfied, the sending unit sends the identifier of the second user equipment and the first information to the first user equipment.
  • the information of the D2D communication capability supported by the user equipment and the second user equipment, and the first user equipment can establish D2D communication with the second user equipment.
  • the D2D communication discovery method is implemented in the application layer, and the D2D communication is discovered by the application server, so that D2D communication can be implemented between the first user equipment and the second user equipment, and no other equipment needs to be deployed, and no deployment is needed.
  • Interface reduced
  • the network signaling overhead reduces the power consumption and obtains the location information of the user equipment at the application layer.
  • the location information can be obtained by one or more combination methods such as GPS positioning, cell positioning, and cloud positioning. Positioning method improves positioning accuracy and optimizes network performance.
  • the sending unit in this embodiment may be a transmitter of an application server, and the receiving unit and the sending unit may be integrated to form a transceiver of the application server.
  • the location information obtaining unit and the computing unit may be separately set up processors, or may be integrated in one processor of the application server, or may be stored in the memory of the application server in the form of program code, by the application server.
  • a processor calls and executes the functions of the above units.
  • the capability information acquisition unit, the capability information confirmation unit, the distance confirmation unit, or the transmission mode confirmation unit are implemented as the same calculation unit, and may be integrated with the location information acquisition unit and the calculation unit, or may be implemented independently.
  • the processor described herein can be a central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the application server 10 is a schematic structural diagram of an application server according to an embodiment of the present invention.
  • the application server provided in this embodiment corresponds to the method shown in FIG. 3, and is based on the discovery of D2D communication shown in FIG. The execution body of the method.
  • a specific implementation form is shown in FIG. 10.
  • the application server of the embodiment of the present invention includes: a receiver 1001, a transmitter 1002, a memory 1003, and a processor 1004, wherein the receiver 1001, the transmitter 1002, the memory 1003, and the processor
  • the 1004 connection for example, can be connected via a bus.
  • the application server may also include a common component such as an antenna, a baseband processing component, a medium frequency processing component, an input/output device, and the like, and the embodiment of the present invention is not limited thereto.
  • Receiver 1001 and transmitter 1002 can be integrated to form a transceiver.
  • the memory 1003 is for storing executable program code, the program code including computer operating instructions.
  • Memory 1003 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • Processor 1004 can be a central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 1003 stores a set of program codes
  • the processor 1004 is configured to call the program code stored in the memory 1003 to perform the following operations:
  • the processor 1004 is further configured to: obtain information about D2D communication capability of the first user equipment, and information about D2D communication capability of the second user equipment;
  • the information that the distance between the first user equipment and the second user equipment meets the D2D communication capability supported by the first user equipment and the second user equipment is confirmed.
  • the processor 1004 is further configured to: send, to the first user equipment, information about the identifier of the second user equipment and the D2D communication capability that can be supported by the first user equipment and the second user equipment.
  • the processor 1004 is further configured to: confirm that the distance between the first user equipment and the second user equipment is less than or equal to a preset threshold;
  • the processor 1004 is further configured to: send the identifier of the second user equipment and the location information of the second user equipment to the first user equipment.
  • the information of the D2D communication capability includes: a D2D transmission mode, and an allowable transmission distance of the D2D transmission mode;
  • the processor 1004 is specifically configured to: confirm that the distance between the first user equipment and the second user equipment is less than or equal to the allowed transmission distance of the D2D transmission mode supported by the first user equipment and the second user equipment.
  • the information of the D2D communication capability further includes: a priority of the D2D transmission mode
  • the processor 1004 is further configured to: confirm a D2D transmission mode with the highest priority from a D2D transmission mode that can support the distance condition;
  • the information of the D2D communication capability that the processor 1004 sends to the first user equipment through the transmitter 1002 specifically includes: the information of the D2D transmission mode with the highest priority.
  • the information about the D2D communication capability further includes: a transmission rate of the D2D transmission mode;
  • the processor 1004 is further configured to: according to the data volume size of the service data and the transmission of the D2D transmission mode Rate, determine the target D2D transmission mode;
  • the information about the D2D communication capability that the processor 1004 sends to the first user equipment through the transmitter 1002 specifically includes: the information of the determined target D2D transmission mode.
  • an application server including a receiver, a transmitter, a memory, and a processor, where the processor may separately acquire location information of the first user equipment, location information of the second user equipment, and D2D of the first user equipment.
  • the information of the communication capability and the information of the D2D communication capability of the second user equipment so that the distance between the first user equipment and the second user equipment can be calculated according to the location information of the first user equipment and the location information of the second user equipment, and is confirmed
  • the identifier of the second user equipment and the first user equipment are sent to the first user equipment.
  • the D2D communication discovery method is implemented in the application layer, and the D2D communication is discovered by the application server, so that D2D communication can be implemented between the first user equipment and the second user equipment, and no other equipment needs to be deployed, and no deployment is needed.
  • the interface reduces network signaling overhead and reduces power consumption.
  • the location information of the user equipment is obtained at the application layer, which can support multiple positioning modes, improve positioning accuracy, and optimize network performance.
  • the discovery system of the D2D communication provided by the embodiment of the present invention is further described in detail with reference to FIG. 11( a ) to FIG. 11 ( e ). .
  • the embodiment of the present invention may include at least two user equipments. Specifically, D2D communication can be performed between two user equipments, and any one of them can be referred to as: a first user equipment, and the other is called: a second user equipment.
  • the system for discovering D2D communication provided by the first embodiment of the present invention includes: a first user equipment 11a and a second user equipment 12a.
  • the first user equipment 11a or the second user equipment 12a is as shown in FIG.
  • the first user equipment 11a and the second user equipment 12a may be connected through a wireless network or a wired network.
  • the system of this embodiment can be applied to the method shown in FIG. 2 described above. As shown in FIG.
  • the system for discovering D2D communication provided by the second embodiment of the present invention includes: a first user equipment 11b, a second user equipment 12b, and an application server 21b.
  • the first user equipment lib or the second user equipment 12b is as shown in FIG. 7
  • the application server 21b is as shown in FIG. 9.
  • the structure and function of the apparatus can be respectively seen in FIG. 7.
  • the related description of the embodiment shown in FIG. 9 is not described herein.
  • the application server 21b can be connected to the first user equipment 11b and the second user equipment 12b through a wireless network
  • the first user equipment lib and the second user equipment 12b can be connected through a wireless network or a wired network.
  • the application server 21b may be an application server, that is, the application server to which the application of the first user device lib belongs and the application server to which the application of the second user device 12b belongs is the same application server, and the application server 21b also The application server to which the application of the first user device lib belongs is the first application server, and the application server to which the application of the second user device 12b belongs is the second application server.
  • the D2D communication discovery system provided by the third embodiment of the present invention includes: a first user equipment llc, a second user equipment 12c, an application server 21c, and a D2D server 31c.
  • the first user equipment 11c or the second user equipment 12c is as shown in FIG. 7, and the application server 21c is as shown in FIG. 9.
  • the structure and function of the apparatus can be seen in FIG. 7 respectively.
  • the related description of the embodiment shown in FIG. 9 is not described herein.
  • the application server can be connected to the first user equipment llc and the second user equipment 12c respectively through the wireless network, and the D2D server 31c can be respectively connected to the first user equipment llc and the second user equipment 12c through the wireless network, the first user.
  • the device 11c and the second user device 12c may be connected through a wireless network or a wired network. It should be noted that the system of the present embodiment can be applied to the method described in the above FIG.
  • the system for discovering D2D communication includes: a first user equipment 11d, a second user equipment 12d, an application server 21d, a D2D server 31d, and a D2D application server 32d.
  • the first user equipment lid or the second user equipment 12d is as shown in FIG. 7, and the application server 21d is as shown in FIG. 9.
  • the structure and function of the device can be seen in FIG. 7 respectively.
  • the related description of the embodiment shown in FIG. 9 is not described herein.
  • the application server can be respectively configured with the first user equipment 11d and the second user through a wireless network.
  • the device 12d is connected, the D2D server 31d is connectable to the first user device lid, the D2D server 32d is connected to the second user device 12d, and the D2D server 31d is connectable to the D2D server 33d.
  • the first user device lid and the second user device 12d may be Connect via wireless or wired internet. It should be noted that the system of this embodiment can be applied to the method described in FIG. 6 above.
  • the discovery system of the D2D communication provided by the fifth embodiment of the present invention includes: a first user equipment lle, a second user equipment 12e, an application server 21e, and a D2D server 31e.
  • the first user equipment lie or the second user equipment 12e is as shown in FIG. 7, and the application server 21e is as shown in FIG. 9.
  • the structure and function of the apparatus can be seen in FIG. 7 respectively.
  • the related description of the embodiment shown in FIG. 9 is not described herein.
  • the application server can be connected to the first user equipment lle and the second user equipment 12e respectively through the wireless network, and the D2D server 31e can be connected to the first user equipment lie through the wireless network, the first user equipment lie and the second user equipment 12e It can be connected via Wi-Fi or wired internet. It should be noted that the system of this embodiment can be applied to the method described in Fig. 6 above.
  • the method, device, and system for processing a scheduling request can automatically realize the discovery of D2D communication at the application layer.
  • the discovery of D2D communication can be realized by the application server and the user equipment, or by two The user equipment realizes the discovery of D2D communication. No need to deploy other devices, no need to deploy interfaces, reducing network signaling overhead and reducing power consumption.
  • obtaining location information of the user equipment in the application layer for example, acquiring location information by using one or more combinations of GPS positioning, cell positioning, cloud positioning, etc., can support multiple positioning modes, improve positioning accuracy, and optimize Network performance.
  • the D2D link parameter may be obtained from the D2D server, and the first user equipment and the second user equipment may obtain information about the D2D communication capability supported by the first user equipment and the second user equipment according to the D2D link parameter. , establish D2D communication, optimize the network, and reduce link interference.
  • the present invention can be implemented by hardware implementation, firmware implementation, or a combination thereof.
  • the functions described above may be stored in or transmitted as one or more instructions or code on a computer readable medium.
  • the computer readable medium includes a computer storage medium and a communication medium, wherein the communication medium includes any medium that facilitates transfer of the computer program from one location to another. Quality.
  • a storage medium may be any available media that can be accessed by a computer.
  • computer readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage device, or can be used for carrying or storing in the form of an instruction or data structure.
  • the desired program code and any other medium that can be accessed by the computer may suitably be a computer readable medium.
  • the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwaves are included in the fixing of the associated media.
  • coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwaves are included in the fixing of the associated media.
  • a disk and a disc include a compact disc (CD), a laser disc, a disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例提供一种D2D通信的发现方法、装置及系统。可在应用层自动实现D2D通信的发现,可由应用服务器和用户设备实现D2D通信的发现,或者由两台用户设备实现D2D通信的发现,无需部署其他设备,无需再部署接口,减少了网络信令开销,减少了电量消耗,且在应用层获取用户设备的位置信息,例如,可通过GPS定位、小区定位、云定位等一种或多种结合的方式获取位置信息,可支持多种定位方式,提高了定位精度,可优化网络性能。

Description

一种 D2D通信的发现方法、 装置及系统 技术领域
本发明涉及通信领域,尤其涉及一种 D2D ( Device-to-Deice,设备到设备 ) 通信的发现方法、 装置及系统。
D2D通信是一种不经过网络中转而直接进行数据交换或服务的技术。 例 如,可一直打开终端蓝牙模块进行扫描或在满足蓝牙支持的传输距离内时用户 在本端手工操作打开蓝牙模块, 与扫描到的对端蓝牙进行连接, 用户可选定欲 用蓝牙传输的数据, 本端与对端可通过蓝牙进行数据传输, 则完成了 D2D的 发现与数据传输的过程。
在 LTE ( Long Term Evolution, 长期演进)蜂窝网络中, 可包括用户设备 A ( UEA, User Equipment )、 用户设备 B ( UEB )、 UEA所属的 ProSe server A, UEB所属的 ProSe Server B、 UEA所属的 GMLC ( Gateway Mobile Location Center, 网关移动位置中心 ) A和 UEB所属的 GMLC B。现有技术中,在 LTE 蜂窝网络中建立 D2D通信的步骤可包括: ( 1 ) UEA向所属的 ProSe server A 注册, ProSe server A获得 UEA的 ProSe标识 A和应用标识 A, UEB向所属 的 ProSe server B注册, ProSe server B获得 UEB的 ProSe标识 B和应用标识 B; ( 2 ) GMLC A更新 UEA的位置信息, GMLC B更新 UE B的位置信息, ProSe server A可从 GMLC A获得 UEA的位置信息, ProSe server B可从 GMLC B获 得 UEB的位置信息, ProSe server A可从 ProSe server B获得 UEB的位置信息, ProSe server B可从 ProSe server A获得 UEA的位置信息; ( 3 ) UEA向 ProSe server A请求与 UEB的 D2D配对, 例如, ProSe server A可通过 UEA的位置 信息和 UEB的位置信息计算 UEA与 UEB的距离 D, 判断距离 D是否满足配 对距离 S, 若满足, 通知 UEA可与 UEB进行 D2D通信。现有技术中, 在 LTE 蜂窝网络中建立 D2D通信存在下述问题: 需部署第三方服务器, 对不同运营 商, 还需部署与不同 ProSe server的消息接口, 增加了部署难度, 又核心网、 接入网、用户设备等网元需支持定位, 网络信令开销大,增加了蜂窝网络负担, 且定位方式单一, 目前, LTE蜂窝网络中可使用定位精度较高的方式 0TD0A ( Observed Time Difference of Arrival, 可观察到达时间差分), 但定位精度远 低于如 GPS ( Global Positioning System, 全球定位系统)等定位方式。 发明内容
本发明实施例提供一种 D2D通信的发现方法、 装置及系统, 可在应用层 自动实现 D2D通信的发现,减少了网络信令开销,提高了 D2D通信的命中率。
本申请实施例第一方面提供的一种 D2D通信的发现方法, 包括: 在应用层获取第一用户设备的位置信息和第二用户设备的位置信息; 根据所述第一用户设备的位置信息和所述第二用户设备的位置信息计算 所述第一用户设备与所述第二用户设备的距离;
根据所述第一用户设备与所述第二用户设备的距离向所述第一用户设备 发送建立 D2D链路的指示, 以使所述第一用户设备和所述第二用户设备建立 D2D通信链路。
在第一方面的第一种可能实现方式中,所述在应用层获取第一用户设备的 位置信息和第二用户设备的位置信息, 包括: 所述第一用户设备在应用层获取 所述第二用户设备的位置信息;
所述方法进一步包括: 所述第一用户设备获取所述第一用户设备的 D2D 通信能力的信息; 所述第一用户设备获取所述第二用户设备的 D2D通信能力 的信息;
其中,所述根据所述第一用户设备与所述第二用户设备的距离向所述第一 用户设备发送建立 D2D链路的指示具体包括: 所述第一用户设备在确认所述 第一用户设备与所述第二用户设备的距离满足所述第一用户设备与所述第二 用户设备都能支持的 D2D通信能力的信息时, 向所述第一用户设备中的 D2D 通信单元发送所述第二用户设备的标识和所述第一用户设备与所述第二用户 设备都能支持的 D2D通信能力的信息。
在第一方面的第二种可能实现方式中,所述根据所述第一用户设备的位置 信息和所述第二用户设备的位置信息计算所述第一用户设备与所述第二用户 设备的距离之后,还包括: 所述第一用户设备确认所述第一用户设备与所述第 二用户设备的距离小于或等于预设阔值,所述第一用户设备向应用服务器发送 所述第二用户设备的标识和所述第二用户设备的位置信息。
结合第一方面的第二种可能实现方式,在第一方面的第三种可能实现方式 中, 所述方法还包括: 所述应用服务器接收到所述第一用户设备发送的所述第 二用户设备的标识和所述第二用户设备的位置信息后,所述应用服务器获取所 述第一用户设备的 D2D通信能力的信息和所述第二用户设备的 D2D通信能力 的信息;
所述应用服务器确认所述第一用户设备与所述第二用户设备的距离满足 所述第一用户设备与所述第二用户设备都能支持的 D2D通信能力的信息, 向 所述第一用户设备发送所述第二用户设备的标识和所述第一用户设备与所述 第二用户设备都能支持的 D2D通信能力的信息。
在第一方面的第四种可能实现方式中,所述在应用层获取第一用户设备的 位置信息和第二用户设备的位置信息, 包括: 应用服务器分别从所述第一用户 设备获取所述第一用户设备的位置信息,从所述第二用户设备获取所述第二用 户设备的位置信息;
所述方法进一步包括: 所述应用服务器获取所述第一用户设备的 D2D通 信能力的信息和所述第二用户设备的 D2D通信能力的信息;
其中,所述根据所述第一用户设备与所述第二用户设备的距离向所述第一 用户设备发送建立 D2D链路的指示具体包括: 所述应用服务器确认所述第一 用户设备与所述第二用户设备的距离满足所述第一用户设备与所述第二用户 设备都能支持的 D2D通信能力的信息, 向所述第一用户设备发送所述第二用 户设备的标识和所述第一用户设备与所述第二用户设备都能支持的 D2D通信 能力的信息。
在第一方面的第五种可能实现方式中,所述在应用层获取第一用户设备的 位置信息和第二用户设备的位置信息, 包括: 应用服务器从所述第一用户设备 获取所述第一用户设备的位置信息,从所述第二用户设备获取所述第二用户设 备的位置信息; 其中,所述根据所述第一用户设备与所述第二用户设备的距离向所述第一 用户设备发送建立 D2D链路的指示具体包括: 所述应用服务器确认所述第一 用户设备与所述第二用户设备的距离小于或等于预设阔值,向所述第一用户设 备发送所述第二用户设备的标识和所述第二用户设备的位置信息。
结合第一方面的第五种可能实现方式,在第一方面的第六种可能实现方式 中, 所述方法进一步包括:
在所述第一用户设备接收到所述第二用户设备的标识和所述第二用户设 备的位置信息后, 所述第一用户设备获取所述第一用户设备的 D2D通信能力 的信息和所述第二用户设备的 D2D通信能力的信息;
所述第一用户设备确认所述第一用户设备与所述第二用户设备的距离满 足所述第一用户设备与所述第二用户设备都能支持的 D2D 通信能力的信息 时, 所述第一用户设备向所述第一用户设备中的 D2D通信单元发送所述第二 用户设备的标识和所述第一用户设备与所述第二用户设备都能支持的 D2D通 信能力的信息。
结合第一方面的第一种~第六种可能实现方式中的任一种, 在第一方面的 第七种可能实现方式中, 所述 D2D通信能力的信息包括: D2D传输方式、 所 述 D2D传输方式的允许传输距离;
所述确认所述第一用户设备与所述第二用户设备的距离满足所述第一用 户设备与所述第二用户设备都能支持的 D2D通信能力的信息, 具体为:
确认所述第一用户设备和所述第二用户设备的距离小于或等于所述第一 用户设备和所述第二用户设备都支持的所述 D2D传输方式的允许传输距离。
结合第一方面的第七种可能实现方式,在第一方面的第八种可能实现方式 中, 所述 D2D通信能力的信息还包括: 所述 D2D传输方式的优先级;
所述方法进一步包括: 从所述满足所述距离条件的都能支持的所述 D2D 传输方式中确认优先级最高的 D2D传输方式;
其中, 所述向所述第一用户设备发送的都能支持的 D2D通信能力的信息 具体包括: 所述确认的优先级最高的 D2D传输方式的信息。
结合第一方面的第五种可能实现方式或第一方面的第七种可能实现方式, 在第一方面的第九种可能实现方式中, 所述 D2D通信能力的信息还包括: 所 述 D2D传输方式的传输速率;
所述方法进一步包括: 根据业务数据的数据量大小和所述 D2D传输方式 的传输速率, 确定目标 D2D传输方式;
其中, 所述向所述第一用户设备发送的都能支持的 D2D通信能力的信息 具体包括: 所述确定的目标 D2D传输方式的信息。
第二方面, 本发明实施例提供的一种 D2D通信的发现装置, 包括: 位置信息获取单元,用于获取第一用户设备的位置信息和第二用户设备的 位置信息;
计算单元,用于根据所述位置信息获取单元获取的所述第一用户设备的位 置信息与所述第二用户设备的位置信息计算所述第一用户设备与所述第二用 户设备的距离;
发送单元,用于根据所述计算单元计算的所述第一用户设备与所述第二用 户设备的距离向所述第一用户设备发送建立 D2D链路的指示, 以使所述第一 用户设备和所述第二用户设备建立 D2D通信链路。
在第二方面的第一种可能实现方式中, 所述能力信息获取单元,还用于获 取所述第一用户设备的 D2D通信能力的信息和所述第二用户设备的 D2D通信 能力的信息;
所述装置还包括: 能力信息确认单元, 用于确认所述第一用户设备与所述 第二用户设备的距离满足所述第一用户设备与所述第二用户设备都能支持的 D2D通信能力的信息。
结合第二方面的第一种可能实现方式中,在第二方面的第二种可能实现方 式中, 所述装置还包括: 用于建立 D2D通信链路的 D2D通信单元;
所述发送单元具体用于: 向所述 D2D通信单元发送所述第二用户设备的 标识和所述第一用户设备与所述第二用户设备都能支持的 D2D通信能力的信 息。
在第二方面的第三种可能实现方式中, 所述装置还包括: 距离确认单元, 用于确认所述第一用户设备与所述第二用户设备的距离小于或等于预设阔值; 所述发送单元还用于:向应用服务器发送所述第二用户设备的标识和所述 第二用户设备的位置信息。
结合第二方面的第一种可能实现方式中,在第二方面的第四种可能实现方 式中, 所述发送单元具体用于: 向所述第一用户设备发送所述第二用户设备的 标识和所述第一用户设备与所述第二用户设备都能支持的 D2D通信能力的信 息。
结合第二方面的第一种可能实现方式中,在第二方面的第五种可能实现方 式中, 所述装置还包括: 距离确认单元, 用于确认所述第一用户设备与所述第 二用户设备的距离小于或等于预设阔值;
所述发送单元还用于:向所述第一用户设备发送所述第二用户设备的标识 和所述第二用户设备的位置信息。
结合第二方面的第一种可能实现方式中,在第二方面的第六种可能实现方 式中, 所述 D2D通信能力的信息包括: D2D传输方式、 所述 D2D传输方式的 允许传输距离;
所述能力信息确认单元具体用于:确认所述第一用户设备和所述第二用户 设备的距离小于或等于所述第一用户设备和所述第二用户设备都支持的所述 D2D传输方式的允许传输距离。
结合第二方面的第六种可能实现方式中,在第二方面的第七种可能实现方 式中, 所述 D2D通信能力的信息还包括: 所述 D2D传输方式的优先级; 所述装置还包括: 传输方式确认单元, 用于从所述满足所述距离条件的都 能支持的所述 D2D传输方式中确认优先级最高的 D2D传输方式;
其中, 所述发送单元向所述第一用户设备发送的都能支持的 D2D通信能 力的信息具体包括: 所述确认的优先级最高的 D2D传输方式的信息。
结合第二方面的第六种可能实现方式中,在第二方面的第八种可能实现方 式中, 所述 D2D通信能力的信息还包括: 所述 D2D传输方式的传输速率; 所述装置还包括: 传输方式确认单元, 用于根据业务数据的数据量大小和 所述 D2D传输方式的传输速率, 确定目标 D2D传输方式;
其中, 所述发送单元向所述第一用户设备发送的都能支持的 D2D通信能 力的信息具体包括: 所述确定的目标 D2D传输方式的信息。
第三方面, 本发明实施例提供的一种用户设备, 包括: 如第二方面、 第二 方面的第一种可能实现方式、 第二种可能实现方式、 第三种可能实现方式、 第 六种可能实现方式、第七种可能实现方式或第八种可能实现方式中任一所述的 装置。
第四方面, 本发明实施例提供的一种应用服务器, 包括: 如第二方面、 第 二方面的第一种可能实现方式、 第四种可能实现方式、 第五种可能实现方式、 第六种可能实现方式、第七种可能实现方式或第八种可能实现方式中任一所述 的装置。
第五方面, 本发明实施例提供的一种 D2D通信的发现系统, 包括: 如第 第三方面所述的用户设备和如第四方面所述的应用服务器。
实施本发明实施例, 具有如下有益效果:
本发明实施例, 可在应用层自动实现 D2D通信的发现, 应用层是计算机 网络体系结构 OSI的第七层,应用层的设备例如应用服务器或用户设备,具体 的, 可在应用层获取第一用户设备的位置信息和第二用户设备的位置信息,从 而由第一用户设备的位置信息和第二用户设备的位置信息计算第一用户设备 与第二用户设备的距离,由第一用户设备与第二用户设备的距离向第一用户设 备发送建立 D2D链路的指示,进而第一用户设备和第二用户设备建立 D2D通 信链路, 本发明实施例, 可由应用服务器和用户设备实现 D2D通信的发现, 或者由两台用户设备实现 D2D通信的发现, 无需部署其他设备, 无需再部署 接口, 减少了网络信令开销, 减少了电量消耗, 且在应用层获取用户设备的位 置信息, 例如, 可通过 GPS定位、 小区定位、 云定位等一种或多种结合的方 式获取位置信息, 可支持多种定位方式, 提高了定位精度, 可优化网络性能。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明第一实施例提供的一种 D2D通信的发现方法的流程图; 图 2为本发明第二实施例提供的一种 D2D通信的发现方法的流程图; 图 3为本发明第三实施例提供的一种 D2D通信的发现方法的流程图; 图 4为本发明第四实施例提供的一种 D2D通信的发现方法的流程图; 图 5为本发明第五实施例提供的一种 D2D通信的发现方法的流程图; 图 6为本发明第六实施例提供的一种 D2D通信的发现方法的流程图; 图 7为本发明第一实施例提供的一种 D2D通信的发现装置的结构图; 图 8为本发明实施例提供的一种应用服务器的结构图;
图 9为本发明第二实施例提供的一种 D2D通信的发现装置的结构图; 图 10为本发明实施例提供的一种用户设备的结构图;
图 11a为本发明第一实施例提供的一种 D2D通信的发现系统的示意图; 图 11 b为本发明第二实施例提供的一种 D2D通信的发现系统的示意图; 图 11c为本发明第三实施例提供的一种 D2D通信的发现系统的示意图; 图 lid为本发明第四实施例提供的一种 D2D通信的发现系统的示意图; 图 lie为本发明第五实施例提供的一种 D2D通信的发现系统的示意图。 具体实施方式
为了使本发明所要解决的技术问题、 技术方案及有益效果更加清楚明白, 以下结合附图及实施例, 对本发明进行进一步详细说明。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
本发明实施例中,可在应用层获取第一用户设备的位置信息和第二用户设 备的位置信息, 其中, 应用层是计算机网络体系结构 OSI ( Open Systems Interconnection, 开放系统互连) 的第七层, 0SI 第一层到第七层分别为: 物 理层一数据链路层一网络层一传输层一会话层一表示层一应用层,应用层的设 备可以包括应用服务器或用户设备,应用服务器为用户设备中的应用所属的服 务器,例如,即时通讯应用对应的应用服务器等。对于本发明实施例中的网元, 例如应用服务器、 用户设备, 均可支持 D2D通信, 例如, 对于蜂窝网络下的 网元, 要求用户设备 UE具备 D2D通信的能力, 例如, 具有支持 GPS定位的 功能模块等等, 对于非蜂窝网络等自组网络的网元, 要求 UE具备支持 D2D 通信的能力, 例如, 具有支持 WiFi ( Wireless Fidelity, 无线局域网) 、 蓝牙 的功能模块、 支持有线网络的端口等等。
本发明实施例, 可由应用服务器和用户设备实现 D2D通信的发现, 或者 由两台用户设备实现 D2D通信的发现。
现有技术中, 两台用户设备间实现 D2D通信例如在两台手机间实现蓝牙 通信, 具体步骤为: 可一直打开终端蓝牙模块进行扫描或在满足蓝牙支持的传 输距离内时用户在本端手工操作打开蓝牙模块, 与扫描到的对端蓝牙进行连 接, 用户可选定欲用蓝牙传输的数据, 本端与对端可通过蓝牙进行数据传输, 则完成了 D2D的发现与数据传输的过程, 但是需要人工参与, 打开蓝牙模块 以及选择与对端蓝牙连接, 若一直打开蓝牙模块进行扫描, D2D通信的发现 的命中率低, 且消耗设备的电量。
又现有技术中, 可通过登录应用程序, 无需电脑与手机进行有线连接, 可 在电脑与手机之间通过无线网络发送例如文档、 音视频等文件, 但是, 需电脑 连接网络, 手机连接网络, 该现有技术中, 是将欲发送的数据通过网络传输到 服务器中,再由服务器进行转发, 而不是直接在两个设备间进行数据的接收与 发送, 例如, 用户在电脑打开应用 1后, 点选 "发送到我的移动设备" 选项, 打开两设备的通信窗口, 再在该窗口添加欲传输的数据: 文档 1, 电脑将文档 1上传到应用 1的服务器中, 服务器再将文档 1转发给手机, 从而手机可以接 收到电脑发送的文档, 用户打开手机中的应用 1, 可手动点击接收文档 1。 而 本方案, 无需服务器进行消息内容转发, 而是直接在两个用户设备间实现消息 内容的发送与接收, 且 D2D的通信发现过程是自动实现, 无需人工参与。
釆用本发明实施例, 可在应用层自动实现 D2D通信的发现, 具体的, 可 在应用层获取第一用户设备的位置信息和第二用户设备的位置信息,从而由第 一用户设备的位置信息和第二用户设备的位置信息计算第一用户设备与第二 用户设备的距离,由第一用户设备与第二用户设备的距离向第一用户设备发送 建立 D2D链路的指示,进而第一用户设备和第二用户设备建立 D2D通信链路, 无需部署其他设备,无需再部署接口,减少了网络信令开销,减少了电量消耗, 且在应用层获取用户设备的位置信息, 例如, 可通过 GPS定位、 小区定位或 者云定位等一种或多种结合的方式获取位置信息, 可支持多种定位方式,提高 了定位精度, 可优化网络性能。 下面将结合附图 1~附图 6, 对本发明实施例提供的 D2D通信的发现方法 进行详细介绍。
请参见图 1, 图 1为本发明第一实施例提供的一种 D2D通信的发现方法 的流程图;如图 1所示,本实施例提供的 D2D通信的发现方法包括: S101~S103。
S101 , 在应用层获取第一用户设备的位置信息和第二用户设备的位置信 息。
作为一种可选的实施方式,可通过 GPS定位、小区定位、云定位、 OTDOA 定位等一种或多种结合的方式获取位置信息。具体实现中,对于蜂窝网络下的 网元, 要求用户设备 UE具备 D2D通信的能力, 例如, 需要用户设备具有支 持 GPS定位、 OTDOA定位的功能模块等等,对于非蜂窝网络等自组网络的网 元, 要求 UE具备支持 D2D通信的能力, 例如, 具有支持 WiFi、 蓝牙的功能 模块、 支持有线网络的端口等等。
具体实现中, 位置信息可以包括用户设备的网络 IP地址、 用户设备所在 位置的经纬度,也可以为由应用的账户的注册地址或用户设备的接入路径等确 定的位置信息。
其中, 本发明实施例可以包括至少 2个用户设备。 具体的, 可在 2个用户 设备之间进行 D2D通信, 可将其中任意一个称为: 第一用户设备, 另一个称 为: 第二用户设备。
若本发明实施例的执行主体为: 用户设备, 进一步的, 执行主体设为第一 用户设备, 则可通过以下三种方式之一实现位置信息的获取,也可以为其他实 现方式, 具体不受本发明实施例的限制, 三种方式分布为: 方式一: 第二用户 设备向第一用户设备主动上报第二用户设备的位置信息, 方式二: 第一用户设 备向第二用户设备发送位置查询请求,第二用户设备根据位置查询请求向第一 用户设备发送第二用户设备的位置信息, 方式三: 第一用户设备向应用服务器 请求获取第二用户设备的位置信息,其中,应用服务器预先获取第二用户设备 的位置信息。 若本发明实施例的执行主体为: 应用服务器, 则可通过以下两种 方式之一实现位置信息的获取,也可以为其他实现方式, 具体不受本发明实施 例的限制, 两种方式分别为: 方式一: 应用服务器可向第一用户设备和第二用 户设备发送位置查询请求,第一用户设备向应用服务器发送第一用户设备的位 置信息, 第二用户设备向应用服务器发送第二用户设备的位置信息, 方式二: 第一用户设备主动向应用服务器发送第一用户设备的位置信息,第二用户设备 主动向应用服务器发送第二用户设备的位置信息。
S102,根据第一用户设备的位置信息和第二用户设备的位置信息计算第一 用户设备与第二用户设备的距离。
作为一种可选的实施方式,可根据第一用户设备的位置信息和第二用户设 备的位置信息计算第一用户设备与第二用户设备的距离, 例如, 可根据第一用 户设备的经纬度以及第二用户设备的经纬度,可计算第一用户设备与第二用户 设备的相对距离 (如 5米、 4米等)。 本步骤可由应用服务器或用户设备执行, 具体的执行过程可以参考图 2和图 3。
S 103,根据第一用户设备与第二用户设备的距离向第一用户设备发送建立
D2D链路的指示, 以使第一用户设备和第二用户设备建立 D2D通信链路。
作为一种可选的实施方式,根据第一用户设备与第二用户设备的距离向第 一用户设备发送建立 D2D链路的指示, 进一步的, 还可以获取第一用户设备 的 D2D通信能力的信息, 还可以获取第二用户设备的 D2D通信能力的信息。 具体的,可判断第一用户设备与第二用户设备的距离是否满足第一用户设备与 第二用户设备都能支持的 D2D通信能力的信息。
其中, D2D通信能力的信息包括但不局限于: D2D传输方式和 D2D传输 方式的允许传输距离。 D2D通信能力的信息还可以包括: D2D传输方式的优 先级或 D2D传输方式的传输速率等, 具体不受本发明实施例的限制。 具体的, D2D通信能力的信息如下表所示示例, D2D传输方式例如蓝牙、 WiFi或者蜂 窝网络等, D2D传输方式的传输速率在下表中为该 D2D传输方式的最大传输 速率, D2D传输方式的优先级可设为 0~2共 3个级别, 级别越高, 越优先选 择该 D2D传输方式。
Figure imgf000014_0001
具体的,确认第一用户设备与第二用户设备的距离满足第一用户设备与第 二用户设备都能支持的 D2D通信能力的信息, 具体可以为: 确认第一用户设 备和第二用户设备的距离小于或等于第一用户设备和第二用户设备都支持的 D2D传输方式的允许传输距离。 例如, 步骤 S102中计算得到第一用户设备与 第二用户设备的距离为 5米, 从获取到的第一用户设备的 D2D通信能力的信 息和第二用户设备的 D2D通信能力的信息中确定第一用户设备支持蓝牙 3.0, 第二用户设备支持蓝牙 3.0, 又蓝牙 3.0允许传输距离为 10米, 5米小于 10 米,则可确定第一用户设备与第二用户设备的距离满足第一用户设备与第二用 户设备都能支持的 D2D通信能力的信息, 则可确定第一用户设备和第二用户 设备的 D2D传输方式为:蓝牙,并向第一用户设备发送建立 D2D链路的指示, D2D链路的指示中包括确定的 D2D传输方式: 蓝牙, 以使第一用户设备和第 二用户设备根据 D2D链路指示建立 D2D通信链路。
进一步可选的, 还可以从满足上述距离条件的都能支持的 D2D传输方式 中确认优先级最高的 D2D传输方式, 从而, 向第一用户设备发送的都能支持 的 D2D通信能力的信息具体可以包括:确认的优先级最高的 D2D传输方式的 信息。 具体实现中, 若满足上述距离条件的都能支持的 D2D传输方式有多种, 则可比较该多种 D2D传输方式的优先级,将优先级最高的 D2D传输方式确定 为目标传输方式, 从而, 向第一用户设备发送的都能支持的 D2D通信能力的 信息具体可以包括: 确认的优先级最高的 D2D传输方式的信息。
进一步可选的, 还可以根据业务数据的数据量大小和 D2D传输方式的传 输速率, 确定目标 D2D传输方式; 其中, 向第一用户设备发送的都能支持的 D2D通信能力的信息具体包括: 确定的目标 D2D传输方式的信息。
具体实现中, 在接收到业务请求时, 业务请求中可包括: 业务数据的数据 量大小, 若满足上述距离条件的都能支持的 D2D传输方式有多种, 根据业务 数据的数据量大小和该多种 D2D传输方式的传输速率, 具体的, 可由业务数 据的数据量大小和传输速率计算任务执行时间, 将任务执行时间最短的 D2D 传输方式确定为目标传输方式, 从而在向第一用户设备发送的 D2D链路接入 指示中可包括确定的目标传输方式。
本发明实施提供一种 D2D通信的发现方法,可在应用层自动实现 D2D通 信的发现, 应用层的设备例如应用服务器或用户设备, 具体的, 可在应用层获 取第一用户设备的位置信息和第二用户设备的位置信息,从而由第一用户设备 的位置信息和第二用户设备的位置信息计算第一用户设备与第二用户设备的 距离, 由第一用户设备与第二用户设备的距离向第一用户设备发送建立 D2D 链路的指示, 进而第一用户设备和第二用户设备建立 D2D通信链路, 本发明 实施例, 可由应用服务器和用户设备实现 D2D通信的发现, 或者由两台用户 设备实现 D2D通信的发现, 无需部署其他设备, 无需再部署接口, 减少了网 络信令开销, 减少了电量消耗, 且在应用层获取用户设备的位置信息, 例如, 可通过 GPS定位、 小区定位或者云定位等一种或多种结合的方式获取位置信 息, 可支持多种定位方式, 提高了定位精度, 可优化网络性能。
上述提供的各个实施方式中, 其中, 位置信息的获取是在应用层完成的, 但是具体可以在应用服务器或者用户设备上实现; 用户设备之间的距离,也是 可以在在应用服务器或者用户设备上实现。基于执行主体的不同, 或者流程上 的差别, 图 4, 图 5, 图 6分别提供了信令流程图, 下面仅以图 4为例进行说 明, 其他内容此处不再赘述。
请参见图 4, 图 4为本发明提供的一种 D2D通信的发现方法的信令流程 图。 具体的实现形式如图 4所示, 本实施例提供的 D2D通信的发现方法包括: S401~S409。
S401 , 第一用户设备获取第一用户设备的位置信息。
S402, 第一用户设备接收第二用户设备发送的第二用户设备的位置信息。 作为一种可选的实施方式,第一用户设备可向第二用户设备发送位置查询 请求,第二用户设备根据位置查询请求向第一用户设备发送第二用户设备的位 置信息, 进一步的, 第二用户设备可主动向第一用户设备上报第二用户设备的 位置信息。 进一步可选的, 可通过 GPS定位、 小区定位、 云定位或者 OTDOA 定位等一种或多种结合的方式获取位置信息。
5403,第一用户设备根据第一用户设备的位置信息和第二用户设备的位置 信息计算第一用户设备与第二用户设备的距离。
5404,第一用户设备确认第一用户设备与第二用户设备的距离小于或等于 预设阔值。
作为一种可选的实施方式,第一用户设备确认第一用户设备与第二用户设 备的距离小于或等于预设阔值, 其中,预设阔值可以为预先设置的可编辑距离 数值, 例如 10m、 50m、 100m等, 进一步的, 预设阔值还可以与 D2D传输方 式对应, 例如, 蓝牙对应的预设阔值为 10m, Wi-Fi对应的预设阔值为 600m 等。
S405,第一用户设备向应用服务器发送第二用户设备的标识和第二用户设 备的位置信息。
作为一种可选的实施方式,第一用户设备在确认第一用户设备与第二用户 设备的距离小于或等于预设阔值后,向应用服务器发送第二用户设备的标识和 第二用户设备的位置信息。
S406,应用服务器根据第二用户设备的标识和第二用户设备的位置信息获 取第二用户设备的 D2D通信能力的信息。
作为一种可选的实施方式,应用服务器由第二用户设备的位置和第二用户 设备的标识, 可向第二用户设备发送能力信息查询请求,从而第二用户设备可 根据能力信息查询请求向应用服务器发送第二用户设备的 D2D通信能力的信 息。进一步可选的,应用服务器也可以从 D2D服务器获取第二用户设备的 D2D 通信能力的信息, 其中, D2D服务器预先从第二用户设备获取第二用户设备 的 D2D通信能力的信息, 并根据第二用户设备的标识进行存储。
5407, 应用服务器从第一用户设备获取第一用户设备的 D2D通信能力的 信息。
作为一种可选的实施方式, 可通过以下三种方式之一实现 D2D通信能力 的信息的获取, 也可以为其他实现方式。 方式一: 应用服务器可向第一用户设 备发送能力信息查询请求, 第一用户设备向应用服务器发送第一用户设备的 D2D通信能力的信息; 方式二: 第一用户设备主动向应用服务器发送第一用 户设备的 D2D通信能力的信息; 方式三: 应用服务器也可以从 D2D服务器获 取第一用户设备的 D2D通信能力的信息, 其中, D2D服务器预先从第一用户 设备获取第一用户设备的 D2D通信能力的信息, 并根据第一用户设备的标识 进行存储。
5408,应用服务器确认第一用户设备与第二用户设备的距离满足第一用户 设备与第二用户设备都能支持的 D2D通信能力的信息。
作为一种可选的实施方式, D2D 通信能力的信息包括但不局限于: D2D 传输方式、 D2D传输方式的允许传输距离, D2D通信能力的信息还可以包括: 例的限制。具体的,应用服务器确认第一用户设备和第二用户设备的距离小于 或等于第一用户设备和第二用户设备都支持的 D2D传输方式的允许传输距 离。
S409,应用服务器向第一用户设备发送第二用户设备的标识和第一用户设 备与第二用户设备都能支持的 D2D通信能力的信息。
作为一种可选的实施方式,应用服务器在确认第一用户设备与第二用户设 备的距离满足第一用户设备与第二用户设备都能支持的 D2D通信能力的信息 之后,将第二用户设备的标识和第一用户设备与第二用户设备都能支持的 D2D 通信能力的信息向第一用户设备发送,从而, 第一用户设备在接收到应用服务 器发送的第二用户设备的标识和第一用户设备与第二用户设备都能支持的
D2D通信能力的信息, 与第二用户设备建立 D2D链路。 其中, 第一用户设备 可主动与第二用户设备建立 D2D通信, 也可以在接收到任务请求时与第二用 户设备建立 D2D通信, 还可以将第一用户设备的标识以及第一用户设备与第 二用户设备都能支持的 D2D通信能力的信息发送给第二用户设备, 从而第二 用户设备可向第一用户设备发起建立 D2D通信的请求。
本发明实施例, 在应用层实现 D2D通信的发现方法, 由用户设备和应用 服务器进行 D2D通信的发现, 从而可在第一用户设备与第二用户设备之间实 现 D2D通信, 无需部署其他设备, 无需再部署接口, 减少了网络信令开销, 减少了电量消耗, 且在应用层中的用户设备获取用户设备的位置信息, 例如, 可通过 GPS定位、 小区定位、 云定位等一种或多种结合的方式获取位置信息, 可支持多种定位方式, 提高了定位精度, 可优化网络性能。 优选的, 图 6所示的实施方式中, 作为一种可选的实施方式, 应用服务器 由第二用户设备的位置和第二用户设备的标识, 可获取第二用户设备的 D2D 通信能力的信息。 进一步的, 可通过以下四种方式之一实现 D2D通信能力的 信息的获取, 也可以为其他实现方式, 具体不受本发明实施例的限制, 四种方 式分布为:
方式一: 应用服务器可向第二用户设备发送能力信息查询请求, 第二用户 设备向应用服务器发送第二用户设备的 D2D通信能力的信息;
方式二: 第二用户设备主动向应用服务器发送第二用户设备的 D2D通信 能力的信息;
方式三,若第一用户设备的应用所属的应用服务器与第二用户设备的应用 所属的应用服务器为同一台应用服务器,直接根据第二用户设备的标识从本地 存储查找到第二用户设备的 D2D通信能力的信息;
方式四:若第一用户设备的应用所属的应用服务器为第一应用服务器且第 二用户设备的应用所属的应用服务器为第二应用服务器,则第一应用服务器从 第二应用服务器获取第二用户设备的 D2D通信能力的信息, 其中, 第二应用 服务器预先从第二用户设备获取第二用户设备的 D2D通信能力的信息。
图 6所示的实施方式中, 可以包括一台 D2D服务器, 即为第一用户设备 所属的 D2D服务器与第二用户设备所属的 D2D服务器为同一台应用服务器, 也可以包括两台 D2D服务器,即第一用户设备所属的 D2D服务器为第一 D2D 服务器, 第二用户设备所属的 D2D服务器为第二 D2D服务器。 例如, 第一用 户设备和第二用户设备都接入同一通讯运营商的蜂窝网络的 D2D服务器中, 又对于蓝牙或 Wi-Fi的 D2D传输方式, D2D服务器可部署在进行 D2D通信的 用户设备能访问的任意一台主机或任意一个网元中,例如可部署在无线路由器 中, 具体的, 例如, 通过 WiFi或网线接入该无线路由器的台式电脑、 笔记本 电脑、 平板电脑或者智能手机等用户设备, 该用户设备需具备支持 D2D通信 能力的功能模块, 如接入台式电脑的无线网卡或蓝牙适配器等。
进一步的, 若包括两台 D2D服务器, 则 D2D服务器的地址可以通过广播 信息、运营商提供的通信参数、 网卡签约数据或者通信协议等获得, 第一 D2D 服务器可获得第二 D2D服务器的地址, 从而第一 D2D服务器可以第二 D2D 服务器交互通信, 以确定 D2D链路参数。 第一用户设备根据 D2D链路参数、 第二用户设备的标识和第一用户设备与第二用户设备都能支持的 D2D通信能 力的信息, 与第二用户设备建立 D2D链路。
作为一种可选的实施方式, 第一用户设备可根据 D2D链路参数与第二用 户设备建立连接, 通过第一用户设备与第二用户设备都能支持的 D2D通信能 力的信息, 与第二用户设备建立 D2D链路。
本发明实施提供一种 D2D通信的发现方法, 第一用户设备可分别获取第 一用户设备的位置信息和第二用户设备的位置信息,从而可根据第一用户设备 的位置信息和第二用户设备的位置信息计算第一用户设备与第二用户设备的 距离,在第一用户设备确认第一用户设备与第二用户设备的距离小于或等于预 设阔值后, 向应用服务器发送第二用户设备的标识和第二用户设备的位置信 息, 进而应用服务器可分别获得第一用户设备的 D2D通信能力的信息和第二 用户设备的 D2D通信能力的信息, 并确认第一用户设备与第二用户设备的距 离满足第一用户设备与第二用户设备都能支持的 D2D通信能力的信息, 向第 一用户设备发送第二用户设备的标识和第一用户设备与第二用户设备都能支 持的 D2D通信能力的信息。 进一步的, 还可以从 D2D服务器获得 D2D链路 参数, 进而第一用户设备可与第二用户设备可根据 D2D链路参数、 第一用户 设备与第二用户设备都能支持的 D2D通信能力的信息, 建立 D2D通信, 优化 了网络, 减少了链路干扰。 本发明实施例, 在应用层实现 D2D通信的发现方 法, 由用户设备和应用服务器进行 D2D通信的发现, 从而可在第一用户设备 与第二用户设备之间实现 D2D通信, 减少了网络信令开销, 减少了电量消耗, 且在应用层中的用户设备获取用户设备的位置信息, 例如, 可通过 GPS定位、 小区定位或者云定位等一种或多种结合的方式获取位置信息,可支持多种定位 方式, 提高了定位精度, 可优化网络性能。 下面将结合附图 7、 图 9, 对本发明实施例提供的 D2D通信的发现装置进 行详细介绍。
请参见图 7, 为本发明第一实施例提供的一种 D2D通信的发现装置的结 构示意图。 需要说明的是, 附图 7所示的 D2D通信的发现装置, 用于执行本 发明图 1或图 2所示实施例的方法, 为了便于说明,仅示出了与本发明实施例 相关的部分,具体技术细节未揭示的,请参照本发明图 1或图 2所示的实施例。
进一步可选的, 本发明实施例提供的一种 D2D通信的发现装置可以为用 户设备, 其中, 用户设备可以是移动用户设备、 PC、 服务于全局通信的设备 或者是其他类型用户设备, 具体用户设备的实现形式不受限制。
其中, 本发明实施例可以包括至少 2个用户设备。 具体的, 可在 2个用户 设备之间进行 D2D通信, 可将其中任意一个称为: 第一用户设备, 另一个称 为: 第二用户设备。 进一步可选的, 本发明实施例的 D2D通信的发现装置可 以为第一用户设备, 也可以为第二用户设备, 具体不受本发明实施例的限制。
具体的, 下述将图 7所示的装置设为第一用户设备进行描述。
如图 7所示, 该装置可包括: 位置信息获取单元 701、 计算单元 702和发 送单元 703。 位置信息获取单元 701, 用于获取第一用户设备的位置信息和第二用户设 备的位置信息。
作为一种可选的实施方式,可通过 GPS定位、小区定位、云定位、 OTDOA 定位等一种或多种结合的方式获取位置信息。具体实现中,对于蜂窝网络下的 网元, 要求用户设备 UE具备 D2D通信的能力, 例如, 需要用户设备具有支 持 GPS定位、 OTDOA定位的功能模块等等,对于非蜂窝网络等自组网络的网 元, 要求 UE具备支持 D2D通信的能力, 例如, 具有支持 WiFi、 蓝牙的功能 模块、 支持有线网络的端口等等。
具体实现中, 位置信息可以包括用户设备的网络 IP地址、 用户设备所在 位置的经纬度,也可以为由应用的账户的注册地址或用户设备的接入路径等确 定的位置信息。
进一步的, 可通过以下三种方式之一实现位置信息的获取,也可以为其他 实现方式, 具体不受本发明实施例的限制, 三种方式分布为: 方式一: 第二用 户设备向第一用户设备主动上报第二用户设备的位置信息, 方式二: 第一用户 设备向第二用户设备发送位置查询请求,第二用户设备根据位置查询请求向第 一用户设备发送第二用户设备的位置信息, 方式三: 第一用户设备向应用服务 器请求获取第二用户设备的位置信息, 其中,应用服务器预先获取第二用户设 备的位置信息。
计算单元 702, 用于根据位置信息获取单元 701获取的第一用户设备的位 置信息与第二用户设备的位置信息计算第一用户设备与第二用户设备的距离。
作为一种可选的实施方式,可根据第一用户设备的位置信息和第二用户设 备的位置信息计算第一用户设备与第二用户设备的距离, 例如, 可根据第一用 户设备的经纬度以及第二用户设备的经纬度,可计算第一用户设备与第二用户 设备的相对距离 (如 5米、 4米等)。
发送单元 703, 用于根据计算单元 702计算的第一用户设备与第二用户设 备的距离向第一用户设备发送建立 D2D链路的指示, 以使第一用户设备和第 二用户设备建立 D2D通信链路。
进一步可选的, 本发明实施例提供的 D2D通信的发现装置还可以包括: 能力信息获取单元 704和能力信息确认单元 705。
能力信息获取单元 704, 还用于获取第一用户设备的 D2D通信能力的信 息和第二用户设备的 D2D通信能力的信息。
能力信息确认单元 705, 用于确认第一用户设备与第二用户设备的距离满 足所述第一用户设备与第二用户设备都能支持的 D2D通信能力的信息。
作为一种可选的实施方式,能力信息获取单元 704可直接从第二用户设备 获取第二用户设备的 D2D通信能力的信息。 进一步可选的, 能力信息获取单 元 704也可以从应用服务器获取第二用户设备的 D2D通信能力的信息,其中, 应用服务器预先从第二用户设备获取第二用户设备的 D2D通信能力的信息, 并根据第二用户设备的标识进行存储。 进一步可选的, 能力信息获取单元 704 也可以从 D2D服务器获取第二用户设备的 D2D通信能力的信息, 其中, D2D 服务器预先从第二用户设备获取第二用户设备的 D2D通信能力的信息, 并根 据第二用户设备的标识进行存储。
其中, D2D通信能力的信息包括但不局限于: D2D传输方式或者 D2D传 输方式的允许传输距离。 D2D通信能力的信息还可以包括: D2D传输方式的 优先级或 D2D传输方式的传输速率等, 具体不受本发明实施例的限制。 具体 的, D2D通信能力的信息如下表所示示例, D2D传输方式例如蓝牙、 WiFi、 蜂窝网络等, D2D传输方式的传输速率在下表中为该 D2D传输方式的最大传 输速率, D2D传输方式的优先级可设为 0~2共 3个级别, 级别越高, 越优先 选择该 D2D传输方式。
Figure imgf000022_0001
进一步可选的, 能力信息确认单元 705具体用于: 确认第一用户设备和第 二用户设备的距离小于或等于第一用户设备和第二用户设备都支持的 D2D传 输方式的允许传输距离。
具体实现中, 例如,计算单元 702计算得到第一用户设备与第二用户设备 的距离为 5米, 从获取到的第一用户设备的 D2D通信能力的信息和第二用户 设备的 D2D通信能力的信息中确定第一用户设备支持蓝牙 3.0,第二用户设备 支持蓝牙 3.0, 又蓝牙 3.0允许传输距离为 10米, 5米小于 10米, 则可确定第 一用户设备与第二用户设备的距离满足第一用户设备与第二用户设备都能支 持的 D2D通信能力的信息,则可确定第一用户设备和第二用户设备的 D2D传 输方式为: 蓝牙, 并向第一用户设备发送建立 D2D链路的指示, D2D链路的 指示中包括确定的 D2D传输方式: 蓝牙, 以使第一用户设备和第二用户设备 根据 D2D链路指示建立 D2D通信链路。
进一步可选的, 本发明实施例提供的 D2D通信的发现装置还可以包括: 传输方式确认单元 706。
传输方式确认单元 706, 用于从满足距离条件的都能支持的 D2D传输方 式中确认优先级最高的 D2D传输方式。
其中, 发送单元 703向第一用户设备发送的都能支持的 D2D通信能力的 信息具体包括: 确认的优先级最高的 D2D传输方式的信息。
具体实现中, 若满足上述距离条件的都能支持的 D2D传输方式有多种, 则可比较该多种 D2D传输方式的优先级,将优先级最高的 D2D传输方式确定 为目标传输方式, 从而, 向第一用户设备发送的都能支持的 D2D通信能力的 信息具体可以包括: 确认的优先级最高的 D2D传输方式的信息。
进一步可选的, 传输方式确认单元 706, 还用于根据业务数据的数据量大 小和 D2D传输方式的传输速率, 确定目标 D2D传输方式。
其中, 发送单元 703向第一用户设备发送的都能支持的 D2D通信能力的 信息具体包括: 确定的目标 D2D传输方式的信息。
具体实现中, 在接收到业务请求时, 业务请求中可包括: 业务数据的数据 量大小, 若满足上述距离条件的都能支持的 D2D传输方式有多种, 根据业务 数据的数据量大小和该多种 D2D传输方式的传输速率, 具体的, 可由业务数 据的数据量大小和传输速率计算任务执行时间, 将任务执行时间最短的 D2D 传输方式确定为目标传输方式, 从而在向第一用户设备发送的 D2D链路接入 指示中可包括确定的目标传输方式。
进一步可选的, 本发明实施例提供的 D2D通信的发现装置还可以包括: D2D通信单元 707。
D2D通信单元 707, 用于建立 D2D通信链路的 D2D通信单元。
具体的, 发送单元 703具体用于: 向 D2D通信单元 707发送第二用户设 备的标识和第一用户设备与第二用户设备都能支持的 D2D通信能力的信息。
作为一种可选的实施方式,在能力信息确认单元 705确定第一用户设备与 第二用户设备的距离满足第一用户设备与第二用户设备都能支持的 D2D通信 能力的信息时, 发送单元 703向第一用户设备中的 D2D通信单元 707发送第 二用户设备的标识和第一用户设备与第二用户设备都能支持的 D2D通信能力 的信息。 其中, D2D通信单元 707于建立 D2D通信链路, D2D通信单元 707 可主动与第二用户设备建立 D2D通信, 也可以在接收到任务请求时与第二用 户设备建立 D2D通信, 还可以将第一用户设备的标识以及第一用户设备与第 二用户设备都能支持的 D2D通信能力的信息发送给第二用户设备, 从而第二 用户设备可向第一用户设备发起建立 D2D通信的请求。
进一步可选的, 本发明实施例提供的 D2D通信的发现装置还可以包括: 距离确认单元 708。
距离确认单元 708, 用于确认第一用户设备与第二用户设备的距离小于或 等于预设阔值。
发送单元 703还用于:向应用服务器发送第二用户设备的标识和第二用户 设备的位置信息。
作为一种可选的实施方式,距离确认单元 708确认第一用户设备与第二用 户设备的距离小于或等于预设阔值,其中,预设阔值可以为预先设置的可编辑 距离数值, 例如 10m、 50m、 100m等, 进一步的, 预设阔值还可以与 D2D传 输方式对应,例如,蓝牙对应的预设阔值为 10m, WiFi对应的预设阔值为 600m 等。 进一步的,在距离确认单元 708确认第一用户设备与第二用户设备的距离 小于或等于预设阔值后,发送单元 703向应用服务器发送第二用户设备的标识 和第二用户设备的位置信息, 从而应用服务器获取第一用户设备的 D2D通信 能力的信息和第二用户设备的 D2D通信能力的信息, 确认第一用户设备与第 二用户设备的距离满足第一用户设备与第二用户设备都能支持的 D2D通信能 力的信息,向第一用户设备发送第二用户设备的标识和第一用户设备与第二用 户设备都能支持的 D2D通信能力的信息。
上述技术方案中, 提供一种 D2D通信的发现装置, 位置信息获取单元可 获取第一用户设备的位置信息和第二用户设备的位置信息,能力信息获取单元 可获取第一用户设备的 D2D通信能力的信息和第二用户设备的 D2D通信能力 的信息,从而计算单元可根据第一用户设备的位置信息和第二用户设备的位置 信息计算第一用户设备与第二用户设备的距离,并在确认第一用户设备与第二 用户设备的距离满足第一用户设备与第二用户设备都能支持的 D2D通信能力 的信息时, 发送单元向第一用户设备中的 D2D通信单元发送第二用户设备的 标识和第一用户设备与第二用户设备都能支持的 D2D通信能力的信息, 进而 第一用户设备可与第二用户设备建立 D2D通信。 本发明实施例, 在应用层实 现 D2D通信的发现方法, 仅在两个用户设备之间实现, 无需部署其他设备, 无需再部署接口, 减少了网络信令开销, 减少了电量消耗, 且在应用层获取用 户设备的位置信息, 例如, 可通过 GPS定位、 小区定位或者云定位等一种或 多种结合的方式获取位置信息, 可支持多种定位方式, 提高了定位精度, 可优 化网络性能。
需要说明的是, 本实施例中的发送单元可以为用户设备的发射机; 另夕卜, 也可以将接收单元和发送单元集成在一起构成用户设备的收发机。位置信息获 取单元、计算单元可以为单独设立的处理器,也可以集成在用户设备的某一个 处理器中实现, 此外, 也可以以程序代码的形式存储于用户设备的存储器中, 由用户设备的某一个处理器调用并执行以上跟踪任务建立单元的功能。能力信 息获取单元、 能力信息确认单元、 D2D 通信单元、 距离确认单元或传输方式 确认单元的实现同计算单元,且可与位置信息获取单元、计算单元集成在一起, 也可以独立实现。这里所述的处理器可以是一个中央处理器, 或者是特定集成 电路, 或者是被配置成实施本发明实施例的一个或多个集成电路。
请参见图 8, 为本发明实施例提供的一种用户设备的结构示意图, 其中, 本实施例提供的用户设备与图 2所示的方法相对应, 为基于图 2所示的 D2D 通信的发现方法的执行主体。进一步可选的, 本发明实施例提供的一种用户设 备可以是移动用户设备、 PC、 服务于全局通信的设备或者是其他类型用户设 备, 具体用户设备的实现形式不受限制。 具体的实现形式如图 8所示, 本发明 实施例的用户设备可以包括: 接收机 801、 发射机 802、 存储器 803和处理器 804, 其中,接收机 801、发射机 802、存储器 803均和处理器 804连接, 例如, 可以通过总线连接。 当然, 用户设备还可以包括天线、 输入输出装置等通用部 件, 本发明实施例在此不再任何限制。
接收机 801和发射机 802可以集成在一起, 构成收发机。
存储器 803用于存储可执行程序代码, 该程序代码包括计算机操作指令。 存储器 803可能包含高速 RAM存储器, 也可能还包括非易失性存储器, 例如 至少一个磁盘存储器。
处理器 804可以是一个中央处理器, 或者是特定集成电路, 或者是被配置 成实施本发明实施例的一个或多个集成电路。
其中, 存储器 803 中存储一组程序代码, 且处理器 804用于调用存储器 803中存储的程序代码, 执行以下操作:
在应用层获取第一用户设备的位置信息和第二用户设备的位置信息; 根据第一用户设备的位置信息和第二用户设备的位置信息计算第一用户 设备与第二用户设备的距离;
根据第一用户设备与第二用户设备的距离通过发射机 802 向第一用户设 备发送建立 D2D链路的指示,以使第一用户设备和第二用户设备建立 D2D通 信链路。
作为一种可选的实施方式,处理器 804还用于:获取第一用户设备的 D2D 通信能力的信息; 获取第二用户设备的 D2D通信能力的信息;
其中, 处理器 804根据第一用户设备与第二用户设备的距离通过发射机 802向第一用户设备发送建立 D2D链路的指示具体包括: 在确认第一用户设 备与第二用户设备的距离满足第一用户设备与第二用户设备都能支持的 D2D 通信能力的信息时, 向处理器 804中的 D2D通信单元发送第二用户设备的标 识和第一用户设备与第二用户设备都能支持的 D2D通信能力的信息。
作为一种可选的实施方式, 处理器 804还用于: 确认第一用户设备与第二 用户设备的距离小于或等于预设阔值,向应用服务器发送第二用户设备的标识 和第二用户设备的位置信息。
作为一种可选的实施方式, D2D通信能力的信息包括: D2D传输方式、 D2D传输方式的允许传输距离;
处理器 804确认第一用户设备与第二用户设备的距离满足第一用户设备 与第二用户设备都能支持的 D2D通信能力的信息, 具体包括:
确认第一用户设备和第二用户设备的距离小于或等于第一用户设备和第 二用户设备都支持的 D2D传输方式的允许传输距离。
作为一种可选的实施方式, D2D通信能力的信息还包括: D2D传输方式 的优先级;
处理器 804还用于: 从满足所述距离条件的都能支持的 D2D传输方式中 确认优先级最高的 D2D传输方式;
其中,处理器 804通过发射机 802向第一用户设备发送的都能支持的 D2D 通信能力的信息具体包括: 确认的优先级最高的 D2D传输方式的信息。
作为一种可选的实施方式, D2D通信能力的信息还包括: D2D传输方式 的传输速率;
处理器 804还用于: 根据业务数据的数据量大小和 D2D传输方式的传输 速率, 确定目标 D2D传输方式;
其中,处理器 804通过发射机 802向第一用户设备发送的都能支持的 D2D 通信能力的信息具体包括: 确定的目标 D2D传输方式的信息。
上述技术方案中, 提供一种用户设备, 包括: 接收机、 发射机、 存储器和 处理器, 处理器可获取第一用户设备的位置信息、 第二用户设备的位置信息、 第一用户设备的 D2D通信能力的信息和第二用户设备的 D2D通信能力的信 息,从而可根据第一用户设备的位置信息和第二用户设备的位置信息计算第一 用户设备与第二用户设备的距离,并在确认第一用户设备与第二用户设备的距 离满足第一用户设备与第二用户设备都能支持的 D2D通信能力的信息时, 向 处理器中的 D2D通信单元发送第二用户设备的标识和第一用户设备与第二用 户设备都能支持的 D2D通信能力的信息, 进而第一用户设备可与第二用户设 备建立 D2D通信。 本发明实施例, 在应用层实现 D2D通信的发现方法, 仅在 两个用户设备之间实现, 无需部署其他设备, 无需再部署接口, 减少了网络信 令开销, 减少了电量消耗, 且在应用层获取用户设备的位置信息, 例如, 可通 过 GPS定位、 小区定位、 云定位等一种或多种结合的方式获取位置信息, 可 支持多种定位方式, 提高了定位精度, 可优化网络性能。 请参见图 9, 为本发明第二实施例提供的一种 D2D通信的发现装置的结 构示意图。 需要说明的是, 附图 9所示的 D2D通信的发现装置, 用于执行本 发明图 1或 3所示实施例的方法, 为了便于说明,仅示出了与本发明实施例相 关的部分, 具体技术细节未揭示的, 请参照本发明图 1或 3所示的实施例。 进 一步可选的, 本发明实施例提供的一种 D2D通信的发现装置可以为应用服务 器。
如图 9所示, 该装置可包括: 位置信息获取单元 901、 计算单元 902和发 送单元 903。
位置信息获取单元 901, 用于获取第一用户设备的位置信息和第二用户设 备的位置信息。
作为一种可选的实施方式,可通过 GPS定位、小区定位、云定位、 OTDOA 定位等一种或多种结合的方式获取位置信息。具体实现中,位置信息可以包括 用户设备的网络 IP地址、 用户设备所在位置的经纬度, 也可以为由应用的账 户的注册地址或用户设备的接入路径等确定的位置信息。
进一步的, 可通过以下两种方式之一实现位置信息的获取,也可以为其他 实现方式, 具体不受本发明实施例的限制, 两种方式分别为: 方式一: 应用服 务器可向第一用户设备和第二用户设备发送位置查询请求,第一用户设备向应 用服务器发送第一用户设备的位置信息,第二用户设备向应用服务器发送第二 用户设备的位置信息, 方式二: 第一用户设备主动向应用服务器发送第一用户 设备的位置信息,第二用户设备主动向应用服务器发送第二用户设备的位置信 息。
其中, 本发明实施例可以包括至少 2个用户设备。 具体的, 可在 2个用户 设备之间进行 D2D通信, 可将其中任意一个称为: 第一用户设备, 另一个称 为: 第二用户设备。
计算单元 902, 用于根据位置信息获取单元 901获取的第一用户设备的位 置信息与第二用户设备的位置信息计算第一用户设备与第二用户设备的距离。
作为一种可选的实施方式,计算单元 902可根据第一用户设备的位置信息 和第二用户设备的位置信息计算第一用户设备与第二用户设备的距离, 例如, 可根据第一用户设备的经纬度以及第二用户设备的经纬度,可计算第一用户设 备与第二用户设备的相对距离 (如 5米、 4米等)。
发送单元 903, 用于根据计算单元 902计算的第一用户设备与第二用户设 备的距离向第一用户设备发送建立 D2D链路的指示, 以使第一用户设备和第 二用户设备建立 D2D通信链路。
进一步可选的, 本发明实施例提供的 D2D通信的发现装置还可以包括: 能力信息获取单元 904和能力信息确认单元 905。
能力信息获取单元 904, 还用于获取第一用户设备的 D2D通信能力的信 息和第二用户设备的 D2D通信能力的信息。
能力信息确认单元 905, 用于确认第一用户设备与第二用户设备的距离满 足第一用户设备与第二用户设备都能支持的 D2D通信能力的信息。
作为一种可选的实施方式,能力信息获取单元 904可通过以下三种方式之 一实现 D2D通信能力的信息的获取, 也可以为其他实现方式, 具体不受本发 明实施例的限制, 三种方式分布为: 方式一: 应用服务器可向第一用户设备和 第二用户设备发送能力信息查询请求,第一用户设备向应用服务器发送第一用 户设备的 D2D通信能力的信息, 第二用户设备向应用服务器发送第二用户设 备的 D2D通信能力的信息, 方式二: 第一用户设备主动向应用服务器发送第 一用户设备的 D2D通信能力的信息, 第二用户设备主动向应用服务器发送第 二用户设备的 D2D通信能力的信息; 方式三, 应用服务器也可以从 D2D服务 器获取第一用户设备的 D2D通信能力的信息和第二用户设备的 D2D通信能力 的信息, 其中, D2D服务器预先从第二用户设备获取第二用户设备的 D2D通 信能力的信息以及预先从第一用户设备获取第一用户设备的 D2D通信能力的 信息, 并分别根据第二用户设备的标识以及第一用户设备的标识进行存储。
其中, D2D通信能力的信息包括但不局限于: D2D传输方式、 D2D传输 方式的允许传输距离, D2D通信能力的信息还可以包括: D2D传输方式的优 先级或 D2D传输方式的传输速率等, 具体不受本发明实施例的限制。 具体的, D2D通信能力的信息如下表所示示例, D2D传输方式例如蓝牙、 WiFi、 蜂窝 网络等, D2D传输方式的传输速率在下表中为该 D2D传输方式的最大传输速 率, D2D传输方式的优先级可设为 0~2共 3个级别, 级别越高, 越优先选择 该 D2D传输方式。
Figure imgf000030_0001
进一步可选的, 能力信息确认单元 904具体用于: 确认第一用户设备和第 二用户设备的距离小于或等于第一用户设备和第二用户设备都支持的 D2D传 输方式的允许传输距离。
具体实现中, 例如,计算单元 902计算得到第一用户设备与第二用户设备 的距离为 5米, 从能力信息获取单元 904获取到的第一用户设备的 D2D通信 能力的信息和第二用户设备的 D2D通信能力的信息中确定第一用户设备支持 蓝牙 3.0, 第二用户设备支持蓝牙 3.0, 又蓝牙 3.0允许传输距离为 10米, 5 米小于 10米, 则可确定第一用户设备与第二用户设备的距离满足第一用户设 备与第二用户设备都能支持的 D2D通信能力的信息, 则可确定第一用户设备 和第二用户设备的 D2D传输方式为: 蓝牙, 并向第一用户设备发送建立 D2D 链路的指示, D2D链路的指示中包括确定的 D2D传输方式: 蓝牙, 以使第一 用户设备和第二用户设备根据 D2D链路指示建立 D2D通信链路。
进一步可选的, 本发明实施例提供的 D2D通信的发现装置还可以包括: 传输方式确认单元 906。
传输方式确认单元 906, 用于从满足距离条件的都能支持的 D2D传输方 式中确认优先级最高的 D2D传输方式。
其中, 发送单元 903向第一用户设备发送的都能支持的 D2D通信能力的 信息具体包括: 确认的优先级最高的 D2D传输方式的信息。
具体实现中, 若满足上述距离条件的都能支持的 D2D传输方式有多种, 则可比较该多种 D2D传输方式的优先级,将优先级最高的 D2D传输方式确定 为目标传输方式, 从而, 向第一用户设备发送的都能支持的 D2D通信能力的 信息具体可以包括: 确认的优先级最高的 D2D传输方式的信息。
进一步可选的, 传输方式确认单元 906, 还用于根据业务数据的数据量大 小和 D2D传输方式的传输速率, 确定目标 D2D传输方式。
其中, 发送单元 903向第一用户设备发送的都能支持的 D2D通信能力的 信息具体包括: 确定的目标 D2D传输方式的信息。
具体实现中, 在接收到业务请求时, 业务请求中可包括: 业务数据的数据 量大小, 若满足上述距离条件的都能支持的 D2D传输方式有多种, 根据业务 数据的数据量大小和该多种 D2D传输方式的传输速率, 具体的, 可由业务数 据的数据量大小和传输速率计算任务执行时间, 将任务执行时间最短的 D2D 传输方式确定为目标传输方式, 从而在向第一用户设备发送的 D2D链路接入 指示中可包括确定的目标传输方式。
进一步可选的,在第一用户设备确认第一用户设备与第二用户设备的距离 小于或等于预设阔值,第一用户设备可向应用服务器发送第二用户设备的标识 和第二用户设备的位置信息,从而能力信息确认单元 905在确认所述第一用户 设备与所述第二用户设备的距离满足第一用户设备与第二用户设备都能支持 的 D2D通信能力的信息时, 发送单元 903具体用于: 向第一用户设备发送第 二用户设备的标识和第一用户设备与第二用户设备都能支持的 D2D通信能力 的信息。
进一步可选的, 本发明实施例提供的 D2D通信的发现装置还可以包括: 距离确认单元 907。
距离确认单元 907, 用于确认第一用户设备与第二用户设备的距离小于或 等于预设阔值。
发送单元 903还用于:向第一用户设备发送第二用户设备的标识和第二用 户设备的位置信息。
具体实现中,距离确认单元 906在确认第一用户设备与第二用户设备的距 离小于或等于预设阔值后,发送单元 903向第一用户设备发送第二用户设备的 标识和第二用户设备的位置信息,从而第一用户设备可分别获得第一用户设备 的 D2D通信能力的信息和第二用户设备的 D2D通信能力的信息,并确认第一 用户设备与第二用户设备的距离满足第一用户设备与第二用户设备都能支持 的 D2D通信能力的信息,向第一用户设备的 D2D通信单元发送第二用户设备 的标识和第一用户设备与第二用户设备都能支持的 D2D通信能力的信息, 进 而第一用户设备可与第二用户设备建立 D2D通信。
上述技术方案中, 提供一种 D2D通信的发现装置, 位置信息获取单元可 分别获取第一用户设备的位置信息和第二用户设备的位置信息,能力信息获取 单元可获取第一用户设备的 D2D通信能力的信息和第二用户设备的 D2D通信 能力的信息,从而计算单元可根据第一用户设备的位置信息和第二用户设备的 位置信息计算第一用户设备与第二用户设备的距离,并在确认第一用户设备与 第二用户设备的距离满足第一用户设备与第二用户设备都能支持的 D2D通信 能力的信息时,发送单元向第一用户设备发送第二用户设备的标识和第一用户 设备与第二用户设备都能支持的 D2D通信能力的信息, 进而第一用户设备可 与第二用户设备建立 D2D通信。 本发明实施例, 在应用层实现 D2D通信的发 现方法, 由应用服务器进行 D2D通信的发现, 从而可在第一用户设备与第二 用户设备之间实现 D2D通信, 无需部署其他设备, 无需再部署接口, 减少了 网络信令开销,减少了电量消耗,且在应用层获取用户设备的位置信息,例如, 可通过 GPS定位、 小区定位、 云定位等一种或多种结合的方式获取位置信息, 可支持多种定位方式, 提高了定位精度, 可优化网络性能。
需要说明的是, 本实施例中的发送单元可以为应用服务器的发射机,且接 收单元和发送单元可以集成在一起构成应用服务器的收发机。位置信息获取单 元、计算单元可以为单独设立的处理器,也可以集成在应用服务器的某一个处 理器中实现, 此外, 也可以以程序代码的形式存储于应用服务器的存储器中, 由应用服务器的某一个处理器调用并执行以上单元的功能。 能力信息获取单 元、能力信息确认单元、距离确认单元或传输方式确认单元的实现同计算单元, 且可与位置信息获取单元、 计算单元集成在一起, 也可以独立实现。 这里所述 的处理器可以是一个中央处理器, 或者是特定集成电路, 或者是被配置成实施 本发明实施例的一个或多个集成电路。
请参见图 10, 为本发明实施例提供的一种应用服务器的结构示意图, 其 中, 本实施例提供的应用服务器与图 3所示的方法相对应, 为基于图 3所示的 D2D通信的发现方法的执行主体。 具体的实现形式如图 10所示, 本发明实施 例的应用服务器包括:接收机 1001、发射机 1002、存储器 1003和处理器 1004, 其中, 接收机 1001、 发射机 1002、 存储器 1003均和处理器 1004连接, 例如, 可以通过总线连接。 当然, 应用服务器还可以包括天线、 基带处理部件、 中射 频处理部件、 输入输出装置等通用部件, 本发明实施例在此不再任何限制。
接收机 1001和发射机 1002可以集成在一起, 构成收发机。
存储器 1003用于存储可执行程序代码,该程序代码包括计算机操作指令。 存储器 1003可能包含高速 RAM存储器, 也可能还包括非易失性存储器, 例 如至少一个磁盘存储器。
处理器 1004可以是一个中央处理器, 或者是特定集成电路, 或者是被配 置成实施本发明实施例的一个或多个集成电路。
其中,存储器 1003中存储一组程序代码,且处理器 1004用于调用存储器 1003中存储的程序代码, 执行以下操作:
获取第一用户设备的位置信息和第二用户设备的位置信息; 根据第一用户设备的位置信息与第二用户设备的位置信息计算第一用户 设备与第二用户设备的距离;
根据第一用户设备与第二用户设备的距离向第一用户设备发送建立 D2D 链路的指示, 以使第一用户设备和第二用户设备建立 D2D通信链路。
作为一种可选的实施方式,处理器 1004还用于:获取第一用户设备的 D2D 通信能力的信息和第二用户设备的 D2D通信能力的信息;
确认第一用户设备与第二用户设备的距离满足第一用户设备与第二用户 设备都能支持的 D2D通信能力的信息。
作为一种可选的实施方式, 处理器 1004还具体用于: 向第一用户设备发 送第二用户设备的标识和第一用户设备与第二用户设备都能支持的 D2D通信 能力的信息。
作为一种可选的实施方式, 处理器 1004还用于: 确认第一用户设备与第 二用户设备的距离小于或等于预设阔值;
处理器 1004还具体用于: 向第一用户设备发送第二用户设备的标识和第 二用户设备的位置信息。
作为一种可选的实施方式, D2D通信能力的信息包括: D2D传输方式、 D2D传输方式的允许传输距离;
处理器 1004具体用于: 确认第一用户设备和第二用户设备的距离小于或 等于第一用户设备和第二用户设备都支持的 D2D传输方式的允许传输距离。
作为一种可选的实施方式, D2D通信能力的信息还包括: D2D传输方式 的优先级;
处理器 1004还用于:从满足所述距离条件的都能支持的 D2D传输方式中 确认优先级最高的 D2D传输方式;
其中, 处理器 1004通过发射机 1002向第一用户设备发送的都能支持的 D2D通信能力的信息具体包括: 确认的优先级最高的 D2D传输方式的信息。
作为一种可选的实施方式, D2D通信能力的信息还包括: D2D传输方式 的传输速率;
处理器 1004还用于:根据业务数据的数据量大小和 D2D传输方式的传输 速率, 确定目标 D2D传输方式;
其中, 处理器 1004通过发射机 1002向第一用户设备发送的都能支持的 D2D通信能力的信息具体包括: 确定的目标 D2D传输方式的信息。
上述技术方案中, 提供一种应用服务器, 包括接收机、 发射机、 存储器和 处理器, 处理器可分别获取第一用户设备的位置信息、第二用户设备的位置信 息、第一用户设备的 D2D通信能力的信息和第二用户设备的 D2D通信能力的 信息,从而可根据第一用户设备的位置信息和第二用户设备的位置信息计算第 一用户设备与第二用户设备的距离,并在确认第一用户设备与第二用户设备的 距离满足第一用户设备与第二用户设备都能支持的 D2D通信能力的信息时, 向第一用户设备发送第二用户设备的标识和第一用户设备与第二用户设备都 能支持的 D2D 通信能力的信息, 进而第一用户设备可与第二用户设备建立 D2D通信。 本发明实施例, 在应用层实现 D2D通信的发现方法, 由应用服务 器进行 D2D 通信的发现, 从而可在第一用户设备与第二用户设备之间实现 D2D通信, 无需部署其他设备, 无需再部署接口, 减少了网络信令开销, 减 少了电量消耗。 且在应用层获取用户设备的位置信息, 可支持多种定位方式, 提高了定位精度, 可优化网络性能。 进一步可选的, 本发明实施例还提供的一种 D2D通信的发现系统, 下面 将结合附图 11 ( a ) ~图 11 ( e ) , 对本发明实施例提供的 D2D通信的发现系 统进行详细介绍。 其中, 本发明实施例可以包括至少 2个用户设备。 具体的, 可在 2个用户设备之间进行 D2D通信, 可将其中任意一个称为: 第一用户设 备, 另一个称为: 第二用户设备。
如图 11 ( a )所示, 为本发明第一实施例提供的 D2D通信的发现系统, 包 括: 第一用户设备 11a和第二用户设备 12a。 作为一种可选的实施方式, 第一 用户设备 11a或第二用户设备 12a如图 7所示的装置。其中,第一用户设备 11a 和第二用户设备 12a可通过无线网络或有线网络连接,该装置的结构和功能可 参见图 7所示实施例的相关描述, 在此不赘述。 需要说明的是, 本实施例的系 统可应用于上述图 2所示的方法中。 如图 11 ( b ) 所示, 为本发明第二实施例提供的 D2D通信的发现系统, 包括: 第一用户设备 llb、 第二用户设备 12b和应用服务器 21b。 作为一种可 选的实施方式, 第一用户设备 lib或第二用户设备 12b如图 7所示的装置, 应 用服务器 21b如图 9所示的装置, 该装置的结构和功能可分别参见图 7、 图 9 所示实施例的相关描述, 在此不赘述。 其中, 应用服务器 21b可通过无线网络 分别与第一用户设备 llb、 第二用户设备 12b进行连接, 第一用户设备 lib和 第二用户设备 12b可通过无线网络或有线网络连接。 需要说明的是, 本实施例 的系统可应用于上述图 3~图 5任一所述的方法中。 进一步可选的, 应用服务 器 21b可以为一台应用服务器,即为第一用户设备 lib的应用所属的应用服务 器与第二用户设备 12b的应用所属的应用服务器为同一台应用服务器,应用服 务器 21b也可以包括两台应用服务器,即第一用户设备 lib的应用所属的应用 服务器为第一应用服务器,第二用户设备 12b的应用所属的应用服务器为第二 应用服务器。
如图 11 ( c )所示, 为本发明第三实施例提供的 D2D通信的发现系统, 包 括: 第一用户设备 llc、 第二用户设备 12c、 应用服务器 21c以及 D2D服务器 31c。作为一种可选的实施方式, 第一用户设备 11c或第二用户设备 12c如图 7 所示的装置, 应用服务器 21c如图 9所示的装置, 该装置的结构和功能可分别 参见图 7、 图 9所示实施例的相关描述, 在此不赘述。 其中, 应用服务器可通 过无线网络分别与第一用户设备 llc、 第二用户设备 12c进行连接, D2D服务 器 31c可通过无线网络分别与第一用户设备 llc、第二用户设备 12c进行连接, 第一用户设备 11c和第二用户设备 12c可通过无线网络或有线网络连接。需要 说明的是, 本实施例的系统可应用于上述图 6所述的方法中。
如图 11 ( d ) 所示, 为本发明第四实施例提供的 D2D通信的发现系统, 包括: 第一用户设备 lld、 第二用户设备 12d、 应用服务器 21d、 D2D服务器 31d以及 D2D应用服务器 32d。 作为一种可选的实施方式, 第一用户设备 lid 或第二用户设备 12d如图 7所示的装置, 应用服务器 21d如图 9所示的装置, 该装置的结构和功能可分别参见图 7、 图 9所示实施例的相关描述, 在此不赘 述。 其中, 应用服务器可通过无线网络分别与第一用户设备 lld、 第二用户设 备 12d进行连接, D2D服务器 31d可与第一用户设备 lid连接, D2D服务器 32d与第二用户设备 12d连接, D2D服务器 31d可与 D2D服务器 33d连接, 第一用户设备 lid和第二用户设备 12d可通过无线网络或有线网络连接。需要 说明的是, 本实施例的系统可应用于上述图 6所述的方法中。
如图 11 ( e )所示, 为本发明第五实施例提供的 D2D通信的发现系统, 包 括: 第一用户设备 lle、 第二用户设备 12e、 应用服务器 21e以及 D2D服务器 31e。作为一种可选的实施方式, 第一用户设备 lie或第二用户设备 12e如图 7 所示的装置, 应用服务器 21e如图 9所示的装置, 该装置的结构和功能可分别 参见图 7、 图 9所示实施例的相关描述, 在此不赘述。 其中, 应用服务器可通 过无线网络分别与第一用户设备 lle、 第二用户设备 12e进行连接, D2D服务 器 31e可通过无线网络与第一用户设备 lie连接, 第一用户设备 lie和第二用 户设备 12e可通过无线网络或有线网络连接。 需要说明的是, 本实施例的系统 可应用于上述图 6所述的方法中。
综上, 本发明实施例提供的一种调度请求的处理方法、 装置及系统, 可在 应用层自动实现 D2D通信的发现, 进一步的, 可由应用服务器和用户设备实 现 D2D通信的发现, 或者由两台用户设备实现 D2D通信的发现。 无需部署其 他设备, 无需再部署接口, 减少了网络信令开销, 减少了电量消耗。 且在应用 层获取用户设备的位置信息, 例如, 可通过 GPS定位、 小区定位、 云定位等 一种或多种结合的方式获取位置信息,可支持多种定位方式,提高了定位精度, 可优化网络性能。 进一步的, 还可以从 D2D服务器获得 D2D链路参数, 进而 第一用户设备可与第二用户设备可根据 D2D链路参数、 第一用户设备与第二 用户设备都能支持的 D2D通信能力的信息, 建立 D2D通信, 优化了网络, 减 少了链路干扰。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发 明可以用硬件实现, 或固件实现, 或它们的组合方式来实现。 当使用软件实现 时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个 或多个指令或代码进行传输。 计算机可读介质包括计算机存储介质和通信介 质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介 质。 存储介质可以是计算机能够存取的任何可用介质。 以此为例但不限于: 计 算机可读介质可以包括 RAM、 ROM, EEPROM、 CD-ROM或其他光盘存储、 磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据 结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何 连接可以适当的成为计算机可读介质。 例如, 如果软件是使用同轴电缆、 光纤 光缆、 双绞线、 数字用户线(DSL )或者诸如红外线、 无线电和微波之类的无 线技术从网站、 服务器或者其他远程源传输的, 那么同轴电缆、 光纤光缆、 双 绞线、 DSL或者诸如红外线、 无线和微波之类的无线技术包括在所属介质的 定影中。 如本发明所使用的, 盘 (Disk )和碟(disc ) 包括压缩光碟(CD )、 激光碟、 光碟、 数字通用光碟(DVD )、 软盘和蓝光光碟, 其中盘通常磁性的 复制数据, 而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机 可读介质的保护范围之内。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之 权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims

权 利 要 求
1、 一种设备到设备 D2D通信方法, 其特征在于, 包括:
在应用层获取第一用户设备的位置信息和第二用户设备的位置信息; 根据所述第一用户设备的位置信息和所述第二用户设备的位置信息计算 所述第一用户设备与所述第二用户设备的距离;
根据所述第一用户设备与所述第二用户设备的距离向所述第一用户设备 发送建立 D2D链路的指示, 以使所述第一用户设备和所述第二用户设备建立
D2D通信链路。
2、 如权利要求 1所述的方法, 其特征在于, 所述在应用层获取第一用户 设备的位置信息和第二用户设备的位置信息, 包括: 所述第一用户设备在应用 层获取所述第二用户设备的位置信息;
所述方法进一步包括: 所述第一用户设备获取所述第一用户设备的 D2D 通信能力的信息; 所述第一用户设备获取所述第二用户设备的 D2D通信能力 的信息;
其中,所述根据所述第一用户设备与所述第二用户设备的距离向所述第一 用户设备发送建立 D2D链路的指示具体包括: 所述第一用户设备在确认所述 第一用户设备与所述第二用户设备的距离满足所述第一用户设备与所述第二 用户设备都能支持的 D2D通信能力的信息时, 向所述第一用户设备中的 D2D 通信单元发送所述第二用户设备的标识和所述第一用户设备与所述第二用户 设备都能支持的 D2D通信能力的信息。
3、 如权利要求 1所述的方法, 其特征在于, 所述根据所述第一用户设备 的位置信息和所述第二用户设备的位置信息计算所述第一用户设备与所述第 二用户设备的距离之后,还包括: 所述第一用户设备确认所述第一用户设备与 所述第二用户设备的距离小于或等于预设阔值,所述第一用户设备向应用服务 器发送所述第二用户设备的标识和所述第二用户设备的位置信息。
4、 如权利要求 3所述的方法, 其特征在于, 所述方法还包括: 所述应用 服务器接收到所述第一用户设备发送的所述第二用户设备的标识和所述第二 用户设备的位置信息后, 所述应用服务器获取所述第一用户设备的 D2D通信 能力的信息和所述第二用户设备的 D2D通信能力的信息;
所述应用服务器确认所述第一用户设备与所述第二用户设备的距离满足 所述第一用户设备与所述第二用户设备都能支持的 D2D通信能力的信息, 向 所述第一用户设备发送所述第二用户设备的标识和所述第一用户设备与所述 第二用户设备都能支持的 D2D通信能力的信息。
5、 如权利要求 1所述的方法, 其特征在于, 所述在应用层获取第一用户 设备的位置信息和第二用户设备的位置信息, 包括: 应用服务器分别从所述第 一用户设备获取所述第一用户设备的位置信息,从所述第二用户设备获取所述 第二用户设备的位置信息;
所述方法进一步包括: 所述应用服务器获取所述第一用户设备的 D2D通 信能力的信息和所述第二用户设备的 D2D通信能力的信息;
其中,所述根据所述第一用户设备与所述第二用户设备的距离向所述第一 用户设备发送建立 D2D链路的指示具体包括: 所述应用服务器确认所述第一 用户设备与所述第二用户设备的距离满足所述第一用户设备与所述第二用户 设备都能支持的 D2D通信能力的信息, 向所述第一用户设备发送所述第二用 户设备的标识和所述第一用户设备与所述第二用户设备都能支持的 D2D通信 能力的信息。
6、 如权利要求 1所述的方法, 其特征在于, 所述在应用层获取第一用户 设备的位置信息和第二用户设备的位置信息, 包括: 应用服务器从所述第一用 户设备获取所述第一用户设备的位置信息,从所述第二用户设备获取所述第二 用户设备的位置信息;
其中,所述根据所述第一用户设备与所述第二用户设备的距离向所述第一 用户设备发送建立 D2D链路的指示具体包括: 所述应用服务器确认所述第一 用户设备与所述第二用户设备的距离小于或等于预设阔值,向所述第一用户设 备发送所述第二用户设备的标识和所述第二用户设备的位置信息。
7、 如权利要求 6所述的方法, 所述方法进一步包括:
在所述第一用户设备接收到所述第二用户设备的标识和所述第二用户设 备的位置信息后, 所述第一用户设备获取所述第一用户设备的 D2D通信能力 的信息和所述第二用户设备的 D2D通信能力的信息;
所述第一用户设备确认所述第一用户设备与所述第二用户设备的距离满 足所述第一用户设备与所述第二用户设备都能支持的 D2D 通信能力的信息 时, 所述第一用户设备向所述第一用户设备中的 D2D通信单元发送所述第二 用户设备的标识和所述第一用户设备与所述第二用户设备都能支持的 D2D通 信能力的信息。
8、 如权利要求 2~7任一所述的方法, 其特征在于, 所述 D2D通信能力的 信息包括: D2D传输方式、 所述 D2D传输方式的允许传输距离;
所述确认所述第一用户设备与所述第二用户设备的距离满足所述第一用 户设备与所述第二用户设备都能支持的 D2D通信能力的信息, 具体为:
确认所述第一用户设备和所述第二用户设备的距离小于或等于所述第一 用户设备和所述第二用户设备都支持的所述 D2D传输方式的允许传输距离。
9、 如权利要求 8所述的方法, 其特征在于, 所述 D2D通信能力的信息还 包括: 所述 D2D传输方式的优先级;
所述方法进一步包括: 从所述满足所述距离条件的都能支持的所述 D2D 传输方式中确认优先级最高的 D2D传输方式;
其中, 所述向所述第一用户设备发送的都能支持的 D2D通信能力的信息 具体包括: 所述确认的优先级最高的 D2D传输方式的信息。
10、 如权利要求 6或者 8所述的方法, 其特征在于, 所述 D2D通信能力 的信息还包括: 所述 D2D传输方式的传输速率;
所述方法进一步包括: 根据业务数据的数据量大小和所述 D2D传输方式 的传输速率, 确定目标 D2D传输方式;
其中, 所述向所述第一用户设备发送的都能支持的 D2D通信能力的信息 具体包括: 所述确定的目标 D2D传输方式的信息。
11、 一种 D2D通信的发现装置, 其特征在于, 所述装置包括:
位置信息获取单元,用于获取第一用户设备的位置信息和第二用户设备的 位置信息;
计算单元,用于根据所述位置信息获取单元获取的所述第一用户设备的位 置信息与所述第二用户设备的位置信息计算所述第一用户设备与所述第二用 户设备的距离;
发送单元,用于根据所述计算单元计算的所述第一用户设备与所述第二用 户设备的距离向所述第一用户设备发送建立 D2D链路的指示, 以使所述第一 用户设备和所述第二用户设备建立 D2D通信链路。
12、 如权利要求 11所述的装置, 其特征在于, 所述装置还包括: 能力信息获取单元, 还用于获取所述第一用户设备的 D2D通信能力的信 息和所述第二用户设备的 D2D通信能力的信息;
能力信息确认单元,用于确认所述第一用户设备与所述第二用户设备的距 离满足所述第一用户设备与所述第二用户设备都能支持的 D2D通信能力的信 息。
13、 如权利要求 12所述的装置, 其特征在于, 所述装置还包括: 用于建 立 D2D通信链路的 D2D通信单元;
所述发送单元具体用于: 向所述 D2D通信单元发送所述第二用户设备的 标识和所述第一用户设备与所述第二用户设备都能支持的 D2D通信能力的信 息。
14、 如权利要求 11所述的装置, 其特征在于, 所述装置还包括: 距离确 认单元,用于确认所述第一用户设备与所述第二用户设备的距离小于或等于预 设阔值;
所述发送单元还用于:向应用服务器发送所述第二用户设备的标识和所述 第二用户设备的位置信息。
15、 如权利要求 12所述的装置, 其特征在于, 所述发送单元具体用于: 向所述第一用户设备发送所述第二用户设备的标识和所述第一用户设备与所 述第二用户设备都能支持的 D2D通信能力的信息。
16、 如权利要求 12所述的装置, 其特征在于, 所述装置还包括: 距离确 认单元,用于确认所述第一用户设备与所述第二用户设备的距离小于或等于预 设阔值;
所述发送单元还用于:向所述第一用户设备发送所述第二用户设备的标识 和所述第二用户设备的位置信息。
17、 如权利要求 12所述的装置, 其特征在于, 所述 D2D通信能力的信息 包括: D2D传输方式、 所述 D2D传输方式的允许传输距离;
所述能力信息确认单元具体用于:确认所述第一用户设备和所述第二用户 设备的距离小于或等于所述第一用户设备和所述第二用户设备都支持的所述 D2D传输方式的允许传输距离。
18、 如权利要求 17所述的装置, 其特征在于, 所述 D2D通信能力的信息 还包括: 所述 D2D传输方式的优先级;
所述装置还包括: 传输方式确认单元, 用于从所述满足所述距离条件的都 能支持的所述 D2D传输方式中确认优先级最高的 D2D传输方式;
其中, 所述发送单元向所述第一用户设备发送的都能支持的 D2D通信能 力的信息具体包括: 所述确认的优先级最高的 D2D传输方式的信息。
19、 如权利要求 17所述的装置, 其特征在于, 所述 D2D通信能力的信息 还包括: 所述 D2D传输方式的传输速率;
所述装置还包括: 传输方式确认单元, 用于根据业务数据的数据量大小和 所述 D2D传输方式的传输速率, 确定目标 D2D传输方式;
其中, 所述发送单元向所述第一用户设备发送的都能支持的 D2D通信能 力的信息具体包括: 所述确定的目标 D2D传输方式的信息。
20、 一种用户设备, 其特征在于, 包括: 如权利要求 11、 12、 13、 14、 17、 18或 19任一所述的装置。
21、 一种应用服务器, 其特征在于, 包括如权利要求 11、 12、 15、 16、 17、 18或 19任一所述的装置。
22、 一种 D2D通信的发现系统, 其特征在于, 包括如权利要求 20所述的 用户设备以及如权利要求 21所述的应用服务器。
PCT/CN2014/075938 2014-04-22 2014-04-22 一种d2d通信的发现方法、装置及系统 WO2015161442A1 (zh)

Priority Applications (8)

Application Number Priority Date Filing Date Title
CN201910380327.9A CN110191440B (zh) 2014-04-22 2014-04-22 一种d2d通信的发现方法、装置及系统
PCT/CN2014/075938 WO2015161442A1 (zh) 2014-04-22 2014-04-22 一种d2d通信的发现方法、装置及系统
JP2016564233A JP6338229B2 (ja) 2014-04-22 2014-04-22 D2d通信発見方法、装置およびシステム
CA2946630A CA2946630C (en) 2014-04-22 2014-04-22 D2d communication discovery method, apparatus, and system
EP14889857.0A EP3128804B1 (en) 2014-04-22 2014-04-22 D2d communication detection method and device
CN201480071553.4A CN105850218B (zh) 2014-04-22 2014-04-22 一种d2d通信的发现方法、装置及系统
RU2016145148A RU2663711C2 (ru) 2014-04-22 2014-04-22 Способ, устройство и система обнаружения передачи данных d2d
US15/331,522 US10212537B2 (en) 2014-04-22 2016-10-21 D2D communication discovery method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/075938 WO2015161442A1 (zh) 2014-04-22 2014-04-22 一种d2d通信的发现方法、装置及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/331,522 Continuation US10212537B2 (en) 2014-04-22 2016-10-21 D2D communication discovery method, apparatus, and system

Publications (1)

Publication Number Publication Date
WO2015161442A1 true WO2015161442A1 (zh) 2015-10-29

Family

ID=54331583

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/075938 WO2015161442A1 (zh) 2014-04-22 2014-04-22 一种d2d通信的发现方法、装置及系统

Country Status (7)

Country Link
US (1) US10212537B2 (zh)
EP (1) EP3128804B1 (zh)
JP (1) JP6338229B2 (zh)
CN (2) CN110191440B (zh)
CA (1) CA2946630C (zh)
RU (1) RU2663711C2 (zh)
WO (1) WO2015161442A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3061397A1 (fr) * 2016-12-27 2018-06-29 Thales Procede et systeme d'echanges de donnees
JP2019512901A (ja) * 2016-03-28 2019-05-16 グァンドン オッポ モバイル テレコミュニケーションズ コーポレーション リミテッドGuangdong Oppo Mobile Telecommunications Corp., Ltd. デバイスツーデバイス通信方法

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2946630C (en) * 2014-04-22 2019-09-10 Huawei Technologies Co., Ltd. D2d communication discovery method, apparatus, and system
CN106888459B (zh) * 2017-02-22 2020-05-12 重庆邮电大学 降低d2d信令开销与频谱资源干扰的信息终端及其通信方法
EP3632163B1 (en) 2017-06-01 2021-03-10 Carrier Corporation Bluetooth low energy data transfer communication system and method
CN109040446B (zh) * 2018-07-31 2021-07-27 Oppo广东移动通信有限公司 通话处理方法及相关产品
CN109275197B (zh) * 2018-09-26 2021-03-16 Oppo(重庆)智能科技有限公司 一种通信连接建立方法及基站、终端、存储介质
KR20210079800A (ko) * 2019-12-20 2021-06-30 삼성전자주식회사 전자 장치 및 전자 장치의 제어 방법
US11330414B2 (en) * 2020-01-24 2022-05-10 Qualcomm Incorporated Proximity determination to a geo-fence
CN115550890A (zh) * 2021-06-29 2022-12-30 维沃移动通信有限公司 传输方法、装置、设备及介质
US20230354020A1 (en) * 2022-04-27 2023-11-02 Capital One Services, Llc Systems and methods for context-switching authentication over short range wireless communication
CN114900528A (zh) * 2022-05-26 2022-08-12 中国电信股份有限公司 一种点对点通信系统、方法、装置、设备及介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369604A (zh) * 2012-04-06 2013-10-23 中兴通讯股份有限公司 一种实现切换到设备间通信模式的方法、网络装置和终端
CN103416081A (zh) * 2011-02-25 2013-11-27 捷讯研究有限公司 设备间会话连接性增强
CN103503540A (zh) * 2011-05-11 2014-01-08 华为技术有限公司 蜂窝通信系统中端到端通信的系统和方法

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7870196B2 (en) * 2000-11-08 2011-01-11 Nokia Corporation System and methods for using an application layer control protocol transporting spatial location information pertaining to devices connected to wired and wireless internet protocol networks
CN1527621A (zh) 2003-03-07 2004-09-08 皇家飞利浦电子股份有限公司 无线通信网络中建立点到点对等通信的方法和装置
US20060166740A1 (en) * 2004-03-08 2006-07-27 Joaquin Sufuentes Method and system for identifying, matching and transacting information among portable devices within radio frequency proximity
US10404542B2 (en) * 2010-03-09 2019-09-03 Iot Holdings, Inc. Method and apparatus for supporting machine-to-machine communications
CN102821115B (zh) * 2011-06-08 2015-11-25 华为技术有限公司 一种点对点p2p传输资源的方法和装置
US8787944B2 (en) * 2011-08-18 2014-07-22 Rivada Research, Llc Method and system for providing enhanced location based information for wireless handsets
US9462210B2 (en) * 2011-11-04 2016-10-04 Remote TelePointer, LLC Method and system for user interface for interactive devices using a mobile device
CN103179549A (zh) * 2011-12-23 2013-06-26 华为技术有限公司 一种确定信息传输方式的方法和装置
CN103460760B (zh) 2012-04-13 2016-10-05 华为技术有限公司 设备发现的方法、设备和系统
US9485794B2 (en) * 2012-05-23 2016-11-01 Qualcomm Incorporated Methods and apparatus for using device to device communications to support IMS based services
CN104584670B (zh) * 2012-08-23 2019-04-19 交互数字专利控股公司 用于执行装置到装置发现的方法和设备
US10028204B2 (en) * 2012-08-24 2018-07-17 Blackberry Limited Supporting device-to-device communication in a rich communication service context
WO2014051479A1 (en) * 2012-09-28 2014-04-03 Telefonaktiebolaget L M Ericsson (Publ) Short range communication in a wireless communications system
EP2717646B1 (en) * 2012-10-04 2017-02-01 Telefonaktiebolaget LM Ericsson (publ) Methods and apparatuses for device-to-device communication
GB2508353B (en) * 2012-11-28 2015-07-22 Broadcom Corp Apparatuses and methods for a communication system
CN104205989B (zh) 2013-03-14 2019-02-19 华为技术有限公司 一种设备发现方法、用户设备、服务器及系统
US9924322B2 (en) * 2013-07-23 2018-03-20 Square, Inc. Computing distances of devices
US9185117B2 (en) * 2014-02-07 2015-11-10 Bank Of America Corporation User authentication by geo-location and proximity to user's close network
CA2946630C (en) * 2014-04-22 2019-09-10 Huawei Technologies Co., Ltd. D2d communication discovery method, apparatus, and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103416081A (zh) * 2011-02-25 2013-11-27 捷讯研究有限公司 设备间会话连接性增强
CN103503540A (zh) * 2011-05-11 2014-01-08 华为技术有限公司 蜂窝通信系统中端到端通信的系统和方法
CN103369604A (zh) * 2012-04-06 2013-10-23 中兴通讯股份有限公司 一种实现切换到设备间通信模式的方法、网络装置和终端

Non-Patent Citations (1)

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019512901A (ja) * 2016-03-28 2019-05-16 グァンドン オッポ モバイル テレコミュニケーションズ コーポレーション リミテッドGuangdong Oppo Mobile Telecommunications Corp., Ltd. デバイスツーデバイス通信方法
US11166149B2 (en) 2016-03-28 2021-11-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Device-to-device communication method, terminal device, and network device
FR3061397A1 (fr) * 2016-12-27 2018-06-29 Thales Procede et systeme d'echanges de donnees
WO2018122069A1 (fr) * 2016-12-27 2018-07-05 Thales Procede et systeme d'echanges de donnees

Also Published As

Publication number Publication date
CA2946630C (en) 2019-09-10
EP3128804B1 (en) 2019-08-07
RU2663711C2 (ru) 2018-08-08
EP3128804A4 (en) 2017-04-26
RU2016145148A (ru) 2018-05-23
CN110191440A (zh) 2019-08-30
US20170041973A1 (en) 2017-02-09
RU2016145148A3 (zh) 2018-05-23
EP3128804A1 (en) 2017-02-08
CN110191440B (zh) 2024-03-01
JP6338229B2 (ja) 2018-06-06
CA2946630A1 (en) 2015-10-29
JP2017514401A (ja) 2017-06-01
US10212537B2 (en) 2019-02-19
CN105850218A (zh) 2016-08-10
CN105850218B (zh) 2019-05-28

Similar Documents

Publication Publication Date Title
WO2015161442A1 (zh) 一种d2d通信的发现方法、装置及系统
JP7041212B2 (ja) 仮想化されたモバイルコアネットワークへの接続
US9468032B2 (en) Inter-device session connectivity enhancement
US20150126158A1 (en) Method and System for Characterizing Location and/or Range Based on Transmit Power
CN107196964B (zh) 用于实现多频段服务发现的系统和方法
WO2021027177A1 (en) Method and apparatus for network function service discovery
US9210734B2 (en) Direct mode communication system and communication attaching method thereof
US8774836B2 (en) Method and system for optimized transfer of location database information
WO2013038056A1 (en) Offloading traffic to device-to-device communications
KR20120025577A (ko) 무선 통신 디바이스에 대한 접속 관리자
EP2384046A1 (en) Bluetooth radio device and management application for integration with a telecommunications network
CN112205015A (zh) 用于策略分发的方法、装置和计算机可读介质
US20170346891A1 (en) Communication method
WO2019076308A1 (zh) 终端设备的状态的确定方法、装置及设备
CN113228719A (zh) 用于管理具有多个用户标识模块的用户设备中的通信的方法和系统
US8670766B2 (en) Method of SET-to-SET location service in a communication system
US20230422146A1 (en) Dynamic cellular subscriber management
CN115735369A (zh) 确定默认网络切片
US10945107B2 (en) Device provisioning for association with a user or a user account
WO2022099484A1 (zh) 标识发送方法和通信装置
JP2012507227A (ja) 通信装置及びサーバ並びにこれらのための方法及びコンピュータプログラム
CN107211479B (zh) 选择接入网的方法和装置
US20220322462A1 (en) Method and apparatus for configuring edge computing service information
WO2022021142A1 (zh) QoS参数的设置方法、装置、通信设备及存储介质
CN105122723B (zh) 用于管理设备的方法及装置

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2946630

Country of ref document: CA

ENP Entry into the national phase

Ref document number: 2016564233

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014889857

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014889857

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2016145148

Country of ref document: RU

Kind code of ref document: A