WO2017054606A1 - D2d communication-based early warning method and related device - Google Patents

D2d communication-based early warning method and related device Download PDF

Info

Publication number
WO2017054606A1
WO2017054606A1 PCT/CN2016/097366 CN2016097366W WO2017054606A1 WO 2017054606 A1 WO2017054606 A1 WO 2017054606A1 CN 2016097366 W CN2016097366 W CN 2016097366W WO 2017054606 A1 WO2017054606 A1 WO 2017054606A1
Authority
WO
WIPO (PCT)
Prior art keywords
early warning
communication
warning device
base station
communication channel
Prior art date
Application number
PCT/CN2016/097366
Other languages
French (fr)
Chinese (zh)
Inventor
王建伟
Original Assignee
宇龙计算机通信科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2017054606A1 publication Critical patent/WO2017054606A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an early warning method and related device based on D2D communication.
  • the embodiment of the invention provides an early warning method and related device based on D2D communication, which can send early warning information in time.
  • the first aspect of the embodiment of the present invention discloses an early warning method based on D2D communication, including:
  • the early warning device sends a D2D communication request to the base station to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
  • the early warning device monitors whether there is a D2D communication connection request sent by the other device through the D2D communication channel, and if so, the early warning device establishes a D2D communication connection with the other device, and the other device resides in a device other than the early warning device in the device of the serving cell covered by the base station;
  • the early warning device transmits the early warning information to the other device through the D2D communication channel.
  • the D2D communication includes the current location of the other device, and the method further includes:
  • the early warning device monitors a D2D communication connection request sent by the plurality of other devices through the D2D communication channel, for each of the other devices, the early warning device determines a current location of the other device and the early warning device Whether the distance between the current positions is within a preset distance range, and if so, the early warning device determines the other device as the target device;
  • the early warning device establishes a D2D communication connection with the other device, including:
  • the early warning device establishes a D2D communication connection with the target device
  • the early warning device sends the early warning information to the other device by using the D2D communication channel, including:
  • the early warning device transmits the early warning information to the target device through the D2D communication channel.
  • the method further includes:
  • the early warning device disconnects the D2D communication connection and sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource.
  • the method further includes:
  • the early warning device When the early warning device does not hear the D2D communication connection request sent by the other device through the D2D communication channel within a preset time, the early warning device sends a D2D resource recovery request to the base station to trigger the The base station reclaims the allocated D2D communication channel resources.
  • the second aspect of the embodiment of the present invention discloses an early warning method based on D2D communication, including:
  • the base station allocates a D2D communication channel to the early warning device in response to the D2D communication request;
  • the base station sends notification information to other devices other than the early warning device in the device residing in the serving cell, the notification information including the D2D communication channel to trigger the other device to pass through the D2D communication channel
  • the early warning device transmits a D2D communication connection request.
  • the method further includes:
  • the base station recovers the allocated D2D communication channel resources in response to the D2D resource recycling request.
  • the third aspect of the embodiment of the present invention discloses an early warning device, including:
  • a first transceiver unit configured to send a D2D communication request to the base station, to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
  • a monitoring unit configured to monitor whether there is a D2D communication connection request sent by another device through the D2D communication channel
  • Establishing a unit configured to establish a D2D communication connection with the other device when the listening unit monitors a D2D communication connection request sent by another device through the D2D communication channel, where the other device resides in the a device other than the early warning device in the device of the serving cell covered by the base station;
  • the second transceiver unit is configured to send the warning information to the other device through the D2D communication channel.
  • the D2D communication connection request includes a current location of the other device
  • the early warning device further includes:
  • a determining unit configured to determine, when the monitoring unit monitors a D2D communication connection request sent by the plurality of other devices through the D2D communication channel, for each of the other devices, determining a current location of the other device and the alert Whether the distance between the current positions of the devices is within a preset distance range;
  • a determining unit configured to: when the determining unit determines, for each of the other devices, that the distance between the current location of the other device and the current location of the early warning device is within a preset distance range, Other devices are determined as target devices;
  • the establishing unit is specifically configured to establish a D2D communication connection with the target device
  • the second transceiver unit is specifically configured to send the early warning information to the target device by using the D2D communication channel.
  • the early warning device further includes:
  • Disconnecting the unit configured to disconnect the D2D communication connection after the second transceiver unit sends the warning information
  • the first transceiver unit is further configured to send a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resources.
  • the first transceiver unit is further configured to: when the monitoring unit is at a preset time When the D2D communication connection request sent by the other device through the D2D communication channel is not monitored, a D2D resource recovery request is sent to the base station to trigger the base station to reclaim the allocated D2D communication. Trust channel resources.
  • a fourth aspect of the embodiments of the present invention discloses a base station, including:
  • a receiving unit configured to receive a D2D communication request sent by the early warning device
  • An allocating unit configured to allocate a D2D communication channel to the early warning device in response to the D2D communication request
  • a sending unit configured to send, to the device residing in the serving cell, other information than the early warning device, the notification information including the D2D communication channel to trigger the other device to pass the D2D communication
  • the channel transmits a D2D communication connection request to the early warning device.
  • the receiving unit is further configured to receive a D2D resource recovery request sent by the early warning device;
  • the base station further includes:
  • a recycling unit configured to recover the allocated D2D communication channel resource in response to the D2D resource recycling request.
  • the base station allocates a D2D communication channel to the early warning device in response to the D2D communication request, and further, the early warning device can monitor whether there is any D2D sent by the other device through the D2D communication channel.
  • a communication connection request if any, that the early warning device establishes a D2D communication connection with another device, wherein the other device is a device other than the early warning device that resides in the serving cell covered by the base station, such that the early warning device
  • the warning information can be sent to other devices through the D2D communication channel, so that the early warning information can be sent in time.
  • FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of an early warning method based on D2D communication disclosed in an embodiment of the present invention
  • FIG. 3 is a schematic flowchart diagram of another early warning method based on D2D communication disclosed in an embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of another early warning method based on D2D communication disclosed in an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an early warning device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another early warning device disclosed in an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a base station according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of still another early warning device according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another base station according to an embodiment of the present invention.
  • the embodiment of the invention discloses an early warning method and related device based on D2D communication, which can send early warning information in time. The details are described below separately.
  • FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention.
  • an early warning device, other devices, and a base station may be included.
  • the early warning device may be any user terminal supporting the D2D communication technology, and the other device may also be any user terminal supporting the D2D communication technology, where the user terminal may include, but is not limited to, a smart phone, a notebook computer, a personal computer (Personal Computer) , PC), Personal Digital Assistant (PDA), Mobile Internet Device (MID), smart watches, smart bracelets, smart glasses and other user terminals.
  • a base station can be understood as a public mobile communication base station, a radio transceiver station that transmits information between a mobile communication switching center and a mobile telephone terminal in a certain radio coverage area.
  • the other device is a device other than the early warning device in the device of the serving cell covered by the base station.
  • the early warning device and the base station can communicate wirelessly, and other devices and the base station can communicate wirelessly, and the D2D communication can be performed between the early warning device and other devices.
  • the early warning device can send the early warning information to other devices in an emergency when the early warning device is in an emergency.
  • FIG. 2 is an early warning method based on D2D communication disclosed in an embodiment of the present invention.
  • the early warning device sends a D2D communication request to the base station to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request.
  • D2D communication (Device-to-Device Communication) is a new technology that allows devices to directly communicate by multiplexing cell resources under the control of the system.
  • Each D2D communication channel needs to occupy a certain D2D communication channel resource, where the communication channel resource refers to the radio resource used by both parties participating in the D2D communication (ie, the wireless frequency band).
  • the communication channel resource refers to the radio resource used by both parties participating in the D2D communication (ie, the wireless frequency band).
  • GSM has four frequency bands, such as GSM850, GSM900. , GSM1800, GSM1900, etc.
  • the user performing D2D communication needs to obtain the frequency resource and transmission power required for D2D communication under the control of the cell base station.
  • the early warning device when an emergency occurs on the road, the early warning device may send a D2D communication request to the base station, and after receiving the D2D communication request, the base station may allocate D2D communication to the early warning device in response to the D2D communication request.
  • a channel wherein the base station is a base station corresponding to a serving cell where the early warning device is located.
  • the emergency situation may include, but is not limited to, the following types: emergency parking on the highway by the user, road traffic congestion caused by a traffic accident, high-speed casualty rescue, and vehicle failure.
  • the early warning device monitors whether there is a D2D communication connection request sent by another device through the D2D communication channel. If yes, steps S203 to S204 are performed, and if no, step S205 is performed.
  • the other device is a device other than the early warning device that resides in the serving cell covered by the base station.
  • the base station after the base station allocates the D2D communication channel to the early warning device in response to the D2D communication request, the base station further sends notification information to other devices other than the early warning device in the device residing in the serving cell, where The notification information includes the D2D communication channel, the type of notification, and the current location of the early warning device.
  • the notification information includes the D2D communication channel, the type of notification, and the current location of the early warning device.
  • the other device After the other device receives the notification information, the other device first determines whether it is necessary to send a D2D communication connection request to the early warning device according to the notification type, the current location of the early warning device, and the current location of the other device.
  • the other device may determine that the notification is not required to be followed, or the current location of the other device is very far from the current location of the early warning device, the other device may determine that the notification is not required to be followed, or the other device
  • the route being exercised is not on the same route as the route where the current location of the early warning device is located, and the other device may determine that the notification is not required to be of interest.
  • the other device will not send a D2D communication connection request to the early warning device.
  • the early warning device needs to monitor whether there is a D2D communication connection request sent by another device through the D2D communication channel to wait for D2D communication with other devices.
  • the early warning device establishes a D2D communication connection with other devices.
  • the early warning device when the early warning device monitors a D2D communication connection request sent by another device through the D2D communication channel, the early warning device may establish a D2D communication connection with other devices.
  • the early warning device sends the early warning information to the other device through the D2D communication channel, and ends the process.
  • the early warning device may send the early warning information to the other device through the D2D communication channel, where the early warning information may be specific information of an emergency situation, such as : The details of the vehicle failure, need to find someone to repair.
  • the early warning device may further perform the following steps:
  • the early warning device disconnects the D2D communication connection with other devices
  • the early warning device sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resources.
  • the early warning device after the early warning device transmits the early warning information to the other device through the D2D communication channel, the early warning device does not need the D2D communication channel resource, and the early warning device can disconnect from the other device in order not to occupy the resources of the base station.
  • the D2D communication connection and sending a D2D resource recovery request to the base station, to trigger the base station to recover the allocated D2D communication channel resources, so that after the base station recovers the allocated D2D communication channel resources, the base station can allocate the resources to other users, thereby Can improve the utilization of resources.
  • the early warning device may further perform the following steps:
  • the early warning device determines whether it is necessary to continue the early warning service, and if so, the early warning device continues to perform step S202, and if not, the early warning device stops the listening operation and performs step 12).
  • the early warning device performs D2D communication with some other device. After the D2D communication ends and the D2D communication connection with the other device is disconnected, the early warning device may need to continue the early warning service, for example, the early warning device is disconnected from the After the D2D communication connection of other devices, the user has a new emergency situation, or the other device can only solve a part of the current emergency situation of the early warning device. If the early warning device needs to continue the early warning service, the early warning device can continue to monitor whether there is a D2D communication connection request sent by the other device through the D2D communication channel, and if so, the early warning device establishes a D2D communication connection with other devices and transmits to the other through the D2D communication channel. The device sends an alert message. If the early warning device does not need to continue the early warning service, the early warning device may stop the listening operation and send a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resources.
  • the early warning device When the early warning device does not hear the D2D communication connection request sent by the other device through the D2D communication channel within the preset time, the early warning device sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource.
  • the other device may determine that the D2D communication connection does not need to be established with the early warning device according to the driving route and the notification type, and of course, the D2D is not sent to the early warning device.
  • the communication connection was requested.
  • the early warning device may send a D2D resource recovery request to the base station, in order not to occupy the D2D communication channel resource allocated by the base station for a long time. After receiving the D2D resource reclamation request, the base station will reclaim the allocated D2D communication channel resources.
  • the base station allocates a D2D communication channel to the early warning device in response to the D2D communication request, and further, the early warning device can monitor whether other devices pass the D2D communication.
  • a D2D communication connection request sent by the channel if any, the early warning device establishes a D2D communication connection with another device, wherein the other device is a device other than the early warning device that resides in the serving cell covered by the base station, such that The early warning device can send the early warning information to other devices through the D2D communication channel, so that the early warning information can be sent in time.
  • FIG. 3 is a schematic flowchart diagram of another early warning method based on D2D communication disclosed in an embodiment of the present invention, wherein the early warning method is applicable to an emergency situation in which a vehicle is traveling on a road. Scenes.
  • the method can include the following steps.
  • the early warning device sends a D2D communication request to the base station to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request.
  • step S302 The early warning device monitors whether there is a D2D communication connection request sent by another device through the D2D communication channel. If yes, step S303 is performed, and if no, step S309 is performed.
  • the early warning device monitors a D2D communication connection request sent by the plurality of other devices through the D2D communication channel, for each other device, the early warning device determines whether the distance between the current location of the other device and the current location of the early warning device is in advance. If the distance is within the range, if yes, steps S304 to S308 are executed, and if not, the flow is ended.
  • the D2D communication connection request may include a current location of another device.
  • the early warning device monitors a D2D communication connection request sent by a plurality of other devices through the D2D communication channel, for each other device, the early warning device can determine whether the distance between the current location of the other device and the current location of the early warning device is preset. Within the distance range, if it is, it indicates that the distance between the early warning device and other devices is relatively close. If not, it indicates that the distance between the early warning device and other devices is relatively long.
  • the early warning device determines the other device as the target device.
  • the early warning device determines other devices whose distance between the current position of the other device and the current position of the early warning device is within the preset distance range as the target device, so that the early warning device performs D2D communication with the target device. After that, it can be ensured that the user who uses the target device can reach the current location where the early warning device is located in the shortest time to solve the emergency situation of the early warning device.
  • the early warning device establishes a D2D communication connection with the target device.
  • the early warning device sends the early warning information to the target device through the D2D communication channel.
  • the early warning device disconnects the D2D communication connection with the target device.
  • the early warning device after the early warning device sends the early warning information to the target device through the D2D communication channel, the early warning device does not need the D2D communication channel resource, and the early warning device may disconnect from the target device in order not to occupy the resources of the base station.
  • the D2D communication is connected, and step S308 is performed, so that after the base station recovers the allocated D2D communication channel resources, the base station can allocate the resources for other users, thereby improving resource utilization.
  • the early warning device sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource, and the process ends.
  • the early warning device When the early warning device does not hear the D2D communication connection request sent by the other device through the D2D communication channel within the preset time, the early warning device sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource.
  • the base station allocates a D2D communication channel to the early warning device in response to the D2D communication request, and further, the early warning device monitors whether another device transmits through the D2D communication channel.
  • the early warning device monitors a D2D communication connection request sent by a plurality of other devices through the D2D communication channel, for each other device, the early warning device determines between the current position of the other device and the current position of the early warning device Whether the distance is within a preset distance range, and if so, the early warning device determines the other device as the target device and establishes a D2D communication connection with the target device, and further transmits the early warning information to the target device through the D2D communication channel.
  • the early warning device may disconnect the D2D communication connection with the target device, and send a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource; when the early warning device does not monitor within a preset time
  • the early warning device sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource. It can be seen that, by using the embodiment of the present invention, the early warning device can send the early warning information in time when an emergency occurs, and at the same time, does not occupy the resources allocated by the base station.
  • FIG. 4 is a schematic flowchart diagram of another early warning method based on D2D communication disclosed in an embodiment of the present invention, wherein the early warning method is applicable to a scenario in which an emergency situation occurs when a vehicle is traveling on a road.
  • the method can include the following steps.
  • the base station receives the D2D communication request sent by the early warning device.
  • the early warning device may send a D2D communication request to the base station, where the D2D communication request may include the request type and the current location where the early warning device is located.
  • the request type may be a rescue type, a fault repair type, an emergency stop type, etc.
  • the current position where the early warning device is located may be expressed by latitude and longitude, such as ⁇ longitude ⁇ latitude, or may be represented by a region, such as ⁇ Area, etc.
  • the base station responds to the D2D communication request, and allocates a D2D communication channel to the early warning device.
  • the base station sends notification information to the device residing in the serving cell except the early warning device, where the notification information includes a D2D communication channel, to trigger other devices to send the D2D communication connection request to the early warning device through the D2D communication channel.
  • the notification information may further include a notification type and a current location of the early warning device, wherein the notification type matches the request type.
  • the notification type is rescue type, fault repair type, emergency stop type, and the like.
  • the other device may determine, according to the notification type, the current location of the early warning device, and the current location of the other device, whether the notification needs to be followed, for example, the notification type is a rescue type, and the The user of other devices has just the rescue experience.
  • the other device can send a D2D communication connection request to the early warning device, or the current location of the other device is relatively close to the current location of the early warning device, and the other device can send the D2D to the early warning device.
  • the communication connection request, or the route exercised by the other device and the current location of the early warning device are on the same route, and the other device may send a D2D communication connection request to the early warning device.
  • the base station may further perform the following steps:
  • the base station receives the D2D resource recovery request sent by the early warning device
  • the base station recovers the allocated D2D communication channel resources in response to the D2D resource recovery request.
  • the base station can transmit the D2D communication channel to the early warning device, and send the notification information carrying the D2D communication channel to the device residing in the serving cell, other than the early warning device, the base station can receive the early warning device.
  • the D2D resource recycling request is sent, and the allocated D2D communication channel resource is recovered in response to the D2D resource recycling request. In this way, the base station can allocate the resource to other users, thereby improving resource utilization.
  • the base station may allocate a D2D communication channel to the early warning device in response to the D2D communication request, and further, the base station camps on the device camped in the serving cell.
  • the device other than the early warning device transmits notification information including a D2D communication channel to trigger other devices to send a D2D communication connection request to the early warning device through the D2D communication channel, so that the early warning device can establish D2D with other devices.
  • the communication is connected, and the early warning information is sent to other devices through the D2D communication channel, so that the early warning information can be sent in time.
  • the device embodiment of the present invention is used to perform the method in the method embodiment of the present invention.
  • the device embodiment of the present invention is used to perform the method in the method embodiment of the present invention.
  • Only parts related to the embodiment of the present invention are shown, and the specific technical details are not disclosed. Reference is made to the above method embodiments of the present invention.
  • FIG. 5 is a schematic structural diagram of an early warning device according to an embodiment of the present invention.
  • the early warning device 500 is configured to perform the D2D communication-based early warning method disclosed in FIG. 2, as shown in FIG.
  • the early warning device 500 can include:
  • the first transceiver unit 501 is configured to send a D2D communication request to the base station, to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
  • the monitoring unit 502 is configured to monitor whether there is a D2D communication connection request sent by another device through the D2D communication channel;
  • the establishing unit 503 is configured to establish a D2D communication connection with the other device when the monitoring unit 502 monitors a D2D communication connection request sent by another device through the D2D communication channel, the other device is resident a device other than the early warning device in the device of the serving cell covered by the base station;
  • the second transceiver unit 504 is configured to send the early warning information to the other device through the D2D communication channel.
  • the first transceiver unit 501 is further configured to receive the information of the D2D communication channel sent by the base station, and send the information of the D2D communication channel to the monitoring unit 502 and the second transceiver unit 504.
  • FIG. 6 is a schematic structural diagram of another early warning device according to an embodiment of the present invention, wherein the early warning device 500 is configured to perform the D2D communication-based early warning method disclosed in FIG. 3 , wherein FIG. 6 is illustrated in FIG.
  • the early warning device 500 is further optimized based on the early warning device 500 shown in FIG. 5.
  • the early warning device 500 shown in FIG. 6 includes the warning shown in FIG.
  • the warning device 500 shown in FIG. 6 may further include:
  • the determining unit 505 is configured to determine, when each of the other devices, the current location and location of the other device, when the monitoring unit 502 listens to a D2D communication connection request sent by the plurality of other devices through the D2D communication channel. Whether the distance between the current positions of the early warning devices is within a preset distance range, wherein the D2D communication connection request includes a current location of the other device;
  • a determining unit 506 configured to: when the determining unit 505 determines, for each of the other devices, that the distance between the current location of the other device and the current location of the early warning device is within a preset distance range, The other device is determined to be a target device;
  • the establishing unit 503 is specifically configured to establish a D2D communication connection with the target device
  • the second transceiver unit 504 is specifically configured to send the early warning information to the target device by using the D2D communication channel.
  • the early warning device 500 shown in FIG. 6 may further include:
  • the disconnecting unit 507 is configured to disconnect the second transmitting and receiving unit 504 after transmitting the warning information. Describe the D2D communication connection;
  • the first transceiver unit 501 is further configured to send a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resources.
  • the base station allocates a D2D communication channel to the early warning device in response to the D2D communication request.
  • the monitoring unit 502 can Monitoring whether there is a D2D communication connection request sent by another device through the D2D communication channel, and if so, the establishing unit 503 establishes a D2D communication connection with other devices, wherein the other device is a device residing in the serving cell covered by the base station.
  • the second transceiver unit 504 can transmit the early warning information to other devices through the D2D communication channel, so that the early warning information can be sent in time.
  • FIG. 7 is a schematic structural diagram of a base station according to an embodiment of the present invention, where the base station 700 is configured to perform the D2D communication-based early warning method disclosed in FIG. 4, as shown in FIG. Can include:
  • the receiving unit 701 is configured to receive a D2D communication request sent by the early warning device;
  • the allocating unit 702 is configured to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
  • the sending unit 703 is configured to send, to the device residing in the serving cell, other information than the early warning device, the notification information includes the D2D communication channel, to trigger the other device to pass the D2D
  • the communication channel transmits a D2D communication connection request to the early warning device.
  • the receiving unit 701 is further configured to receive a D2D resource recovery request sent by the early warning device;
  • the base station 700 shown in FIG. 7 may further include:
  • the recycling unit 704 is configured to recover the allocated D2D communication channel resources in response to the D2D resource recycling request.
  • the allocating unit 702 can allocate a D2D communication channel to the early warning device in response to the D2D communication request, and further, the transmitting unit 703 is resident.
  • the device in the serving cell transmits notification information including a D2D communication channel to trigger other devices to send a D2D communication connection request to the early warning device through the D2D communication channel, so that the early warning device can establish a follow-up information. D2D communication connection between other devices, and sending early warning information to other devices through the D2D communication channel, Thereby, the warning information can be sent in time.
  • FIG. 8 is a schematic structural diagram of another early warning device according to an embodiment of the present invention.
  • the early warning device 500 in the embodiment of the present invention may be different types of electronic devices, such as: smart phones, tablet computers, palmtop computers, and mobile internet devices, personal digital assistants, media players, smart televisions, smart watches, smart glasses, and smart phones. Hand ring and so on.
  • the early warning device 500 in the embodiment of the present invention includes at least one processor 510, such as a CPU, at least one receiver 513, at least one memory 514, at least one transmitter 515, and at least one communication bus 512.
  • the communication bus 512 is used to implement connection communication between these components.
  • the receiver 513 and the transmitter 515 may be wired transmission ports, or may be wireless devices, for example, including antenna devices for performing data communication with other devices.
  • the memory 514 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the processor 510 can execute an operating system of the early warning device 500 and various installed application programs, program codes, and the like.
  • each unit described above includes the first transceiver unit 501, the monitoring unit 502, and the The establishing unit 503, the second transceiving unit 504, the judging unit 505, the determining unit 506, the disconnecting unit 507, and the like.
  • Program code is stored in the memory 514, and the processor 510 can invoke program code stored in the memory 514 via the communication bus 512 to perform related functions.
  • each unit described in FIG. 5 and FIG. 6 for example, the first transceiver unit 501, the listening unit 502, the establishing unit 503, the second transceiver unit 504, the determining unit 505, The determining unit 506, the disconnecting unit 507, and the like) are program codes stored in the memory 514 and executed by the processor 510 to implement the functions of the respective units to implement early warning processing.
  • the memory 514 stores a plurality of instructions that are executed by the processor 510 to implement an early warning process.
  • the processor 510 sends a D2D communication request to the base station to trigger the base station to allocate a D2D communication channel to the early warning device 500 in response to the D2D communication request; the processor 510 monitors whether other devices pass through the device. Determining a D2D communication connection request sent by the D2D communication channel, if any, the processor 510 establishing a D2D communication connection with the other device, the other device being a device residing in a serving cell covered by the base station a device other than the early warning device 500; the processor 500 transmits alert information to the other device over the D2D communication channel.
  • the D2D communication connection request includes a current bit of the other device
  • the processor 510 listens to a D2D communication connection request sent by the plurality of other devices through the D2D communication channel, the processor 510 determines the current location of the other device for each of the other devices.
  • the processor 510 determines the other device as a target device; the processor 510 establishes with the other device
  • the D2D communication connection includes: the processor 510 establishes a D2D communication connection with the target device; the processor 510 sends the warning information to the other device by using the D2D communication channel, including: The processor 510 transmits the alert information to the target device over the D2D communication channel.
  • the processor 510 disconnects the D2D communication connection and sends a D2D resource recovery request to the base station to trigger the base station to reclaim the allocated D2D communication channel resources.
  • the processor 510 when the processor 510 does not hear the D2D communication connection request sent by the other device through the D2D communication channel within a preset time, the processor 510 sends the D2D communication connection request to the base station.
  • a D2D resource reclamation request to trigger the base station to reclaim the allocated D2D communication channel resources.
  • FIG. 9 is a schematic structural diagram of another base station according to an embodiment of the present invention.
  • the base station 700 in the embodiment of the present invention includes: at least one processor 710, such as a CPU, at least one receiver 713, at least one memory 714, at least one transmitter 715, and at least one communication bus 712.
  • the communication bus 712 is used to implement connection communication between these components.
  • the receiver 713 and the transmitter 715 may be wired transmission ports, or may be wireless devices, for example, including antenna devices for performing data communication with other devices.
  • the memory 714 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the processor 710 can execute an operating system of the base station 700 and various installed application programs, program codes, and the like.
  • each unit described above includes the receiving unit 701, the allocating unit 702, and the sending unit 703. Recycling unit 704 and the like.
  • Program code is stored in the memory 714, and the processor 710 can invoke program code stored in the memory 714 via the communication bus 712 to perform related functions.
  • each unit described in FIG. 7 for example, the receiving unit 701, the allocating unit 702, the transmitting unit 703, and the back The receiving unit 704, etc.
  • the memory 714 stores a plurality of instructions that are executed by the processor 710 to implement an alerting process.
  • the processor 710 receives a D2D communication request sent by the early warning device; the processor 710 allocates a D2D communication channel to the early warning device in response to the D2D communication request; the processor 710 camps on the service
  • the device of the cell transmits notification information other than the early warning device, the notification information including the D2D communication channel to trigger the other device to send a D2D communication connection to the early warning device through the D2D communication channel request.
  • the processor 710 receives a D2D resource reclamation request sent by the early warning device; the processor 710 recovers the allocated D2D communication channel resource in response to the D2D resource reclamation request.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

