Disclosure of Invention
The embodiment of the invention provides a communication method, a communication device and a communication network system, which are used for realizing direct communication among user equipment and improving data transmission efficiency.
In a first aspect of the present invention, a method for communication is provided, including:
a first network entity receives a first message sent by first User Equipment (UE), or the first network entity receives a second message sent by a first proximity service server;
the first network entity initiates a first proximity service process to a first UE so that the first UE obtains a first resource allocated by a first base station to the first UE and a second resource allocated by a second base station to the second UE;
and the first network entity triggers a second network entity to initiate second proximity service processing on the second UE, so that the second UE acquires the first resource and the second resource.
In a first possible implementation manner of the first aspect, the initiating, by the first network entity, a first proximity service process for a first UE includes:
the first network entity sending a third message containing a proximity traffic indication to the first base station to cause the first base station to send a fourth message containing the first resource to the first UE;
the first network entity receives the second resource sent by the second network entity;
the first network entity sends a sixth message including the second resource to the first UE.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the fifth message and the sixth message further include an IP address of the second UE.
With reference to the first possible implementation manner of the first aspect or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the receiving, by the first network entity, the second resource sent by the second network entity includes:
the first network entity receives a fifth message which is sent by the second network and contains the second resource; or,
the first network entity receives a seventh message which is sent by the first proximity service server and contains the second resource, the seventh message is sent by the first proximity service server after receiving an eighth message which is sent by the second proximity service server and contains the second resource, and the eighth message is sent by the second proximity service server after receiving a ninth message which is sent by the second network entity and contains the second resource.
With reference to any one of the first aspect to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the triggering, by the first network entity, the second network entity to initiate a second proximity service process for the second UE includes:
the first network entity receives a tenth message which is sent by the first base station and contains the first resource;
the first network entity sends an eleventh message to the second network entity, where the eleventh message includes a proximity service indication, the first resource, and identification information of the first UE, so that the second network entity requests the second base station to send a twelfth message to the second UE, where the twelfth message includes the first resource, the identification information of the first UE, and the second resource.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the eleventh message and the twelfth message further include an IP address of the first UE.
With reference to the fourth possible implementation manner of the first aspect or the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the sending, by the first network entity, a proximity service indication, the first resource, and the identification information of the first UE to the second network entity includes:
the first network entity sending an eleventh message to the second network entity, the eleventh message comprising a proximity service indication, the first resource, and identification information of the first UE; or,
the first network entity sends a thirteenth message to the first proximity service server, so that the first proximity service server sends a fourteenth message to a second proximity service server, and the second proximity service server sends a fifteenth message to the second network entity, where the thirteenth message, the fourteenth message, and the fifteenth message include the proximity service indication, the first resource, and identification information of the first UE.
In a seventh possible implementation manner of the first aspect, the initiating, by the first network entity, a first proximity service process for a first UE includes:
the first network entity sends a sixteenth message to the first base station so that the first base station allocates the first resource for the first UE;
the first network entity receives a seventeenth message which is sent by the first base station and contains the first resource;
the first network entity receives an eighteenth message which is sent by the second network entity and contains the second resource;
the first network entity sends a nineteenth message to the first base station, the nineteenth message including the first resource and the second resource, so that the first base station sends a twentieth message to the first UE, the twentieth message including the first resource and the second resource.
According to a seventh possible implementation manner of the first aspect, in an eighth possible implementation manner of the first aspect, the eighteenth message, the nineteenth message, and the twentieth message further include an IP address of the second UE.
With reference to the seventh possible implementation manner of the first aspect or the eighth possible implementation manner of the first aspect, in a ninth possible implementation manner of the first aspect, the receiving, by the first network entity, the second resource sent by the second network entity includes:
the first network entity receives an eighteenth message which is sent by the second network entity and contains the second resource; or,
the first network entity receives a twenty-first message which is sent by the first proximity service server and contains the second resource, wherein the twenty-first message is sent by the first proximity service server after receiving a twenty-second message which is sent by the second proximity service server and contains the second resource, and the twenty-second message is sent by the second proximity service server after receiving a twenty-third message which is sent by the second network entity and contains the second resource.
With reference to any one of the seventh to ninth possible implementation manners of the first aspect, in a tenth possible implementation manner of the first aspect, the triggering, by the first network entity, the second network entity to initiate a second proximity service process for the second UE includes:
the first network entity sends the first resource to the second network entity, so that the second network entity requests the second base station to send a twenty-fifth message to the second UE, where the twenty-fifth message includes the first resource and the second resource.
According to a tenth possible implementation manner of the first aspect, in an eleventh possible implementation manner of the first aspect, the twenty-fifth message further includes an IP address of the first UE.
With reference to the tenth or eleventh possible implementation manner of the first aspect, in a twelfth possible implementation manner of the first aspect, the sending, by the first network entity, the first resource to the second network entity includes:
the first network entity sending a twenty-fourth message to the second network entity containing the first resource; or,
the first network entity sends a twenty-sixth message to the first proximity service server, so that the first proximity service server sends a twenty-seventh message to a second proximity service server, and the second proximity service server sends a twenty-eighth message to the second network entity, wherein the twenty-sixth message, the twenty-seventh message, and the twenty-eighth message include the proximity service indication, the first resource, and the identification information of the first UE.
With reference to any one of the first aspect to the twelfth possible implementation manner of the first aspect, in a thirteenth possible implementation manner of the first aspect, the first message or the second message may include at least one of the following:
identification information of the second UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
With reference to any one of the first aspect to the twelfth possible implementation manner of the first aspect, in a fourteenth possible implementation manner of the first aspect, before the receiving, by the first network entity, the first message sent by the first user equipment UE, or before the receiving, by the first network entity, the second message sent by the first proximity service server, the method further includes:
the first network entity receives a twenty-ninth message which is sent by the first UE and contains an Access Point Name (APN) of proximity service or a proximity service indication, so that the first UE acquires the IP address of the first UE.
In a second aspect of the present invention, a method for communication is provided, including:
a second network entity receives a proximity service indication sent by a first network entity, a first resource distributed by a first base station for first User Equipment (UE) and identification information of the first UE;
the second network entity sends a thirty-first message to a second base station, where the thirty-first message includes a proximity service indication, the first resource, and the identification information of the first UE, so that the second base station sends a twelfth message to the second UE, where the twelfth message includes the first resource, the identification information of the first UE, and a second resource allocated by the second base station to the second UE;
the second network entity sends the second resource to the first network entity, so that the first network entity sends a sixth message containing the second resource to the first UE.
In a first possible implementation manner of the second aspect, the sixth message further includes an IP address of the second UE; the thirty-third and twelfth messages also include an IP address of the first UE.
According to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the sending, by the second network entity, the second resource to the first network entity includes:
the second network entity sending a fifth message comprising the second resource to the first network entity; or,
the second network entity sends a ninth message to the second proximity service server, so that the second proximity service server sends an eighth message to the first proximity service server, and the first proximity service server sends a seventh message to the first network entity, where the ninth message, the eighth message, and the seventh message include the proximity service indication, the second resource, and identification information of the second UE;
the method for receiving, by a second network entity, a proximity service indication sent by a first network entity, a first resource allocated by a first base station to a first User Equipment (UE), and identification information of the first UE includes:
the second network entity receives an eleventh message sent by the first network entity, wherein the eleventh message comprises a proximity service indication, the first resource and identification information of the first UE; or,
the second network entity receives a fifteenth message containing the first resource sent by the second proximity service server, where the fifteenth message is sent by the second proximity service server after receiving a fourteenth message containing the first resource sent by the first proximity service server, and the fourteenth message is sent by the first proximity service server after receiving a thirteenth message containing the first resource sent by the first network entity.
With reference to any one of the second aspect to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, before the receiving, by the second network entity, the ninth message sent by the first network entity, the method further includes:
and the second network entity receives a thirty-one message which is sent by the second UE and contains an Access Point Name (APN) of the proximity service or a proximity service indication so that the second UE acquires the IP address of the second UE.
In a third aspect of the present invention, a method for communication is provided, including:
the second network entity sends a thirty-fifth message to the second base station so that the second base station allocates a second resource for the second User Equipment (UE);
the second network entity receives a thirty-sixth message which is sent by the second base station and contains the second resource;
the second network entity receives a first resource which is sent by the first network entity and allocated to the first UE by the first base station;
the second network entity sends a second resource allocated by a second base station for a second UE to a first network entity, so that the first network entity requests the first base station to send a nineteenth message to the first UE, wherein the nineteenth message comprises the first resource and the second resource;
the second network entity sends a thirty-second message to the second base station, where the thirty-second message includes the first resource and the second resource, so that the second base station sends a twenty-fifth message to the second UE, where the twenty-fifth message includes the first resource and the second resource.
In a first possible implementation manner of the third aspect, the nineteenth message further includes an IP address of the second UE; the thirty-second message and the twenty-fifth message further include an IP address of the first UE.
With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, before the receiving, by the second network entity, a twenty-fourth message that includes the first resource allocated by the first base station to the first user equipment UE and is sent by the first network entity, the method further includes:
and the second network entity receives a thirty-third message sent by the second UE, or the second network entity receives a thirty-fourth message sent by a second proximity service server.
With reference to any one of the third aspect to the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the sending, by the second network entity to the first network entity, the second resource allocated by the second base station for the second UE includes:
the second network entity sending an eighteenth message comprising the second resource to the first network entity; or,
the second network entity sends a twenty-third message to the second proximity service server, so that the second proximity service server sends a twenty-second message to the first proximity service server, and the first proximity service server sends a twenty-first message to the first network entity, wherein the twenty-third message, the twenty-second message, and the twenty-first message contain the proximity service indication, the second resource, and the identification information of the second UE;
the second network entity receives a first resource distributed by a first base station to a first UE and sent by a first network entity, and the method comprises the following steps:
the second network entity receives a twenty-fourth message containing the first resource sent by the first network entity; or,
the second network entity receives a twenty-eighth message which is sent by the second proximity service server and contains the first resource, wherein the twenty-eighth message is sent by the second proximity service server after receiving a twenty-seventh message which is sent by the first proximity service server and contains the first resource, and the twenty-seventh message is sent by the first proximity service server after receiving a twenty-sixth message which is sent by the first network entity and contains the first resource.
With reference to the second possible implementation manner of the third aspect or the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the thirty-third message or the thirty-fourth message may include at least one of the following:
identification information of the first UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
With reference to the second possible implementation manner of the third aspect or the fourth possible implementation manner of the third aspect, in a fifth possible implementation manner of the third aspect, before the receiving, by the second network entity, the thirty-third message sent by the second UE, or before the receiving, by the second network entity, the thirty-fourth message sent by the second proximity service server, the method further includes:
and the second network entity receives a thirty-one message which is sent by the second UE and contains an Access Point Name (APN) of the proximity service or a proximity service indication so that the second UE acquires the IP address of the second UE.
In a fourth aspect of the present invention, a method for communication is provided, including:
a first User Equipment (UE) sends a first message to a first network entity; or, the first UE sends a thirty-seventh message to a first proximity server, so that the first proximity service server sends a second message to the first network entity; or, the first UE sends a thirty-eighth message to an application server, so that the location server requests the first proximity service server to send the second message to the first network entity;
the first UE acquires a first resource distributed to the first UE by a first base station and a second resource distributed to the second UE by a second base station.
In a first possible implementation manner of the fourth aspect, the acquiring, by the first UE, a first resource allocated to the first UE by a first base station and a second resource allocated to the second UE by a second base station includes:
the first UE receives a fourth message which is sent by the first base station and contains the first resource;
and the first UE receives a sixth message which is sent by the first network entity and contains the second resource.
According to the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the sixth message further includes an IP address of the second UE.
In a third possible implementation manner of the fourth aspect, the acquiring, by the first UE, the first resource allocated by the first base station to the first UE and the second resource allocated by the second base station to the second UE includes:
and the first UE receives a twentieth message sent by the first base station, wherein the twentieth message contains the first resource and the second resource.
According to a third possible implementation manner of the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the twentieth message further includes an IP address of the second UE.
With reference to any one of the fourth possible implementation manners of the fourth aspect to the fourth aspect, in a fifth possible implementation manner of the fourth aspect, the first message, the second message, the thirty-seventh message, or the thirty-eighth message may include at least one of the following:
identification information of the second UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
With reference to any one of the fifth possible implementation manner of the fourth aspect to the fourth aspect, in a sixth possible implementation manner of the sixth aspect, before the sending, by the first user equipment UE, the first message to the first network entity, the method further includes:
the first UE sends a twenty-ninth message containing an Access Point Name (APN) of proximity service or a proximity service indication to the first network entity;
the first UE acquires an IP address of the first UE.
In a fifth aspect of the present invention, a method for communication is provided, including:
the second user equipment UE sends a thirty-one message containing an access point name APN of the proximity service or a proximity service indication to the second network entity;
the second UE acquires the IP address of the second UE;
and the second UE acquires a first resource distributed to the first UE by the first base station and a second resource distributed to the second UE by the second base station.
In a first possible implementation manner of the fifth aspect, the obtaining, by the second UE, the first resource allocated by the first base station to the first UE and the second resource allocated by the second base station to the second UE includes:
and the second UE receives a twelfth message sent by the second base station, wherein the twelfth message comprises the first resource, the identification information of the first UE and the second resource.
According to the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the twelfth message further includes an IP address of the first UE.
In a third possible implementation manner of the fifth aspect, the obtaining, by the second UE, the first resource allocated by the first base station to the first UE and the second resource allocated by the second base station to the second UE includes:
and the second UE receives a twenty-fifth message sent by the second base station, wherein the nineteenth twenty-fifth message comprises the first resource and the second resource.
According to a third possible implementation manner of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, the twenty-fifth message further includes an IP address of the first UE.
With reference to any one of the third possible implementation manner of the fifth aspect or the fourth possible implementation manner of the fifth aspect, in a sixth possible implementation manner of the fifth aspect, before the obtaining, by the second UE, the first resource allocated by the first base station to the first UE and the second resource allocated by the second base station to the second UE, the method further includes:
the second UE sends a thirteenth message to the second network entity.
According to a fourth possible implementation manner of the fifth aspect, in a fifth possible implementation manner of the fifth aspect, the thirty-third message may include at least one of the following:
identification information of the first UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
In a sixth aspect of the present invention, a method of communication is provided, including:
the first base station receives a third message which is sent by the first network entity and contains the proximity service indication;
the first base station sends a fourth message containing first resources distributed to the first UE by the first base station to the first UE;
the first base station sends a tenth message including the first resource to the first network entity.
In a seventh aspect of the present invention, a method of communication includes:
the first base station receives a sixteenth message sent by the first network entity;
the first base station allocates a first resource for first User Equipment (UE);
the first base station sends a seventeenth message containing the first resource to the first network entity;
the first base station receives a nineteenth message sent by the first network entity, wherein the nineteenth message comprises the first resource and the second resource;
the first base station sends a twentieth message to the first UE, the twentieth message including the first resource and the second resource.
In a first possible implementation manner of the seventh aspect, the nineteenth message and the twentieth message further include an IP address of the second UE.
In an eighth aspect of the present invention, a method for communication is provided, including:
the second base station receives a thirtieth message sent by the second network entity, wherein the thirtieth message contains a proximity service indication, a first resource allocated by the first base station to the first User Equipment (UE) and identification information of the first UE;
and the second base station sends a twelfth message to the second UE, wherein the twelfth message comprises the first resource, the identification information of the first UE and the second resource allocated to the second UE by the second base station.
In a first possible implementation manner of the eighth aspect, the thirtieth message and the twelfth message further include an IP address of the first UE.
In a ninth aspect of the present invention, a method for communication is provided, including:
the second base station receives a thirty-fifth message sent by the second network entity;
the second base station allocates a second resource for second User Equipment (UE);
the second base station sends a thirty-sixth message containing the second resource to the second network entity;
the second base station receives a thirty-second message sent by the second network entity, wherein the thirty-second message comprises the first resource and the second resource;
the second base station sends a twenty-fifth message to the second UE, where the twenty-fifth message includes the first resource and the second resource.
In a first possible implementation manner of the ninth aspect, the twenty-fifth message and the thirty-second message further include an IP address of the first UE.
In a tenth aspect of the present invention, a network entity is provided, which includes:
a receiving module, configured to receive a first message sent by a first user equipment UE, or receive a second message sent by a first proximity service server by a first network entity;
a processing module, configured to initiate a first proximity service process for a first UE, so that the first UE obtains a first resource allocated by a first base station to the first UE and a second resource allocated by a second base station to the second UE; and triggering a second network entity to initiate second proximity service processing on the second UE so that the second UE acquires the first resource and the second resource.
In a first possible implementation manner of the tenth aspect, the processing module is further configured to:
sending a third message containing a proximity traffic indication to the first base station to cause the first base station to send a fourth message containing the first resource to the first UE;
receiving the second resource sent by the second network entity;
transmitting a sixth message including the second resource to the first UE.
According to the first possible implementation manner of the tenth aspect, in a second possible implementation manner of the tenth aspect, the sixth message further includes an IP address of the second UE.
With reference to the first possible implementation manner of the tenth aspect or the second possible implementation manner of the tenth aspect, in a third possible implementation manner of the tenth aspect, the processing module is further configured to:
receiving a fifth message containing the second resource sent by the second network; or,
receiving a seventh message which is sent by the first proximity service server and contains the second resource, wherein the seventh message is sent by the first proximity service server after receiving an eighth message which is sent by the second proximity service server and contains the second resource, and the eighth message is sent by the second proximity service server after receiving a ninth message which is sent by the second network entity and contains the second resource.
With reference to any one of the third possible implementation manners of the tenth aspect to the tenth aspect, in a fourth possible implementation manner of the tenth aspect, the processing module is further configured to:
receiving a tenth message containing the first resource sent by the first base station;
sending a proximity service indication, the first resource and identification information of the first UE to the second network entity, so that the second network entity requests the second base station to send a twelfth message to the second UE, wherein the twelfth message includes the first resource, the identification information of the first UE and the second resource.
According to a fourth possible implementation manner of the tenth aspect, in a fifth possible implementation manner of the tenth aspect, the twelfth message further includes an IP address of the first UE.
With reference to the fourth possible implementation manner of the tenth aspect or the fifth possible implementation manner of the tenth aspect, in a sixth possible implementation manner of the tenth aspect, the processing module is further configured to:
sending an eleventh message to the second network entity, the eleventh message including a proximity traffic indication, the first resource, and identification information of the first UE; or,
sending a thirteenth message to the first proximity service server, so that the first proximity service server sends a fourteenth message to a second proximity service server, and so that the second proximity service server sends a fifteenth message to the second network entity, where the thirteenth message, the fourteenth message, and the fifteenth message include the proximity service indication, the first resource, and identification information of the first UE.
In a seventh possible implementation manner of the tenth aspect, the processing module is further configured to:
sending a sixteenth message to the first base station to enable the first base station to allocate the first resource for the first UE;
receiving a seventeenth message which is sent by the first base station and contains the first resource;
receiving the second resource sent by the second network entity;
transmitting a nineteenth message to the first base station, the nineteenth message including the first resource and the second resource, such that the first base station transmits a twentieth message to the first UE, the twentieth message including the first resource and the second resource.
According to a seventh possible implementation manner of the tenth aspect, in an eighth possible implementation manner of the tenth aspect, the nineteenth message and the twentieth message further include an IP address of the second UE.
With reference to the seventh possible implementation manner of the tenth aspect or the eighth possible implementation manner of the tenth aspect, in a ninth possible implementation manner of the tenth aspect, the processing module is further configured to:
receiving an eighteenth message containing the second resource sent by the second network entity; or,
receiving a twenty-first message which is sent by the first proximity service server and contains the second resource, wherein the twenty-first message is sent by the first proximity service server after receiving a twenty-second message which is sent by the second proximity service server and contains the second resource, and the twenty-second message is sent by the second proximity service server after receiving a twenty-third message which is sent by the second network entity and contains the second resource.
With reference to any one of the seventh possible implementation manner of the tenth aspect or the ninth possible implementation manner of the tenth aspect, in a tenth possible implementation manner of the tenth aspect, the processing module is further configured to:
sending the first resource to the second network entity, so that the second network entity requests the second base station to send a twenty-fifth message to the second UE, where the twenty-fifth message includes the first resource and the second resource.
According to a tenth possible implementation manner of the tenth aspect, in an eleventh possible implementation manner of the tenth aspect, the twenty-fifth message further includes an IP address of the first UE.
With reference to the tenth or eleventh possible implementation manner of the tenth aspect, in a twelfth possible implementation manner of the tenth aspect, the processing module is further configured to:
sending a twenty-fourth message containing the first resource to the second network entity; or,
sending a twenty-sixth message to the first proximity service server, so that the first proximity service server sends a twenty-seventh message to a second proximity service server, and so that the second proximity service server sends a twenty-eighth message to the second network entity, where the twenty-sixth message, the twenty-seventh message, and the twenty-eighth message include the proximity service indication, the first resource, and identification information of the first UE.
With reference to any one of the twelfth possible implementation manners of the tenth aspect to the tenth aspect, in a thirteenth possible implementation manner of the tenth aspect, the first message or the second message may include at least one of the following:
identification information of the second UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
With reference to any one of the tenth aspect to the twelfth possible implementation manner of the tenth aspect, in a fourteenth possible implementation manner of the tenth aspect, the receiving module is further configured to receive a twenty-ninth message that includes an access point name APN of a proximity service or a proximity service indication and is sent by the first UE before receiving the first message sent by the first user equipment UE or before the first network entity receives the second message sent by the first proximity service server, so that the first UE acquires an IP address of the first UE.
In an eleventh aspect of the present invention, a network entity is provided, which includes:
a receiving module, configured to receive a proximity service indication sent by a first network entity, a first resource allocated by a first base station to a first User Equipment (UE), and identification information of the first UE;
a sending module, configured to send a thirty-first message to a second base station, where the thirty-first message includes a proximity service indication, the first resource, and the identification information of the first UE, so that the second base station sends a twelfth message to a second UE, where the twelfth message includes the first resource, the identification information of the first UE, and a second resource allocated to the second UE by the second base station; transmitting the second resource to the first network entity to cause the first network entity to transmit a sixth message including the second resource to the first UE.
In a first possible implementation manner of the eleventh aspect, the sixth message further includes an IP address of the second UE; the thirty-third and twelfth messages also include an IP address of the first UE.
With reference to the eleventh aspect or the first possible implementation manner of the eleventh aspect, in a second possible implementation manner of the eleventh aspect, the sending module is further configured to:
the second network entity sending a fifth message comprising the second resource to the first network entity; or,
the second network entity sends a ninth message to the second proximity service server, so that the second proximity service server sends an eighth message to the first proximity service server, and the first proximity service server sends a seventh message to the first network entity, where the ninth message, the eighth message, and the seventh message include the proximity service indication, the second resource, and identification information of the second UE;
the sending module is further configured to:
a second network entity receives a proximity service indication sent by a first network entity, a first resource distributed by a first base station for first User Equipment (UE) and identification information of the first UE; or,
the second network entity receives a fifteenth message containing the first resource sent by the second proximity service server, where the fifteenth message is sent by the second proximity service server after receiving a fourteenth message containing the first resource sent by the first proximity service server, and the fourteenth message is sent by the first proximity service server after receiving a thirteenth message containing the first resource sent by the first network entity.
With reference to any one of the eleventh aspect to the second possible implementation manner of the eleventh aspect, in a third possible implementation manner of the eleventh aspect, the receiving module is further configured to receive, before the second network entity receives the ninth message sent by the first network entity, a thirty-first message sent by the second UE and including an access point name APN or a proximity service indication, so that the second UE acquires an IP address of the second UE.
In a twelfth aspect of the present invention, a network entity is provided, which includes:
a sending module, configured to send a thirty-fifth message to a second base station, so that the second base station allocates a second resource to a second user equipment UE; sending, to a first network entity, a second resource allocated by a second base station for a second UE, so that the first network entity requests the first base station to send a nineteenth message to the first UE, where the nineteenth message includes the first resource and the second resource; sending a thirty-second message to the second base station, the thirty-second message including the first resource and the second resource, so that the second base station sends a twenty-fifth message to the second UE, the twenty-fifth message including the first resource and the second resource
A receiving module, configured to receive a thirty-sixth message that includes the second resource and is sent by the second base station; and receiving a first resource which is sent by a first network entity and allocated to the first UE by a first base station.
In a first possible implementation manner of the twelfth aspect, the eighteenth message and the nineteenth message further include an IP address of the second UE; the thirty-second message and the twenty-fifth message further include an IP address of the first UE.
With reference to the twelfth aspect or the first possible implementation manner of the twelfth aspect, in a second possible implementation manner of the twelfth aspect, the receiving module is further configured to receive a thirty-third message sent by the second UE before the second network entity receives a twenty-fourth message sent by the first network entity and containing the first resource allocated by the first base station to the first user equipment UE, or the second network entity receives a thirty-fourth message sent by the second proximity service server.
With reference to any one of the second possible implementation manners of the twelfth aspect to the twelfth aspect, in a third possible implementation manner of the twelfth aspect, the sending module is further configured to:
sending an eighteenth message including the second resource to the first network entity; or,
sending a twenty-third message to the second proximity service server, so that the second proximity service server sends a twenty-second message to the first proximity service server, and so that the first proximity service server sends a twenty-first message to the first network entity, where the twenty-third message, the twenty-second message, and the twenty-first message include the proximity service indication, the second resource, and identification information of the second UE;
the receiving module is further configured to:
receiving a twenty-fourth message containing the first resource sent by the first network entity; or,
receiving a twenty-eighth message which is sent by the second proximity service server and contains the first resource, wherein the twenty-eighth message is sent by the second proximity service server after receiving a twenty-seventh message which is sent by the first proximity service server and contains the first resource, and the twenty-seventh message is sent by the first proximity service server after receiving a twenty-sixth message which is sent by the first network entity and contains the first resource.
With reference to any one of the twelfth possible implementations of the twelfth aspect to the twelfth implementation of the twelfth aspect, in a thirteenth possible implementation of the twelfth aspect, the third thirteenth message or the thirty-fourth message may include at least one of the following:
identification information of the first UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
With reference to any one of the twelfth possible implementation manners of the twelfth aspect to the twelfth aspect, in a fourteenth possible implementation manner of the twelfth aspect, the receiving module is further configured to receive a thirty-third message sent by the second UE, or before the second network entity receives a thirty-fourth message sent by a second proximity service server, a thirty-first message containing an access point name APN of a proximity service or a proximity service indication sent by the second UE, so that the second UE acquires an IP address of the second UE.
In a thirteenth aspect of the present invention, there is provided a user equipment, comprising:
a sending module, configured to send a first message to a first network entity; or, the first UE sends a thirty-seventh message to a first proximity server, so that the first proximity service server sends a second message to the first network entity; or, the first UE sends a thirty-eighth message to an application server, so that the location server requests the first proximity service server to send the second message to the first network entity;
an obtaining module, configured to obtain a first resource allocated by a first base station to the first UE and a second resource allocated by a second base station to the second UE.
In a first possible implementation manner of the thirteenth aspect, the obtaining module is further configured to:
receiving a fourth message which is sent by the first base station and contains the first resource;
receiving a sixth message containing the second resource sent by the first network entity.
In a second possible implementation form of the thirteenth aspect, the sixth message further includes an IP address of the second UE.
According to the thirteenth aspect or the first possible implementation manner of the thirteenth aspect, in a second possible implementation manner of the thirteenth aspect, the obtaining module is further configured to: receiving a twentieth message sent by the first base station, the twentieth message including the first resource and the second resource.
According to the second possible implementation manner of the thirteenth aspect, in a third possible implementation manner of the thirteenth aspect, the twentieth message further includes an IP address of the second UE.
With reference to any one of the second possible implementation manners of the thirteenth aspect to the thirteenth aspect, in a fourth possible implementation manner of the thirteenth aspect, the first message, the second message, the thirty-seventh message, or the thirty-eighth message may include at least one of the following:
identification information of the second UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
With reference to any one of the fourth possible implementation manner of the thirteenth aspect to the thirteenth aspect, in a fifth possible implementation manner of the thirteenth aspect, the sending module is further configured to send, to the first network entity, a twenty-ninth message including an access point name, APN, of a proximity service or a proximity service indication before sending the first message to the first network entity;
the obtaining module is further configured to obtain an IP address of the first UE.
In a fourteenth aspect of the present invention, a user equipment is provided, which includes:
a sending module, configured to send a thirty-first message including an access point name APN of a proximity service or a proximity service indication to a second network entity;
an obtaining module, configured to obtain an IP address of the second UE; and acquiring a first resource distributed by the first base station for the first UE and a second resource distributed by the second base station for the second UE.
In a first possible implementation manner of the fourteenth aspect, the obtaining module is further configured to:
receiving a twelfth message sent by the second base station, where the twelfth message includes the first resource, the identification information of the first UE, and the second resource.
According to the first possible implementation manner of the fourteenth aspect, in a second possible implementation manner of the fourteenth aspect, the twelfth message further includes an IP address of the first UE.
In a third possible implementation manner of the fourteenth aspect, the obtaining module is further configured to:
receiving a twenty-fifth message sent by the second base station, where the nineteenth twenty-fifth message includes the first resource and the second resource.
According to a third possible implementation manner of the fourteenth aspect, in a fourth possible implementation manner of the fourteenth aspect, the twenty-fifth message further includes an IP address of the first UE.
With reference to the third possible implementation manner of the fourteenth aspect or the fourth possible implementation manner of the fourteenth aspect, in a fifth possible implementation manner of the fourteenth aspect, the sending module is further configured to send a thirty-third message to the second network entity before acquiring the first resource allocated by the first base station to the first UE and the second resource allocated by the second base station to the second UE.
According to a fifth possible implementation manner of the fourteenth aspect, in a sixth possible implementation manner of the fourth aspect, the thirty-third message may include at least one of the following:
identification information of the first UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
In a fifteenth aspect of the present invention, a base station is provided, including:
a receiving module, configured to receive a third message that includes a proximity service indication and is sent by a first network entity;
a sending module, configured to send, to a first user equipment UE, a fourth message including a first resource allocated by the first base station to the first UE; sending a tenth message including the first resource to the first network entity.
In a sixteenth aspect of the present invention, there is provided a base station, comprising:
a receiving module, configured to receive a sixteenth message sent by the first network entity; receiving a nineteenth message sent by the first network entity, the nineteenth message including the first resource and the second resource;
the processing module is used for allocating a first resource for first User Equipment (UE);
a sending module, configured to send a seventeenth message including the first resource to the first network entity; transmitting a twentieth message to the first UE, the twentieth message including the first resource and the second resource.
In a first possible implementation manner of the sixteenth aspect, the nineteenth message and the twentieth message further include an IP address of the second UE.
In a seventeenth aspect of the present invention, there is provided a base station, comprising:
a receiving module, configured to receive a thirtieth message sent by a second network entity, where the thirtieth message includes a proximity service indication, a first resource allocated by a first base station to a first User Equipment (UE), and identification information of the first UE;
a sending module, configured to send a twelfth message to a second UE, where the twelfth message includes the first resource, the identification information of the first UE, and a second resource allocated by the second base station to the second UE.
In a first possible implementation manner of the seventeenth aspect, the thirtieth message and the twelfth message further include an IP address of the first UE.
In an eighteenth aspect of the present invention, there is provided a base station, including:
the receiving module is used for receiving a thirty-fifth message sent by the second network entity; receiving a thirty-second message sent by the second network entity, the thirty-second message containing the first resource and the second resource;
the processing module is used for allocating a second resource for second User Equipment (UE);
a sending module, configured to send a thirty-sixth message containing the second resource to the second network entity; sending a twenty-fifth message to the second UE, the twenty-fifth message including the first resource and the second resource.
In a first possible implementation form of the eighteenth aspect, the twenty-fifth message and the thirty-second message further contain an IP address of the first UE.
A nineteenth aspect of the present invention provides a network system comprising a network entity according to any of the above tenth to eighteenth aspects, a network entity according to any of the above eleventh aspects, a base station according to any of the above sixteenth to eighteenth aspects.
In the communication method provided in this embodiment, a first network entity receives a first message sent by a first user equipment UE, or the first network entity receives a second message sent by a first proximity service server, and then initiates a first proximity service process for the first UE, so that the first UE obtains a first resource allocated by a first base station to the first UE and a second resource allocated by a second base station to the second UE, and triggers a second network entity to initiate a second proximity service process for the second UE, so that the second UE obtains the first resource and the second resource, which can implement direct communication between user equipments and improve data transmission efficiency.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical scheme of the invention is used for realizing direct communication between the near-distance user equipment, namely Proximity Services (ProSe for short).
Fig. 1 is a flowchart of a first embodiment of a communication method provided by the present invention, and as shown in fig. 1, the communication method of the present embodiment includes:
s101, a first network entity receives a first message sent by first User Equipment (UE), or the first network entity receives a second message sent by a first proximity service server.
Optionally, the first message or the second message may include at least one of:
identification information of the second UE;
the first UE and the second UE are proximate to an identity of the traffic direct communication path.
For example, the identification information of the second UE may be directly carried in the first message, or the identification information of the second UE may be indicated by the identifications of the first UE and the second UE in the proximity service direct communication path in the first message.
The identification information of the second UE may be an ID of the second UE, a ProSe ID, or identification information such as an International Mobile Subscriber Identity (IMSI), an International Mobile Equipment Identity (IMEI), a Global Unique Temporary Identity (GUTI), and the like, which is not limited in this embodiment.
It is understood that the first message may also include identification information of the first UE, and the identification information of the first UE may be a ProSe ID or identification information such as IMSI, IMEI, GUTI, and the like.
S102, a first network entity initiates a first proximity service process to a first UE, so that the first UE obtains a first resource allocated by a first base station to the first UE and a second resource allocated by a second base station to a second UE.
Specifically, the network entity receives a first message sent by a first UE, or after receiving a second message sent by a first proximity service server, the network entity initiates a first proximity service process for the first UE, so that the first UE obtains a first resource allocated by a first base station to the first UE and a second resource allocated by a second base station to the second UE, where the first proximity service process may include all interactive operations performed by the first network entity, which are performed by the first UE, to enable the first UE to obtain the first resource and the second resource.
S103, the first network entity triggers the second network entity to initiate second proximity service processing on the second UE, so that the second UE can acquire the first resource and the second resource.
The second proximity traffic process may be all interoperations performed by the second network entity to cause the second UE to acquire the first resource and the second resource.
Specifically, when a first UE needs to implement direct communication with a second UE, it needs to acquire communication resources required for communication, that is, a first resource allocated by a first base station to the first UE, a second resource allocated by a second base station to the second UE, and an IP address of the second UE, and it can be understood that the second UE also needs to acquire communication resources required for communication, that is, the first resource, the second resource, and the IP address of the first UE, based on which, the first UE and the second UE can use the IP addresses of the first UE and the second UE as a source address and a destination address of an IP data packet therebetween, and simultaneously the first UE uses the first resource to perform data transmission and uses the second resource to perform data reception; the second UE uses the second resource to transmit data and uses the first resource to receive data; meanwhile, the measurement report can be sent to the base station according to the measurement control, and the base station can also be sent to the network entity.
In this embodiment, a first network entity initiates a first proximity service process for a first UE, which may only enable the first UE to acquire a first resource and a second resource, and a second network entity is triggered by the first network entity to initiate a second proximity service process for a second UE, which may only enable the second UE to acquire the first resource and the second resource, and then the first UE and the second UE use the first resource and the second resource to acquire an IP address of the other party through signaling interaction of a control plane, that is, the first UE acquires an IP address of the second UE, so that the second UE acquires the IP address of the first UE.
Another possible implementation manner is that the first network entity initiates a first proximity service process for the first UE, so that the first UE can acquire the first resource, the second resource, and the IP address of the second UE, and the first network entity triggers the second network entity to initiate a second proximity service process for the second UE, so that the second UE can acquire the first resource, the second resource, and the IP address of the first UE.
The network Entity of this embodiment may be a Mobility Management Entity (MME for short).
It should be noted that, in this embodiment, the first base station and the second base station may be the same base station, or may be different base stations serving the first UE and the second UE respectively.
In this embodiment, a first network entity performing a first proximity service processing for a first UE and a second network entity performing a second proximity service processing for a second UE may be the same network entity; the present invention may also be implemented as different Network entities, for example, when the first UE and the second UE belong to different Public Land Mobile Networks (PLMNs), and meanwhile, the first UE and the second UE may also belong to different proximity service servers (proximity servers).
In the communication method provided in this embodiment, a first network entity receives a first message sent by a first user equipment UE, or the first network entity receives a second message sent by a first proximity service server, and then initiates a first proximity service process for the first UE, so that the first UE obtains a first resource allocated by a first base station to the first UE and a second resource allocated by a second base station to the second UE, and triggers a second network entity to initiate a second proximity service process for the second UE, so that the second UE obtains the first resource and the second resource, which can implement direct communication between user equipments and improve data transmission efficiency.
Further, S102 may include:
the first network entity sends a third message containing the proximity service indication to the first base station so that the first base station sends a fourth message containing the first resource to the first UE;
the first network entity receives a second resource sent by the second network entity;
it is to be appreciated that the first network entity may also receive a fifth message containing the second resource sent by the second network entity.
The first network entity sends a sixth message including the second resource to the first UE.
It can be understood that, the network entity triggers the first base station to perform the first resource allocation process on the first UE, so that the first UE can acquire the first resource required by the first UE to communicate with the second UE, but the embodiment does not limit the specific manner of performing the first resource allocation process on the first UE by the first base station.
It should be noted that, the receiving, by the first network entity, the fifth message containing the second resource sent by the second network entity may include directly receiving, by the first network entity, the fifth message sent by the second network entity, or may also include receiving, by the first network entity, the fifth message sent by the second network entity through forwarding of other network element devices.
Further, the sixth message also includes the IP address of the second UE.
Alternatively,
the first network entity receives the second resource sent by the second network entity, and the method comprises the following steps:
the first network entity receives a fifth message which is sent by the second network and contains the second resource; or,
the first network entity receives a seventh message which is sent by the first proximity service server and contains the second resource, the seventh message is sent by the first proximity service server after receiving an eighth message which is sent by the second proximity service server and contains the second resource, and the eighth message is sent by the second proximity service server after receiving a ninth message which is sent by the second network entity and contains the second resource.
It should be noted that, the indirect reception of the message sent by the second network entity by the first network entity may include two cases: messages forwarded among the first network entity, the first proximity service server, the second proximity service server and the second network entity are of the same name, for example, a fifth message; another possible scenario may be that the names of the messages forwarded between the first network entity, the first proximity service server, the second proximity service server and the second network entity are different, such as the seventh message, the eighth message and the ninth message in this embodiment.
Further, S103 may include:
the first network entity receives a tenth message which is sent by the first base station and contains the first resource;
the first network entity sends the proximity service indication, the first resource and the identification information of the first UE to the second network entity, so that the second network entity requests the second base station to send a twelfth message to the second UE, wherein the twelfth message comprises the first resource, the identification information of the first UE and the second resource.
It can be understood that, the network entity triggers the second resource allocation process performed by the first base station on the first UE, so that the first UE can obtain the first resource and the second resource required by the first UE for communicating with the second UE, but the embodiment does not limit a specific manner of the second resource allocation process performed by the first base station on the first UE.
Still further, the twelfth message also includes the IP address of the first UE.
Optionally, the sending, by the first network entity, the proximity service indication, the first resource, and the identification information of the first UE to the second network entity includes:
the first network entity sends an eleventh message to the second network entity, wherein the eleventh message comprises a proximity service indication, a first resource and identification information of the first UE; or,
and the first network entity sends a thirteenth message to the first proximity service server, so that the first proximity service server sends a fourteenth message to the second proximity service server, and the second proximity service server sends a fifteenth message to the second network entity, wherein the thirteenth message, the fourteenth message and the fifteenth message contain the proximity service indication, the first resource and the identification information of the first UE.
Further, S102 may include:
the first network entity sends a sixteenth message to the first base station so that the first base station allocates a first resource for the first UE;
the first network entity receives a seventeenth message which is sent by the first base station and contains the first resource;
the first network entity receives a second resource sent by the second network entity;
the first network entity sends a nineteenth message to the first base station, wherein the nineteenth message contains the first resource and the second resource, so that the first base station sends a twentieth message to the first UE, and the twentieth message contains the first resource and the second resource.
Further, the nineteenth and twentieth messages also contain the IP address of the second UE.
Optionally, the receiving, by the first network entity, the second resource sent by the second network entity includes:
the first network entity receives an eighteenth message which is sent by the second network entity and contains the second resource; or,
the first network entity receives a twenty-first message which is sent by the first proximity service server and contains the second resource, the twenty-first message is sent by the first proximity service server after receiving a twenty-second message which is sent by the second proximity service server and contains the second resource, and the twenty-second message is sent by the second proximity service server after receiving a twenty-third message which is sent by the second network entity and contains the second resource.
Further, S102 may include:
the first network entity sends the first resource to the second network entity, so that the second network entity requests the second base station to send a twenty-fifth message to the second UE, wherein the twenty-fifth message comprises the first resource and the second resource.
Further still, the twenty-fifth message also includes an IP address of the first UE.
Alternatively,
the first network entity sends the first resource to the second network entity, and the method comprises the following steps:
the first network entity sending a twenty-fourth message containing the first resource to the second network entity; or,
and the first network entity sends a twenty-sixth message to the first proximity service server, so that the first proximity service server sends a twenty-seventh message to the second proximity service server, and the second proximity service server sends a twenty-eighth message to the second network entity, wherein the twenty-sixth message, the twenty-seventh message and the twenty-eighth message comprise a proximity service indication, the first resource and identification information of the first UE.
Optionally, the first message or the second message may include at least one of:
identification information of the second UE;
the first UE and the second UE are proximate to an identity of the traffic direct communication path.
Optionally, before the first network entity receives the first message sent by the first user equipment UE, or before the first network entity receives the second message sent by the first proximity service server, the method further includes:
and the first network entity receives a twenty-ninth message which is sent by the first UE and contains the access point name APN of the proximity service or the proximity service indication, so that the first UE can acquire the IP address of the first UE.
In this step, when the first UE and the second UE are served by different network entities, for example, the first UE serves the first network entity and the first proximity service server, and the second UE serves the second network entity and the second proximity service server, the message sent to the second base station by the first network entity serving the first UE is forwarded by the second network entity serving the second UE and sent to the second base station, or is forwarded by the first proximity service server, the second proximity service server, and the second network entity and sent to the second base station. The first network entity serving the source first UE obtains the address of the second network entity serving the target second UE from the first proximity service server or the second proximity service server
The communication method provided by this embodiment implements acquisition and transmission of resources and IP addresses of the first UE and the second UE by processing the proximity service of the first UE and the second UE through the network entity, thereby implementing direct communication between user equipments and improving data transmission efficiency.
In the communication method provided in this embodiment, a first network entity receives a first message sent by a first user equipment UE, or the first network entity receives a second message sent by a first proximity service server, and then initiates a first proximity service process for the first UE, so that the first UE obtains a first resource allocated by a first base station to the first UE and a second resource allocated by a second base station to the second UE, and triggers a second network entity to initiate a second proximity service process for the second UE, so that the second UE obtains the first resource and the second resource, which can implement direct communication between user equipments and improve data transmission efficiency.
Fig. 2 is a flowchart of a second embodiment of the communication method provided by the present invention, and as shown in fig. 2, the communication method of the present embodiment includes:
s201, a second network entity receives a proximity service indication sent by a first network entity, a first resource distributed by a first base station for first User Equipment (UE) and identification information of the first UE;
s202, the second network entity sends a thirtieth message to the second base station, wherein the thirtieth message contains the proximity service indication, the first resource and the identification information of the first UE, so that the second base station sends a twelfth message to the second UE, and the twelfth message contains the first resource, the identification information of the first UE and the second resource allocated to the second UE by the second base station;
s203, the second network entity sends the second resource to the first network entity, so that the first network entity sends a sixth message containing the second resource to the first UE.
In the communication method provided in this embodiment, a second network entity receives an eleventh message sent by a first network entity, where the eleventh message includes a proximity service indication, a first resource allocated by a first UE by a first base station, and identification information of the first UE, and then sends a thirty message to the second base station, where the thirty message includes the proximity service indication, the first resource, and identification information of the first UE, so that the second base station sends a twelfth message to the second UE, where the twelfth message includes the first resource, identification information of the first UE, and a second resource allocated by the second base station to the second UE, and then sends a fifth message including the second resource to the first network entity, so that the first network entity sends the sixth message including the second resource to the first UE, which can implement direct communication between user equipments and improve data transmission efficiency.
Further, the sixth message further includes an IP address of the second UE; the thirtieth and twelfth messages also contain the IP address of the first UE.
Optionally, the sending, by the second network entity, the second resource to the first network entity includes:
the second network entity sends a fifth message containing the second resource to the first network entity; or,
the second network entity sends a ninth message to the second proximity service server, so that the second proximity service server sends an eighth message to the first proximity service server, and the first proximity service server sends a seventh message to the first network entity, wherein the ninth message, the eighth message and the seventh message comprise a proximity service indication, a second resource and identification information of the second UE;
the method for receiving, by a second network entity, a proximity service indication sent by a first network entity, a first resource allocated by a first base station to a first User Equipment (UE), and identification information of the first UE includes:
the second network entity receives an eleventh message sent by the first network entity, wherein the eleventh message comprises a proximity service indication, a first resource and identification information of the first UE; or,
the second network entity receives a fifteenth message containing the first resource sent by the second proximity service server, wherein the fifteenth message is sent by the second proximity service server after receiving a fourteenth message containing the first resource sent by the first proximity service server, and the fourteenth message is sent by the first proximity service server after receiving a thirteenth message containing the first resource sent by the first network entity.
Optionally, before the second network entity receives the ninth message sent by the first network entity, the method further includes:
and the second network entity receives a thirty-one message which is sent by the second UE and contains the access point name APN of the proximity service or the proximity service indication so that the second UE can acquire the IP address of the second UE.
Fig. 3 is a flowchart of a third embodiment of a communication method provided by the present invention, and as shown in fig. 3, the communication method of the present embodiment includes:
s301, the second network entity sends a thirty-fifth message to the second base station, so that the second base station allocates a second resource for the second user equipment UE;
s302, the second network entity receives a thirty-sixth message which is sent by the second base station and contains the second resource;
s303, the second network entity receives a first resource which is sent by the first network entity and is allocated to the first UE by the first base station;
s304, the second network entity sends the second resource allocated by the second base station for the second UE to the first network entity, so that the first network entity requests the first base station to send a nineteenth message to the first UE, wherein the nineteenth message comprises the first resource and the second resource;
s305, the second network entity sends a thirty-second message to the second base station, where the thirty-second message includes the first resource and the second resource, so that the second base station sends a twenty-fifth message to the second UE, and the twenty-fifth message includes the first resource and the second resource.
It should be noted that the occurrence sequence of S303 to S305 is not limited in this embodiment.
In the communication method provided in this embodiment, a twenty-fourth message that is sent by a first network entity and includes a first resource allocated by a first base station to a first user equipment UE is received by a second network entity, an eighteenth message that includes a second resource allocated by a second base station to a second UE is sent to the first network entity, so that the first network entity requests the first base station to send a nineteenth message to the first UE, where the nineteenth message includes the first resource and the second resource, and then sends a thirty-second message to the second base station, where the thirty-second message includes the first resource and the second resource, so that the second base station sends a twenty-fifth message to the second UE, where the twenty-fifth message includes the first resource and the second resource, thereby implementing direct communication between user equipments and improving data transmission efficiency.
Further, the nineteenth message further includes an IP address of the second UE; the thirty-second message and the twenty-fifth message further contain an IP address of the first UE.
Further, before the second network entity receives a twenty-fourth message sent by the first network entity and containing the first resource allocated by the first base station to the first user equipment UE, the method further includes:
and the second network entity receives a thirty-third message sent by the second UE, or the second network entity receives a thirty-fourth message sent by the second proximity service server.
Alternatively,
the second network entity sends the second resource allocated by the second base station for the second UE to the first network entity, including:
the second network entity sends an eighteenth message containing the second resource to the first network entity; or,
a second network entity sends twenty-third information to a second proximity service server, so that the second proximity service server sends twenty-second information to the first proximity service server, and the first proximity service server sends twenty-first information to the first network entity, wherein the twenty-third information, the twenty-second information and the twenty-first information comprise the proximity service indication, the second resource and the identification information of the second UE;
the second network entity receives a first resource distributed by a first base station to a first UE and sent by a first network entity, and the method comprises the following steps:
the second network entity receives a twenty-fourth message containing the first resource sent by the first network entity; or,
the second network entity receives a twenty-eighth message which is sent by the second proximity service server and contains the first resource, wherein the twenty-eighth message is sent by the second proximity service server after receiving a twenty-seventh message which is sent by the first proximity service server and contains the first resource, and the twenty-seventh message is sent by the first proximity service server after receiving a twenty-sixth message which is sent by the first network entity and contains the first resource.
Optionally, the thirty-third message or the thirty-fourth message may include at least one of:
identification information of the first UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
Optionally, before the second network entity receives a thirty-third message sent by the second UE, or before the second network entity receives a thirty-fourth message sent by a second proximity service server, the method further includes:
and the second network entity receives a thirty-one message which is sent by the second UE and contains an Access Point Name (APN) of the proximity service or a proximity service indication so that the second UE acquires the IP address of the second UE.
Fig. 4 is a flowchart of a fourth embodiment of the communication method provided by the present invention, and as shown in fig. 3, the communication method of the present embodiment includes:
s401, a first user equipment UE sends a first message to a first network entity; or, the first UE sends a thirty-seventh message to the first proximity server, so that the first proximity service server sends the second message to the first network entity; or, the first UE sends a thirty-eighth message to the application server, so that the location server requests the first proximity service server to send the second message to the first network entity;
s402, the first UE acquires a first resource distributed to the first UE by the first base station and a second resource distributed to the second UE by the second base station.
In the communication method provided by this embodiment, a first message is sent to a first network entity through a first user equipment UE; or, the first UE sends a thirty-seventh message to the first proximity server, so that the first proximity service server sends the second message to the first network entity; or, the first UE sends a thirty-eighth message to an application server, so that the location server requests the first proximity service server to send the second message to the first network entity, and obtains a first resource allocated by the first base station to the first UE and a second resource allocated by the second base station to the second UE, thereby implementing direct communication between user equipments and improving data transmission efficiency.
Further, S402 may include:
the first UE receives a fourth message which is sent by the first base station and contains the first resource;
and the first UE receives a sixth message which is sent by the first network entity and contains the second resource.
Further, the sixth message further includes an IP address of the second UE.
Further, S402 may include:
and the first UE receives a twentieth message sent by the first base station, wherein the twentieth message contains the first resource and the second resource.
Still further, the twentieth message further includes an IP address of the second UE.
Optionally, the first message, the second message, the thirty-seventh message, or the thirty-eighth message may include at least one of:
identification information of the second UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
Optionally, before the first UE sends the first message to the first network entity, the method further includes:
the first UE sends a twenty-ninth message containing an Access Point Name (APN) of proximity service or a proximity service indication to the first network entity;
the first UE acquires an IP address of the first UE.
The communication method provided by this embodiment realizes that the first UE acquires the resource and the IP address required for performing the proximity service through interaction between the first UE, the first network entity, and the first base station, and can realize direct communication between user equipments, thereby improving data transmission efficiency.
Fig. 5 is a flowchart of a fifth embodiment of the communication method provided by the present invention, and as shown in fig. 5, the communication method of the present embodiment includes:
s501, the second user equipment UE sends a thirty-one message containing an access point name APN of the proximity service or a proximity service indication to the second network entity;
s502, the second UE acquires the IP address of the second UE;
s503, the second UE obtains a first resource allocated by the first base station to the first UE and a second resource allocated by the second base station to the second UE.
Further, S503 may include:
and the second UE receives a twelfth message sent by the second base station, wherein the twelfth message comprises the first resource, the identification information of the first UE and the second resource.
More further, the twelfth message also includes an IP address of the first UE.
Further, S503 may include:
and the second UE receives a twenty-fifth message sent by the second base station, wherein the nineteenth twenty-fifth message comprises the first resource and the second resource.
Further still, the twenty-fifth message further includes an IP address of the first UE.
Optionally, before the second UE acquires the first resource allocated by the first base station to the first UE and the second resource allocated by the second base station to the second UE, the method further includes:
the second UE sends a thirteenth message to the second network entity.
Optionally, the thirty-third message may include at least one of:
identification information of the first UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
Specifically, the second UE needs to obtain communication resources required for communication to implement direct communication with the first UE, that is, a first resource allocated by the first base station to the first UE, a second resource allocated by the second base station to the second UE, and an IP address of the first UE, and it is understood that the first UE also needs to obtain communication resources required for communication, that is, the first resource, the second resource, and the IP address of the second UE.
It should be noted that, in this embodiment, the first base station and the second base station may be the same base station, or may be different base stations that respectively serve the first UE and the second UE, and for a scheme in which the first base station and the second base station negotiate to allocate resources to the first UE and the second UE, the first base station and the second base station are different base stations that respectively serve the first UE and the second UE.
In the communication method provided in this embodiment, a twentieth message is sent to the network entity by the second UE, where the twentieth message includes an APN of a proximity service or a proximity service indication, an IP address of the second UE is obtained, the first resource allocated by the first base station to the first UE, the second resource allocated by the second base station to the second UE are obtained, and the IP address of the first UE is obtained, so that direct communication between user equipment can be implemented, and data transmission efficiency is improved.
Fig. 6 is a flowchart of a sixth embodiment of a communication method provided by the present invention, and as shown in fig. 6, the communication method of the present embodiment includes:
s601, the first base station receives a third message which is sent by the first network entity and contains a proximity service indication;
s602, the first base station sends a fourth message containing the first resource allocated to the first UE by the first base station to the first UE;
s603, the first base station sends a tenth message containing the first resource to the first network entity.
In the communication method provided in this embodiment, the first base station receives the third message that includes the proximity service indication and is sent by the first network entity, sends the fourth message that includes the first resource allocated by the first base station to the first UE to the first user equipment UE, and sends the tenth message that includes the first resource to the first network entity, so that direct communication between the user equipments can be implemented, and data transmission efficiency is improved.
Fig. 7 is a flowchart of a seventh embodiment of the communication method provided by the present invention, and as shown in fig. 7, the communication method of the present embodiment includes:
s701, the first base station receives a sixteenth message sent by the first network entity;
s702, a first base station allocates a first resource for first User Equipment (UE);
s703, the first base station sends a seventeenth message containing the first resource to the first network entity;
s704, the first base station receives a nineteenth message sent by the first network entity, where the nineteenth message includes the first resource and the second resource;
s705, the first base station sends a twentieth message to the first UE, where the twentieth message includes the first resource and the second resource.
Further, the nineteenth and twentieth messages also contain the IP address of the second UE.
In the communication method provided in this embodiment, the first base station receives the sixteenth message sent by the first network entity, allocates the first resource to the first user equipment UE, sends the seventeenth message including the first resource to the first network entity, and receives the nineteenth message sent by the first network entity, where the nineteenth message includes the first resource and the second resource, and the first base station sends the twentieth message including the first resource and the second resource to the first UE, so that direct communication between the user equipments can be implemented, and data transmission efficiency is improved.
Fig. 8 is a flowchart of an eighth embodiment of the communication method provided by the present invention, and as shown in fig. 8, the communication method of the present embodiment includes:
s801, a second base station receives a thirtieth message sent by a second network entity, wherein the thirtieth message comprises a proximity service indication, a first resource allocated by the first base station to a first User Equipment (UE) and identification information of the first UE;
s802, the second base station sends a twelfth message to the second UE, wherein the twelfth message comprises the first resource, the identification information of the first UE and the second resource distributed to the second UE by the second base station.
Further, the thirtieth message and the twelfth message also include an IP address of the first UE.
In the communication method provided in this embodiment, a thirty-third message sent by a second network entity is received by a second base station, where the thirty-third message includes a proximity service indication, a first resource allocated by the first base station to a first UE and identification information of the first UE, and a twelfth message is sent to the second UE, where the twelfth message includes the first resource, the identification information of the first UE, and a second resource allocated by the second base station to the second UE, so that direct communication between user equipments can be implemented, and data transmission efficiency is improved.
Fig. 9 is a flowchart of a ninth embodiment of the communication method provided by the present invention, and as shown in fig. 9, the communication method of the present embodiment includes:
s901, the second base station receives a thirty-fifth message sent by the second network entity;
s902, the second base station allocates a second resource for a second User Equipment (UE);
s903, the second base station sends a thirty-sixth message containing the second resource to the second network entity;
s904, the second base station receives a thirty-second message sent by the second network entity, where the thirty-second message includes the first resource and the second resource;
s905, the second base station sends a twenty-fifth message to the second UE, where the twenty-fifth message includes the first resource and the second resource.
Further, the twenty-fifth message and the thirty-second message also include an IP address of the first UE.
In the communication method provided in this embodiment, a second base station receives a thirty-fifth message sent by a second network entity, allocates a second resource to a second user equipment UE, sends a thirty-sixth message containing the second resource to the second network entity, receives a thirty-second message sent by the second network entity, where the thirty-second message contains the first resource and the second resource, and sends a twenty-fifth message to the second UE, where the twenty-fifth message contains the first resource and the second resource, so that direct communication between user equipments can be implemented, and data transmission efficiency is improved.
The following describes in detail an interaction procedure between the first network entity, the second network entity, the first UE, the second UE, the first base station, the second base station, and the proximity service server.
Fig. 10 is a flowchart of a tenth embodiment of a communication method provided by the present invention, and as shown in fig. 10, the communication method of this embodiment is described by taking a first UE and a second UE served by the same MME, but different base stations are taken as an example, and may include:
s1001, the first UE receives a system broadcast message or a Radio Resource Control (RRC) message sent by the first base station.
The first UE can perceive that the Network side supports the ProSe service according to the received system broadcast message or RRC message sent by the first base station, so as to initiate the establishment of Packet Data Network (PDN) connection aiming at the ProSe service.
S1002, the first UE sends a PDN connection request message (PDN connectivity request message) to the network entity.
The PDN connection request message may carry a specific APN for a ProSe service, or carry a ProSe service indication indicating that the PDN connection is established for a ProSe service.
S1003, the network entity selects a packet data network Gateway (PDN Gateway, PGW for short), then the network entity allocates a bearer ID, and sends a Create session Request message (Create session Request message) to a Serving Gateway (SGW).
S1004, the SGW adds a new entry in the bearer table and sends a generate session request message to the PGW. The address of the PGW used at the time of transmission is obtained in S1003. After this step, the SGW buffers all downstream packets from the PGW until S1017.
S1005, the PGW sends a Create session Response message (Create session Response message) to the SGW.
S1006, the SGW sends a session response message to the network entity.
S1007, the network entity sends a Bearer Setup request message (Bearer Setup request message) to the first base station.
S1008, the first base station sends an RRC connection reconfiguration message (RRC connectionreconfiguration message) to the first UE.
The RRC connection reallocation message includes the IP address of the first UE.
Specifically, through the above steps, the first UE may acquire an IP address of the first UE.
The UE cannot reject RRC Connection Reconfiguration.
S1009, the first UE sends an RRC connection reconfiguration complete message (RRC connection reconfiguration complete message) to the first base station.
S1010, the network entity may determine that the connection is established for a ProSe service according to the APN or the ProSe service indication included in the PDN connection request.
S1011, the network entity sends a registration request message to the proximity service server.
The registration request message may include identification information of the first UE, where the identification may be an IMSI, an IMEI, or other identification that may indicate the UE, and may further include an IP address of the first UE and/or an identification of a network entity, where the network entity identification may be an IP address of the network entity or other identification that indicates the network entity, which is not limited herein. The registration process of steps S1011-S1012 may also be completed by the network entity sending a message to the proximity service Server (ProSe Server) during the attachment process of the first UE, where the carried information element is the same as the information element carried in the message.
S1012, the proximity service server stores the network entity identifier.
S1013, the proximity service server sends a registration response message to the network entity.
S1014, the first base station sends a Bearer Setup response message (Bearer Setup response) to the network entity, where the Bearer Setup response message may include an address of the first base station and a tunnel endpoint Identifier (tunnel endpoint Identifier, TEID for short).
S1015, the first UE sends a direct transfer message (direct transfer message) to the first base station.
S1016, the first base station sends a PDN connection complete message (PDN connectivitycomplete) to the network entity.
S1017, the network entity sends a Bearer update Request message (modify Bearer Request) to the SGW, where the Bearer update Request message may include an address of the first base station, a TEID of the first base station, and the like.
S1018, the SGW sends a Bearer update response message (modify Bearer response) to the network entity.
S1001 to S1018 take the first UE and the first base station as an example, and the second UE and the second base station also need to execute the steps of S1001 to S1018 to make the first UE acquire the IP address of the first UE and make the second UE acquire the IP address of the second UE.
S1019, the first UE wants to communicate with the second UE, and sends a proximity service communication request message (ProSe communication request message) to the network entity, where the proximity service communication request message includes an ID of the second UE (which may be a ProSe ID or another identifier uniquely identifying the target UE, such as IMSI, IMEI, GUTI, and the like, but this embodiment is not limited to this embodiment), an own identifier of the first UE, which may be a ProSe ID or another identifier, and the proximity service communication request message in S1019 is one possible implementation of the first message in the present invention.
S1020, the network entity sends a communication request message to the proximity service server, where the communication request message includes the ID of the second UE and the ID of the first UE.
S1021, the proximity service server authorizes the proximity service of the first UE and the second UE, judges whether the first UE is allowed to communicate or not, judges whether the second UE is allowed to communicate or not if the second UE is cross-PLMN, and replies a communication response message if the second UE is allowed to communicate cross-PLMN.
Steps S1019-S1021 may be replaced with:
the first method is as follows: the first UE sends a message to the proximity service server through the IP layer, and the proximity service server triggers the network entity to initiate a process of allocating resources to the first UE and the second UE after finishing the authorization of the first UE and the second UE.
The second method comprises the following steps: and the upper layer application server sends the service request message to the proximity service server according to the request message of the first UE, so that the proximity service server triggers a network entity to initiate a process of allocating resources to the first UE and the second UE after the proximity service server completes authorization of the first UE and the second UE.
S1022, the network entity sends a bearer setup request message (bearer setup request message) to the eNB1 to the first base station, where the bearer setup request message carries a ProSe indication, which indicates that the bearer setup is performed for a ProSe service, and the bearer setup request message in S1022 may be one possible implementation of the third message in the present invention.
S1023, the first base station sends an RRC connection reconfiguration message to the first UE, where the RRC connection reconfiguration message includes radio resources allocated to the first UE for sending data and measurement related configuration, and the RRC connection reconfiguration message in S1023 may be a possible implementation of the fourth message in the present invention.
S1024, the first UE sends an RRC connection reconfiguration complete message to the first base station, where the RRC connection reconfiguration complete message may include radio resources allocated to the first UE, and the first UE may encapsulate the radio resources into a first container (container 1).
S1025, the first base station sends a bearer establishment response message to the network entity, where the bearer establishment response message carries the radio resource allocated to the first UE, and the radio resource may be encapsulated into a first container, and the first container may also be encapsulated by the first UE, and the bearer establishment response message sent in step S1024 may be a possible implementation of the tenth message in the present invention.
S1026, the network entity sends a bearer setup request message to the second base station, where the bearer setup request message includes the ProSe service indication, and also includes the first container, and also includes the IP address of the first UE and/or the ID of the first UE.
S1027, the second base station sends an RRC connection reconfiguration message to the second UE, where the RRC connection reconfiguration message includes the first container, the IP address of the first UE and/or the ID of the first UE, and also includes a resource used by the second base station to send data to the second UE, and the RRC connection reconfiguration message in S1027 may be a possible implementation of the twelfth message in the present invention.
S1028, the second UE sends a connection reconfiguration complete message to the second base station, where the connection reconfiguration complete message carries the IP address of the first UE and/or the ID of the first UE, and optionally at least one of the IP address and the identifier of the target second UE. Optionally, the radio resource allocated by the second base station to the second UE is included, and the radio resource allocated by the second base station to the second UE is packaged in the second container.
S1029, the second base station sends a bearer setup response message to the network entity, where the bearer setup response message carries a second container (container2), where the second container includes radio resources allocated to the second UE, and the second container may be generated by the second UE or the second base station.
S1030, the network entity sends a proximity service communication response message (ProSe communication response message) to the first UE, where the proximity service communication response message includes an IP address of the second UE and the second container, and the proximity service communication response message in S1030 may be one possible implementation of the sixth message in the present invention.
S1031, the first UE and the second UE may communicate, use the IP addresses of the first UE and the second UE as the source and destination addresses of the IP data packet, and may also perform the transmission of the measurement report according to the measurement control, and transmit the measurement report to the base station, and the base station may also transmit the measurement report to the network entity.
It should be noted that, in this embodiment, the first base station and the second base station may be the same base station, or may be different base stations serving the first UE and the second UE respectively.
It should be noted that the processing of the first proximity service of the first UE by the network entity may include a process that the network entity triggers the first base station to allocate resources to the first UE and transmits the first resources and the second resources to the first UE in this embodiment; the processing, by the network entity, of the second proximity service of the second UE may include a process in which the network entity triggers the second base station to allocate resources to the second UE, and transmits the first resources and the second resources to the second UE in this embodiment.
In the communication method provided by this embodiment, the network entity performs the first proximity service processing and the second proximity service processing on the first UE and the second UE, so as to obtain and transmit the resources and the IP addresses of the first UE and the second UE, thereby implementing direct communication between the user equipments and improving data transmission efficiency.
Fig. 11 is a flowchart of an eleventh embodiment of a communication method according to the present invention, and as shown in fig. 11, the communication method of this embodiment is described by taking a first UE and a second UE served by the same MME, but different base stations are taken as an example, and may include:
S1101-S1121 are the same as S1001-S1021 in the embodiment shown in FIG. 10, and are not described again here.
S1122, the network entity sends a bearer establishment request message to the first base station, where the bearer establishment request message carries a ProSe indication indicating that the bearer establishment is performed for a ProSe service, and also carries an address of the second base station and an IP address of the first UE.
S1123, the first base station sends an X2AP negotiation request message (X2AP coordination request message) to the second base station, where the message includes the resource that the first base station wants to allocate to the UE (the first UE and the second UE or the first UE).
S1124, the second base station sends an X2AP negotiation response message (X2AP cooperative response message) to the first base station, wherein the message includes the resource that the second base station wants to allocate to the UE (the first UE and the second UE or the second UE).
S1125, the first base station sends an X2AP negotiation confirmation message (X2AP coordination confirmation message) to the second base station, where the message includes a result of the negotiation between the first base station and the UE.
S1126, the first base station sends RRC connection reconfiguration information to the first UE, wherein the RRC connection reconfiguration information comprises the resources distributed to the first UE, the resources distributed to the second UE and the IP address of the first UE.
S1127, the first UE sends an RRC connection reconfiguration complete message to the first base station.
S1128, the second base station sends an RRC connection reconfiguration message to the second UE, where the RRC connection reconfiguration message includes resources allocated to the first UE and the second UE.
S1129, the second UE sends an RRC connection reconfiguration complete message to the second base station, where the RRC connection reconfiguration complete message carries an IP address of the second UE.
S1130, the second base station sends a negotiation completion message of X2AP to the first base station, where the negotiation completion message carries the IP address of the second UE.
S1131, the first base station sends a bearer establishment response message to the network entity, where the bearer establishment response message carries the IP address of the second UE.
S1132, the network entity sends a proximity service communication response message to the first UE, where the proximity service communication response message includes an IP address of the second UE.
S1133, the first UE and the second UE may perform communication, use the IP addresses of the first UE and the second UE as the source and destination addresses of the IP data packet, and may also perform uplink transmission of a measurement report according to measurement control, and transmit the measurement report to the base station, and the base station may also transmit the measurement report to the network entity.
It should be noted that, the first base station and the second base station in this embodiment may be different base stations serving the first UE and the second UE, respectively.
In the communication method provided by this embodiment, the network entity triggers the first base station and the second base station to negotiate to allocate resources to the first UE and the second UE, so that the resources and the IP addresses of the first UE and the second UE are obtained and transmitted, thereby achieving direct communication between user equipments and improving data transmission efficiency.
The embodiments shown in fig. 10 and fig. 11 are described by taking an example that the first UE and the second UE belong to the same network entity, but the present invention is not limited thereto, and the first UE and the second UE of the present invention may belong to different network entities, and the implementation manner thereof is also based on the technical solution of the present invention.
Fig. 12 is a flowchart of a twelfth embodiment of a communication method provided by the present invention, and as shown in fig. 12, the communication method of this embodiment uses a first network entity and a first base station to serve a first UE, uses a second network entity and a second base station to serve a second UE, and describes a resource allocation process of the first UE and the second UE by taking a first proximity service server to serve the first UE and a second proximity service server to serve the second UE as an example, where the method may include:
in this embodiment, the process of acquiring the IP address of the first UE by the first UE and the IP address of the second UE by the second UE, and the process of registering and requesting authorization from the proximity service server by the first UE and the second UE are similar to S1001 to S1021 in the embodiment shown in fig. 10, and will not be described again here.
S1201, the first UE sends the enhanced service request message to the first network entity.
Specifically, the enhanced service request message carries identification information of the second UE and/or an identification (directconnection ID) of a direct communication path of the proximity service allocated by the network entity for the direct communication path between the first UE and the second UE, and optionally, may further include identification information of the first UE. Here, the identifier of the first UE and the second UE may be ProSe ID or other identifier that uniquely identifies the UE, such as IMSI, IMEI, GUTI, and the like, and this embodiment is not limited thereto. The enhanced service request message may be a possible implementation of the first message in the present invention, or may be other message types such as a proximity communication Resource Allocation request message (ProSe Comm Resource Allocation request), and the enhanced service request message in S1201 may be a possible implementation of the first message in the present invention.
Optionally, two other possible implementations of S1201 include:
the first method is as follows: the first UE sends a twenty-ninth message to the first proximity service server, and the first proximity service server sends a second message to the first network entity after determining the first network entity serving the first UE, so as to trigger the MME to initiate a process of direct communication service resource allocation for the first UE.
The second method comprises the following steps: and after receiving the thirtieth message of the first UE, the application server sends a message to a first proximity service server corresponding to the application server, so that the first proximity service server triggers a first network entity serving the first UE to initiate a process of direct communication service resource allocation for the first UE.
S1202, the second UE sends an enhanced service request message to the second network entity.
After the second UE learns that the first UE needs to establish the prose service with the second UE in the process of requesting the authorization of the second proximity service server, the second UE may initiate an enhanced service request to the second network entity, so that the second network entity triggers the second base station to allocate resources required by the prose service to the second UE, and the specific implementation of this step is similar to the step of S1201, and is not described herein again.
S1203, the first network entity sends a bearer establishment request message to the first base station, so that the first base station allocates the first resource to the first UE.
The bearer establishment request message at least comprises first UE identification information, second UE identification information and a direct connection ID allocated by the MME, and can indicate the first base station to allocate resources for the prose service. The bearer establishment request message is a possible implementation of the twelfth message in the present invention, and the message for implementing the function may also be a proximity communication Resource allocation request (ProSe Comm Resource allocation request) including the first UE, the second UE identity, and the direct connection ID
S1204, the first base station sends a bearer establishment response message to the first network entity.
After the first base station allocates the first resource to the first UE, the first base station returns the resource information to the first network entity through the bearer establishment response message, in which step the first base station may encapsulate the resource information in a first container (container1), and send the resource information to the first network entity through the bearer establishment response message. The first network entity saves the received first resource allocated by the first base station for the first UE.
And S1205, the second network entity sends a bearing establishment request message to the second base station.
After receiving the message sent by the second UE in S1202, the second network entity sends a bearer setup request message (bearer setup request) to the second base station serving the second UE, so that the second base station allocates a probe service resource for the second UE, and the specific implementation of this step is similar to S1204, and is not described here again.
S1206, the second base station sends a bearer setup response message to the second network entity.
After the second base station allocates resources to the second UE, the second base station returns the resource information to the second network entity through the bearer establishment response message, in which step the second base station may encapsulate the resource information in a second container (container2), and send the resource information to the second network entity through the bearer establishment response message. The bearer establishment response message may be one possible implementation of the twenty-eighth message of the present invention. The second network entity saves the received second resource allocated for the second UE.
It should be noted that the present embodiment does not limit the occurrence timings between S1203 to S1204 and S1205 to S1206.
S1207, the first network entity sends a proximity communication resource notification message to the second network entity.
The proximity communication Resource notification message (proximity comm Resource notification) carries at least an IP address and a first Resource of the first UE, and may also carry at least one of identification information of the first UE, identification information of the second UE, and an identification of a proximity service direct communication path, where the identification information of the first UE and the identification information of the second UE may be a probe ID of the first UE and a probe ID of the second UE, and the proximity communication Resource notification message is one possible implementation manner of the step of the present invention.
S1208, the second network entity sends a proximity communication resource confirmation message to the first network entity.
After receiving the proximity communication resource notification message sent by the first network entity, the second network entity returns a proximity communication resource confirmation message to the first network entity, where the message carries the IP address of the second UE, the resource information of the second UE, and may also carry at least one of the identification information of the first UE, the identification information of the second UE, and the identification of the proximity service direct communication path, where the identifications of the first UE and the second UE may be the prose IDs of the first UE and the second UE, and the proximity communication resource confirmation message is a possible implementation manner of the step of the present invention.
It should be noted that, if the second base station does not complete the resource allocation process for the second UE after the second network entity receives the proximity communication resource notification message sent by the first network entity, the second base station returns a proximity communication resource confirmation message after waiting for the second base station to complete.
The message delivery in S1207 and S1208 can be implemented in two ways:
the first method is as follows: the proximity communication resource notification message and the proximity communication resource confirmation message may be transmitted through an interface between the first network entity and the second network entity, and the first network entity obtains an address of the second network entity serving the second UE from the first proximity service server or the second proximity service server.
The second method comprises the following steps: the proximity communication resource notification message and the proximity communication resource confirmation message may complete message transmission through the proximity service server, that is, the first network entity sends the proximity communication resource notification message to the first proximity service server, the first proximity service server sends the proximity communication resource notification message to the second proximity service server according to the identifier information of the second UE, and the second proximity service server sends the proximity communication resource notification message to the second network entity serving the second UE according to the identifier of the second UE.
S1209, the first network entity sends a proximity communication activation request message to the first base station.
A first network entity sends a proximity communication activation request message (proximity communication active request) to a first base station serving a first UE, where the message carries at least resource information (first resource) used by the first base station to transmit data for the first UE allocated by the first UE, and resource information (second resource) used by a second base station to transmit data for a second UE allocated by the second UE, and optionally, the message may also include at least one of an IP address of the second UE, a direct con ID, and identification information of the second UE, and the first network entity may carry the first resource and the second resource by establishing a third container (container 3), where the proximity communication activation request message in this step is one possible implementation in the present invention.
S1210, the first base station sends an RRC reconfiguration request message to the first UE.
The first base station sends the message content received in S1209 to the first UE through an RRC reconfiguration request message (RRC connection reconfiguration request), so that the first UE knows the resource of the first UE and the resource of the second UE, optionally, an IP address of the second UE may also be obtained, and the RRC reconfiguration request message in S1209 may be a possible implementation of the twentieth message in the present invention.
S1211, the first UE sends an RRC reconfiguration complete message to the first base station.
S1212, the first base station sends a proximity communication activation response message to the first network entity.
After receiving the RRC reconfiguration complete message (RRC connection configuration complete) returned by the first UE, the first base station returns a proximity communication active response message (proximity communication active response) to the first network entity. Proximity communication activation response messages are one possible implementation of the present invention.
S1213, the second network entity sends a proximity communication activation request message to the second base station.
The proximity communication activation request message (proximity comm Active request) carries at least a first resource, a second resource, and optionally may further include at least one of an IP address, a direct conn ID, and identification information of the first UE, and the second network entity may carry a resource used by the first UE and the second UE for transmitting data by establishing a fourth container (container4), where the proximity communication activation request message in this step is one possible implementation of the present invention.
S1214, the second base station sends an RRC reconfiguration request message to the second UE.
The second base station sends the message content received in S1213 to the second UE through an RRC reconfiguration request message (RRC connection reconfiguration request), so that the second UE knows the resource of the second UE and the resource of the first UE, and optionally, may also obtain the IP address of the first UE. The RRC reconfiguration request message in S1214 may be one possible implementation of the twenty-fifth message in the present invention.
S1215, the second UE sends RRC reconfiguration complete information to the second base station.
S1216, the second base station sends a proximity communication activation response message to the second network entity.
After receiving the RRC reconfiguration complete message (RRC connection configuration complete) returned by the second UE, the second base station returns a proximity communication active response message (proximity communication active response) to the second network entity. Proximity communication activation response messages are one possible implementation of the present invention.
Through the uploading process, the first UE and the second UE can perform communication based on the prose service.
If the first UE and the second UE are served by the same network entity, the direct communication service establishment process of the first UE and the second UE is similar to the above process, and interaction between the first network entity and the second network entity is not required.
According to the communication method provided by the embodiment, through interaction among the first network entity, the second network entity, the first UE, the second UE, the first base station, the second base station and the proximity service server, the first UE can acquire the first resource and the second resource, and the second UE can acquire the first resource and the second resource, so that direct communication between user equipment can be realized, and the data transmission efficiency is improved.
Fig. 13 is a schematic structural diagram of a first embodiment of a network entity provided in the present invention, and as shown in fig. 13, the network entity of this embodiment may include: a receiving module 131 and a processing module 132, where the receiving module 131 is configured to receive a first message sent by a first user equipment UE, or the first network entity receives a second message sent by a first proximity service server; the processing module 132 is configured to initiate a first proximity service process for a first UE, so that the first UE obtains a first resource allocated by a first base station to the first UE and a second resource allocated by a second base station to the second UE; and triggering a second network entity to initiate second proximity service processing on the second UE so that the second UE acquires the first resource and the second resource.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
Further, the processing module 132 is further configured to:
sending a third message containing a proximity traffic indication to the first base station to cause the first base station to send a fourth message containing the first resource to the first UE;
receiving the second resource sent by the second network entity;
transmitting a sixth message including the second resource to the first UE.
Further, the sixth message also includes an IP address of the second UE.
Optionally, the processing module 132 is further configured to:
receiving a fifth message containing the second resource sent by the second network; or,
receiving a seventh message which is sent by the first proximity service server and contains the second resource, wherein the seventh message is sent by the first proximity service server after receiving an eighth message which is sent by the second proximity service server and contains the second resource, and the eighth message is sent by the second proximity service server after receiving a ninth message which is sent by the second network entity and contains the second resource.
Further, the processing module 132 is further configured to:
receiving a tenth message containing the first resource sent by the first base station;
sending a proximity service indication, the first resource and identification information of the first UE to the second network entity, so that the second network entity requests the second base station to send a twelfth message to the second UE, wherein the twelfth message includes the first resource, the identification information of the first UE and the second resource.
Further, the twelfth message also includes an IP address of the first UE.
Further, the processing module 132 is further configured to:
sending an eleventh message to the second network entity, the eleventh message including a proximity traffic indication, the first resource, and identification information of the first UE; or,
sending a thirteenth message to the first proximity service server, so that the first proximity service server sends a fourteenth message to a second proximity service server, and so that the second proximity service server sends a fifteenth message to the second network entity, where the thirteenth message, the fourteenth message, and the fifteenth message include the proximity service indication, the first resource, and identification information of the first UE.
Further, the processing module 132 is further configured to:
sending a sixteenth message to the first base station to enable the first base station to allocate the first resource for the first UE;
receiving a seventeenth message which is sent by the first base station and contains the first resource;
receiving the second resource sent by the second network entity;
transmitting a nineteenth message to the first base station, the nineteenth message including the first resource and the second resource, such that the first base station transmits a twentieth message to the first UE, the twentieth message including the first resource and the second resource.
Further, the nineteenth and twentieth messages also contain an IP address of the second UE.
Further, the processing module 132 is further configured to:
receiving an eighteenth message containing the second resource sent by the second network entity; or,
receiving a twenty-first message which is sent by the first proximity service server and contains the second resource, wherein the twenty-first message is sent by the first proximity service server after receiving a twenty-second message which is sent by the second proximity service server and contains the second resource, and the twenty-second message is sent by the second proximity service server after receiving a twenty-third message which is sent by the second network entity and contains the second resource.
Further, the processing module 132 is further configured to:
sending the first resource to the second network entity, so that the second network entity requests the second base station to send a twenty-fifth message to the second UE, where the twenty-fifth message includes the first resource and the second resource.
Further, the twenty-fifth message also includes an IP address of the first UE.
Further, the processing module 132 is further configured to:
sending a twenty-fourth message containing the first resource to the second network entity; or,
sending a twenty-sixth message to the first proximity service server, so that the first proximity service server sends a twenty-seventh message to a second proximity service server, and so that the second proximity service server sends a twenty-eighth message to the second network entity, where the twenty-sixth message, the twenty-seventh message, and the twenty-eighth message include the proximity service indication, the first resource, and identification information of the first UE.
Further, the first message or the second message may include at least one of:
identification information of the second UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
Further, the receiving module 131 is further configured to receive a twenty-ninth message that includes an access point name APN of a proximity service or a proximity service indication and is sent by the first UE before receiving a first message sent by the first user equipment UE or before the first network entity receives a second message sent by the first proximity service server, so that the first UE acquires an IP address of the first UE.
The apparatus of this embodiment may be configured to execute the technical solutions of the method embodiments shown in fig. 1, fig. 10, fig. 11, or fig. 12, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 14 is a schematic structural diagram of a second embodiment of a network entity provided in the present invention, and as shown in fig. 14, the network entity of this embodiment includes: a receiving module 141 and a sending module 142, where the receiving module 141 is configured to receive a proximity service indication sent by a first network entity, a first resource allocated by a first base station to a first user equipment UE, and identification information of the first UE; the sending module 142 is configured to send a thirty-first message to the second base station, where the thirty-first message includes a proximity service indication, the first resource, and the identification information of the first UE, so that the second base station sends a twelfth message to the second UE, where the twelfth message includes the first resource, the identification information of the first UE, and the second resource allocated to the second UE by the second base station; transmitting the second resource to the first network entity to cause the first network entity to transmit a sixth message including the second resource to the first UE.
Further, the sixth message further includes an IP address of the second UE; the thirty-third and twelfth messages also include an IP address of the first UE.
Further, the sending module 142 is further configured to:
sending a fifth message comprising the second resource to the first network entity; or,
the second network entity sends a ninth message to the second proximity service server, so that the second proximity service server sends an eighth message to the first proximity service server, and the first proximity service server sends a seventh message to the first network entity, where the ninth message, the eighth message, and the seventh message include the proximity service indication, the second resource, and identification information of the second UE;
the sending module 142 is further configured to:
receiving an eleventh message sent by the first network entity, where the eleventh message includes a proximity service indication, the first resource, and identification information of the first UE; or,
the second network entity receives a fifteenth message containing the first resource sent by the second proximity service server, where the fifteenth message is sent by the second proximity service server after receiving a fourteenth message containing the first resource sent by the first proximity service server, and the fourteenth message is sent by the first proximity service server after receiving a thirteenth message containing the first resource sent by the first network entity.
Further, the receiving module 141 is further configured to receive, before the second network entity receives the ninth message sent by the first network entity, a thirty-first message sent by the second UE and including an access point name APN of a proximity service or a proximity service indication, so that the second UE acquires an IP address of the second UE.
The apparatus of this embodiment may be configured to execute the technical solutions of the method embodiments shown in fig. 2, fig. 10, fig. 11, or fig. 12, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 15 is a schematic structural diagram of a third embodiment of a network entity provided in the present invention, and as shown in fig. 15, the network entity of this embodiment includes: a sending module 151 and a receiving module 152, wherein the sending module 151 is configured to send a thirty-fifth message to a second base station, so that the second base station allocates a second resource to a second user equipment UE; sending, to a first network entity, a second resource allocated by a second base station for a second UE, so that the first network entity requests the first base station to send a nineteenth message to the first UE, where the nineteenth message includes the first resource and the second resource; sending a thirty-second message to the second base station, the thirty-second message including the first resource and the second resource, so that the second base station sends a twenty-fifth message to the second UE, the twenty-fifth message including the first resource and the second resource; the receiving module 152 is configured to receive a thirty-sixth message containing the second resource sent by the second base station; and receiving a first resource which is sent by a first network entity and allocated to the first UE by a first base station.
Further, the nineteenth message also includes an IP address of the second UE; the thirty-second message and the twenty-fifth message further include an IP address of the first UE.
The receiving module 152 is further configured to receive a thirty-third message sent by the second UE before the second network entity receives a twenty-fourth message sent by the first network entity and containing the first resource allocated by the first base station to the first user equipment UE, or receive a thirty-fourth message sent by the second proximity service server.
Further, the sending module 151 is further configured to:
sending an eighteenth message including the second resource to the first network entity; or,
sending a twenty-third message to the second proximity service server, so that the second proximity service server sends a twenty-second message to the first proximity service server, and so that the first proximity service server sends a twenty-first message to the first network entity, where the twenty-third message, the twenty-second message, and the twenty-first message include the proximity service indication, the second resource, and identification information of the second UE;
the receiving module 152 is further configured to:
receiving a twenty-fourth message containing the first resource sent by the first network entity; or,
receiving a twenty-eighth message which is sent by the second proximity service server and contains the first resource, wherein the twenty-eighth message is sent by the second proximity service server after receiving a twenty-seventh message which is sent by the first proximity service server and contains the first resource, and the twenty-seventh message is sent by the first proximity service server after receiving a twenty-sixth message which is sent by the first network entity and contains the first resource.
Further, the thirty-third message or the thirty-fourth message may include at least one of:
identification information of the first UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
Further, the receiving module 152 is further configured to receive a thirty-third message sent by the second UE, or before the second network entity receives a thirty-fourth message sent by a second proximity service server, a thirty-first message containing an access point name APN of a proximity service or a proximity service indication sent by the second UE, so that the second UE acquires an IP address of the second UE.
The apparatus of this embodiment may be configured to execute the technical solutions of the method embodiments shown in fig. 3, fig. 10, fig. 11, or fig. 12, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 16 is a schematic structural diagram of a fourth embodiment of a network entity provided in the present invention, and as shown in fig. 16, the network entity of this embodiment includes a transmitter 161, a receiver 162, a memory 163, and a processor 164 connected to the transmitter 161, the receiver 162, and the memory 163, respectively. Of course, the network entity may further include general components such as an antenna, a baseband processing component, a medium radio frequency processing component, an input/output device, and the like, and the embodiment of the present invention is not limited in any way here.
Wherein the memory 163 stores a set of program codes, and the processor 164 is configured to call the program codes stored in the memory 163 for performing the following operations:
receiving a first message sent by first User Equipment (UE), or receiving a second message sent by a first proximity service server by the first network entity;
initiating a first proximity service process for a first UE so that the first UE obtains a first resource allocated by a first base station for the first UE and a second resource allocated by a second base station for the second UE;
and triggering a second network entity to initiate second proximity service processing on the second UE so that the second UE acquires the first resource and the second resource.
Alternatively, another set of program codes is stored in memory 163, and processor 164 is configured to call the program codes stored in memory 163 for performing the following operations:
receiving a proximity service indication sent by a first network entity, a first resource allocated by a first base station to first User Equipment (UE) and identification information of the first UE;
sending a thirtieth message to a second base station, where the thirtieth message includes a proximity service indication, the first resource, and identification information of the first UE, so that the second base station sends a twelfth message to a second UE, where the twelfth message includes the first resource, the identification information of the first UE, and a second resource allocated to the second UE by the second base station;
transmitting the second resource to the first network entity to cause the first network entity to transmit a sixth message including the second resource to the first UE.
Alternatively, another set of program codes is stored in memory 163, and processor 164 is configured to call the program codes stored in memory 163 for performing the following operations:
sending a thirty-fifth message to a second base station to enable the second base station to allocate a second resource for a second User Equipment (UE);
receiving a thirty-sixth message which is sent by the second base station and contains the second resource;
receiving a first resource which is sent by a first network entity and allocated to a first UE by a first base station;
sending, to a first network entity, a second resource allocated by a second base station for a second UE, so that the first network entity requests the first base station to send a nineteenth message to the first UE, where the nineteenth message includes the first resource and the second resource;
sending a thirty-second message to the second base station, the thirty-second message including the first resource and the second resource, so that the second base station sends a twenty-fifth message to the second UE, the twenty-fifth message including the first resource and the second resource. The apparatus of this embodiment may be configured to execute the technical solutions of the method embodiments shown in fig. 1, fig. 2, fig. 3, fig. 10, fig. 11, or fig. 12, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 17 is a schematic structural diagram of a first user equipment embodiment provided in the present invention, and as shown in fig. 17, the user equipment of this embodiment includes: a sending module 171 and an obtaining module 172, wherein the sending module 171 is configured to send a first message to a first network entity; or, the first UE sends a thirty-seventh message to a first proximity server, so that the first proximity service server sends a second message to the first network entity; or, the first UE sends a thirty-eighth message to an application server, so that the location server requests the first proximity service server to send the second message to the first network entity;
the obtaining module 172 is configured to obtain a first resource allocated by the first base station to the first UE and a second resource allocated by the second base station to the second UE.
Further, the obtaining module 172 is further configured to:
receiving a fourth message which is sent by the first base station and contains the first resource;
receiving a sixth message containing the second resource sent by the first network entity.
Further, the sixth message also includes an IP address of the second UE.
Further, the obtaining module 172 is further configured to:
receiving a twentieth message sent by the first base station, the twentieth message including the first resource and the second resource.
Further, the twentieth message also includes an IP address of the second UE.
Further, the first message, the second message, the thirty-seventh message, or the thirty-eighth message may include at least one of:
identification information of the second UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
Further, the sending module 171 is further configured to send a twenty-ninth message containing an access point name APN of the proximity service or a proximity service indication to the first network entity before sending the first message to the first network entity;
the obtaining module 172 is further configured to obtain an IP address of the first UE.
The apparatus of this embodiment may be configured to execute the technical solutions of the method embodiments shown in fig. 4, fig. 10, fig. 11, or fig. 12, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 18 is a schematic structural diagram of a second embodiment of the user equipment provided in the present invention, and as shown in fig. 18, the user equipment of this embodiment may include: a sending module 181 and an obtaining module 182, where the sending module 181 is configured to send a thirty-first message including an access point name APN of a proximity service or a proximity service indication to the second network entity; an obtaining module 182 is configured to obtain an IP address of the second UE; and acquiring a first resource distributed by the first base station for the first UE and a second resource distributed by the second base station for the second UE.
Further, the obtaining module 182 is further configured to:
receiving a twelfth message sent by the second base station, where the twelfth message includes the first resource, the identification information of the first UE, and the second resource.
Further, the twelfth message also includes an IP address of the first UE.
Further, the obtaining module 182 is further configured to:
receiving a twenty-fifth message sent by the second base station, where the nineteenth twenty-fifth message includes the first resource and the second resource.
Further, the twenty-fifth message also includes an IP address of the first UE.
Further, the sending module 181 is further configured to send a thirteenth message to the second network entity before acquiring the first resource allocated by the first base station to the first UE and the second resource allocated by the second base station to the second UE.
Further, the thirty-third message may include at least one of:
identification information of the first UE;
the first UE and the second UE are close to the identity of a traffic direct communication path.
The apparatus of this embodiment may be configured to execute the technical solutions of the method embodiments shown in fig. 5, fig. 10, fig. 11, or fig. 12, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 19 is a schematic structural diagram of a fourth embodiment of the user equipment provided in the present invention, and as shown in fig. 19, the user equipment of this embodiment includes a transmitter 191, a receiver 192, a memory 193, and a processor 194 respectively connected to the transmitter 191, the receiver 192, and the memory 193. Of course, the user equipment may further include general components such as an antenna, a baseband processing component, a medium radio frequency processing component, and an input/output device, and the embodiment of the present invention is not limited in any way here.
Wherein the memory 193 stores a set of program codes therein, and the processor 194 is configured to call the program codes stored in the memory 193 for performing the following operations:
sending a first message to a first network entity; or, the first UE sends a thirty-seventh message to a first proximity server, so that the first proximity service server sends a second message to the first network entity; or, the first UE sends a thirty-eighth message to an application server, so that the location server requests the first proximity service server to send the second message to the first network entity;
and acquiring a first resource distributed by the first base station for the first UE and a second resource distributed by the second base station for the second UE.
Wherein the memory 193 stores another set of program codes therein, and the processor 194 is configured to call the program codes stored in the memory 193 for performing the following operations:
sending a thirty-first message containing an Access Point Name (APN) or a proximity service indication of the proximity service to the second network entity;
acquiring an IP address of the second UE;
and acquiring a first resource distributed by the first base station for the first UE and a second resource distributed by the second base station for the second UE.
The apparatus of this embodiment may be configured to execute the technical solutions of the method embodiments shown in fig. 4, fig. 5, fig. 10, fig. 11, or fig. 12, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 20 is a schematic structural diagram of a first embodiment of a base station provided in the present invention, and as shown in fig. 20, the base station of this embodiment may include: the system comprises a receiving module 21 and a sending module 22, wherein the receiving module 21 is configured to receive a third message containing a proximity service indication sent by a first network entity; the sending module 22 is configured to send, to a first user equipment UE, a fourth message including a first resource allocated by the first base station to the first UE; sending a tenth message including the first resource to the first network entity.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 6, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 21 is a schematic structural diagram of a second embodiment of a base station provided in the present invention, and as shown in fig. 21, the base station of the present embodiment includes: the receiving module 211, the processing module 212, and the sending module 213, wherein the receiving module 211 is configured to receive a sixteenth message sent by the first network entity; receiving a nineteenth message sent by the first network entity, the nineteenth message including the first resource and the second resource; the processing module 212 is configured to allocate a first resource to a first user equipment UE; the sending module 213 is configured to send a seventeenth message including the first resource to the first network entity; transmitting a twentieth message to the first UE, the twentieth message including the first resource and the second resource.
Further, the nineteenth and twentieth messages also contain an IP address of the second UE.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 7, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 22 is a schematic structural diagram of a third embodiment of a base station provided in the present invention, and as shown in fig. 22, the base station of the present embodiment includes: the receiving module 221 is configured to receive a thirtieth message sent by the second network entity, where the thirtieth message includes a proximity service indication, a first resource allocated by the first base station to the first user equipment UE, and identification information of the first UE; the sending module 222 is configured to send a twelfth message to the second UE, where the twelfth message includes the first resource, the identification information of the first UE, and the second resource allocated by the second base station to the second UE.
Further, the thirtieth message and the twelfth message also include an IP address of the first UE.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 8, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 23 is a schematic structural diagram of a fourth embodiment of the base station provided in the present invention, and as shown in fig. 23, the base station of the present embodiment includes: a receiving module 231, a processing module 232, and a sending module 233, where the receiving module 231 is configured to receive a thirty-fifth message sent by the second network entity; receiving a thirty-second message sent by the second network entity, the thirty-second message containing the first resource and the second resource; the processing module 232 is configured to allocate a second resource to a second user equipment UE; the sending module 233 is configured to send a thirty-sixth message containing the second resource to the second network entity; sending a twenty-fifth message to the second UE, the twenty-fifth message including the first resource and the second resource.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 9, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 24 is a schematic structural diagram of a fifth embodiment of a base station provided by the present invention, and as shown in fig. 24, the base station of this embodiment includes a transmitter 241, a receiver 242, a memory 243, and a processor 244 respectively connected to the transmitter 241, the receiver 242, and the memory 243. Of course, the base station may further include general components such as an antenna, a baseband processing component, a medium radio frequency processing component, and an input/output device, and the embodiments of the present invention are not limited in any way here.
Wherein the memory 243 stores a set of program codes, and the processor 244 is configured to call the program codes stored in the memory 243 to perform the following operations:
receiving a third message containing a proximity service indication sent by the first network entity;
sending a fourth message containing first resources allocated to the first UE by the first base station to the first UE;
sending a tenth message including the first resource to the first network entity.
Alternatively, another set of program code is stored in memory 243, and processor 244 is configured to call the program code stored in memory 243 to perform the following operations:
receiving a sixteenth message sent by the first network entity;
allocating a first resource to a first User Equipment (UE);
sending a seventeenth message including the first resource to the first network entity;
receiving a nineteenth message sent by the first network entity, the nineteenth message including the first resource and the second resource;
transmitting a twentieth message to the first UE, the twentieth message including the first resource and the second resource.
Alternatively, another set of program code is stored in memory 243, and processor 244 is configured to call the program code stored in memory 243 to perform the following operations:
receiving a thirtieth message sent by a second network entity, wherein the thirtieth message contains a proximity service indication, a first resource allocated by a first base station for a first User Equipment (UE) and identification information of the first UE;
and sending a twelfth message to a second UE, wherein the twelfth message comprises the first resource, the identification information of the first UE and a second resource allocated to the second UE by the second base station.
Alternatively, another set of program code is stored in memory 243, and processor 244 is configured to call the program code stored in memory 243 to perform the following operations:
receiving a thirty-fifth message sent by the second network entity;
allocating a second resource to a second User Equipment (UE);
sending a thirty-sixth message containing the second resource to the second network entity;
receiving a thirty-second message sent by the second network entity, the thirty-second message containing the first resource and the second resource;
sending a twenty-fifth message to the second UE, the twenty-fifth message including the first resource and the second resource.
Fig. 25 is a schematic structural diagram of a first embodiment of a network system provided in the present invention, and as shown in fig. 25, the network system of this embodiment may include: the first network entity 100 of the first network entity embodiment, the second network entity 200 of the second or third network entity embodiment, the first base station 300 of the first or second base station embodiment, and the second base station 400 of the third or fourth base station embodiment.
It should be noted that the structural schematic diagrams corresponding to the above embodiments are only schematic diagrams, and the connection relationship between the parts or modules is not limited to the form shown in the drawings, and may be based on the situation in practical application.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.