CN106465343B - Resource scheduling method, MME, eNodeB and UE - Google Patents

Resource scheduling method, MME, eNodeB and UE Download PDF

Info

Publication number
CN106465343B
CN106465343B CN201480077512.6A CN201480077512A CN106465343B CN 106465343 B CN106465343 B CN 106465343B CN 201480077512 A CN201480077512 A CN 201480077512A CN 106465343 B CN106465343 B CN 106465343B
Authority
CN
China
Prior art keywords
prose
enodeb
resource
mme
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201480077512.6A
Other languages
Chinese (zh)
Other versions
CN106465343A (en
Inventor
衣强
欧阳国威
金辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN106465343A publication Critical patent/CN106465343A/en
Application granted granted Critical
Publication of CN106465343B publication Critical patent/CN106465343B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a resource scheduling method, an MME, eNodeB and UE, wherein when a target eNodeB resided after a UE cell is reselected is different from a source eNodeB resided before the UE cell is reselected, the MME instructs the source eNodeB of the UE to release ProSe broadcast resources allocated to the UE, and the MME instructs the target eNodeB of the UE to allocate the ProSe broadcast resources to the UE, so that the technical problem that in the prior art, the UE can use the proprietary ProSe broadcast resources to broadcast ProSe service identifiers only by keeping in a wireless resource control connection state, and the electric quantity consumption of the UE is increased is solved.

Description

Resource scheduling method, MME, eNodeB and UE
Technical Field
the present invention relates to communications technologies, and in particular, to a resource scheduling method, an MME, an eNodeB, and a UE.
Background
Proximity Services (ProSe) is proposed by The 3rd Generation Partnership Project (3 GPP), and one of The applications of ProSe is to enable two terminals in a relatively close distance to discover each other in a direct or indirect manner. In the process of discovering each other between two terminals, one terminal (announcing UE) of the two terminals (UE) is required to acquire ProSe broadcast resources from a base station (eNodeB), so as to broadcast a ProSe service identifier according to the acquired ProSe broadcast resources, so that the other terminal (monitering UE) of the two terminals discovers a broadcast terminal according to the broadcasted ProSe service identifier.
in the prior art, if a UE needs to enter a radio resource control connected state, so as to request an eNodeB to acquire a dedicated ProSe broadcast resource allocated to the UE, and broadcast a ProSe service identifier using the dedicated ProSe broadcast resource, the UE must be kept in a radio resource control connected state during this period, and once the UE is switched from the radio resource control connected state to an idle state, the dedicated ProSe broadcast resource allocated to the UE is no longer available. Obviously, in the prior art, the UE must remain in the radio resource control connected state to broadcast the ProSe service identifier using the proprietary ProSe broadcast resource, which results in increased power consumption of the UE.
Disclosure of Invention
The embodiment of the invention provides a resource scheduling method, an MME, an eNodeB and UE, which are used for solving the technical problem that in the prior art, the UE can use a proprietary ProSe broadcast resource to broadcast a ProSe service identifier only by keeping in a radio resource control connection state, so that the power consumption of the UE is increased.
A first aspect of the present invention provides a resource scheduling method, including:
When User Equipment (UE) determines that base stations (eNodeB) attached before and after cell reselection are changed, the UE in an idle state interacts with a Mobility Management Entity (MME) attached to the UE so as to switch the state of the UE from the idle state to a radio resource control connection state; wherein the UE has the ProSe service being executed;
And the UE sends a ProSe discovery resource request message to a base station eNodeB attached to the reselected cell so as to request to acquire ProSe broadcast resources.
A second aspect of the present invention provides a resource scheduling method, including:
when an eNodeB receives a ProSe discovery resource request message sent by UE after cell reselection, the eNodeB executes a process of distributing ProSe broadcast resources to the UE;
When the eNodeB receives an RRC connection reconfiguration completion message sent by the UE, sending a ProSe broadcast resource configuration success notification to a Mobility Management Entity (MME) attached to the UE, so that the MME creates first ProSe service information for the UE, wherein the first ProSe service information is used for indicating that the eNodeB allocates ProSe broadcast resources for the UE.
In a first possible implementation manner of the second aspect, the method further includes:
And when the eNodeB fails to allocate the ProSe broadcast resources to the UE or the UE fails to allocate the ProSe broadcast resources, sending a ProSe broadcast resource allocation failure notification to the MME, so that the MME executes a process of deleting the allocated ProSe broadcast resources when judging that the second ProSe service information of the UE is stored.
In a second possible implementation manner of the second aspect, after the eNodeB performs the procedure of allocating ProSe broadcast resources to the UE, the method further includes:
The eNodeB generates and stores a corresponding relation between the ProSe broadcast resources distributed to the UE and the UE identification;
And after the UE enters an idle state, the eNodeB continuously stores the corresponding relation between the ProSe broadcast resources distributed to the UE and the identifier of the UE.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, after the eNodeB generates and stores a corresponding relationship between ProSe broadcast resources allocated to the UE and the UE identity, the method further includes:
When the eNodeB receives a resource release message comprising the identity of the UE, the resource release message releases the ProSe broadcast resource corresponding to the identity of the UE according to the stored corresponding relationship between the ProSe broadcast resource distributed to the UE and the identity of the UE;
And sending a resource release completion message to the MME.
In a fourth possible implementation manner of the second aspect, after the eNodeB performs the procedure of allocating ProSe broadcast resources to the UE, the method further includes:
the eNodeB receives a confirmation message sent by the MME, wherein the confirmation message comprises a random code;
Or the acknowledgement message comprises a ProSe resource code; the ProSe resource code comprises the random code and an identity of the eNodeB;
the eNodeB generates and stores a corresponding relation between the ProSe broadcast resources distributed for the UE and the ProSe resource codes, or a corresponding relation between the ProSe broadcast resources distributed for the UE and the random codes;
And after the UE enters an idle state, the eNodeB continuously stores the corresponding relation between the ProSe broadcast resources distributed to the UE and the ProSe resource codes, or the eNodeB continuously stores the corresponding relation between the ProSe broadcast resources distributed to the UE and the random codes.
With reference to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, after the eNodeB generates and stores a correspondence between the ProSe broadcast resource allocated to the UE and the ProSe resource code, or a correspondence between the ProSe broadcast resource allocated to the UE and the random code, the eNodeB further includes:
When the eNodeB receives a resource release message comprising ProSe resource codes, releasing the ProSe broadcast resources corresponding to the ProSe resource codes in the resource release message according to the stored corresponding relationship between the ProSe broadcast resources distributed to the UE and the ProSe resource codes; sending a resource release completion message to the MME;
Or, when the eNodeB receives a resource release message including the random code, releasing ProSe broadcast resources corresponding to the random code according to the stored correspondence between the ProSe broadcast resources allocated to the UE and the random code; and sending a resource release completion message to the MME.
a third aspect of the present invention provides a resource scheduling method, including:
A mobility management entity MME receives a notification message sent by a first eNodeB; the notification message is used for indicating whether the first eNodeB successfully allocates a first ProSe broadcast resource for the UE, and the first eNodeB is an eNodeB attached to the UE after the UE performs cell reselection;
When the received notification message indicates that the first eNodeB successfully allocates the first ProSe broadcast resource to the UE, the MME generates and stores first ProSe service information of the UE; the first ProSe traffic information indicates that the first eNodeB has allocated the first ProSe broadcast resources for the UE.
In a first possible implementation manner of the third aspect, after the MME generates and stores the first ProSe service information of the UE, the method further includes:
The MME maintains an identification of the first eNodeB that allocates the first ProSe broadcast resources for the UE.
In a second possible implementation manner of the third aspect, after the MME receives the notification message, the method further includes:
The MME judges whether second ProSe service information of the UE is stored or not, wherein the second ProSe service information is used for indicating a second eNodeB to successfully allocate second ProSe broadcast resources to the UE, and if the MME determines that the second ProSe service information of the UE is stored, a resource release message is sent to the second eNodeB, so that the second eNodeB releases the second ProSe broadcast resources allocated to the UE; the second eNodeB is an eNodeB attached to the UE before cell reselection is performed.
with reference to the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect: when the second eNodeB successfully allocates the second ProSe broadcast resource to the UE, the MME stores the identification of the second eNodeB which allocates the second ProSe broadcast resource to the UE;
If the MME determines that the second ProSe service information of the UE is already stored, sending a resource release message to the second eNodeB, including:
And the MME sends the resource release message to the second eNodeB according to the saved identifier of the second eNodeB, wherein the resource release message comprises the identifier of the UE.
In a fourth possible implementation manner of the third aspect, the first ProSe service information includes a ProSe resource code; the ProSe resource code comprises a random code and an identity of the first eNodeB;
Wherein the random code is randomly generated by the MME when the notification message indicates that the ProSe broadcast resources are successfully allocated for the UE;
The method further comprises the following steps:
The MME sends a confirmation message to the first eNodeB, wherein the confirmation message comprises the randomly generated random code or the ProSe resource code, so that the first eNodeB generates and stores a corresponding relation between the random code and a first ProSe broadcast resource allocated to the UE, or generates and stores a corresponding relation between the ProSe resource code and a first ProSe broadcast resource allocated to the UE.
In a fifth possible implementation manner of the third aspect, after the MME receives the notification message, the method further includes:
The MME judges whether third ProSe service information of the UE is stored or not, the third ProSe service information is used for indicating that a second eNodeB allocates third ProSe broadcast resources for the UE, and if the MME determines that the third ProSe service information of the UE is stored, resource release information is sent to the second eNodeB, so that the second eNodeB releases the allocated ProSe broadcast resources for the UE.
With reference to the fifth possible implementation manner of the third aspect, in a sixth possible implementation manner of the third aspect, the third ProSe service information is generated and stored by the MME when the second eNodeB successfully allocates the third ProSe broadcast resource to the UE; the third ProSe service information comprises a random code randomly generated by the MME and an identifier of the second eNodeB;
if the MME determines that the third ProSe service information of the UE is already stored, sending a resource release message to the second eNodeB, including:
the MME sends a resource release message to the second eNodeB according to the identifier of the second eNodeB included in the third ProSe service information;
the resource release message includes the random code, or the resource release message includes a ProSe resource code composed of the random code and an identifier of the second eNodeB, where the second eNodeB is an eNodeB attached before the UE cell reselection.
with reference to the second or fifth possible implementation manner of the third aspect, in a seventh possible implementation manner of the third aspect, the method further includes:
and the MME receives a resource release completion message sent by the second eNodeB and deletes the saved second ProSe service information or third ProSe service information of the UE.
A fourth aspect of the present invention provides a UE, including:
The interaction module is used for determining that when base station eNodeBs attached to the cell before and after reselection are changed, UE in an idle state interacts with a Mobility Management Entity (MME) attached to the UE so as to switch the state of the UE from the idle state to a radio resource control connection state; wherein the UE has the ProSe service being executed;
and the sending module is used for sending a ProSe discovery resource request message to the base station eNodeB attached to the reselected cell so as to request to acquire the ProSe broadcast resources.
A fifth aspect of the present invention provides a base station eNodeB, including:
A receiving module, configured to receive a ProSe discovery resource request message sent by a UE after cell reselection;
An allocation module for executing a process of allocating ProSe broadcast resources to the UE;
A sending module, configured to send a ProSe broadcast resource configuration success notification to a mobility management entity MME to which the UE is attached when the receiving module receives an RRC connection reconfiguration complete message sent by the UE, so that the MME creates first ProSe service information for the UE, where the first ProSe service information is used to indicate that the eNodeB has allocated ProSe broadcast resources for the UE.
In a first possible implementation manner of the fifth aspect, the sending module is further configured to:
when the allocation module fails to allocate the ProSe broadcast resources to the UE or the UE fails to allocate the ProSe broadcast resources, sending a ProSe broadcast resource allocation failure notification to the MME, so that the MME executes a procedure of deleting allocated ProSe broadcast resources when determining that the second ProSe service information of the UE is stored.
in a first possible implementation manner of the fifth aspect, the base station further includes:
An establishing module, configured to generate and store a corresponding relationship between the ProSe broadcast resource allocated to the UE and the UE identifier;
The establishing module is further configured to, after the UE enters an idle state, the eNodeB continues to store a correspondence between ProSe broadcast resources allocated to the UE and the identifier of the UE.
with reference to the second possible implementation manner of the fifth aspect, in a third possible implementation manner of the fifth aspect, the base station further includes:
A releasing module, configured to, when the receiving module receives a resource release message including an identifier of the UE, release, according to the stored correspondence between the ProSe broadcast resource allocated to the UE and the UE identifier, a ProSe broadcast resource corresponding to the identifier of the UE in the resource release message;
the sending module is further configured to send a resource release completion message to the MME.
In a fourth possible implementation manner of the fifth aspect, the receiving module is further configured to:
Receiving a confirmation message sent by the MME, wherein the confirmation message comprises a random code;
Or the acknowledgement message comprises a ProSe resource code; the ProSe resource code comprises the random code and an identity of the eNodeB;
The establishing module is further configured to generate and store a corresponding relationship between the ProSe broadcast resource allocated to the UE and the ProSe resource code, or a corresponding relationship between the ProSe broadcast resource allocated to the UE and the random code;
The establishing module is further configured to, after the UE enters an idle state, the eNodeB continues to store a correspondence between the ProSe broadcast resource and a ProSe resource code allocated to the UE, or the eNodeB continues to store a correspondence between the ProSe broadcast resource and a random code allocated to the UE.
With reference to the fourth possible implementation manner of the fifth aspect, in a fifth possible implementation manner of the fifth aspect, the releasing module is further configured to:
When the receiving module receives a resource release message including a ProSe resource code, releasing the ProSe broadcast resource corresponding to the ProSe resource code in the resource release message according to the stored corresponding relationship between the ProSe broadcast resource allocated to the UE and the ProSe resource code;
the sending module is further configured to send a resource release completion message to the MME;
Or, the releasing module is further configured to, when the receiving module receives the resource release message including the random code, release the ProSe broadcast resource corresponding to the random code according to the stored correspondence between the ProSe broadcast resource allocated to the UE and the random code;
the sending module is further configured to send a resource release completion message to the MME.
a sixth aspect of the present invention provides a mobility management entity MME, including:
a receiving module, configured to receive a notification message sent by a first eNodeB; the notification message is used for indicating whether the first eNodeB successfully allocates a first ProSe broadcast resource for the UE, and the first eNodeB is an eNodeB attached to the UE after the UE performs cell reselection;
a generating module, configured to, when the notification message received by the receiving module indicates that the first eNodeB successfully allocates the first ProSe broadcast resource to the UE, generate and store first ProSe service information of the UE by the MME; the first ProSe traffic information indicates that the first eNodeB has allocated the first ProSe broadcast resources for the UE.
In a first possible implementation manner of the sixth aspect, the method further includes:
A saving module, configured to save the identifier of the first eNodeB that allocates the first ProSe broadcast resource to the UE.
in a second possible implementation manner of the sixth aspect, the method further includes:
A sending module, configured to send a resource release message to the second eNodeB to enable the second eNodeB to release the second ProSe broadcast resource allocated to the UE, if the MME determines that the second ProSe service information of the UE is already stored, where the second ProSe service information is used to indicate that the second eNodeB successfully allocates the second ProSe broadcast resource to the UE; the second eNodeB is an eNodeB attached to the UE before cell reselection is performed.
With reference to the second possible implementation manner of the sixth aspect, in a third possible implementation manner of the sixth aspect: the saving module is further configured to save, when the second eNodeB successfully allocates the second ProSe broadcast resource to the UE, an identifier of the second eNodeB that allocates the second ProSe broadcast resource to the UE;
The sending module is further configured to:
And sending the resource release message to the second eNodeB according to the saved identifier of the second eNodeB, wherein the resource release message comprises the identifier of the UE.
In a fourth possible implementation manner of the sixth aspect, the first ProSe service information includes a ProSe resource code; the ProSe resource code comprises a random code and an identity of the first eNodeB;
wherein the random code is randomly generated by the MME when the notification message indicates that the ProSe broadcast resources are successfully allocated for the UE;
the sending module is further configured to send a confirmation message to the first eNodeB, where the confirmation message includes the randomly generated random code or the ProSe resource code, so that the first eNodeB generates and stores a correspondence between the random code and a first ProSe broadcast resource allocated to the UE, or generates and stores a correspondence between the ProSe resource code and a first ProSe broadcast resource allocated to the UE.
in a fifth possible implementation manner of the sixth aspect, the sending module is further configured to: and if the MME determines that third ProSe service information of the UE is stored, wherein the third ProSe service information is used for indicating that a second eNodeB allocates third ProSe broadcast resources for the UE, sending a resource release message to the second eNodeB so that the second eNodeB releases the allocated ProSe broadcast resources for the UE.
With reference to the fifth possible implementation manner of the sixth aspect, in a sixth possible implementation manner of the sixth aspect, the third ProSe service information is generated and stored by the MME when the second eNodeB successfully allocates the third ProSe broadcast resource to the UE; the third ProSe service information comprises a random code randomly generated by the MME and an identifier of the second eNodeB;
The sending module is further configured to send a resource release message to the second eNodeB according to the identifier of the second eNodeB included in the third ProSe service information;
the resource release message includes the random code, or the resource release message includes a ProSe resource code composed of the random code and an identifier of the second eNodeB, where the second eNodeB is an eNodeB attached before the UE cell reselection.
with reference to the second or fifth possible implementation manner of the sixth aspect, in a seventh possible implementation manner of the sixth aspect, the method further includes:
A deleting module, configured to delete the saved second ProSe service information or third ProSe service information of the UE when the receiving module receives the resource release completion message sent by the second eNodeB.
A seventh aspect of the present invention provides a user equipment UE, comprising:
the system comprises a communication interface, a memory and a processor connected with the memory through a bus;
The UE communicates with other network entities through the communication interface;
The memory is used for storing computer executable instructions, and the processor executes the computer executable instructions to perform the resource scheduling method according to the first aspect.
An eighth aspect of the present invention provides a base station eNodeB, including:
The system comprises a communication interface, a memory and a processor connected with the memory through a bus;
the eNodeB communicates with other network entities or user equipment through the communication interface;
The memory is used for storing computer-executable instructions, and the processor executes the computer-executable instructions to perform the second aspect and the resource scheduling method according to any one of the second aspect and various possible implementation manners.
a ninth aspect of the present invention provides a mobility management entity MME, including:
the system comprises a communication interface, a memory and a processor connected with the memory through a bus;
the MME communicates with other network entities or user equipment through the communication interface;
the memory is used for storing computer-executable instructions, and the processor executes the computer-executable instructions to perform the method for scheduling resources according to the third aspect and any one of various possible implementations of the third aspect.
According to the resource scheduling method, the MME, the eNodeB and the UE, when the target eNodeB resided after the cell reselection is performed by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire ProSe broadcast resources allocated by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resources allocated to the target eNodeB, so that the technical problem that in the prior art, the UE can use the proprietary ProSe broadcast resources to broadcast ProSe service identifiers only when the UE is kept in a wireless resource control connection state, and the electric quantity consumption of the UE is increased is solved.
drawings
in order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a flowchart illustrating a resource scheduling method according to a first embodiment of the present invention;
Fig. 2 is a flowchart illustrating a resource scheduling method according to a second embodiment of the present invention;
Fig. 3 is a flowchart illustrating another resource scheduling method according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating a resource scheduling method according to a fourth embodiment of the present invention;
fig. 5 is a flowchart illustrating a resource scheduling method according to a fifth embodiment of the present invention;
Fig. 6 is a flowchart illustrating another resource scheduling method according to a sixth embodiment of the present invention;
Fig. 7 is a flowchart illustrating a resource scheduling method according to a seventh embodiment of the present invention;
fig. 8 is a flowchart illustrating a resource scheduling method according to an eighth embodiment of the present invention;
Fig. 9 is a flowchart illustrating another resource scheduling method according to a ninth embodiment of the present invention;
fig. 10 is a flowchart illustrating a resource scheduling method according to a tenth embodiment of the present invention
Fig. 11 is a flowchart illustrating another resource scheduling method according to an eleventh embodiment of the present invention;
fig. 12 is a flowchart illustrating a resource scheduling method according to a twelfth embodiment of the present invention;
FIG. 13 is a flowchart illustrating a resource scheduling method according to a thirteenth embodiment of the present invention;
Fig. 14 is a flowchart illustrating a resource scheduling method according to a fifteenth embodiment of the present invention;
Fig. 15 is a flowchart illustrating another resource scheduling method according to a sixteenth embodiment of the present invention;
fig. 16 is a schematic structural diagram of an MME according to a seventeenth embodiment of the present invention;
Fig. 17 is a schematic structural diagram of another MME according to an eighteenth embodiment of the present invention;
fig. 18 is a schematic structural diagram of another MME according to a nineteenth embodiment of the present invention;
Fig. 19 is a schematic structural diagram of a further MME according to a twentieth embodiment of the present invention;
fig. 20 is a schematic structural diagram of an eNodeB according to a twenty-first embodiment of the present invention;
Fig. 21 is a schematic structural diagram of an MME according to a twenty-third embodiment of the present invention;
Fig. 22 is a schematic structural diagram of an eNodeB according to a twenty-fourth embodiment of the present invention;
Fig. 23 is a schematic structural diagram of a UE according to a twenty-fifth embodiment of the present invention.
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.
fig. 1 is a flowchart illustrating a resource scheduling method according to a first embodiment of the present invention, as shown in fig. 1, including:
101. A Mobility Management Entity (MME) receives a first message.
the first message is sent to an MME by the UE through a target eNodeB when the target eNodeB resided after the UE cell is reselected is different from a source eNodeB resided before the UE cell is reselected; the first message is for requesting allocation of ProSe broadcast resources for the UE.
102. the MME instructs the destination eNodeB to allocate the ProSe broadcast resource requested by the first message to the UE.
Optionally, before the MME instructs the destination eNodeB to allocate resources to the UE, the MME generates a ProSe resource code (ProSe resource code), where the ProSe resource code includes a randomly generated random code and an eNodeB identifier of the destination eNodeB where the UE resides when the ProSe resource code is generated. And sending a ProSe broadcast resource allocation request containing a ProSe resource code to a target eNodeB of the UE, so that after the target eNodeB allocates the ProSe broadcast resources to the UE, a corresponding relation between the ProSe resource code and the ProSe broadcast resources allocated to the UE is established. The corresponding relation is used for releasing the ProSe broadcast resource corresponding to the ProSe resource code by the target eNodeB according to the ProSe resource code.
Or, optionally, the MME sends a ProSe broadcast resource allocation request including an identifier of the UE to a destination eNodeB of the UE, so that the destination eNodeB establishes a correspondence between the identifier of the UE and a ProSe broadcast resource allocated to the UE after allocating the ProSe broadcast resource to the UE according to the indication of the ProSe broadcast resource allocation request; and the corresponding relation is used for releasing the ProSe broadcast resource corresponding to the UE identifier by the target eNodeB according to the UE identifier.
further, the resource scheduling method may further include: the MME instructs a source eNodeB of the UE to release the ProSe broadcast resources that have been allocated to the UE.
optionally, after receiving the first message, the MME determines whether ProSe service information of the UE is already stored thereon, where the service information includes a ProSe resource code, and the ProSe service information indicates that a broadcast resource has been allocated to the UE. If the MME determines that the ProSe resource code of the UE is stored, sending a second message to the source eNodeB according to an eNodeB identifier in the ProSe resource code, namely a source eNodeB identifier; the second message is used for instructing the source eNodeB to release the ProSe broadcast resources which are allocated for the UE before, and the second message contains a ProSe resource code, so that the source eNodeB is matched with the corresponding ProSe broadcast resources according to the ProSe resource code; a first codeword in the ProSe resource code is randomly generated and a second codeword is used to identify the source eNodeB that allocates the ProSe broadcast resources.
it should be noted that the first message may be a service request message and/or a Tracking Area Update (TAU) message.
or, optionally, after receiving the first message, the MME determines whether ProSe service information of the UE is stored thereon, where the ProSe service information is used to indicate that a ProSe service exists on the UE and a ProSe broadcast resource has been allocated to the UE. If the MME determines that the ProSe service information of the UE is stored, a second message is sent to the source eNodeB; the second message is used for instructing the source eNodeB to release the broadcast resource that the source eNodeB has allocated for the UE, and the second message includes the identifier of the UE, so that the eNodeB matches the corresponding ProSe broadcast resource according to the identifier of the UE.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
fig. 2 is a schematic flowchart of a resource scheduling method according to a second embodiment of the present invention, where before and after a cell reselection of a UE, an eNodeB is changed, the UE resides in an eNodeB B before the cell reselection, and the UE resides in an eNodeB a after the cell reselection in this embodiment, as shown in fig. 2, the resource scheduling method includes:
201. The UE performs a cell reselection procedure.
202. And the UE determines that the eNodeB where the UE resides is changed before and after cell reselection.
Specifically, the UE determines whether an eNodeB change has occurred according to the received broadcast message, that is, whether an eNodeB where the UE resides before and after cell reselection has changed, and if so, performs the subsequent steps.
203. If the resident eNodeBs before and after the UE cell reselection are changed and the UE has ongoing ProSe service, the UE sends a TAU message containing an indication of applying for ProSe broadcast resources to the currently resident eNodeB A.
204. eNodeB A judges whether MME serving UE changes, if MME does not change, then execute steps 204a-208 a; if the MME changes steps 204b-209b are performed.
it should be noted that, the eNodeB a determining whether the MME serving the UE changes refers to whether the MME serving the UE changes before and after the eNodeB a receives the TAU message, that is, whether the MME to which the UE is attached changes, when the MME changes, the source MME to which the UE is attached before the TAU procedure is called MME B, and the target MME to which the UE is reattached is called MME a currently attached. If the MME is not changed, the MME to which the UE is currently attached is recorded as MME A.
204a, if the eNodeB A determines that the MME serving the UE is not changed, sending the TAU message containing the indication of applying for the ProSe broadcast resource to the MME A serving the UE after the eNodeB A receives the TAU message.
205a, MME a determines whether ProSe service information of the UE is stored therein, if so, executes steps 206a-208 a; otherwise 208a is executed directly.
specifically, when the MME a stores ProSe service information of the UE, the MME a extracts an old Global Cell Identity (ECGI) that is already stored in the context of the UE, so that the subsequent MME a can determine, according to the old ECGI value, an eNodeB B where the UE resides last time, and perform a process of releasing ProSe broadcast resources allocated to the UE on the eNodeB B.
in this embodiment, the ProSe service information stored in the MME may specifically refer to ProSe broadcast service indication information, which indicates that the UE is executing a ProSe discovery service and allocates broadcast resources to the UE; or the ProSe service identifier, ProSe application ID, existing on the UE, optionally includes parameters of each ProSe application ID resource, such as bandwidth, power, time interval, and the like.
206a, MME A determines eNodeB B according to the old ECGI value and sends UE context release (UE context release) information carrying UE identification to eNodeB B, so that eNodeB releases UE context, including information such as UE identification release and broadcast resource distributed for UE.
the Identity of the UE may be an identifier of a UE such as an International Mobile Subscriber Identity (IMSI) or a Temporary Mobile Subscriber Identity (S-Temporary Mobile Subscriber Identity, S-TMSI).
207a, eNodeB B releases the context of the UE, and then sends a UE context release complete message to MME a.
after steps 206a, 207a are completed, the MME a deletes the old ECGI and saves the new ECGI contained in the TAU message sent by the UE in step 203.
208a, other flows of the TAU procedure are performed as normal procedures.
204B, if the eNodeB A judges that the MME serving the UE needs to be changed, the eNodeB A selects a new MME for the UE, the MME serving the UE after the selected eNodeB A receives the TAU message is taken as the MME A, the source MME to which the UE is attached before the process is taken as the MME B, and the eNodeB A sends the TAU message containing the ProSe broadcast resource application instruction to the MME A.
205B, MME A executes the process of obtaining UE context from MME B.
Specifically, the MME a sends a context request message to the MME B, receives a context response message containing the UE context of the MME B, and returns an MME B response acknowledgement message.
206B, when MME B receives response confirmation message sent by MME A, judging whether the MME B stores the ProSe service information of the UE, when MME B stores the ProSe service information of the UE, executing the following steps 207B-209B, otherwise, directly executing 209B.
207B, the MME B determines the eNodeB B according to the saved ECGI value, and sends a UE context release (UE context release) message carrying the UE identity to the eNodeB B, so that the eNodeB B releases the UE context, including information such as releasing the UE identity and broadcast resources allocated for the UE.
208B, after releasing the context of the UE, eNodeB B sends a UE context release complete message to MME B.
209b, other flows of the TAU procedure are performed as normal.
It should be noted that, the triggering MME B may also be executed after the MME B receives a location cancellation message sent by a user Server (HSS) in the TAU process, to determine whether the ProSe service information of the UE is stored therein.
210. MME A instructs eNodeB A to allocate ProSe broadcast resources to UE, and MME A authenticates that the UE is authorized to execute ProSe service before executing the step.
specifically, before instructing the eNodeB a to allocate the ProSe broadcast resource to the UE, the MME a authenticates whether the UE is authorized to perform the ProSe service, and executes the subsequent steps after the authentication is passed.
211. MME a sends a ProSe broadcast resource request (ProSe attach resource request) message to eNodeB a.
Specifically, if the MME a stores ProSe service information of the UE, the MME a may send a ProSe associating resource request message to the eNodeB a to instruct the eNodeB a to allocate ProSe broadcast resources to the UE, where the ProSe broadcast resources may include a ProSe application identifier (ProSe application ID) of a current ProSe service of the UE, and optionally include broadcast resource parameter information corresponding to each ProSe application ID; if the MME changes or the terminal initially applies for the ProSe broadcast resource, in this case, the MME a does not store the ProSe service information on the UE, the ProSe application ID is obtained from another network entity, such as a ProSe function entity (ProSe function).
212. eNodeB a performs the ProSe broadcast resource allocation procedure.
213. The eNodeB a sends a Radio Resource Control (RRC) connection reconfiguration message to the UE to notify broadcast Resource information allocated to the UE, where the broadcast Resource information includes broadcast Resource information allocated to the UE.
214. After receiving the RRC connection reconfiguration message, the UE sends an RRC connection reconfiguration complete message to the eNodeB a.
215. The eNodeB a sends a ProSe broadcast resource complete (ProSe attach resource complete) message to the MME a.
Specifically, after the eNodeB a allocates the resource, a ProSe associating resource complete message is returned to the MME a, where when the ProSe associating resource request message includes ProSe application ID information, the ProSe associating resource complete message may include the ProSe application ID of the resource successfully allocated by the eNodeB a, so that the MME a stores the information. Optionally, the ProSe associating resource complete message may contain parameters of each ProSe application ID resource, such as bandwidth, power, time interval, etc.
Optionally, when the ProSe broadcast resource request (ProSe associating resource request) does not include the ProSe application ID information, the ProSe broadcast resource complete (ProSe associating resource complete) message does not include the ProSe application ID information, and the MME a generates the ProSe indication information after receiving the ProSe associating resource complete message, indicates that the UE is executing the ProSe discovery service, and allocates the broadcast resource to the UE.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
fig. 3 is a schematic flow chart of another resource scheduling method according to a third embodiment of the present invention, in this embodiment, before and after a cell reselection of a UE, an eNodeB is changed, the UE resides in an eNodeB B before the cell reselection, and the UE resides in an eNodeB a after the cell reselection, as shown in fig. 3, the resource scheduling method includes:
301. The UE performs a cell reselection procedure.
302. And the UE determines that the eNodeB where the UE resides is changed before and after cell reselection.
Specifically, the UE determines whether an eNodeB change has occurred according to the received broadcast message, that is, whether an eNodeB where the UE resides before and after cell reselection has changed, and if so, performs the subsequent steps.
303a, if the current Tracking Area Identity (TAI) of the UE does not belong to the current Tracking Area Identity (TA) list, the UE needs to initiate a TAU request message, that is, the UE sends a TAU message to the eNodeB a camped after the cell reselection.
specifically, the eNodeB where the UE resides changes, and in this process, the UE may leave the TA list area where the UE currently resides, so that the UE needs to perform a TAU procedure.
303b, eNodeB a sends TAU message to MME a.
specifically, the UE performs a normal TAU procedure, in which the MME to which the UE attaches may be changed, and when the MME is changed, the source MME to which the UE attaches before the TAU procedure is called MME B, and the target MME to which the UE reattaches is called MME a to which the UE is currently attached, and 304a-309a are performed. If the MME is not changed, the MME to which the UE is currently attached is considered as MME A, and 304b-306b are executed.
304a, MME A sends context request (context request) message to MME B to obtain UE context.
305a, MME B sends context response (context response) message to MME A.
specifically, MME B returns a context response message to return the UE context.
306a, MME A sends a Response acknowledgement (Response acknowledgement) message to MME B.
307a, after receiving the response confirmation message sent by the MME a, the MME B determines that the ProSe service information of the UE is stored.
Specifically, when the MME B receives the Response acknowledge message, it determines whether the UE ProSe service information is stored thereon, if so, performs the subsequent steps 308a to 309a, otherwise, continues to perform other flows of the corresponding TAU procedure.
in this embodiment, the ProSe service information stored in the MME may specifically refer to a ProSe indication information, which indicates that the UE is executing a ProSe discovery service, and allocates a broadcast resource to the UE; or the ProSe application ID existing on the UE, optionally including parameters of each ProSe application ID resource, such as bandwidth, power, time interval, etc.
308a, MME B sends UE context release message containing UE identity to eNodeB B. The specific UE identity may be an IMSI or S-TMSI UE identity.
specifically, MME B sends a UE context release message including a UE identity to eNodeB B, so that eNodeB B releases the context of the UE, including information such as releasing the UE identity and broadcast resources allocated to the UE.
309a, after eNodeB B successfully releases the context of UE, it sends UE context release complete message to MME B.
specifically, when the context release of eNodeB B is completed, eNodeB B returns a UE context release complete message containing the UE identity to MME B.
After 309a, MME B deletes the saved ProSe service information of the UE; in addition, other flows of the corresponding TAU procedure may also be continuously executed.
The triggering MME B determines whether the ProSe service information of the UE is stored thereon, or may be executed after the MME B receives a location cancellation message sent by a user Server (HSS) in the TAU procedure.
304b, MME a determines whether the UE ProSe service information is stored thereon, if so, performs the subsequent steps 305b-306b, otherwise, continues to perform other flows of the corresponding TAU procedure.
305B, MME A sends UE context release message containing UE identity to eNodeB B. The specific UE identity may be an IMSI or S-TMSI UE identity.
Specifically, MME a sends a UE context release message including a UE identity to eNodeB B, so that eNodeB B releases the context of the UE, including information such as releasing the UE identity and broadcast resources allocated to the UE.
306B, after eNodeB B successfully releases the context of the UE, it sends a UE context release complete message to MME A.
Specifically, when the context release of eNodeB B is completed, eNodeB B returns a UE context release complete message containing the UE identity to MME a.
After 306b, MME a deletes the saved ProSe service information of the UE; other flows of the corresponding TAU procedure may also continue to be performed.
310. The UE sends a ProSe resource request (ProSe resource request) message to MME a.
Specifically, when the UE determines that the eNodeB where the UE resides after cell reselection changes and there is an ongoing ProSe service on the UE, the UE may also initiate a ProSe resource request message to request to acquire a ProSe service broadcast resource.
In this embodiment, the ProSe resource request message may be a service request message including a ProSe broadcast resource request indication, or may be other Non-access stratum (NAS) signaling including the ProSe broadcast resource request indication.
311. MME A judges whether ProSe service information of UE is stored, if so, MME A stores old ECGI in UE context and executes steps 311a and 311 b; if not, step 312 is performed.
specifically, after receiving the ProSe resource request message, the MME a checks whether the ProSe service information of the UE is stored by itself, and if so, the MME a stores the old ECGI in the context of the UE and performs steps 311a and 311 b; if not, step 312 is performed directly.
311a, MME A sends UE context release message to eNodeB B.
Specifically, the MME a determines the eNodeB B according to the old ECGI value, sends a UE context release message to the eNodeB B, and releases the context of the UE on the eNodeB B, including releasing the broadcast resource allocated by the eNodeB B for the UE.
311B, eNodeB B sends a context release complete message to MME a after the release is completed.
After steps 311a and 311b are completed, MME a deletes the old ECGI, and stores the new ECGI included in the ProSe resource request message in step 310 by the UE, and MME a deletes the stored ProSe service information of the UE.
312. The MME a authenticates that ProSe service is authorized by the UE.
Specifically, before instructing the eNodeB a to allocate the ProSe broadcast resource to the UE, the MME a authenticates whether the UE is authorized to perform the ProSe service, and executes the subsequent steps after the authentication is passed.
313. The MME a sends a ProSe broadcast resource request ProSe attach resource request message to the eNodeB a.
specifically, if the MME a stores ProSe service information of the UE, and the ProSe service information includes a ProSe application ID, sending a ProSe announce resource request message to the eNodeB a to instruct the eNodeB a to allocate ProSe broadcast resources to the UE, where the ProSe broadcast resources may include a ProSe application identifier (ProSe application ID) of the current ProSe service of the UE, and optionally include broadcast resource parameter information corresponding to each ProSe application ID. If the MME changes or the terminal initially applies for the ProSe broadcast resource, in this case, the MME does not store the relevant information of the ProSe service on the UE, the ProSe application ID is obtained from another network entity, such as a ProSe function entity (ProSe function).
314. eNodeB a performs the ProSe broadcast resource allocation procedure.
315. The eNodeB a transmits an RRC connection reconfiguration message to the UE.
Specifically, eNodeB a sends the allocated ProSe broadcast resource to UE through a radio resource control protocol RRC connection configuration message. Wherein, the RRC connection configuration message includes ProSe application IDs of different ProSe services and corresponding broadcast resource parameter information.
316. the UE sends an RRC connection reconfiguration complete message to eNodeB a.
317. The eNodeB a sends a ProSe sounding resource complete message to the MME a.
Specifically, after the eNodeB a allocates the resource, a ProSe associating resource complete message is returned to the MME, where when the ProSe associating resource request message includes ProSe application ID information, the ProSe associating resource complete message may include the ProSe application ID of the resource successfully allocated by the eNodeB a, so that the MME stores the information. Optionally, the ProSe associating resource complete message may contain parameters of each ProSe application ID resource, such as bandwidth, power, time interval, etc.
Optionally, when the ProSe associating resource complete message does not include the ProSe application ID, the ProSe associating resource complete message also does not include the ProSe application ID, and the MME generates ProSe indication information after receiving the ProSe associating resource complete message, indicates that the UE has ProSe discovery service being executed, and allocates broadcast resources to the UE.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 4 is a schematic flowchart of a resource scheduling method according to a fourth embodiment of the present invention, in this embodiment, before and after a cell reselection of a UE, an eNodeB is changed, the UE resides in an eNodeB B before the cell reselection, and the UE resides in an eNodeB a after the cell reselection, as shown in fig. 4, the resource scheduling method includes:
401. the UE performs a cell reselection procedure.
402. And the UE determines that the eNodeB where the UE resides is changed before and after cell reselection.
Specifically, the UE determines whether an eNodeB change has occurred according to the received broadcast message, that is, whether an eNodeB where the UE resides before and after cell reselection has changed, and if so, performs the subsequent steps.
403. If the UE leaves the current TA list area and the UE has the ongoing ProSe service, the UE sends a TAU message containing the indication of applying for the ProSe broadcast resources to the eNodeB A which resides after the cell reselection.
Specifically, when the eNodeB where the UE resides changes, the UE may leave the TA list area where the UE currently resides in the process, so that the UE needs to perform a TAU procedure. The UE executes a normal TAU procedure, and since there is a ProSe service in operation on the UE, the UE initiates a TAU message containing an indication of applying for ProSe broadcast resources.
404. In the TAU procedure, the MME serving the UE may change, if the eNodeB a decides that the MME serving the UE does not change, it marks the MME currently attached to the UE as MME a, and performs steps 404a to 408a, otherwise, when the MME changes, it makes the source MME attached to the UE before the TAU procedure as MME B, makes the target MME reattached to the UE as MME a currently attached to the UE, and performs steps 404B to 409B.
404a, if the eNodeB a determines that the MME serving the UE is not changed, sending a TAU message including an application for ProSe broadcast resource indication to the MME a serving the UE after the eNodeB a receives the TAU message.
405a, MME A judges whether ProSe service information of the UE is stored on the MME A, if so, steps 406a-408a are executed; otherwise 408a is executed directly.
406a, MME B determines eNodeB B according to the old ECGI value and sends UE context release message carrying UE identity to eNodeB B, so that eNodeB B releases UE context, including information such as releasing UE identity and broadcast resource allocated for UE.
407a, eNodeB B releases the context of UE, and sends UE context release complete message to MME B.
408a, other flows of the TAU procedure are performed as normal procedures.
404B, if the eNodeB a determines that the MME serving the UE needs to be changed, the eNodeB a selects a new MME for the UE, and the selected MME serving the UE after the eNodeB a receives the TAU message is the MME a, before this process, the source MME to which the UE is attached is the MME B, and the eNodeB B sends the TAU message including the ProSe broadcast resource application instruction to the MME a.
405B, MME A performs the procedure of obtaining UE context from MME B.
406B, when the MME B receives the response confirmation message sent by the MME a, determining whether the MME B stores the ProSe service information of the UE, and when the MME B stores the ProSe service information of the UE, executing subsequent 407B-409B steps, otherwise, directly executing 409B.
407B, the MME B determines the eNodeB B according to the saved ECGI value, and sends a UE context release message carrying the UE identity to the eNodeB B, so that the eNodeB B releases the UE context, including information such as releasing the UE identity and broadcast resources allocated to the UE.
408B, eNodeB B releases the context of UE, and sends UE context release complete message to MME B.
409b, executing other flows of the TAU procedure according to the normal procedure.
It should be noted that the foregoing steps 404a-408a refer to steps 204a-208a in fig. 2, and the foregoing steps 404b-409b refer to steps 204b-209b in fig. 2, which are not described herein again.
410. The MME a performs a procedure that instructs the eNodeB a to allocate ProSe broadcast resources for the UE.
It should be noted that, the MME a executes a procedure of instructing the eNodeB a to allocate ProSe broadcast resources to the UE, which is specifically referred to step 210 and step 215, and is not described herein again.
411. If the UE does not leave the current TA list area and there is an ongoing ProSe service on the UE, the UE sends a ProSe resource request (ProSe resource request) message to the eNodeB a that resides after cell reselection to request to acquire a ProSe broadcast resource, and the eNodeB a sends the request message to an MME to which the UE is attached.
It should be noted that 403-410 and 411-418 are alternative and not performed sequentially.
Specifically, when the eNodeB where the UE resides changes and the current TAI of the UE does not exceed the current TAI list, that is, the UE does not need to perform a TAU procedure, and there is an ongoing ProSe service on the UE, at this time, the UE sends a ProSe resource request (ProSe resource request) message to request to acquire a ProSe broadcast resource, where the ProSe resource request message may specifically be a service request (service request) message including a ProSe broadcast resource request indication, or may be another NAS signaling including the ProSe broadcast resource request indication.
412. MME A judges whether ProSe service information of UE is stored, if so, MME A stores old ECGI in UE context and executes steps 412a and 412 b; if not, step 412 is performed.
Referring specifically to step 311, the detailed description is omitted here.
412a, MME A sends UE context release message to eNodeB B.
412B, eNodeB B sends a context release complete message to MME a after the release is completed.
413. The MME a authenticates that ProSe service is authorized by the UE.
414. MME A sends a ProSe announce resource request message to eNodeB A.
415. eNodeB a performs the ProSe broadcast resource allocation procedure.
416. The eNodeB a transmits an RRC connection reconfiguration message to the UE.
417. The UE sends an RRC connection reconfiguration complete message to eNodeB a.
418. The eNodeB a sends a ProSe sounding resource complete message to the MME a.
it should be noted that the foregoing steps 412a-418 correspond to the steps 311a-317 in fig. 3, and are not described herein again.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 5 is a schematic flow chart of a resource scheduling method according to a fifth embodiment of the present invention, where before and after a cell reselection of a UE, an eNodeB is changed, the UE resides in an eNodeB B before the cell reselection, and the UE resides in an eNodeB a after the cell reselection in this embodiment, as shown in fig. 5, the method includes:
501. the UE performs a cell reselection procedure.
502. and the UE determines that the eNodeB where the UE resides is changed before and after cell reselection.
specifically, the UE determines whether an eNodeB change has occurred according to the received broadcast message, that is, whether an eNodeB where the UE resides before and after cell reselection has changed, and if so, performs the subsequent steps.
503. If the resident eNodeBs before and after the UE cell reselection are changed and the UE has ongoing ProSe service, the UE sends a TAU message containing an indication of applying for ProSe broadcast resources to the currently resident eNodeB A.
504. eNodeB A judges whether MME serving UE changes, if MME does not change, then execute steps 504a-509 a; steps 504b-509b are performed if the MME serving the UE changes.
It should be noted that, the eNodeB a determining whether the MME serving the UE changes refers to whether the MME serving the UE changes before and after the eNodeB a receives the TAU message, that is, whether the MME to which the UE is attached changes, when the MME changes, the source MME to which the UE is attached before the TAU procedure is called MME B, and the target MME to which the UE is reattached is called MME a currently attached. If the MME is not changed, the MME to which the UE is currently attached is recorded as MME A.
504a, if the eNodeB a determines that the MME serving the UE is not changed, sending a TAU message containing an application ProSe broadcast resource indication to the current MME a serving the UE.
505a, MME A judges whether the ProSe service information of the UE is stored on the MME A, and when the ProSe service information of the UE is stored on the MME A, steps 505a-509a are executed; otherwise 509a is executed directly.
In this embodiment, the ProSe service information is information used for the ProSe service and stored by the MME, and may specifically include an eNodeB identifier for allocating a broadcast resource to the UE and a random code allocated by the MME to the UE during a resource application process, where the eNodeB identifier and the random code may constitute a ProSe resource code (ProSe resource code).
506a, the MME a determines, according to the stored eNodeB identifier, an eNodeB identifier, that is, an eNodeB B, for allocating a broadcast resource to the UE before the UE cell reselection, and sends a resource release (resource release) message carrying a ProSe resource code to the eNodeB B, so that the eNodeB B releases the ProSe broadcast resource allocated to the UE.
Optionally, a random code allocated by the MME may be used to replace the ProSe resource code in the resource release (resource release) message.
507a, eNodeB B B releases the ProSe broadcast resource matched with the ProSe resource code in the resource release message.
Specifically, the eNodeB B matches the ProSe broadcast resource on the corresponding eNodeB B and releases the matched ProSe broadcast resource based on the ProSe resource code and the correspondence between the locally stored ProSe resource code and the ProSe broadcast resource.
optionally, when the resource release (resource release) message only includes the random code, the eNodeB B matches the ProSe broadcast resource on the corresponding eNodeB B and releases the matched ProSe broadcast resource based on the random code and the correspondence between the locally stored random code and the ProSe broadcast resource.
508a, eNodeB B sends a resource release complete message to MME a, so that MME a deletes the saved ProSe service information after receiving the release complete message.
509a, other flows of the TAU procedure are executed according to the normal procedure.
504B, if the eNodeB a determines that the MME serving the UE needs to be changed, the eNodeB a selects a destination MME as a new MME for the UE, where the destination MME is referred to as MME a, the source MME to which the UE is attached before this process is MME B, and the eNodeB B sends a TAU message including an indication of applying for ProSe broadcast resources to the MME a.
505B, MME A executes the procedure of obtaining UE context from MME B.
specifically, the MME a sends a context request message to the MME B, receives a context response message containing the UE context of the MME B, and returns an MME B response acknowledgement message.
506B, when the MME B receives the response confirmation message sent by the MME A, judging whether the ProSe service information of the UE is stored on the MME B, when the ProSe service information of the UE is stored on the MME B, executing the subsequent 507B-510B steps, otherwise, directly executing 510B.
The triggering MME B determines whether the ProSe service information of the UE is stored thereon, or may be executed after the MME B receives a location cancellation message sent by a user Server (HSS) in the TAU procedure.
507B, MME B determines eNodeB identification for distributing broadcast resource for UE before cell reselection according to eNodeB identification in the stored ProSe information, namely eNodeB B B, and sends resource release (resource release) message carrying ProSe resource code to eNodeB B B, so that eNodeB B releases the ProSe broadcast resource distributed for UE, wherein the resource release (resource release) message of ProSe resource code contains
Optionally, a random code allocated by the MME may be used to replace the ProSe resource code in the resource release (resource release) message.
508B, eNodeB B releases ProSe broadcast resources.
Specifically, the eNodeB B matches the ProSe broadcast resource on the corresponding eNodeB B and releases the matched ProSe broadcast resource based on the ProSe resource code and the correspondence between the locally stored ProSe resource code and the ProSe broadcast resource.
Or, specifically, when the resource release (resource release) message only includes the random code, the eNodeB B matches the ProSe broadcast resource on the corresponding eNodeB B and releases the matched ProSe broadcast resource based on the random code and the correspondence between the locally stored random code and the ProSe broadcast resource.
509B, the eNodeB B sends a resource release complete message to the MME B, so that the MME B deletes the saved ProSe service information after receiving the message.
510b, other flows of the TAU procedure are performed as normal.
511. And the MME A authenticates that the ProSe service is authorized through the UE and instructs the eNodeB A to distribute broadcast resources for the UE.
specifically, before instructing the eNodeB a to allocate the ProSe broadcast resource to the UE, the MME a authenticates whether the UE is authorized to perform the ProSe service, and executes the subsequent steps after the authentication is passed. The MME allocates a new random code to the UE, and the new random code and the identity of the eNodeB A to which the current UE is attached can form a new ProSe resource code.
512. MME A sends a ProSe uplink resource request message carrying the ProSe resource code allocated for UE to eNodeB A.
Specifically, the MME a sends a ProSe associating resource request to the eNodeB a to instruct the eNodeB a to allocate broadcast resources for the UE ProSe, where the ProSe resource request includes a ProSe resource code newly allocated by the MME to the UE, the ProSe resource code includes an identifier of the eNodeB a, and the MME a is a random code newly generated by the UE.
Optionally, the ProSe attach resource request message may also be sent to eNodeB a by replacing the ProSe resource code with a random code newly allocated by the MME.
513. eNodeB a performs the ProSe broadcast resource allocation procedure.
specifically, the eNodeB a executes a resource allocation process, and stores a corresponding relationship between the ProSe resource code and the resource allocation for the UE, so that when the broadcast resource used by the UE needs to be released subsequently, the MME a can match the eNodeB to the broadcast resource used by the UE and release the resource through the ProSe resource code.
optionally, when the ProSe associating resource request message includes a random code newly generated by the MME a for the UE, the eNodeB a executes a resource allocation process, and stores a correspondence between the random code and a resource allocated to the UE, so that the MME a may match the eNodeB to the broadcast resource used by the UE and release the resource through the random code when the broadcast resource used by the UE needs to be subsequently released.
514. The eNodeB a transmits an RRC connection reconfiguration message to the UE.
Referring specifically to step 213, further description is omitted here.
515. After receiving the RRC connection reconfiguration message, the UE sends an RRC connection reconfiguration complete message to the eNodeB a.
Referring specifically to step 214, further description is omitted here.
516. The eNodeB a sends a ProSe sounding resource complete message to the MME a.
Specifically, after the eNodeB a allocates resources, a ProSe unknown resource complete message is returned to the MME a to notify the MME a of: the ProSe broadcast resource allocation is successful so that the MME a saves the eNodeB a identity and the random code generated for the UE in step 511.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 6 is a schematic flow chart of another resource scheduling method according to a sixth embodiment of the present invention, where before and after a cell reselection of a UE, an eNodeB is changed, the UE resides in an eNodeB B before the cell reselection, and the UE resides in an eNodeB a after the cell reselection in this embodiment, as shown in fig. 6, the method includes:
601. The UE performs a cell reselection procedure.
602. And the UE determines that the eNodeB where the UE resides is changed before and after cell reselection.
Referring specifically to step 302, the detailed description is omitted here.
603a, if the current tracking area identity TAI of the UE does not belong to the current tracking area TA list, the UE needs to initiate a TAU request message, that is, the UE sends a TAU message to the eNodeB a where the UE resides after cell reselection.
specifically, the eNodeB where the UE resides changes, and in this process, the UE may leave the TA list area where the UE currently resides, so that the UE needs to perform a TAU procedure.
603b, eNodeB a sends TAU message to MME a.
specifically, the UE performs a normal TAU procedure, in which the MME to which the UE attaches may be changed, and when the MME is changed, the source MME to which the UE attaches before the TAU procedure is called MME B, and the target MME to which the UE reattaches is called MME a to which the UE is currently attached, and performs 604a-611 a. If the MME is not changed, the MME to which the UE is currently attached is considered as MME A, and the steps are directly executed 604b-608 b.
604a, MME A sends a context request message to MME B.
referring specifically to step 304a, the details are not repeated here.
605a, MME B sends context response message to MME A.
Referring specifically to step 305a, the details are not repeated here.
606a, MME A sends Response acknowledgement message to MME B.
Referring specifically to step 306a, further description is omitted here.
607a, MME B determines that the ProSe service information of UE is stored.
specifically, when the MME B receives the Response acknowledge message, it determines whether the UE ProSe service information is stored thereon, and if so, performs the following steps 608a-611 a. Otherwise, step 611a is directly executed, so as to continue to execute the other flows of the corresponding TAU procedure.
In this embodiment, the ProSe service information is information used for the ProSe service and stored by the MME, and may specifically include an eNodeB identifier for allocating a broadcast resource to the UE and a random code allocated by the MME B to the UE during a resource application process, where the eNodeB identifier and the random code may constitute a ProSe resource code (ProSe resource code).
608a, MME B determines, according to the eNodeB identifier in the saved ProSe information, the eNodeB identifier that allocates the broadcast resource for the UE before cell reselection, that is, eNodeB B, and sends a resource release (resource release) message carrying the ProSe resource code to eNodeB B, so that eNodeB B releases the ProSe broadcast resource allocated for the UE.
Optionally, the ProSe resource code may be replaced by a random code allocated by the MME B in the resource release (resource release) message.
609a, eNodeB B releases the ProSe broadcast resource.
specifically, the eNodeB B matches the ProSe broadcast resource on the corresponding eNodeB B and releases the matched ProSe broadcast resource based on the ProSe resource code and the correspondence between the locally stored ProSe resource code and the ProSe broadcast resource.
Optionally, when the resource release (resource release) message includes a random code, the eNodeB B matches the ProSe broadcast resource on the eNodeB B and releases the matched ProSe broadcast resource based on the random code and the correspondence between the locally stored random code and the ProSe broadcast resource.
610a, eNodeB B sends a resource release complete (resource release complete) message to MME B, so that MME B deletes the saved ProSe service information after receiving the resource release complete message.
611a, other flows of the TAU procedure are performed according to the normal procedure.
604b, MME a determines whether ProSe service information of the UE is stored thereon, if so, performs subsequent steps 605b-608b, otherwise, directly performs step 608 b.
Specifically, when the MME a receives the Response acknowledge message, it determines whether the UE ProSe service information is stored thereon, and if so, performs the following steps 605b-608 b. Otherwise, step 608b is executed directly to continue executing other flows of the corresponding TAU procedure.
in this embodiment, the ProSe service information stored in the MME a is information used for the ProSe service and stored by the MME, and specifically may include an eNodeB identifier for allocating a broadcast resource to the UE and a random code allocated by the MME a to the UE in a resource application process. Wherein the eNodeB identification and the random code constitute a ProSe resource code (ProSe resource code).
605B, the MME a determines, according to the eNodeB identifier in the saved ProSe information, an eNodeB identifier that allocates a broadcast resource for the UE before cell reselection, that is, an eNodeB B, and sends a resource release (resource release) message carrying a ProSe resource code to the eNodeB B, so that the eNodeB B releases the ProSe broadcast resource allocated for the UE.
optionally, the resource release (resource release) message may further replace the ProSe resource code carried in the resource release (resource release) message with a random code allocated by the MME a.
606B, eNodeB B releases the ProSe broadcast resource.
Specifically, the eNodeB B matches the ProSe broadcast resource on the corresponding eNodeB B and releases the matched ProSe broadcast resource based on the ProSe resource code and the correspondence between the locally stored ProSe resource code and the ProSe broadcast resource.
optionally, when the resource release (resource release) message includes a random code, the eNodeB B matches the ProSe broadcast resource on the eNodeB B and releases the matched ProSe broadcast resource based on the random code and the correspondence between the locally stored random code and the ProSe broadcast resource.
607B, eNodeB B B sends resource release complete message to MME A, so as to delete the saved ProSe service information after MME A receives resource release complete message.
608b, other flows of the TAU procedure are performed as normal procedures.
612. The UE sends a ProSe resource request message to the MME A to request to acquire ProSe broadcast resources.
referring specifically to step 310, further description is omitted here.
613. MME A judges whether ProSe service information of UE is stored, if so, steps 613a and 613b are executed; if not, step 614 is performed.
Specifically, when the MME a receives the ProSe resource request message, it determines whether the ProSe service information of the UE is stored thereon, and if so, executes steps 613a and 613 b; if not, step 614 is performed.
613a, MME A sends resource release message according to eNodeB indicated by eNodeB identification in the saved ProSe information.
The resource release message contains the saved ProSe resource code, so that the eNodeB B releases the ProSe broadcast resource matched with the ProSe resource code according to the correspondence between the locally stored ProSe resource code and the ProSe broadcast resource.
Optionally, the resource release message includes a stored random code, so that the eNodeB B releases the ProSe broadcast resource matched with the random code according to a correspondence between the locally stored random code and the ProSe broadcast resource.
613B, eNodeB B sends resource release complete message to MME A, so that MME A deletes the saved ProSe service information after receiving the resource release complete message.
614. and the MME A authenticates that the ProSe service is authorized through the UE and instructs the eNodeB A to distribute broadcast resources for the UE.
Specifically, before instructing the eNodeB a to allocate the ProSe broadcast resource to the UE, the MME authenticates whether the UE is authorized to perform the ProSe service, and executes the subsequent steps after the authentication is passed. The MME allocates a new random code to the UE, and the new random code and the identity of the eNodeB A to which the current UE is attached can form a new ProSe resource code.
615. MME A sends a ProSe uplink resource request message carrying the ProSe resource code allocated for UE to eNodeB A.
Specifically, the MME a sends a ProSe associating resource request to the eNodeB a to instruct the eNodeB a to allocate broadcast resources for the UE ProSe, where the ProSe resource request includes a ProSe resource code newly allocated by the MME a for the UE, the ProSe resource code includes an identifier of the eNodeB a, and a random code newly generated by the MME a for the UE.
optionally, the ProSe reporting resource request message may also be replaced with a random code newly generated by the MME a for the UE.
616. eNodeB a performs the ProSe broadcast resource allocation procedure.
Specifically, the eNodeB a executes a resource allocation process, and stores a corresponding relationship between the ProSe resource code and the resource allocation for the UE, so that when the broadcast resource used by the UE needs to be released subsequently, the MME a can match the eNodeB a to the broadcast resource used by the UE and release the resource through the ProSe resource code.
optionally, when the ProSe associating resource request message includes a random code newly generated by the MME a for the UE, the eNodeB a executes a resource allocation process, and stores a correspondence between the random code and a resource allocated to the UE, so that the MME a may match the eNodeB a to the broadcast resource used by the UE and release the resource through the random code when the broadcast resource used by the UE needs to be subsequently released.
617. The eNodeB a transmits an RRC connection reconfiguration message to the UE.
referring specifically to step 213, further description is omitted here.
618. After receiving the RRC connection reconfiguration message, the UE sends an RRC connection reconfiguration complete message to the eNodeB a.
referring specifically to step 214, further description is omitted here.
619. The eNodeB a sends a ProSe sounding resource complete message to the MME a.
Specifically, after the eNodeB a allocates the resource, a ProSe unknown resource complete message is returned to the MME a to notify the MME a that the ProSe broadcast resource allocation is successful, so that the MME a stores the eNodeB a identifier and the random code generated for the UE in step 614.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 7 is a schematic flowchart of a resource scheduling method according to a seventh embodiment of the present invention, in this embodiment, before and after a cell reselection of a UE, an eNodeB is changed, the UE resides in an eNodeB B before the cell reselection, and the UE resides in an eNodeB a after the cell reselection, as shown in fig. 7, the method includes:
701. The UE performs a cell reselection procedure.
702. And the UE determines that the eNodeB where the UE resides is changed before and after cell reselection.
Specifically, the UE determines whether an eNodeB change has occurred according to the received broadcast message, that is, whether an eNodeB where the UE resides before and after cell reselection has changed, and if so, performs the subsequent steps.
703. If the UE leaves the current TA list area and the UE has the ongoing ProSe service, the UE sends a TAU message containing the indication of distributing the ProSe broadcast resources to the eNodeB A which resides after the cell reselection.
Referring specifically to step 403, the details are not repeated here.
704. In the process, the MME serving the UE may be changed, if the eNodeB a decides that the MME serving the UE is not changed, it records the MME currently attached to the UE as MME a, and steps 704a to 709a, otherwise, when the MME is changed, it makes the source MME attached to the UE before the TAU procedure as MME B, makes the target MME reattached to the UE as MME a currently attached to the UE, and performs steps 704B to 710B.
704a, if the eNodeB a determines that the MME serving the UE has not changed, sending a TAU message containing an application ProSe broadcast resource indication to the current MME a serving the UE.
705a, MME A judges whether the ProSe service information of the UE is stored on the MME A, and when the ProSe service information of the UE is stored on the MME A, steps 705a-709a are executed; otherwise 709a is executed directly.
706a, MME a determines, according to the stored eNodeB identifier, an eNodeB identifier, that is, eNodeB B, for allocating broadcast resources to the UE before the UE cell reselection, and sends a resource release message carrying a ProSe resource code to eNodeB B, so that eNodeB B releases the ProSe broadcast resources allocated to the UE.
707a, eNodeB B releases ProSe broadcast resource matched with ProSe resource code in resource release message.
708a, eNodeB B sends resource release complete message to MME A.
709a, other flows of the TAU procedure are executed according to the normal procedure.
It should be noted that the foregoing steps 704a-709a correspond to the same processes as the steps 504a-509a in fig. 5, and are not described herein again.
704B, if the eNodeB a determines that the MME serving the UE needs to be changed, the eNodeB a selects a destination MME as a new MME for the UE, which is referred to herein as MME a, before this process, the source MME to which the UE is attached is MME B, and the eNodeB B sends a TAU message including an indication of applying for ProSe broadcast resources to the MME a.
705B, MME A performs the procedure of obtaining UE context from MME B.
706B, when MME B receives the response confirmation message sent by MME A, judging whether it stores the ProSe service information of the UE, when MME B stores the ProSe service information of the UE, executing the following 707B-710B steps, otherwise, directly executing 710B.
707B, the MME B determines, according to the eNodeB identifier in the saved ProSe information, an eNodeB identifier that allocates broadcast resources for the UE before cell reselection, that is, the eNodeB B, and sends a resource release message carrying a ProSe resource code to the eNodeB B, so that the eNodeB B releases the ProSe broadcast resources allocated for the UE.
708B, eNodeB B releases the ProSe broadcast resource matched with the ProSe resource code in the resource release message.
709B, eNodeB B sends resource release complete message to MME B.
710b, other flows of the TAU procedure are performed as normal procedures.
It should be noted that the foregoing steps 704b-710b correspond to the same processes in the steps 504b-510b in fig. 5, and are not described herein again.
711. The MME a performs a procedure that instructs the eNodeB a to allocate ProSe broadcast resources for the UE.
It should be noted that, the MME a executes the procedure of instructing the eNodeB a to allocate the ProSe broadcast resource to the UE, which is specifically referred to step 511 and 516, and is not described herein again.
In addition, in this embodiment, if the UE does not leave the TA list area where the UE is currently located and there is an ongoing ProSe service on the UE, the UE sends a ProSe resource request message to the eNodeB a where the UE resides after cell reselection to request to acquire a ProSe broadcast resource, and the eNodeB a sends the request message to the MME a where the UE is currently attached. See step 411 for details, which are not described herein. Then, the same steps as 612-619 are performed, which is not described herein.
in the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 8 is a schematic flow chart of a resource scheduling method according to an eighth embodiment of the present invention, where before and after a cell reselection of a UE, an eNodeB is changed, the UE resides in an eNodeB B before the cell reselection, and the UE resides in an eNodeB a after the cell reselection in this embodiment, as shown in fig. 8, the method includes:
801. The UE performs a cell reselection procedure.
802. And the UE determines that the eNodeB where the UE resides is changed before and after cell reselection.
Specifically, the UE determines whether an eNodeB change has occurred according to the received broadcast message, that is, whether an eNodeB where the UE resides before and after cell reselection has changed, and if so, performs the subsequent steps.
803. The UE interacts with the MME.
specifically, the UE sends a service request (service request) message to the MME, so that the UE enters an RRC CONNECTED (RRC _ CONNECTED) state from an IDLE (IDLE) state, and thereafter the UE and the network side entity perform a standard service request procedure.
804. The UE sends a ProSe Discovery Resource Request (ProSe Discovery Resource Request) message to eNodeB a.
The ProSe Discovery Resource Request message is used for requesting to acquire ProSe broadcast resources, and carries an identity of the UE, where the identity may be an S-TMSI.
805. After receiving the ProSe Discovery Resource Request message sent by the UE, the eNodeB a executes a Resource allocation process, and stores a corresponding relationship between the identification information of the UE and the allocated ProSe broadcast Resource, and even if the UE enters an idle state, the eNodeB a still stores the corresponding relationship, so that the eNodeB a can match the corresponding ProSe broadcast Resource information according to the identification of the UE and release the Resource when the MME initiates Resource release in the following. After eNodeB a successfully allocates resources, eNodeB ba sends an RRC connection reconfiguration (RRC connection reconfiguration) message to UE, where the RRC connection reconfiguration message includes broadcast resource information allocated for UE.
it should be noted that the premise of allocating ProSe broadcast resources to the UE by eNodeB a is that the UE has obtained ProSe authorization, i.e. the UE is allowed to perform ProSe services.
806. And after receiving the RRC connection reconfiguration message, the UE returns an RRC connection reconfiguration completion message to the eNodeB A, which indicates that the UE successfully receives the ProSe broadcast resource allocated to the UE by the eNodeB A.
807. And if the eNodeB A receives the RRC connection reconfiguration finishing message returned by the UE, sending a ProSe Discovery Resource Allocation Success Notification (ProSe Discovery Resource Allocation Success Notification) message to the MME, and indicating the eNodeB to successfully allocate the ProSe broadcast resources to the MME.
In addition, if the eNodeB a does not receive the RRC connection reconfiguration complete message returned by the UE, or the eNodeB a does not successfully allocate ProSe broadcast resources for ProSe broadcast to the UE, the eNodeB a sends a ProSe Discovery Resource Allocation failure Notification (ProSe Discovery Resource Allocation failure Notification) message to the MME, and indicates to the MME that the eNodeB does not successfully allocate ProSe broadcast resources to the UE.
The ProSe Discovery Resource Allocation Success Notification or the ProSe Discovery Resource Allocation failure Notification message includes an identity of the UE, and the identity may be S-TMSI.
808. the MME receives a ProSe Discovery Resource Allocation Success Notification message or a ProSe Discovery Resource failure Notification message sent by the eNodeB A, and judges whether the ProSe service information of the UE is stored on the MME, wherein the ProSe service information indicates that the UE is executing the ProSe broadcast service and distributes the ProSe broadcast resources for the UE. If so, the subsequent steps are performed, otherwise, step 812 is performed directly.
809. And the MME determines an old eNodeB B B for distributing broadcast resources for the UE according to the eNodeB identifier in the stored ProSe service information, and sends a Resource Release message to the eNodeB B, wherein the Resource Release message contains the identifier information of the UE, and the identifier information of the UE can be S-TMSI.
810. And after receiving the Resource Release message sent by the MME, the eNodeB B matches the ProSe broadcast resources distributed for the UE according to the identification information of the UE and executes the ProSe broadcast Resource Release process.
811. after eNodeB B releases ProSe broadcast resources, Resource Release Complete information is returned to MME, MME deletes the saved ProSe service information of UE after receiving the ProSe service information, and deletes the saved old eNodeB identification for allocating broadcast resources for UE.
812. The MME returns an acknowledgement message corresponding to the notification message in step 807 to eNodeB a.
Specifically, before returning the confirmation message:
when MME receives ProSe Discovery Resource Allocation Success Notification, MME creates new ProSe service information for UE, indicates that the UE is executing ProSe broadcast service and has allocated ProSe broadcast resources for the UE, MME stores the ProSe service information and stores eNodeB A identification information of allocated broadcast resources.
When MME receives ProSe Discovery Resource information Notification message, if MME also stores ProSe service information, the ProSe service information is deleted, eNodeB identification information for distributing broadcast resources is deleted, and confirmation message is returned to eNodeB A.
in the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 9 is a schematic flowchart of another resource scheduling method according to a ninth embodiment of the present invention, where before and after a cell reselection of a UE, an eNodeB is changed, the UE resides in an eNodeB B before the cell reselection, and the UE resides in an eNodeB a after the cell reselection in this embodiment, as shown in fig. 9, the method includes:
901. The UE performs a cell reselection procedure.
902. And the UE determines that the eNodeB where the UE resides is changed before and after cell reselection.
Specifically, the UE determines whether an eNodeB change has occurred according to the received broadcast message, that is, whether an eNodeB where the UE resides before and after cell reselection has changed, and if so, performs the subsequent steps.
903. the UE interacts with the MME.
And the UE sends a service request to the MME, so that the UE enters an RRC (radio resource control) connection state from an idle state, and the UE and the network side entity execute a standard service request process.
904. The UE sends a ProSe Discovery Resource Request message to eNodeB a, where the ProSe Discovery Resource Request message carries an identity of the UE, and the identity may be an S-TMSI.
wherein, the ProSe Discovery Resource Request message is used for requesting to acquire the ProSe broadcast resources.
905. After receiving the ProSe Discovery Resource Request message sent by the UE, the eNodeB a executes a ProSe broadcast Resource allocation process, and even if the UE enters an idle state, the eNodeB a still stores an identifier corresponding to the ProSe broadcast Resource allocated to the UE, so that when the MME initiates release of the ProSe broadcast Resource subsequently, the eNodeB a can match the ProSe broadcast Resource with the identifier corresponding to the ProSe broadcast Resource and release the ProSe broadcast Resource. When the eNodeB a successfully allocates resources, the eNodeB a sends an RRC connection reconfiguration message to the UE, where the RRC connection reconfiguration message includes broadcast resources allocated to the UE.
It should be noted that the premise of the eNodeB a allocating resources to the UE is that the UE has obtained ProSe authorization, i.e. the UE is allowed to perform ProSe services.
906. And after receiving the RRC connection reconfiguration message, the UE returns an RRC connection reconfiguration completion message to the eNodeB A, which indicates that the UE successfully receives the ProSe broadcast resource allocated to the UE by the eNodeB A.
907a, after receiving the RRC connection reconfiguration complete message returned by the UE, the eNodeB a sends a ProSe Discovery Resource Allocation Success Notification message to the MME, and indicates the eNodeB to successfully allocate ProSe broadcast resources to the UE.
907b, if the eNodeB a does not receive the RRC connection reconfiguration complete message returned by the UE, or the eNodeB a does not successfully allocate resources for broadcasting to the UE, the eNodeB a sends a ProSe Discovery Resource Allocation failure Notification message to the MME, and indicates to the MME that the eNodeB does not successfully allocate ProSe broadcast resources to the UE.
It should be noted that the ProSe Discovery Resource Allocation Success Notification or the ProSe Discovery Resource Allocation failure Notification message includes an identity of the UE, and the identity may be S-TMSI.
908. And the MME receives a ProSe Discovery Resource Success Notification or a ProSe Discovery Resource failure Notification message sent by the eNodeB A, judges whether the ProSe service information of the UE is stored on the MME, executes the subsequent steps if the ProSe service information is stored on the ProSe service Notification or directly executes the step 912 if the ProSe service information is stored on the ProSe service Notification or not.
In this embodiment, the ProSe service information includes a random code and an eNodeB identifier, which are stored in the MME and allocated by the MME for the ProSe service of the UE, and the eNodeB identifier and the random code may constitute a ProSe resource code. The ProSe service information is used to indicate that ProSe broadcast resources have been allocated for the UE.
It should be noted that before the UE cell is reselected, the eNodeB B allocates resources to the UE cell, so that the MME generates and stores second ProSe service information, where the service information includes an eNodeB B identifier and a random code that the MME randomly generates for the UE. After cell reselection, eNodeB A distributes broadcast resources for the UE, at the moment, MME generates and stores first ProSe service information, and the information comprises eNodeB A identification and random codes randomly generated by MME at the moment.
909. And the MME determines an old eNodeB B B for distributing broadcast resources for the UE according to the eNodeB identifier in the stored ProSe Resource codes, and sends a Resource Release message to the eNodeB B B, wherein the Resource Release message contains the eNodeB identifier ProSe Resource codes which are stored in the MME and comprise random codes.
Optionally, only the random code allocated by the MME to the UE may be included in the Resource Release message.
910. And after receiving the Resource Release message sent by the MME, the eNodeB B executes the ProSe Release process.
specifically, the eNodeB B matches the Resource corresponding to the random code according to the random code in the ProSe Resource code in the Resource Release message or the random code carried in the Resource Release message, and releases the corresponding Resource.
911. After eNodeB B releases resources, Resource Release Complete information is returned to MME, and the MME deletes the saved ProSe service information of UE after receiving the information.
912. The MME returns the confirmation message of the notification message in step 907 to the eNodeB A.
Specifically, before returning the confirmation message:
when MME receives ProSe Discovery Resource Allocation Success Notification, MME creates new ProSe service information for UE, namely MME allocates new random code for UE, MME stores the random code and stores the identification information of eNodeB (eNodeB A) which allocates broadcast Resource, and the random code and the identification information of eNodeB A can form ProSe Resource code. The MME carries the ProSe resource code or only carries the random code in the confirmation message returned to the eNodeB A, so that the eNodeB A stores the corresponding relation between the ProSe resource code or the random code and the resource distributed by the eNodeB A for the UE.
When MME receives ProSe Discovery Resource information Notification message, if MME also stores ProSe service information, the ProSe service information is deleted, eNodeB B identification information for distributing broadcast resources is deleted, and confirmation message is returned to eNodeB A.
913. And the eNodeB A receives the confirmation message returned by the MME.
Specifically, after receiving a confirmation message of ProSe Discovery Resource Allocation Success Notification returned by the MME, the eNodeB a stores a corresponding relationship between the random code or the ProSe Resource code and the Resource allocated to the UE, and even if the UE enters an idle state, the eNodeB a still stores the corresponding relationship, so that when the MME initiates Resource release subsequently, the eNodeB a can match the corresponding Resource according to the random code or the ProSe Resource code and release the Resource.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 10 is a flowchart illustrating a resource scheduling method according to a tenth embodiment of the present invention, including:
1001. The MME receives the first message.
The first message is sent by User Equipment (UE) when the target base station (eNodeB) where the user equipment resides is different from a source eNodeB where the user equipment resides before cell reselection after cell reselection; the first message is used for applying proximity service ProSe broadcast resources for the UE.
1002. And the MME generates a ProSe resource code corresponding to the UE.
Wherein the ProSe resource code comprises: a randomly generated random code.
1003. The method comprises the steps that an MME sends a ProSe broadcast resource allocation request containing a ProSe resource code to a target eNodeB of UE, so that after the target eNodeB allocates the ProSe broadcast resource to the UE according to the indication of the ProSe broadcast resource allocation request, the corresponding relation between the ProSe resource code and the ProSe broadcast resource allocated to the UE is established.
and the corresponding relation is used for releasing the ProSe broadcast resource corresponding to the ProSe resource code by the target eNodeB according to the ProSe resource code.
Further, the ProSe resource code further comprises: an eNodeB identity of a destination eNodeB where the UE resides when generating the ProSe resource codes.
Based on this, after the MME receives the first message, the method further includes:
if the MME determines that the MME attached to the UE before cell reselection is the self and stores the ProSe service information which is corresponding to the UE and contains the ProSe resource codes, the MME sends a resource release message containing the stored ProSe resource codes to eNodeBs indicated by eNodeB identification in the stored ProSe resource codes, namely the eNodeBs attached to the UE before cell reselection; the ProSe service information is used to indicate that the UE has allocated ProSe broadcast resources corresponding to ProSe resource codes.
And if the MME determines that the MME attached to the UE cell before reselection is not the self MME, executing a TAU flow.
The method provided by this embodiment further includes:
And when the MME receives a response confirmation message in the TAU process and stores the ProSe service information which is corresponding to the UE initiating the TAU process and contains the ProSe resource codes, the MME sends a resource release message containing the stored ProSe resource codes to the eNodeB indicated by the eNodeB identifier in the stored ProSe resource codes. The eNodeB is the eNodeB to which the UE attaches before cell reselection.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 11 is a flowchart of another resource scheduling method according to an eleventh embodiment of the present invention, including:
1101. the MME receives the first message.
The first message is sent by User Equipment (UE) when the target base station (eNodeB) where the user equipment resides is different from a source eNodeB where the user equipment resides before cell reselection after cell reselection; the first message is used for applying proximity service ProSe broadcast resources for the UE.
1102. And the MME sends a ProSe broadcast resource allocation request containing the identity of the UE to a target eNodeB of the UE so that the target eNodeB establishes a corresponding relation between the identity of the UE and the ProSe broadcast resources allocated to the UE after allocating the ProSe broadcast resources to the UE according to the indication of the ProSe broadcast resource allocation request.
And the corresponding relation is used for releasing the ProSe broadcast resource corresponding to the UE identifier by the target eNodeB according to the UE identifier.
Further, after the MME receives the first message, the method further includes:
If the MME determines that the MME attached to the UE cell before reselection is the self and stores the ProSe service information corresponding to the UE, the MME sends a context release message to the source eNodeB so that the source eNodeB releases the context of the UE; the ProSe service information is used to indicate that the UE has allocated ProSe broadcast resources.
Further, the ProSe broadcast resource allocation request further comprises: an identity of each ProSe service being executed by the UE; the identifier of the ProSe service is used for the target eNodeB to allocate ProSe broadcast resources corresponding to the identifier of the ProSe service to the UE.
Based on this, the ProSe service information is further used to indicate the ProSe broadcast resource corresponding to the identifier of the ProSe service allocated to the UE.
further, after the MME receives the first message, the method further includes: and if the MME determines that the MME attached to the UE cell before reselection is not the self MME, executing a TAU flow.
The method provided by this embodiment further includes:
When the MME receives a response confirmation message in the TAU process and stores the ProSe service information corresponding to the UE initiating the TAU process, the MME sends a context release message to an eNodeB indicated by the global cell identifier (ECGI) value corresponding to the UE initiating the TAU process, so that the eNodeB indicated by the ECGI value releases the context of the UE initiating the TAU process.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 12 is a flowchart illustrating a resource scheduling method according to a twelfth embodiment of the present invention, where on the basis of the embodiment shown in fig. 11, the method includes:
1201. The MME receives the authentication message.
The verification message is sent by a target base station eNodeB where User Equipment (UE) resides after cell reselection after receiving a first message, wherein the first message is sent by the UE when the target eNodeB where the UE resides after cell reselection is different from a source eNodeB where the target eNodeB where the UE resides before cell reselection; the verification message is used for requesting verification whether proximity service ProSe broadcast resources can be allocated to the UE.
1202. and if the verification is passed, the MME generates a ProSe resource code corresponding to the UE.
Wherein the ProSe resource code comprises: a randomly generated random code.
1203. The MME sends a ProSe broadcast resource allocation request containing a ProSe resource code to a target eNodeB of the UE.
Specifically, the MME sends a ProSe broadcast resource allocation request including a ProSe resource code to the destination eNodeB of the UE, so that the destination eNodeB establishes a correspondence between the ProSe resource code and the ProSe broadcast resource allocated to the UE after allocating the ProSe broadcast resource to the UE according to the indication of the ProSe broadcast resource allocation request; the corresponding relation is used for the target eNodeB to release the ProSe broadcast resource corresponding to the ProSe resource code according to the ProSe resource code.
further, after the MME sends a ProSe broadcast resource allocation request including a ProSe resource code to the destination eNodeB of the UE, the method further includes:
And when the target eNodeB completes the distribution of the ProSe broadcast resources to the UE according to the indication of the ProSe broadcast resource distribution request, the MME generates and stores ProSe service information corresponding to the UE, wherein the ProSe service information is used for indicating that the UE has distributed the ProSe broadcast resources.
Further, the ProSe resource code further comprises: an eNodeB identity of a destination eNodeB where the UE resides when generating the ProSe resource codes.
Based on this, after the mobility management entity MME receives the authentication message, the method further includes:
If the MME stores the ProSe service information which is corresponding to the UE and contains the ProSe resource codes, the MME sends a resource release message containing the stored ProSe resource codes to eNodeBs indicated by eNodeB identifiers in the stored ProSe resource codes; the ProSe service information is used to indicate that the UE has allocated ProSe broadcast resources corresponding to ProSe resource codes.
in the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 13 is a flowchart illustrating a resource scheduling method according to a thirteenth embodiment of the present invention, as shown in fig. 13, based on the embodiment shown in fig. 11, the method includes:
1301. the MME receives the authentication message.
The verification message is sent by a target base station eNodeB where User Equipment (UE) resides after cell reselection after receiving a first message, and the first message is sent by the UE when the target eNodeB where the UE resides after cell reselection is different from a source eNodeB where the UE resides before cell reselection. A verification message for requesting verification whether proximity service ProSe broadcast resources can be allocated for the UE.
1302. And if the verification is passed, the MME sends a ProSe broadcast resource allocation request containing the identity of the UE to a target eNodeB of the UE.
Specifically, if the verification is passed, the MME sends a ProSe broadcast resource allocation request including an identifier of the UE to a destination eNodeB of the UE, so that the destination eNodeB establishes a correspondence between the identifier of the UE and the ProSe broadcast resource allocated to the UE after allocating the ProSe broadcast resource to the UE according to an indication of the ProSe broadcast resource allocation request; and the corresponding relation is used for releasing the ProSe broadcast resource corresponding to the UE identifier by the target eNodeB according to the UE identifier.
further, after the MME sends the ProSe broadcast resource allocation request including the identity of the UE to the destination eNodeB of the UE, the method further includes:
and when the target eNodeB completes the distribution of the ProSe broadcast resources to the UE according to the indication of the ProSe broadcast resource distribution request, the MME generates and stores ProSe service information corresponding to the UE, wherein the ProSe service information is used for indicating that the UE has distributed the ProSe broadcast resources.
Further, the ProSe broadcast resource allocation request further comprises: an identity of each ProSe service being executed by the UE; the identifier of the ProSe service is used for the target eNodeB to allocate ProSe broadcast resources corresponding to the identifier of the ProSe service to the UE.
Based on this, the ProSe service information is further used to indicate the ProSe broadcast resource corresponding to the identifier of the ProSe service allocated to the UE.
Further, after the MME receives the authentication message, the method further includes:
and if the ProSe service information corresponding to the UE is stored in the MME, the MME sends a resource release message containing the UE identifier to a source eNodeB of the UE.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
a fourteenth embodiment of the present invention provides a process of a resource scheduling method, including:
If the base station eNodeB where the UE resides before and after cell reselection changes and the UE has ongoing proximity service ProSe service, the UE sends a TAU message as a first message; the first message is used for applying for ProSe broadcast resources; alternatively, the first and second electrodes may be,
If the eNodeB where the UE resides before and after cell reselection is changed, the tracking area identification TAI of the UE exceeds a tracking area TA list stored locally, and the UE has ongoing ProSe service, the UE sends a TAU message as the first message; if the eNodeB where the UE resides before and after cell reselection is changed, the TAI of the UE does not exceed a TA list stored locally, and the UE has ongoing ProSe service, the UE sends out a service request message serving as the first message; alternatively, the first and second electrodes may be,
And if the eNodeBs where the UE resides before and after cell reselection are changed and the UE has ongoing ProSe service, the UE sends a service request message serving as the first message to a corresponding MME.
in the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
fig. 14 is a flowchart illustrating a resource scheduling method according to a fifteenth embodiment of the present invention, which corresponds to the embodiment of fig. 12, and includes:
1501. the eNodeB receives a proximity services ProSe broadcast resource allocation request or an authentication pass response message.
1502. allocating the ProSe broadcast resources to the User Equipment (UE) indicated by the ProSe broadcast resource allocation request or the authentication pass response message.
1503. Establishing a corresponding relation between a ProSe broadcast resource allocation request or a ProSe resource code in the authentication passing response message and the allocated ProSe broadcast resource; the corresponding relation is used for the eNodeB to release the ProSe broadcast resource corresponding to the ProSe resource code according to the ProSe resource code.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 15 is a flowchart illustrating another resource scheduling method according to a sixteenth embodiment of the present invention, which corresponds to the embodiment shown in fig. 13, and includes:
1601. The eNodeB receives a proximity services ProSe broadcast resource allocation request or an authentication pass response message.
1602. Allocating the ProSe broadcast resources to the User Equipment (UE) indicated by the ProSe broadcast resource allocation request or the authentication pass response message.
1603. Establishing a corresponding relation between the UE identification and the distributed ProSe broadcast resources; the corresponding relation is used for the eNodeB to release the ProSe broadcast resource corresponding to the UE identification according to the UE identification.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 16 is a schematic structural diagram of an MME according to a seventeenth embodiment of the present invention, as shown in fig. 16, including: a receiving module 171, a generating module 172 and a transmitting module 173.
A receiving module 171, configured to receive a notification message sent by a first eNodeB; the notification message is used for indicating whether the first eNodeB successfully allocates a first ProSe broadcast resource for the UE, and the first eNodeB is an eNodeB attached to the UE after the UE performs cell reselection;
a generating module 172, configured to, when the notification message received by the receiving module indicates that the first eNodeB successfully allocates the first ProSe broadcast resource to the UE, generate and store first ProSe service information of the UE by the MME; the first ProSe traffic information indicates that the first eNodeB has allocated the first ProSe broadcast resources for the UE.
Further, the MME further comprises:
A saving module 174 configured to save an identification of the first eNodeB that allocates the first ProSe broadcast resource for the UE.
The sending module 173 is configured to send a resource release message to the second eNodeB to enable the second eNodeB to release the second ProSe broadcast resource allocated to the UE, if the MME determines that the second ProSe service information of the UE is already stored, where the second ProSe service information is used to indicate that the second eNodeB successfully allocates the second ProSe broadcast resource to the UE; the second eNodeB is an eNodeB attached to the UE before cell reselection is performed.
Further, the saving module 174 is further configured to, when the second eNodeB successfully allocates the second ProSe broadcast resource to the UE, save an identifier of the second eNodeB that allocates the second ProSe broadcast resource to the UE;
The sending module 173 is further configured to:
and sending the resource release message to the second eNodeB according to the saved identifier of the second eNodeB, wherein the resource release message comprises the identifier of the UE.
Specifically, the first ProSe service information includes a ProSe resource code; the ProSe resource code comprises a random code and an identity of the first eNodeB;
Wherein the random code is randomly generated by the MME when the notification message indicates that the ProSe broadcast resources are successfully allocated for the UE;
the sending module 173 is further configured to send a confirmation message to the first eNodeB, where the confirmation message includes the randomly generated random code or the ProSe resource code, so that the first eNodeB generates and stores a correspondence between the random code and the first ProSe broadcast resource allocated to the UE, or generates and stores a correspondence between the ProSe resource code and the first ProSe broadcast resource allocated to the UE.
further, the sending module 173 is further configured to: and if the MME determines that third ProSe service information of the UE is stored, wherein the third ProSe service information is used for indicating that a second eNodeB allocates third ProSe broadcast resources for the UE, sending a resource release message to the second eNodeB so that the second eNodeB releases the allocated ProSe broadcast resources for the UE.
Wherein the third ProSe service information is generated and stored by the MME when the second eNodeB successfully allocates the third ProSe broadcast resource to the UE; the third ProSe service information comprises a random code randomly generated by the MME and an identifier of the second eNodeB;
The sending module 173 is further configured to send a resource release message to the second eNodeB according to the identifier of the second eNodeB included in the third ProSe service information;
The resource release message includes the random code, or the resource release message includes a ProSe resource code composed of the random code and an identifier of the second eNodeB, where the second eNodeB is an eNodeB attached before the UE cell reselection.
further, the mobility management entity MME further includes:
A deleting module 175, configured to delete the saved second ProSe service information or third ProSe service information of the UE when the receiving module receives the resource release completion message sent by the second eNodeB.
Specifically, the receiving module 171 is configured to receive a first message; the first message is sent by User Equipment (UE) when a resident target base station eNodeB is different from a resident source eNodeB before the UE cell is reselected after the UE is reselected in the cell; the first message is used for applying proximity service (ProSe) broadcast resources for the UE;
A generating module 172, connected to the receiving module 171, configured to generate a ProSe resource code corresponding to the UE;
A sending module 173 connected to the generating module 172, configured to send a ProSe broadcast resource allocation request including a ProSe resource code to a destination eNodeB of the UE, so that the destination eNodeB establishes a correspondence between the ProSe resource code and the ProSe broadcast resource allocated to the UE after allocating the ProSe broadcast resource to the UE according to an instruction of the ProSe broadcast resource allocation request; the corresponding relation is used for the target eNodeB to release the ProSe broadcast resource corresponding to the ProSe resource code according to the ProSe resource code.
Further, the ProSe resource code includes: a randomly generated random code.
Further, the ProSe resource code further comprises: an eNodeB identity of a destination eNodeB where the UE resides when generating the ProSe resource codes.
Based on this, the sending module 173 is further configured to send a resource release message including the stored ProSe resource code to an eNodeB indicated by an eNodeB identifier in the stored ProSe resource codes, if the MME determines that the MME attached to the UE cell before reselection is itself and stores ProSe service information including the ProSe resource code corresponding to the UE; the ProSe service information is used to indicate that the UE has allocated ProSe broadcast resources corresponding to ProSe resource codes.
Further, the sending module 173 is further configured to execute a TAU procedure if it is determined that the MME attached to the UE cell before reselection is not itself.
Based on this, the receiving module 171 is further configured to receive a response confirmation message in the TAU flow.
The sending module 173 is further configured to, when the receiving module receives the response acknowledgement message in the TAU procedure and stores ProSe service information containing a ProSe resource code corresponding to the UE initiating the TAU procedure, send a resource release message containing the stored ProSe resource code to an eNodeB indicated by an eNodeB identifier in the stored ProSe resource code.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 17 is a schematic structural diagram of another MME according to an eighteenth embodiment of the present invention, as shown in fig. 17, including: a receiving module 181 and a transmitting module 182.
A receiving module 181, configured to receive a first message; the first message is sent by User Equipment (UE) when a resident target base station eNodeB is different from a resident source eNodeB before the UE cell is reselected after the UE is reselected in the cell; the first message is used for applying proximity service ProSe broadcast resources for the UE.
A sending module 182, connected to the receiving module 181, configured to send a ProSe broadcast resource allocation request including an identifier of the UE to a destination eNodeB of the UE, so that the destination eNodeB establishes a correspondence between the identifier of the UE and the ProSe broadcast resource allocated to the UE after allocating the ProSe broadcast resource to the UE according to an indication of the ProSe broadcast resource allocation request; and the corresponding relation is used for releasing the ProSe broadcast resource corresponding to the UE identifier by the target eNodeB according to the UE identifier.
further, the sending module 182 is further configured to, if the MME determines that the MME attached to the UE cell before reselection is itself and stores ProSe service information corresponding to the UE, send a context release message to the source eNodeB, so that the source eNodeB releases the context of the UE; the ProSe service information is used to indicate that the UE has allocated ProSe broadcast resources.
Further, the ProSe broadcast resource allocation request further comprises: an identity of each ProSe service being executed by the UE; the identifier of the ProSe service is used for the target eNodeB to allocate ProSe broadcast resources corresponding to the identifier of the ProSe service to the UE; the ProSe service information is further configured to indicate a ProSe broadcast resource corresponding to the identifier of the ProSe service allocated to the UE.
further, the sending module 182 is further configured to execute a TAU procedure if it is determined that the MME attached to the UE cell before reselection is not the self-MME.
Based on this, the receiving module 181 is further configured to receive a response confirmation message in the TAU procedure.
The sending module 182 is further configured to, when the receiving module receives the response confirmation message in the TAU procedure and stores the ProSe service information corresponding to the UE initiating the TAU procedure, send a context release message to an eNodeB indicated by an ECGI value of a global cell identifier corresponding to the UE initiating the TAU procedure, so that the eNodeB indicated by the ECGI value releases the context of the UE initiating the TAU procedure.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
fig. 18 is a schematic structural diagram of another MME according to a nineteenth embodiment of the present invention, as shown in fig. 18, including: a receiving module 191, a generating module 192, and a transmitting module 193.
A receiving module 191 for receiving the verification message; the verification message is sent by a target base station eNodeB where User Equipment (UE) resides after cell reselection after receiving a first message, and the first message is sent by the UE when the target eNodeB where the UE resides after cell reselection is different from a source eNodeB where the target eNodeB where the UE resides before cell reselection; the verification message is used for requesting verification whether proximity service ProSe broadcast resources can be allocated to the UE.
a generating module 192, connected to the receiving module 191, configured to generate a ProSe resource code corresponding to the UE if the verification passes.
a sending module 193, connected to the generating module 192, configured to send a ProSe broadcast resource allocation request including a ProSe resource code to a destination eNodeB of the UE, so that the destination eNodeB establishes a correspondence between the ProSe resource code and the ProSe broadcast resource allocated to the UE after allocating the ProSe broadcast resource to the UE according to an instruction of the ProSe broadcast resource allocation request; the corresponding relation is used for the target eNodeB to release the ProSe broadcast resource corresponding to the ProSe resource code according to the ProSe resource code.
further, the ProSe resource code includes: a randomly generated random code.
further, the generating module 192 is further configured to, when the target eNodeB completes allocating the ProSe broadcast resource to the UE according to the indication of the ProSe broadcast resource allocation request, generate and store ProSe service information corresponding to the UE, where the ProSe service information is used to indicate that the UE has allocated the ProSe broadcast resource.
Further, the ProSe resource code further comprises: an eNodeB identity of a destination eNodeB where the UE resides when generating the ProSe resource codes.
Based on this, the sending module 193 is further configured to send a resource release message including the stored ProSe resource code to an eNodeB indicated by an eNodeB identifier in the stored ProSe resource codes, if the ProSe service information including the ProSe resource code corresponding to the UE is stored in the MME; the ProSe service information is used to indicate that the UE has allocated ProSe broadcast resources corresponding to ProSe resource codes.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
fig. 19 is a schematic structural diagram of another MME according to a twentieth embodiment of the present invention, as shown in fig. 19, including: a receiving module 2001 and a transmitting module 2002.
A receiving module 2001 for receiving the verification message; the verification message is sent by a target base station eNodeB where User Equipment (UE) resides after cell reselection after receiving a first message, and the first message is sent by the UE when the target eNodeB where the UE resides after cell reselection is different from a source eNodeB where the target eNodeB where the UE resides before cell reselection; the verification message is used for requesting verification whether proximity service ProSe broadcast resources can be allocated to the UE.
a sending module 2002, connected to the receiving module 2001, configured to send, by the MME, a ProSe broadcast resource allocation request including an identifier of the UE to a destination eNodeB of the UE if the verification passes, so that the destination eNodeB establishes a correspondence relationship between the identifier of the UE and a ProSe broadcast resource allocated to the UE after allocating the ProSe broadcast resource to the UE according to an indication of the ProSe broadcast resource allocation request; and the corresponding relation is used for releasing the ProSe broadcast resource corresponding to the UE identifier by the target eNodeB according to the UE identifier.
Further, the MME further comprises: a generating module, configured to, when the target eNodeB completes allocating the ProSe broadcast resource to the UE according to the indication of the ProSe broadcast resource allocation request, generate and store ProSe service information corresponding to the UE, where the ProSe service information is used to indicate that the UE has allocated the ProSe broadcast resource.
Further, the ProSe broadcast resource allocation request further comprises: an identity of each ProSe service being executed by the UE; the identifier of the ProSe service is used for the target eNodeB to allocate ProSe broadcast resources corresponding to the identifier of the ProSe service to the UE; the ProSe service information is further configured to indicate a ProSe broadcast resource corresponding to the identifier of the ProSe service allocated to the UE.
Further, the sending module 2002 is further configured to, if the MME stores ProSe service information corresponding to the UE, send, by the MME, a resource release message including the UE identifier to a source eNodeB of the UE.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
fig. 20 is a schematic structural diagram of an eNodeB according to a twenty-first embodiment of the present invention, as shown in fig. 20, including: a receiving module 2101, an assigning module 2102, a establishing module 2103, and a sending module 2104.
A receiving module 2101, configured to receive a ProSe discovery resource request message sent by a UE after cell reselection;
an allocating module 2102 configured to execute a procedure of allocating ProSe broadcast resources to a UE;
a sending module 2104, configured to send a ProSe broadcast resource configuration success notification to a mobility management entity MME attached to the UE when the receiving module receives an RRC connection reconfiguration complete message sent by the UE, so that the MME creates first ProSe service information for the UE, where the first ProSe service information is used to indicate that the eNodeB has allocated ProSe broadcast resources for the UE.
further, the sending module 2104 is further configured to: when the allocation module fails to allocate the ProSe broadcast resources to the UE or the UE fails to allocate the ProSe broadcast resources, sending a ProSe broadcast resource allocation failure notification to the MME, so that the MME executes a procedure of deleting allocated ProSe broadcast resources when determining that the second ProSe service information of the UE is stored.
An establishing module 2103, configured to generate and store a corresponding relationship between the ProSe broadcast resource allocated to the UE and the UE identifier;
The establishing module 2103 is further configured to, after the UE enters an idle state, the eNodeB continues to store the corresponding relationship between the ProSe broadcast resource allocated to the UE and the identifier of the UE.
further, the base station further includes:
A releasing module 2105, configured to, when the receiving module receives a resource release message including an identifier of the UE, release, according to the stored correspondence between the ProSe broadcast resource allocated to the UE and the UE identifier, a ProSe broadcast resource corresponding to the identifier of the UE in the resource release message;
the sending module 2104 is further configured to send a resource release completion message to the MME.
Further, the receiving module 2101 is further configured to:
receiving a confirmation message sent by the MME, wherein the confirmation message comprises a random code;
Or the acknowledgement message comprises a ProSe resource code; the ProSe resource code comprises the random code and an identity of the eNodeB;
The establishing module 2103 is further configured to generate and store a corresponding relationship between the ProSe broadcast resource allocated to the UE and the ProSe resource code, or a corresponding relationship between the ProSe broadcast resource allocated to the UE and the random code;
The establishing module 2103 is further configured to, after the UE enters an idle state, the eNodeB continues to store the correspondence between the ProSe broadcast resource and the ProSe resource code allocated to the UE, or the eNodeB continues to store the correspondence between the ProSe broadcast resource and the random code allocated to the UE.
Further, the release module 2105 is further configured to:
When the receiving module receives a resource release message including a ProSe resource code, releasing the ProSe broadcast resource corresponding to the ProSe resource code in the resource release message according to the stored corresponding relationship between the ProSe broadcast resource allocated to the UE and the ProSe resource code;
The sending module 2104 is further configured to send a resource release completion message to the MME;
Or, the releasing module 2105 is further configured to, when the receiving module receives the resource release message including the random code, release the ProSe broadcast resource corresponding to the random code according to the stored correspondence between the ProSe broadcast resource allocated to the UE and the random code;
the sending module 2104 is further configured to send a resource release completion message to the MME.
specifically, the receiving module 2101 is configured to receive a proximity service ProSe broadcast resource allocation request or an authentication pass response message.
an allocating module 2102, connected to the receiving module 2101, configured to allocate ProSe broadcast resources to the user equipment UE indicated by the ProSe broadcast resource allocation request or the authentication pass response message.
An establishing module 2103, connected to the allocating module 2102, configured to establish a corresponding relationship between the ProSe broadcast resource allocation request or the ProSe resource code in the authentication pass response message and the allocated ProSe broadcast resource; the corresponding relation is used for the eNodeB to release the ProSe broadcast resource corresponding to the ProSe resource code according to the ProSe resource code.
the embodiment of the present invention further provides another eNodeB including: a receiving module 2101, an assigning module 2102 and a establishing module 2103.
A receiving module 2101 is configured to receive a proximity service ProSe broadcast resource allocation request or an authentication pass response message.
An allocating module 2102 configured to allocate ProSe broadcast resources to the user equipment UE indicated by the ProSe broadcast resource allocation request or the authentication pass response message.
An establishing module 2103, configured to establish a correspondence between the UE identifier and the allocated ProSe broadcast resource; the corresponding relation is used for the eNodeB to release the ProSe broadcast resource corresponding to the UE identification according to the UE identification.
A twenty-second embodiment of the present invention further provides a UE, including:
a sending module, configured to determine that, when a base station eNodeB attached before and after cell reselection changes, a UE in an idle state interacts with a mobility management entity MME to which the UE is attached, so as to switch a state of the UE from the idle state to a radio resource control connection state; wherein the UE has the ProSe service being executed;
The sending module is further configured to send a ProSe discovery resource request message to the base station eNodeB to which the cell is attached after reselection, so as to request to acquire ProSe broadcast resources.
Specifically, the sending module may include:
A first sending unit, configured to send a TAU message serving as a first message if a base station eNodeB where user equipment UE resides before and after cell reselection changes and there is an ongoing proximity service ProSe service on the UE; the first message is used for applying for ProSe broadcast resources; alternatively, the first and second electrodes may be,
a second sending unit, configured to send a TAU message serving as the first message if an eNodeB where the UE resides before and after cell reselection changes, a tracking area identity TAI of the UE exceeds a locally stored tracking area TA list, and an ongoing ProSe service exists on the UE; if the eNodeB where the UE resides before and after cell reselection is changed, the TAI of the UE does not exceed a TA list stored locally, and the UE has ongoing ProSe service, the UE sends out a service request message serving as the first message; alternatively, the first and second electrodes may be,
A third sending unit, configured to send a service request message serving as the first message to a corresponding MME if enodebs where the UE resides before and after cell reselection change and there is an ongoing ProSe service on the UE.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
Fig. 21 is a schematic structural diagram of an MME according to a twenty-third embodiment of the present invention, as shown in fig. 22, including: a communication interface 2301, a memory 2302, and a processor 2303 connected with the memory 2302 through a bus.
the processor 2303 may be a single or multi-core central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the invention.
The memory 2303 may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory.
The memory 2303 is used to store computer-executable instructions. In particular, program code may be included in computer-executable instructions.
When the MME runs, the processor 2303 executes computer executable instructions to perform the method flows of implementing the resource scheduling methods described in the foregoing first to thirteenth embodiments.
The MME communicates with other network entities, such as UEs and enodebs, through communication interface 2301.
the embodiment of the present invention provides a computer-readable medium, which includes a computer execution instruction, so that when a processor of a computer executes the computer execution instruction, the computer executes the method flow of the resource scheduling method described in the foregoing embodiment.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
fig. 22 is a schematic structural diagram of an eNodeB according to a twenty-fourth embodiment of the present invention, as shown in fig. 22, including: a communication interface 2401, a memory 2402, and a processor 2403 connected to the memory 2402 through a bus.
Processor 2403 may be a single or multi-core central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.
The memory 2403 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory.
The memory 2403 is used to store computer-executable instructions. In particular, program code may be included in computer-executable instructions.
when the eNodeB runs, the processor 2403 runs the computer executable instruction to execute the method flow of implementing the resource scheduling method according to the fifteenth embodiment to the sixteenth embodiment.
The enodebs communicate with other network entities, such as UEs and MMEs, through communication interface 2401.
The embodiment of the present invention provides a computer-readable medium, which includes a computer execution instruction, so that when a processor of a computer executes the computer execution instruction, the computer executes the method flow of the resource scheduling method described in the foregoing embodiment.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
fig. 23 is a schematic structural diagram of a UE according to a twenty-fifth embodiment of the present invention, as shown in fig. 23, including: a communication interface 2501, a memory 2502, and a processor 2503 connected to the memory 2502 via a bus.
The processor 2503 may be a single or multi-core central processing unit, or a specific integrated circuit, or one or more integrated circuits configured to implement embodiments of the present invention.
The memory 2503 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., at least one disk memory).
The memory 2503 is used to store computer-executable instructions. In particular, program code may be included in computer-executable instructions.
When the UE runs, the processor 2503 runs a computer to execute the computer execution instruction to execute the method flow of implementing the resource scheduling method described in the foregoing fourteenth embodiment.
The UE communicates with other network entities, such as MME and eNodeB, through communication interface 2501.
The embodiment of the present invention provides a computer-readable medium, which includes a computer execution instruction, so that when a processor of a computer executes the computer execution instruction, the computer executes the method flow of the resource scheduling method described in the foregoing embodiment.
In the embodiment of the invention, when the target eNodeB resided after the cell reselection is carried out by the UE in the idle state is different from the source eNodeB resided before the cell reselection of the UE, the UE requests a network entity to acquire the ProSe broadcast resource distributed by the target eNodeB, and in addition, the source eNodeB can be triggered to release the ProSe broadcast resource distributed by the target eNodeB, thereby solving the technical problem that the UE in the prior art can broadcast the ProSe service identifier by using the special ProSe broadcast resource only when the UE is kept in a wireless resource control connection state, so that the electric quantity consumption of the UE is increased.
it should be noted that the connection state mentioned in the foregoing embodiment specifically refers to an RRC connected (RRC _ connected) state.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
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.