Disclosed are a D2D communication-based early warning method and a related device. The method comprises: an early warning device transmits a D2D communication request, thus triggering the base station to assign a D2D communication channel to the early warning device in response to the D2D communication request; the early warning device monitors whether or not there is a D2D communication connection request transmitted by another device via the D2D communication channel; and if yes, then the early warning device establishes a D2D communication connection with the other device, where the other device is a device other than the early warning device among devices residing in a serving cell covered by the base station; and the early warning device transmits early warning information to the other device via the D2D communication channel. Implementation of embodiments of the present invention allows the transmission of the early warning information in a timely manner.

Description

一种基于D2D通信的预警方法及相关装置Early warning method and related device based on D2D communication
本申请要求于2015年9月29日提交中国专利局,申请号为201510634308.6、发明名称为“一种基于D2D通信的预警方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201510634308.6, entitled "A Warning Method Based on D2D Communication and Related Devices", filed on September 29, 2015, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种基于D2D通信的预警方法及相关装置。The present invention relates to the field of communications technologies, and in particular, to an early warning method and related device based on D2D communication.
背景技术Background technique
随着人们生活水平的提高,人们出行越来越方便。各种公交车、私家车在道路上随处可见。然而实践中发现,由于道路上车辆的日益增多以及道路的复杂多变性,用户在道路上行驶车辆时,经常会出现紧急情况,比如:车辆失控、紧急停车等。当某一个车辆发生紧急情况时,该车辆无法及时通知后面车辆该紧急情况,这样很容易造成交通阻塞或者交通事故。With the improvement of people's living standards, people are more and more convenient to travel. Various buses and private cars can be seen everywhere on the road. However, in practice, it is found that due to the increasing number of vehicles on the road and the complexity and variability of the roads, users often have emergencies when driving on the road, such as: vehicle out of control, emergency parking, and the like. When an emergency occurs in a certain vehicle, the vehicle cannot promptly notify the following vehicle of the emergency, which can easily cause traffic congestion or traffic accidents.
发明内容Summary of the invention
本发明实施例提供了一种基于D2D通信的预警方法及相关装置,可以及时地发送预警信息。The embodiment of the invention provides an early warning method and related device based on D2D communication, which can send early warning information in time.
本发明实施例第一方面公开了一种基于D2D通信的预警方法,包括:The first aspect of the embodiment of the present invention discloses an early warning method based on D2D communication, including:
预警装置向基站发送D2D通信请求,以触发所述基站响应所述D2D通信请求为所述预警装置分配D2D通信信道;The early warning device sends a D2D communication request to the base station to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
所述预警装置监听是否有其他装置通过所述D2D通信信道发送的D2D通信连接请求,若有,所述预警装置建立与所述其他装置之间的D2D通信连接,所述其他装置为驻留在所述基站覆盖的服务小区的装置中除所述预警装置之外的装置;The early warning device monitors whether there is a D2D communication connection request sent by the other device through the D2D communication channel, and if so, the early warning device establishes a D2D communication connection with the other device, and the other device resides in a device other than the early warning device in the device of the serving cell covered by the base station;
所述预警装置通过所述D2D通信信道向所述其他装置发送预警信息。The early warning device transmits the early warning information to the other device through the D2D communication channel.
结合第一方面,在第一方面的第一种可能的实施方式中,所述D2D通信连 接请求包括所述其他装置的当前位置,所述方法还包括:In conjunction with the first aspect, in a first possible implementation of the first aspect, the D2D communication The request includes the current location of the other device, and the method further includes:
当所述预警装置监听有多个其他装置通过所述D2D通信信道发送的D2D通信连接请求时,针对每个所述其他装置,所述预警装置判断所述其他装置的当前位置与所述预警装置的当前位置之间的距离是否处于预设距离范围之内,若是,所述预警装置将所述其他装置确定为目标装置;When the early warning device monitors a D2D communication connection request sent by the plurality of other devices through the D2D communication channel, for each of the other devices, the early warning device determines a current location of the other device and the early warning device Whether the distance between the current positions is within a preset distance range, and if so, the early warning device determines the other device as the target device;
所述预警装置建立与所述其他装置之间的D2D通信连接,包括:The early warning device establishes a D2D communication connection with the other device, including:
所述预警装置建立与所述目标装置之间的D2D通信连接;The early warning device establishes a D2D communication connection with the target device;
所述预警装置通过所述D2D通信信道向所述其他装置发送预警信息,包括:The early warning device sends the early warning information to the other device by using the D2D communication channel, including:
所述预警装置通过所述D2D通信信道向所述目标装置发送预警信息。The early warning device transmits the early warning information to the target device through the D2D communication channel.
结合第一方面或结合第一方面的第一种可能的实施方式,在第一方面的第二种可能的实施方式中,所述预警装置在发送预警信息之后,所述方法还包括:With reference to the first aspect or the first possible implementation manner of the first aspect, in the second possible implementation manner of the first aspect, after the sending the warning information, the method further includes:
所述预警装置断开所述D2D通信连接,并向所述基站发送D2D资源回收请求,以触发所述基站回收已分配的D2D通信信道资源。The early warning device disconnects the D2D communication connection and sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource.
结合第一方面或结合第一方面的第一种可能的实施方式,在第一方面的第三种可能的实施方式中,所述方法还包括:In conjunction with the first aspect or in conjunction with the first possible implementation of the first aspect, in a third possible implementation of the first aspect, the method further includes:
当所述预警装置在预设时间内未监听到有所述其他装置通过所述D2D通信信道发送的D2D通信连接请求时,所述预警装置向所述基站发送D2D资源回收请求,以触发所述基站回收已分配的D2D通信信道资源。When the early warning device does not hear the D2D communication connection request sent by the other device through the D2D communication channel within a preset time, the early warning device sends a D2D resource recovery request to the base station to trigger the The base station reclaims the allocated D2D communication channel resources.
本发明实施例第二方面公开了一种基于D2D通信的预警方法,包括:The second aspect of the embodiment of the present invention discloses an early warning method based on D2D communication, including:
基站接收预警装置发送的D2D通信请求;Receiving, by the base station, a D2D communication request sent by the early warning device;
所述基站响应所述D2D通信请求,为所述预警装置分配D2D通信信道;The base station allocates a D2D communication channel to the early warning device in response to the D2D communication request;
所述基站向驻留在服务小区的装置中除所述预警装置之外的其他装置发送通知信息,所述通知信息包括所述D2D通信信道,以触发所述其他装置通过所述D2D通信信道向所述预警装置发送D2D通信连接请求。The base station sends notification information to other devices other than the early warning device in the device residing in the serving cell, the notification information including the D2D communication channel to trigger the other device to pass through the D2D communication channel The early warning device transmits a D2D communication connection request.
结合第二方面,在第二方面的第一种可能的实施方式中,所述方法还包括:With reference to the second aspect, in a first possible implementation manner of the second aspect, the method further includes:
所述基站接收所述预警装置发送的D2D资源回收请求;Receiving, by the base station, a D2D resource recovery request sent by the early warning device;
所述基站响应所述D2D资源回收请求,回收已分配的D2D通信信道资源。The base station recovers the allocated D2D communication channel resources in response to the D2D resource recycling request.
本发明实施例第三方面公开了一种预警装置,包括:The third aspect of the embodiment of the present invention discloses an early warning device, including:
第一收发单元,设置为向基站发送D2D通信请求,以触发所述基站响应所述D2D通信请求为所述预警装置分配D2D通信信道; a first transceiver unit, configured to send a D2D communication request to the base station, to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
监听单元,设置为监听是否有其他装置通过所述D2D通信信道发送的D2D通信连接请求;a monitoring unit configured to monitor whether there is a D2D communication connection request sent by another device through the D2D communication channel;
建立单元,设置为当所述监听单元监听有其他装置通过所述D2D通信信道发送的D2D通信连接请求时,建立与所述其他装置之间的D2D通信连接,所述其他装置为驻留在所述基站覆盖的服务小区的装置中除所述预警装置之外的装置;Establishing a unit, configured to establish a D2D communication connection with the other device when the listening unit monitors a D2D communication connection request sent by another device through the D2D communication channel, where the other device resides in the a device other than the early warning device in the device of the serving cell covered by the base station;
第二收发单元,设置为通过所述D2D通信信道向所述其他装置发送预警信息。The second transceiver unit is configured to send the warning information to the other device through the D2D communication channel.
结合第三方面,在第三方面的第一种可能的实施方式中,所述D2D通信连接请求包括所述其他装置的当前位置,所述预警装置还包括:In conjunction with the third aspect, in a first possible implementation manner of the third aspect, the D2D communication connection request includes a current location of the other device, and the early warning device further includes:
判断单元,设置为当所述监听单元监听有多个其他装置通过所述D2D通信信道发送的D2D通信连接请求时,针对每个所述其他装置,判断所述其他装置的当前位置与所述预警装置的当前位置之间的距离是否处于预设距离范围之内;a determining unit, configured to determine, when the monitoring unit monitors a D2D communication connection request sent by the plurality of other devices through the D2D communication channel, for each of the other devices, determining a current location of the other device and the alert Whether the distance between the current positions of the devices is within a preset distance range;
确定单元,设置为当所述判断单元针对每个所述其他装置,判断所述其他装置的当前位置与所述预警装置的当前位置之间的距离处于预设距离范围之内时,将所述其他装置确定为目标装置;a determining unit configured to: when the determining unit determines, for each of the other devices, that the distance between the current location of the other device and the current location of the early warning device is within a preset distance range, Other devices are determined as target devices;
所述建立单元,具体设置为建立与所述目标装置之间的D2D通信连接;The establishing unit is specifically configured to establish a D2D communication connection with the target device;
所述第二收发单元,具体设置为通过所述D2D通信信道向所述目标装置发送预警信息。The second transceiver unit is specifically configured to send the early warning information to the target device by using the D2D communication channel.
结合第三方面或结合第三方面的第一种可能的实施方式,在第三方面的第二种可能的实施方式中,所述预警装置还包括:In conjunction with the third aspect or in combination with the first possible implementation of the third aspect, in the second possible implementation of the third aspect, the early warning device further includes:
断开单元,设置为在所述第二收发单元发送预警信息之后,断开所述D2D通信连接;Disconnecting the unit, configured to disconnect the D2D communication connection after the second transceiver unit sends the warning information;
所述第一收发单元,还设置为向所述基站发送D2D资源回收请求,以触发所述基站回收已分配的D2D通信信道资源。The first transceiver unit is further configured to send a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resources.
结合第三方面或结合第三方面的第一种可能的实施方式,在第三方面的第三种可能的实施方式中,所述第一收发单元还设置为当所述监听单元在预设时间内未监听到有所述其他装置通过所述D2D通信信道发送的D2D通信连接请求时,向所述基站发送D2D资源回收请求,以触发所述基站回收已分配的D2D通 信信道资源。With reference to the third aspect or the first possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the first transceiver unit is further configured to: when the monitoring unit is at a preset time When the D2D communication connection request sent by the other device through the D2D communication channel is not monitored, a D2D resource recovery request is sent to the base station to trigger the base station to reclaim the allocated D2D communication. Trust channel resources.
本发明实施例第四方面公开了一种基站,包括:A fourth aspect of the embodiments of the present invention discloses a base station, including:
接收单元,设置为接收预警装置发送的D2D通信请求;a receiving unit, configured to receive a D2D communication request sent by the early warning device;
分配单元,设置为响应所述D2D通信请求,为所述预警装置分配D2D通信信道;An allocating unit, configured to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
发送单元,设置为向驻留在服务小区的装置中除所述预警装置之外的其他装置发送通知信息,所述通知信息包括所述D2D通信信道,以触发所述其他装置通过所述D2D通信信道向所述预警装置发送D2D通信连接请求。a sending unit, configured to send, to the device residing in the serving cell, other information than the early warning device, the notification information including the D2D communication channel to trigger the other device to pass the D2D communication The channel transmits a D2D communication connection request to the early warning device.
结合第四方面,在第四方面的第一种可能的实施方式中,所述接收单元还设置为接收所述预警装置发送的D2D资源回收请求;With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the receiving unit is further configured to receive a D2D resource recovery request sent by the early warning device;
所述基站还包括:The base station further includes:
回收单元,设置为响应所述D2D资源回收请求,回收已分配的D2D通信信道资源。And a recycling unit configured to recover the allocated D2D communication channel resource in response to the D2D resource recycling request.
本发明实施例中,预警装置向基站发送D2D通信请求之后,基站就会响应D2D通信请求为该预警装置分配D2D通信信道,进一步地,预警装置可以监听是否有其他装置通过D2D通信信道发送的D2D通信连接请求,若有,预警装置建立与其他装置之间的D2D通信连接,其中,该其他装置为驻留在基站覆盖的服务小区的装置中除预警装置之外的装置,这样,预警装置就可以通过D2D通信信道向其他装置发送预警信息,从而可以及时地发送预警信息。In the embodiment of the present invention, after the early warning device sends the D2D communication request to the base station, the base station allocates a D2D communication channel to the early warning device in response to the D2D communication request, and further, the early warning device can monitor whether there is any D2D sent by the other device through the D2D communication channel. a communication connection request, if any, that the early warning device establishes a D2D communication connection with another device, wherein the other device is a device other than the early warning device that resides in the serving cell covered by the base station, such that the early warning device The warning information can be sent to other devices through the D2D communication channel, so that the early warning information can be sent in time.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本发明实施例公开的一种网络构架示意图;;1 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention;
图2是本发明实施例公开的一种基于D2D通信的预警方法的流程示意图;2 is a schematic flow chart of an early warning method based on D2D communication disclosed in an embodiment of the present invention;
图3是本发明实施例公开的另一种基于D2D通信的预警方法的流程示意图;3 is a schematic flowchart diagram of another early warning method based on D2D communication disclosed in an embodiment of the present invention;
图4是本发明实施例公开的另一种基于D2D通信的预警方法的流程示意 图;4 is a schematic flow chart of another early warning method based on D2D communication disclosed in an embodiment of the present invention; Figure
图5是本发明实施例公开的一种预警装置的结构示意图;FIG. 5 is a schematic structural diagram of an early warning device according to an embodiment of the present invention; FIG.
图6是本发明实施例公开的另一种预警装置的结构示意图;6 is a schematic structural diagram of another early warning device disclosed in an embodiment of the present invention;
图7是本发明实施例公开的一种基站的结构示意图;FIG. 7 is a schematic structural diagram of a base station according to an embodiment of the present disclosure;
图8是本发明实施例公开的又一种预警装置的结构示意图;FIG. 8 is a schematic structural diagram of still another early warning device according to an embodiment of the present invention; FIG.
图9是本发明实施例公开的另一种基站的结构示意图。FIG. 9 is a schematic structural diagram of another base station according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例公开了一种基于D2D通信的预警方法及相关装置,可以及时地发送预警信息。以下分别进行详细说明。The embodiment of the invention discloses an early warning method and related device based on D2D communication, which can send early warning information in time. The details are described below separately.
为了更好的理解本发明实施例公开的一种基于D2D通信的预警方法,下面将对本发明实施例适用的网络架构进行描述。请参见图1,图1是本发明实施例公开的一种网络构架示意图。在图1所示的网络构架中,可以包括预警装置、其他装置以及基站。其中,预警装置可以为任何支持D2D通信技术的用户终端,其他装置也可以为任何支持D2D通信技术的用户终端,其中,该用户终端可以包括但不限于智能手机、笔记本电脑、个人计算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、智能手表、智能手环、智能眼镜等各类用户终端。基站可以理解为公用移动通信基站,在一定的无线电覆盖区中,通过移动通信交换中心,与移动电话终端之间进行信息传递的无线电收发信电台。其中,其他装置为基站所覆盖的服务小区的装置中除预警装置之外的装置。预警装置与基站之间可以通过无线方式进行通信,其他装置与基站之间可以通过无线方式进行通信,预警装置和其他装置之间可以进行D2D通信。通过实施图1所示的网络构架,在预警装置发生紧急情况时,预警装置可以及时地向其他装置发送预警信息。In order to better understand an early warning method based on D2D communication disclosed in the embodiment of the present invention, a network architecture to which the embodiment of the present invention is applied will be described below. Referring to FIG. 1, FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention. In the network architecture shown in FIG. 1, an early warning device, other devices, and a base station may be included. The early warning device may be any user terminal supporting the D2D communication technology, and the other device may also be any user terminal supporting the D2D communication technology, where the user terminal may include, but is not limited to, a smart phone, a notebook computer, a personal computer (Personal Computer) , PC), Personal Digital Assistant (PDA), Mobile Internet Device (MID), smart watches, smart bracelets, smart glasses and other user terminals. A base station can be understood as a public mobile communication base station, a radio transceiver station that transmits information between a mobile communication switching center and a mobile telephone terminal in a certain radio coverage area. The other device is a device other than the early warning device in the device of the serving cell covered by the base station. The early warning device and the base station can communicate wirelessly, and other devices and the base station can communicate wirelessly, and the D2D communication can be performed between the early warning device and other devices. By implementing the network architecture shown in FIG. 1, the early warning device can send the early warning information to other devices in an emergency when the early warning device is in an emergency.
基于图1所示的网络构架,本发明实施例公开了一种基于D2D通信的预警方法。请参见图2,图2是本发明实施例公开的一种基于D2D通信的预警方法 的流程示意图,其中,该预警方法适用于车辆在道路上行驶出现紧急情况的场景。如图2所示,该方法可以包括以下步骤。Based on the network architecture shown in FIG. 1, the embodiment of the present invention discloses an early warning method based on D2D communication. Referring to FIG. 2, FIG. 2 is an early warning method based on D2D communication disclosed in an embodiment of the present invention. The schematic diagram of the process, wherein the warning method is applicable to a scene in which an emergency situation occurs when a vehicle is traveling on a road. As shown in FIG. 2, the method can include the following steps.
S201、预警装置向基站发送D2D通信请求,以触发基站响应D2D通信请求为预警装置分配D2D通信信道。S201. The early warning device sends a D2D communication request to the base station to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request.
本发明实施例中,D2D通信(Device-to-Device Communication,设备与设备之间的直接通信)是一种在系统的控制下,允许设备之间通过复用小区资源直接进行通信的新型技术。In the embodiment of the present invention, D2D communication (Device-to-Device Communication) is a new technology that allows devices to directly communicate by multiplexing cell resources under the control of the system.
通常,用户除可以通过基站服务进行通信外,它们之间还可以通过D2D信道直接进行通信。每一个D2D通信信道需要占用一定的D2D通信信道资源,这里的通信信道资源指D2D通信参与的双方使用的无线资源(即无线频带),比如我们通常说的GSM有4种频段,如GSM850,GSM900,GSM1800,GSM1900等。进行D2D通信的用户需要在小区基站的控制下,获得D2D通信所需的频率资源和传输功率。Generally, users can communicate directly through the D2D channel in addition to communication through the base station service. Each D2D communication channel needs to occupy a certain D2D communication channel resource, where the communication channel resource refers to the radio resource used by both parties participating in the D2D communication (ie, the wireless frequency band). For example, we generally say that GSM has four frequency bands, such as GSM850, GSM900. , GSM1800, GSM1900, etc. The user performing D2D communication needs to obtain the frequency resource and transmission power required for D2D communication under the control of the cell base station.
本发明实施例中,当用户在道路上发生紧急情况时,预警装置可以向基站发送D2D通信请求,基站接收到该D2D通信请求之后,基站就会响应该D2D通信请求为该预警装置分配D2D通信信道,其中,该基站为该预警装置所在服务小区对应的基站。具体的,该紧急情况可以包括但不限于以下几种:用户在高速公路上紧急停车、交通事故引起的道路交通阻塞、高速上人员伤亡救援以及车辆出现故障等。In the embodiment of the present invention, when an emergency occurs on the road, the early warning device may send a D2D communication request to the base station, and after receiving the D2D communication request, the base station may allocate D2D communication to the early warning device in response to the D2D communication request. a channel, wherein the base station is a base station corresponding to a serving cell where the early warning device is located. Specifically, the emergency situation may include, but is not limited to, the following types: emergency parking on the highway by the user, road traffic congestion caused by a traffic accident, high-speed casualty rescue, and vehicle failure.
S202、预警装置监听是否有其他装置通过D2D通信信道发送的D2D通信连接请求,若是,执行步骤S203~S204,若否,执行步骤S205。S202. The early warning device monitors whether there is a D2D communication connection request sent by another device through the D2D communication channel. If yes, steps S203 to S204 are performed, and if no, step S205 is performed.
本发明实施例中,其他装置为驻留在基站覆盖的服务小区的装置中除预警装置之外的装置。In the embodiment of the present invention, the other device is a device other than the early warning device that resides in the serving cell covered by the base station.
在一个实施例中,基站响应该D2D通信请求为该预警装置分配D2D通信信道之后,进一步地,基站还会向驻留在服务小区的装置中除预警装置之外的其他装置发送通知信息,该通知信息包括D2D通信信道、通知类型以及预警装置的当前位置。其他装置接收到该通知信息之后,其他装置就会先根据通知类型、预警装置的当前位置以及该其他装置的当前位置确定是否需要向预警装置发送D2D通信连接请求。In an embodiment, after the base station allocates the D2D communication channel to the early warning device in response to the D2D communication request, the base station further sends notification information to other devices other than the early warning device in the device residing in the serving cell, where The notification information includes the D2D communication channel, the type of notification, and the current location of the early warning device. After the other device receives the notification information, the other device first determines whether it is necessary to send a D2D communication connection request to the early warning device according to the notification type, the current location of the early warning device, and the current location of the other device.
举例来说:假设该通知类型为救援类型,而该其他装置的用户没有任何救 援经验,该其他装置可以确定不需要关注该通知,或者,该其他装置的当前位置与预警装置的当前位置的距离非常远,该其他装置可以确定不需要关注该通知,或者,该其他装置所行使的路线与预警装置的当前位置所在的路线不在同一条路线上,该其他装置可以确定不需要关注该通知。当然,该其他装置就不会向预警装置发送D2D通信连接请求了。For example: suppose the notification type is a rescue type, and the user of the other device does not have any rescue. In the experience, the other device may determine that the notification is not required to be followed, or the current location of the other device is very far from the current location of the early warning device, the other device may determine that the notification is not required to be followed, or the other device The route being exercised is not on the same route as the route where the current location of the early warning device is located, and the other device may determine that the notification is not required to be of interest. Of course, the other device will not send a D2D communication connection request to the early warning device.
因此,预警装置在获得基站分配的D2D通信信道之后,预警装置需要监听是否有其他装置通过D2D通信信道发送的D2D通信连接请求,以等待与其他装置进行D2D通信。Therefore, after obtaining the D2D communication channel allocated by the base station, the early warning device needs to monitor whether there is a D2D communication connection request sent by another device through the D2D communication channel to wait for D2D communication with other devices.
S203、预警装置建立与其他装置之间的D2D通信连接。S203. The early warning device establishes a D2D communication connection with other devices.
本发明实施例中,当预警装置监听有其他装置通过D2D通信信道发送的D2D通信连接请求时,预警装置可以建立与其他装置之间的D2D通信连接。In the embodiment of the present invention, when the early warning device monitors a D2D communication connection request sent by another device through the D2D communication channel, the early warning device may establish a D2D communication connection with other devices.
S204、预警装置通过D2D通信信道向其他装置发送预警信息,并结束本流程。S204. The early warning device sends the early warning information to the other device through the D2D communication channel, and ends the process.
本发明实施例中,预警装置建立与其他装置之间的D2D通信连接之后,预警装置就可以通过D2D通信信道向其他装置发送预警信息,其中,该预警信息可以为发生紧急情况的具体信息,比如:车辆出现故障的详细情况,需要找人维修等。In the embodiment of the present invention, after the early warning device establishes a D2D communication connection with other devices, the early warning device may send the early warning information to the other device through the D2D communication channel, where the early warning information may be specific information of an emergency situation, such as : The details of the vehicle failure, need to find someone to repair.
作为一种可选的实施方式,预警装置通过D2D通信信道向其他装置发送预警信息之后,预警装置还可以执行以下步骤:As an optional implementation manner, after the early warning device sends the early warning information to the other device through the D2D communication channel, the early warning device may further perform the following steps:
11)预警装置断开与其他装置之间的D2D通信连接;11) the early warning device disconnects the D2D communication connection with other devices;
12)预警装置向基站发送D2D资源回收请求,以触发基站回收已分配的D2D通信信道资源。12) The early warning device sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resources.
在该实施例中,预警装置通过D2D通信信道向其他装置发送预警信息之后,该预警装置不需要该D2D通信信道资源了,为了不占用基站的资源,预警装置可以断开与其他装置之间的D2D通信连接,并向基站发送D2D资源回收请求,以触发基站回收已分配的D2D通信信道资源,这样,在基站回收已分配的D2D通信信道资源之后,基站就可以为其他用户分配该资源,从而可以提高资源的利用率。In this embodiment, after the early warning device transmits the early warning information to the other device through the D2D communication channel, the early warning device does not need the D2D communication channel resource, and the early warning device can disconnect from the other device in order not to occupy the resources of the base station. The D2D communication connection, and sending a D2D resource recovery request to the base station, to trigger the base station to recover the allocated D2D communication channel resources, so that after the base station recovers the allocated D2D communication channel resources, the base station can allocate the resources to other users, thereby Can improve the utilization of resources.
作为另一种可选的实施方式,在步骤11)之后,预警装置还可以执行以下步骤: As another optional implementation manner, after step 11), the early warning device may further perform the following steps:
13)预警装置判断是否需要继续预警服务,若是,预警装置继续执行步骤S202,若否,预警装置停止监听操作,并执行步骤12)。13) The early warning device determines whether it is necessary to continue the early warning service, and if so, the early warning device continues to perform step S202, and if not, the early warning device stops the listening operation and performs step 12).
在该实施例中,预警装置与某个其他装置进行D2D通信,在D2D通信结束并断开与该其他装置的D2D通信连接之后,预警装置可能需要继续预警服务,比如:预警装置断开与该其他装置的D2D通信连接之后,用户又出现了新的紧急情况,或者,该其他装置只能解决该预警装置当前紧急情况中的一部分问题。如果预警装置需要继续预警服务,预警装置可以继续监听是否有其他装置通过D2D通信信道发送的D2D通信连接请求,若是,预警装置建立与其他装置之间的D2D通信连接,并通过D2D通信信道向其他装置发送预警信息。如果预警装置不需要继续预警服务,则预警装置可以停止监听操作,并向基站发送D2D资源回收请求,以触发基站回收已分配的D2D通信信道资源。In this embodiment, the early warning device performs D2D communication with some other device. After the D2D communication ends and the D2D communication connection with the other device is disconnected, the early warning device may need to continue the early warning service, for example, the early warning device is disconnected from the After the D2D communication connection of other devices, the user has a new emergency situation, or the other device can only solve a part of the current emergency situation of the early warning device. If the early warning device needs to continue the early warning service, the early warning device can continue to monitor whether there is a D2D communication connection request sent by the other device through the D2D communication channel, and if so, the early warning device establishes a D2D communication connection with other devices and transmits to the other through the D2D communication channel. The device sends an alert message. If the early warning device does not need to continue the early warning service, the early warning device may stop the listening operation and send a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resources.
S205、当预警装置在预设时间内未监听到有其他装置通过D2D通信信道发送的D2D通信连接请求时,预警装置向基站发送D2D资源回收请求,以触发基站回收已分配的D2D通信信道资源。S205. When the early warning device does not hear the D2D communication connection request sent by the other device through the D2D communication channel within the preset time, the early warning device sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource.
在一个实施例中,其他装置接收到基站发送的通知信息之后,其他装置根据自己的行驶路线以及通知类型,可能确定不需要与预警装置建立D2D通信连接,当然就不会向预警装置发送的D2D通信连接请求了。In an embodiment, after the other device receives the notification information sent by the base station, the other device may determine that the D2D communication connection does not need to be established with the early warning device according to the driving route and the notification type, and of course, the D2D is not sent to the early warning device. The communication connection was requested.
当预警装置在预设时间内未监听到有其他装置通过D2D通信信道发送的D2D通信连接请求时,为了不长期占用基站分配的D2D通信信道资源,预警装置可以向基站发送D2D资源回收请求,基站接收到该D2D资源回收请求之后,基站就会回收已分配的D2D通信信道资源。When the early warning device does not hear the D2D communication connection request sent by the other device through the D2D communication channel within a preset time, the early warning device may send a D2D resource recovery request to the base station, in order not to occupy the D2D communication channel resource allocated by the base station for a long time. After receiving the D2D resource reclamation request, the base station will reclaim the allocated D2D communication channel resources.
在图2所描述的方法流程中,预警装置向基站发送D2D通信请求之后,基站就会响应D2D通信请求为该预警装置分配D2D通信信道,进一步地,预警装置可以监听是否有其他装置通过D2D通信信道发送的D2D通信连接请求,若有,预警装置建立与其他装置之间的D2D通信连接,其中,该其他装置为驻留在基站覆盖的服务小区的装置中除预警装置之外的装置,这样,预警装置就可以通过D2D通信信道向其他装置发送预警信息,从而可以及时地发送预警信息。In the method flow described in FIG. 2, after the early warning device sends a D2D communication request to the base station, the base station allocates a D2D communication channel to the early warning device in response to the D2D communication request, and further, the early warning device can monitor whether other devices pass the D2D communication. a D2D communication connection request sent by the channel, if any, the early warning device establishes a D2D communication connection with another device, wherein the other device is a device other than the early warning device that resides in the serving cell covered by the base station, such that The early warning device can send the early warning information to other devices through the D2D communication channel, so that the early warning information can be sent in time.
基于图1所示的网络构架,本发明实施例公开了一种基于D2D通信的预警方法。请参见图3,图3是本发明实施例公开的另一种基于D2D通信的预警方法的流程示意图,其中,该预警方法适用于车辆在道路上行驶出现紧急情况的 场景。如图3所示,该方法可以包括以下步骤。Based on the network architecture shown in FIG. 1, the embodiment of the present invention discloses an early warning method based on D2D communication. Referring to FIG. 3, FIG. 3 is a schematic flowchart diagram of another early warning method based on D2D communication disclosed in an embodiment of the present invention, wherein the early warning method is applicable to an emergency situation in which a vehicle is traveling on a road. Scenes. As shown in FIG. 3, the method can include the following steps.
S301、预警装置向基站发送D2D通信请求,以触发基站响应D2D通信请求为预警装置分配D2D通信信道。S301. The early warning device sends a D2D communication request to the base station to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request.
S302、预警装置监听是否有其他装置通过D2D通信信道发送的D2D通信连接请求,若是,执行步骤S303,若否,执行步骤S309。S302. The early warning device monitors whether there is a D2D communication connection request sent by another device through the D2D communication channel. If yes, step S303 is performed, and if no, step S309 is performed.
S303、当预警装置监听有多个其他装置通过D2D通信信道发送的D2D通信连接请求时,针对每个其他装置,预警装置判断其他装置的当前位置与预警装置的当前位置之间的距离是否处于预设距离范围之内,若是,执行步骤S304~S308,若否,结束本流程。S303. When the early warning device monitors a D2D communication connection request sent by the plurality of other devices through the D2D communication channel, for each other device, the early warning device determines whether the distance between the current location of the other device and the current location of the early warning device is in advance. If the distance is within the range, if yes, steps S304 to S308 are executed, and if not, the flow is ended.
本发明实施例中,上述D2D通信连接请求可以包括其他装置的当前位置。当预警装置监听有多个其他装置通过D2D通信信道发送的D2D通信连接请求时,针对每个其他装置,预警装置可以判断其他装置的当前位置与预警装置的当前位置之间的距离是否处于预设距离范围之内,若是,表明预警装置与其他装置的距离比较近,若否,表明预警装置与其他装置的距离比较远。In the embodiment of the present invention, the D2D communication connection request may include a current location of another device. When the early warning device monitors a D2D communication connection request sent by a plurality of other devices through the D2D communication channel, for each other device, the early warning device can determine whether the distance between the current location of the other device and the current location of the early warning device is preset. Within the distance range, if it is, it indicates that the distance between the early warning device and other devices is relatively close. If not, it indicates that the distance between the early warning device and other devices is relatively long.
S304、预警装置将其他装置确定为目标装置。S304. The early warning device determines the other device as the target device.
本发明实施例中,预警装置将其他装置的当前位置与预警装置的当前位置之间的距离处于预设距离范围之内的其他装置确定为目标装置,这样,预警装置与该目标装置进行D2D通信之后,可以确保使用该目标装置的用户可以在最短的时间内到达该预警装置所在的当前位置,以解决该预警装置所出现的紧急情况。In the embodiment of the present invention, the early warning device determines other devices whose distance between the current position of the other device and the current position of the early warning device is within the preset distance range as the target device, so that the early warning device performs D2D communication with the target device. After that, it can be ensured that the user who uses the target device can reach the current location where the early warning device is located in the shortest time to solve the emergency situation of the early warning device.
S305、预警装置建立与目标装置之间的D2D通信连接。S305. The early warning device establishes a D2D communication connection with the target device.
S306、预警装置通过D2D通信信道向目标装置发送预警信息。S306. The early warning device sends the early warning information to the target device through the D2D communication channel.
S307、预警装置断开与目标装置之间的D2D通信连接。S307. The early warning device disconnects the D2D communication connection with the target device.
本发明实施例中,预警装置通过D2D通信信道向目标装置发送预警信息之后,该预警装置不需要该D2D通信信道资源了,为了不占用基站的资源,预警装置可以断开与目标装置之间的D2D通信连接,并执行步骤S308,这样,在基站回收已分配的D2D通信信道资源之后,基站就可以为其他用户分配该资源,从而可以提高资源的利用率。In the embodiment of the present invention, after the early warning device sends the early warning information to the target device through the D2D communication channel, the early warning device does not need the D2D communication channel resource, and the early warning device may disconnect from the target device in order not to occupy the resources of the base station. The D2D communication is connected, and step S308 is performed, so that after the base station recovers the allocated D2D communication channel resources, the base station can allocate the resources for other users, thereby improving resource utilization.
S308、预警装置向基站发送D2D资源回收请求,以触发基站回收已分配的D2D通信信道资源,并结束本流程。 S308. The early warning device sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource, and the process ends.
S309、当预警装置在预设时间内未监听到有其他装置通过D2D通信信道发送的D2D通信连接请求时,预警装置向基站发送D2D资源回收请求,以触发基站回收已分配的D2D通信信道资源。S309. When the early warning device does not hear the D2D communication connection request sent by the other device through the D2D communication channel within the preset time, the early warning device sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource.
在图3所描述的方法流程中,预警装置向基站发送D2D通信请求之后,基站就会响应D2D通信请求为预警装置分配D2D通信信道,进一步地,预警装置监听是否有其他装置通过D2D通信信道发送的D2D通信连接请求,当预警装置监听有多个其他装置通过D2D通信信道发送的D2D通信连接请求时,针对每个其他装置,预警装置判断其他装置的当前位置与预警装置的当前位置之间的距离是否处于预设距离范围之内,若是,预警装置将其他装置确定为目标装置,并建立与目标装置之间的D2D通信连接,进一步地,通过D2D通信信道向目标装置发送预警信息。更进一步地,预警装置可以断开与目标装置之间的D2D通信连接,并向基站发送D2D资源回收请求,以触发基站回收已分配的D2D通信信道资源;当预警装置在预设时间内未监听到有其他装置通过D2D通信信道发送的D2D通信连接请求时,预警装置向基站发送D2D资源回收请求,以触发基站回收已分配的D2D通信信道资源。可见,通过本发明实施例,预警装置可以在发生紧急情况时,及时地发送预警信息,同时,不占用基站分配的资源。In the method flow described in FIG. 3, after the early warning device sends a D2D communication request to the base station, the base station allocates a D2D communication channel to the early warning device in response to the D2D communication request, and further, the early warning device monitors whether another device transmits through the D2D communication channel. D2D communication connection request, when the early warning device monitors a D2D communication connection request sent by a plurality of other devices through the D2D communication channel, for each other device, the early warning device determines between the current position of the other device and the current position of the early warning device Whether the distance is within a preset distance range, and if so, the early warning device determines the other device as the target device and establishes a D2D communication connection with the target device, and further transmits the early warning information to the target device through the D2D communication channel. Further, the early warning device may disconnect the D2D communication connection with the target device, and send a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource; when the early warning device does not monitor within a preset time When there is a D2D communication connection request sent by another device through the D2D communication channel, the early warning device sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource. It can be seen that, by using the embodiment of the present invention, the early warning device can send the early warning information in time when an emergency occurs, and at the same time, does not occupy the resources allocated by the base station.
基于图1所示的网络构架,本发明实施例公开了一种基于D2D通信的预警方法。请参见图4,图4是本发明实施例公开的另一种基于D2D通信的预警方法的流程示意图,其中,该预警方法适用于车辆在道路上行驶出现紧急情况的场景。如图4所示,该方法可以包括以下步骤。Based on the network architecture shown in FIG. 1, the embodiment of the present invention discloses an early warning method based on D2D communication. Referring to FIG. 4, FIG. 4 is a schematic flowchart diagram of another early warning method based on D2D communication disclosed in an embodiment of the present invention, wherein the early warning method is applicable to a scenario in which an emergency situation occurs when a vehicle is traveling on a road. As shown in FIG. 4, the method can include the following steps.
S401、基站接收预警装置发送的D2D通信请求。S401. The base station receives the D2D communication request sent by the early warning device.
本发明实施例中,当用户在道路上发生紧急情况时,预警装置可以向基站发送D2D通信请求,其中,该D2D通信请求可以包括请求类型以及预警装置所处的当前位置。举例来说,该请求类型可以为救援类型、故障维修类型、紧急停车类型等,预警装置所处的当前位置可以用经纬度表示,如××经度××纬度,也可以用区域表示,如××区域等。In the embodiment of the present invention, when an emergency occurs on the road, the early warning device may send a D2D communication request to the base station, where the D2D communication request may include the request type and the current location where the early warning device is located. For example, the request type may be a rescue type, a fault repair type, an emergency stop type, etc., and the current position where the early warning device is located may be expressed by latitude and longitude, such as ××longitude××latitude, or may be represented by a region, such as×× Area, etc.
S402、基站响应D2D通信请求,为预警装置分配D2D通信信道。S402. The base station responds to the D2D communication request, and allocates a D2D communication channel to the early warning device.
S403、基站向驻留在服务小区的装置中除预警装置之外的其他装置发送通知信息,通知信息包括D2D通信信道,以触发其他装置通过D2D通信信道向预警装置发送D2D通信连接请求。 S403. The base station sends notification information to the device residing in the serving cell except the early warning device, where the notification information includes a D2D communication channel, to trigger other devices to send the D2D communication connection request to the early warning device through the D2D communication channel.
本发明实施例中,该通知信息还可以包括通知类型以及预警装置的当前位置,其中,该通知类型与上述的请求类型匹配。比如,该通知类型为救援类型、故障维修类型、紧急停车类型等。In the embodiment of the present invention, the notification information may further include a notification type and a current location of the early warning device, wherein the notification type matches the request type. For example, the notification type is rescue type, fault repair type, emergency stop type, and the like.
具体的,其他装置接收到该通知信息之后,其他装置可以根据通知类型、预警装置的当前位置以及该其他装置的当前位置来确定是否需要关注该通知,比如:该通知类型为救援类型,而该其他装置的用户正好有救援经验,该其他装置可以向预警装置发送D2D通信连接请求,或者,该其他装置的当前位置与预警装置的当前位置的距离比较近,该其他装置可以向预警装置发送D2D通信连接请求,或者,该其他装置所行使的路线与预警装置的当前位置所在的路线正好在同一条路线上,该其他装置可以向预警装置发送D2D通信连接请求。Specifically, after receiving the notification information, the other device may determine, according to the notification type, the current location of the early warning device, and the current location of the other device, whether the notification needs to be followed, for example, the notification type is a rescue type, and the The user of other devices has just the rescue experience. The other device can send a D2D communication connection request to the early warning device, or the current location of the other device is relatively close to the current location of the early warning device, and the other device can send the D2D to the early warning device. The communication connection request, or the route exercised by the other device and the current location of the early warning device are on the same route, and the other device may send a D2D communication connection request to the early warning device.
作为一种可选的实施方式,在步骤S403之后,基站还可以执行以下步骤:As an optional implementation manner, after step S403, the base station may further perform the following steps:
11)基站接收预警装置发送的D2D资源回收请求;11) the base station receives the D2D resource recovery request sent by the early warning device;
12)基站响应D2D资源回收请求,回收已分配的D2D通信信道资源。12) The base station recovers the allocated D2D communication channel resources in response to the D2D resource recovery request.
在该实施例中,基站为预警装置分配D2D通信信道,以及将携带该D2D通信信道的通知信息发送给驻留在服务小区的装置中除预警装置之外的其他装置之后,基站可以接收预警装置发送的D2D资源回收请求,并响应D2D资源回收请求,回收已分配的D2D通信信道资源。这样,基站就可以为其他用户分配该资源,从而可以提高资源的利用率。In this embodiment, the base station can transmit the D2D communication channel to the early warning device, and send the notification information carrying the D2D communication channel to the device residing in the serving cell, other than the early warning device, the base station can receive the early warning device. The D2D resource recycling request is sent, and the allocated D2D communication channel resource is recovered in response to the D2D resource recycling request. In this way, the base station can allocate the resource to other users, thereby improving resource utilization.
在图4所描述的方法流程中,基站接收到预警装置发送的D2D通信请求之后,基站可以响应D2D通信请求,为预警装置分配D2D通信信道,进一步地,基站向驻留在服务小区的装置中除预警装置之外的其他装置发送通知信息,通知信息包括D2D通信信道,以触发其他装置通过D2D通信信道向预警装置发送D2D通信连接请求,这样,预警装置就可以建立跟其他装置之间的D2D通信连接,并通过D2D通信信道向其他装置发送预警信息,从而可以及时地发送预警信息。In the method flow described in FIG. 4, after receiving the D2D communication request sent by the early warning device, the base station may allocate a D2D communication channel to the early warning device in response to the D2D communication request, and further, the base station camps on the device camped in the serving cell. The device other than the early warning device transmits notification information including a D2D communication channel to trigger other devices to send a D2D communication connection request to the early warning device through the D2D communication channel, so that the early warning device can establish D2D with other devices. The communication is connected, and the early warning information is sent to other devices through the D2D communication channel, so that the early warning information can be sent in time.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例中的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明上述方法实施例。The following is an embodiment of the device of the present invention. The device embodiment of the present invention is used to perform the method in the method embodiment of the present invention. For the convenience of description, only parts related to the embodiment of the present invention are shown, and the specific technical details are not disclosed. Reference is made to the above method embodiments of the present invention.
请参见图5,图5是本发明实施例公开的一种预警装置的结构示意图,其中,该预警装置500用于执行图2所公开的基于D2D通信的预警方法,如图5所示, 该预警装置500可以包括:Referring to FIG. 5, FIG. 5 is a schematic structural diagram of an early warning device according to an embodiment of the present invention. The early warning device 500 is configured to perform the D2D communication-based early warning method disclosed in FIG. 2, as shown in FIG. The early warning device 500 can include:
第一收发单元501,设置为向基站发送D2D通信请求,以触发所述基站响应所述D2D通信请求为所述预警装置分配D2D通信信道;The first transceiver unit 501 is configured to send a D2D communication request to the base station, to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
监听单元502,设置为监听是否有其他装置通过所述D2D通信信道发送的D2D通信连接请求;The monitoring unit 502 is configured to monitor whether there is a D2D communication connection request sent by another device through the D2D communication channel;
建立单元503,设置为当所述监听单元502监听有其他装置通过所述D2D通信信道发送的D2D通信连接请求时,建立与所述其他装置之间的D2D通信连接,所述其他装置为驻留在所述基站覆盖的服务小区的装置中除所述预警装置之外的装置;The establishing unit 503 is configured to establish a D2D communication connection with the other device when the monitoring unit 502 monitors a D2D communication connection request sent by another device through the D2D communication channel, the other device is resident a device other than the early warning device in the device of the serving cell covered by the base station;
第二收发单元504,设置为通过所述D2D通信信道向所述其他装置发送预警信息。The second transceiver unit 504 is configured to send the early warning information to the other device through the D2D communication channel.
可选的,第一收发单元501还设置为接收基站发送的D2D通信信道的信息,并将该D2D通信信道的信息发送给监听单元502以及第二收发单元504。Optionally, the first transceiver unit 501 is further configured to receive the information of the D2D communication channel sent by the base station, and send the information of the D2D communication channel to the monitoring unit 502 and the second transceiver unit 504.
请参见图6,图6是本发明实施例公开的另一种预警装置的结构示意图,其中,该预警装置500用于执行图3所公开的基于D2D通信的预警方法,其中,图6所示的预警装置500是在图5所示的预警装置500的基础上进一步优化得到的,与图5所示的预警装置500相比,图6所示的预警装置500除了包括图5所示的预警装置500的所有单元外,图6所示的预警装置500还可以包括:Referring to FIG. 6 , FIG. 6 is a schematic structural diagram of another early warning device according to an embodiment of the present invention, wherein the early warning device 500 is configured to perform the D2D communication-based early warning method disclosed in FIG. 3 , wherein FIG. 6 is illustrated in FIG. The early warning device 500 is further optimized based on the early warning device 500 shown in FIG. 5. Compared with the early warning device 500 shown in FIG. 5, the early warning device 500 shown in FIG. 6 includes the warning shown in FIG. The warning device 500 shown in FIG. 6 may further include:
判断单元505,设置为当所述监听单元502监听有多个其他装置通过所述D2D通信信道发送的D2D通信连接请求时,针对每个所述其他装置,判断所述其他装置的当前位置与所述预警装置的当前位置之间的距离是否处于预设距离范围之内,其中,所述D2D通信连接请求包括所述其他装置的当前位置;The determining unit 505 is configured to determine, when each of the other devices, the current location and location of the other device, when the monitoring unit 502 listens to a D2D communication connection request sent by the plurality of other devices through the D2D communication channel. Whether the distance between the current positions of the early warning devices is within a preset distance range, wherein the D2D communication connection request includes a current location of the other device;
确定单元506,设置为当所述判断单元505针对每个所述其他装置,判断所述其他装置的当前位置与所述预警装置的当前位置之间的距离处于预设距离范围之内时,将所述其他装置确定为目标装置;a determining unit 506, configured to: when the determining unit 505 determines, for each of the other devices, that the distance between the current location of the other device and the current location of the early warning device is within a preset distance range, The other device is determined to be a target device;
所述建立单元503,具体设置为建立与所述目标装置之间的D2D通信连接;The establishing unit 503 is specifically configured to establish a D2D communication connection with the target device;
所述第二收发单元504,具体设置为通过所述D2D通信信道向所述目标装置发送预警信息。The second transceiver unit 504 is specifically configured to send the early warning information to the target device by using the D2D communication channel.
作为一种可选的实施方式,图6所示的预警装置500还可以包括:As an optional implementation manner, the early warning device 500 shown in FIG. 6 may further include:
断开单元507,设置为在所述第二收发单元504发送预警信息之后,断开所 述D2D通信连接;The disconnecting unit 507 is configured to disconnect the second transmitting and receiving unit 504 after transmitting the warning information. Describe the D2D communication connection;
所述第一收发单元501,还设置为向所述基站发送D2D资源回收请求,以触发所述基站回收已分配的D2D通信信道资源。The first transceiver unit 501 is further configured to send a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resources.
在图5~图6所描述的预警装置500中,第一收发单元501向基站发送D2D通信请求之后,基站就会响应D2D通信请求为该预警装置分配D2D通信信道,进一步地,监听单元502可以监听是否有其他装置通过D2D通信信道发送的D2D通信连接请求,若有,建立单元503建立与其他装置之间的D2D通信连接,其中,该其他装置为驻留在基站覆盖的服务小区的装置中除预警装置之外的装置,这样,第二收发单元504就可以通过D2D通信信道向其他装置发送预警信息,从而可以及时地发送预警信息。In the early warning device 500 described in FIG. 5 to FIG. 6, after the first transceiver unit 501 sends a D2D communication request to the base station, the base station allocates a D2D communication channel to the early warning device in response to the D2D communication request. Further, the monitoring unit 502 can Monitoring whether there is a D2D communication connection request sent by another device through the D2D communication channel, and if so, the establishing unit 503 establishes a D2D communication connection with other devices, wherein the other device is a device residing in the serving cell covered by the base station In addition to the early warning device, the second transceiver unit 504 can transmit the early warning information to other devices through the D2D communication channel, so that the early warning information can be sent in time.
请参见图7,图7是本发明实施例公开的一种基站的结构示意图,其中,该基站700用于执行图4所公开的基于D2D通信的预警方法,如图7所示,该基站700可以包括:Referring to FIG. 7, FIG. 7 is a schematic structural diagram of a base station according to an embodiment of the present invention, where the base station 700 is configured to perform the D2D communication-based early warning method disclosed in FIG. 4, as shown in FIG. Can include:
接收单元701,设置为接收预警装置发送的D2D通信请求;The receiving unit 701 is configured to receive a D2D communication request sent by the early warning device;
分配单元702,设置为响应所述D2D通信请求,为所述预警装置分配D2D通信信道;The allocating unit 702 is configured to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
发送单元703,设置为向驻留在服务小区的装置中除所述预警装置之外的其他装置发送通知信息,所述通知信息包括所述D2D通信信道,以触发所述其他装置通过所述D2D通信信道向所述预警装置发送D2D通信连接请求。The sending unit 703 is configured to send, to the device residing in the serving cell, other information than the early warning device, the notification information includes the D2D communication channel, to trigger the other device to pass the D2D The communication channel transmits a D2D communication connection request to the early warning device.
作为一种可选的实施方式,所述接收单元701还设置为接收所述预警装置发送的D2D资源回收请求;As an optional implementation manner, the receiving unit 701 is further configured to receive a D2D resource recovery request sent by the early warning device;
图7所示的基站700还可以包括:The base station 700 shown in FIG. 7 may further include:
回收单元704,设置为响应所述D2D资源回收请求,回收已分配的D2D通信信道资源。The recycling unit 704 is configured to recover the allocated D2D communication channel resources in response to the D2D resource recycling request.
在图7所描述的基站700中,接收单元701接收到预警装置发送的D2D通信请求之后,分配单元702可以响应D2D通信请求,为预警装置分配D2D通信信道,进一步地,发送单元703向驻留在服务小区的装置中除预警装置之外的其他装置发送通知信息,通知信息包括D2D通信信道,以触发其他装置通过D2D通信信道向预警装置发送D2D通信连接请求,这样,预警装置就可以建立跟其他装置之间的D2D通信连接,并通过D2D通信信道向其他装置发送预警信息, 从而可以及时地发送预警信息。In the base station 700 described in FIG. 7, after the receiving unit 701 receives the D2D communication request sent by the early warning device, the allocating unit 702 can allocate a D2D communication channel to the early warning device in response to the D2D communication request, and further, the transmitting unit 703 is resident. The device in the serving cell transmits notification information including a D2D communication channel to trigger other devices to send a D2D communication connection request to the early warning device through the D2D communication channel, so that the early warning device can establish a follow-up information. D2D communication connection between other devices, and sending early warning information to other devices through the D2D communication channel, Thereby, the warning information can be sent in time.
请参见图8,图8是本发明实施例公开的又一种预警装置的结构示意图。本发明实施例中的预警装置500可以是不同类型的电子设备,例如:智能手机、平板电脑、掌上电脑以及移动互联网设备、个人数字助理、媒体播放器、智能电视、智能手表、智能眼镜、智能手环等。如图8所示,本发明实施例中的预警装置500包括:至少一个处理器510,例如CPU,至少一个接收器513,至少一个存储器514,至少一个发送器515,至少一个通信总线512。其中,所述通信总线512用于实现这些组件之间的连接通信。其中,所述接收器513和所述发送器515可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他设备进行数据通信。所述存储器514可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。Referring to FIG. 8, FIG. 8 is a schematic structural diagram of another early warning device according to an embodiment of the present invention. The early warning device 500 in the embodiment of the present invention may be different types of electronic devices, such as: smart phones, tablet computers, palmtop computers, and mobile internet devices, personal digital assistants, media players, smart televisions, smart watches, smart glasses, and smart phones. Hand ring and so on. As shown in FIG. 8, the early warning device 500 in the embodiment of the present invention includes at least one processor 510, such as a CPU, at least one receiver 513, at least one memory 514, at least one transmitter 515, and at least one communication bus 512. The communication bus 512 is used to implement connection communication between these components. The receiver 513 and the transmitter 515 may be wired transmission ports, or may be wireless devices, for example, including antenna devices for performing data communication with other devices. The memory 514 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
所述处理器510可执行所述预警装置500的操作系统以及安装的各类应用程序、程序代码等,例如,上述的各个单元,包括所述第一收发单元501、所述监听单元502、所述建立单元503、所述第二收发单元504、所述判断单元505、所述确定单元506、所述断开单元507等。The processor 510 can execute an operating system of the early warning device 500 and various installed application programs, program codes, and the like. For example, each unit described above includes the first transceiver unit 501, the monitoring unit 502, and the The establishing unit 503, the second transceiving unit 504, the judging unit 505, the determining unit 506, the disconnecting unit 507, and the like.
所述存储器514中存储有程序代码,且所述处理器510可通过通信总线512,调用所述存储器514中存储的程序代码以执行相关的功能。例如,图5、图6中所述的各个单元(例如,所述第一收发单元501、所述监听单元502、所述建立单元503、所述第二收发单元504、所述判断单元505、所述确定单元506、所述断开单元507等)是存储在所述存储器514中的程序代码,并由所述处理器510所执行,从而实现所述各个单元的功能以实现预警处理。Program code is stored in the memory 514, and the processor 510 can invoke program code stored in the memory 514 via the communication bus 512 to perform related functions. For example, each unit described in FIG. 5 and FIG. 6 (for example, the first transceiver unit 501, the listening unit 502, the establishing unit 503, the second transceiver unit 504, the determining unit 505, The determining unit 506, the disconnecting unit 507, and the like) are program codes stored in the memory 514 and executed by the processor 510 to implement the functions of the respective units to implement early warning processing.
在本发明的一个实施例中,所述存储器514存储多个指令,所述多个指令被所述处理器510所执行以实现预警处理。具体而言,所述处理器510向基站发送D2D通信请求,以触发所述基站响应所述D2D通信请求为所述预警装置500分配D2D通信信道;所述处理器510监听是否有其他装置通过所述D2D通信信道发送的D2D通信连接请求,若有,所述处理器510建立与所述其他装置之间的D2D通信连接,所述其他装置为驻留在所述基站覆盖的服务小区的装置中除所述预警装置500之外的装置;所述处理器500通过所述D2D通信信道向所述其他装置发送预警信息。In one embodiment of the invention, the memory 514 stores a plurality of instructions that are executed by the processor 510 to implement an early warning process. Specifically, the processor 510 sends a D2D communication request to the base station to trigger the base station to allocate a D2D communication channel to the early warning device 500 in response to the D2D communication request; the processor 510 monitors whether other devices pass through the device. Determining a D2D communication connection request sent by the D2D communication channel, if any, the processor 510 establishing a D2D communication connection with the other device, the other device being a device residing in a serving cell covered by the base station a device other than the early warning device 500; the processor 500 transmits alert information to the other device over the D2D communication channel.
在进一步的实施例中,所述D2D通信连接请求包括所述其他装置的当前位 置,当所述处理器510监听有多个其他装置通过所述D2D通信信道发送的D2D通信连接请求时,针对每个所述其他装置,所述处理器510判断所述其他装置的当前位置与所述预警装置500的当前位置之间的距离是否处于预设距离范围之内,若是,所述处理器510将所述其他装置确定为目标装置;所述处理器510建立与所述其他装置之间的D2D通信连接,包括:所述处理器510建立与所述目标装置之间的D2D通信连接;所述处理器510通过所述D2D通信信道向所述其他装置发送预警信息,包括:所述处理器510通过所述D2D通信信道向所述目标装置发送预警信息。In a further embodiment, the D2D communication connection request includes a current bit of the other device When the processor 510 listens to a D2D communication connection request sent by the plurality of other devices through the D2D communication channel, the processor 510 determines the current location of the other device for each of the other devices. Whether the distance between the current positions of the early warning device 500 is within a preset distance range, and if so, the processor 510 determines the other device as a target device; the processor 510 establishes with the other device The D2D communication connection includes: the processor 510 establishes a D2D communication connection with the target device; the processor 510 sends the warning information to the other device by using the D2D communication channel, including: The processor 510 transmits the alert information to the target device over the D2D communication channel.
在进一步的实施例中,所述处理器510在发送预警信息之后,所述处理器510断开所述D2D通信连接,并向所述基站发送D2D资源回收请求,以触发所述基站回收已分配的D2D通信信道资源。In a further embodiment, after the processor 510 sends the warning information, the processor 510 disconnects the D2D communication connection and sends a D2D resource recovery request to the base station to trigger the base station to reclaim the allocated D2D communication channel resources.
在进一步的实施例中,当所述处理器510在预设时间内未监听到有所述其他装置通过所述D2D通信信道发送的D2D通信连接请求时,所述处理器510向所述基站发送D2D资源回收请求,以触发所述基站回收已分配的D2D通信信道资源。In a further embodiment, when the processor 510 does not hear the D2D communication connection request sent by the other device through the D2D communication channel within a preset time, the processor 510 sends the D2D communication connection request to the base station. A D2D resource reclamation request to trigger the base station to reclaim the allocated D2D communication channel resources.
具体地,所述处理器510对上述指令的具体实现方法可参考图2至图4对应实施例中相关步骤的描述,在此不赘述。For a specific implementation of the above-mentioned instructions by the processor 510, reference may be made to the description of related steps in the corresponding embodiments in FIG. 2 to FIG. 4, and details are not described herein.
请参见图9,图9是本发明实施例公开的另一种基站的结构示意图。本发明实施例中的基站700包括:至少一个处理器710,例如CPU,至少一个接收器713,至少一个存储器714,至少一个发送器715,至少一个通信总线712。其中,所述通信总线712用于实现这些组件之间的连接通信。其中,所述接收器713和所述发送器715可以是有线发送端口,也可以为无线设备,例如包括天线装置,用于与其他设备进行数据通信。所述存储器714可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。Referring to FIG. 9, FIG. 9 is a schematic structural diagram of another base station according to an embodiment of the present invention. The base station 700 in the embodiment of the present invention includes: at least one processor 710, such as a CPU, at least one receiver 713, at least one memory 714, at least one transmitter 715, and at least one communication bus 712. The communication bus 712 is used to implement connection communication between these components. The receiver 713 and the transmitter 715 may be wired transmission ports, or may be wireless devices, for example, including antenna devices for performing data communication with other devices. The memory 714 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
所述处理器710可执行所述基站700的操作系统以及安装的各类应用程序、程序代码等,例如,上述的各个单元,包括所述接收单元701、所述分配单元702、发送单元703、回收单元704等。The processor 710 can execute an operating system of the base station 700 and various installed application programs, program codes, and the like. For example, each unit described above includes the receiving unit 701, the allocating unit 702, and the sending unit 703. Recycling unit 704 and the like.
所述存储器714中存储有程序代码,且所述处理器710可通过通信总线712,调用所述存储器714中存储的程序代码以执行相关的功能。例如,图7中所述的各个单元(例如,所述接收单元701、所述分配单元702、发送单元703、回 收单元704等)是存储在所述存储器714中的程序代码,并由所述处理器710所执行,从而实现所述各个单元的功能以实现对预警的处理。Program code is stored in the memory 714, and the processor 710 can invoke program code stored in the memory 714 via the communication bus 712 to perform related functions. For example, each unit described in FIG. 7 (for example, the receiving unit 701, the allocating unit 702, the transmitting unit 703, and the back The receiving unit 704, etc.) is program code stored in the memory 714 and executed by the processor 710 to implement the functions of the various units to effect processing of the early warning.
在本发明的一个实施例中,所述存储器714存储多个指令,所述多个指令被所述处理器710所执行以实现预警处理。具体而言,所述处理器710接收预警装置发送的D2D通信请求;所述处理器710响应所述D2D通信请求,为所述预警装置分配D2D通信信道;所述处理器710向驻留在服务小区的装置中除所述预警装置之外的其他装置发送通知信息,所述通知信息包括所述D2D通信信道,以触发所述其他装置通过所述D2D通信信道向所述预警装置发送D2D通信连接请求。In one embodiment of the invention, the memory 714 stores a plurality of instructions that are executed by the processor 710 to implement an alerting process. Specifically, the processor 710 receives a D2D communication request sent by the early warning device; the processor 710 allocates a D2D communication channel to the early warning device in response to the D2D communication request; the processor 710 camps on the service The device of the cell transmits notification information other than the early warning device, the notification information including the D2D communication channel to trigger the other device to send a D2D communication connection to the early warning device through the D2D communication channel request.
在进一步的实施例中,所述处理器710接收所述预警装置发送的D2D资源回收请求;所述处理器710响应所述D2D资源回收请求,回收已分配的D2D通信信道资源。In a further embodiment, the processor 710 receives a D2D resource reclamation request sent by the early warning device; the processor 710 recovers the allocated D2D communication channel resource in response to the D2D resource reclamation request.
具体地,所述处理器710对上述指令的具体实现方法可参考图2至图4对应实施例中相关步骤的描述,在此不赘述。For details, refer to the description of the related steps in the corresponding embodiments in FIG. 2 to FIG. 4, and the details are not described here.
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和单元并不一定是本申请所必须的。It should be noted that, for the foregoing various method embodiments, for the sake of brevity, they are all described as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence. Because some steps may be performed in other orders or concurrently in accordance with the present application. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and units involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment can be referred to the related descriptions of other embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。 The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, and thus equivalent changes made in the claims of the present invention are still within the scope of the present invention.

