CN107113915B - Service authorization method, near field service server and user equipment - Google Patents

Service authorization method, near field service server and user equipment Download PDF

Info

Publication number
CN107113915B
CN107113915B CN201580070536.3A CN201580070536A CN107113915B CN 107113915 B CN107113915 B CN 107113915B CN 201580070536 A CN201580070536 A CN 201580070536A CN 107113915 B CN107113915 B CN 107113915B
Authority
CN
China
Prior art keywords
request message
indication information
discovery request
service server
proximity
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
CN201580070536.3A
Other languages
Chinese (zh)
Other versions
CN107113915A (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.)
Huawei Technologies 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 CN107113915A publication Critical patent/CN107113915A/en
Application granted granted Critical
Publication of CN107113915B publication Critical patent/CN107113915B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user

Landscapes

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

Abstract

The embodiment of the invention provides a service authorization method, a near field service server and user equipment. The service authorization method provided by the invention comprises the steps of receiving a discovery request message sent by UE, wherein the message comprises a service identifier and indication information requested by the UE; the indication information is reason indication information; verifying the UE according to the service identifier; if the parameter information is distributed according to the indication information; the parameter information is transmitted to the UE. The embodiment of the invention can enable the UE resources to be more balanced.

Description

Service authorization method, near field service server and user equipment
Technical Field
The embodiment of the invention relates to a communication technology, in particular to a service authorization method, a near field service server and user equipment.
Background
The rise of social applications has made the connections between people and things more compact. When people come to a new environment, people want to find out the things of interest in a certain range of the current location. This demand is increasing, and near field communication Services (ProSe) is becoming more popular with users. In practical applications, a merchant may send a broadcast message including service information to at least one Monitoring (Monitoring) UE within a preset distance range on a social application platform through a held broadcast User Equipment (UE). Correspondingly, the customer can monitor the broadcast message on the social application platform through the monitoring UE to acquire the service information.
In the prior art, no matter the UE is broadcasting or monitoring the UE to execute the proximity service, it needs to send a discovery request message to the proximity service server on the network side, and the UE may send the discovery request message to the proximity service server in different scenarios such as first request or network replacement. In any scenario, as long as the proximity service server receives the discovery request message, the UE is verified, and if the UE passes the verification, default parameter information is sent to the UE, where the parameter information may include broadcast information and valid duration, that is, in the same UE, in any scenario, the parameter information sent by the proximity service server for the UE is the same. And the air interface resources required by the UE to execute the proximity service are allocated by the base station, and the air interface resources allocated by the base station to the UE are the same regardless of the size of the proximity service simultaneously requested by the UE. In addition, in an equivalent network deployment scenario, as long as the UE moves within the range of the equivalent network of the UE to switch the registration network, the UE does not notify the proximity service Server and the Home Subscriber Server (HSS) of the home network of the network identifier after the switching, so that the proximity Server of the home network cannot notify the proximity Server of the current network to verify the UE after receiving the discovery request message sent by the UE.
Disclosure of Invention
In order to solve the above technical problem, embodiments of the present invention provide a service authorization method, a proximity service server, and a user equipment.
In a first aspect, an embodiment of the present invention provides a service authorization method, including:
a near field service server receives a discovery request message sent by User Equipment (UE); the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message;
the short-distance service server verifies the UE according to the identification of the short-distance service;
if the UE passes the verification, the short-distance service server distributes the parameter information of the short-distance service to the UE according to the indication information;
the proximity service server sends a discovery response message to the UE, wherein the discovery response message comprises the parameter information.
According to the first aspect, in a first possible implementation manner of the first aspect, the indication information is postponed indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the allocating, by the proximity service server, the parameter information of the proximity service to the UE according to the indication information includes:
the short-distance service server distributes the parameter information to the UE according to the delay indication information; and the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the near field service server last time.
In a second aspect, an embodiment of the present invention provides a service authorization method, including:
a near field service server receives a discovery request message sent by User Equipment (UE); the discovery request message comprises an identification and initial indication information of the proximity service requested by the UE; the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
the near field service server determines the quantity of the near field services requested by the UE according to the discovery request message which is sent by the UE and comprises the initial indication information;
and the near field service server sends a resource request message to a base station, wherein the resource request message comprises the number of the near field services, and the resource request message is used for indicating the base station to allocate air interface resources to the UE according to the number of the near field services.
According to the second aspect, in a first possible implementation manner of the second aspect, before the sending, by the proximity service server, the resource request message to the base station, the method further includes:
the near field service server determines to increase air interface resources required by the UE according to the number of the near field services and a preset service number threshold; the service quantity threshold is the near field service quantity included in the resource request message which is sent to the base station by the near field service server last time and is used for requesting air interface resources.
In a third aspect, an embodiment of the present invention provides a service verification method, including:
a near field service server receives a discovery request message sent by User Equipment (UE); the discovery request message includes: identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message;
the near field service server determines the times of requesting the near field service by the UE in a preset time period according to the quantity of the discovery request messages which are sent by the UE and comprise the indication information;
and the near field service server determines the priority of the UE according to the number of times of requesting the near field service and the corresponding relation between the number of times of requesting the near field service and the priority.
According to a third aspect, in a first possible implementation manner of the third aspect, the method further includes:
and the short-distance service server sends the priority of the UE to a home network server (HSS) so that the HSS judges whether the priority of the UE changes or not according to the priority of the UE and the priority in the subscription information of the UE.
According to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner, the indication information is initial indication information or postponed indication information;
the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; and the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time.
In a fourth aspect, an embodiment of the present invention further provides a service verification method, including:
a near field service server receives a discovery request message sent by User Equipment (UE); the discovery request message comprises switching registration network indication information and a current registration network identifier of the UE; the switching registration network indication information is used for indicating that the discovery request message is a discovery request message sent to the proximity service server after the UE switches the registration network;
the near field service server determines that the current registered network identifier of the UE is a network identifier in an equivalent network identifier list of the UE, and the current network identifier of the UE is different from the registered network identifier in the context information of the UE;
and the short-distance service server updates the registered network identification in the context information of the UE according to the current registered network identification of the UE.
In a fifth aspect, an embodiment of the present invention further provides a service authorization method, including:
UE sends a discovery request message to a proximity service server; the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message;
and the UE receives a discovery response message returned by the proximity service server, wherein the discovery response message comprises parameter information of the proximity service distributed to the UE according to the indication information when the proximity service server passes the verification of the UE according to the identification of the proximity service.
According to a fifth aspect, in a first possible implementation manner of the fifth aspect, the indication information is postponed indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time.
In a sixth aspect, an embodiment of the present invention provides a proximity service server, including:
a receiving module, configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message;
the verification module is used for verifying the UE according to the identification of the short-distance service;
the distribution module is used for distributing the parameter information of the near field service to the UE according to the indication information if the UE passes the verification;
a sending module, configured to send a discovery response message to the UE, where the discovery response message includes the parameter information.
According to a sixth aspect, in a first possible implementation manner of the sixth aspect, the indication information is postponed indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the allocation module is further configured to allocate the parameter information to the UE according to the deferral indication information; and the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the near field service server last time.
In a seventh aspect, an embodiment of the present invention provides a proximity service server, including:
a receiving module, configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises an identification and initial indication information of the proximity service requested by the UE; the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
a determining module, configured to determine, according to the discovery request message including the initial indication information sent by the UE, the number of proximity services requested by the UE;
a sending module, configured to send a resource request message to a base station, where the resource request message includes the number of the proximity services, and the resource request message is used to instruct the base station to allocate air interface resources to the UE according to the number of the proximity services.
According to the seventh aspect, in a first possible implementation manner of the seventh aspect, the determining module is further configured to determine, before the sending module sends the resource request message to the base station, to increase air interface resources required by the UE according to the number of the proximity services and a preset service number threshold; the service quantity threshold is the near field service quantity included in the resource request message which is sent to the base station by the near field service server last time and is used for requesting air interface resources.
In an eighth aspect, an embodiment of the present invention further provides a proximity service server, including:
a receiving module, configured to receive a discovery request message sent by a user equipment UE; the discovery request message includes: identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message;
a determining module, configured to determine, according to the number of the discovery request messages including the indication information sent by the UE, the number of times that the UE requests the proximity service within a preset time period; and determining the priority of the UE according to the times of requesting the short-distance service and the corresponding relation between the times of requesting the short-distance service and the priority.
According to an eighth aspect, in a first possible implementation manner of the eighth aspect, the server further includes:
and the sending module is used for sending the priority of the UE to a home network server (HSS) so that the HSS can judge whether the priority of the UE changes or not according to the priority of the UE and the priority in the subscription information of the UE.
In a second possible implementation manner, the indication information is initial indication information or postponed indication information;
the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; and the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time.
In a ninth aspect, an embodiment of the present invention further provides a proximity service server, including:
a receiving module, configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises switching registration network indication information and a current registration network identifier of the UE; the switching registration network indication information is used for indicating that the discovery request message is a discovery request message sent to the proximity service server after the UE switches the registration network;
a determining module, configured to determine that a current registered network identifier of the UE is a network identifier in an equivalent network identifier list of the UE, where the current network identifier of the UE is different from a registered network identifier in context information of the UE;
and the updating module is used for updating the registered network identifier in the context information of the UE according to the current registered network identifier of the UE.
In a tenth aspect, an embodiment of the present invention further provides a user equipment UE, including:
a sending module, configured to send a discovery request message to a proximity service server; the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message;
and the receiving module is used for receiving a discovery response message returned by the proximity service server, wherein the discovery response message comprises parameter information of the proximity service distributed to the UE according to the indication information when the proximity service server verifies that the UE passes the verification according to the identification of the proximity service.
According to a tenth aspect, in a first possible implementation manner of the tenth aspect, the indication information is postponed indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time.
In an eleventh aspect, an embodiment of the present invention further provides a proximity service server, including: a receiver, a processor and a transmitter;
the receiver is configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message;
the processor is used for verifying the UE according to the identifier of the short-distance service, and if the UE passes the verification, parameter information of the short-distance service is distributed to the UE according to the indication information;
the transmitter is configured to transmit a discovery response message to the UE, where the discovery response message includes the parameter information.
According to an eleventh aspect, in a first possible implementation manner of the eleventh aspect, the indication information is postponed indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the processor is further configured to allocate the parameter information to the UE according to the deferral indication information; and the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the near field service server last time.
In a twelfth aspect, an embodiment of the present invention further provides a proximity service server, including: a receiver, a processor and a transmitter;
the receiver is configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises an identification and initial indication information of the proximity service requested by the UE; the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
the processor is configured to determine, according to the discovery request message including the initial indication information sent by the UE, the number of proximity services requested by the UE;
the transmitter is configured to send a resource request message to a base station, where the resource request message includes the number of the proximity services, and the resource request message is used to instruct the base station to allocate air interface resources to the UE according to the number of the proximity services.
According to a twelfth aspect, in a first possible implementation manner of the twelfth aspect, the processor is further configured to determine, before the transmitter sends the resource request message to the base station, to increase air interface resources required by the UE according to the number of the proximity services and a preset service number threshold; the service quantity threshold is the near field service quantity included in the resource request message which is sent to the base station by the near field service server last time and is used for requesting air interface resources.
In a thirteenth aspect, an embodiment of the present invention further provides a proximity service server, including: a receiver, a processor and a transmitter;
the receiver is configured to receive a discovery request message sent by a user equipment UE; the discovery request message includes: identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message;
the processor is configured to determine, according to the number of the discovery request messages including the indication information sent by the UE, the number of times that the UE requests the proximity service within a preset time period, and determine, according to the number of times that the UE requests the proximity service and a correspondence between the number of times that the proximity service is requested and a priority, the priority of the UE.
In a first possible implementation manner of the thirteenth aspect, the transmitter is configured to send the priority of the UE to a home network server HSS, so that the HSS determines whether the priority of the UE changes according to the priority of the UE and a priority in subscription information of the UE.
In a second possible implementation manner, the indication information is initial indication information or postponed indication information;
the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; and the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time.
In a fourteenth aspect, an embodiment of the present invention further provides a proximity service server, including: a receiver, a processor and a transmitter;
the receiver is configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises switching registration network indication information and a current registration network identifier of the UE; the switching registration network indication information is used for indicating that the discovery request message is a discovery request message sent to the proximity service server after the UE switches the registration network;
the processor is configured to determine that the current registered network identifier of the UE is a network identifier in the equivalent network identifier list of the UE, and the current network identifier of the UE is different from the registered network identifier in the context information of the UE, and update the registered network identifier in the context information of the UE according to the current registered network identifier of the UE.
In a fifteenth aspect, an embodiment of the present invention further provides a user equipment UE, including: a receiver, a processor and a transmitter;
the transmitter is used for sending a discovery request message to a proximity service server; the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message;
the receiver is configured to receive a discovery response message returned by the proximity service server, where the discovery response message includes parameter information of the proximity service allocated to the UE according to the indication information when the proximity service server verifies that the UE passes the verification according to the identifier of the proximity service.
According to a fifteenth aspect, in a first possible implementation manner of the fifteenth aspect, the indication information is postponed indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time.
The service authorization method, the near field service server and the user equipment of the embodiment of the invention can receive a discovery request message sent by the UE through the near field service server, wherein the discovery request message comprises the identification and the indication information of the near field service requested by the UE, and the near field service server verifies the UE according to the identification of the near field service; if the UE passes the verification, the proximity service server allocates the parameter information of the proximity service to the UE according to the indication information, and sends the parameter information to the UE through the discovery response message, so that the UE can execute the proximity service according to the parameter information allocated according to the indication information, the resources actually required by the UE for performing the proximity service are consistent with the resources corresponding to the parameter information, and the resources of the UE are more balanced.
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 description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a service authorization method according to an embodiment of the present invention;
fig. 2 is a flowchart of a service authorization method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a service authorization method provided by a third embodiment of the present invention;
fig. 4 is a flowchart of a service authorization method according to a fourth embodiment of the present invention;
fig. 5 is a flowchart of a service authorization method according to a fifth embodiment of the present invention;
fig. 6 is a flowchart of a service authorization method according to a sixth embodiment of the present invention;
fig. 7 is a flowchart of a service authorization method according to a seventh embodiment of the present invention;
fig. 8 is a flowchart of a service authorization method according to an eighth embodiment of the present invention;
fig. 9 is a flowchart of a service authorization method according to a ninth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a proximity service server according to a tenth embodiment of the present invention;
fig. 11 is a schematic structural diagram of a proximity service server according to an eleventh embodiment of the present invention;
fig. 12 is a schematic structural diagram of a proximity service server according to a twelfth embodiment of the present invention;
fig. 13 is a schematic structural diagram of a proximity service server according to a thirteenth embodiment of the present invention;
fig. 14 is a schematic structural diagram of a UE according to a fourteenth embodiment of the present invention;
fig. 15 is a schematic structural diagram of a proximity service server according to a fifteenth embodiment of the present invention;
fig. 16 is a schematic structural diagram of a UE according to nineteenth 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.
The service authorization method provided by each embodiment of the present invention may be that the network side device authorizes the proximity service of the UE by executing the service authorization method, and allocates the parameter information of the proximity service to the UE after the authorization verification is passed, so that the UE can discover the proximity service according to the parameter information. The parameter information may include broadcast information corresponding to the proximity service requested by the UE, which is allocated by the network side device to the UE. The UE may be a broadcast UE or a monitoring UE, and the broadcast information may be a broadcast code or a monitoring code. The monitoring code at least includes the broadcast code, that is, the broadcast code may be identical to the monitoring code, or may be a part of the monitoring code. The network side device may be a proximity service server, or an HSS. The proximity service server may also be a proximity service Function (ProSe Function for short). The parameter information may further include: the validity period. The valid duration may be a valid duration corresponding to the broadcast information. If the UE is a broadcast UE, the validity period corresponding to the broadcast information may be represented by a broadcast timer, and if the UE is a monitoring UE, the validity period corresponding to the broadcast information may be represented by a monitoring timer. The broadcast timer may have a time period that is a valid time period for the broadcast UE to send the broadcast message, and the listening timer may have a time period that is a valid time period for the listening UE to receive the broadcast message.
Example one
The embodiment of the invention provides a service authorization method. The method may be performed by a proximity services server of a home network. Fig. 1 is a flowchart of a service authorization method according to an embodiment of the present invention. As shown in fig. 1, a service authorization method provided in this embodiment may include the following steps:
s101, a near field service server receives a discovery request message sent by UE; the discovery request message includes identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message.
Specifically, the proximity service server is a proximity service server of a home network of the UE. The UE Home Network may be a Home Public Land Mobile Network (HPLMN) of the UE. The home network of the UE may be a communication network provided by an operator to which a Subscriber Identity Module (SIM) of the UE subscribed to the UE belongs. If the UE is a broadcast UE, the proximity service server in S101 receives the discovery request message sent by the UE, which may be before the UE sends the broadcast message within a preset distance range to push the proximity service. If the UE is a monitoring UE, the proximity service server in S101 receives the discovery request message sent by the UE, which may be before the UE receives a broadcast message to acquire the proximity service.
The discovery request message may be a discovery request message of the proximity service, such as a discoverrequest message of the proximity service.
The UE may perform the discovery of the proximity service by sending a broadcast message based on the application platform to perform service push, or by receiving the broadcast message based on the application platform to obtain the proximity service information. Thus, the identification of the proximity service requested by the UE may include: an identifier of the proximity service on the Application platform (ProSe Application Identity, abbreviated as ProSe App ID), and an identifier of the Application platform (Application Identity, abbreviated as App ID). The ProSe App ID may be an identifier of a service that the server of the application platform has on the application platform for the UE allocated by the UE when the UE is registered and authenticated on the application platform. Wherein the ProSe App ID can be used to represent the content of the proximity service requested by the UE, such as a hotel, restaurant, florist, etc. The content of the proximity service may be determined by the holder of the UE, the services available, or the content of the services requested by the UE. If the UE is a broadcast UE, the proximity service may be a service requested to be broadcast by the UE, and may be determined by services available by the holder of the UE. If the UE is a listening UE, the proximity service may be a service requested to be received by the UE. The application platform can be a social application such as WeChat and microblog.
Wherein the indication information included in the discovery request message may be cause indication information for the UE to send the discovery request message.
If the UE is a broadcast UE, the indication information may be: initial indication information, deferred indication information, or handover registration network indication information. The initial indication information may be used to indicate that the discovery request message is a discovery request message that the UE first sends to the proximity service server to request the proximity service. The deferral indication information may be used to indicate that the discovery request message is a discovery request message sent by the UE to the proximity service server when the validity duration expires for the UE. The valid duration is the valid duration in the parameter information that the UE obtained from the proximity service server last time. The handover registration network indication message may be used to indicate that the discovery request message is a discovery request message sent to the proximity service server after the UE switches the registration network.
If the UE is a listening UE, the indication information may include: initial indication information, or deferred indication information. The initial indication information may be used to indicate that the discovery request message is a discovery request message that the UE first sends to the proximity service server to request the proximity service. The deferral indication information may be used to indicate that the discovery request message is a discovery request message sent by the UE to the proximity service server when the validity duration expires. The effective duration is the effective duration in the parameter information acquired by the UE from the proximity service server last time.
The different indication information may be represented by different identifiers. The short-distance service server can determine the indication information corresponding to the identifier according to the preset corresponding relation between the identifier and the indication information. For example, the embodiment of the present invention may represent the initial indication information by data 00, the postpone indication information by data 01, and the handover registration network indication information by data 10. The different indication information may also be initial indication information, deferred indication information, or handover registration network indication information, represented by A, B and C, respectively. The different indication information may also be represented by different character strings, such as a character string initial indicating information, a character string extension indicating information, and a character string change indicating information for switching the registered network.
S102, the short-distance service server verifies the UE according to the identification of the short-distance service.
The UE identifier may include a network identifier accessed by the UE, such as an International Mobile Subscriber Identity (IMSI) of the UE, or an International Integrated Services digital network Number (MSISDN) of a Mobile Station of the UE.
The authentication of the identifier of the proximity service to the UE by the proximity service server may be determined according to the identifier of the UE and the identifier of the proximity service, and if the proximity service server has the context information of the UE, the proximity service server further needs to determine whether the context information of the UE includes the identifier of the proximity service. And if the proximity service server has the context information of the UE and the context information of the UE comprises the identification of the proximity service, the proximity service server verifies the UE. If the proximity service server does not have the context information of the UE, or the context information of the UE does not include the identifier of the proximity service, the proximity service server further needs to send a discovery authentication request message to the HSS and receive a request response message corresponding to the discovery authentication request message returned by the HSS, where the request response message includes: and the HSS verifies the UE. And the short-distance service server creates context information for the UE according to the authentication result of the HSS to the UE.
The Discovery Authentication Request message may be a Discovery Authentication Request message, or may be another type of Request message. The discovery validation request message may include: the identity of the proximity service requested by the UE and the identity of the UE.
The HSS can perform service verification on the UE according to the identification of the proximity service and the identification of the UE. The HSS performs service verification on the UE, for example, the subscription information of the UE and the current network identifier of the UE are determined according to the identifier of the UE, whether the UE has the broadcast or reception capability of the proximity service is determined according to the subscription information of the UE and the identifier of the proximity service requested by the UE, and whether the UE has the broadcast or reception capability of the proximity service in the currently registered network is determined according to the current network identifier of the UE and the identifier information of the proximity service requested by the UE. The HSS determines that the UE has the broadcast or receiving capability of the proximity service by performing service verification on the UE, and can return the request response message to the proximity service server under the condition that the current registration network has the broadcast or receiving capability of the proximity service.
S103, if the UE passes the verification, the proximity service server distributes the parameter information of the proximity service to the UE according to the indication message.
Since the indication information may be: the different indication information may correspond to different parameter information, such as effective duration, respectively. The proximity service server may determine the parameter information corresponding to the indication information according to the indication information and the indication information parameter information correspondence table, and configure the parameter information corresponding to the indication information as the parameter information of the proximity service requested by the UE.
S104, the proximity service server sends a discovery response message to the UE, where the discovery response message includes the parameter information.
The discovery response message may be a discovery response message of the proximity service, such as a discovery response message of the proximity service.
The parameter information is determined by the proximity service server according to the indication information in the discovery request message sent by the UE, so that the resources actually required by the UE for performing proximity service are consistent with the resources corresponding to the parameter information, the resources of the UE can be more balanced, and the problems of resource waste and resource deficiency imbalance are solved.
The service authorization method provided by the embodiment of the invention can receive the discovery request message sent by the UE through the short-distance service server, wherein the discovery request message comprises the identification and the indication information of the short-distance service requested by the UE, and the short-distance service server verifies the UE according to the identification of the short-distance service; if the UE passes the verification, the proximity service server allocates the parameter information of the proximity service to the UE according to the indication information, and sends the parameter information to the UE through the discovery response message, so that the UE can execute the proximity service according to the parameter information allocated according to the indication information, the resources actually required by the UE for performing the proximity service are consistent with the resources corresponding to the parameter information, and the resources of the UE are more balanced.
Example two
The second embodiment of the invention also provides a service authorization method. Optionally, in the service authorization method in the first embodiment of the present invention, the indication information may be delay indication information.
The deferral indication information is used to indicate that the discovery request message is a discovery request message sent by the UE to the proximity service server when the validity duration of the proximity service server for the UE expires. Wherein, the valid duration is the valid duration in the parameter information obtained by the UE from the proximity service last time.
If the UE is a broadcast UE, the expiration of the valid duration may refer to expiration of a broadcast timer corresponding to a broadcast code. If the UE is a monitoring UE, the expiration of the valid duration may also mean that a monitoring timer corresponding to the monitoring code expires.
Optionally, in the first embodiment as described above, in S102, the allocating, by the proximity service server, the parameter information of the proximity service to the UE according to the indication information may include:
the short-distance service server distributes the parameter information to the UE according to the delay indication information; the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time.
Specifically, if the indication information is the postponed indication information, the effective duration in the parameter information allocated by the proximity service server to the UE is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time, which can ensure the consistency of performing the proximity service, avoid the UE initiating a discovery request to the proximity service server many times, and reduce signaling interaction while ensuring the performance of the proximity service.
The second embodiment of the present invention further provides another service authorization method, and the method may specifically describe the service authorization method in the first embodiment or the second embodiment by using a specific example. The second embodiment of the present invention is described only with the service authorization method when the UE is a broadcast UE, and the service authorization method when the UE is a monitor UE is similar to that when the UE is a broadcast UE, and is not described herein again. Fig. 2 is a flowchart of a service authorization method according to a second embodiment of the present invention. As shown in fig. 2, the method may include:
s201, the UE acquires the ProSe App ID of the short-distance service.
The broadcast UE may acquire the service identifier, which is allocated to the broadcast UE by the server of the application platform, on the application platform by registering on the application platform, such as a WeChat or a microblog. If the holder of the broadcast UE is a merchant and the application platform is wechat, the ProSe App ID may be a service identifier for registration authentication of the broadcast UE on wechat.
S202, the UE sends a discovery request message to the proximity service server, wherein the discovery request message comprises the ID of the UE, the ProSe App ID, the postponement indication information and the type of the UE.
The ID of the UE may be an ID of the UE accessing the network, and the App ID is an ID of an application platform, such as a microblog, a WeChat, and the like. The deferral indication information is used to indicate that the discovery request message is a discovery request message sent by the UE to the proximity service server if the validity duration expires. The valid duration is the valid duration in the parameter information acquired by the UE from the proximity service server last time, and the type of the UE may be represented by an identifier corresponding to a role of the UE. For example, if the UE is a UE that transmits broadcast information including the proximity service information, the UE is a broadcast UE, and the type of the UE may be represented by a character string announce; correspondingly, if the UE is a UE receiving the broadcast information including the proximity service information, the UE is a monitoring UE, and the type of the UE may be represented by a character string monitoring.
S203, the short-distance service server verifies the UE according to the ID of the UE, the ProSe App ID, the App ID and the type of the UE.
The proximity service server verifies the UE, which may be to determine whether the UE has context information including a ProSe App ID and an App ID.
S204, if the short-distance service server passes the verification of the UE, the short-distance service server distributes parameter information to the UE according to the postponing indication information, wherein the parameter information comprises: broadcast information and validity duration; wherein the effective duration in the parameter information is longer than the effective duration in the parameter information that the UE obtained from the proximity service server last time.
The broadcast information may be a broadcast code, and the valid duration is a broadcast timer corresponding to the broadcast code.
The proximity service server verifies the UE, which means that the proximity service server has the context information of the UE including the ProSe App ID and the App ID.
S205, if the proximity service server fails to authenticate the UE, the proximity service server sends a discovery authentication request message to the HSS, where the discovery authentication request message includes an ID of the UE.
The proximity service server fails the UE authentication, meaning that the proximity service server does not have the context information of the UE including the ProSe App ID and/or App ID.
S206, the HSS inquires the subscription information of the UE according to the ID of the UE and verifies the UE according to the subscription information of the UE.
The HSS verifies the UE, which may be to determine whether the UE signs up for the proximity service and whether the UE has the capability to execute the proximity service.
S207, if the HSS verifies the UE, the HSS returns a request response message corresponding to the discovery and verification request message to the proximity service server, where the request response message may include a verification result of the HSS for the UE.
The HSS verifies the UE, that is, the UE signs up for the proximity service, and the UE has the capability of executing the proximity service.
S208, the short-distance service server creates context information of the UE according to the verification result of the UE, and distributes parameter information to the UE according to the postponed indication information, wherein the parameter information comprises: broadcast information and validity duration; wherein the effective duration in the parameter information is longer than the effective duration in the parameter information that the UE obtained from the proximity service server last time.
S209, the distance service server returns a discovery request response message to the UE, where the discovery request response message includes the parameter information, and the parameter information includes broadcast information and validity duration.
In the service authorization method provided in the second embodiment of the present invention, the proximity service server may allocate parameter information to the UE according to the deferral indication information sent by the UE, so that resources actually required by the UE for performing the proximity service are consistent with resources corresponding to the parameter information, and the resources of the UE are more balanced, and meanwhile, since the effective duration in the parameter information is longer than the effective duration that the UE obtained from the proximity service server last time, the second embodiment of the present invention may further ensure continuity of executing the proximity service, avoid that the UE initiates a discovery request to the proximity service server for multiple times, and reduce signaling interaction while ensuring execution of the proximity service.
EXAMPLE III
The third embodiment of the invention also provides a service authorization method. The method may be performed by a proximity services server of a home network. Fig. 3 is a flowchart of a service authorization method provided by the third embodiment of the present invention. As shown in fig. 3, the service authorization method provided in the third embodiment may include the following steps:
s301, a short-distance service server receives a discovery request message sent by UE; the discovery request message includes an identifier of the proximity service requested by the UE and initial indication information; the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the proximity service server by the UE for requesting the proximity service.
S302, the proximity service server determines the number of proximity services requested by the UE according to the discovery request message including the initial indication information sent by the UE.
The UE sends a discovery request message including initial indication information to the proximity service server every time it requests a new proximity service. The proximity service server may update a value of a counter of the UE according to a discovery request message including the initial indication information sent by the UE, and determine the updated value of the counter of the UE as the number of proximity services requested by the UE. The proximity service server updates the value of the counter of the UE, which may be an operation of adding one to the value of the counter of the UE.
It should be noted that, before updating the value of the counter of the UE, the proximity service server further determines whether the number of proximity services in the context information of the UE is the same as the value of the counter of the UE, and if not, corrects the value of the counter of the UE according to the number of proximity services in the context information of the UE, so that the number of proximity services in the context information of the UE is consistent with the value of the counter of the UE. The validity duration of each proximity service in the context information of the UE is in the validity period, that is, the validity duration has not expired. If the validity duration of a certain proximity service of the UE expires, the proximity service server further needs to delete the information of the certain proximity service in the context information of the UE.
S303, the proximity service server sends a resource request message to a base station, where the resource request message includes the number of the proximity service, and the resource request message is used to instruct the base station to allocate air interface resources to the UE according to the number of the proximity service.
The proximity service server may be sequentially transmitted to the base station through the HSS and a Mobile Management Entity (MME). The base station may be an evolved Node B (eNB).
Because the base station may allocate air interface resources to the UE according to the number of the proximity services, the larger the number of the proximity services is, the larger the air interface resources allocated to the UE by the base station is, and correspondingly, the smaller the number of the proximity services is, the smaller the air interface resources allocated to the UE by the base station is.
Optionally, before the sending, by the proximity service server, the resource request message to the base station in S303, the method further includes:
and the near field service server determines to increase the air interface resources required by the UE according to the number of the near field services and a preset service number threshold.
The service quantity threshold is the near field service quantity included in the resource request message which is sent by the near field service server to the base station last time and is used for requesting air interface resources.
Correspondingly, the sending, by the proximity service server, the resource request message to the base station in S303 may include:
and if the near field service server determines to increase the air interface resources required by the UE, the near field service server sends the resource request message to the base station.
Specifically, the proximity service server sends the resource request message to the base station only when it is determined that the air interface resource required by the UE is increased, so that interaction between the proximity service server and the base station can be reduced when it is ensured that the air interface resource required by the UE is sufficient.
The determining, by the proximity service server according to the number of the proximity services and the preset service number threshold, to increase the air interface resources required by the UE may include:
the short-distance service server compares the number of the short-distance services with the threshold value of the number of the services;
and if the quantity of the short-distance services is larger than the service quantity threshold value, the short-distance service server determines to increase the air interface resources required by the UE.
In the service authorization method provided in the third embodiment of the present invention, when the indication information may also be initial indication information, the proximity service server determines, according to a discovery request message that includes the initial indication information and is sent by the UE, the number of proximity services requested by the UE, the proximity service server sends a resource request message to a base station, the resource request message includes the number of the proximity services, and the resource request message is used to instruct the base station to allocate air interface resources to the UE according to the number of the proximity services, so that the larger the number of the proximity services is, the larger the air interface resources allocated to the UE by the base station are, correspondingly, the smaller the number of the proximity services is, and the smaller the air interface resources allocated to the UE by the base station are. Meanwhile, in the third embodiment, the near field service server sends the resource request message to the base station only when determining that the air interface resource required by the UE is added, so that the interaction between the near field service server and the base station can be reduced when ensuring that the air interface resource required by the UE is sufficient.
Example four
The fourth embodiment of the present invention further provides a service authorization method, which can specifically describe the service authorization method in the third embodiment by using a specific example. The fourth embodiment of the present invention is described only with the service authorization method when the UE is a broadcast UE, and the service authorization method when the UE is a monitor UE is similar to that when the UE is a broadcast UE, and is not described herein again. Fig. 4 is a flowchart of a service authorization method according to a fourth embodiment of the present invention. As shown in fig. 4, the method may include:
s401, the UE obtains the ProSe App ID of the short-distance service.
It should be noted that, the specific process of the UE acquiring the ProSe App ID of the proximity service in S401 and the identifier included in the ProSe App ID may be similar to that in S201 in the second embodiment, and are not described herein again.
S402, UE sends a discovery request message to a proximity service server, wherein the discovery request message comprises the ID of the UE, the ProSe App ID, the App ID, initial indication information and the type of the UE.
The specific form of the ID of the UE, the App ID and the type of the UE may be similar to that in S202 in the second embodiment, and is not repeated here. The specific meaning of the initial indication information is similar to that in the third embodiment, and is not described herein again.
S403, the proximity service server verifies the UE according to the ID of the UE, the ProSe App ID, the App ID and the type of the UE.
S404, if the UE passes the verification, the close range service server distributes parameter information to the UE respectively, wherein the parameter information comprises broadcast information and effective duration.
The broadcast information may be a broadcast code, and the valid duration is a broadcast timer corresponding to the broadcast code.
S405, the distance service server of the home network returns a discovery request response message to the UE, where the discovery request response message includes the parameter information, and the parameter information includes broadcast information and validity duration.
S406, the proximity service server updates a value of a counter of the UE according to the discovery request message including the initial indication information sent by the UE, and determines the updated value of the counter of the UE as the number of the proximity services requested by the UE.
It should be noted that S406 may be executed concurrently with S403, S404, S405, or S405, and the embodiments of the present invention do not limit this.
S407, the proximity service server determines to increase air interface resources required by the UE according to the number of the proximity services and a preset service number threshold; the service quantity threshold is the near field service quantity included in the resource request message which is sent by the near field service server to the base station last time and is used for requesting air interface resources.
S408, the near field service server sends the resource request message to a base station; the resource request message includes the number of the proximity services; the resource request message is used for instructing the base station to allocate air interface resources to the UE according to the number of the proximity services.
In the service authorization method provided by the fourth embodiment of the present invention, when the indication information may also be initial indication information, the proximity service server determines, according to a discovery request message that includes the initial indication information and is sent by the UE, the number of proximity services requested by the UE, the proximity service server sends a resource request message to a base station, the resource request message includes the number of the proximity services, and the resource request message is used to instruct the base station to allocate air interface resources to the UE according to the number of the proximity services, so that the larger the number of the proximity services is, the larger the air interface resources allocated to the UE by the base station are, correspondingly, the smaller the number of the proximity services is, and the smaller the air interface resources allocated to the UE by the base station are. Meanwhile, in the fourth embodiment, the near field service server sends the resource request message to the base station only when it is determined that the air interface resource required by the UE is increased, so that the interaction between the near field service server and the base station can be reduced when it is ensured that the air interface resource required by the UE is sufficient.
EXAMPLE five
The fifth embodiment of the invention also provides a service verification method. The method may be performed by a proximity services server of a home network. Fig. 5 is a flowchart of a service authorization method according to a fifth embodiment of the present invention. As shown in fig. 5, the service authorization method provided in this embodiment 5 may include the following steps:
s501, a proximity service server receives a discovery request message sent by UE, wherein the discovery request message comprises identification and indication information of proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message.
S502, the proximity service server determines, according to the number of discovery request messages including the indication information sent by the UE, the number of times that the UE requests the proximity service within a preset time period.
It should be noted that, in S502, the proximity service server determines, according to the number of discovery request messages including the indication information, the number of times that the UE requests the proximity service in a preset time period, where the number of times that the proximity service server performs the proximity service request in the preset time period may be counted by the proximity service server for the discovery request messages sent by the UE in the preset time period, and then the number of the discovery request messages including the initial indication information or the postponed indication information is determined as the number of times that the proximity service request is performed. The preset time period may be a time period from the starting time, such as any one of a day, a week, or a month. The start time may be a time when the UE signs up for the proximity service. The starting time may also be a predetermined specific time point, such as any one of time points from 0 to 24 per day, or any one day from monday to sunday.
S503, the proximity service server determines the priority of the UE according to the number of the proximity service requests and the corresponding relation between the number of the proximity service requests and the priority.
Specifically, the correspondence between the number of requests for the proximity service and the priority may be stored in a correspondence table between the number of requests and the priority. The correspondence table of the number of requests and the priority may include: at least two priorities and a request number range corresponding to each priority in the at least two priorities.
In the preset correspondence table of request times and priorities, one priority may correspond to one request time range. The proximity service server may determine a request frequency range to which the number of times of requesting the proximity service belongs according to the number of times of requesting the proximity service, and determine a priority corresponding to the request frequency range to which the number of times of requesting the proximity service belongs in the preset request frequency and priority correspondence table according to the request frequency range to which the number of times of requesting the proximity service belongs, as the priority of the UE.
For example, if the preset correspondence table between the number of requests and the priority is shown in table 1 below:
priority level Number of requests
General users 0~19
Silver card user 20~99
Gold medal user ≥100
TABLE 1
If the number of times of requesting the proximity service by the UE is determined to be 50 by the proximity service server, it can be known from the preset correspondence table between the number of times of requesting and the priority that 50 falls within the range of 20 to 99, and therefore, the priority of the UE is a bank user. If the number of times of requesting the proximity service by the UE is determined to be 100 by the proximity service server, it can be known from the preset correspondence table between the number of times of requesting and the priority that 100 belongs to a range of not less than 100, and therefore, the priority of the UE is a gold medal user.
It should be noted that table 1 is only one implementation example of the preset correspondence table between the number of requests and the priority, and the priority in table 1 may also include other types of priorities, and the number of requests corresponding to each priority may also be in other numerical ranges, which is not described herein again.
The near field service server can charge the near field service executed by the UE according to the priority of the UE, and the continuity of the near field service of the UE when the network is busy is ensured. The proximity service server can also perform roaming permission and the like for the UE which is switched to the registered network according to the priority of the UE.
The service authorization method provided by the fifth embodiment of the present invention may determine the priority of the UE by counting the number of times that the proximity service server requests the proximity service from the UE, so that the proximity service server may charge the proximity service executed by the UE according to the priority of the UE, thereby ensuring the continuity of the proximity service of the UE when the network is busy.
Optionally, the method further includes:
and the short-distance service server sends the priority of the UE to the HSS so that the HSS judges whether the priority of the UE changes or not according to the priority of the UE and the priority in the subscription information of the UE.
If the priority of the UE changes, the HSS also modifies the priority in the subscription information of the UE into the priority of the UE.
The priority change of the UE may include a priority increase of the UE or a priority decrease of the UE.
Optionally, the indication information is initial indication information or deferred indication information.
Wherein, the initial indication information is used to indicate that the discovery request message is a discovery request message that is sent by the UE to the proximity service server for requesting the proximity service for the first time; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server when the validity duration of the proximity service server for the UE expires. Wherein, the valid duration is the valid duration in the parameter information obtained by the UE from the proximity service last time.
In the service verification method of the fifth embodiment of the present invention, the number of times that the proximity service server requests the proximity service of the UE may be counted by the proximity service server to determine the priority of the UE, so that the proximity service server determines whether the priority of the UE changes, and when the priority of the UE changes, modifies the priority in the subscription information of the UE into the priority of the UE, so that the proximity service server may perform maintenance statistics on the priority of the UE, so that the HSS performs correction maintenance on the priority of the UE, and better ensures correspondence between the subscription information of the UE and the priority.
EXAMPLE six
The sixth embodiment of the present invention further provides a service authorization method, which can specifically describe the service authorization method in the fifth embodiment by using a specific example. The sixth embodiment of the present invention is described only with the service authorization method when the UE is a broadcast UE, and the service authorization method when the UE is a monitor UE is similar to that when the UE is a broadcast UE, and is not described herein again. Fig. 6 is a flowchart of a service authorization method according to a sixth embodiment of the present invention. As shown in fig. 6, the method may include:
s601, the UE acquires the ProSe App ID of the proximity service.
It should be noted that the specific process of the UE acquiring the ProSe App ID of the proximity service in S601 and the identifier included in the ProSe App ID may be similar to that in S201 in the second embodiment, and are not described herein again.
S602, UE sends a discovery request message to a proximity service server, wherein the discovery request message comprises the ID of the UE, the ProSe App ID, the App ID, indication information and the type of the UE; the indication information is initial indication information or delay indication information.
The ID of the UE, the App ID and the type of the UE may be similar to those in S202 in the second embodiment and are not repeated here. The specific meanings of the initial indication information and the postponed indication information included in the indication information may be similar to those in the fifth embodiment, and are not described herein again.
S603, the short-distance service server verifies the UE according to the ID of the UE, the ProSe App ID, the App ID and the type of the UE.
S604, if the UE passes the verification, the proximity service server distributes parameter information to the UE, wherein the parameter information comprises broadcast information and effective duration.
The broadcast information may be a broadcast code, and the valid duration is a broadcast timer corresponding to the broadcast code.
S605, the distance service server of the home network returns a discovery request response message to the UE, where the discovery request response message includes the parameter information, and the parameter information includes broadcast information and validity duration.
S606, the proximity service server determines, according to the number of discovery request messages including the indication information sent by the UE, the number of times that the UE requests the proximity service within a preset time period.
S607, the proximity service server determines the priority of the UE according to the number of times of requesting the proximity service and the corresponding relationship between the number of times of requesting the proximity service and the priority.
S608, the proximity service server sends the priority of the UE to the HSS.
S609, the HSS judges whether the priority of the UE changes according to the priority of the UE and the priority in the subscription information of the UE.
S610, if the priority of the UE changes, the HSS modifies the priority in the subscription information of the UE to the priority of the UE.
The service verification method according to the sixth embodiment of the present invention may further determine the priority of the UE by performing statistics according to the number of times that the proximity service server requests the proximity service for the UE, so that the proximity service server determines whether the priority of the UE changes, and when the priority of the UE changes, modifies the priority in the subscription information of the UE into the priority of the UE, so that the proximity service server may perform maintenance statistics on the priority of the UE, so that the HSS performs correction maintenance on the priority of the UE, and better ensures correspondence between the subscription information of the UE and the priority.
EXAMPLE seven
The seventh embodiment of the invention also provides a service verification method. The method may be performed by a proximity services server of a home network. Fig. 7 is a flowchart of a service authorization method according to a seventh embodiment of the present invention. As shown in fig. 7, the service authorization method provided in this embodiment 7 may include the following steps:
s701, a short-distance service server receives a discovery request message sent by UE, wherein the discovery request message comprises switching registration network indication information and a current registration network identifier of the UE; the handover registration network indication message is used to indicate that the discovery request message is a discovery request message sent to the proximity service server after the UE switches the registration network.
S702, the proximity service server determines that the current registered network identifier of the UE is a network identifier in the equivalent network identifier list of the UE, and the current network identifier of the UE is different from the registered network identifier in the context information of the UE.
S703, the proximity service server updates the registered network identifier in the context information of the UE according to the current registered network identifier of the UE.
The current registered Network identifier of the UE may be an identifier of a registered Network when the UE performs Network attachment last time, that is, an identifier of a Serving Public land mobile Network (VPLMN) that provides communication service for the UE currently. Different mobile communication networks have different network numbers, communication networks provided by different operators have different network numbers, and different communication networks provided by the same operator also have different communication numbers. The operator may be, for example, china mobile, china unicom, china telecom, AT & T, etc. For example, if the network currently providing communication service for the UE, that is, the network provided by the VPLMN for the china unicom operator, the identity of the VPLMN may be 46001.
The equivalent network identifier list of the UE is a network identifier list that includes at least one network identifier of a Location Area (LA) allocated to the UE by a home network after the UE is attached to the home network. When the UE moves within the LA, that is, when each network within the LA migrates, it is not necessary to notify the network side device. The equivalent network identity may be denoted as LA list comprising at least one network identity, i.e. an identity of at least one PLMN.
If the current registered network identifier of the UE is a network identifier in the equivalent network identifier list of the UE, and the current network identifier of the UE is different from the registered network identifier in the context information of the UE, that is, the UE moves within the equivalent network range of the UE in an equivalent network deployment scenario, and switches the registered network.
Optionally, before the step S702 that the proximity service server determines that the current registered network identifier of the UE is a network identifier in the equivalent network identifier list of the UE, and the current network identifier of the UE is different from the registered network identifier in the context information of the UE, the method further includes:
the close range server judges whether the current registered network identification of the UE is the network identification in the equivalent network identification list of the UE;
if the current registered network identifier of the UE is the network identifier in the equivalent network identifier list of the UE, the proximity service server judges whether the current network identifier of the UE is the same as the registered network identifier in the context information of the UE.
In the service verification method provided by the seventh embodiment of the present invention, the proximity service server determines that the current registered network identifier of the UE is a network identifier in the equivalent network identifier list of the UE, and the current network identifier of the UE is different from the registered network identifier in the context information of the UE, so that it can be known that the UE actually moves within the equivalent network range in an equivalent network deployment scenario. The short-distance service server also updates the registered network identification in the context information of the UE according to the current registered network identification of the UE, so that the problem caused by inconsistency of the registered network identification in the existing context information and the current registered network identification can be avoided, the broadcast information received by the monitoring UE can be correctly analyzed, the corresponding short-distance service information can be obtained, and the normal operation of the short-distance communication service can be ensured.
Example eight
The eighth embodiment of the present invention further provides a service authorization method, which can specifically describe the service authorization method in the seventh embodiment by using a specific example. The eighth embodiment of the present invention is only described in the context of a service authorization method when the UE is a broadcast UE, and the service authorization method when the UE is a monitor UE is similar to that when the UE is a broadcast UE, and is not described herein again. Fig. 8 is a flowchart of a service authorization method according to an eighth embodiment of the present invention. As shown in fig. 8, the method may include:
s801, the UE acquires the ProSe App ID of the proximity service.
It should be noted that the specific process of the UE acquiring the ProSe App ID of the proximity service in S801 and the identifier included in the ProSe App ID may be similar to that in S201 in the second embodiment, and are not described herein again.
S802, UE sends a discovery request message to a proximity service server of a home network, wherein the discovery request message comprises the ID of the UE, the App ID of ProSe, the App ID, switching registration network indication information, the current registration network identification of the UE and the type of the UE.
The ID of the UE, the App ID, and the type of the UE may be similar to those in S202 in the second embodiment, and are not repeated here. The handover registration network indication information and the current registration network identifier of the UE may be similar to those in the seventh embodiment, and are not described herein again.
S803, the proximity service server of the home network determines the UE switching registration network according to the switching registration network indication information, and judges whether the current registration network identifier of the UE is the network identifier in the equivalent network identifier list of the UE.
S804, if the current registered network identifier of the UE is the network identifier in the equivalent network identifier list of the UE, the proximity service server of the home network judges whether the current network identifier of the UE is the same as the registered network identifier in the context information of the UE.
S805, if the current registered network identifier of the UE is the network identifier in the equivalent network identifier list of the UE, and the current network identifier of the UE is different from the registered network identifier in the context information of the UE, the proximity service server updates the registered network identifier in the context information of the UE according to the current registered network identifier of the UE.
S806, the proximity service server of the home network allocates parameter information to the UE according to the ID of the UE, the ProSe App ID, the App ID and the type of the UE, wherein the parameter information comprises broadcast information and effective duration.
S807, the proximity service server of the home network sends a broadcast verification request message to the proximity service server of the UE currently registered with the network, wherein the broadcast verification request message includes the ID of the UE, the ProSe App ID, the App ID and the broadcast information.
S808, the short-distance service server of the current registration network returns a broadcast verification response message to the short-distance service server of the home network.
S809, the proximity service server of the home network returns a discovery request response message to the UE, where the discovery request response message includes parameter information allocated to the UE, and the parameter information includes broadcast information and valid duration.
In the service authorization method provided by the eighth embodiment of the present invention, the proximity service server further updates the registered network identifier in the context information of the UE according to the current registered network identifier of the UE, so as to avoid a problem caused by inconsistency between the registered network identifier in the existing context information and the current registered network identifier in an equivalent network deployment scenario, so that broadcast information received by the monitoring UE can be correctly analyzed, thereby obtaining corresponding proximity service information and ensuring normal operation of the proximity communication service.
Example nine
The ninth embodiment of the invention also provides a service verification method. The service verification method provided in the ninth embodiment of the present invention may be a service verification method executed by the UE corresponding to the method in any one of the first embodiment and the second embodiment. Fig. 9 is a flowchart of a service authorization method according to a ninth embodiment of the present invention. As shown in fig. 9, the method may include:
s901, UE sends a discovery request message to a proximity service server; the discovery request message includes identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message.
S902, the UE receives a discovery response message returned by the proximity service server, wherein the discovery response message includes parameter information of the proximity service distributed to the UE according to the indication information when the proximity service server passes the verification of the UE according to the identification of the proximity service.
Optionally, the indication information is postponed indication information.
The deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the validity duration expires; wherein, the valid duration is the valid duration in the parameter information obtained by the UE from the proximity service last time.
The effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time.
The service verification method provided in the ninth embodiment of the present invention may be a service verification method executed by the UE corresponding to the method described in any one of the first embodiment and the second embodiment, where the parameter information is configuration parameter information allocated by the proximity service server according to the deferral indication information sent by the UE, so that resources actually required by the UE for performing the proximity service are consistent with resources corresponding to the parameter information, and resources of the UE are more balanced.
Example ten
The embodiment of the invention also provides a near field service server. The proximity service server provided in the tenth embodiment of the present invention may be configured to execute the service authorization method described in any of the first embodiment or the second embodiment. Fig. 10 is a schematic structural diagram of a proximity service server according to a tenth embodiment of the present invention.
As shown in fig. 10, the proximity service server 1000 includes: a receiving module 1001, a verifying module 1002, an assigning module 1003 and a sending module 1004.
The receiving module 1001 is configured to receive a discovery request message sent by a UE; the discovery request message includes identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message.
The verifying module 1002 is configured to verify the UE according to the identifier of the proximity service.
An allocating module 1003, configured to allocate, if the UE passes the verification, parameter information of the proximity service to the UE according to the indication information.
A sending module 1004 configured to send a discovery response message to the UE, where the discovery response message includes the parameter information.
Optionally, the indication information is postponed indication information. The deferral indication information is used to indicate that the discovery request message is a discovery request message sent by the UE to the proximity service server when the validity duration expires. Wherein, the valid duration is the valid duration in the parameter information obtained by the UE from the proximity service last time.
An allocating module 1003, further configured to allocate the parameter information to the UE according to the deferral indication information; the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time.
The proximity service server provided in the tenth embodiment of the present invention may be configured to execute the service authorization method described in any of the first embodiment or the second embodiment, and the specific implementation process and the beneficial effects thereof are similar to those of the foregoing embodiments and are not described herein again.
EXAMPLE eleven
The eleventh embodiment of the invention also provides a near field service server. The proximity service server provided in the eleventh embodiment of the present invention may be configured to execute the service authorization method described in any of the third embodiment or the fourth embodiment. Fig. 11 is a schematic structural diagram of a proximity service server according to an eleventh embodiment of the present invention.
As shown in fig. 11, the proximity service server 1100 may include: a receiving module 1101, a determining module 1102 and a sending module 1103.
The receiving module 1101 is configured to receive a discovery request message sent by a UE; the discovery request message includes an identifier of the proximity service requested by the UE and initial indication information; the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the proximity service server by the UE for requesting the proximity service.
A determining module 1102, configured to determine, according to the discovery request message including the initial indication information sent by the UE, the number of proximity services requested by the UE.
A sending module 1103, configured to send a resource request message to a base station, where the resource request message includes the number of the proximity services, and the resource request message is used to instruct the base station to allocate air interface resources to the UE according to the number of the proximity services.
Optionally, the determining module 1102 is further configured to determine, before the sending module 1103 sends the resource request message to the base station, to increase air interface resources required by the UE according to the number of the proximity services and a preset service number threshold. The service quantity threshold is the near field service quantity included in the resource request message which is sent by the near field service server to the base station last time and is used for requesting air interface resources.
The proximity service server provided in the eleventh embodiment of the present invention may be configured to execute the service authorization method described in any of the third embodiment or the fourth embodiment, and specific implementation processes and beneficial effects thereof are similar to those in the foregoing embodiments and are not described herein again.
Example twelve
The twelfth embodiment of the invention also provides a near field service server. The proximity service server provided by the twelfth embodiment of the present invention can be used to execute the service authorization method described in any of the fifth embodiment or the sixth embodiment. Fig. 12 is a schematic structural diagram of a proximity service server according to a twelfth embodiment of the present invention.
As shown in fig. 12, the proximity service server 1200 may include: a receiving module 1201 and a determining module 1202.
The receiving module 1201 is configured to receive a discovery request message sent by a UE; the discovery request message includes: identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message.
A determining module 1202, configured to determine, according to the number of the discovery request messages including the indication information sent by the UE, the number of times that the UE requests the proximity service within a preset time period; and determining the priority of the UE according to the number of the short-distance service requests and the corresponding relation between the number of the short-distance service requests and the priority.
Optionally, the proximity service server 1200 further includes:
and the sending module is used for sending the priority of the UE to the HSS so that the HSS judges whether the priority of the UE changes or not according to the priority of the UE and the priority in the subscription information of the UE.
Optionally, the indication information is initial indication information or deferred indication information.
Wherein, the initial indication information is used to indicate that the discovery request message is a discovery request message that is first sent by the UE to the proximity service server to request the proximity service.
The deferral indication information is used to indicate that the discovery request message is a discovery request message sent by the UE to the proximity service server when the validity duration expires. Wherein, the valid duration is the valid duration in the parameter information obtained by the UE from the proximity service last time.
The proximity service server provided in the twelfth embodiment of the present invention may be configured to execute the service authorization method described in any of the fifth embodiment or the sixth embodiment, and specific implementation processes and beneficial effects thereof are similar to those in the foregoing embodiments and are not described herein again.
EXAMPLE thirteen
The thirteen embodiment of the invention also provides a short-distance service server. The proximity service server provided in the thirteenth embodiment of the present invention can be used to execute the service authorization method described in any of the seventh embodiment or the eighth embodiment. Fig. 13 is a schematic structural diagram of a proximity service server according to a thirteenth embodiment of the present invention.
As shown in fig. 13, the proximity service server 1300 may include: a receiving module 1300, a determining module 1301, and an updating module 1302.
The receiving module 1300 is configured to receive a discovery request message sent by a UE; the discovery request message comprises switching registration network indication information and a current registration network identifier of the UE; the handover registration network indication information is used to indicate that the discovery request message is a discovery request message sent to the proximity service server after the UE switches the registration network.
A determining module 1301, configured to determine that the current registered network identifier of the UE is a network identifier in an equivalent network identifier list of the UE, and the current network identifier of the UE is different from the registered network identifier in the context information of the UE.
An updating module 1302, configured to update the registered network identifier in the context information of the UE according to the current registered network identifier of the UE.
The proximity service server provided in the thirteenth embodiment of the present invention may be configured to execute the service authorization method described in any of the seventh embodiment or the eighth embodiment, and specific implementation processes and beneficial effects thereof are similar to those in the foregoing embodiments and are not described herein again.
Example fourteen
The fourteenth embodiment of the invention also provides the UE. The UE provided in the fourteenth embodiment of the present invention can be used to execute the service authorization method provided in the ninth embodiment. Fig. 14 is a schematic structural diagram of a UE according to a fourteenth embodiment of the present invention. As shown in fig. 14, the UE 1400 may include: a sending module 1401 and a receiving module 1402.
A sending module 1401, configured to send a discovery request message to a proximity service server; the discovery request message includes identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message.
A receiving module 1402, configured to receive a discovery response message returned by the proximity service server, where the discovery response message includes parameter information of the proximity service allocated to the UE according to the indication information when the proximity service server verifies that the UE passes the authentication according to the identifier of the proximity service.
Optionally, the indication information is postponed indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the validity duration expires; wherein, the valid duration is the valid duration in the parameter information obtained by the UE from the proximity service last time.
The effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time.
The UE provided in the fourteenth embodiment of the present invention can be used to execute the service authorization method provided in the ninth embodiment, and the specific implementation process and the beneficial effects thereof are similar to those in the foregoing embodiments and are not described herein again.
Example fifteen
The fifteenth embodiment of the invention also provides a near field service server. The proximity service server provided by the fifteenth embodiment of the present invention can be used to execute the service authorization method described in any of the first embodiment or the second embodiment. Fig. 15 is a schematic structural diagram of a proximity service server according to a fifteenth embodiment of the present invention.
As shown in fig. 15, the proximity services server 1500 may include a receiver 1501, a processor 1502, and a transmitter 1503.
The receiver 1501 is configured to receive a discovery request message sent by a UE; the discovery request message includes identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message.
The processor 1502 is configured to verify the UE according to the identifier of the proximity service, and if the UE passes the verification, allocate parameter information of the proximity service to the UE according to the indication information.
A transmitter 1503 configured to transmit a discovery response message to the UE, the discovery response message including the parameter information.
Optionally, the indication information is postponed indication information. The deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the validity duration expires; wherein, the valid duration is the valid duration in the parameter information obtained by the UE from the proximity service last time.
The processor 1502 is further configured to allocate the parameter information to the UE according to the deferral indication information; the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time.
The proximity service server provided in the fifteenth embodiment of the present invention can be used to execute the service authorization method described in any of the first embodiment or the second embodiment, and the specific implementation process and the beneficial effects thereof are similar to those of the foregoing embodiments and are not described herein again.
Example sixteen
The embodiment of the invention provides a near field service server. The proximity service server provided by the sixteenth embodiment of the present invention can be used to execute the service authorization method described in any of the third embodiment or the fourth embodiment.
The schematic structural diagram of the proximity service server provided in the sixteenth embodiment of the present invention may be similar to that shown in fig. 15 in the fifteenth embodiment of the present invention, and the proximity service server may also include a receiver, a processor, and a transmitter.
In a sixteenth embodiment of the present invention, a receiver is configured to receive a discovery request message sent by a UE; the discovery request message includes an identifier of the proximity service requested by the UE and initial indication information; the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the proximity service server by the UE for requesting the proximity service.
And a processor, configured to determine, according to the discovery request message including the initial indication information sent by the UE, the number of proximity services requested by the UE.
A transmitter, configured to send a resource request message to a base station, where the resource request message includes the number of the proximity services, and the resource request message is used to instruct the base station to allocate air interface resources to the UE according to the number of the proximity services.
Optionally, the processor is further configured to determine, before the transmitter sends the resource request message to the base station, to increase air interface resources required by the UE according to the number of the proximity services and a preset service number threshold; the service quantity threshold is the near field service quantity included in the resource request message which is sent by the near field service server to the base station last time and is used for requesting air interface resources.
The proximity service server provided in the sixteenth embodiment of the present invention may be configured to execute the service authorization method described in any of the third embodiment or the fourth embodiment, and the specific implementation process and the beneficial effects thereof are similar to those of the foregoing embodiments and are not described herein again.
Example seventeen
The seventeenth embodiment of the invention also provides a near field service server. The proximity service server provided in the seventeenth embodiment of the present invention may be configured to execute the service authorization method described in any of the fifth embodiment or the sixth embodiment. A schematic structural diagram of a proximity service server provided in seventeenth embodiment of the present invention may be similar to fig. 15 in fifteenth embodiment, where the proximity service server also includes a receiver, a processor, and a transmitter.
In the seventeenth embodiment of the present invention, the receiver is configured to receive a discovery request message sent by a UE; the discovery request message includes identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message.
And the processor is used for determining the number of times of requesting the near field service by the UE in a preset time period according to the number of the discovery request messages including the indication information sent by the UE, and determining the priority of the UE according to the number of times of requesting the near field service and the corresponding relation between the number of times of requesting the near field service and the priority.
Optionally, the transmitter is configured to send the priority of the UE to the HSS, so that the HSS determines whether the priority of the UE changes according to the priority of the UE and the priority in the subscription information of the UE.
Optionally, the indication information is initial indication information or deferred indication information.
Wherein, the initial indication information is used to indicate that the discovery request message is a discovery request message that is first sent by the UE to the proximity service server to request the proximity service.
The deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the validity duration expires; wherein, the valid duration is the valid duration in the parameter information obtained by the UE from the proximity service last time.
The proximity service server provided in the seventeenth embodiment of the present invention may be configured to execute the service authorization method described in any of the fifth embodiment or the sixth embodiment, and specific implementation procedures and beneficial effects thereof are similar to those in the foregoing embodiments and are not described herein again.
EXAMPLE eighteen
Eighteen, the present invention further provides a proximity service server. The proximity service server provided in the eighteenth embodiment of the present invention can be used to execute the service authorization method described in any of the seventh or eighth embodiments. The schematic structural diagram of the proximity service server provided in eighteenth embodiment of the present invention may be similar to fig. 15 in the fifteenth embodiment of the present invention, and the proximity service server may also include a receiver, a processor, and a transmitter.
In an eighteenth embodiment of the present invention, a receiver is configured to receive a discovery request message sent by a UE; the discovery request message comprises switching registration network indication information and a current registration network identifier of the UE; the handover registration network indication information is used to indicate that the discovery request message is a discovery request message sent to the proximity service server after the UE switches the registration network.
And the processor is used for determining that the current registered network identifier of the UE is the network identifier in the equivalent network identifier list of the UE, and the current network identifier of the UE is different from the registered network identifier in the context information of the UE, and updating the registered network identifier in the context information of the UE according to the current registered network identifier of the UE.
The proximity service server provided in the eighteenth embodiment of the present invention can be used to execute the service authorization method described in any of the seventh or eighth embodiments, and the specific implementation process and beneficial effects thereof are similar to those of the foregoing embodiments, and are not described herein again.
Example nineteen
The nineteenth embodiment of the present invention further provides a UE. The UE provided in nineteenth embodiment of the present invention can be used to execute the service authorization method provided in the ninth embodiment. Fig. 16 is a schematic structural diagram of a UE according to nineteenth embodiment of the present invention.
As shown in fig. 16, the UE 1600 includes a receiver 1601, a processor 1602, and a transmitter 1603.
Wherein, the transmitter 1603 is configured to send a discovery request message to the proximity service server; the discovery request message includes identification and indication information of the proximity service requested by the UE; the indication information is reason indication information for the UE to send the discovery request message.
The receiver 1601 is configured to receive a discovery response message returned by the proximity service server, where the discovery response message includes parameter information of the proximity service allocated to the UE according to the indication information when the proximity service server verifies that the UE passes the authentication according to the identifier of the proximity service.
Optionally, the indication information is postponed indication information. The deferral indication information is used to indicate that the discovery request message is a discovery request message sent by the UE to the proximity service server when the validity duration expires. Wherein, the valid duration is the valid duration in the parameter information obtained by the UE from the proximity service last time.
The effective duration in the parameter information is longer than the effective duration in the parameter information that the UE obtained from the proximity service server last time.
The UE provided in nineteenth embodiment of the present invention can be used to execute the service authorization method provided in the ninth embodiment, and the specific implementation process and beneficial effects thereof are similar to those in the foregoing embodiments and are not described herein again.
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 (24)