Claims (33)

1. a method for scheduling resources, comprising:
When User Equipment (UE) determines that base stations (eNodeB) attached before and after cell reselection are changed, the UE in an idle state interacts with a Mobility Management Entity (MME) attached to the UE so as to switch the state of the UE from the idle state to a radio resource control connection state; wherein the UE has the ProSe service being executed;
And the UE sends a ProSe discovery resource request message to a base station eNodeB attached to the reselected cell so as to request to acquire ProSe broadcast resources.
2. A method for scheduling resources, comprising:
When an eNodeB receives a ProSe discovery resource request message sent by UE after cell reselection, the eNodeB executes a process of distributing ProSe broadcast resources to the UE;
when the eNodeB receives an RRC connection reconfiguration completion message sent by the UE, sending a ProSe broadcast resource configuration success notification to a Mobility Management Entity (MME) attached to the UE, so that the MME creates first ProSe service information for the UE, wherein the first ProSe service information is used for indicating that the eNodeB allocates ProSe broadcast resources for the UE.
3. The method for scheduling resources according to claim 2, wherein the method further comprises:
And when the eNodeB fails to allocate the ProSe broadcast resources to the UE or the UE fails to allocate the ProSe broadcast resources, sending a ProSe broadcast resource allocation failure notification to the MME, so that the MME executes a process of deleting the allocated ProSe broadcast resources when judging that the second ProSe service information of the UE is stored.
4. The method of claim 2, wherein after the eNodeB performs the process of allocating ProSe broadcast resources to the UE, the method further comprises:
the eNodeB generates and stores a corresponding relation between the ProSe broadcast resources distributed to the UE and the UE identification;
And after the UE enters an idle state, the eNodeB continuously stores the corresponding relation between the ProSe broadcast resources distributed to the UE and the identifier of the UE.
5. The method according to claim 4, wherein after the eNodeB generates and stores the corresponding relationship between the ProSe broadcast resources allocated to the UE and the UE identity, the method further comprises:
When the eNodeB receives a resource release message comprising the identity of the UE, the resource release message releases the ProSe broadcast resource corresponding to the identity of the UE according to the stored corresponding relationship between the ProSe broadcast resource distributed to the UE and the identity of the UE;
and sending a resource release completion message to the MME.
6. The method of claim 2, wherein after the eNodeB performs the process of allocating ProSe broadcast resources to the UE, the method further comprises:
The eNodeB receives a confirmation message sent by the MME, wherein the confirmation message comprises a random code;
Or the acknowledgement message comprises a ProSe resource code; the ProSe resource code comprises the random code and an identity of the eNodeB;
the eNodeB generates and stores a corresponding relation between the ProSe broadcast resources distributed for the UE and the ProSe resource codes, or a corresponding relation between the ProSe broadcast resources distributed for the UE and the random codes;
and after the UE enters an idle state, the eNodeB continuously stores the corresponding relation between the ProSe broadcast resources distributed to the UE and the ProSe resource codes, or the eNodeB continuously stores the corresponding relation between the ProSe broadcast resources distributed to the UE and the random codes.
7. The method according to claim 6, wherein the eNodeB generates and stores a correspondence between the ProSe broadcast resources allocated to the UE and the ProSe resource codes, or a correspondence between the ProSe broadcast resources allocated to the UE and the random codes, and further comprises:
When the eNodeB receives a resource release message comprising ProSe resource codes, releasing the ProSe broadcast resources corresponding to the ProSe resource codes in the resource release message according to the stored corresponding relationship between the ProSe broadcast resources distributed to the UE and the ProSe resource codes; sending a resource release completion message to the MME;
Or, when the eNodeB receives a resource release message including the random code, releasing ProSe broadcast resources corresponding to the random code according to the stored correspondence between the ProSe broadcast resources allocated to the UE and the random code; and sending a resource release completion message to the MME.
8. a method for scheduling resources, comprising:
a mobility management entity MME receives a notification message sent by a first eNodeB; the notification message is used for indicating whether the first eNodeB successfully allocates a first ProSe broadcast resource for the UE, and the first eNodeB is an eNodeB attached to the UE after the UE performs cell reselection;
When the received notification message indicates that the first eNodeB successfully allocates the first ProSe broadcast resource to the UE, the MME generates and stores first ProSe service information of the UE; the first ProSe traffic information indicates that the first eNodeB has allocated the first ProSe broadcast resources for the UE.
9. The method of claim 8, wherein after the MME generates and stores the first ProSe service information of the UE, the method further comprises:
The MME maintains an identification of the first eNodeB that allocates the first ProSe broadcast resources for the UE.
10. The method of claim 8, wherein after the MME receives the notification message, the method further comprises:
the MME judges whether second ProSe service information of the UE is stored or not, wherein the second ProSe service information is used for indicating a second eNodeB to successfully allocate second ProSe broadcast resources to the UE, and if the MME determines that the second ProSe service information of the UE is stored, a resource release message is sent to the second eNodeB, so that the second eNodeB releases the second ProSe broadcast resources allocated to the UE; the second eNodeB is an eNodeB attached to the UE before cell reselection is performed.
11. The method of claim 10, wherein: when the second eNodeB successfully allocates the second ProSe broadcast resource to the UE, the MME stores the identification of the second eNodeB which allocates the second ProSe broadcast resource to the UE;
If the MME determines that the second ProSe service information of the UE is already stored, sending a resource release message to the second eNodeB, including:
and the MME sends the resource release message to the second eNodeB according to the saved identifier of the second eNodeB, wherein the resource release message comprises the identifier of the UE.
12. The method of claim 8, wherein the first ProSe service information comprises a ProSe resource code; the ProSe resource code comprises a random code and an identity of the first eNodeB;
wherein the random code is randomly generated by the MME when the notification message indicates that the ProSe broadcast resources are successfully allocated for the UE;
The method further comprises the following steps:
The MME sends a confirmation message to the first eNodeB, wherein the confirmation message comprises the randomly generated random code or the ProSe resource code, so that the first eNodeB generates and stores a corresponding relation between the random code and a first ProSe broadcast resource allocated to the UE, or generates and stores a corresponding relation between the ProSe resource code and a first ProSe broadcast resource allocated to the UE.
13. The method of claim 8, wherein after the MME receives the notification message, the method further comprises:
The MME judges whether third ProSe service information of the UE is stored or not, the third ProSe service information is used for indicating that a second eNodeB allocates third ProSe broadcast resources for the UE, and if the MME determines that the third ProSe service information of the UE is stored, resource release information is sent to the second eNodeB, so that the second eNodeB releases the allocated ProSe broadcast resources for the UE.
14. The method of claim 13, wherein the third ProSe service information is generated and stored by the MME when the second eNodeB successfully allocates the third ProSe broadcast resource to the UE; the third ProSe service information comprises a random code randomly generated by the MME and an identifier of the second eNodeB;
If the MME determines that the third ProSe service information of the UE is already stored, sending a resource release message to the second eNodeB, including:
The MME sends a resource release message to the second eNodeB according to the identifier of the second eNodeB included in the third ProSe service information;
the resource release message includes the random code, or the resource release message includes a ProSe resource code composed of the random code and an identifier of the second eNodeB, where the second eNodeB is an eNodeB attached before the UE cell reselection.
15. the method for scheduling resources according to claim 10 or 13, further comprising:
And the MME receives a resource release completion message sent by the second eNodeB and deletes the saved second ProSe service information or third ProSe service information of the UE.
16. A User Equipment (UE), comprising:
a sending module, configured to determine that, when a base station eNodeB attached before and after cell reselection changes, a UE in an idle state interacts with a mobility management entity MME to which the UE is attached, so as to switch a state of the UE from the idle state to a radio resource control connection state; wherein the UE has the ProSe service being executed;
The sending module is further configured to send a ProSe discovery resource request message to the base station eNodeB to which the cell is attached after reselection, so as to request to acquire ProSe broadcast resources.
17. A base station eNodeB, comprising:
a receiving module, configured to receive a ProSe discovery resource request message sent by a UE after cell reselection;
an allocation module for executing a process of allocating ProSe broadcast resources to the UE;
A sending module, configured to send a ProSe broadcast resource configuration success notification to a mobility management entity MME to which the UE is attached when the receiving module receives an RRC connection reconfiguration complete message sent by the UE, so that the MME creates first ProSe service information for the UE, where the first ProSe service information is used to indicate that the eNodeB has allocated ProSe broadcast resources for the UE.
18. The base station of claim 17, wherein the sending module is further configured to:
When the allocation module fails to allocate the ProSe broadcast resources to the UE or the UE fails to allocate the ProSe broadcast resources, sending a ProSe broadcast resource allocation failure notification to the MME, so that the MME executes a procedure of deleting allocated ProSe broadcast resources when determining that the second ProSe service information of the UE is stored.
19. the base station of claim 17, further comprising:
An establishing module, configured to generate and store a corresponding relationship between the ProSe broadcast resource allocated to the UE and the UE identifier;
The establishing module is further configured to, after the UE enters an idle state, the eNodeB continues to store a correspondence between ProSe broadcast resources allocated to the UE and the identifier of the UE.
20. The base station of claim 19, further comprising:
a releasing module, configured to, when the receiving module receives a resource release message including an identifier of the UE, release, according to the stored correspondence between the ProSe broadcast resource allocated to the UE and the UE identifier, a ProSe broadcast resource corresponding to the identifier of the UE in the resource release message;
The sending module is further configured to send a resource release completion message to the MME.
21. The base station of claim 17,
The receiving module is also used for
Receiving a confirmation message sent by the MME, wherein the confirmation message comprises a random code, or the confirmation message comprises a ProSe resource code; the ProSe resource code comprises the random code and an identity of the eNodeB;
an establishing module, configured to generate and store a corresponding relationship between the ProSe broadcast resource allocated to the UE and the ProSe resource code, or a corresponding relationship between the ProSe broadcast resource allocated to the UE and the random code;
The establishing module is further configured to, after the UE enters an idle state, the eNodeB continues to store a correspondence between the ProSe broadcast resource and a ProSe resource code allocated to the UE, or the eNodeB continues to store a correspondence between the ProSe broadcast resource and a random code allocated to the UE.
22. the base station of claim 21,
a releasing module, configured to release, when the receiving module receives a resource release message including a ProSe resource code, a ProSe broadcast resource corresponding to the ProSe resource code in the resource release message according to the stored correspondence between the ProSe broadcast resource allocated to the UE and the ProSe resource code;
the sending module is further configured to send a resource release completion message to the MME;
Alternatively, the first and second electrodes may be,
A releasing module, configured to release, when the receiving module receives the resource release message including the random code, a ProSe broadcast resource corresponding to the random code according to the stored correspondence between the ProSe broadcast resource allocated to the UE and the random code;
The sending module is further configured to send a resource release completion message to the MME.
23. A mobility management entity, MME, comprising:
A receiving module, configured to receive a notification message sent by a first eNodeB; the notification message is used for indicating whether the first eNodeB successfully allocates a first ProSe broadcast resource for the UE, and the first eNodeB is an eNodeB attached to the UE after the UE performs cell reselection;
A generating module, configured to, when the notification message received by the receiving module indicates that the first eNodeB successfully allocates the first ProSe broadcast resource to the UE, generate and store first ProSe service information of the UE by the MME; the first ProSe traffic information indicates that the first eNodeB has allocated the first ProSe broadcast resources for the UE.
24. The mobility management entity MME of claim 23, further comprising:
A saving module, configured to save the identifier of the first eNodeB that allocates the first ProSe broadcast resource to the UE.
25. The mobility management entity MME of claim 23, further comprising:
a sending module, configured to send a resource release message to the second eNodeB to enable the second eNodeB to release the second ProSe broadcast resource allocated to the UE, if the MME determines that the second ProSe service information of the UE is already stored, where the second ProSe service information is used to indicate that the second eNodeB successfully allocates the second ProSe broadcast resource to the UE; the second eNodeB is an eNodeB attached to the UE before cell reselection is performed.
26. The mobility management entity, MME, of claim 25, wherein: the saving module is further configured to save, when the second eNodeB successfully allocates the second ProSe broadcast resource to the UE, an identifier of the second eNodeB that allocates the second ProSe broadcast resource to the UE;
The sending module is further configured to:
and sending the resource release message to the second eNodeB according to the saved identifier of the second eNodeB, wherein the resource release message comprises the identifier of the UE.
27. The mobility management entity, MME, of claim 23, wherein the first ProSe service information comprises a ProSe resource code; the ProSe resource code comprises a random code and an identity of the first eNodeB;
wherein the random code is randomly generated by the MME when the notification message indicates that the ProSe broadcast resources are successfully allocated for the UE;
The sending module is further configured to send a confirmation message to the first eNodeB, where the confirmation message includes the randomly generated random code or the ProSe resource code, so that the first eNodeB generates and stores a correspondence between the random code and a first ProSe broadcast resource allocated to the UE, or generates and stores a correspondence between the ProSe resource code and a first ProSe broadcast resource allocated to the UE.
28. The mobility management entity MME of claim 23, wherein the sending module is further configured to: and if the MME determines that third ProSe service information of the UE is stored, wherein the third ProSe service information is used for indicating that a second eNodeB allocates third ProSe broadcast resources for the UE, sending a resource release message to the second eNodeB so that the second eNodeB releases the allocated ProSe broadcast resources for the UE.
29. The mobility management entity MME of claim 28, wherein the third ProSe service information is generated and stored by the MME when the second eNodeB successfully allocates the third ProSe broadcast resource to the UE; the third ProSe service information comprises a random code randomly generated by the MME and an identifier of the second eNodeB;
The sending module is further configured to send a resource release message to the second eNodeB according to the identifier of the second eNodeB included in the third ProSe service information;
The resource release message includes the random code, or the resource release message includes a ProSe resource code composed of the random code and an identifier of the second eNodeB, where the second eNodeB is an eNodeB attached before the UE cell reselection.
30. The mobility management entity, MME, according to claim 25 or 28, further comprising:
a deleting module, configured to delete the saved second ProSe service information or third ProSe service information of the UE when the receiving module receives the resource release completion message sent by the second eNodeB.
31. a User Equipment (UE), comprising:
The system comprises a communication interface, a memory and a processor connected with the memory through a bus;
The UE communicates with other network entities through the communication interface;
The memory is used for storing computer-executable instructions, which are executed by the processor to perform the resource scheduling method of claim 1.
32. A base station eNodeB, comprising:
The system comprises a communication interface, a memory and a processor connected with the memory through a bus;
The eNodeB communicates with other network entities or user equipment through the communication interface;
The memory is used for storing computer-executable instructions, which are executed by the processor to perform the resource scheduling method according to any one of claims 2 to 7.
33. A mobility management entity, MME, comprising:
the system comprises a communication interface, a memory and a processor connected with the memory through a bus;
the MME communicates with other network entities or user equipment through the communication interface;
The memory is used for storing computer-executable instructions, which are executed by the processor to perform the resource scheduling method of any one of claims 8 to 15.
CN201480077512.6A 2014-09-30 2014-09-30 Resource scheduling method, MME, eNodeB and UE Active CN106465343B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/087939 WO2016049849A1 (en) 2014-09-30 2014-09-30 Resource scheduling method and mme, enodeb, and ue