Claims (12)

  1. 一种基于D2D通信的预警方法,其特征在于,包括:An early warning method based on D2D communication, characterized in that it comprises:
    预警装置向基站发送D2D通信请求,以触发所述基站响应所述D2D通信请求为所述预警装置分配D2D通信信道;The early warning device sends a D2D communication request to the base station to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
    所述预警装置监听是否有其他装置通过所述D2D通信信道发送的D2D通信连接请求,若有,所述预警装置建立与所述其他装置之间的D2D通信连接,所述其他装置为驻留在所述基站覆盖的服务小区的装置中除所述预警装置之外的装置;The early warning device monitors whether there is a D2D communication connection request sent by the other device through the D2D communication channel, and if so, the early warning device establishes a D2D communication connection with the other device, and the other device resides in a device other than the early warning device in the device of the serving cell covered by the base station;
    所述预警装置通过所述D2D通信信道向所述其他装置发送预警信息。The early warning device transmits the early warning information to the other device through the D2D communication channel.
  2. 根据权利要求1所述的方法,其特征在于,所述D2D通信连接请求包括所述其他装置的当前位置,所述方法还包括:The method of claim 1, wherein the D2D communication connection request includes a current location of the other device, the method further comprising:
    当所述预警装置监听有多个其他装置通过所述D2D通信信道发送的D2D通信连接请求时,针对每个所述其他装置,所述预警装置判断所述其他装置的当前位置与所述预警装置的当前位置之间的距离是否处于预设距离范围之内,若是,所述预警装置将所述其他装置确定为目标装置;When the early warning device monitors a D2D communication connection request sent by the plurality of other devices through the D2D communication channel, for each of the other devices, the early warning device determines a current location of the other device and the early warning device Whether the distance between the current positions is within a preset distance range, and if so, the early warning device determines the other device as the target device;
    所述预警装置建立与所述其他装置之间的D2D通信连接,包括:The early warning device establishes a D2D communication connection with the other device, including:
    所述预警装置建立与所述目标装置之间的D2D通信连接;The early warning device establishes a D2D communication connection with the target device;
    所述预警装置通过所述D2D通信信道向所述其他装置发送预警信息,包括:The early warning device sends the early warning information to the other device by using the D2D communication channel, including:
    所述预警装置通过所述D2D通信信道向所述目标装置发送预警信息。The early warning device transmits the early warning information to the target device through the D2D communication channel.
  3. 根据权利要求1或2所述的方法,其特征在于,所述预警装置在发送预警信息之后,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises: after the warning device sends the warning information, the method further comprises:
    所述预警装置断开所述D2D通信连接,并向所述基站发送D2D资源回收请求,以触发所述基站回收已分配的D2D通信信道资源。The early warning device disconnects the D2D communication connection and sends a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resource.
  4. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    当所述预警装置在预设时间内未监听到有所述其他装置通过所述D2D通信信道发送的D2D通信连接请求时,所述预警装置向所述基站发送D2D资源回收请求,以触发所述基站回收已分配的D2D通信信道资源。When the early warning device does not hear the D2D communication connection request sent by the other device through the D2D communication channel within a preset time, the early warning device sends a D2D resource recovery request to the base station to trigger the The base station reclaims the allocated D2D communication channel resources.
  5. 一种基于D2D通信的预警方法,其特征在于,包括:An early warning method based on D2D communication, characterized in that it comprises:
    基站接收预警装置发送的D2D通信请求;Receiving, by the base station, a D2D communication request sent by the early warning device;
    所述基站响应所述D2D通信请求,为所述预警装置分配D2D通信信道; The base station allocates a D2D communication channel to the early warning device in response to the D2D communication request;
    所述基站向驻留在服务小区的装置中除所述预警装置之外的其他装置发送通知信息,所述通知信息包括所述D2D通信信道,以触发所述其他装置通过所述D2D通信信道向所述预警装置发送D2D通信连接请求。The base station sends notification information to other devices other than the early warning device in the device residing in the serving cell, the notification information including the D2D communication channel to trigger the other device to pass through the D2D communication channel The early warning device transmits a D2D communication connection request.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    所述基站接收所述预警装置发送的D2D资源回收请求;Receiving, by the base station, a D2D resource recovery request sent by the early warning device;
    所述基站响应所述D2D资源回收请求,回收已分配的D2D通信信道资源。The base station recovers the allocated D2D communication channel resources in response to the D2D resource recycling request.
  7. 一种预警装置,其特征在于,包括:An early warning device, comprising:
    第一收发单元,设置为向基站发送D2D通信请求,以触发所述基站响应所述D2D通信请求为所述预警装置分配D2D通信信道;a first transceiver unit, configured to send a D2D communication request to the base station, to trigger the base station to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
    监听单元,设置为监听是否有其他装置通过所述D2D通信信道发送的D2D通信连接请求;a monitoring unit configured to monitor whether there is a D2D communication connection request sent by another device through the D2D communication channel;
    建立单元,设置为当所述监听单元监听有其他装置通过所述D2D通信信道发送的D2D通信连接请求时,建立与所述其他装置之间的D2D通信连接,所述其他装置为驻留在所述基站覆盖的服务小区的装置中除所述预警装置之外的装置;Establishing a unit, configured to establish a D2D communication connection with the other device when the listening unit monitors a D2D communication connection request sent by another device through the D2D communication channel, where the other device resides in the a device other than the early warning device in the device of the serving cell covered by the base station;
    第二收发单元,设置为通过所述D2D通信信道向所述其他装置发送预警信息。The second transceiver unit is configured to send the warning information to the other device through the D2D communication channel.
  8. 根据权利要求7所述的装置,其特征在于,所述D2D通信连接请求包括所述其他装置的当前位置,所述预警装置还包括:The device according to claim 7, wherein the D2D communication connection request includes a current location of the other device, and the early warning device further comprises:
    判断单元,设置为当所述监听单元监听有多个其他装置通过所述D2D通信信道发送的D2D通信连接请求时,针对每个所述其他装置,判断所述其他装置的当前位置与所述预警装置的当前位置之间的距离是否处于预设距离范围之内;a determining unit, configured to determine, when the monitoring unit monitors a D2D communication connection request sent by the plurality of other devices through the D2D communication channel, for each of the other devices, determining a current location of the other device and the alert Whether the distance between the current positions of the devices is within a preset distance range;
    确定单元,设置为当所述判断单元针对每个所述其他装置,判断所述其他装置的当前位置与所述预警装置的当前位置之间的距离处于预设距离范围之内时,将所述其他装置确定为目标装置;a determining unit configured to: when the determining unit determines, for each of the other devices, that the distance between the current location of the other device and the current location of the early warning device is within a preset distance range, Other devices are determined as target devices;
    所述建立单元,具体设置为建立与所述目标装置之间的D2D通信连接;The establishing unit is specifically configured to establish a D2D communication connection with the target device;
    所述第二收发单元,具体设置为通过所述D2D通信信道向所述目标装置发送预警信息。The second transceiver unit is specifically configured to send the early warning information to the target device by using the D2D communication channel.
  9. 根据权利要求7或8所述的装置,其特征在于,所述预警装置还包括: The device according to claim 7 or 8, wherein the early warning device further comprises:
    断开单元,设置为在所述第二收发单元发送预警信息之后,断开所述D2D通信连接;Disconnecting the unit, configured to disconnect the D2D communication connection after the second transceiver unit sends the warning information;
    所述第一收发单元,还设置为向所述基站发送D2D资源回收请求,以触发所述基站回收已分配的D2D通信信道资源。The first transceiver unit is further configured to send a D2D resource recovery request to the base station to trigger the base station to recover the allocated D2D communication channel resources.
  10. 根据权利要求7或8所述的装置,其特征在于,所述第一收发单元还设置为当所述监听单元在预设时间内未监听到有所述其他装置通过所述D2D通信信道发送的D2D通信连接请求时,向所述基站发送D2D资源回收请求,以触发所述基站回收已分配的D2D通信信道资源。The device according to claim 7 or 8, wherein the first transceiver unit is further configured to: when the monitoring unit does not detect that the other device is sent through the D2D communication channel within a preset time When the D2D communication connection request is sent, a D2D resource recovery request is sent to the base station to trigger the base station to recover the allocated D2D communication channel resources.
  11. 一种基站,其特征在于,包括:A base station, comprising:
    接收单元,设置为接收预警装置发送的D2D通信请求;a receiving unit, configured to receive a D2D communication request sent by the early warning device;
    分配单元,设置为响应所述D2D通信请求,为所述预警装置分配D2D通信信道;An allocating unit, configured to allocate a D2D communication channel to the early warning device in response to the D2D communication request;
    发送单元,设置为向驻留在服务小区的装置中除所述预警装置之外的其他装置发送通知信息,所述通知信息包括所述D2D通信信道,以触发所述其他装置通过所述D2D通信信道向所述预警装置发送D2D通信连接请求。a sending unit, configured to send, to the device residing in the serving cell, other information than the early warning device, the notification information including the D2D communication channel to trigger the other device to pass the D2D communication The channel transmits a D2D communication connection request to the early warning device.
  12. 根据权利要求11所述的基站,其特征在于,所述接收单元还设置为接收所述预警装置发送的D2D资源回收请求;The base station according to claim 11, wherein the receiving unit is further configured to receive a D2D resource recovery request sent by the early warning device;
    所述基站还包括:The base station further includes:
    回收单元,设置为响应所述D2D资源回收请求,回收已分配的D2D通信信道资源。 And a recycling unit configured to recover the allocated D2D communication channel resource in response to the D2D resource recycling request.