1. A method for service authorization, comprising:
a near field service server receives a discovery request message sent by User Equipment (UE); the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is used for indicating the reason for the UE to send the discovery request message;
the short-distance service server verifies the UE according to the identification of the short-distance service;
if the UE passes the verification, the short-distance service server distributes the parameter information of the short-distance service to the UE according to the indication information;
the proximity service server sends a discovery response message to the UE, wherein the discovery response message comprises the parameter information;
the indication information is delay indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the allocating, by the proximity service server, the parameter information of the proximity service to the UE according to the indication information includes:
the short-distance service server distributes the parameter information to the UE according to the delay indication information; and the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the near field service server last time.
2. A method for service authorization, comprising:
a near field service server receives a discovery request message sent by User Equipment (UE); the discovery request message comprises an identification and initial indication information of the proximity service requested by the UE; the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
the near field service server determines the quantity of the near field services requested by the UE according to the discovery request message which is sent by the UE and comprises the initial indication information;
and the near field service server sends a resource request message to a base station, wherein the resource request message comprises the number of the near field services, and the resource request message is used for indicating the base station to allocate air interface resources to the UE according to the number of the near field services.
3. The method of claim 2, wherein before the short-range service server sends the resource request message to the base station, the method further comprises:
the near field service server determines to increase air interface resources required by the UE according to the number of the near field services and a preset service number threshold; the service quantity threshold is the near field service quantity included in the resource request message which is sent to the base station by the near field service server last time and is used for requesting air interface resources.
4. A method for service authorization, comprising:
a near field service server receives a discovery request message sent by User Equipment (UE); the discovery request message includes: identification and indication information of the proximity service requested by the UE; the indication information is used for indicating the reason for the UE to send the discovery request message;
the near field service server determines the times of requesting the near field service by the UE in a preset time period according to the quantity of the discovery request messages which are sent by the UE and comprise the indication information;
and the near field service server determines the priority of the UE according to the number of times of requesting the near field service and the corresponding relation between the number of times of requesting the near field service and the priority.
5. The method of claim 4, further comprising:
and the short-distance service server sends the priority of the UE to a home network server (HSS) so that the HSS judges whether the priority of the UE changes or not according to the priority of the UE and the priority in the subscription information of the UE.
6. The method according to claim 4 or 5, wherein the indication information is initial indication information or postponed indication information;
the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; and the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time.
7. A method for service authorization, comprising:
a near field service server receives a discovery request message sent by User Equipment (UE); the discovery request message comprises switching registration network indication information and a current registration network identifier of the UE; the switching registration network indication information is used for indicating that the discovery request message is a discovery request message sent to the proximity service server after the UE switches the registration network;
the near field service server determines that the current registered network identifier of the UE is a network identifier in an equivalent network identifier list of the UE, and the current network identifier of the UE is different from the registered network identifier in the context information of the UE;
and the short-distance service server updates the registered network identification in the context information of the UE according to the current registered network identification of the UE.
8. A method for service authorization, comprising:
UE sends a discovery request message to a proximity service server; the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is used for indicating the reason for the UE to send the discovery request message;
the UE receives a discovery response message returned by the near distance service server, wherein the discovery response message comprises parameter information of the near distance service distributed to the UE according to the indication information when the near distance service server passes the verification of the UE according to the identification of the near distance service;
the indication information is delay indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time.
9. A proximity services server, comprising:
a receiving module, configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is used for indicating the reason for the UE to send the discovery request message;
the verification module is used for verifying the UE according to the identification of the short-distance service;
the distribution module is used for distributing the parameter information of the near field service to the UE according to the indication information if the UE passes the verification;
a sending module, configured to send a discovery response message to the UE, where the discovery response message includes the parameter information;
the indication information is delay indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the allocation module is further configured to allocate the parameter information to the UE according to the deferral indication information; and the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the near field service server last time.
10. A proximity services server, comprising:
a receiving module, configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises an identification and initial indication information of the proximity service requested by the UE; the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
a determining module, configured to determine, according to the discovery request message including the initial indication information sent by the UE, the number of proximity services requested by the UE;
a sending module, configured to send a resource request message to a base station, where the resource request message includes the number of the proximity services, and the resource request message is used to instruct the base station to allocate air interface resources to the UE according to the number of the proximity services.
11. The server according to claim 10,
the determining module is further configured to determine, before the sending module sends the resource request message to the base station, to increase air interface resources required by the UE according to the number of the proximity services and a preset service number threshold; the service quantity threshold is the near field service quantity included in the resource request message which is sent to the base station by the near field service server last time and is used for requesting air interface resources.
12. A proximity services server, comprising:
a receiving module, configured to receive a discovery request message sent by a user equipment UE; the discovery request message includes: identification and indication information of the proximity service requested by the UE; the indication information is used for indicating the reason for the UE to send the discovery request message;
a determining module, configured to determine, according to the number of the discovery request messages including the indication information sent by the UE, the number of times that the UE requests the proximity service within a preset time period; and determining the priority of the UE according to the times of requesting the short-distance service and the corresponding relation between the times of requesting the short-distance service and the priority.
13. The server according to claim 12, wherein the server further comprises:
and the sending module is used for sending the priority of the UE to a home network server (HSS) so that the HSS can judge whether the priority of the UE changes or not according to the priority of the UE and the priority in the subscription information of the UE.
14. The server according to claim 12 or 13, wherein the indication information is initial indication information or postponed indication information;
the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; and the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time.
15. A proximity services server, comprising:
a receiving module, configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises switching registration network indication information and a current registration network identifier of the UE; the switching registration network indication information is used for indicating that the discovery request message is a discovery request message sent to the proximity service server after the UE switches the registration network;
a determining module, configured to determine that a current registered network identifier of the UE is a network identifier in an equivalent network identifier list of the UE, where the current network identifier of the UE is different from a registered network identifier in context information of the UE;
and the updating module is used for updating the registered network identifier in the context information of the UE according to the current registered network identifier of the UE.
16. A User Equipment (UE), comprising:
a sending module, configured to send a discovery request message to a proximity service server; the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is used for indicating the reason for the UE to send the discovery request message;
a receiving module, configured to receive a discovery response message returned by the proximity service server, where the discovery response message includes parameter information of a proximity service allocated to the UE according to the indication information when the proximity service server verifies that the UE passes the authentication according to the identifier of the proximity service;
the indication information is delay indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time.
17. A proximity services server, comprising: a receiver, a processor and a transmitter;
the receiver is configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is used for indicating the reason for the UE to send the discovery request message;
the processor is used for verifying the UE according to the identifier of the short-distance service, and if the UE passes the verification, parameter information of the short-distance service is distributed to the UE according to the indication information;
the transmitter is configured to transmit a discovery response message to the UE, where the discovery response message includes the parameter information;
the indication information is delay indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the processor is further configured to allocate the parameter information to the UE according to the deferral indication information; and the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the near field service server last time.
18. A proximity services server, comprising: a receiver, a processor and a transmitter;
the receiver is configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises an identification and initial indication information of the proximity service requested by the UE; the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
the processor is configured to determine, according to the discovery request message including the initial indication information sent by the UE, the number of proximity services requested by the UE;
the transmitter is configured to send a resource request message to a base station, where the resource request message includes the number of the proximity services, and the resource request message is used to instruct the base station to allocate air interface resources to the UE according to the number of the proximity services.
19. The server according to claim 18,
the processor is further configured to determine to increase air interface resources required by the UE according to the number of the proximity services and a preset service number threshold before the transmitter sends the resource request message to the base station; the service quantity threshold is the near field service quantity included in the resource request message which is sent to the base station by the near field service server last time and is used for requesting air interface resources.
20. A proximity services server, comprising: a receiver, a processor and a transmitter;
the receiver is configured to receive a discovery request message sent by a user equipment UE; the discovery request message includes: identification and indication information of the proximity service requested by the UE; the indication information is used for indicating the reason for the UE to send the discovery request message;
the processor is configured to determine, according to the number of the discovery request messages including the indication information sent by the UE, the number of times that the UE requests the proximity service within a preset time period, and determine, according to the number of times that the UE requests the proximity service and a correspondence between the number of times that the proximity service is requested and a priority, the priority of the UE.
21. The server according to claim 20,
the transmitter is configured to send the priority of the UE to a home network server HSS, so that the HSS determines whether the priority of the UE changes according to the priority of the UE and a priority in subscription information of the UE.
22. The server according to claim 20 or 21, wherein the indication information is initial indication information or postponed indication information;
the initial indication information is used for indicating that the discovery request message is a discovery request message which is firstly sent to the near field service server by the UE for requesting the near field service;
the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; and the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time.
23. A proximity services server, comprising: a receiver, a processor and a transmitter;
the receiver is configured to receive a discovery request message sent by a user equipment UE; the discovery request message comprises switching registration network indication information and a current registration network identifier of the UE; the switching registration network indication information is used for indicating that the discovery request message is a discovery request message sent to the proximity service server after the UE switches the registration network;
the processor is configured to determine that the current registered network identifier of the UE is a network identifier in the equivalent network identifier list of the UE, and the current network identifier of the UE is different from the registered network identifier in the context information of the UE, and update the registered network identifier in the context information of the UE according to the current registered network identifier of the UE.
24. A User Equipment (UE), comprising: a receiver, a processor and a transmitter;
the transmitter is used for sending a discovery request message to a proximity service server; the discovery request message comprises identification and indication information of the proximity service requested by the UE; the indication information is used for indicating the reason for the UE to send the discovery request message;
the receiver is configured to receive a discovery response message returned by the proximity service server, where the discovery response message includes parameter information of a proximity service allocated to the UE according to the indication information when the proximity service server verifies that the UE passes the authentication according to the identifier of the proximity service;
the indication information is delay indication information; the deferral indication information is used for indicating that the discovery request message is a discovery request message sent by the UE to the proximity service server under the condition that the effective duration expires; the effective duration is the effective duration in the parameter information acquired by the UE from the near field service last time;
the effective duration in the parameter information is longer than the effective duration in the parameter information acquired by the UE from the proximity service server last time.
CN201580070536.3A 2015-01-16 2015-01-16 Service authorization method, near field service server and user equipment Active CN107113915B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/070902 WO2016112540A1 (en) 2015-01-16 2015-01-16 Service authorization method, proximity-based service server and user equipment