Publications (2)

Publication Number Publication Date
CN106465343A CN106465343A (en) 2017-02-22
CN106465343B true CN106465343B (en) 2019-12-06

Family

ID=55629276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201480077512.6A Active CN106465343B (en) 2014-09-30 2014-09-30 Resource scheduling method, MME, eNodeB and UE

Country Status (2)

Country Link
CN (1) CN106465343B (en)
WO (1) WO2016049849A1 (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8666403B2 (en) * 2009-10-23 2014-03-04 Nokia Solutions And Networks Oy Systems, methods, and apparatuses for facilitating device-to-device connection establishment
CN102202370A (en) * 2010-03-24 2011-09-28 中兴通讯股份有限公司 Pre-processing method and device for establishing radio resource control connection, and terminal
TWI631871B (en) * 2012-04-27 2018-08-01 內數位專利控股公司 Method and apparatus for supporting proximity discovery procedures
CN103686740B (en) * 2012-09-03 2016-12-21 华为技术有限公司 The method of a kind of customer equipment identification distribution, Apparatus and system
WO2014038843A1 (en) * 2012-09-04 2014-03-13 Lg Electronics Inc. Method and apparatus of providing a proximity-based service for public safety with one or more user equipments out of the cellular network coverage
KR102013805B1 (en) * 2012-12-06 2019-08-23 한국전자통신연구원 Method for providing service continuity between cellular telecommunication and device to device communication
EP2753133B1 (en) * 2013-01-08 2016-04-06 HTC Corporation Method of handling proximity service in wireless communication system
US9504090B2 (en) * 2013-01-17 2016-11-22 Lg Electronics Inc. Method and apparatus for group communication in proximity-based service
CN103974429B (en) * 2013-02-05 2018-03-16 电信科学技术研究院 A kind of path establishment method and equipment of the adjacent communication of terminal room
CN104053191B (en) * 2013-03-12 2018-03-20 电信科学技术研究院 A kind of method and apparatus for establishing adjacent communication, system
CN104066070B (en) * 2013-03-20 2018-10-26 中兴通讯股份有限公司 Terminal registration method, terminal find method, terminal and device
CN103634812B (en) * 2013-11-27 2017-03-15 西安电子科技大学 A kind of method of the communication that direct transferred with cell equipment to equipment based on user equipment relaying

Also Published As

Publication number Publication date
CN106465343A (en) 2017-02-22
WO2016049849A1 (en) 2016-04-07

Similar Documents

Publication Publication Date Title
US11641601B2 (en) Method, apparatus and device for allowing terminal to move between 4G and 5G networks
US10542454B2 (en) Control and management of reflective QoS
US10412647B2 (en) Mobility management apparatus reselection method and mobility management apparatus
CN104812070B (en) Method and equipment for maintaining and releasing UE (user Equipment) resources
CN104918299B (en) Method for supporting UE access control
US10512011B2 (en) Control node, network node, and methods performed therein
US10448297B2 (en) Network node, mobile terminal, base station and methods performed therein
RU2740787C2 (en) Base station, user equipment and method implemented with their help
KR102058954B1 (en) Method and apparatus for improving transmission efficiency in wireless communication system
WO2017045149A1 (en) Method and apparatus for releasing radio resource control (rrc) connection
US20190053037A1 (en) Method, Device, And System For Processing Migration Between Dedicated Core Networks
US11109441B2 (en) Connection release method and apparatus
TWI638576B (en) Method for redirecting terminal equipment to private network, terminal equipment and base station
CN106465343B (en) Resource scheduling method, MME, eNodeB and UE
CN115119340A (en) User equipment and execution method thereof
CN106488520B (en) Circuit domain fallback calling method and device
WO2022194194A1 (en) Method for switching network connection between multiple network connections, and user equipment
CN111543085B (en) Switching method, user equipment, network equipment and computer storage medium
CN112584548A (en) Tunnel multiplexing method and core network equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210423

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.