PCT/CN2016/097366 2015-09-29 2016-08-30 D2d communication-based early warning method and related device WO2017054606A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510634308.6 2015-09-29
CN201510634308.6A CN105338471B (en) 2015-09-29 2015-09-29 A kind of method for early warning and relevant apparatus based on D2D communication

Publications (1)

Publication Number Publication Date
WO2017054606A1 true WO2017054606A1 (en) 2017-04-06

Family

ID=55288685

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097366 WO2017054606A1 (en) 2015-09-29 2016-08-30 D2d communication-based early warning method and related device

Country Status (2)

Country Link
CN (1) CN105338471B (en)
WO (1) WO2017054606A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338471B (en) * 2015-09-29 2019-01-15 宇龙计算机通信科技(深圳)有限公司 A kind of method for early warning and relevant apparatus based on D2D communication
TWI642317B (en) * 2016-12-16 2018-11-21 英研智能移動股份有限公司 Device-to-device communication system and method
CN109275197B (en) * 2018-09-26 2021-03-16 Oppo(重庆)智能科技有限公司 Communication connection establishing method, base station, terminal and storage medium
CN109121121B (en) * 2018-09-29 2021-10-22 Oppo(重庆)智能科技有限公司 Communication establishing method, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013163265A1 (en) * 2012-04-24 2013-10-31 Rubin Kim V2v safety system using vehicle location as vehicle identification
CN103945344A (en) * 2014-04-23 2014-07-23 华为技术有限公司 Information sending method, network device and terminal
CN105338471A (en) * 2015-09-29 2016-02-17 宇龙计算机通信科技(深圳)有限公司 Early warning method based on D2D communication and related devices

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102958066B (en) * 2011-08-31 2017-09-05 华为技术有限公司 D2D terminal communicating methods and equipment
CN103327568B (en) * 2012-03-21 2016-12-14 中国移动通信集团公司 Resource allocation message sending method, method for discovering equipment and relevant device
CN103517371B (en) * 2012-06-18 2017-09-08 中国移动通信集团公司 A kind of communication means of device-to-device, apparatus and system
CN103002594B (en) * 2012-12-05 2018-10-09 中兴通讯股份有限公司 Direct access communication channel method for building up, apparatus and system
CN104066112A (en) * 2013-03-21 2014-09-24 中兴通讯股份有限公司 Inter-terminal device-to-device communication method and system
CN104378825A (en) * 2013-08-12 2015-02-25 中国移动通信集团公司 Method, device and system for presenting cache status report
CN104519550A (en) * 2013-09-26 2015-04-15 中兴通讯股份有限公司 Method, device and system for finding D2D (Device to Device) equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013163265A1 (en) * 2012-04-24 2013-10-31 Rubin Kim V2v safety system using vehicle location as vehicle identification
CN103945344A (en) * 2014-04-23 2014-07-23 华为技术有限公司 Information sending method, network device and terminal
CN105338471A (en) * 2015-09-29 2016-02-17 宇龙计算机通信科技(深圳)有限公司 Early warning method based on D2D communication and related devices