Publications (2)

Publication Number Publication Date
CN107113915A CN107113915A (en) 2017-08-29
CN107113915B true CN107113915B (en) 2020-01-10

Family

ID=56405140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580070536.3A Active CN107113915B (en) 2015-01-16 2015-01-16 Service authorization method, near field service server and user equipment

Country Status (2)

Country Link
CN (1) CN107113915B (en)
WO (1) WO2016112540A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411806B (en) * 2021-06-21 2022-12-30 上海闻泰信息技术有限公司 Mobile hotspot authorization checking method and device, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014032892A1 (en) * 2012-08-31 2014-03-06 Nokia Siemens Networks Oy Network assisted proximity services discovery management
CN104185208A (en) * 2013-05-20 2014-12-03 华为终端有限公司 Approaching business authorizing method, device and system thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140119544A (en) * 2013-04-01 2014-10-10 삼성전자주식회사 Method and apparatus of message routing for proximity service in a mobile communication system
US9374699B2 (en) * 2013-05-14 2016-06-21 Htc Corporation Proximity-based service registration method and related apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014032892A1 (en) * 2012-08-31 2014-03-06 Nokia Siemens Networks Oy Network assisted proximity services discovery management
CN104185208A (en) * 2013-05-20 2014-12-03 华为终端有限公司 Approaching business authorizing method, device and system thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3rd Generation Partnership Project;Technical Specification Group Services and System Aspects;Proximity-based services (ProSe); Stage 2(Release 12);3GPP;《3GPP TS 23.303 V12.0.0》;20140228;1、9、11、19、21、29 *

