Method and device for realizing D2D service switchingTechnical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for implementing Device-to-Device (abbreviated as D2D) service handover.
Background
With the development of wireless multimedia services, the demand for high data rates and user experience has increased, resulting in increased system capacity and increased user experience for conventional cellular networksCoverage puts high demands. The popularity of social networking, close-range data sharing, local advertising, and like applications, on the other hand, has increased the need for people to know and communicate with people or things of interest nearby, such as proximity services. Conventional base station centric cellular networks operate at high data rates and proximity services (Proximit)yServices, referred to as ProSe for short) has significant limitations in terms of support, and against this demand, D2D technology, which represents a new direction for future communication technology development, has emerged. The application of the D2D technology can reduce the burden of the cellular network, reduce the battery power consumption of the user equipment, increase the data rate, and improve the robustness of the network infrastructure, and well meet the requirements of the high data rate service and the proximity service.
The D2D service may operate in a licensed or unlicensed frequency band, allowing multiple user equipments supporting D2D functions, i.e., D2D user equipments (D2D ue) to perform D2D service with or without network infrastructure. D2D traffic generally includes: D2D discovery technology and D2D communication technology; the D2D discovery technology refers to a technology for determining/confirming that two or more D2D user equipments are adjacent to each other (for example, within the D2D communication range) or that a first user equipment is adjacent to a second user equipment. Generally, the D2D ues can discover each other by sending or receiving discovery signals/information, and under the coverage of cellular network, the network can assist the D2D ues in D2D discovery; the D2D communication technology refers to a technology in which some or all of communication data between D2D user devices may be communicated directly without passing through a network infrastructure.
The terminals in the adjacent area can bring many benefits to the terminals by using D2D communication, such as higher speed, lower delay and lower power consumption, and at the same time, the radio resource efficiency of the operator is greatly improved, and the Relay mode of D2D is beneficial to the operator to improve the radio coverage; for application, new attractive services can be developed by using the proximity information in the D2D communication process. Public safety (public safety) systems may also utilize D2D technology to enable communication between terminals without wireless coverage.
The D2D discovery technology may be divided into two different modes, one mode is direct discovery (DirectDiscovery) of D2D, and the other mode is evolved packet network (EPC), that is, geographical location information of each terminal is stored through a core network, and a D2D discovery function is further provided according to the information.
For the transmission of D2D communication and the transmission found by D2D, according to the resource allocation method, it can be further divided into two methods; for the transmission of the D2D communication, the Mode is divided into Mode one (Mode1) and Mode two (Mode 2); the mode one refers to a base station scheduling resource; the mode two refers to that the UE autonomously selects resources; for the transmission found by D2D, it is divided into type one (type1) and type two (type 2); the type one mode refers to that the resource allocation process is not allocated according to the granularity of a certain UE; the type two mode refers to that the resource allocation process is allocated according to the granularity of the UE.
In the third generation partnership project (3 GPP) architecture, a handover (handover) procedure may be used for mobility requirements (mobility) of a terminal in a connected state; however, this procedure mainly considers the conventional unicast communication, and therefore the D2D scenario is not considered in the existing handover procedure, that is, the handover procedure supporting the D2D service does not exist in the prior art.
There is no effective solution to the above-mentioned problems in the related art.
Disclosure of Invention
Aiming at the technical problems that the D2D service switching process and the like do not exist in the related art, the invention provides a method and a device for realizing D2D service switching, so as to at least solve the technical problems.
According to an embodiment of the present invention, a method for implementing a device-to-device D2D service handover is provided, including: the source base station sends a D2D service switching request message to the target base station; the source base station receives first configuration information configured for the terminal by the target base station according to the service switching request message, wherein the first configuration information is configuration information required by the terminal to execute the D2D service; and the source base station sends the first configuration information to the terminal.
Preferably, the handover request message carries the following information: second configuration information configured by the source base station for the terminal to execute the D2D service; the second configuration information provides a basis for the target base station to determine the first configuration information.
Preferably, the first configuration information and/or the second configuration information at least includes: D2D traffic type information.
Preferably, the first configuration information and/or the second configuration information further comprises at least one of: resource allocation pattern, resource information, D2D group information.
Preferably, the resource allocation pattern comprises at least one of: the method comprises a first transmission mode of D2D communication, a second transmission mode of D2D communication, a first transmission type discovered by D2D and a second transmission type discovered by D2D.
Preferably, the resource information includes at least one of: the resource configuration value, the resource pool information, the network temporary identifier, the D2D semi-persistent scheduling interval, the D2D semi-persistent scheduling frame offset, and the D2D semi-persistent scheduling subframe offset.
Preferably, the resource pool information includes at least one of: a sending resource pool discovered by D2D, an accepting resource pool discovered by D2D, a sending resource pool communicated by D2D, and an accepting resource pool communicated by D2D.
Preferably, the network temporary identity comprises at least one of: D2D air network temporary identification, D2D semi-persistent air network temporary identification.
Preferably, the D2D service type information includes at least one of: D2D discovery, D2D communication.
Preferably, the D2D discovery includes: transmission of D2D discovery and acceptance of D2D discovery; the D2D communication includes: transmission of the D2D communication and/or acceptance of the D2D communication.
According to another aspect of the present invention, there is also provided a method for implementing a device-to-device D2D service handover, including: the target base station receives a D2D service switching request message from the source base station; the target base station distributes first configuration information to the terminal according to the D2D service switching request message, wherein the first configuration information is the configuration information required by the terminal to execute the D2D service; and the target base station sends the first configuration information to the source base station.
Preferably, the target base station allocates first configuration information to the terminal according to the D2D service handover request message, where the first configuration information includes one of the following: the target base station directly allocates the first configuration information to the terminal under the trigger of the D2D service switching request message, where the first configuration information is the configuration information required by the terminal to execute the D2D service; the target base station acquires second configuration information from the D2D service switching request message, wherein the second configuration information is information configured by the source base station for the terminal to execute the D2D service; and the target base station determines the first configuration information allocated to the terminal according to the second configuration information.
Preferably, the first configuration information and/or the second configuration information at least includes: D2D traffic type information.
Preferably, the first configuration information and/or the second configuration information further comprises at least one of: resource allocation pattern, resource information, D2D group information.
According to another aspect of the present invention, there is also provided a device-to-device D2D service handover implementation apparatus, applied to a source base station, including: a first sending module, configured to send a D2D service handover request message to a target base station; a receiving module, configured to receive first configuration information configured for the terminal by the target base station according to the service handover request message, where the first configuration information is configuration information required by the terminal to execute the D2D service; and the second sending module is used for sending the first configuration information to the terminal.
Preferably, the first sending module is further configured to send the handover request message carrying the following information: second configuration information configured by the source base station for the terminal to execute the D2D service; the second configuration information provides a basis for the target base station to determine the first configuration information.
According to another aspect of the present invention, there is also provided a device-to-device D2D service handover implementation apparatus, applied to a target base station, including: a receiving module, configured to receive a D2D service switching request message from a source base station; an allocating module, configured to allocate first configuration information to a terminal according to the D2D service switching request message, where the first configuration information is configuration information required by the terminal to execute a D2D service; a sending module, configured to send the first configuration information to the source base station.
Preferably, the allocation module comprises: an allocating unit, configured to directly allocate the first configuration information to the terminal under the trigger of the D2D service switching request message, where the first configuration information is configuration information required by the terminal to execute a D2D service; or, an obtaining unit, configured to obtain second configuration information from the D2D service handover request message, where the second configuration information is information configured by the source base station to execute the D2D service for the terminal; a determining unit, configured to determine the first configuration information allocated to the terminal according to the second configuration information.
According to the invention, by adopting the technical means that the source base station sends the switching request message to the target base station and receives the first configuration information sent by the target base station according to the switching request message, the technical problems that the switching process of the D2D service does not exist in the related technology and the like are solved, the terminal is convenient to realize the switching of the D2D service, and the user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention
The illustrative embodiments and their description are provided to illustrate the invention and should not be construed as limiting the invention. In the drawings:
fig. 1 is a flowchart of a method for implementing handover of a D2D service according to an embodiment of the present invention;
fig. 2 is a block diagram of a device for implementing D2D service handover according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for implementing handover of D2D service according to an embodiment of the present invention;
fig. 4 is another structural block diagram of a device for implementing switching of D2D service according to an embodiment of the present invention;
fig. 5 is another block diagram of a handover implementation apparatus based on the D2D service shown in fig. 5;
fig. 6 is a schematic diagram of a network architecture for D2D service handover according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a D2D handover information configuration method according to embodiment 1 of the present invention;
fig. 8 is a flowchart illustrating a D2D handover information configuration method according to embodiment 2 of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 1 is a flowchart of a method for implementing handover of a D2D service according to an embodiment of the present invention. As shown in fig. 1, the method comprises the following processing steps:
step S102, the source base station sends D2D service switching request information to the target base station;
step S104, the source base station receives first configuration information configured for the terminal by the target base station according to the service switching request message, wherein the first configuration information is configuration information required by the terminal to execute the D2D service;
step S106, the source base station sends the first configuration information to the terminal.
Through the above processing steps, the source base station transmits the configuration information of the target base station to the terminal through the handover procedure, so that the handover of the D2D service is supported in the handover procedure.
In a preferred embodiment of this embodiment, the handover request message carries the following information: second configuration information configured by the source base station for the terminal to execute the D2D service; the second configuration information provides a basis for the target base station to determine the first configuration information. Of course, the target base station may also disregard the second configuration information in some scenarios, which is determined according to the actual situation.
For the case that the handover request message carries the second configuration information, the following implementation procedure (including steps 1-2) may be performed in a specific application, but is not limited thereto:
step 1, the source base station sends the D2D configuration information of the source base station to the target base station through a message. The message may be a handover request message of an X2 interface, or may be a handover request and a handover request message of an S1 interface, in which case the message is forwarded by the MME to the target base station; or a new message;
the D2D configuration information may be carried in the message by a sourcetotargetttransfercontentainer field of the S1 interface, or by an RRCcontext field of the X2 interface; or directly carrying the message by using a new field in the message body;
preferably, the first configuration information and/or the second configuration information at least includes: D2D traffic type information.
Optionally, the first configuration information and/or the second configuration information further includes at least one of: resource allocation pattern, resource information, D2D group information, the D2D group information refers to the proximity layer 2group identification (ProSeLayer-2GroupID) for identifying a group of users.
Wherein:
the resource allocation pattern includes at least one of: the method comprises the steps of a first sending Mode (Mode1) for D2D communication, a second sending Mode (Mode2) for D2D communication, a first sending Type (Type1) discovered by D2D and a second sending Type (Type2) discovered by D2D.
The resource information includes at least one of: the resource configuration value, resource pool information, network temporary identity, D2D semi-persistent scheduling interval (interval), D2D semi-persistent scheduling frame offset, and D2D semi-persistent scheduling subframe offset.
The resource pool information includes at least one of: a sending resource pool discovered by D2D, an accepting resource pool discovered by D2D, a sending resource pool communicated by D2D, and an accepting resource pool communicated by D2D.
The network temporary identifier includes at least one of: D2D air network temporary identity, D2D Semi Persistent (SPS) air network temporary identity (D2D-SPS-RNTI).
The D2D service type information includes at least one of the following: D2D discovery, D2D communication. D2D found to include: transmission of D2D discovery and acceptance of D2D discovery; the D2D communication includes: the transmission of the D2D communication and/or the reception of the D2D communication. In the specific application process, the following application forms can be presented:
for example, the UE only finds the service and needs to be handed over at the source base station by D2D, and the source base station may carry the indication information found by D2D in the handover request message;
for example, the UE has D2D communication service and D2D discovery service in the source base station and needs to switch, and the source base station may simultaneously carry the indication of D2D discovery and the indication of D2D communication in the handover request message;
for example, the UE has a discovery service of D2D communication in the source base station and needs to switch to the target cell, and the source base station may carry a transmission instruction of D2D communication in the handover request message;
the indication of the D2D service type may also be implicitly conveyed, for example, in a case that the D2D service type is not explicitly configured in the message, the target base station may determine the D2D service type through other carried parameters, for example, the source base station carries a mode type, and the target base station may determine, through the mode one, that the UE performs the discovery service of the D2D communication at the source base station; the target base station can also judge the D2D service type by acquiring a resource pool of which the type of the resource distributed by the source base station is D2D communication or a resource pool discovered by D2D;
the source base station selects different parameter combinations according to the D2D service type of the UE, and transmits the parameters to the target base station through messages:
for example, if the D2D service type is the acceptance found by D2D, the source base station sends the acceptance resource pool information used by the UE at the source base station to the target base station;
for example, in the case that the D2D service Type is the transmission found by the D2D, if the Type is the resource allocation mode of Type one (Type1), the source base station transmits the D2D resource allocation mode used by the UE at the source base station, the transmission resource pool information found by the D2D, and the group information to the target base station; if the resource allocation mode is the type two resource allocation mode, if a dynamic scheduling method is adopted, the source base station transmits the D2D resource allocation mode used by the UE at the source base station, the resource pool information which is sent by the D2D and the group information to the target base station; if the semi-persistent scheduling method is adopted under Type two (Type2), the source base station sends the D2D resource allocation mode used by the UE at the source base station, the sending resource pool information found by D2D, the group information, the resource allocation period, the D2D semi-persistent scheduling interval, the D2D semi-persistent scheduling frame/subframe offset and other information to the target base station;
for example, if the D2D service type is the acceptance of D2D communication, the source base station sends the acceptance resource pool information of D2D communication used by the UE at the source base station to the target base station;
for example, when the D2D service type is the transmission of D2D communication, if the resource allocation Mode is Mode two (Mode2), the source base station transmits the D2D resource allocation Mode used by the UE in the source base station, the transmission resource pool information of D2D communication, and the group information to the target base station; if the resource allocation Mode is the Mode one (Mode1), if the scheduling method of dynamic scheduling is adopted, the source base station sends the D2D resource allocation Mode used by the UE at the source base station, the sending resource pool information of D2D communication and the group information to the target base station; if the scheduling method of semi-persistent scheduling is adopted simultaneously in the Mode one (Mode1), the source base station sends the D2D resource allocation Mode used by the UE in the source base station, the sending resource pool information of D2D communication, the group information, the resource allocation period, the D2D semi-persistent scheduling interval, the D2D semi-persistent scheduling frame/subframe offset and other information to the target base station.
Step 2, after receiving the switching request message, the target base station judges that resources need to be pre-allocated to the D2D service through the D2D service type information; for example, if the D2D service type information is D2D discovery/communication, the base station performs an admission control function, and allocates a cell identifier and D2D discovery/communication resources to the UE after the admission control function passes;
if the switching request message also carries information such as resource allocation mode, resource information and the like, the target base station refers to the information when allocating resources.
For example, if the D2D service type is the acceptance found by D2D, the target base station refers to the source base station configuration, allocates a target base station network temporary identifier (D2DRNTI) to the UE, receives the resource pool information found by D2D, and sends the resource configuration validity to the source base station;
for example, in the case that the service Type D2D is the transmission found by D2D, if the service Type is the resource allocation manner of Type one (Type1), the target base station refers to the source base station configuration, allocates a D2D resource allocation pattern, a target base station network temporary identifier (D2DRNTI), transmission resource pool information found by the target base station D2D, and a resource allocation validity period, and transmits the information to the source base station; if the resource allocation mode is the type two resource allocation mode, if a dynamic scheduling method is adopted at the same time, the target base station refers to the source base station configuration, allocates a D2D resource allocation mode, a base station network temporary identifier (D2DRNTI), sending resource pool information discovered by the target base station D2D, and a resource allocation validity period, and sends the resource pool information to the source base station; if the semi-persistent scheduling method is adopted under Type two (Type2), the target base station refers to the source base station configuration, allocates a D2D resource allocation mode for the UE, allocates a base station network temporary identifier (D2D-SPS-RNTI), transmits resource pool information discovered by D2D and used by the target base station, and transmits the information such as a resource configuration period, a D2D semi-persistent scheduling interval, a D2D semi-persistent scheduling frame/subframe offset and the like to the source base station;
for example, if the D2D service type is D2D communication acceptance, the target base station refers to the acceptance resource pool information of D2D communication used by the UE at the source base station, allocates a target base station network temporary identifier (D2DRNTI) to the UE, allocates the acceptance resource pool information of D2D communication, and sends the resource allocation validity to the source base station;
for example, in the case that the service type of D2D is the transmission of D2D communication, if the resource allocation Mode is the Mode two (Mode2), the target base station refers to the source base station configuration, allocates a D2D resource allocation Mode, a target base station network temporary identifier (D2DRNTI), transmission resource pool information of D2D communication of the target base station, and a resource allocation validity period, and transmits the information to the source base station; if the resource allocation Mode is the Mode one (Mode1), and if the scheduling method of dynamic scheduling is adopted at the same time, the target base station refers to the source base station configuration, allocates a D2D resource allocation Mode, a base station network temporary identifier (D2DRNTI), communication resource pool information of the target base station D2D communication, and a resource allocation validity period, and sends the information to the source base station; if the semi-persistent scheduling method is adopted in the Mode one (Mode1), the target base station refers to the source base station configuration, allocates a D2D resource allocation Mode, a base station network temporary identifier (D2D-SPS-RNTI), sending resource pool information of D2D communication used by the target base station, a resource configuration period, a D2D semi-persistent scheduling interval, D2D semi-persistent scheduling frame/subframe offset and other information for the UE, and sends the information to the source base station; under the condition of optimization, the target base station can allocate a resource allocation mode different from that of the original base station for the terminal; because both the type two discovered by the D2D and the mode one of the D2D communication adopt a way of acquiring resources by network dynamic scheduling, this way is more complicated in the switching process than the type one discovered by the D2D and the mode two of the D2D communication; on the other hand, since the resources of the source base station and the target base station are used differently, for example, the terminal of the source base station uses less type two, and the target base station uses more terminals of type two, which results in resource shortage of resource pool of type two, the target base station may allocate a resource allocation pattern different from that of the original base station for the terminal in consideration of the above two aspects, for example, the resource allocation pattern used by the terminal of the source base station when D2D is found is type two, and the target base station may allocate a resource allocation pattern of type one for the terminal; for example, the resource allocation mode used by the source base station terminal in D2D communication is mode one, and the target base station may allocate the resource allocation mode of mode two to the terminal;
under the optimized condition, the target base station can allocate the same or similar resources to the original base station for the terminal, and because the resource pools of the source base station and the target base station have scenes which are not completely the same, the target base station is likely to allocate the contents of different resource pools from the original base station when allocating the resources, so that the complexity of terminal processing is improved, and in consideration of reducing the complexity of switching, the target base station can allocate the resources of the same resource pool or the similar resource pool for the terminal when allocating the resources;
the message may be a handover request message of an X2 interface, or may be a handover request message and a handover command message of an S1 interface, and in this case, the message is forwarded to the target base station by the MME; or a new message;
the D2D configuration information may be carried in the message by a TargettoSourceTransparentContainer in the S1 message, or carried by a TargettoSourceTransparentContainer field of the X2 interface; or carrying the message body by using a new field;
step S106 may transmit the configuration information to the terminal through a radio resource control RRC message.
In this embodiment, a device for implementing D2D service handover is further provided, which is applied to a source base station, as shown in fig. 2, and includes the following modules:
a first sending module 20, configured to send a D2D service handover request message to a target base station;
a receiving module 22, connected to the first sending module 20, configured to receive first configuration information configured by the target base station for the terminal according to the service handover request message, where the first configuration information is configuration information required by the terminal to execute the D2D service;
and a second sending module 24, connected to the receiving module 22, for sending the first configuration information to the terminal.
In a preferred implementation manner of this embodiment, the first sending module 20 is further configured to send the handover request message carrying the following information: second configuration information configured by the source base station for the terminal to execute the D2D service; the second configuration information provides a basis for the target base station to determine the first configuration information.
The above embodiments are mainly explained from the source base station side, and in this embodiment, an implementation scheme based on the target base station side is also provided. As shown in fig. 3, the method for implementing D2D service handover provided in this embodiment includes the following processing steps:
step S302, the target base station receives a D2D service switching request message from the source base station;
step S304, the target base station distributes first configuration information to the terminal according to the D2D service switching request message, wherein the first configuration information is the configuration information required by the terminal to execute the D2D service;
step S306, the target base station sends the first configuration information to the source base station.
The implementation manner of step S304 is various, and for example, the implementation manner may be implemented by one of the following manners, but is not limited to this:
(1) the target base station directly allocates the first configuration information to the terminal under the trigger of the D2D service switching request message, wherein the first configuration information is the configuration information required by the terminal to execute the D2D service;
(2) the target base station acquires second configuration information from the D2D service switching request message, wherein the second configuration information is information configured by the source base station for the terminal to execute the D2D service; and the target base station determines the first configuration information allocated to the terminal according to the second configuration information.
In a preferred embodiment, the first configuration information and/or the second configuration information at least includes: D2D traffic type information. Optionally, at least one of the following may also be included: resource allocation pattern, resource information, D2D group information.
In this embodiment, a device for implementing handover of D2D service is further provided, which is applied to a target base station, as shown in fig. 4, and includes:
a receiving module 40, configured to receive a D2D service handover request message from a source base station;
an allocating module 42, connected to the receiving module 40, configured to allocate first configuration information to the terminal according to the D2D service switching request message, where the first configuration information is configuration information required by the terminal to execute the D2D service;
a sending module 44, connected to the allocating module 42, configured to send the first configuration information to the source base station.
In a preferred implementation of this embodiment, as shown in fig. 5, the allocation module 42 includes the following processing units, but is not limited thereto:
an allocating unit 420, configured to directly allocate, under the trigger of the D2D service switching request message, the first configuration information to the terminal, where the first configuration information is configuration information required by the terminal to execute a D2D service; or,
an obtaining unit 422, configured to obtain second configuration information from the D2D service handover request message, where the second configuration information is information configured by the source base station for the terminal to execute the D2D service; a determining unit 424, connected to the obtaining unit 422, is configured to determine the first configuration information allocated to the terminal according to the second configuration information.
For a better understanding of the above embodiments, reference is made to the following detailed description of the preferred embodiments. The following embodiments may be implemented based on the architecture shown in fig. 6, but are not limited thereto.
Example one
In this embodiment, the switching of S1 is taken as an example, and the D2D switching information allocation method is further described in detail. In this example, D2D performs the transmission found by D2D at the source base station, and the resource allocation pattern is type one; as shown in fig. 7, the method comprises the steps of:
step S702, the terminal executes D2D discovery service, and the source base station performs S1 switching according to the terminal measurement situation and the network configuration decision.
The terminal performs the transmission of the D2D discovery service, the resource allocation mode is Type one (Type1), and the source base station obtains the resource pool information, the resource allocation mode information and the group information used by the D2D service transmission through RRC connection.
Step S704, the source base station sends a switching request message to MME;
the source base station acquires D2D service type information, a resource allocation mode, resource information and other information source base stations and sends the D2D service type, the D2D resource allocation mode, group information and sending resource pool information found by the UE at the D2D used by the source base station to a target base station;
the source base station fills the information in a handover request (HANDOVERREQUIRED) message and sends the message to the MME;
step S706, after receiving the handover request message, the Mobility Management Entity (MME) sends a handover request message (HANDOVERREQUEST) to the target base station through the S1 interface, wherein the handover request message includes the D2D resource configuration information of the UE
Step S708, after receiving the handover request message, the target base station performs local processing such as admission control and resource allocation according to the D2D resource configuration information of the UE
If the admission fails, the target base station returns a switching failure message;
after successful admission, the target base station refers to the source base station configuration, allocates a D2D resource allocation mode, a target base station network temporary identifier (D2DRNTI), sending resource pool information discovered by the target base station D2D, and a resource allocation validity period, and sends the resource pool information to the source base station;
step S710, the target base station sends a handover request confirm message (HANDOVERREQUESTACKNOWLEDGE) to the MME, wherein the message contains D2D resource configuration information allocated by the target base station;
step S712, the MME sends a handover command (handover command) to the source base station;
step S714, after the source base station receives the handover command message (HANDOVERCOMMAND), the source base station sends the handover command to the terminal through the air interface; the message contains D2D resource configuration information allocated by the target base station;
example two
In this embodiment, the X2 switching is taken as an example, and the D2D switching information allocation method is further described in detail. In this example, the D2D performs transmission of D2D communication at the source base station, and the resource allocation mode is mode one; as shown in fig. 8, the method comprises the following steps:
step S802, the terminal executes D2D communication service, the source base station determines to carry out X2 switching step S804 according to the terminal measurement condition and network configuration, and the source base station sends a switching request message to the target base station;
the source base station acquires D2D service type information, resource allocation mode, resource information and other information;
if the dynamic scheduling method is adopted, the source base station sends the D2D resource allocation mode used by the UE at the source base station and the sending resource pool information of the D2D communication to the target base station; if the semi-persistent scheduling method is adopted at the same time, the source base station sends the D2D resource allocation mode used by the UE at the source base station, the sending resource pool information of D2D communication, the resource allocation effective period, the D2D semi-persistent scheduling interval, the D2D semi-persistent scheduling frame/subframe offset and other information to the target base station;
step S806, after receiving the switching request message, the target base station performs local processing such as admission control and resource allocation according to the D2D resource configuration information of the UE
If the admission fails, the target base station returns a switching failure message;
if the admission is successful, if the method is a dynamic scheduling method, the target base station refers to the source base station configuration, allocates a D2D resource allocation mode, a base station network temporary identifier (D2DRNTI), communication resource pool information of the target base station D2D communication, a resource allocation validity period and sends the resource allocation validity period to the source base station; if the semi-persistent scheduling method is adopted, the target base station refers to the configuration of the source base station, and the D2D resource configuration information allocated to the UE comprises a D2D resource allocation mode, a base station network temporary identifier (D2D-SPS-RNTI), sending resource pool information of D2D communication used by the target base station, a resource configuration period of validity, a D2D semi-persistent scheduling interval, D2D semi-persistent scheduling frame/subframe offset and other information;
step S808, the target base station sends a handover request acknowledge message (HANDOVERREQUESTACKNOWLEDGE) to the source base station, wherein the message comprises D2D resource configuration information;
step S810, after the source base station receives the switching request confirmation message, the source base station sends the switching command to the terminal through the air interface, and the message includes D2D resource configuration information
EXAMPLE III
In this embodiment, the X2 switching is taken as an example, and the D2D switching information allocation method is further described in detail. In this example, the change of the resource allocation mode during the handover process is described, in this example, the D2D executes the transmission service of D2D communication at the source base station, the resource allocation mode is mode one, and the resource allocation mode after the handover is mode two; the implementation flow of this embodiment is similar to the flow shown in fig. 8, and includes the following steps:
step 1, the terminal executes D2D communication service, the source base station determines to carry out X2 switching according to the terminal measurement condition and network configuration, and step 2, the source base station sends a switching request message to the target base station;
the source base station acquires D2D service type information, resource allocation mode, resource information and other information;
if the dynamic scheduling method is adopted, the source base station sends the D2D resource allocation mode used by the UE at the source base station and the sending resource pool information of the D2D communication to the target base station; if the semi-persistent scheduling method is adopted at the same time, the source base station sends the D2D resource allocation mode used by the UE at the source base station, the sending resource pool information of D2D communication, the resource allocation effective period, the D2D semi-persistent scheduling interval, the D2D semi-persistent scheduling frame/subframe offset and other information to the target base station;
step 3, after receiving the switching request message, the target base station performs local processing such as admission control and resource allocation according to D2D resource configuration information of the UE
If the admission fails, the target base station returns a switching failure message;
after the successful admission, the target base station allocates a resource allocation Mode to the UE, namely a Mode two (Mode 2); the target base station allocates a D2D resource allocation mode II for the UE, a network temporary identifier (D2DRNTI) of the target base station, sending resource pool information communicated by the target base station D2D, and a resource allocation period, and sends the information to the source base station;
step 4, the target base station sends a handover request confirmation message (handover request no wledge) to the source base station, wherein the message comprises D2D resource configuration information;
step 5, after the source base station receives the switching request confirmation message, the source base station sends the switching command to the terminal through the air interface, and the message includes D2D resource configuration information
Example four
In this embodiment, the X2 switching is taken as an example, and the D2D switching information allocation method is further described in detail. In this example, the D2D performs the service of receiving D2D communication at the source base station; the implementation flow of this embodiment is similar to the flow shown in fig. 8, and includes the following steps:
step 1, the terminal executes D2D communication receiving service, the source base station determines to carry out X2 switching according to the terminal measurement condition and network configuration, and step 2, the source base station sends a switching request message to the target base station;
the source base station acquires the D2D service type information as the acceptance of D2D communication; the source base station sends the receiving resource pool information of the D2D communication used by the UE in the source base station to the target base station;
step 3, after receiving the switching request message, the target base station performs local processing such as admission control and resource allocation according to D2D resource configuration information of the UE
If the admission fails, the target base station returns a switching failure message;
after successful admission, the target base station refers to the source base station configuration, allocates a target base station network temporary identifier (D2DRNTI) for the UE, receives resource pool information and resource configuration validity period of D2D communication, and sends the resource pool information and the resource configuration validity period to the source base station;
step 4, the target base station sends a handover request confirmation message (handover request no wledge) to the source base station, wherein the message comprises D2D resource configuration information;
step 5, after the source base station receives the switching request confirmation message, the source base station sends the switching command to the terminal through the air interface, and the message includes D2D resource configuration information
In summary, based on the technical solution provided by the embodiment of the present invention, the terminal can implement D2D handover service, thereby improving user experience.
In another embodiment, a software is provided, which is used to execute the technical solutions described in the above embodiments and preferred embodiments.
In another embodiment, a storage medium is provided, in which the software is stored, and the storage medium includes but is not limited to: optical disks, floppy disks, hard disks, erasable memory, etc.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.