Also Published As

Publication number Publication date
CN105338471B (en) 2019-01-15
CN105338471A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
US11910457B2 (en) Unicast sidelink access stratum level connection maintenance
EP3352486B1 (en) Rsu device, base station device, control node and method therefor
US11395352B2 (en) Discovery and establishment of communication groups for wireless vehicular communications
EP3014947B1 (en) Method for selecting a proxy mobile station
US11178516B2 (en) Intra-group communication method and device, and resource configuration method, device and system
WO2017054606A1 (en) D2d communication-based early warning method and related device
WO2016206458A1 (en) Method and apparatus for processing alarm information in internet of vehicles
WO2013044883A1 (en) Emergency processing method, device and system
CN108540961B (en) V2X-based emergency communication system and method
WO2013149428A1 (en) Method for realizing switching to device-to-device communication mode, network apparatus and user equipment
US11228883B2 (en) Vehicle-to-everything (V2X) communication assisted medical devices
US20150334550A1 (en) Discovery message transmission for device to device communication
EP3503639A1 (en) Mobility management method, network side device, internet-of-vehicles terminal, and system
WO2017084481A1 (en) Device-to-device (d2d) communication configuration resource processing method and apparatus
WO2022156686A1 (en) User equipment and resource monitoring method in sidelink communication
US20170352273A1 (en) Point-to-point personal communications in the context of vehicles
US20240015703A1 (en) User equipment and resource monitoring method in sidelink communication
US20230096571A1 (en) Access Load Control in Peer-to-Peer Networks
WO2022152253A1 (en) User equipment and resource monitoring method in sidelink communication
WO2022032545A1 (en) Communication method and apparatus
WO2023057080A1 (en) Configuring a high-risk zone
CN117751649A (en) User equipment and resource selection method in sidestream communication

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16850230

Country of ref document: EP

Kind code of ref document: A1