Also Published As

Publication number Publication date
WO2016112540A1 (en) 2016-07-21
CN107113915A (en) 2017-08-29

Similar Documents

Publication Publication Date Title
CN111436160B (en) Local area network communication method, device and system
CN108632945B (en) Network slice selection method, user equipment and network equipment
CN107295609B (en) Network slice processing method and device, terminal and base station
CN108353351B (en) Method for selecting service network, network equipment and management equipment
RU2671966C1 (en) Communication system, base station, communication method and energy-dependent computer-readable medium that stores the program
CN111031592B (en) Core network selection method, device and system
US9420449B2 (en) Method, apparatus, and system for online subscription data configuration
CN110249667B (en) Registration management method for terminal access 5G network on non-3 GPP access
CN115460685A (en) Base station, access and mobility management functional entity and method thereof
KR20160132756A (en) Method for supporting ue access control
KR20130031289A (en) Tmsi allocation device and method thereof, and network attachment and location area update methods in m2m communication
CN103581837A (en) Resource allocation method and resource deletion method and device
CN107809776B (en) Information processing method, device and network system
US9723478B2 (en) UE configuration method, network side device and system for proximity awareness
CN109788507B (en) Communication method and device
US9967806B2 (en) Device and method for selecting a visited network
EP2555545A1 (en) Method and system for selecting mobility management entity of terminal group
CN108243631B (en) Network access method and equipment
US9924364B2 (en) User management method of shared network, and corresponding device and system
RU2017102660A (en) NETWORK ELEMENT SELECTION KNOT AND USER DEVICE REGISTRATION METHOD
US20230057651A1 (en) Systems and methods for regional segmentation and selection of charging function
CN105472530B (en) Near field communication discovery method, device and system
CN107113915B (en) Service authorization method, near field service server and user equipment
CN107770787B (en) Method and device for determining target operator network
US10314085B2 (en) ProSe information transmission method, terminal, and communications device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant