Detailed Description
The terms "comprises," "comprising," or any other variation thereof, in the description and claims of this application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Furthermore, the use of "and/or" in the specification and claims means that at least one of the connected objects, such as a and/or B, means that three cases, a alone, B alone, and both a and B, exist.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Embodiments of the present invention are described below with reference to the accompanying drawings. The location query method, the core network function and the location service requester provided by the embodiment of the invention can be applied to a wireless communication system. The wireless communication system may adopt a 5G system, or an Evolved Long Term Evolution (lte) system, or a subsequent Evolved communication system.
Referring to fig. 1, fig. 1 is a schematic flowchart of a location query method according to a first embodiment of the present invention, where the method is applied to a core network function, and the method includes:
step 11: receiving a location service request, wherein the location service request carries indication information of a user identifier;
the location service request is used for requesting to inquire the location information of the terminal corresponding to the user identification. The location service request may be, for example, an LCS service request message.
The indication information of the user identifier comprises: at least one user identity, or a group identity indicating a group of user identities. The number of the group identifiers may be one or more.
Step 12: if the number of the target user identifications exceeds the upper limit value, executing the position service on the first user identification in the target user identifications, and returning partial execution information, wherein the target user identifications are determined by the indication information of the user identifications, and the partial execution information comprises at least one of the following:
first indication information, where the first indication information is used to indicate at least one of information of the first user identifier and information of a second user identifier, and the second user identifier is a user identifier, except for the first user identifier, in the target user identifier;
the upper limit value is the maximum value of the user identifier of the core network function capable of executing the location service at one time.
In the embodiment of the invention, if at least one user identifier is carried in the position service request, the carried at least one user identifier is directly used as the target user identifier.
If the location service request carries a group identifier for indicating a group of user identifiers, the core network function further needs to query a member user identifier corresponding to the group identifier, and the queried member user identifier is used as the target user identifier. In this case, the number of the member user identifiers corresponding to the group identifier may be zero, one, or multiple. If zero, the location service may be stopped.
The partial execution information may be carried in a location service failure message, which may be, for example, an LCS service reject message.
The first user identification is the user identification of the target user identification which is accepted by the core network function to the position service, and the second user identification is the user identification of the target user identification which is refused by the core network function to the position service.
The first indication information may include at least one of:
information of a first user identity;
information of the second subscriber identity.
If the partial execution information includes the first indication information, and the first indication information includes information of a first user identifier, the location service requester may indirectly determine a second user identifier according to the information of the first user identifier. If the partial execution information includes the first indication information and the first indication information includes information of a second user identifier, the location service requester may directly determine the second user identifier according to the information of the second user identifier.
If the partial execution information includes the upper limit value, the location service requester may determine the number of second user identifiers that are rejected by the core network function for location service according to the upper limit value, and if the user identifiers indicated in the location service request are arranged according to a specified order and the core network function performs location service on the user identifiers according to the specified order, the location service requester determines the second user identifiers according to the determined number of second user identifiers that are rejected by the core network function for location service and the order of the user identifiers.
In the embodiment of the invention, if the number of the user identifications indicated in the position service request exceeds the upper limit value of the core network function, the core network function only executes the position service to part of the user identifications and sends part of the execution information to the position service requester, and the position service requester can determine the user identifications rejected by the core network function for the position service according to part of the execution information, so that the position service requester can quickly initiate the position query request of the rejected user identifications again and can obtain the position information of the terminal corresponding to the rejected user identifications, thereby enabling the position query service of the terminal to be faster.
The core Network Function in the embodiment of the present invention may be a gateway mobile location center, or may also be a Network Exposure Function (NEF), where the NEF is disposed between the core Network Function and the location service requester.
The location service requester in the embodiment of the present invention may be an application server, or may be a network open function.
In some embodiments of the present invention, optionally, the user identifier indicated in the first indication information may be a user identifier for performing the location service or rejecting the location service by the core network function by default. At this time, the first indication information may include only: information of the user identification. For example, the first indication information includes a user identifier 6, a user identifier 7, and a user identifier 8, at this time, after the location service requester receives the first indication information, the user identifier indicated in the first indication information is defaulted to be the user identifier of the core network function performing the location service or rejecting the location service.
In some other embodiments of the present invention, optionally, the first indication information may also include two parts of content, where the first part of content is information of a user identifier, and the second part of content is second indication information, where the second indication information is used to indicate that the user identifier in the first indication information is a user identifier executed by the core network function or refusing the location service.
In this embodiment of the present invention, the information of the user identifier may be at least one of a user identifier list and the number of user identifiers. That is, the first indication information may include at least one of:
a list of first subscriber identities for which a core network function performs location services;
the number of first user identifiers of the core network function executing the location service;
a list of second subscriber identities for which the core network function refuses location services;
the number of the second user identifiers refused the location service by the core network function.
If the user identifiers indicated in the location service request are arranged according to a specified order, and the core network function performs location service on the user identifiers according to the specified order, at this time, the first indication information may only include the number of first user identifiers for which the core network function performs location service and/or the number of second user identifiers for which the core network function rejects location service, for example, if the first indication information includes the number of second user identifiers for which the core network function rejects location service, since the location service requester may also obtain the order of the user identifiers, the second user identifier for which the core network function rejects location service may be determined according to the number of second user identifiers carried in the first indication information and the order of the plurality of user identifiers.
In this embodiment of the present invention, optionally, referring to fig. 2, before receiving the location service request, the method further includes:
step 01: receiving an upper limit value query request;
step 02: and returning the upper limit value to a requester of the upper limit value query request according to the upper limit value query request.
That is to say, the core network function may provide an upper limit value query service in addition to the location query service, so that the location service requester may query the number of the user identifiers that the core network function can perform the location service at one time before performing the location query service, and thus, when sending the location service request, the user identifier carried in the location service request does not exceed the upper limit value, thereby avoiding the situation of location service failure.
The following describes an example of a location query method according to an embodiment of the present invention in detail, taking an example in which a core network function is a location mobility server center and a location service requester is an application server.
Referring to fig. 3, a location query method according to an embodiment of the present invention includes:
step 31: the application server sends a location service request to a Gateway Mobile Location Center (GMLC), wherein the location service request carries n user identifications. The location service request may be, for example, an lcs service request message, with n being a positive integer greater than or equal to 2.
Step 32: the gateway mobile location center judges whether the number of the user identifications carried in the location service request exceeds an upper limit value.
In the embodiment of the invention, the user identifier carried in the position service request is the target user identifier.
Step 33: if the upper limit value is exceeded, the gateway mobile location center returns a location service failure message to the application server, wherein the location service failure message carries part of execution information, and the part of execution information comprises at least one of the following:
first indication information, where the first indication information is used to indicate information of a first subscriber identity and information of a second subscriber identity, where the first subscriber identity is a subscriber identity of the n subscriber identities for which the gateway mobile location center performs location service, and the second subscriber identity is a subscriber identity of the n subscriber identities for which the gateway mobile location center rejects location service;
the upper limit value.
For example, in the embodiment of the present invention, the partial execution information includes first indication information, where the first indication information is used to indicate m first subscriber identities.
The location service failure message may be, for example, an LCS service reject message.
And the gateway mobile location center executes location service on the m first user identifications in the n user identifications, specifically, executing steps 34-39 for the m first user identifications one by one.
Step 34: the gateway mobile Location center calls a Request for providing Location information of an Access Management Function (AMF), for example, calls a Namf _ Location information Request.
Step 35: the access management function calls a Location determination Request of a Location Management Function (LMF), for example, calls an Nlmf _ Location _ DetermineLocation Request.
Step 36: and the position management function and the terminal corresponding to the first user identifier interactively measure the position.
Step 37: the Location management function returns a Location determination Response to the access management function, where the Location determination Response carries Location information of the terminal corresponding to the first ue, and returns the Location information through Nlmf _ Location _ DetermineLocation Response, for example.
Step 38: the access management function returns a Location information Response to the gateway mobile Location center, where the Location information Response carries the Location information of the terminal corresponding to the first subscriber identity, and returns the Location information through a Namf _ Location information Response, for example.
Step 39: and the gateway mobile location center sends a location update notification to the application server, wherein the location update notification carries the location information of the terminal corresponding to the first subscriber identity, and the location update notification is LCS service response, for example.
Referring to fig. 4, fig. 4 is a flowchart illustrating a location query method according to a fourth embodiment of the present invention, where the method is applied to a core network function, and the method includes:
step 41: receiving an upper limit value query request, wherein the upper limit value is the maximum value of the user identifier of the core network function which can execute the location service at one time;
step 42: and returning the upper limit value to a requester of the upper limit value query request according to the upper limit value query request.
In the embodiment of the invention, the core network function can provide the upper limit inquiry service besides the position inquiry service, so that a position service requester can inquire the number of the user identifications capable of executing the position service by the core network function once before the position inquiry service, and therefore, when the position service request is sent, the user identification carried in the position service request does not exceed the upper limit, and the condition of position service failure is avoided.
In this embodiment of the present invention, the location query method may further include:
step 43: receiving a location service request, wherein the location service request carries indication information of a user identifier;
if the location service request party has acquired the upper limit value of the core network function, the number of the user identifiers carried in the sent location service request may not exceed the upper limit value, thereby avoiding the situation of location service failure.
Step 44: if the number of the target user identifications exceeds the upper limit value, executing the position service on the first user identification in the target user identifications, and returning partial execution information, wherein the target user identifications are determined by the indication information of the user identifications, and the partial execution information comprises at least one of the following:
first indication information, where the first indication information is used to indicate at least one of information of the first user identifier and information of a second user identifier, and the second user identifier is a user identifier, except for the first user identifier, in the target user identifier;
the upper limit value.
Referring to fig. 5, fig. 5 is a schematic flowchart of a location query method according to a fifth embodiment of the present invention, where the method is applied to a core network function, and the method includes:
step 51: receiving a location service request, wherein the location service request carries indication information of a user identifier and range indication of the user identifier;
the indication information of the user identifier comprises: at least one user identity, or a group identity indicating a group of user identities. The number of the group identifications may be one or more.
Step 52: and executing the position service operation on the target user identification, wherein the identification information of the target user is determined by the indication information of the user identification and the range indication.
Optionally, the range indication comprises:
a starting point indication of the indication information of the user identifier; or
A start point indication and an end point indication of the indication information of the user identifier.
The range indication may be, for example, in the form of < a, b >, where a is an indication of a starting point of the indication information of the user identifier, b is an indication of an ending point of the indication information of the user identifier, a > is 0, b < ═ n, n is the number of target user identifiers, and < a, b > represents user identifiers from the a-th user identifier to the b-th user identifier.
Or the range indication may be, for example, in the form < a >, indicating the user identities starting from the a-th user identity and ending with the last user identity.
The number of the target user identifications can be zero or at least one.
Optionally, the performing location service operation for the target user identifier includes at least one of:
the target user identification is zero, and the position service is stopped; or
And the target user identification is at least one, and the position service is executed on the first user identification in the target user identification. The first user identification is part or all of the target user identification.
For example, if the number of target user identities exceeds the maximum value of user identities for which the core network function can perform location services at once, the core network function may perform location services only for a portion of the target user identities. If the number of the target user identifications does not exceed the maximum value of the user identifications of the core network function capable of executing the location service at one time, the core network function can execute the location service by all the target user identifications.
In the embodiment of the invention, the position service requester can send the indication information and the range indication of the user identification to the core network function, and the number of the user identification is reduced through the range indication, so that the upper limit value of the core network function is met, and the condition of position service failure is reduced as much as possible.
Referring to fig. 6, fig. 6 is a flowchart illustrating a location query method according to a sixth embodiment of the present invention, where the method is applied to a location service request method, and the method includes:
step 61: sending a first location service request to a first core network function, wherein the first location service request carries indication information of a user identifier;
step 62: if receiving partial execution information sent by the first core network function, determining a second subscriber identity which is rejected by the first core network function and rejects the location service according to the partial execution information, wherein the partial execution information comprises at least one of the following information:
first indication information, where the first indication information is used to indicate at least one of information of a first subscriber identity and information of a second subscriber identity, where the first subscriber identity is a subscriber identity for performing a location service by the first core network function, and the second subscriber identity is a subscriber identity for rejecting a location service by the first core network function;
and the upper limit value is the maximum value of the user identifier of the first core network function which can execute the location service at one time.
In the embodiment of the invention, if the number of the user identifications indicated in the position service request exceeds the upper limit value of the core network function, the core network function only executes the position service to part of the user identifications and sends part of the execution information to the position service requester, and the position service requester can determine the user identifications rejected by the core network function for the position service according to part of the execution information, so that the position service requester can quickly initiate the position query request of the rejected user identifications again and can obtain the position information of the terminal corresponding to the rejected user identifications, thereby enabling the position query service of the terminal to be faster.
In some embodiments of the present invention, optionally, after determining the second subscriber identity that is rejected by the first core network function for location service, the method further includes:
and step 63: and sending a second location service request to a second core network function, wherein the second location service request carries part or all of the second user identifier.
The second core network function may be a core network function different from the first core network function, or may be the first core network function.
The following describes an example of a location query method according to an embodiment of the present invention in detail, taking an example in which a core network function is a location mobility server center and a location service requester is an application server.
Referring to fig. 7, a location query method according to an embodiment of the present invention includes:
step 71: the application server sends a location service request to a Gateway Mobile Location Center (GMLC)1, wherein the location service request carries n user identifications. The location service request may be, for example, an lcs service request message, with n being a positive integer greater than or equal to 2.
Step 72: the gateway mobile location center 1 determines whether the number of the user identifiers carried in the location service request exceeds an upper limit value.
In the embodiment of the invention, the user identifier carried in the position service request is the target user identifier.
Step 73: if the value exceeds the upper limit value, the gateway mobile location center 1 returns a location service failure message to the application server, wherein the location service failure message carries part of execution information, and the part of execution information comprises at least one of the following information:
first indication information, where the first indication information is used to indicate information of a first subscriber identity and information of a second subscriber identity, where the first subscriber identity is a subscriber identity of the n subscriber identities for which the gateway mobile location center performs location service, and the second subscriber identity is a subscriber identity of the n subscriber identities for which the gateway mobile location center rejects location service;
the upper limit value.
For example, in the embodiment of the present invention, the partial execution information includes first indication information, where the first indication information is used to indicate m first subscriber identities.
The location service failure message may be, for example, an LCS service reject message.
The gateway mobile location center 1 performs location services on m first subscriber identities of the n subscriber identities, specifically, performs steps 34 to 39 on the m first subscriber identities one by one.
Step 74A: the gateway mobile Location center 1 invokes a Request for providing Location information of the access network, for example, a Namf _ Location information Request.
Step 75A: and the access network and the terminal corresponding to the first user identification interactively measure the position.
Step 76A: the access network returns a Location information Response to the gateway mobile Location center 1, where the Location information Response carries the Location information of the terminal corresponding to the first subscriber identity, and returns the Location information through a Namf _ Location information Response, for example.
Step 77A: the gateway mobile location center 1 sends a location update notification to the application server, where the location update notification carries location information of a terminal corresponding to the first subscriber identity, and the location update notification is, for example, an LCS service response.
After step 73, the following steps may also be performed:
step 74B: the application server sends a location service request to the gateway mobile location center 2, where the location service request carries n-m user identifiers (i.e., second user identifiers). The location service request may be, for example, an lcs service request message.
In the embodiment of the invention, the upper limit value of the gateway mobile location center 2 is assumed to be greater than n-m.
Step 75B: the gateway mobile Location center 2 invokes a Request for providing Location information of the access network, for example, a Namf _ Location information Request.
Step 76B: and the access network and the terminal corresponding to the second user identification interactively measure the position.
Step 77B: the access network returns a Location information Response to the gateway mobile Location center 2, where the Location information Response carries the Location information of the terminal corresponding to the second subscriber identity, and returns the Location information through the Namf _ Location information Response, for example.
Step 78B: the gateway mobile location center 2 sends a location update notification to the application server, where the location update notification carries location information of the terminal corresponding to the second subscriber identity, and the location update notification is, for example, an LCS service response.
In the above embodiment, the application server may also be a network open function (NEF), or the gateway mobile location center may also be the NEF.
Referring to fig. 8, a location query method according to an embodiment of the present invention includes:
step 81: the application server sends a location service request to the gateway mobile location center 1, where the location service request carries n user identifiers or group identifiers, and a range indication, where the group identifier is used to indicate a group of user identifiers.
The location service request may be, for example, an LCS service request message, with n being a positive integer greater than or equal to 2.
The range indication is, for example, in the form < a1, b1>, where a1> -0, b1< ═ n, indicating the subscriber identities starting from the a1 th subscriber identity and ending with the b1 th subscriber identity, or in the form < a1>, indicating the subscriber identities starting from the a1 th subscriber identity and ending with the last subscriber identity.
Step 82: if the location service request carries a group identifier, the gateway mobile location center 1 first obtains a member user identifier corresponding to the group identifier from a unified data management function (UDM), and this embodiment assumes that there are k group members. The gateway mobile location center 1 determines whether the number of user identifiers carried in the location service request or the number of member user identifiers of the group identifier exceeds an upper limit value.
If the range indication is carried, stopping executing the position service when the number of the user identifications corresponding to the range indication is 0, otherwise, judging whether the number of the user identifications corresponding to the range indication exceeds an upper limit value.
Step 83: if the value exceeds the upper limit value, the gateway mobile location center 1 returns a location service failure message to the application server, and the location service failure message carries a failure reason, such as a reason value indicating partial acceptance.
The location service failure message may be, for example, an LCS service reject message.
The gateway mobile location center 1 performs location services on m first subscriber identities of the n subscriber identities or k group member subscriber identities, specifically, performs steps 34 to 39 on the first subscriber identities one by one.
Step 84A: the gateway mobile Location center 1 invokes a Request for providing Location information of the access network, for example, a Namf _ Location information Request.
Step 85A: and the access network and the terminal corresponding to the first user identification interactively measure the position.
Step 86A: the access network returns a Location information Response to the gateway mobile Location center 1, where the Location information Response carries the Location information of the terminal corresponding to the first subscriber identity, and returns the Location information through a Namf _ Location information Response, for example.
Step 87A: the gateway mobile location center 1 sends a location update notification to the application server, where the location update notification carries location information of a terminal corresponding to the first subscriber identity, and the location update notification is, for example, an LCS service response.
After step 83, the following steps may also be performed:
step 84B: the application server sends a location service request to the gateway mobile location center 2, where the location service request carries x user identifiers or group identifiers, and a range indication.
The location service request may be, for example, an LCS service request message.
The range indication is, for example, in the form < a2, b2>, where a2> -0, b2< ═ x, indicating the subscriber identities starting from the a2 th subscriber identity and ending with the b2 th subscriber identity, or in the form < a2>, indicating the subscriber identities starting from the a2 th subscriber identity and ending with the last subscriber identity.
In the embodiment of the present invention, it is assumed that the ue indicated in the location service request is the second ue rejected by the first gateway mobile location center 1 for location service in the above step.
Step 85B: if the location service request carries a group identifier, the gateway mobile location center first obtains a member user identifier corresponding to the group identifier from a unified data management function (UDM), and this embodiment assumes that there are y group members. And when judging that the number of the user identifications corresponding to the range indication is 0, the gateway mobile position center 2 stops executing the position service, otherwise, judges whether the number of the user identifications corresponding to the range indication exceeds an upper limit value. If the value exceeds the upper limit value, the gateway mobile location center 2 returns a location service failure message to the application server, wherein the location service failure message carries a failure reason, such as a reason value indicating partial acceptance.
The location service failure message may be, for example, an LCS service reject message.
The gateway mobile Location center 2 performs Location service on z second subscriber identities in the x subscriber identities or the y group member subscriber identities, and specifically calls Location information providing requests of the access network for the second subscriber identities one by one, for example, calls a Namf _ Location information Request.
Step 86B: and the access network and the terminal corresponding to the second user identification interactively measure the position.
Step 87B: the access network returns a Location information Response to the gateway mobile Location center 2, where the Location information Response carries the Location information of the terminal corresponding to the second subscriber identity, and returns the Location information through the Namf _ Location information Response, for example.
Step 88B: the gateway mobile location center 2 sends a location update notification to the application server, where the location update notification carries location information of the terminal corresponding to the second subscriber identity, and the location update notification is, for example, an LCS service response.
In the above embodiment, the application server may also be a network open function NEF, or the gateway mobile location center may also be the NEF.
The access network in the above embodiments may comprise the access management function and the location management function in the above embodiments.
Referring to fig. 9, fig. 9 is a flowchart illustrating a location query method according to a ninth embodiment of the present invention, where the method is applied to a location service requester, and the method includes:
step 91: sending an upper limit value query request to a core network function, wherein the upper limit value is the maximum value of a user identifier of the core network function which can execute the location service at one time;
and step 92: and receiving the upper limit value returned by the core network function.
Optionally, the location query method may further include:
step 93: and sending a location service request to the core network function according to the upper limit value, wherein the location service request carries indication information of a user identifier, and the number of the user identifiers indicated by the indication information of the user identifier does not exceed the upper limit value.
In the embodiment of the invention, the core network function can provide the upper limit inquiry service besides the position inquiry service, so that a position service requester can inquire the number of the user identifications capable of executing the position service by the core network function once before the position inquiry service, and therefore, when the position service request is sent, the user identification carried in the position service request does not exceed the upper limit, and the condition of position service failure is avoided.
Referring to fig. 10, fig. 10 is a flowchart illustrating a location query method according to a tenth embodiment of the present invention, where the method is applied to a location service requester, and the method includes:
step 101: and sending a location service request, wherein the location service request carries indication information of the user identification and range indication of the user identification.
In the embodiment of the invention, the position service requester can send the indication information and the range indication of the user identification to the core network function, and the number of the user identification is reduced through the range indication, so that the upper limit value of the core network function is met, and the condition of position service failure is reduced as much as possible.
Referring to fig. 11, an eleventh embodiment of the present invention further provides a core network function 110, including:
a first receiving module 111, configured to receive a location service request, where the location service request carries indication information of a user identifier;
a first sending module 112, configured to execute a location service on a first subscriber identity in the target subscriber identity if the number of the target subscriber identities exceeds an upper limit, and return partial execution information, where the target subscriber identity is determined by indication information of the subscriber identity, and the partial execution information includes at least one of:
first indication information, where the first indication information is used to indicate at least one of information of the first user identifier and information of a second user identifier, and the second user identifier is a user identifier, except for the first user identifier, in the target user identifier;
the upper limit value.
In the embodiment of the invention, if the number of the user identifications indicated in the position service request exceeds the upper limit value of the core network function, the core network function only executes the position service to part of the user identifications and sends part of the execution information to the position service requester, and the position service requester can determine the user identifications rejected by the core network function for the position service according to part of the execution information, so that the position service requester can quickly initiate the position query request of the rejected user identifications again and can obtain the position information of the terminal corresponding to the rejected user identifications, thereby enabling the position query service of the terminal to be faster.
Optionally, the indication information of the user identifier includes: at least one user identity, or a group identity indicating a group of user identities.
Optionally, the first indication information includes:
information of a user identification;
or,
and the second indication information is used for indicating that the user identifier in the first indication information is the user identifier of the core network function executing the location service or rejecting the location service.
Optionally, the information of the user identifier includes at least one of:
a list of user identifications;
the number of user identities.
Optionally, the core network function 110 further includes:
the second receiving module is used for receiving an upper limit value query request;
and the second sending module is used for returning the upper limit value to the requester of the upper limit value query request according to the upper limit value query request.
The core network function provided in the embodiment of the present invention can implement each process of implementing the core network function in the method embodiments of fig. 1 to fig. 2, and is not described herein again in order to avoid repetition.
Referring to fig. 12, a twelfth embodiment of the present invention further provides a core network function 120, including:
a receiving module 121, configured to receive an upper limit query request, where the upper limit is a maximum value of a user identifier of the core network function that can execute a location service at a time;
a sending module 122, configured to return the upper limit value to the location service requester according to the upper limit value query request.
The core network function provided in the embodiment of the present invention can implement each process of implementing the core network function in the method embodiment of fig. 4, and is not described herein again to avoid repetition.
Referring to fig. 13, a thirteenth embodiment of the present invention further provides a core network function 130, including:
a receiving module 131, configured to receive a location service request, where the location service request carries indication information of a user identifier and a range indication of the user identifier;
a location service module 132, configured to perform a location service operation on a target user identifier, where the target user identifier is determined by the indication information of the user identifier and the range indication of the user identifier.
Optionally, the indication information of the user identifier includes: at least one user identity, or a group identity indicating a group of user identities.
Optionally, the range indication comprises:
a starting point indication of the indication information of the user identifier; or
A start point indication and an end point indication of the indication information of the user identifier.
Optionally, the location service module 133 is configured to stop location service when the target user identifier is zero; and/or the target user identification is at least one, and the position service is executed on the first user identification in the target user identification.
The core network function provided in the embodiment of the present invention can implement each process of implementing the core network function in the method embodiment of fig. 5, and is not described herein again to avoid repetition.
Referring to fig. 14, a fourteenth embodiment of the present invention further provides a location service requester 140, including:
a first sending module 141, configured to send a first location service request to a first core network function, where the first location service request carries indication information of a user identifier;
a determining module 142, configured to determine, according to partial execution information sent by the first core network function, a second subscriber identity that is rejected by the first core network function for location service if the partial execution information is received, where the partial execution information includes at least one of:
first indication information, where the first indication information is used to indicate at least one of information of a first subscriber identity and information of a second subscriber identity, where the first subscriber identity is a subscriber identity for performing a location service by the first core network function, and the second subscriber identity is a subscriber identity for rejecting a location service by the first core network function;
and the upper limit value is the maximum value of the user identifier of the first core network function which can execute the location service at one time.
Optionally, the location service requester further includes:
and a second sending module, configured to send a second location service request to a second core network function, where the second location service request carries part or all of the second subscriber identity.
The location service requester provided in the embodiment of the present invention can implement each process implemented by the location service requester in the method embodiment of fig. 6, and is not described herein again to avoid repetition.
Referring to fig. 15, a fifteenth embodiment of the present invention further provides a location service requester 150, including:
a first sending module 151, configured to send an upper limit query request to a core network function, where the upper limit is a maximum value of a user identifier that the core network function can perform location service at a time;
a receiving module 152, configured to receive the upper limit value returned by the core network function.
Optionally, the location service requester further includes:
and a second sending module, configured to send a location service request to the core network function according to the upper limit, where the location service request carries indication information of a user identifier, and the number of the user identifiers indicated in the location service request does not exceed the upper limit.
The location service requester provided in the embodiment of the present invention can implement each process implemented by the location service requester in the method embodiment of fig. 9, and is not described herein again to avoid repetition.
Referring to fig. 16, a location service requester 160 according to a sixteenth embodiment of the present invention includes:
a sending module 161, configured to send a location service request, where the location service request carries indication information of a user identifier and a range indication of the user identifier.
The location service requester provided in the embodiment of the present invention can implement each process implemented by the location service requester in the method embodiment of fig. 10, and is not described herein again to avoid repetition.
Preferably, referring to fig. 17, an embodiment of the present invention further provides a core network function 170, which includes a processor 171, a memory 172, and a computer program stored in the memory 172 and capable of running on the processor 171, and when the computer program is executed by the processor 171, the computer program implements the processes of the method embodiment applied to the core network function, and can achieve the same technical effects, and in order to avoid repetition, the details are not described here again.
Referring to fig. 18, an embodiment of the present invention further provides a location service requester 180, which includes a processor 181, a memory 182, and a computer program stored in the memory 182 and capable of running on the processor 181, where the computer program, when executed by the processor 181, implements the processes of the above-mentioned method embodiment applied to the location service requester, and can achieve the same technical effects, and therefore, for avoiding repetition, the details are not described herein again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the location query method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.