WO2022042598A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2022042598A1
WO2022042598A1 PCT/CN2021/114521 CN2021114521W WO2022042598A1 WO 2022042598 A1 WO2022042598 A1 WO 2022042598A1 CN 2021114521 W CN2021114521 W CN 2021114521W WO 2022042598 A1 WO2022042598 A1 WO 2022042598A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
network element
location
information
function network
Prior art date
Application number
PCT/CN2021/114521
Other languages
French (fr)
Chinese (zh)
Inventor
徐艺珊
诸华林
朱浩仁
杨明月
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022042598A1 publication Critical patent/WO2022042598A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Definitions

  • the present application relates to the field of wireless communication technologies, and in particular, to a communication method and apparatus.
  • the current positioning technology can include various positioning technologies such as global positioning system (GPS), Beidou positioning system, inertial navigation and electromagnetic navigation.
  • GPS global positioning system
  • Beidou positioning system Beidou positioning system
  • inertial navigation inertial navigation
  • electromagnetic navigation the industrial park can also realize the location service of the industrial park with the help of the location service provided by the network equipment.
  • SNPN standalone non-public network
  • PLMN public land mobile network
  • UE user equipment
  • GMLC mobile gateway location center
  • LMF location management function
  • the present application provides a communication method and device for reducing construction cost and operation and maintenance complexity.
  • an embodiment of the present application provides a communication method.
  • the method may be performed by a first network open function network element of the first network.
  • the first network opening function network element may receive a location request message for requesting location information of the terminal device.
  • the terminal device may be located in the first network.
  • the first network opening function network element may send the first request message to the second network opening function network element of the second network.
  • the first network and the second network here may be different.
  • the first request message may contain an identifier of the first network, and the first request message may be used to request the second network to determine the location information of the terminal device.
  • the first network opening function network element may also receive the location information of the terminal device sent by the second network opening function network element.
  • the first network opening function network element may further carry the location information of the terminal device in the location request response corresponding to the location request message, and send the location request response.
  • network elements related to positioning services may not be deployed in the first network, and when there is a positioning requirement, a first request message may be sent to the second network to request the second network to provide positioning services.
  • the first network can receive the location information sent by the second network to realize the positioning of the terminal equipment, which can save construction and operation and maintenance costs, and can also reduce the complexity of operation and maintenance.
  • the first network opening function network element may further generate a first transaction number according to the location request message.
  • the first transaction number is used to identify the service request of the terminal device.
  • the first network opening function may carry the identifier of the first network and the first transaction number in the first request message.
  • the first transaction number can be used to identify the service request of the terminal device, and the first transaction number and the identifier of the first network can be carried in the first request message and sent to the second network open function network element. Certain security and privacy protection effects.
  • the first request message may further include first information; the first information is used to identify the terminal device, and the first information is different from the identification of the terminal device in the first network.
  • the first information may include at least one of a first identifier and a first indication of the terminal device.
  • the first identifier may be a general identifier of the terminal device in the first network.
  • the universal identifier here may be an identifier common to all terminal devices in the first network, or may also be an identifier common to some terminal devices in the first network.
  • the universal identifiers of each terminal device in the first network may be the same or different.
  • the first indication may be used to indicate that the first identification is an identification of a terminal device in the first network or the first indication may indicate that the terminal device is not a terminal device of the second network.
  • the first network opening function network element can use the first information to identify the terminal device of the first network, so that the second network can know that the terminal device is not a terminal device of the second network, but because the second network cannot know the terminal device
  • the identification of the device in the first network can therefore protect the privacy of the terminal device and improve the security of the first network.
  • the first information may be a setting value.
  • the first identifier in the first information may be a setting value, wherein the first identifiers of all terminal devices in the first network are the same.
  • the first information of different terminal devices may be different.
  • each terminal device of the first network can be assigned a different identifier, and the identifier is used by the second network to identify the terminal device as a terminal device of the first network, but cannot enable the second network to identify the identity of the terminal device.
  • the first information may include an identifier of the first network, and the first information of different terminal devices is different.
  • the first identifier may include the identifier of the first network.
  • the first identifier may include the function of the first indication, that is, the first identifier may indicate that the first identifier is the identifier of the terminal device in the first network, and the second network may determine that the terminal device is the terminal device in the first network through the first identifier.
  • the same first information can be allocated to all terminal devices in the first network, and each terminal device in the first network can also be allocated a piece of first information, and the first information can also include the first network
  • the second network can recognize that the terminal device is a terminal device in the first network according to the first information, but cannot identify the identity of the terminal device according to the first information, which can protect the privacy of the terminal device, and can Improve the security of the first network.
  • the first network opening function network element may receive the first response message of the first request message from the second network opening function network element.
  • the first response message may contain location information of the terminal device.
  • the first network open function network element may determine the identification of the terminal device in the first network according to at least one of the identification of the first network, the first transaction number and the second transaction number, and the first information.
  • the second transaction number here may be used to identify the service request of the first network.
  • the first network opening function network element may send a location response message according to the identification of the terminal device in the first network.
  • the location response message here may contain location information of the terminal device.
  • the second network open function network element can identify the service request of the first network through the second transaction number, and the first network open function network element and the second network open function network element can use the identification of the first network, the first network open function network element
  • the transaction number and the second transaction number communicate with the first information, which can improve the security of the first network and protect the privacy of the terminal device.
  • the first network opening function network element may also receive a second data request message sent by the second network opening function network element.
  • the second data request message may include at least one of a first transaction number, an identification of the first network, a second transaction number, and the first information.
  • the second data request message may be used to request to obtain data required for positioning.
  • the first network opening function network element may send the second response message to the second network opening function network element.
  • the second response message may include the collected data required for positioning.
  • the network element of the first network opening function can determine the identifier of the terminal device in the first network according to at least one of the first transaction number, the identifier of the first network, the second transaction number, and the first information, thereby collecting the identifier of the terminal device in the first network.
  • the data required for the positioning of the terminal equipment is sent to the second network open function network element to realize the positioning of the terminal equipment. Therefore, there is no need to deploy network elements related to positioning services in the first network, which can save construction and cost. Operation and maintenance costs, reduce operation and maintenance complexity.
  • the first network open function network element may store at least two of the identifier of the first network, the first transaction number, the identifier of the terminal device in the first network, the first information, and the second transaction number. a relationship.
  • the association relationship between the first transaction number and the identification of the terminal device in the first network may be stored, or the identification of the first network, the first transaction number, the identification of the terminal device in the first network, the first information, and the second transaction may be stored number relationship.
  • the first network opening function network element can communicate with the second network opening function network element according to the stored association relationship, and determine the identifier of the terminal device in the first network, so that the terminal device can be avoided in the first network.
  • the identity in the device is leaked, the privacy of the terminal device is protected, and the security of the first network is improved.
  • the embodiments of the present application provide another communication method.
  • the method may be executed by the second network open function network element of the second network in the embodiment of the present application.
  • the second network opening function network element may receive the first request message from the first network opening function network element.
  • the first request message may contain the identifier of the first network, and the first request message may be used to request the second network to determine the location information of the terminal device.
  • the terminal device here may be located in the first network.
  • the second network opening function network element may receive the location information of the terminal device determined by the first location management function network element of the second network, and send the location information to the first network opening function network element.
  • the second network can be requested to provide positioning services, so as to realize the positioning services for terminal devices in the first network, which can save the first network
  • the cost of construction and operation and maintenance can also reduce the complexity of operation and maintenance.
  • the first transaction number may also be included, and the first transaction number may be used to identify the service request of the terminal device.
  • the second network open function network element may generate the second transaction number according to the first transaction number and the identifier of the first network.
  • the second transaction number here may be used to identify the service request of the first network.
  • the second network opening function network element can use the second transaction number to identify service requests of different first networks.
  • the second network opening function network element may also send the second transaction number to the gateway mobile location center network element of the second network and at least one of the first information, and the identity of the first network.
  • the gateway mobile location center network element can be made to send the third request message to the first location management function network element of the second network through the access and management function network element of the second network.
  • the third request message may be used to request the first location management function network element to determine the location information of the terminal device.
  • the first location management function network element may be selected by the access and mobility management function network element according to at least one of the second transaction number and the first information.
  • the first information here may be used to identify the terminal device, and the first information is different from the identification of the terminal device in the first network.
  • the access and mobility management function network element can select the access and mobility management function network element for the first network according to at least one of the second transaction number and the first information to realize the positioning of the terminal device.
  • the first information is different from the identification of the terminal device in the first network, the privacy of the terminal device can be guaranteed, and the security of the first network can be improved.
  • the second network opening function network element may receive the identifier or address of the first location management function network element of the second network from the unified data management function network element of the second network.
  • the second network opening function network element may determine the first location management function network element according to the identifier or address, and send a third request message to the first location management function network element.
  • the third request message here may be used to request the first location management function network element to determine the location information of the terminal device.
  • the first location management function network element can be selected for the first network by the unified data management function network element, and the second network open function network element can determine the location information of the terminal device through the first location management function network element.
  • the second network opening function network element may send a third request message to the first location management function network element of the second network .
  • the third request message may be used to request the first location management function network element to determine the location information of the terminal device.
  • the first location management function network element is selected by the unified data management function network element of the second network according to the identifier of the first network.
  • the second network does not need to deploy the gateway mobile location center network element and the access and mobility management function network element during deployment, and the first location management function network element can be selected through the unified data management function network element, and the first The location management function network element realizes the positioning of terminal equipment, which can save construction and operation and maintenance costs, and can also reduce the complexity of operation and maintenance.
  • the first location management function network element is the unified data management function network element that checks the subscription data of the first network according to the identifier of the first network, and determines that the first network has access to location services. Permissions are selected.
  • the unified data management function network element can view the subscription data for authority control according to the identification of the first network, and select the first location management function network element that provides positioning services for the first network according to the identification of the first network.
  • the first information may include at least one of a first identifier and a first indication of the terminal device.
  • the first identifier may be a general identifier of the terminal device in the first network.
  • the universal identifier here may be an identifier common to all terminal devices in the first network, or may also be an identifier common to some terminal devices in the first network.
  • the general identifiers of each terminal device in the first network may be different.
  • the first indication may be used to indicate that the first identification is an identification of a terminal device in the first network or the first identification is an identification of a terminal device that is not in the second network.
  • the access and mobility management function network element may select the first location management function network element according to the second transaction number and the first information.
  • the first location management function network element may be determined according to at least one of the second transaction number and the first information.
  • the first identifier includes the identifier of the first network, and the first information of different terminal devices is different, the first location management function network element is determined according to at least one of the second transaction number and the first identifier.
  • the second network can select the first location management function network element for the first network according to the second transaction number and/or the first information, so as to realize the positioning of the terminal device, and it is possible to avoid using the terminal device in the first network. can protect the privacy of the terminal device and improve the security of the first network.
  • the second network opening function network element may also receive the first data request message before receiving the location information of the terminal device.
  • the first data request message may contain at least one of the second transaction number and the first information, and the first data request message may be used to obtain data required for positioning.
  • the second network open function network element may determine the identity of the first network according to at least one of the second transaction number and the first information, and send the second data request message to the first network.
  • the second data request message here may include at least one of the first transaction number, the identifier of the first network, the second transaction number, and the first information.
  • the network element with the function of opening the second network can request the network element with the opening function of the first network for the location needed according to at least one of the first transaction number, the identifier of the first network, the second transaction number and the first information.
  • the data is used to locate the terminal device, which can avoid using the identifier of the terminal device in the first network, protect the privacy of the terminal device, and improve the security of the first network.
  • the second network open function network element may search for the identifier of the corresponding first network according to the second transaction number, and send the location information of the terminal device to the first network open function network of the first network Yuan.
  • the second network open function network element can identify the service request of the first network according to the second transaction number, and can implement communication with the first network open function network element according to the second transaction number.
  • an embodiment of the present application provides a communication method.
  • the method may be performed by a unified data management function network element of the second network.
  • the unified data management function network element may receive the identifier of the first network.
  • the identifier of the first network here may be sent by a second network opening function in the second network.
  • the unified data management function network element may check the subscription data of the first network according to the identifier of the first network. If the first network has the right to obtain the location service, the unified data management function network element may select the access and mobility management function network element for the first network.
  • the unified data management function network element may send the identification and/or address of the access and mobility management function network element to the network management mobile location center of the second network. Therefore, the network management mobile location center can send the second transaction number to the access and management function network element, and the access and management function network element can select the first location management function network element for the first network.
  • the first location management function network element here may be used to determine the location information of the terminal device of the first network.
  • the unified data management function network element may check the subscription data of the first network according to the identifier of the first network. If the first network has the right to obtain the location service, the unified data management function network element may select the first location management function network element for the first network. The first location management function network element may be used to determine location information of a terminal device of the first network.
  • the network element of the unified data management function can perform authority authentication according to the identification of the external network, that is, it can check the contract data of the external network according to the identification of the external network, and determine whether the external network has the right to obtain the positioning service, and the unified data management function
  • the network element does not need to acquire the identifier of the terminal device for authorization authentication, which can ensure the privacy of the terminal device of the first network and improve the security of the first network.
  • an embodiment of the present application provides a communication method.
  • the method may be performed by a communication system.
  • the first network opening function network element may receive a location request message for requesting location information of the terminal device.
  • the terminal device and the first network open function network element here may be located in the first network.
  • the first network opening function network element may send a first request message to the network element in the second network, where the first request message may include the identifier of the first network.
  • the first request message is used to request the second network to determine the location information of the terminal device.
  • the network element in the second network may determine the first location management function network element in the second network for determining the location information of the terminal device.
  • the first location management function network element may determine the location information of the terminal device, and send the location information of the terminal device to the second network open function network element.
  • the second network opening function network element may send the location information to the first network opening function network element.
  • the first network opening function network element may generate a first transaction number according to the location request message.
  • the first transaction number may be used to identify the service request of the terminal device.
  • the first request message may contain the first transaction number.
  • the second network opening function network element may generate a second transaction number according to the first transaction number and the identifier of the first network. The second transaction number may be used to identify the service request of the first network.
  • the first request message may contain first information.
  • the first information here may be used to identify the terminal device, and the first information is different from the identification of the terminal device in the first network.
  • the second network opening function network element may also send the second transaction number and the first information to the gateway mobile location center network element At least one of , and the identifier of the first network.
  • the gateway mobile location center may be located in the second network.
  • the gateway mobile location center network element may send at least one of the second transaction number and the first information to the access and mobility management function network element.
  • the access and mobility management function network element may be located in the second network.
  • the access and mobility management function network element may select the first location management function network element in the second network according to at least one of the second transaction number and the first information.
  • the access and management function network element may generate a third request message and send the third request message to the first location management function.
  • the third request message here may be used to request the first location management function network element to determine the location information of the terminal device.
  • the second network opening function network element sends at least one of the second transaction number and the first information to the gateway mobile location center network element, and the first network
  • the gateway mobile location center may send the identification of the first network to the unified data management function network element, and the unified data management function network element may be located in the second network.
  • the unified data management function network element can check the subscription data of the first network according to the identifier of the first network, and when it is determined that the first network has the right to obtain the location service, can be the first network Select the access and mobility management function network element.
  • the unified data management function network element may send the selected identification or address of the access and mobility management function network element to the gateway mobile location center network element.
  • the gateway mobile location center network element may determine the access and mobility management function network element according to the identifier or address, and send the second transaction number to the access and mobility management function network element.
  • the second network opening function network element may send the identifier of the first network to the unified data management function network element.
  • the unified data management function network element may check the subscription data of the first network according to the identifier of the first network, and select the first network for the first network when it is determined that the first network has the right to obtain the location service. the first location management function network element.
  • the unified data management function network element may send the selected identifier or address of the first location management function network element to the second network open function network element.
  • the second network opening function network element may send a third request message to the first location management function network element.
  • the third request message here may be used to request the first location management function network element to determine the location information of the terminal device.
  • the first information may be received from the first network opening function network element; or, the first information may also be the second network opening function network element according to the generated from the identifier of the first network.
  • the access and mobility management function network element may select the first location management function according to the second transaction number and the first information functional network element. Or when the first information of different terminal devices is different, the first location management function network element may be determined according to at least one of the second transaction number and the first information. Or the first information includes the identifier of the first network to which the terminal device belongs, and when the first information of different terminal devices is different, the first location management function network element may be based on the first information. Two transaction numbers and at least one of the first information are determined.
  • a first data request message may be sent to the second network open function network element.
  • the first data request message may contain at least one of the second transaction number and the first information, and the first data request message may be used to obtain data required for positioning.
  • the second network opening function network element may determine the identifier of the first network according to at least one of the second transaction number and the first information.
  • the second network opening function network element may send a second data request message to the first network opening function network element.
  • the second data request message contains at least one of the first transaction number, the identifier of the first network, the second transaction number and the first information, and the second data request message is used to request to obtain the information required for positioning The data.
  • the first network opening function network element may collect the data required for the positioning according to the second data request message, and send a second response message to the second network opening function network element.
  • the second response message here may include the collected data required for the positioning.
  • the second network opening function network element may send the data required for the positioning to the first location management function network element.
  • the first location management function network element may determine the location information according to the data required for the positioning.
  • the second network opening function network element may search for the identifier of the corresponding first network according to the second transaction number.
  • the second network opening function network element may send a first response message to the first network opening function network element.
  • the location information is included in the first response message here.
  • the first network opening function network element may determine the identifier of the terminal device in the first network according to at least one of the first transaction number, the second transaction number and the first information.
  • the first network opening function network element may send a location request response according to the identifier of the terminal device in the first network, where the location request response includes the location information.
  • the first network may be a non-public network
  • the second network may be a public network or a public land mobile network.
  • an embodiment of the present application provides a communication system.
  • the system may include a first network and a second network.
  • the first network may include a first network open function network element
  • the second network may include a second network open function network element and at least one location management function network element.
  • the first network opening function network element may be configured to receive a location request message requesting location information of the terminal device.
  • the terminal device is located in the first network.
  • the first network opening function network element may also be used to send a first request message to the second network opening function network element, where the first request message may include the identifier of the first network, and the first request message may be used to request the second network opening function network element.
  • the network determines the location information of the terminal device.
  • the network element in the second network may be used to determine the first location management function network element in the second network for determining the location information of the terminal device.
  • the first location management function network element may be used to determine the location information of the terminal device, and send the location information to the second network open function network element.
  • the second network opening function network element may be configured to receive the location information, and send the location information to the first network opening function network element.
  • the first network opening function network element may be further configured to generate the first transaction number according to the location request message.
  • the first transaction number is used to identify the service request of the terminal device, and the first request message may also contain the first transaction number.
  • the second network opening function network element may also be configured to generate the second transaction number according to the first transaction number and the identifier of the first network after receiving the first request message. The second transaction number may be used to identify the service request of the first network.
  • the second network may further include a gateway mobile location center network element and an access mobility management function network element.
  • the second network open function network element may also be used to send the second transaction number and the first request message to the gateway mobile location center after receiving the first request message.
  • At least one of a piece of information, and an identification of the first network may be used to identify the terminal device, and the first information may be different from the identification of the terminal device in the first network.
  • the gateway mobile location center network element may be configured to send at least one of the second transaction number and the first information to the access and mobility management function network element.
  • the access and mobility management function network element may be used to generate a third request message, and the third request message may be used to request the first location management function network element to determine the location information of the terminal device.
  • the access and mobility management function network element may also be configured to select the first location management function network element according to at least one of the second transaction number and the first information.
  • the access and mobility management function network element may also be configured to send the third request message to the first location management function network element.
  • the second network may further include a unified data management function network element.
  • the gateway mobile location center may also be configured to send the identifier of the first network to the unified data management function network element after receiving the second transaction number and the identifier of the first network.
  • the unified data management function network element can be used to check the subscription data of the first network according to the identifier of the first network, and when it is determined that the first network has the right to obtain the location service, select the access and mobility management function network element for the first network, and send the identifier or address of the selected access and management function network element to the gateway mobile location center network element.
  • the gateway mobile location center network element may also be configured to determine the access and mobility management function network element according to the identifier or address, and send the second transaction number to the access and management function network element.
  • the second network may further include a unified data management function network element.
  • the second network opening function network element may be further configured to send the identifier of the first network to the unified data management function network element.
  • the unified data management function network element may be configured to select the first location management function network element for the first network when it is determined that the first network has the right to obtain the location service by checking the subscription data of the first network according to the identifier of the first network.
  • the unified data management function network element may also be used to send the selected identifier or address of the first location management function network element to the second network meal-preparing function network element.
  • the second network opening function network element may also be configured to send a third request message to the first location management function network element, where the third request message may be used to request the first location management function network element to determine the location information of the terminal device.
  • the first information may be received from the first network opening function network element, or the first information may also be generated by the second network opening function network element according to the identifier of the first network.
  • the first location management function network element when the first information is a setting value, the first location management function network element is determined according to the second transaction number and the first information; or different terminal equipment When the first information is different, the first location management function network element may be determined according to at least one of the second transaction number and the first information; or the first information includes the terminal When the identifier of the first network to which the device belongs and the first information of different terminal devices are different, the first location management function network element may be based on the second transaction number and the first information. at least one of the identified.
  • the first location management function network element may also be configured to send the first data request message to the second network open function network element.
  • the first data request message may contain at least one of a transaction number and first information, and the first data request message may be used to request data required for positioning.
  • the second network open function network element may also be configured to receive the first data request message, determine the identifier of the first network according to at least one of the second transaction number and the first information, and send the first network open function network element The second data request message.
  • the second data request message contains at least one of the first transaction number, the identifier of the first network, the second transaction number and the first information, and the second data request message can be used to request to obtain data required for positioning.
  • the first network opening function network element may also be configured to collect data required for positioning according to the second data request message, and send a second response message to the second network opening function network element.
  • the second response message here may contain the collected data required for the positioning.
  • the second network opening function network element can also be used to send the data required for positioning to the first location management function network element, and the first location management function network element can also be used to determine the terminal equipment according to the data required for positioning. location information.
  • the second network opening function network element may also be used to determine the identifier of the first network according to the second transaction number.
  • the second network opening function network element may also be configured to send a first response message to the first network opening function network element of the first network.
  • the first response message may contain location information.
  • the first network opening function network element may also be configured to determine the identification of the terminal device in the first network according to at least one of the first transaction number, the second transaction number and the first information.
  • the first network opening function network element may also be configured to send a location request response according to the identification of the terminal device in the first network, where the location request response may include location information of the terminal device.
  • a communication apparatus may include various modules/units for executing the first aspect or any possible implementation manner of the first aspect.
  • the communication unit and the processing unit may include various modules/units for executing the first aspect or any possible implementation manner of the first aspect.
  • the processing unit is configured to receive, through the communication unit, a location request message for requesting the location information of the terminal device; the terminal device is located in the first network; the processing unit is further configured to use The communication unit is further configured to send a first request message to the second network open function network element of the second network; the first request message includes the identifier of the first network; the first request message is used to request all The second network determines the location information of the terminal device; the processing unit is further configured to receive, through the communication unit, the location information of the terminal device sent by the second network open function network element; the processing unit is further It is used to carry the location information of the terminal device in the location request response corresponding to the location request message, and send the location request response through the communication unit.
  • the processing unit after receiving the location request message through the communication unit, is further configured to generate a first transaction number according to the location request message; the first transaction number is used to identify the Service requests from end devices.
  • the processing unit sends the first request message to the second network opening function network element through the communication unit, it may be specifically configured to send the identifier and the identifier carrying the first network to the second network opening function network element. The first request message of the first transaction number.
  • the first request message includes first information; the first information is used to identify the terminal device, and the first information is different from the information of the terminal device in the first network. logo.
  • the first information is a setting value; or, the first information of different terminal devices is different; or, the first information includes an identifier of the first network and different terminal devices The first information is different.
  • the processing unit when the processing unit carries the location information of the terminal device in the location request response of the location request message, and sends the location request response through the communication unit, it is specifically used for:
  • the communication unit receives a first response message of the first request message from the second network opening function network element; the first response message includes the location information.
  • the processing unit is specifically configured to determine the identification of the terminal device in the first network according to at least one of the identification of the first network, the first transaction number, the second transaction number and the first information .
  • the second transaction number is used to identify the service request of the first network; the first information is used to identify the terminal device, and the first information is different from the terminal device in the first network. logo.
  • the processing unit is specifically configured to send the location request response through the communication unit according to the identification of the terminal device in the first network; the location request response includes the location information.
  • the processing unit is further configured to receive the second network opening function through the communication unit
  • the second data request message sent by the network element, the second data request message includes at least one of the first transaction number, the identifier of the first network, the second transaction number and the first information; the second data request message
  • the data request message is used to request to obtain the data required for positioning, the second transaction number is used to identify the service request of the first network; the first information is used to identify the terminal device, and the first information is different based on the identification of the terminal device in the first network.
  • the processing unit is further configured to send a second response message to the second network open function network element through the communication unit; the second response message includes the data required for the positioning.
  • the apparatus further includes a storage unit.
  • the storage unit may be used to store the identifier of the first network, the first transaction number, the identifier of the terminal device in the first network, the first information and the second transaction number. at least two associations.
  • a communication apparatus may include various modules/units for executing the second aspect or any possible implementation manner of the second aspect.
  • the communication unit and the processing unit may include various modules/units for executing the second aspect or any possible implementation manner of the second aspect.
  • the processing unit is configured to receive, through the communication unit, a first request message from a first network opening function network element of the first network; the first request message includes an identifier of the first network; the first request The message is used to request the second network to determine the location information of the terminal device; the terminal device is located in the first network.
  • the processing unit is further configured to receive, through the communication unit, the location information determined by the first location management function network element of the second network.
  • the processing unit is further configured to send the location information to the first network open function network element through the communication unit.
  • the first request message further includes a first transaction number; the first transaction number is used to identify the service request of the terminal device.
  • the processing unit is further configured to generate a second transaction number according to the first transaction number and the identifier of the first network; the second transaction number is used to identify a service request of the first network.
  • the processing unit after the processing unit receives the first request message sent by the first network open function network element of the first network through the communication unit, the processing unit is further configured to send a message to the second network through the communication unit
  • the gateway mobile location center network element sends at least one of the second transaction number and the first information, and the identifier of the first network, so that the gateway mobile location center network element can access and move through the second network.
  • the management function network element sends a third request message to the first location management function network element of the second network; the third request message is used to request the first location management function network element to determine the location information of the terminal device ; the first location management function network element is selected by the access and mobility management function network element according to at least one of the second transaction number and the first information; the first information is used to identify the terminal equipment, the first information is different from the identification of the terminal equipment in the first network.
  • the processing unit is further configured to receive, through the communication unit, the identifier or address of the first location management function network element of the second network from the unified data management function network element of the second network.
  • the processing unit is further configured to determine the first location management function network element according to the identifier or address.
  • the processing unit is further configured to send the first request message to the first location management function network element through the communication unit.
  • Three request messages the third request message is used to request the first location management function network element to determine the location information of the terminal device.
  • the first location management function network element is a unified data management function network element of the second network that checks the subscription data of the first network according to the identifier of the first network, and determines the first network element. Selected when a network has access to location services.
  • the first information is received from the first network open function network element; or, the first information is an identification of the second network open function network element according to the first network Generated.
  • the first location management function network element when the first information is a set value, the first location management function network element is determined according to the second transaction number and the first information; or the When the first information is different, the first location management function network element is determined according to at least one of the second transaction number and the first information; or the first information includes the location to which the terminal device belongs. When the identifier of the first network and the first information of different terminal devices are different, the first location management function network element is determined according to at least one of the second transaction number and the first information .
  • the processing unit before receiving the location information of the terminal device through the communication unit, is further configured to receive, through the communication unit, a first data request message, where the first data request message includes the at least one of the second transaction number and the first information, and the first data request message is used to obtain data required for positioning.
  • the processing unit is further configured to determine the identity of the first network according to at least one of the second transaction number and the first information, and open to the first network of the first network through the communication unit
  • the functional network element sends a second data request message; the second data request message includes at least one of the first transaction number, the identifier of the first network, the second transaction number and the first information.
  • the processing unit when the processing unit sends the location information to the first network open function network element through the communication unit, it is specifically configured to: search for the corresponding first network element according to the second transaction number The identifier of the network is sent, and the location information is sent to the first network open function network element of the first network through the communication unit.
  • a communication apparatus may include various modules/units for executing the third aspect or any possible implementation manner of the third aspect.
  • the communication unit and the processing unit may include various modules/units for executing the third aspect or any possible implementation manner of the third aspect.
  • the communication unit is configured to receive the identifier of the first network; the unified data management function network element is located in the second network;
  • the processing unit is configured to check the subscription data of the first network according to the identifier of the first network. and selecting an access and mobility management function network element for the first network when it is determined that the first network has the right to obtain the location service.
  • the access and mobility management function network element here may be used to request the first location management function network element for the location information of the terminal equipment in the first network; the first location management function network element is used to determine the terminal equipment location information of the device; the access and mobility management function network element and the first location management function network element are located in the second network.
  • the processing unit is configured to check the subscription data of the first network according to the identifier of the first network. and selecting a first location management function network element for the first network when it is determined that the first network has the right to obtain the location service; the first location management function network element is used to determine the terminal in the first network The location information of the device; the first location management function network element is located in the second network.
  • a communication apparatus in a ninth aspect, includes a processor and a memory.
  • the memory is used to store computer-executed instructions, and when the controller is running, the processor executes the computer-executed instructions in the memory to utilize hardware resources in the controller to perform the operation steps of the method in the first aspect or any possible implementation manner of the first aspect, Alternatively, the operation steps of the method in the second aspect or any possible implementation manner of the second aspect are performed, or the operation steps of the method in the third aspect or any possible implementation manner of the third aspect are performed.
  • the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, which, when executed on a computer, cause the computer to execute the methods of the above aspects.
  • the present application provides a computer program product storing instructions that, when executed on a computer, cause the computer to perform the methods of the above aspects.
  • FIG. 1 is one of the schematic diagrams of a communication system provided by an embodiment of the present application
  • FIG. 2 is one of the schematic diagrams of the communication system provided by the embodiment of the present application.
  • FIG. 3 is one of the schematic diagrams of the communication system provided by the embodiment of the present application.
  • FIG. 4 is one of the schematic structural diagrams of an access network device according to an embodiment of the present application.
  • FIG. 5 is one of the schematic structural diagrams of an access network device according to an embodiment of the present application.
  • FIG. 6 is one of the schematic structural diagrams of an access network device according to an embodiment of the present application.
  • FIG. 7 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application.
  • FIG. 8 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application.
  • FIG. 9 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application.
  • FIG. 10 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application.
  • FIG. 11 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application.
  • FIG. 12 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application.
  • FIG. 13 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application.
  • FIG. 14 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application.
  • FIG. 15 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application.
  • FIG. 16 is one of schematic diagrams of a communication device provided by an embodiment of the present application.
  • FIG. 17 is one of schematic diagrams of a communication device provided by an embodiment of the present application.
  • FIG. 18 is one of schematic diagrams of a communication apparatus provided by an embodiment of the present application.
  • Public network In daily life, it is generally the public network that provides network services for terminal devices.
  • the public network namely the public land mobile network (PLMN)
  • PLMN public land mobile network
  • PSTN public switched telephone network
  • NPN non-public networks
  • a private network can also be called a non-public network, which refers to a network open to specific users, such as an internal network built by a company, school, or factory. Terminal devices that are not subscribed to the private network are not allowed to access the private network.
  • system and “network” in the embodiments of this application may be used interchangeably.
  • “Plurality” means two or more, and other quantifiers are similar.
  • “And/or” describes the association relationship between associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone.
  • occurrences of the singular forms “a”, “an” and “the” do not mean “one or only one” unless the context clearly dictates otherwise, but rather “one or more” in one".
  • a device means to one or more such devices.
  • "at least one of subsequent associated objects for example "at least one of A, B and C” includes A, B, C, AB, AC, BC, or ABC.
  • LTE long term evolution
  • WiMAX worldwide interoperability for microwave access
  • 5G fifth generation (5th generation) Generation
  • NR new generation radio access technology
  • 6G systems future communication systems, such as 6G systems.
  • the network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application.
  • the evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • the scenario may include a terminal device 101 , a first network 102 and a second network 103 .
  • the first network 102 here may be a non-public network
  • the second network 103 may be a public network or a public land mobile network.
  • the terminal device 101 is located in the first network 102.
  • the first network 102 can send a request message to the second network 103 to request the second network 103 to provide a positioning service and determine the location of the terminal device 101. location information.
  • the second network 103 may send the location information to the first network 101 after determining the location information of the terminal device 101 .
  • the following describes the architectures of the first network 102 and the second network 103 in FIG. 1 , which may include two situations.
  • the first network 102 may include a network exposure function (NEF) network element, an access and mobility management function (access and mobility management, AMF) network element, an access network (access network, AN) equipment, application function (AF) network element, user plane function (user plane function, UPF) network element and session management function (session management function, SMF) network element.
  • the AMF may receive a request message for acquiring the location information of the terminal device, and send the request message to the NEF to inform the NEF that the location service needs to be acquired from the second network 103 .
  • the terminal device 101 may be located in the first network 102, and the first network 102 provides the terminal device 101 with a communication service.
  • the second network 103 may include NEF, gateway mobile location center (gateway mobile location center, GMLC) network element, unified data management function (unified data management, UDM) network element, AMF and location management function (location management function, LMF) Network elements and policy control function (PCF) network elements.
  • the NEF may receive a message sent by the NEF of the first network for requesting the location information of the terminal device, and send the request message to the UDM through the GLMC, informing the UDM to select the AMF for the first network 102 .
  • the GLMC may send a request message to the AMF selected by the UDM, informing the AMF to request the LMF to provide the location service for the first network 102 .
  • the LMF can determine the location information of the terminal device and send the location information to the NEF through the AMF and GLMC.
  • first network 102 and the second network 103 in this embodiment of the present application are not limited to the architecture shown in FIG. 2 , and the names of the network elements shown in FIG. The definition of the network elements included in the communication system architecture used by the application method.
  • the architecture of the first network 102 may be as shown in FIG. 2 , including network elements such as NEF, AMF, AN device, AF, UPF, and SMF.
  • the architecture of the second network 103 may include NEF, UDM and LMF.
  • the NEF may receive a request message sent by the NEF of the first network for requesting the location information of the terminal device, and send the request message to the UDM, requesting the UDM to select the LMF for the first network 102 .
  • the NEF may send a request message to the LMF selected by the UDM through the servitization interface, informing the LMF to provide the location service for the first network 102 .
  • the LMF can determine the location information of the terminal device and send the location information to the NEF.
  • first network 102 and the second network 103 in this embodiment of the present application are not limited to the architecture shown in FIG. 3 , and the names of the network elements shown in FIG. The definition of the network elements included in the communication system architecture used by the application method.
  • the terminal equipment also known as user equipment (UE), mobile station (mobile station, MS), mobile terminal (mobile terminal, MT), etc., is a device that provides voice and/or data connectivity to users. sexual equipment.
  • the terminal device may include a handheld device with a wireless connection function, a vehicle-mounted device, and the like.
  • the terminal device can be: a mobile phone (mobile phone), a tablet computer, a notebook computer, a palmtop computer, a mobile internet device (MID), a wearable device, a virtual reality (virtual reality, VR) device, augmented Augmented reality (AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, smart grid ), wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes, etc.
  • the terminal device described in FIG. 1 is shown as UE, which is only an example and does not limit the terminal device.
  • the wireless access network may be an access network (access network, AN) shown in FIG. 2 and FIG. 3 , and provides wireless access services to the terminal device.
  • the access network device is a device in the communication system that accesses the terminal device to a wireless network.
  • the access network device is a node in a radio access network, which may also be referred to as a base station, or may also be referred to as a radio access network (radio access network, RAN) node (or device).
  • radio access network radio access network
  • access network equipment are: gNB, transmission reception point (TRP), evolved Node B (evolved Node B, eNB), radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (base band unit, BBU), or wireless fidelity (wireless fidelity, Wifi) access point (access point, AP), etc.
  • TRP transmission reception point
  • eNB evolved Node B
  • RNC radio network controller
  • Node B Node B
  • BSC base station controller
  • base transceiver station base transceiver station
  • BTS home base station
  • home base station for example, home evolved NodeB, or home Node B, HNB
  • baseband unit base band unit, BBU
  • wireless fidelity wireless fidelity, Wifi
  • the radio access network device in this embodiment of the present application may split the radio access network device into two parts according to the protocol stack function: a centralized unit (centralized unit, CU) and a distributed unit (distributed unit, DU).
  • one radio access network device may include one CU and at least one DU, as shown in FIG. 4 .
  • the CU is connected to at least one DU and can be used to manage or control the at least one DU.
  • This structure can disassemble the protocol layers of the radio access network equipment in the communication system. Some of the protocol layer functions are implemented in the CU, and the remaining part or all of the protocol layer functions are distributed and implemented in the DU, and the CU centrally controls the DU.
  • the protocol layer of the gNB includes a radio resource control (RRC) layer, a service data adaptation protocol (SDAP) layer, and a packet data convergence protocol (packet data convergence protocol).
  • RRC radio resource control
  • SDAP service data adaptation protocol
  • packet data convergence protocol packet data convergence protocol
  • PDCP radio link control
  • RLC radio link control
  • MAC media access control sublayer
  • the CU can be used to implement the functions of the RRC layer, the SDAP layer and the PDCP layer
  • the DU can be used to implement the functions of the RLC layer, the MAC layer and the physical layer.
  • the embodiments of the present application do not specifically limit the protocol stacks included in the CU and DU.
  • the F1 interface can be used to connect the CU and the DU, the Xn interface is used to connect the CU to other wireless access network devices, and the NG interface is used to connect the CU to the 5G core network (5G Core, 5GC), as shown in Figure 5.
  • 5G Core 5G Core
  • the CU in this embodiment of the present application may be further divided into one control plane (CU-control plane, CU-CP) network element and at least one user plane (CU-user plane, CU-UP) network element.
  • CU-CP can be used for control plane management
  • CU-UP can be used for user plane data transmission.
  • the interface between CU-CP and CU-UP can be E1 port.
  • the interface between CU-CP and DU can be F1-C, which is used for the transmission of control plane signaling.
  • the interface between CU-UP and DU can be F1-U, which is used for user plane data transmission.
  • the CU-UP and CU-UP can be connected through the Xn-U port for user plane data transmission.
  • the structure of the gNB may be as shown in FIG. 6 .
  • the network open function network element NEF can be used to enable 3GPP to securely provide network service capabilities to a third-party AF (for example, a service capability server (Services Capability Server, SCS), an application server (Application Server, AS), etc.) .
  • a third-party AF for example, a service capability server (Services Capability Server, SCS), an application server (Application Server, AS), etc.
  • the network opening function network element may be a NEF, such as shown in FIG. 2 and FIG. 3
  • the network opening function network element may still be an NEF network element, Or there are other names, which are not limited in this application.
  • the network open function network element is an NEF
  • the NEF can provide Nnef services to other network function network elements.
  • the policy control function network element PCF can be used to be responsible for policy control decisions, to provide functions such as service data flow and application detection, gate control, QoS and flow-based charging control, and the like.
  • the policy control function network element may be a PCF (policy control function) network element, such as shown in FIG. 2 and FIG. 3
  • the policy control function network element It may still be a PCF network element, or have other names, which are not limited in this application.
  • the policy control function network element is a PCF network element, the PCF network element may provide an Npcf service.
  • the main function of the application function network element AF is to interact with the 3rd generation partnership project (3GPP) core network to provide services to affect service flow routing, access network capability opening, policy control, and the like.
  • 3GPP 3rd generation partnership project
  • the application function network element may be an AF network element, such as shown in FIG. 2 and FIG. 3
  • the application function network element may still be an AF network element, or Other names are not limited in this application.
  • the application function network element is an AF network element
  • the AF network element may provide a Naf service.
  • the access and management function network element AMF can be used to manage the access control and mobility of the terminal equipment. In practical applications, it includes mobility management in a network framework in long term evolution (LTE).
  • the mobility management function in the entity (mobility management entity, MME), and the access management function is added. Specifically, it can be responsible for the registration, mobility management, tracking area update process, reachability detection, and session management functions of the terminal device. Network element selection, mobility state transition management, etc.
  • the access and mobility management function network element may be an AMF (access and mobility management function) network element, such as shown in Figures 2 and 3, in future communication, such as in 6G, the access The network element with the mobility management function may still be an AMF network element, or have other names, which are not limited in this application.
  • the AMF may provide Namf services.
  • the session management function network element SMF can be used for session management (including session establishment, modification and release) of the terminal device, selection and reselection of the user plane function network element, and Internet Protocol (internet) protocol of the terminal device. protocol, IP) address allocation, quality of service (quality of service, QoS) control, etc.
  • the session management function network element may be an SMF (session management function) network element, such as shown in FIG. 2 and FIG. 3 , in a future communication system, such as in 6G, the session management function network element It may still be an SMF network element, or have other names, which are not limited in this application.
  • the SMF can provide Nsmf services.
  • the unified data management function network element UDM can be used to manage subscription data of the terminal equipment, registration information related to the terminal equipment, and the like.
  • the unified data management function network element may be a unified data management function network element (unified data management, UDM).
  • UDM unified data management function network element
  • the management function network element may still be a UDM network element, or have other names, which are not limited in this application.
  • the UDM network element may provide Nudm services.
  • the gateway mobile location center GMLC is the first node for external location programs to access the public network or public land network, perform registration authorization checks, request routing information from the HLR, and the like.
  • the gateway mobile location center network element may be a gateway mobile location center (GMLC), for example, as shown in FIG. 2 , in a future communication system, such as in 6G, the gateway mobile location center
  • the central network element may still be the GLMC network element, or have other names, which are not limited in this application.
  • the location management function network element LMF may be used to determine the location of the UE, obtain downlink location measurements or location estimates from the UE, and the like.
  • the location management function network element location management function, LMF
  • FIG. 2 and FIG. 3 the location management function network element
  • the location management function network element can still be an LMF.
  • the network element, or other names, are not limited in this application.
  • FIG. 7 is an exemplary flowchart of a communication method provided by an embodiment of the present application, shown from the perspective of device interaction, which may include the following steps:
  • Step 701 The first network opening function network element of the first network receives a location request message for requesting location information of a terminal device.
  • the location request message may be sent by the terminal device to the AMF.
  • the location request message may also be sent by the server of the APP to the application layer function (application function, AF) when the application (application, APP) installed on the terminal device wants to obtain the location information of the terminal device, and then sent by the AF Sent to AMF.
  • the location request message may also be sent by a third-party server in the first network, for example, may be sent by a positioning server in the first network to a network element with an open function of the first network.
  • the terminal device When the terminal device sends the location request message, it can send the location request message through NAS signaling, or the terminal device, AF or third-party server can also send the location request message through the newly added signaling for sending the location request message.
  • the AMF may send the location request message to the first network open function network element.
  • the above-mentioned location request message may contain the identification of the terminal device in the first network, such as a temporary identification (subscription concealed identifier, SUCI), a unique identification (subscription permanent identifier, SUPI), a globally unique UE temporary identification (globally unique temporary UE identity) , GUTI), temporary identifier (generic public subscription identifier, GPSI) and other identifiers.
  • the first network open function network element may generate the first transaction number.
  • the first transaction number may be used to identify the service request of the terminal device. Wherein, a first transaction number may be generated for each service request of the terminal device, and the first transaction number of the service request of different terminal devices is different. Alternatively, a first transaction number may also be generated for each service request of each terminal device, the first transaction numbers of different service requests of the same terminal device are different, and the first transaction numbers of different terminal devices are different.
  • the first network opening function network element may also maintain an association relationship between the first transaction number and the identifier of the terminal device in the first network. The first network opening function network element may also send the association relationship between the first transaction number and the identifier of the terminal device in the first network to the AMF, so that the AMF stores the association relationship.
  • Step 702 The first network opening function network element sends a first request message to the second network opening function network element of the second network, and the second network opening function receives the first request message sent by the first network opening function.
  • the first request message here may include the identifier of the first network, and the first request message may be used to request the second network to determine the location information of the terminal device.
  • the first request message may also include the first transaction number.
  • the first request message may include the identifier of the first network and the first transaction number.
  • the first network opening function network element may further generate the first information of the above-mentioned terminal device.
  • the first information may include at least one of a first identifier and a first indication. The following specifically introduces the first information of the terminal device, which may include the following three situations.
  • the first information includes at least one of a first identification and a first indication.
  • the first information may include a first identification and a first indication, or the first information may include a first identification, or the first information may include a first indication.
  • the first identifier may be a general identifier of all terminal devices located in the first network.
  • the first identifier may be a set value, such as all 0s or all 1s.
  • the first indication may indicate that the terminal device identified by the first identification is a terminal device of the first network or the first indication may indicate that the terminal device is a terminal device not of the second network. It should be understood that the first identifier here is different from the aforementioned identifier of the terminal device in the first network.
  • the first information includes at least one of a first identification and a first indication.
  • the first information may include a first identification and a first indication, or the first information may include a first identification, or the first information may include a first indication.
  • the first identification may identify different terminal equipment, but is different from the identification of the terminal equipment in the first network. For example, a different first identifier may be assigned to each terminal device located in the first network.
  • the first indication may indicate that the terminal device identified by the first identification is a terminal device of the first network or the first indication may indicate that the terminal device is a terminal device not of the second network.
  • the first information includes at least one of a first identification and a first indication.
  • the first information may include a first identification and a first indication, or the first information may include a first identification, or the first information may include a first indication.
  • the first identification may identify different terminal equipment and is different from the identification of the terminal equipment in the first network.
  • each terminal device located in the first network may be assigned a different first identifier.
  • the first identifier may further include the identifier of the first network. In other words, it can be identified that the terminal device is located in the first network through the first identification.
  • the first indication may indicate that the terminal device is not a terminal device of the second network.
  • the first network opening function network element When the first network opening function network element sends the first request message to the second network opening function network element, the above-mentioned first information may also be carried in the first request message.
  • the first request message may include the identifier of the first network, the first transaction number and the first information.
  • the first network opening function network element may also store the association relationship between the identifier of the first network, the first transaction number, the first information and the identifier of the terminal device on the first network.
  • the first information in the foregoing cases 1 to 3 may be generated by the second network opening function network element according to the first request message sent by the first network opening function network element.
  • the first request message may include the identifier of the first network and the first transaction number.
  • the second network opening function network element may further generate the second transaction number according to the first request message.
  • the second transaction number may be used to identify the service request of the first network.
  • the second network opening function network element may generate different second transaction numbers for different first networks, or may also generate different second transaction numbers for different service requests of the same first network. For example, one second transaction number may be generated for the location service request of the first terminal device of the same first network, and another second transaction number may be generated for the location service request of the second terminal device of the same first network.
  • the second network open function network element may store the association between the identifier of the first network and the second transaction number, or the second network open function network element may store the association between the identifier of the first network, the first transaction number and the second transaction number relationship, or the second network open function network element may store the association relationship between the identifier of the first network, the first transaction number, the second transaction number and the first information.
  • the network element of the second network opening function may store the association relationship between the second transaction number and the identifier of the first network, or may The association relationship between the second transaction number, the identifier of the first network, and the first information is stored.
  • the second network opening function network element may store the identifier of the first network, the first transaction number and the second transaction number. The relationship between the transaction numbers, or the relationship between the identifier of the first network, the first transaction number, the second transaction number, and the first information can be stored.
  • the second network open function network element may also send the first transaction number, the second transaction number and the association relationship between the identifier of the first network and the first information to the first network open function network element, so that the first network open function network element
  • the aforementioned association relationship is stored.
  • the network element with the first network opening function can determine whether the identifier of the first network is its own identifier, and can also determine whether the identifier of the first network corresponds to the first transaction number.
  • the above-mentioned association relationship may be stored.
  • Step 703 The second network opening function network element receives the location information determined by the first location management function network element of the second network.
  • the first location management function network element here may be determined in the following two ways, which will be introduced separately below.
  • the first location management function network element may be selected by the access and mobility management function network element of the second network. As shown in Figure 8, the following steps may be included:
  • Step 801 After receiving the first request message sent by the first network opening function network element, the second network opening function network element sends the second transaction number and the first information to the gateway mobile location center network element of the second network. At least one, and the identifier of the first network.
  • the network element of the gateway mobile location center may determine, according to at least one of the second transaction number and the first information, that the location service needs to be provided for the first network. For example, the gateway mobile location center may determine according to the second transaction number that the location service needs to be provided for the first network, or the gateway mobile location center may determine that the location service needs to be provided for the first network according to the first information.
  • the first information of the above cases 1 to 3 may also be generated by the network element of the gateway mobile location center according to the second transaction number. If the second network function network element sends the second transaction number and the identifier of the first network to the gateway mobile location center, the gateway mobile location center network element can generate the first information according to the second transaction number and the identifier of the first network.
  • the network element of the gateway mobile location center may store the association relationship between the second transaction number, the identifier of the first network and the first information.
  • Step 802 The gateway mobile location center network element sends the identifier of the first network to the unified data management function network element.
  • the gateway mobile location center network element since it determines that it needs to provide services for the first network according to at least one of the second transaction number and the first information, it can perform authority authentication according to the identity of the first network, so it can report to the unified data management function.
  • the network element sends the identifier of the first network.
  • Step 803 The unified data management function network element checks the subscription data of the first network according to the identifier of the first network, and selects an access and mobility management function network for the first network when it is determined that the first network has the authority to obtain the location service Yuan.
  • the unified data management function network element can select the default access and mobility management function network element.
  • the unified data management function network element may select an access and mobility management function network element that can provide services for the first network according to the identifier of the first network.
  • Step 804 The unified data management function network element sends the selected identification or address of the access and management function network element to the gateway mobile location center network element.
  • Step 805 The gateway mobile location center network element sends at least one of the second transaction number and the first information to the access and management function network element.
  • the gateway mobile location center network element may send the second transaction number and the first information to the corresponding access and management function network element according to the identifier or address of the access and management function network element fed back by the unified data management function network element. at least one of.
  • Step 806 The access and management function network element selects the first location management function network element according to at least one of the second transaction number and the first information.
  • the access and management function network element selects the first location management function network element according to the second transaction number and the first information. If the first information is the above-mentioned case 2 and case 3, the access and management function network element may select the first location management function network element according to at least one of the second transaction number and the first information.
  • the access and management function network element may select the default first location management function network element, or the access and management function network element may select the first location management function network element according to at least one of the second transaction number and the first information.
  • a first location management function network element serving the first network may select the default first location management function network element, or the access and management function network element may select the first location management function network element according to at least one of the second transaction number and the first information.
  • Step 807 The access and management function network element sends a third request message to the first location management function network element.
  • the third request message here is used to request the first location management function network element to determine the location information of the terminal device.
  • the third request message may contain at least one of the second transaction number and the first information.
  • the first location management function network element may be selected by the unified data management function network element of the second network. As shown in Figure 9, the following steps may be included:
  • Step 901 The second network opening function network element sends the identifier of the first network to the unified data management function network element of the second network.
  • the second network opening function network element may send the identifier of the first network to the unified data management function network element through the service interface.
  • Step 902 The unified data management function network element checks the subscription data of the first network according to the identifier of the first network, and selects the first location management function network element when it is determined that the first network has the right to obtain the location service.
  • the unified data management function network element may select the default first location management function network element, or may select the first location management function network element that can provide services for the first network according to the identifier of the first network functional network element.
  • Step 903 The unified data management function network element sends the identifier or address of the first location management function network element to the second network open function network element.
  • Step 904 The second network opening function network element sends a third request message to the first location management function network element.
  • the third request message here is used to request the first location management function network element to determine the location information of the terminal device.
  • the third request message may contain at least one of the second transaction number and the first information.
  • the second network opening function network element may send the third request message to the first location management function network element according to the identifier or address of the first location management function network element fed back by the unified data management function network element.
  • the second network opening function network element may send a third request message to the first location management function network element according to the service-oriented interface.
  • the second network opening function network element may send a third request message to the first location management function network element, requesting the first location management function network element to determine the location information of the terminal device.
  • the first location management function network element may trigger a process of collecting data required for positioning.
  • the flowchart for obtaining the data required for positioning for the first location management function network element may include the following steps:
  • Step 1001 The first location management function network element sends a first location data collection request message to the access and management function network element.
  • the first location data collection request message may include data to be collected, and may also include at least one of the second transaction number and the first information.
  • the access and management function unit may determine, according to at least one of the second transaction number and the first information, that the location data collection request message is required for a terminal device of the first network, rather than a terminal device managed by itself.
  • Step 1002 The access and management function network element sends a second location data request message to the gateway mobile location center network element.
  • the second location data request message here may contain the same content as the first location data collection request message.
  • the second location data request message may contain the data to be collected, and may also contain at least one of the second transaction number and the first information.
  • Step 1003 The gateway mobile location center network element sends a first data request message to the second network open function network element.
  • the first data request message here may include at least one of the second transaction number and the first information, and the first data request message may be used to obtain data required for positioning.
  • the first location management function network element may send the first data request message to the second network open function network element through the foregoing steps 1001 to 1003 .
  • the first data request message may also be sent to the second network open function network element through the following step 1004 .
  • Step 1004 The first location management function network element sends a first data request message to the second network open function network element.
  • the first location management function network element may send the first data request message to the second network open function network element through the service interface.
  • the first data request message here may include at least one of the second transaction number and the first information, and the first data request message is used to obtain data required for positioning.
  • Step 1005 The second network opening function network element sends a second data request message to the first network opening function network element.
  • the network element with the second network opening function can determine the identifier of the corresponding first network according to at least one of the second transaction number and the first information, and can send the corresponding first network to the first network element.
  • a network open function network element sends a second data request message.
  • the second network open function network element may also search for the association relationship between the second transaction number, the first information and the first transaction number according to at least one of the second transaction number and the first information, and search for the corresponding first transaction number.
  • the second data request message here may include at least one of the first transaction number, the identifier of the first network, the second transaction number, and the first information.
  • the second data request message may include the first transaction number, the second transaction number and the first information, or the second data request message may include the second transaction number and the identifier of the first network.
  • Step 1006 The first network opening function network element sends the second data request message to the access and management function network element of the first network.
  • the network element with the first network opening function can perform at least one of the second transaction number, the first transaction number, the identifier of the first network, and the first information carried in the second data request message.
  • the valid message here may mean that the message is correctly sent to the corresponding first network.
  • the second data request message carries the identifier of the first network
  • the first network open function network element can determine whether the identifier of the first network is its own identifier, and can determine whether the identifier of the first network is its own identifier. It is determined that the second data request message is valid.
  • the second data request message carries the identifier of the first network, the first transaction number, and the second transaction number
  • the first network open function network element can determine whether the identifier of the first network is its own identifier, and can also Determine whether the association relationship between the identification of the first network and the first transaction number is correct.
  • the corresponding storage number can be stored. Second transaction number.
  • the first network opening function network element may further determine the identification of the terminal device in the first network according to at least one of the first transaction number, the second transaction number, and the first information. and send the second data request message to the access and management function network element of the first network that manages the terminal device.
  • the identifier of the terminal device in the first network may also be carried in the second data request message.
  • Step 1007 The network element of the access and management function of the first network collects data required for positioning.
  • the network element of the access and management function of the first network may collect data required for positioning according to the identification of the terminal device in the first network.
  • Step 1008 The access and management function network element of the first network sends the collected data required for positioning to the first network open function network element.
  • the access and management function network element of the first network may carry the collected data required for positioning in a response message and send it to the first network open function network element.
  • the response message may also carry the identifier of the terminal device in the first network.
  • Step 1009 The first network opening function network element sends a second response message to the second network opening function network element.
  • the second response message here may carry the collected data required for positioning.
  • the first network opening function may also determine the identification of the terminal device in the first network according to the aforementioned response message, and search for the corresponding first transaction number according to the identification of the terminal device in the first network. and the second transaction number, etc.
  • the second response message carries at least one of the identifier of the first network, the first transaction number and the second transaction number.
  • Step 1010 The second network opening function network element sends a response message of the second location data request message to the gateway mobile location center network element.
  • the response message of the second position data request message may carry the collected data required for positioning, and may also carry at least one of the second transaction number and the first information.
  • Step 1011 The gateway mobile location center network element sends a response message of the first location data request message to the access and mobility management function network element.
  • the response message of the first location data request message here may carry the collected data required for positioning, and may also carry at least one of the second transaction number and the first information.
  • Step 1012 The access and mobility management function network element sends a first response message to the first location management function network element.
  • the first response message here may carry data required for positioning, and may also carry at least one of the second transaction number and the first information.
  • the second network opening function network element may send the first response message of the first location data request message to the first location management function network element through the foregoing steps 1010 to 1012 .
  • the second network opening function network element may further send a first response message of the first location data request message to the first location management function network element through the following step 1013.
  • Step 1013 The second network opening function network element sends a first response message to the first location management function network element.
  • the second network opening function network element may send the first response message to the first location management function network element through the service interface.
  • the first response message may carry data required for positioning, and may also carry at least one of the second transaction number and the first information.
  • the first location management function acquires the data required for positioning, so the network element of the first location management function can calculate the location information of the terminal device according to the collected data required for positioning.
  • the location information here may include information such as the location and calculation accuracy of the terminal device.
  • the following describes how the first location management function network element sends the location information of the terminal device to the second network open function network element through FIG. 11 .
  • Step 1101 The first location management function network element sends the location information of the terminal device to the access and management function network element.
  • the location information here may include information such as the location and calculation accuracy of the terminal device.
  • the first location management function network element may also send at least one of the second transaction number and the first information to the access and management function network element. It should be understood that at least one of the second transaction number and the first information may be sent simultaneously with the location information of the terminal device, or may be sent separately.
  • Step 1102 The access and management function network element sends the location information of the terminal device to the gateway mobile location center network element.
  • the access and management function network element may also send at least one of the first information and the second transaction number to the gateway mobile location center network element.
  • Step 1103 The gateway mobile location center network element sends the location information of the terminal device to the second network open function network element.
  • the location information of the terminal device may include information such as the location and calculation accuracy of the terminal device.
  • the gateway mobile location center network element may also send at least one of the second transaction number and the first information to the second network open function network element.
  • the first location management function network element may send the location information of the terminal device to the second network opening function network element through the foregoing steps 1101 to 1103 .
  • the first location management function network element may send the location information of the terminal device to the second network opening function network element through the following step 1104.
  • Step 1104 The first location management function network element sends the location information of the terminal device to the second network open function network element.
  • the first location management function network element may send the location information of the terminal device to the second network open function network element through the service interface.
  • the first location management function network element may also send at least one of the second transaction number and the first information to the second network open function network element.
  • the second network opening function network element may receive the location information of the terminal device sent by the first location management function network element.
  • Step 704 The second network opening function network element sends the location information to the first network opening function network element, and the first network opening function network element receives the location information of the terminal device sent by the second network opening function network element.
  • the location information of the terminal device here may include information such as the location and calculation accuracy of the terminal device.
  • the second network opening function network element may determine the identifier of the corresponding first network according to at least one of the second transaction number and the first information. For example, the network element with the second network opening function may search the association relationship according to the second transaction number, and determine the identifier of the first network corresponding to the second transaction number.
  • the second network open function network element may also determine the corresponding first transaction number according to the second transaction number.
  • the second network opening function network element may also send at least one of the first transaction number, the second transaction number, the identifier of the first network, and the first information to the first network opening function network element.
  • Step 705 The first network opening function network element carries the location information of the terminal device in the location request response corresponding to the location request message, and sends the location request response.
  • the first network opening function network element may send the location request response to the access and management function network element of the first network that manages the terminal device. If the location request message is sent by the AF, the first network open function network element may send the location request response to the AF.
  • the first network open function network element may determine that Whether the location request response is valid. For example, if the network element with the second network opening function also sends the first transaction number and the identifier of the first network, the network element with the first network opening function can determine whether the identifier of the first network is its own identifier, and can also determine whether the identifier of the first network is the identifier of the first network.
  • the location information can be carried in the location information. request response, and send the location request response.
  • FIG. 12 it is an exemplary flowchart of a communication method when a terminal device initiates a positioning request, which may include the following steps:
  • Step 1201 If the terminal device is in a connection idle state, the terminal device needs to establish a signaling connection between the terminal device and the access and management function network element.
  • the terminal device may perform step 902.
  • the terminal device here is located in the first network, the first network provides the terminal device with a communication service, and the network element of the access and management function is a network element in the first network.
  • Step 1202 The terminal device sends a location request message to the access and management function network element.
  • Step 1203 The access and management function network element sends a location request message to the first network open function network element.
  • the access and management function network element may acquire the identification of the terminal device in the first network, and send the identification of the terminal device in the first network to the first network open function network element.
  • Step 1204 The first open function network element generates a first transaction number according to the location request message.
  • the first transaction number here is used to identify the service request of the terminal device.
  • the relevant description in the method embodiment shown in FIG. 7 please refer to the relevant description in the method embodiment shown in FIG. 7 , which will not be repeated here.
  • Step 1205 The first open function network element sends a first request message to the second open function network element.
  • the first request message here may include the identifier of the first network, and the first request message may be used to request the second network to determine the location information of the terminal device. Wherein, the first request message may also include the first transaction number.
  • Step 1206 The second open function network element generates a second transaction number according to the first request message.
  • the second transaction number may be used to identify the service request of the first network.
  • Step 1207 The second open function network element sends at least one of the second transaction number and the first information, and the identifier of the first network to the gateway mobile location center.
  • the first information here is used to identify the terminal device, but the first information is different from the identification of the terminal device in the first network.
  • the first information may include at least one of a first identifier and a first indication.
  • Step 1208 The gateway mobile location center sends the identifier of the first network to the unified data management function network element.
  • the gateway mobile location center network element determines that it needs to provide services for the first network according to at least one of the second transaction number and the first information, it can perform authority authentication according to the identity of the first network, so it can report to the unified data management function network element The identity of the first network is sent.
  • Step 1209 The unified data management function network element checks the subscription data of the first network according to the identity of the first network, and selects an access and mobility management function network for the first network when it is determined that the first network has the right to obtain the location service Yuan.
  • the unified data management function network element may perform authority authentication according to the identity of the first network, and select the access and management function network element for the first network. Among them, the default access and mobility management function network element can be selected. Alternatively, an access and mobility management function network element that can serve the first network may be selected.
  • Step 1210 The unified data management function network element sends the selected identification or address of the access and management function network element to the gateway mobile location center network element.
  • Step 1211 The gateway mobile location center network element sends at least one of the second transaction number and the first information to the access and management function network element.
  • the gateway mobile location center network element may send the second transaction number and the first information to the corresponding access and management function network element according to the identifier or address of the access and management function network element fed back by the unified data management function network element. at least one of.
  • Step 1212 The access and management function network element selects the first location management function network element according to at least one of the second transaction number and the first information.
  • the access and management function network element may select the default first location management function network element, or the access and management function network element may select the first network element according to at least one of the second transaction number and the first information The first location management function network element that provides the service.
  • Step 1213 The access and management function network element sends a third request message to the first location management function network element.
  • Step 1214 The first location management function network element collects data required for positioning, and determines the location information of the terminal device.
  • the location information of the terminal device may include information such as the location and calculation accuracy of the terminal device.
  • the network element with the first location management function may obtain data required for positioning through the process shown in FIG. 10 .
  • Step 1215 The first location management function network element sends the location information of the terminal device to the access and management function network element.
  • the first location management function network element may carry the location information of the terminal device in the third response message of the third request message.
  • the network element of the first location management function may report at least one of the second transaction number and the first information to the access and management function Wang Yuggling Asong.
  • Step 1216 The access and management function network element sends the location information of the terminal device to the gateway mobile location center network element.
  • the access and management function network element may also send at least one of the first information and the second transaction number to the gateway mobile location center network element.
  • Step 1217 The gateway mobile location center network element sends the location information of the terminal device to the second network open function network element.
  • the location information of the terminal device may include information such as the location and calculation accuracy of the terminal device.
  • the gateway mobile location center network element may also send at least one of the second transaction number and the first information to the second network open function network element.
  • Step 1218 The second network opening function network element sends the location information to the first network opening function network element.
  • the second network opening function network element may determine the identifier of the corresponding first network according to at least one of the second transaction number and the first information, and send the location information to the first network opening function network element.
  • the second network function opening function network element may also send at least one of the second transaction number, the first transaction number, the identifier of the first network, and the first information to the first network function opening function network element.
  • Step 1219 The first network opening function network element carries the location information of the terminal device in the location request response corresponding to the location request message, and sends the location request response.
  • the first network opening function network element may further determine the identifier of the terminal device on the first network according to at least one of the second transaction number, the first transaction number, the identifier of the first network, and the first information.
  • the first network opening function network element may send the location information to the access and management function network element.
  • the first network opening function network element may also send the identification of the terminal device in the first network to the access and management function network element.
  • Step 1220 The access and management function network element may send the location information to the corresponding terminal equipment.
  • the access and management function network element may send the location information to the corresponding terminal device according to the identification of the terminal device in the first network.
  • an exemplary flowchart of a communication method for initiating a location service request for an application layer functional network element may include the following steps:
  • Step 1301 The application layer function network element sends a location request message to the first network open function network element.
  • the location request message is used to request location information of a terminal device, and the terminal device is located in the first network.
  • the location request message may include the identifier of the terminal device in the first network.
  • steps 1302 to 1316 may be the same as steps 1204 to 1218 shown in FIG. 12 . It will not be repeated here.
  • Step 1317 The first network opening function network element carries the location information of the terminal device in the location request response corresponding to the location request message, and sends the location request response.
  • the first network opening function network element may send the location request response to the application layer function network element.
  • the location request response may also include an identifier of the terminal device in the first network.
  • an exemplary flowchart of a communication method for initiating a location service request for a terminal device may include the following steps:
  • steps 1401 to 1406 may be the same as steps 1201 to 1206 shown in FIG. 12 , and details are not repeated here.
  • Step 1407 The second network opening function network element sends the identifier of the first network to the unified data management function network element.
  • Step 1408 The unified data management function network element checks the subscription data of the first network according to the identifier of the first network, and selects the first location management function network element when it is determined that the first network has the right to obtain the location service.
  • the unified data management function network element may select the default first location management function network element, or may select the first location management function network element that can provide services for the first network according to the identifier of the first network.
  • Step 1409 The unified data management function network element sends the identifier or address of the first location management function network element to the second network open function network element.
  • Step 1410 The second network opening function network element sends a third request message to the first location management function network element.
  • the third request message here is used to request the first location management function network element to determine the location information of the terminal device.
  • the third request message may contain at least one of the second transaction number and the first information.
  • the second network opening function network element may send the third request message to the first location management function network element according to the identifier or address of the first location management function network element fed back by the unified data management function network element.
  • the second network opening function network element may send a third request message to the first location management function network element according to the service-oriented interface.
  • Step 1411 The first location management function network element collects data required for positioning, and determines the location information of the terminal device.
  • the location information of the terminal device may include information such as the location and calculation accuracy of the terminal device.
  • the network element with the first location management function may obtain data required for positioning through the process shown in FIG. 10 .
  • Step 1412 The first location management function network element sends the location information of the terminal device to the second network open function network element.
  • the first location management function network element may send the location information of the terminal device to the second network open function network element through the service interface.
  • Step 1413 The second network opening function network element sends the location information to the first network opening function network element.
  • the second network opening function network element may determine the identifier of the corresponding first network according to at least one of the second transaction number and the first information, and send the location information to the first network opening function network element.
  • the second network function opening function network element may also send at least one of the second transaction number, the first transaction number, the identifier of the first network, and the first information to the first network function opening function network element.
  • Step 1414 The first network opening function network element carries the location information of the terminal device in the location request response corresponding to the location request message, and sends the location request response.
  • the first network opening function network element may further determine the identifier of the terminal device on the first network according to at least one of the second transaction number, the first transaction number, the identifier of the first network, and the first information.
  • the first network opening function network element may send the location information to the access and management function network element.
  • the first network opening function network element may also send the identification of the terminal device in the first network to the access and management function network element.
  • Step 1415 The access and management function network element may send the location information to the corresponding terminal equipment.
  • the access and management function network element may send the location information to the corresponding terminal device according to the identification of the terminal device in the first network.
  • an exemplary flowchart of a communication method for initiating a location service request for an application layer functional network element may include the following steps:
  • Step 1501 The application layer function network element sends a location request message to the first network open function network element.
  • the location request message is used to request location information of a terminal device, and the terminal device is located in the first network.
  • the location request message may include the identifier of the terminal device in the first network.
  • Step 1502 The first open function network element generates a first transaction number according to the location request message.
  • the first transaction number here is used to identify the service request of the terminal device.
  • the relevant description in the method embodiment shown in FIG. 7 please refer to the relevant description in the method embodiment shown in FIG. 7 , which will not be repeated here.
  • Step 1503 The first open function network element sends a first request message to the second open function network element.
  • the first request message here may include the identifier of the first network, and the first request message may be used to request the second network to determine the location information of the terminal device. Wherein, the first request message may also include the first transaction number.
  • the second transaction number may be used to identify the service request of the first network.
  • Step 1504 The second open function network element generates a second transaction number according to the first request message.
  • steps 1505 to 1511 may be the same as steps 1407 to 1413 shown in FIG. 14 , and details are not repeated here.
  • Step 1512 The first network opening function network element carries the location information of the terminal device in the location request response corresponding to the location request message, and sends the location request response.
  • the first network opening function network element may send the location request response to the application layer function network element.
  • the location request response may also include an identifier of the terminal device in the first network.
  • an embodiment of the present application further provides a communication apparatus, which can implement the communication method described above.
  • the apparatus 1600 may include a communication unit 1601 and a processing unit 1602 .
  • a storage unit 1603 is also included.
  • the apparatus 1600 can implement the function of the first network opening function network element in the aforementioned communication method.
  • the processing unit 1602 may be connected to the storage unit 1603 and the communication unit 1601 respectively, and the storage unit 1603 may also be connected to the communication unit 1601 .
  • the storage unit 1603 is used to store computer programs
  • the communication unit 1601 may receive a location request message for requesting location information of the terminal device.
  • a location request message for requesting location information of the terminal device.
  • the terminal device and the location request message reference may be made to the related description in the method embodiment shown in FIG. 7 .
  • the communication unit 1601 may also send the first request message to the second network opening function network element of the second network, and receive the location information of the terminal device sent by the second network opening function network element.
  • first request message and the location information of the terminal device reference may be made to the relevant description in the method embodiment shown in FIG. 7 above.
  • the communication unit 1601 may further carry the location information of the terminal device in the location request response corresponding to the location request message, and send the location request response.
  • location request response For the description of the location request response and the like, reference may be made to the relevant description in the method embodiment shown in FIG. 7 above.
  • the processing unit 1602 after receiving the location request message, is configured to generate a first transaction number according to the location request message.
  • the first transaction number For the description of the first transaction number, reference may be made to the relevant description in the method embodiment shown in FIG. 7 above, and repeated descriptions will not be repeated.
  • the communication unit 1601 may send the identifier of the first network and the first transaction number to the second network open function network element. the first request message.
  • the communication unit 1601 when sending a location request response, is specifically configured to: receive a first response message of the first request message from the second network opening function network element.
  • receive a first response message of the first request message For the description of the first response message, reference may be made to the relevant description in the method embodiment shown in FIG. 7 above.
  • the processing unit 1602 may determine, according to at least one of the identifier of the first network, the first transaction number, the second transaction number, and the first information, the terminal device's status in the first network. logo.
  • the second transaction number and the first information reference may be made to the relevant descriptions in the above method embodiment shown in FIG. 7 , and repeated descriptions will not be repeated.
  • the communication unit 1601 may further receive a second request message sent by the second network opening function network element.
  • Data request message For the description of the second data request message, reference may be made to the relevant description in the method embodiment shown in FIG. 7 above.
  • the communication unit 1601 may send a second response message to the second network open function network element. For the description of the second response message, reference may be made to the relevant description in the method embodiment shown in FIG. 7 above.
  • the storage unit 1603 is configured to store the identifier of the first network, the first transaction number, the identifier of the terminal device in the first network, the first information and all The association relationship of at least two of the second transaction numbers is described.
  • the above-mentioned device 1600 may also be a chip, wherein the communication unit may be an input/output circuit or an interface of the chip, and the processing unit may be a logic circuit.
  • the data may also be a chip, wherein the communication unit may be an input/output circuit or an interface of the chip, and the processing unit may be a logic circuit. The data.
  • an embodiment of the present application further provides a communication apparatus, which can implement the communication method described above.
  • the apparatus 1730 may include a communication unit 1731 and a processing unit 1732 .
  • a storage unit 1733 is also included.
  • the apparatus 1730 may implement the function of the first network opening function network element in the foregoing communication method.
  • the processing unit 1732 may be connected to the storage unit 1733 and the communication unit 1731 respectively, and the storage unit 1733 may also be connected to the communication unit 1731 .
  • the storage unit 1733 is used to store computer programs
  • the communication unit 1731 receives the first request message sent by the first network opening function network element of the first network.
  • the communication unit 1731 may also receive the location information determined by the first location management function network element of the second network, and send the location information to the first network opening function network element.
  • the location information of the terminal device reference may be made to the relevant descriptions in the foregoing method embodiments.
  • the processing unit 1732 may generate the second transaction number according to the first transaction number and the identifier of the first network.
  • the first transaction number, the second transaction number, and the identifier of the first network reference may be made to the relevant description in the method embodiment shown in FIG. 7 .
  • the communication unit 1731 may send the message to the gateway mobile location center network element of the second network At least one of the second transaction number and the first information, and the identifier of the first network, enable the gateway mobile location center network element to report to the first network element through the access and mobility management function network element of the second network.
  • the first location management function network element of the second network sends the third request message.
  • the communication unit 1731 after receiving the first request message sent by the first network open function network element of the first network, the communication unit 1731 sends the first request message to the first location management function network element of the second network The third request message.
  • the third request message For the description of the third request message, reference may be made to the related description in the method embodiment shown in FIG. 7 .
  • the communication unit 1731 receives the first data request message.
  • the processing unit 1732 is configured to determine the identifier of the first network according to at least one of the second transaction number and the first information.
  • the communication unit 1731 is configured to send a second data request message to the first network open function network element.
  • the processing unit 1732 is configured to search for the identifier of the corresponding first network according to the second transaction number.
  • the communication unit 1731 sends the location information to the first network opening function network element of the first network.
  • the above-mentioned device 1730 can also be a chip, wherein the communication unit can be an input/output circuit or an interface of the chip, and the processing unit can be a logic circuit, and the logic circuit can process the data to be processed according to the steps described in the above method. The data.
  • an embodiment of the present application further provides a communication device.
  • FIG. 18 it is a schematic structural diagram of an apparatus provided in an embodiment of the present application.
  • the apparatus 1800 includes at least one processor 1820, configured to implement the functions in the methods provided in the embodiments of the present application.
  • the apparatus 1800 may also include a communication interface 1810 .
  • the communication interface may be a transceiver, a circuit, a bus, a module or other types of communication interfaces, which are used to communicate with other devices through a transmission medium.
  • the communication interface 1810 is used by the apparatus in the apparatus 1800 to communicate with other devices.
  • the processor 1820 can complete the functions of the processing unit 1602 shown in FIG. 16 or the functions of the processing unit 1702 shown in FIG. 17
  • the communication interface 1810 can complete the functions of the communication unit 1601 shown in FIG. 16 .
  • the function may alternatively complete the function of the communication unit 1701 as shown in FIG. 17 .
  • Communication apparatus 1800 may also include at least one memory 1830 for storing program instructions and/or data.
  • Memory 1830 and processor 1820 are coupled.
  • the coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • Processor 1820 may cooperate with memory 1830.
  • Processor 1820 may execute program instructions stored in memory 1830 . At least one of the at least one memory may be included in the processor.
  • the specific connection medium between the communication interface 1810, the processor 1820, and the memory 1830 is not limited in the embodiments of the present application.
  • the memory 1830, the processor 1820, and the communication interface 1810 are connected through a bus 1840 in FIG. 18.
  • the bus is represented by a thick line in FIG. 18, and the connection between other components is only for schematic illustration. , is not limited.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is shown in FIG. 18, but it does not mean that there is only one bus or one type of bus.
  • the above device can execute the communication method described in the embodiments of the present application.
  • a computer-readable storage medium on which instructions are stored, and when the instructions are executed, the methods described in the above method embodiments are performed.
  • a computer program product including instructions is provided, and when the instructions are executed, the methods described in the above method embodiments are performed.
  • a communication system which may include the communication apparatus shown in FIG. 16 and the communication apparatus shown in FIG. 17 .
  • processors mentioned in the embodiments of the present invention may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application-specific integrated circuits ( Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable Gate Array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory mentioned in the embodiments of the present invention may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be Random Access Memory (RAM), which acts as an external cache.
  • RAM Static RAM
  • DRAM Dynamic RAM
  • SDRAM Synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM DDR SDRAM
  • enhanced SDRAM ESDRAM
  • synchronous link dynamic random access memory Synchlink DRAM, SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module
  • memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

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

Abstract

The present invention relates to the technical field of wireless communications. Provided are a communication method and apparatus capable of reducing construction costs. In the method, a first network exposure function network element can receive a location request message for requesting location information of a terminal device. The first network exposure function network element can send a first request message to a second network exposure function network element of a second network. The first network exposure function network element can also receive the location information of the terminal device sent by the second network exposure function network element. The first network exposure function network element can send a location request response carrying the location information. On the basis of the above solution, no positioning service-related network element needs to be deployed in a first network because when a positioning service is required, a first request message can be sent to a second network to request the second network to provide a positioning service. The first network can receive position information sent by the second network, thereby realizing positioning of a terminal device. The invention can reduce construction, operation and maintenance costs, and reduce the complexity of operation and maintenance.

Description

一种通信方法和装置A communication method and device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2020年08月26日提交中国专利局、申请号为202010873754.3、申请名称为“一种通信方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202010873754.3 and the application title "a communication method and device" filed with the China Patent Office on August 26, 2020, the entire contents of which are incorporated into this application by reference.
技术领域technical field
本申请涉及无线通信技术领域,尤其涉及一种通信方法和装置。The present application relates to the field of wireless communication technologies, and in particular, to a communication method and apparatus.
背景技术Background technique
目前,工业园区对定位服务的需求较大,很多设备都需要有一定的定位能力才能够完成自动作业等功能。如无人搬运车(automatic guided vehicle,AGV)等设备。当前的定位技术可以包括全球定位***(global position system,GPS)、北斗定位***、惯性导航以及电磁导航等多种定位技术。不仅如此,工业园区还可以借助网络设备提供的定位服务来实现工业园区的定位服务。At present, industrial parks have a large demand for positioning services, and many devices need to have certain positioning capabilities to complete functions such as automatic operations. Such as automatic guided vehicle (AGV) and other equipment. The current positioning technology can include various positioning technologies such as global positioning system (GPS), Beidou positioning system, inertial navigation and electromagnetic navigation. Not only that, the industrial park can also realize the location service of the industrial park with the help of the location service provided by the network equipment.
因此,工业园区可以部署独立私网实现定位服务。所谓独立组网的非公共网络(standalone non-public network,SNPN),不依赖于公共陆地移动网络(public land mobile network,PLMN),由SNPN专属运营商运营。独立私网当中的网元设备都服务于该私网的用户设备(user equipment,UE)。SNPN内的控制面信令和用户面数据均不会传输至外部网络,达到一定的安全隐私效果。Therefore, industrial parks can deploy independent private networks to implement location services. The so-called standalone non-public network (SNPN) does not depend on the public land mobile network (PLMN), and is operated by the SNPN exclusive operator. The network element devices in the independent private network all serve the user equipment (UE) of the private network. The control plane signaling and user plane data in the SNPN will not be transmitted to the external network, achieving a certain security and privacy effect.
若要在SNPN架构中提供定位服务,则需要部署与定位服务相关的网元,如移动网关位置中心(gateway mobile location centre,GMLC)和位置管理功能(location management function,LMF)等网元。然而,部署这些定位服务相关的网元无疑会增加建设成本以及运维复杂度。To provide location services in the SNPN architecture, it is necessary to deploy network elements related to location services, such as mobile gateway location center (gateway mobile location center, GMLC) and location management function (location management function, LMF) and other network elements. However, deploying these network elements related to location services will undoubtedly increase construction costs and O&M complexity.
发明内容SUMMARY OF THE INVENTION
本申请提供一种通信方法和装置,用于减少建设成本和运维复杂度。The present application provides a communication method and device for reducing construction cost and operation and maintenance complexity.
第一方面,本申请实施例提供一种通信方法。该方法可以由第一网络的第一网络开放功能网元执行。该方法中,第一网络开放功能网元可以接收用于请求终端设备的位置信息的位置请求消息。该终端设备可以位于第一网络。第一网络开放功能网元可以向第二网络的第二网络开放功能网元发送第一请求消息。这里的第一网络和第二网络可以不同。该第一请求消息可以包含第一网络的标识,该第一请求消息可以用于请求所述第二网络确定所述终端设备的位置信息。该第一网络开放功能网元还可以接收第二网络开放功能网元发送的所述终端设备的位置信息。第一网络开放功能网元还可以将该终端设备的位置信息携带在与所述位置请求消息对应的位置请求响应中,并发送该位置请求响应。In a first aspect, an embodiment of the present application provides a communication method. The method may be performed by a first network open function network element of the first network. In this method, the first network opening function network element may receive a location request message for requesting location information of the terminal device. The terminal device may be located in the first network. The first network opening function network element may send the first request message to the second network opening function network element of the second network. The first network and the second network here may be different. The first request message may contain an identifier of the first network, and the first request message may be used to request the second network to determine the location information of the terminal device. The first network opening function network element may also receive the location information of the terminal device sent by the second network opening function network element. The first network opening function network element may further carry the location information of the terminal device in the location request response corresponding to the location request message, and send the location request response.
基于该方案,第一网络中可以无需部署定位服务相关的网元,在有定位需求时可以向第二网络发送第一请求消息,请求第二网络提供定位服务。第一网络可以接收第二网络发 送的位置信息,实现对终端设备的定位,可以节省建设和运维成本,也可以降低运维复杂度。Based on this solution, network elements related to positioning services may not be deployed in the first network, and when there is a positioning requirement, a first request message may be sent to the second network to request the second network to provide positioning services. The first network can receive the location information sent by the second network to realize the positioning of the terminal equipment, which can save construction and operation and maintenance costs, and can also reduce the complexity of operation and maintenance.
在一种可能的实现方式中,第一网络开放功能网元接收了所述位置请求消息之后,还可以根据所述位置请求消息生成第一事务号。该第一事务号用于标识终端设备的服务请求。第一网络开放功能可以在第一请求消息中携带第一网络的标识和所述第一事务号。In a possible implementation manner, after receiving the location request message, the first network opening function network element may further generate a first transaction number according to the location request message. The first transaction number is used to identify the service request of the terminal device. The first network opening function may carry the identifier of the first network and the first transaction number in the first request message.
基于该方案,可以用第一事务号标识终端设备的服务请求,将第一事务号和第一网络的标识携带在第一请求消息中发送给第二网络开放功能网元,可以对终端设备有一定的安全隐私保护效果。Based on this solution, the first transaction number can be used to identify the service request of the terminal device, and the first transaction number and the identifier of the first network can be carried in the first request message and sent to the second network open function network element. Certain security and privacy protection effects.
在一种可能的实现方式中,该第一请求消息中还可以包含第一信息;该第一信息用于标识所述终端设备,该第一信息不同于终端设备在第一网络中的标识。其中,第一信息可以包括终端设备的第一标识和第一指示中的至少一个。其中,第一标识可以是终端设备在第一网络的通用标识。这里的通用标识可以是所有第一网络中的终端设备通用的标识,或者还可以是第一网络中的部分终端设备通用的标识。例如,第一网络中的每一个终端设备的通用标识可以相同也可以不相同。该第一指示可以用于指示第一标识为第一网络中的终端设备的标识或第一指示可以指示该终端设备为非第二网络的终端设备。In a possible implementation manner, the first request message may further include first information; the first information is used to identify the terminal device, and the first information is different from the identification of the terminal device in the first network. The first information may include at least one of a first identifier and a first indication of the terminal device. The first identifier may be a general identifier of the terminal device in the first network. The universal identifier here may be an identifier common to all terminal devices in the first network, or may also be an identifier common to some terminal devices in the first network. For example, the universal identifiers of each terminal device in the first network may be the same or different. The first indication may be used to indicate that the first identification is an identification of a terminal device in the first network or the first indication may indicate that the terminal device is not a terminal device of the second network.
基于该方案,第一网络开放功能网元可以用第一信息标识第一网络的终端设备,使得第二网络可以得知该终端设备是非第二网络的终端设备,但由于第二网络无法获知终端设备在第一网络中的标识,因此可以保护终端设备的隐私,提高第一网络的安全性。Based on this solution, the first network opening function network element can use the first information to identify the terminal device of the first network, so that the second network can know that the terminal device is not a terminal device of the second network, but because the second network cannot know the terminal device The identification of the device in the first network can therefore protect the privacy of the terminal device and improve the security of the first network.
在一种可能实现的方式中,该第一信息可以是设置值。例如,该第一信息中的第一标识可以是设置值,其中第一网络中的所有终端设备的第一标识相同。或者,不同的终端设备的第一信息可以不同。例如,可以为每一个第一网络的终端设备分配一个不同的标识,该标识用于第二网络识别该终端设备为第一网络的终端设备,而无法使第二网络识别终端设备的身份。或者,该第一信息可以包含第一网络的标识,且不同的终端设备的第一信息不同。例如,该第一标识中可以包括第一网络的标识。此时,该第一标识可以包含第一指示的作用,即该第一标识可以指示该第一标识为第一网络中的终端设备的标识,第二网络可以通过第一标识确定该终端设备为第一网络的标识,但是第二网络无法通过该第一标识识别终端设备的身份,由此隐式地包含了第一指示的作用。In a possible implementation manner, the first information may be a setting value. For example, the first identifier in the first information may be a setting value, wherein the first identifiers of all terminal devices in the first network are the same. Alternatively, the first information of different terminal devices may be different. For example, each terminal device of the first network can be assigned a different identifier, and the identifier is used by the second network to identify the terminal device as a terminal device of the first network, but cannot enable the second network to identify the identity of the terminal device. Alternatively, the first information may include an identifier of the first network, and the first information of different terminal devices is different. For example, the first identifier may include the identifier of the first network. At this time, the first identifier may include the function of the first indication, that is, the first identifier may indicate that the first identifier is the identifier of the terminal device in the first network, and the second network may determine that the terminal device is the terminal device in the first network through the first identifier. The identifier of the first network, but the second network cannot identify the identity of the terminal device through the first identifier, thus implicitly including the role of the first indication.
基于该方案,可以为第一网络中的所有终端设备分配相同的第一信息,还可以为第一网络中的每一个终端设备分配一个第一信息,该第一信息中还可以包含第一网络的标识,这样可以使得第二网络根据该第一信息识别到该终端设备是第一网络中的终端设备,而无法根据该第一信息识别到终端设备的身份,可以保护终端设备的隐私,可以提高第一网络的安全性。Based on this solution, the same first information can be allocated to all terminal devices in the first network, and each terminal device in the first network can also be allocated a piece of first information, and the first information can also include the first network In this way, the second network can recognize that the terminal device is a terminal device in the first network according to the first information, but cannot identify the identity of the terminal device according to the first information, which can protect the privacy of the terminal device, and can Improve the security of the first network.
在一种可能的实现方式中,第一网络开放功能网元可以从第二网络开放功能网元接收第一请求消息的第一响应消息。该第一响应消息可以包含终端设备的位置信息。第一网络开放功能网元则可以根据第一网络的标识、第一事务号和第二事务号和第一信息中的至少一个,确定终端设备在第一网络中的标识。这里的第二事务号可以用于标识第一网络的服务请求。第一网络开放功能网元可以根据所述终端设备在第一网络中的标识,发送位置响应消息。这里的位置响应消息可以包含所述终端设备的位置信息。In a possible implementation manner, the first network opening function network element may receive the first response message of the first request message from the second network opening function network element. The first response message may contain location information of the terminal device. The first network open function network element may determine the identification of the terminal device in the first network according to at least one of the identification of the first network, the first transaction number and the second transaction number, and the first information. The second transaction number here may be used to identify the service request of the first network. The first network opening function network element may send a location response message according to the identification of the terminal device in the first network. The location response message here may contain location information of the terminal device.
基于该方案,第二网络开放功能网元可以通过第二事务号标识第一网络的服务请求,第一网络开放功能网元与第二网络开放功能网元可以通过第一网络的标识、第一事务号和 第二事务号和第一信息通信,可以提高第一网络的安全性,保护终端设备的隐私。Based on this solution, the second network open function network element can identify the service request of the first network through the second transaction number, and the first network open function network element and the second network open function network element can use the identification of the first network, the first network open function network element The transaction number and the second transaction number communicate with the first information, which can improve the security of the first network and protect the privacy of the terminal device.
在一种可能的实现方式中,第一网络开放功能网元在向第二网络开放功能网元发送第一请求消息之后,还可以接收第二网络开放功能网元发送的第二数据请求消息。该第二数据请求消息可以包括第一事务号、第一网络的标识、第二事务号和所述第一信息中的至少一个。该第二数据请求消息可以用于请求获取定位所需的数据。第一网络开放功能网元可以向第二网络开放功能网元发送第二响应消息。该第二响应消息可以包括所述收集到的定位所需的数据。In a possible implementation manner, after sending the first request message to the second network opening function network element, the first network opening function network element may also receive a second data request message sent by the second network opening function network element. The second data request message may include at least one of a first transaction number, an identification of the first network, a second transaction number, and the first information. The second data request message may be used to request to obtain data required for positioning. The first network opening function network element may send the second response message to the second network opening function network element. The second response message may include the collected data required for positioning.
基于该方案,第一网络开放功能网元可以根据第一事务号、第一网络的标识、第二事务号和第一信息中的至少一个,确定终端设备在第一网络中的标识,从而收集该终端设备的定位所需的数据,并将收集到的数据发送给第二网络开放功能网元实现对终端设备的定位,因此第一网络中无需部署定位服务相关的网元,可以节省建设和运维成本,降低运维复杂度。Based on this solution, the network element of the first network opening function can determine the identifier of the terminal device in the first network according to at least one of the first transaction number, the identifier of the first network, the second transaction number, and the first information, thereby collecting the identifier of the terminal device in the first network. The data required for the positioning of the terminal equipment is sent to the second network open function network element to realize the positioning of the terminal equipment. Therefore, there is no need to deploy network elements related to positioning services in the first network, which can save construction and cost. Operation and maintenance costs, reduce operation and maintenance complexity.
在一种可能的实现方式中,第一网络开放功能网元可以存储第一网络的标识、第一事务号、终端设备在第一网络的标识和第一信息以及第二事务号中的至少两个的关联关系。例如,可以存储第一事务号与终端设备在第一网络的标识的关联关系,或者存储第一网络的标识、第一事务号、终端设备在第一网络的标识和第一信息以及第二事务号的关联关系。In a possible implementation manner, the first network open function network element may store at least two of the identifier of the first network, the first transaction number, the identifier of the terminal device in the first network, the first information, and the second transaction number. a relationship. For example, the association relationship between the first transaction number and the identification of the terminal device in the first network may be stored, or the identification of the first network, the first transaction number, the identification of the terminal device in the first network, the first information, and the second transaction may be stored number relationship.
基于该方案,第一网络开放功能网元可以根据存储的关联关系,与第二网络开放功能网元通信,以及确定终端设备在第一网络中的标识,可以避免将该终端设备在第一网络中的标识泄露,保护终端设备的隐私,提高第一网络的安全性。Based on this solution, the first network opening function network element can communicate with the second network opening function network element according to the stored association relationship, and determine the identifier of the terminal device in the first network, so that the terminal device can be avoided in the first network. The identity in the device is leaked, the privacy of the terminal device is protected, and the security of the first network is improved.
第二方面,本申请实施例提供另一种通信方法。该方法可以由本申请实施例中的第二网络的第二网络开放功能网元执行。该方法中,第二网络开放功能网元可以接收来自第一网络开放功能网元的第一请求消息。该第一请求消息中可以包含第一网络的标识,该第一请求消息可以用于请求第二网络确定终端设备的位置信息。这里的终端设备可以位于第一网络。第二网络开放功能网元可以接收第二网络的第一位置管理功能网元确定的终端设备的位置信息,并将位置信息发送给第一网络开放功能网元。In a second aspect, the embodiments of the present application provide another communication method. The method may be executed by the second network open function network element of the second network in the embodiment of the present application. In this method, the second network opening function network element may receive the first request message from the first network opening function network element. The first request message may contain the identifier of the first network, and the first request message may be used to request the second network to determine the location information of the terminal device. The terminal device here may be located in the first network. The second network opening function network element may receive the location information of the terminal device determined by the first location management function network element of the second network, and send the location information to the first network opening function network element.
基于该方案,第一网络中可以不需要部署定位相关的网元,在有定位需求时可以请求第二网络提供定位服务,实现对第一网络中的终端设备的定位服务,可以节省第一网络的建设和运维成本,还可以减少运维复杂度。Based on this solution, it is not necessary to deploy positioning-related network elements in the first network, and when there is a positioning requirement, the second network can be requested to provide positioning services, so as to realize the positioning services for terminal devices in the first network, which can save the first network The cost of construction and operation and maintenance can also reduce the complexity of operation and maintenance.
在一种可能的实现方式中,还可以包含第一事务号,该第一事务号可以用于标识终端设备的服务请求。第二网络开放功能网元可以根据第一事务号和第一网络的标识生成第二事务号。这里的第二事务号可以用于标识第一网络的服务请求。In a possible implementation manner, the first transaction number may also be included, and the first transaction number may be used to identify the service request of the terminal device. The second network open function network element may generate the second transaction number according to the first transaction number and the identifier of the first network. The second transaction number here may be used to identify the service request of the first network.
基于该方案,第二网络开放功能网元可以用第二事务号标识不同第一网络的服务请求。Based on this solution, the second network opening function network element can use the second transaction number to identify service requests of different first networks.
在一种可能的实现方式中,第二网络开放功能网元接收第一网络开放功能网元发送的第一请求消息之后,还可以向第二网络的网关移动位置中心网元发送第二事务号和第一信息中的至少一个,以及第一网络的标识。这样,可以使得网关移动位置中心网元通过第二网络的接入与管理功能网元向第二网络的第一位置管理功能网元发送第三请求消息。该第三请求消息可以用于请求第一位置管理功能网元确定终端设备的位置信息。其中,第一位置管理功能网元可以是接入与移动管理功能网元根据第二事务号和第一信息中的至少一个选择的。这里的第一信息可以用于标识终端设备,第一信息不同于终端设备在第一网络中的标识。In a possible implementation manner, after receiving the first request message sent by the first network opening function network element, the second network opening function network element may also send the second transaction number to the gateway mobile location center network element of the second network and at least one of the first information, and the identity of the first network. In this way, the gateway mobile location center network element can be made to send the third request message to the first location management function network element of the second network through the access and management function network element of the second network. The third request message may be used to request the first location management function network element to determine the location information of the terminal device. The first location management function network element may be selected by the access and mobility management function network element according to at least one of the second transaction number and the first information. The first information here may be used to identify the terminal device, and the first information is different from the identification of the terminal device in the first network.
基于该方案,接入与移动管理功能网元可以根据第二事务号和第一信息中的至少一个为第一网络选择接入与移动管理功能网元实现对终端设备的定位。另外,由于第一信息不同于终端设备在第一网络中的标识,因此可以保证终端设备的隐私性,可以提高第一网络的安全性。Based on this solution, the access and mobility management function network element can select the access and mobility management function network element for the first network according to at least one of the second transaction number and the first information to realize the positioning of the terminal device. In addition, since the first information is different from the identification of the terminal device in the first network, the privacy of the terminal device can be guaranteed, and the security of the first network can be improved.
在一种可能的实现方式中,第二网络开放功能网元可以从所述第二网络的统一数据管理功能网元接收所述第二网络的第一位置管理功能网元的标识或地址。所述第二网络开放功能网元可以根据所述标识或地址确定所述第一位置管理功能网元,并向该第一位置管理功能网元发送第三请求消息。这里的第三请求消息可以用于请求第一位置管理功能网元确定终端设备的位置信息。In a possible implementation manner, the second network opening function network element may receive the identifier or address of the first location management function network element of the second network from the unified data management function network element of the second network. The second network opening function network element may determine the first location management function network element according to the identifier or address, and send a third request message to the first location management function network element. The third request message here may be used to request the first location management function network element to determine the location information of the terminal device.
基于该方案,第一位置管理功能网元可以由统一数据管理功能网元为第一网络选择,第二网络开放功能网元可以通过该第一位置管理功能网元确定终端设备的位置信息。Based on this solution, the first location management function network element can be selected for the first network by the unified data management function network element, and the second network open function network element can determine the location information of the terminal device through the first location management function network element.
在一种可能的实现方式中,第二网络开放功能网元接收第一网络开放功能网元发送的第一请求消息之后,可以向第二网络的第一位置管理功能网元发送第三请求消息。该第三请求消息可以用于请求第一位置管理功能网元确定终端设备的位置信息。这里的第一位置管理功能网元是第二网络的统一数据管理功能网元根据第一网络的标识选择的。In a possible implementation manner, after receiving the first request message sent by the first network opening function network element, the second network opening function network element may send a third request message to the first location management function network element of the second network . The third request message may be used to request the first location management function network element to determine the location information of the terminal device. Here, the first location management function network element is selected by the unified data management function network element of the second network according to the identifier of the first network.
基于该方案,第二网络在部署时可以不需要部署网关移动位置中心网元和接入与移动管理功能网元,可以通过统一数据管理功能网元选择第一位置管理功能网元,由第一位置管理功能网元实现对终端设备的定位,可以节省建设和运维成本,也可以降低运维复杂度。Based on this solution, the second network does not need to deploy the gateway mobile location center network element and the access and mobility management function network element during deployment, and the first location management function network element can be selected through the unified data management function network element, and the first The location management function network element realizes the positioning of terminal equipment, which can save construction and operation and maintenance costs, and can also reduce the complexity of operation and maintenance.
在一种可能的实现方式中,该第一位置管理功能网元是所述统一数据管理功能网元根据第一网络的标识查看该第一网络的签约数据,确定该第一网络具有获取定位服务权限时选择的。In a possible implementation manner, the first location management function network element is the unified data management function network element that checks the subscription data of the first network according to the identifier of the first network, and determines that the first network has access to location services. Permissions are selected.
基于该方案,统一数据管理功能网元可以根据第一网络的标识查看签约数据做权限控制,并根据该第一网络的标识为第一网络选择提供定位服务的第一位置管理功能网元。Based on this solution, the unified data management function network element can view the subscription data for authority control according to the identification of the first network, and select the first location management function network element that provides positioning services for the first network according to the identification of the first network.
在一种可能的实现方式中,第一信息可以包括终端设备的第一标识和第一指示中的至少一个。其中,第一标识可以是终端设备在第一网络的通用标识。这里的通用标识可以是所有第一网络中的终端设备通用的标识,或者还可以是第一网络中的部分终端设备通用的标识。例如,第一网络中的每一个终端设备的通用标识可以不相同。该第一指示可以用于指示第一标识为第一网络中的终端设备的标识或第一标识为非第二网络的终端设备的标识。在第一信息中的第一标识是设置值时,接入与移动管理功能网元可以根据第二事务号和第一信息选择第一位置管理功能网元。在不同的终端设备的第一标识不同时,第一位置管理功能网元可以是根据第二事务号和第一信息中的至少一个确定的。在第一标识包含第一网络的标识,以及不同的终端设备的第一信息不同时,第一位置管理功能网元是根据第二事务号和第一标识中的至少一个确定的。In a possible implementation manner, the first information may include at least one of a first identifier and a first indication of the terminal device. The first identifier may be a general identifier of the terminal device in the first network. The universal identifier here may be an identifier common to all terminal devices in the first network, or may also be an identifier common to some terminal devices in the first network. For example, the general identifiers of each terminal device in the first network may be different. The first indication may be used to indicate that the first identification is an identification of a terminal device in the first network or the first identification is an identification of a terminal device that is not in the second network. When the first identifier in the first information is a set value, the access and mobility management function network element may select the first location management function network element according to the second transaction number and the first information. When the first identifiers of different terminal devices are different, the first location management function network element may be determined according to at least one of the second transaction number and the first information. When the first identifier includes the identifier of the first network, and the first information of different terminal devices is different, the first location management function network element is determined according to at least one of the second transaction number and the first identifier.
基于该方案,第二网络可以根据第二事务号和/或第一信息,为第一网络选择第一位置管理功能网元,实现对终端设备的定位,可以避免使用终端设备在第一网络中的标识,可以保护终端设备的隐私,可以提高第一网络的安全性。Based on this solution, the second network can select the first location management function network element for the first network according to the second transaction number and/or the first information, so as to realize the positioning of the terminal device, and it is possible to avoid using the terminal device in the first network. can protect the privacy of the terminal device and improve the security of the first network.
在一种可能的实现方式中,第二网络开放功能网元接收终端设备的位置信息之前,还可以接收第一数据请求消息。该第一数据请求消息中可以包含第二事务号和第一信息中的至少一个,第一数据请求消息可以用于获取定位所需的数据。第二网络开放功能网元可以根据第二事务号和第一信息中的至少一个确定第一网络的标识,并向该第一网络发送第二 数据请求消息。这里的第二数据请求消息可以包含第一事务号、第一网络的标识、第二事务号和第一信息中的至少一个。In a possible implementation manner, the second network opening function network element may also receive the first data request message before receiving the location information of the terminal device. The first data request message may contain at least one of the second transaction number and the first information, and the first data request message may be used to obtain data required for positioning. The second network open function network element may determine the identity of the first network according to at least one of the second transaction number and the first information, and send the second data request message to the first network. The second data request message here may include at least one of the first transaction number, the identifier of the first network, the second transaction number, and the first information.
基于该方案,第二网络开放功能网元发可以根据第一事务号、第一网络的标识、第二事务号和第一信息中的至少一个,向第一网络开放功能网元请求定位所需的数据,用于实现对终端设备的定位,可以避免使用终端设备在第一网络中的标识,可以保护终端设备的隐私,可以提高第一网络的安全性。Based on this solution, the network element with the function of opening the second network can request the network element with the opening function of the first network for the location needed according to at least one of the first transaction number, the identifier of the first network, the second transaction number and the first information. The data is used to locate the terminal device, which can avoid using the identifier of the terminal device in the first network, protect the privacy of the terminal device, and improve the security of the first network.
在一种可能的实现方式中,第二网络开放功能网元可以根据第二事务号查找对应的第一网络的标识,并将终端设备的位置信息发送给第一网络的第一网络开放功能网元。In a possible implementation manner, the second network open function network element may search for the identifier of the corresponding first network according to the second transaction number, and send the location information of the terminal device to the first network open function network of the first network Yuan.
基于该方案,第二网络开放功能网元可以根据第二事务号标识第一网络的服务请求,可以根据该第二事务号实现与第一网络开放功能网元的通信。Based on this solution, the second network open function network element can identify the service request of the first network according to the second transaction number, and can implement communication with the first network open function network element according to the second transaction number.
第三方面,本申请实施例提供一种通信方法。该方法可以由第二网络的统一数据管理功能网元执行。该方法中,统一数据管理功能网元可以接收第一网络的标识。这里的第一网络的标识可以是第二网络中的第二网络开放功能发送的。In a third aspect, an embodiment of the present application provides a communication method. The method may be performed by a unified data management function network element of the second network. In this method, the unified data management function network element may receive the identifier of the first network. The identifier of the first network here may be sent by a second network opening function in the second network.
在一个示例中,该统一数据管理功能网元可以根据第一网络的标识,查看第一网络的签约数据。如果第一网络具有获取定位服务的权限,该统一数据管理功能网元可以为第一网络选择接入与移动管理功能网元。统一数据管理功能网元可以将该接入与移动管理功能网元的标识和/或地址发送给第二网络的网管移动位置中心。因此,网管移动位置中心可以向该接入与管理功能网元发送第二事务号,该接入与管理功能网元可以为第一网络选择第一位置管理功能网元。这里的第一位置管理功能网元可以用于确定第一网络的终端设备的位置信息。In an example, the unified data management function network element may check the subscription data of the first network according to the identifier of the first network. If the first network has the right to obtain the location service, the unified data management function network element may select the access and mobility management function network element for the first network. The unified data management function network element may send the identification and/or address of the access and mobility management function network element to the network management mobile location center of the second network. Therefore, the network management mobile location center can send the second transaction number to the access and management function network element, and the access and management function network element can select the first location management function network element for the first network. The first location management function network element here may be used to determine the location information of the terminal device of the first network.
另一示例中,该统一数据管理功能网元可以根据第一网络的标识,查看第一网络的签约数据。如果第一网络具有获取定位服务的权限,该统一数据管理功能网元可以为第一网络选择第一位置管理功能网元。该第一位置管理功能网元可以用于确定第一网络的终端设备的位置信息。In another example, the unified data management function network element may check the subscription data of the first network according to the identifier of the first network. If the first network has the right to obtain the location service, the unified data management function network element may select the first location management function network element for the first network. The first location management function network element may be used to determine location information of a terminal device of the first network.
基于该方案,统一数据管理功能网元可以根据外部网络的标识做权限认证,即可以根据外部网络的标识查看外部网络的签约数据,确定该外部网络是否具有获取定位服务的权限,统一数据管理功能网元不需要获取终端设备的标识以做权限认证,可以保证第一网络的终端设备的隐私,提高第一网络的安全性。Based on this solution, the network element of the unified data management function can perform authority authentication according to the identification of the external network, that is, it can check the contract data of the external network according to the identification of the external network, and determine whether the external network has the right to obtain the positioning service, and the unified data management function The network element does not need to acquire the identifier of the terminal device for authorization authentication, which can ensure the privacy of the terminal device of the first network and improve the security of the first network.
第四方面,本申请实施例提供一种通信方法。该方法可以由通信***执行。该方法中,第一网络开放功能网元可以接收用于请求终端设备的位置信息的位置请求消息。这里的终端设备和第一网络开放功能网元可以位于第一网络。所述第一网络开放功能网元可以向第二网络中的网元发送第一请求消息,该第一请求消息可以包含所述第一网络的标识。该第一请求消息用于请求所述第二网络确定所述终端设备的位置信息。所述第二网络中的网元可以确定所述第二网络中用于确定所述终端设备的位置信息的第一位置管理功能网元。所述第一位置管理功能网元可以确定所述终端设备的位置信息,并将所述终端设备的位置信息发送给第二网络开放功能网元。所述第二网络开放功能网元可以将所述位置信息发送给所述第一网络开放功能网元。In a fourth aspect, an embodiment of the present application provides a communication method. The method may be performed by a communication system. In this method, the first network opening function network element may receive a location request message for requesting location information of the terminal device. The terminal device and the first network open function network element here may be located in the first network. The first network opening function network element may send a first request message to the network element in the second network, where the first request message may include the identifier of the first network. The first request message is used to request the second network to determine the location information of the terminal device. The network element in the second network may determine the first location management function network element in the second network for determining the location information of the terminal device. The first location management function network element may determine the location information of the terminal device, and send the location information of the terminal device to the second network open function network element. The second network opening function network element may send the location information to the first network opening function network element.
在一种可能的实现方式中,所述第一网络开放功能网元接收所述位置请求消息之后, 可以根据所述位置请求消息生成第一事务号。该第一事务号可以用于标识所述终端设备的服务请求。上述第一请求消息中可以包含所述第一事务号。所述第二网络开放功能网元接收到所述第一请求消息之后,可以根据所述第一事务号和所述第一网络的标识,生成第二事务号。该第二事务号可以用于标识所述第一网络的服务请求。In a possible implementation manner, after receiving the location request message, the first network opening function network element may generate a first transaction number according to the location request message. The first transaction number may be used to identify the service request of the terminal device. The first request message may contain the first transaction number. After receiving the first request message, the second network opening function network element may generate a second transaction number according to the first transaction number and the identifier of the first network. The second transaction number may be used to identify the service request of the first network.
在一种可能的实现方式中,该第一请求消息中可以包含第一信息。这里的第一信息可以用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识。In a possible implementation manner, the first request message may contain first information. The first information here may be used to identify the terminal device, and the first information is different from the identification of the terminal device in the first network.
在一种可能的实现方式中,所述第二网络开放功能网元接收到所述第一请求消息之后,还可以向所述网关移动位置中心网元发送所述第二事务号和第一信息中的至少一个,以及所述第一网络的标识。该网关移动位置中心可以位于所述第二网络。所述网关移动位置中心网元可以向所述接入与移动管理功能网元发送所述第二事务号和所述第一信息中的至少一个。所述接入与移动管理功能网元可以位于所述第二网络。所述接入与移动管理功能网元可以根据所述第二事务号和所述第一信息中的至少一个选择所述第二网络中的所述第一位置管理功能网元。所述接入与管理功能网元可以生成第三请求消息,并向所述第一位置管理功能发送该第三请求消息。这里的第三请求消息可以用于请求所述第一位置管理功能网元确定所述终端设备的位置信息。In a possible implementation manner, after receiving the first request message, the second network opening function network element may also send the second transaction number and the first information to the gateway mobile location center network element At least one of , and the identifier of the first network. The gateway mobile location center may be located in the second network. The gateway mobile location center network element may send at least one of the second transaction number and the first information to the access and mobility management function network element. The access and mobility management function network element may be located in the second network. The access and mobility management function network element may select the first location management function network element in the second network according to at least one of the second transaction number and the first information. The access and management function network element may generate a third request message and send the third request message to the first location management function. The third request message here may be used to request the first location management function network element to determine the location information of the terminal device.
在一种可能的实现方式中,所述第二网络开放功能网元向所述网关移动位置中心网元发送所述第二事务号和第一信息中的至少一个,以及所述第一网络的标识之后,所述网关移动位置中心可以向所述统一数据管理功能网元发送所述第一网络的标识,该统一数据管理功能网元可以位于所述第二网络。所述统一数据管理功能网元可以根据所述第一网络的标识,查看所述第一网络的签约数据,并在确定所述第一网络具有获取定位服务权限时,可以为所述第一网络选择所述接入与移动管理功能网元。统一数据管理功能网元可以将选择的所述接入与移动管理功能网元的标识或地址发送给所述网关移动位置中心网元。所述网关移动位置中心网元可以根据所述标识或地址确定所述接入与移动管理功能网元,以及向所述接入与移动管理功能网元发送所述第二事务号。In a possible implementation manner, the second network opening function network element sends at least one of the second transaction number and the first information to the gateway mobile location center network element, and the first network After the identification, the gateway mobile location center may send the identification of the first network to the unified data management function network element, and the unified data management function network element may be located in the second network. The unified data management function network element can check the subscription data of the first network according to the identifier of the first network, and when it is determined that the first network has the right to obtain the location service, can be the first network Select the access and mobility management function network element. The unified data management function network element may send the selected identification or address of the access and mobility management function network element to the gateway mobile location center network element. The gateway mobile location center network element may determine the access and mobility management function network element according to the identifier or address, and send the second transaction number to the access and mobility management function network element.
在一种可能的实现方式中,所述第二网络开放功能网元接收到所述第一请求消息之后,可以向所述统一数据管理功能网元发送所述第一网络的标识。所述统一数据管理功能网元可以根据所述第一网络的标识,查看所述第一网络的签约数据,并在确定所述第一网络具有获取定位服务权限时,为所述第一网络选择所述第一位置管理功能网元。所述统一数据管理功能网元可以将选择的所述第一位置管理功能网元的标识或地址发送给所述第二网络开放功能网元。所述第二网络开放功能网元可以向所述第一位置管理功能网元发送第三请求消息。这里的第三请求消息可以用于请求所述第一位置管理功能网元确定所述终端设备的位置信息。In a possible implementation manner, after receiving the first request message, the second network opening function network element may send the identifier of the first network to the unified data management function network element. The unified data management function network element may check the subscription data of the first network according to the identifier of the first network, and select the first network for the first network when it is determined that the first network has the right to obtain the location service. the first location management function network element. The unified data management function network element may send the selected identifier or address of the first location management function network element to the second network open function network element. The second network opening function network element may send a third request message to the first location management function network element. The third request message here may be used to request the first location management function network element to determine the location information of the terminal device.
在一种可能的实现方式中,所述第一信息可以是从所述第一网络开放功能网元接收的;或者,所述第一信息也可以是所述第二网络开放功能网元根据所述第一网络的标识生成的。In a possible implementation manner, the first information may be received from the first network opening function network element; or, the first information may also be the second network opening function network element according to the generated from the identifier of the first network.
在一种可能的实现方式中,所述第一信息是设置值时,所述接入与移动管理功能网元可以根据所述第二事务号和所述第一信息选择所述第一位置管理功能网元。或者不同的终端设备的所述第一信息不同时,所述第一位置管理功能网元可以是根据所述第二事务号和所述第一信息中的至少一个确定的。或者所述第一信息包含所述终端设备所属的所述第一网络的标识,以及不同的终端设备的所述第一信息不同时,所述第一位置管理功能网元可以是根据所述第二事务号和所述第一信息中的至少一个确定的。In a possible implementation manner, when the first information is a setting value, the access and mobility management function network element may select the first location management function according to the second transaction number and the first information functional network element. Or when the first information of different terminal devices is different, the first location management function network element may be determined according to at least one of the second transaction number and the first information. Or the first information includes the identifier of the first network to which the terminal device belongs, and when the first information of different terminal devices is different, the first location management function network element may be based on the first information. Two transaction numbers and at least one of the first information are determined.
在一种可能的实现方式中,所述第一位置管理功能网元确定所述终端设备的位置信息之前,可以向所述第二网络开放功能网元发送第一数据请求消息。该第一数据请求消息可以包含所述第二事务号和第一信息中的至少一个,该第一数据请求消息可以用于获取定位所需的数据。所述第二网络开放功能网元可以根据所述第二事务号和第一信息中的至少一个确定所述第一网络的标识。所述第二网络开放功能网元可以向所述第一网络开放功能网元发送第二数据请求消息。该第二数据请求消息包含所述第一事务号、所述第一网络的标识、所述第二事务号和第一信息中的至少一个,该第二数据请求消息用于请求获取定位所需的数据。所述第一网络开放功能网元可以根据所述第二数据请求消息收集所述定位所需的数据,并向所述第二网络开放功能网元发送第二响应消息。这里的第二响应消息中可以包含收集到的所述定位所需的数据。所述第二网络开放功能网元可以将所述定位所需的数据发送给所述第一位置管理功能网元。所述第一位置管理功能网元可以根据所述定位所需的数据确定所述位置信息。In a possible implementation manner, before the first location management function network element determines the location information of the terminal device, a first data request message may be sent to the second network open function network element. The first data request message may contain at least one of the second transaction number and the first information, and the first data request message may be used to obtain data required for positioning. The second network opening function network element may determine the identifier of the first network according to at least one of the second transaction number and the first information. The second network opening function network element may send a second data request message to the first network opening function network element. The second data request message contains at least one of the first transaction number, the identifier of the first network, the second transaction number and the first information, and the second data request message is used to request to obtain the information required for positioning The data. The first network opening function network element may collect the data required for the positioning according to the second data request message, and send a second response message to the second network opening function network element. The second response message here may include the collected data required for the positioning. The second network opening function network element may send the data required for the positioning to the first location management function network element. The first location management function network element may determine the location information according to the data required for the positioning.
在一种可能的实现方式中,所述第二网络开放功能网元可以根据所述第二事务号查找对应的第一网络的标识。所述第二网络开放功能网元可以向所述第一网络开放功能网元发送第一响应消息。这里的第一响应消息中包含所述位置信息。所述第一网络开放功能网元可以根据所述第一事务号、所述第二事务号和所述第一信息中的至少一个,确定所述终端设备在所述第一网络中的标识。所述第一网络开放功能网元可以根据所述终端设备在所述第一网络中的标识发送位置请求响应,该位置请求响应中包括所述位置信息。In a possible implementation manner, the second network opening function network element may search for the identifier of the corresponding first network according to the second transaction number. The second network opening function network element may send a first response message to the first network opening function network element. The location information is included in the first response message here. The first network opening function network element may determine the identifier of the terminal device in the first network according to at least one of the first transaction number, the second transaction number and the first information. The first network opening function network element may send a location request response according to the identifier of the terminal device in the first network, where the location request response includes the location information.
在一种可能的实现方式中,所述第一网络可以是非公共网络,所述第二网络可以是公共网络或公共陆地移动网络。In a possible implementation manner, the first network may be a non-public network, and the second network may be a public network or a public land mobile network.
第五方面,本申请实施例提供一种通信***。该***中可以包含第一网络和第二网络。该第一网络中可以包括第一网络开放功能网元,第二网络可以包括第二网络开放功能网元和至少一个位置管理功能网元。In a fifth aspect, an embodiment of the present application provides a communication system. The system may include a first network and a second network. The first network may include a first network open function network element, and the second network may include a second network open function network element and at least one location management function network element.
其中,第一网络开放功能网元可以用于接收请求终端设备的位置信息的位置请求消息。该终端设备位于第一网络。第一网络开放功能网元还可以用于向第二网络开放功能网元发送第一请求消息,该第一请求消息中可以包括第一网络的标识,该第一请求消息可以用于请求第二网络确定终端设备的位置信息。第二网络中的网元可以用于确定第二网络中用于确定终端设备的位置信息的第一位置管理功能网元。第一位置管理功能网元可以用于确定终端设备的位置信息,并将位置信息发送给第二网络开放功能网元。第二网络开放功能网元可以用于接收该位置信息,并将位置信息发送给第一网络开放功能网元。The first network opening function network element may be configured to receive a location request message requesting location information of the terminal device. The terminal device is located in the first network. The first network opening function network element may also be used to send a first request message to the second network opening function network element, where the first request message may include the identifier of the first network, and the first request message may be used to request the second network opening function network element. The network determines the location information of the terminal device. The network element in the second network may be used to determine the first location management function network element in the second network for determining the location information of the terminal device. The first location management function network element may be used to determine the location information of the terminal device, and send the location information to the second network open function network element. The second network opening function network element may be configured to receive the location information, and send the location information to the first network opening function network element.
在一种可能的实现方式中,第一网络开放功能网元在接收到位置请求消息后,还可以用于根据位置请求消息生成第一事务号。该第一事务号用于标识终端设备的服务请求,该第一请求消息中也可以包含第一事务号。第二网络开放功能网元还可以用于在接收第一请求消息后,根据第一事务号和第一网络的标识,生成第二事务号。该第二事务号可以用于标识第一网络的服务请求。In a possible implementation manner, after receiving the location request message, the first network opening function network element may be further configured to generate the first transaction number according to the location request message. The first transaction number is used to identify the service request of the terminal device, and the first request message may also contain the first transaction number. The second network opening function network element may also be configured to generate the second transaction number according to the first transaction number and the identifier of the first network after receiving the first request message. The second transaction number may be used to identify the service request of the first network.
在一种可能的实现方式中,第二网络还可以包括网关移动位置中心网元和接入移动管理功能网元。其中,在第一位置管理功能网元确定终端设备的位置信息之前,第二网络开放功能网元还可以用于在接收到第一请求消息之后,向网关移动位置中心发送第二事务号和第一信息中的至少一个,以及第一网络的标识。这里的第一信息可以用于标识终端设备,该第一信息可以不同于终端设备在第一网络中的标识。网关移动位置中心网元可以用于向 接入与移动管理功能网元发送第二事务号和第一信息中的至少一个。接入与移动管理功能网元可以用于生成第三请求消息,该第三请求消息可以用于请求第一位置管理功能网元确定终端设备的位置信息。该接入与移动管理功能网元还可以用于根据所述第二事务号和所述第一信息中的至少一个选择所述第一位置管理功能网元。所述接入与移动管理功能网元还可以用于向所述第一位置管理功能网元发送所述第三请求消息。In a possible implementation manner, the second network may further include a gateway mobile location center network element and an access mobility management function network element. Wherein, before the first location management function network element determines the location information of the terminal device, the second network open function network element may also be used to send the second transaction number and the first request message to the gateway mobile location center after receiving the first request message. At least one of a piece of information, and an identification of the first network. The first information here may be used to identify the terminal device, and the first information may be different from the identification of the terminal device in the first network. The gateway mobile location center network element may be configured to send at least one of the second transaction number and the first information to the access and mobility management function network element. The access and mobility management function network element may be used to generate a third request message, and the third request message may be used to request the first location management function network element to determine the location information of the terminal device. The access and mobility management function network element may also be configured to select the first location management function network element according to at least one of the second transaction number and the first information. The access and mobility management function network element may also be configured to send the third request message to the first location management function network element.
在一种可能的实现方式中,第二网络还可以包括统一数据管理功能网元。网关移动位置中心还可以用于在接收到第二事务号和第一网络标识后,向统一数据管理功能网元发送第一网络的标识。统一数据管理功能网元可以用于根据第一网络的标识,查看第一网络的签约数据,确定该第一网络具有获取定位服务权限时,为第一网络选择接入与移动管理功能网元,并将选择的接入与管理功能网元的标识或地址发送给该网关移动位置中心网元。网关移动位置中心网元还可以用于根据该标识或地址确定接入与移动管理功能网元,向接入与管理功能网元发送第二事务号。In a possible implementation manner, the second network may further include a unified data management function network element. The gateway mobile location center may also be configured to send the identifier of the first network to the unified data management function network element after receiving the second transaction number and the identifier of the first network. The unified data management function network element can be used to check the subscription data of the first network according to the identifier of the first network, and when it is determined that the first network has the right to obtain the location service, select the access and mobility management function network element for the first network, and send the identifier or address of the selected access and management function network element to the gateway mobile location center network element. The gateway mobile location center network element may also be configured to determine the access and mobility management function network element according to the identifier or address, and send the second transaction number to the access and management function network element.
在一种可能的实现方式中,第二网络还可以包括统一数据管理功能网元。第二网络开放功能网元在接收第一网络开放功能网元发送的第一请求消息之后,还可以用于向统一数据管理功能网元发送第一网络的标识。该统一数据管理功能网元可以用于根据第一网络的标识,查看第一网络的签约数据确定第一网络具有获取定位服务权限时,为第一网络选择第一位置管理功能网元。统一数据管理功能网元还可以用以将选择的第一位置管理功能网元的标识或地址发送给第二网络开饭功能网元。第二网络开放功能网元还可以用于向第一位置管理功能网元发送第三请求消息,该第三请求消息可以用于请求第一位置管理功能网元确定终端设备的位置信息。In a possible implementation manner, the second network may further include a unified data management function network element. After receiving the first request message sent by the first network opening function network element, the second network opening function network element may be further configured to send the identifier of the first network to the unified data management function network element. The unified data management function network element may be configured to select the first location management function network element for the first network when it is determined that the first network has the right to obtain the location service by checking the subscription data of the first network according to the identifier of the first network. The unified data management function network element may also be used to send the selected identifier or address of the first location management function network element to the second network meal-preparing function network element. The second network opening function network element may also be configured to send a third request message to the first location management function network element, where the third request message may be used to request the first location management function network element to determine the location information of the terminal device.
在一种可能的实现方式中,第一信息可以是从第一网络开放功能网元接收的,或者第一信息还可以是第二网络开放功能网元根据第一网络的标识生成的。In a possible implementation manner, the first information may be received from the first network opening function network element, or the first information may also be generated by the second network opening function network element according to the identifier of the first network.
在一种可能的实现方式中,所述第一信息是设置值时,所述第一位置管理功能网元是根据所述第二事务号和所述第一信息确定的;或者不同的终端设备的所述第一信息不同时,所述第一位置管理功能网元可以是根据所述第二事务号和所述第一信息中的至少一个确定的;或者所述第一信息包含所述终端设备所属的所述第一网络的标识,以及不同的终端设备的所述第一信息不同时,所述第一位置管理功能网元可以是根据所述第二事务号和所述第一信息中的至少一个确定的。In a possible implementation manner, when the first information is a setting value, the first location management function network element is determined according to the second transaction number and the first information; or different terminal equipment When the first information is different, the first location management function network element may be determined according to at least one of the second transaction number and the first information; or the first information includes the terminal When the identifier of the first network to which the device belongs and the first information of different terminal devices are different, the first location management function network element may be based on the second transaction number and the first information. at least one of the identified.
在一种可能的实现方式中,第一位置管理功能网元在确定位置信息之前,还可以用于向第二网络开放功能网元发送第一数据请求消息。该第一数据请求消息中可以包含事务号和第一信息中的至少一个,该第一数据请求消息可以用于请求获取定位所需的数据。第二网络开放功能网元还可以用于接收该第一数据请求消息,并根据第二事务号和第一信息中的至少一个确定第一网络的标识,并向第一网络开放功能网元发送第二数据请求消息。该第二数据请求消息包含第一事务号、第一网络的标识、第二事务号和第一信息中的至少一个,第二数据请求消息可以用于请求获取定位所需的数据。第一网络开放功能网元还可以用于根据第二数据请求消息收集定位所需的数据,并向第二网络开放功能网元发送第二响应消息。这里的第二响应消息可以包含收集到的所述定位所需的数据。第二网络开放功能网元发还可以用于将定位所需的数据发送给第一位置管理功能网元,第一位置管理功能网元还可以用于根据该定位所需的数据确定终端设备的位置信息。In a possible implementation manner, before determining the location information, the first location management function network element may also be configured to send the first data request message to the second network open function network element. The first data request message may contain at least one of a transaction number and first information, and the first data request message may be used to request data required for positioning. The second network open function network element may also be configured to receive the first data request message, determine the identifier of the first network according to at least one of the second transaction number and the first information, and send the first network open function network element The second data request message. The second data request message contains at least one of the first transaction number, the identifier of the first network, the second transaction number and the first information, and the second data request message can be used to request to obtain data required for positioning. The first network opening function network element may also be configured to collect data required for positioning according to the second data request message, and send a second response message to the second network opening function network element. The second response message here may contain the collected data required for the positioning. The second network opening function network element can also be used to send the data required for positioning to the first location management function network element, and the first location management function network element can also be used to determine the terminal equipment according to the data required for positioning. location information.
在一种可能的实现方式中,第二网络开放功能网元还可以用于根据第二事务号确定第 一网络的标识。第二网络开放功能网元还可以用于向所述第一网络的第一网络开放功能网元发送第一响应消息。该第一响应消息中可以包含位置信息。第一网络开放功能网元还可以用于根据第一事务号、第二事务号和第一信息中的至少一个,确定终端设备在第一网络中的标识。第一网络开放功能网元还可以用于根据终端设备在第一网络中的标识发送位置请求响应,该位置请求响应中可以包括终端设备的位置信息。In a possible implementation manner, the second network opening function network element may also be used to determine the identifier of the first network according to the second transaction number. The second network opening function network element may also be configured to send a first response message to the first network opening function network element of the first network. The first response message may contain location information. The first network opening function network element may also be configured to determine the identification of the terminal device in the first network according to at least one of the first transaction number, the second transaction number and the first information. The first network opening function network element may also be configured to send a location request response according to the identification of the terminal device in the first network, where the location request response may include location information of the terminal device.
第六方面,提供了一种通信装置,通信装置可以包括用于执行第一方面或第一方面任一种可能实现方式中的各个模块/单元。比如,通信单元和处理单元。In a sixth aspect, a communication apparatus is provided, and the communication apparatus may include various modules/units for executing the first aspect or any possible implementation manner of the first aspect. For example, the communication unit and the processing unit.
在一种设计中,所述处理单元用于通过所述通信单元接收用于请求终端设备的位置信息的位置请求消息;所述终端设备位于所述第一网络;所述处理单元还用于通过所述通信单元还用于向第二网络的第二网络开放功能网元发送第一请求消息;所述第一请求消息包含所述第一网络的标识;所述第一请求消息用于请求所述第二网络确定所述终端设备的位置信息;所述处理单元还用于通过所述通信单元接收所述第二网络开放功能网元发送的所述终端设备的位置信息;所述处理单元还用于将所述终端设备的位置信息携带在与所述位置请求消息对应的位置请求响应中,并通过所述通信单元发送所述位置请求响应。In one design, the processing unit is configured to receive, through the communication unit, a location request message for requesting the location information of the terminal device; the terminal device is located in the first network; the processing unit is further configured to use The communication unit is further configured to send a first request message to the second network open function network element of the second network; the first request message includes the identifier of the first network; the first request message is used to request all The second network determines the location information of the terminal device; the processing unit is further configured to receive, through the communication unit, the location information of the terminal device sent by the second network open function network element; the processing unit is further It is used to carry the location information of the terminal device in the location request response corresponding to the location request message, and send the location request response through the communication unit.
在一种设计中,所述处理单元在通过所述通信单元接收所述位置请求消息之后,还用于根据所述位置请求消息生成第一事务号;所述第一事务号用于标识所述终端设备的服务请求。所述处理单元通过所述通信单元向所述第二网络开放功能网元发送第一请求消息时,可以具体用于向所述第二网络开放功能网元发送携带所述第一网络的标识和所述第一事务号的第一请求消息。In one design, after receiving the location request message through the communication unit, the processing unit is further configured to generate a first transaction number according to the location request message; the first transaction number is used to identify the Service requests from end devices. When the processing unit sends the first request message to the second network opening function network element through the communication unit, it may be specifically configured to send the identifier and the identifier carrying the first network to the second network opening function network element. The first request message of the first transaction number.
在一种设计中,所述第一请求消息中包含第一信息;所述第一信息用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识。In one design, the first request message includes first information; the first information is used to identify the terminal device, and the first information is different from the information of the terminal device in the first network. logo.
在一种设计中,所述第一信息是设置值;或者,不同的终端设备的所述第一信息不同;或者,所述第一信息包含所述第一网络的标识,以及不同的终端设备的所述第一信息不同。In one design, the first information is a setting value; or, the first information of different terminal devices is different; or, the first information includes an identifier of the first network and different terminal devices The first information is different.
在一种设计中,所述处理单元将所述终端设备的位置信息携带在所述位置请求消息的位置请求响应中,并通过所述通信单元发送所述位置请求响应时,具体用于:通过所述通信单元从所述第二网络开放功能网元接收所述第一请求消息的第一响应消息;所述第一响应消息中包含所述位置信息。所述处理单元具体用于根据所述第一网络的标识、所述第一事务号、第二事务号和第一信息中的至少一个,确定所述终端设备在所述第一网络中的标识。所述第二事务号用于标识所述第一网络的服务请求;所述第一信息用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识。所述处理单元具体用于根据所述终端设备在所述第一网络中的标识,通过所述通信单元发送所述位置请求响应;所述位置请求响应中包括所述位置信息。In one design, when the processing unit carries the location information of the terminal device in the location request response of the location request message, and sends the location request response through the communication unit, it is specifically used for: The communication unit receives a first response message of the first request message from the second network opening function network element; the first response message includes the location information. The processing unit is specifically configured to determine the identification of the terminal device in the first network according to at least one of the identification of the first network, the first transaction number, the second transaction number and the first information . The second transaction number is used to identify the service request of the first network; the first information is used to identify the terminal device, and the first information is different from the terminal device in the first network. logo. The processing unit is specifically configured to send the location request response through the communication unit according to the identification of the terminal device in the first network; the location request response includes the location information.
在一种设计中,所述处理单元通过所述通信单元向第二网络的第二网络开放功能网元发送第一请求消息之后,还用于通过所述通信单元接收所述第二网络开放功能网元发送的第二数据请求消息,所述第二数据请求消息包括所述第一事务号、所述第一网络的标识、第二事务号和第一信息中的至少一个;所述第二数据请求消息用于请求获取定位所需的数据,所述第二事务号用于标识所述第一网络的服务请求;所述第一信息用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识。所述处理单元还用于通过所述通信单元向所述第二网络开放功能网元发送第二响应消息;所述第二响应消息包括所述定位所需的数据。In one design, after the processing unit sends the first request message to the second network opening function network element of the second network through the communication unit, the processing unit is further configured to receive the second network opening function through the communication unit The second data request message sent by the network element, the second data request message includes at least one of the first transaction number, the identifier of the first network, the second transaction number and the first information; the second data request message The data request message is used to request to obtain the data required for positioning, the second transaction number is used to identify the service request of the first network; the first information is used to identify the terminal device, and the first information is different based on the identification of the terminal device in the first network. The processing unit is further configured to send a second response message to the second network open function network element through the communication unit; the second response message includes the data required for the positioning.
在一种设计中,所述装置还包括存储单元。所述存储单元可以用于存储所述第一网络的标识、所述第一事务号、所述终端设备在所述第一网络的标识、所述第一信息和所述第二事务号中的至少两个的关联关系。In one design, the apparatus further includes a storage unit. The storage unit may be used to store the identifier of the first network, the first transaction number, the identifier of the terminal device in the first network, the first information and the second transaction number. at least two associations.
第七方面,提供了一种通信装置,通信装置可以包括用于执行第二方面或第二方面任一种可能实现方式中的各个模块/单元。比如,通信单元和处理单元。In a seventh aspect, a communication apparatus is provided, and the communication apparatus may include various modules/units for executing the second aspect or any possible implementation manner of the second aspect. For example, the communication unit and the processing unit.
所述处理单元用于通过所述通信单元接收来自第一网络的第一网络开放功能网元的第一请求消息;所述第一请求消息包含所述第一网络的标识;所述第一请求消息用于请求所述第二网络确定终端设备的位置信息;所述终端设备位于所述第一网络。所述处理单元还用于通过所述通信单元接收所述第二网络的第一位置管理功能网元确定的所述位置信息。所述处理单元还用于通过所述通信单元将所述位置信息发送给所述第一网络开放功能网元。The processing unit is configured to receive, through the communication unit, a first request message from a first network opening function network element of the first network; the first request message includes an identifier of the first network; the first request The message is used to request the second network to determine the location information of the terminal device; the terminal device is located in the first network. The processing unit is further configured to receive, through the communication unit, the location information determined by the first location management function network element of the second network. The processing unit is further configured to send the location information to the first network open function network element through the communication unit.
在一种设计中,所述第一请求消息中还包含第一事务号;所述第一事务号用于标识所述终端设备的服务请求。所述处理单元还用于根据所述第一事务号和所述第一网络的标识,生成第二事务号;所述第二事务号用于标识所述第一网络的服务请求。In one design, the first request message further includes a first transaction number; the first transaction number is used to identify the service request of the terminal device. The processing unit is further configured to generate a second transaction number according to the first transaction number and the identifier of the first network; the second transaction number is used to identify a service request of the first network.
在一种设计中,所述处理单元在通过所述通信单元接收第一网络的第一网络开放功能网元发送的第一请求消息之后,还用于通过所述通信单元向所述第二网络的网关移动位置中心网元发送第二事务号和第一信息中的至少一个,以及所述第一网络的标识,使所述网关移动位置中心网元通过所述第二网络的接入与移动管理功能网元向所述第二网络的第一位置管理功能网元发送第三请求消息;所述第三请求消息用于请求所述第一位置管理功能网元确定所述终端设备的位置信息;所述第一位置管理功能网元是所述接入与移动管理功能网元根据所述第二事务号和第一信息中的至少一个选择的;所述第一信息用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识。In one design, after the processing unit receives the first request message sent by the first network open function network element of the first network through the communication unit, the processing unit is further configured to send a message to the second network through the communication unit The gateway mobile location center network element sends at least one of the second transaction number and the first information, and the identifier of the first network, so that the gateway mobile location center network element can access and move through the second network. The management function network element sends a third request message to the first location management function network element of the second network; the third request message is used to request the first location management function network element to determine the location information of the terminal device ; the first location management function network element is selected by the access and mobility management function network element according to at least one of the second transaction number and the first information; the first information is used to identify the terminal equipment, the first information is different from the identification of the terminal equipment in the first network.
在一种设计中,所述处理单元还用于通过所述通信单元从所述第二网络的统一数据管理功能网元接收所述第二网络的第一位置管理功能网元的标识或地址。所述处理单元还用于根据所述标识或地址确定所述第一位置管理功能网元。所述处理单元在通过所述通信单元接收第一网络的第一网络开放功能网元发送的第一请求消息之后,还用于通过所述通信单元向所述第一位置管理功能网元发送第三请求消息;所述第三请求消息用于请求所述第一位置管理功能网元确定所述终端设备的位置信息。In one design, the processing unit is further configured to receive, through the communication unit, the identifier or address of the first location management function network element of the second network from the unified data management function network element of the second network. The processing unit is further configured to determine the first location management function network element according to the identifier or address. After receiving the first request message sent by the first network opening function network element of the first network through the communication unit, the processing unit is further configured to send the first request message to the first location management function network element through the communication unit. Three request messages; the third request message is used to request the first location management function network element to determine the location information of the terminal device.
在一种设计中,所述第一位置管理功能网元是所述第二网络的统一数据管理功能网元根据所述第一网络的标识查看所述第一网络的签约数据,确定所述第一网络具有获取定位服务权限时选择的。In one design, the first location management function network element is a unified data management function network element of the second network that checks the subscription data of the first network according to the identifier of the first network, and determines the first network element. Selected when a network has access to location services.
在一种设计中,所述第一信息是从所述第一网络开放功能网元接收的;或者,所述第一信息是所述第二网络开放功能网元根据所述第一网络的标识生成的。In one design, the first information is received from the first network open function network element; or, the first information is an identification of the second network open function network element according to the first network Generated.
在一种设计中,所述第一信息是设置值时,所述第一位置管理功能网元是根据所述第二事务号和所述第一信息确定的;或者不同的终端设备的所述第一信息不同时,所述第一位置管理功能网元是根据所述第二事务号和所述第一信息中的至少一个确定的;或者所述第一信息包含所述终端设备所属的所述第一网络的标识,以及不同的终端设备的所述第一信息不同时,所述第一位置管理功能网元是根据所述第二事务号和所述第一信息中的至少一个确定的。In a design, when the first information is a set value, the first location management function network element is determined according to the second transaction number and the first information; or the When the first information is different, the first location management function network element is determined according to at least one of the second transaction number and the first information; or the first information includes the location to which the terminal device belongs. When the identifier of the first network and the first information of different terminal devices are different, the first location management function network element is determined according to at least one of the second transaction number and the first information .
在一种设计中,所述处理单元在通过所述通信单元接收所述终端设备的位置信息之前, 还用于通过所述通信单元接收第一数据请求消息,所述第一数据请求消息包含所述第二事务号和第一信息中的至少一个,所述第一数据请求消息用于获取定位所需的数据。所述处理单元还用于根据所述第二事务号和第一信息中的至少一个确定所述第一网络的标识,并通过所述通信单元向所述第一网络的所述第一网络开放功能网元发送第二数据请求消息;所述第二数据请求消息包含所述第一事务号、所述第一网络的标识、所述第二事务号和所述第一信息中的至少一个。In one design, before receiving the location information of the terminal device through the communication unit, the processing unit is further configured to receive, through the communication unit, a first data request message, where the first data request message includes the at least one of the second transaction number and the first information, and the first data request message is used to obtain data required for positioning. The processing unit is further configured to determine the identity of the first network according to at least one of the second transaction number and the first information, and open to the first network of the first network through the communication unit The functional network element sends a second data request message; the second data request message includes at least one of the first transaction number, the identifier of the first network, the second transaction number and the first information.
在一种设计中,所述处理单元在通过所述通信单元将所述位置信息发送给所述第一网络开放功能网元时,具体用于:根据所述第二事务号查找对应的第一网络的标识,并通过所述通信单元将所述位置信息发送给所述第一网络的所述第一网络开放功能网元。In one design, when the processing unit sends the location information to the first network open function network element through the communication unit, it is specifically configured to: search for the corresponding first network element according to the second transaction number The identifier of the network is sent, and the location information is sent to the first network open function network element of the first network through the communication unit.
第八方面,提供了一种通信装置,通信装置可以包括用于执行第三方面或第三方面任一种可能实现方式中的各个模块/单元。比如,通信单元和处理单元。In an eighth aspect, a communication apparatus is provided, and the communication apparatus may include various modules/units for executing the third aspect or any possible implementation manner of the third aspect. For example, the communication unit and the processing unit.
所述通信单元用于接收第一网络的标识;所述统一数据管理功能网元位于第二网络;The communication unit is configured to receive the identifier of the first network; the unified data management function network element is located in the second network;
所述处理单元用于根据所述第一网络的标识,查看所述第一网络的签约数据。并在确定所述第一网络具有获取定位服务权限时,为所述第一网络选择接入与移动管理功能网元。这里的接入与移动管理功能网元可以用于向第一位置管理功能网元请求所述第一网络中的终端设备的位置信息;所述第一位置管理功能网元用于确定所述终端设备的位置信息;所述接入与移动管理功能网元和所述第一位置管理功能网元位于第二网络。The processing unit is configured to check the subscription data of the first network according to the identifier of the first network. and selecting an access and mobility management function network element for the first network when it is determined that the first network has the right to obtain the location service. The access and mobility management function network element here may be used to request the first location management function network element for the location information of the terminal equipment in the first network; the first location management function network element is used to determine the terminal equipment location information of the device; the access and mobility management function network element and the first location management function network element are located in the second network.
或者,所述处理单元用于根据所述第一网络的标识,查看所述第一网络的签约数据。并在确定所述第一网络具有获取定位服务权限时,为所述第一网络选择第一位置管理功能网元;所述第一位置管理功能网元用于确定所述第一网络中的终端设备的位置信息;所述第一位置管理功能网元位于第二网络。Alternatively, the processing unit is configured to check the subscription data of the first network according to the identifier of the first network. and selecting a first location management function network element for the first network when it is determined that the first network has the right to obtain the location service; the first location management function network element is used to determine the terminal in the first network The location information of the device; the first location management function network element is located in the second network.
第九方面,提供了一种通信装置,通信装置包括处理器和存储器。存储器用于存储计算机执行指令,控制器运行时,处理器执行存储器中的计算机执行指令以利用控制器中的硬件资源执行第一方面或第一方面任一种可能实现方式中方法的操作步骤,或者执行第二方面或第二方面任一种可能实现方式中方法的操作步骤,或者执行第三方面或第三方面任一种可能实现方式中方法的操作步骤。In a ninth aspect, a communication apparatus is provided, the communication apparatus includes a processor and a memory. The memory is used to store computer-executed instructions, and when the controller is running, the processor executes the computer-executed instructions in the memory to utilize hardware resources in the controller to perform the operation steps of the method in the first aspect or any possible implementation manner of the first aspect, Alternatively, the operation steps of the method in the second aspect or any possible implementation manner of the second aspect are performed, or the operation steps of the method in the third aspect or any possible implementation manner of the third aspect are performed.
第十方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面的方法。In a tenth aspect, the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, which, when executed on a computer, cause the computer to execute the methods of the above aspects.
第十一方面,本申请提供了一种存储指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面的方法。In an eleventh aspect, the present application provides a computer program product storing instructions that, when executed on a computer, cause the computer to perform the methods of the above aspects.
另外,上述第四方面至第十一方面的有益效果可以案件如第一方面和第三方面所示的有益效果。In addition, the above-mentioned advantageous effects of the fourth to eleventh aspects can be combined with the advantageous effects shown in the first and third aspects.
附图说明Description of drawings
图1为本申请实施例提供的通信***示意图之一;FIG. 1 is one of the schematic diagrams of a communication system provided by an embodiment of the present application;
图2为本申请实施例提供的通信***示意图之一;FIG. 2 is one of the schematic diagrams of the communication system provided by the embodiment of the present application;
图3为本申请实施例提供的通信***示意图之一;FIG. 3 is one of the schematic diagrams of the communication system provided by the embodiment of the present application;
图4为本申请实施例提供的一种接入网设备的结构示意图之一;FIG. 4 is one of the schematic structural diagrams of an access network device according to an embodiment of the present application;
图5为本申请实施例提供的一种接入网设备的结构示意图之一;FIG. 5 is one of the schematic structural diagrams of an access network device according to an embodiment of the present application;
图6为本申请实施例提供的一种接入网设备的结构示意图之一;FIG. 6 is one of the schematic structural diagrams of an access network device according to an embodiment of the present application;
图7为本申请实施例提供的通信方法的示例性流程图之一;FIG. 7 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application;
图8为本申请实施例提供的通信方法的示例性流程图之一;FIG. 8 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application;
图9为本申请实施例提供的通信方法的示例性流程图之一;FIG. 9 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application;
图10为本申请实施例提供的通信方法的示例性流程图之一;FIG. 10 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application;
图11为本申请实施例提供的通信方法的示例性流程图之一;FIG. 11 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application;
图12为本申请实施例提供的通信方法的示例性流程图之一;FIG. 12 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application;
图13为本申请实施例提供的通信方法的示例性流程图之一;FIG. 13 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application;
图14为本申请实施例提供的通信方法的示例性流程图之一;FIG. 14 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application;
图15为本申请实施例提供的通信方法的示例性流程图之一;FIG. 15 is one of the exemplary flowcharts of the communication method provided by the embodiment of the present application;
图16为本申请实施例提供的通信装置示意图之一;FIG. 16 is one of schematic diagrams of a communication device provided by an embodiment of the present application;
图17为本申请实施例提供的通信装置示意图之一;FIG. 17 is one of schematic diagrams of a communication device provided by an embodiment of the present application;
图18为本申请实施例提供的通信装置示意图之一。FIG. 18 is one of schematic diagrams of a communication apparatus provided by an embodiment of the present application.
具体实施方式detailed description
以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some terms in the embodiments of the present application will be explained, so as to facilitate the understanding of those skilled in the art.
1)公网,日常生活中为终端设备提供网络服务的一般是公网。公网,即公共陆地移动网络(public land mobile network,PLMN),由政府或它所批准的经营者,为公众提供陆地移动通信业务目的而建立和经营的网络。该网络通常与公众交换电话网络(public switched telephone network,PSTN)互连,形成整个地区或国家规模的通信网。1) Public network. In daily life, it is generally the public network that provides network services for terminal devices. The public network, namely the public land mobile network (PLMN), is a network established and operated by the government or its approved operators for the purpose of providing land mobile communication services to the public. This network is usually interconnected with the public switched telephone network (PSTN) to form a communications network on a regional or national scale.
2)私网,除了公网,出于某些目的,运营商或者私人也会搭建一些私网(non-public networks,NPN)来满足用户的需求。私网也可以被称作非公网络,是指对特定用户开放的网络,例如公司、学校或者工厂搭建的内部网络。未与私网签约的终端设备不允许接入私网。2) Private network, in addition to the public network, for some purposes, operators or private individuals will also build some private networks (non-public networks, NPN) to meet the needs of users. A private network can also be called a non-public network, which refers to a network open to specific users, such as an internal network built by a company, school, or factory. Terminal devices that are not subscribed to the private network are not allowed to access the private network.
3)本申请实施例中的术语“***”和“网络”可被互换使用。“多个”是指两个或两个以上,其它量词与之类似。“和/或”描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。此外,对于单数形式“a”,“an”和“the”出现的元素(element),除非上下文另有明确规定,否则其不意味着“一个或仅一个”,而是意味着“一个或多于一个”。例如,“a device”意味着对一个或多个这样的device。再者,至少一个(at least one of).......”意味着后续关联对象中的一个或任意组合,例如“A,B和C中的至少一个”包括A,B,C,AB,AC,BC,或ABC。3) The terms "system" and "network" in the embodiments of this application may be used interchangeably. "Plurality" means two or more, and other quantifiers are similar. "And/or" describes the association relationship between associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. Furthermore, occurrences of the singular forms "a", "an" and "the" do not mean "one or only one" unless the context clearly dictates otherwise, but rather "one or more" in one". For example, "a device" means to one or more such devices. Furthermore, at least one (at least one of)...." means one or any combination of subsequent associated objects, for example "at least one of A, B and C" includes A, B, C, AB, AC, BC, or ABC.
本申请实施例的技术方案可以应用于各种通信***,例如:长期演进(long term evolution,LTE)***,全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信***,第五代(5th Generation,5G)***,如新一代无线接入技术(new radio access technology,NR),及未来的通信***,如6G***等。The technical solutions in the embodiments of the present application can be applied to various communication systems, for example: long term evolution (LTE) system, worldwide interoperability for microwave access (WiMAX) communication system, fifth generation (5th generation (5th generation) Generation, 5G) systems, such as new generation radio access technology (NR), and future communication systems, such as 6G systems.
本申请将围绕可包括多个设备、组件、模块等的***来呈现各个方面、实施例或特征。应当理解和明白的是,各个***可以包括另外的设备、组件、模块等,并且/或者可以并不包括结合附图讨论的所有设备、组件、模块等。此外,还可以使用这些方案的组合。This application will present various aspects, embodiments, or features around a system that may include a plurality of devices, components, modules, and the like. It is to be understood and appreciated that the various systems may include additional devices, components, modules, etc., and/or may not include all of the devices, components, modules, etc. discussed in connection with the figures. In addition, combinations of these schemes can also be used.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术 问题,同样适用。The network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. The evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
以下介绍本申请实施例提供的通信方法适用的场景。如图1所示,该场景中可以包括终端设备101、第一网络102和第二网络103。这里的第一网络102可以是非公共网络,第二网络103可以是公共网络或者公共陆地移动网络。其中,终端设备101位于第一网络102中,在需要对终端设备101进行定位时,第一网络102可以向第二网络103发送请求消息,请求第二网络103提供定位服务,确定终端设备101的位置信息。第二网络103可以在确定终端设备101的位置信息之后,将该位置信息发送给第一网络101。The following describes the applicable scenarios of the communication method provided by the embodiment of the present application. As shown in FIG. 1 , the scenario may include a terminal device 101 , a first network 102 and a second network 103 . The first network 102 here may be a non-public network, and the second network 103 may be a public network or a public land mobile network. The terminal device 101 is located in the first network 102. When the terminal device 101 needs to be located, the first network 102 can send a request message to the second network 103 to request the second network 103 to provide a positioning service and determine the location of the terminal device 101. location information. The second network 103 may send the location information to the first network 101 after determining the location information of the terminal device 101 .
以下介绍图1中的第一网络102和第二网络103的架构,可以包括两种情况。The following describes the architectures of the first network 102 and the second network 103 in FIG. 1 , which may include two situations.
情况1:Case 1:
如图2所示,第一网络102中可以包括网络开放功能(network exposure function,NEF)网元,接入与移动管理功能(access and mobility management,AMF)网元、接入网(access network,AN)设备、应用功能网元(application function,AF)网元、用户面功能(user plane function,UPF)网元和会话管理功能网元(session management function,SMF)网元。其中,AMF可以接收用于获取终端设备的位置信息的请求消息,并向NEF发送请求消息以告知NEF需要向第二网络103获取定位服务。终端设备101可以位于第一网络102中,由第一网络102为终端设备101提供通信服务。As shown in FIG. 2, the first network 102 may include a network exposure function (NEF) network element, an access and mobility management function (access and mobility management, AMF) network element, an access network (access network, AN) equipment, application function (AF) network element, user plane function (user plane function, UPF) network element and session management function (session management function, SMF) network element. The AMF may receive a request message for acquiring the location information of the terminal device, and send the request message to the NEF to inform the NEF that the location service needs to be acquired from the second network 103 . The terminal device 101 may be located in the first network 102, and the first network 102 provides the terminal device 101 with a communication service.
第二网络103中可以包括NEF、网关移动位置中心(gateway mobile location center,GMLC)网元、统一数据管理功能(unified data management,UDM)网元、AMF和位置管理功能(location management function,LMF)网元和策略控制功能(policy control function,PCF)网元。其中,NEF可以接收第一网络的NEF发送的用于请求终端设备的位置信息的消息,并通过GLMC向UDM发送该请求消息,告知UDM为第一网络102选择AMF。GLMC可以向UDM选择的AMF发送请求消息,告知AMF请求LMF为第一网络102提供定位服务。LMF可以确定终端设备的位置信息,并将该位置信息通过AMF和GLMC发送给NEF。The second network 103 may include NEF, gateway mobile location center (gateway mobile location center, GMLC) network element, unified data management function (unified data management, UDM) network element, AMF and location management function (location management function, LMF) Network elements and policy control function (PCF) network elements. The NEF may receive a message sent by the NEF of the first network for requesting the location information of the terminal device, and send the request message to the UDM through the GLMC, informing the UDM to select the AMF for the first network 102 . The GLMC may send a request message to the AMF selected by the UDM, informing the AMF to request the LMF to provide the location service for the first network 102 . The LMF can determine the location information of the terminal device and send the location information to the NEF through the AMF and GLMC.
应理解,本申请实施例的第一网络102和第二网络103并不限于图2所示的架构,图2中所示的网元的名称在这里仅作为一种示例说明,并不作为对本申请方法使用的通信***架构中包括的网元的限定。It should be understood that the first network 102 and the second network 103 in this embodiment of the present application are not limited to the architecture shown in FIG. 2 , and the names of the network elements shown in FIG. The definition of the network elements included in the communication system architecture used by the application method.
情况2:Case 2:
如图3所示,第一网络102的架构可以如图2所示,包含NEF、AMF、AN设备、AF、UPF和SMF等网元。第二网络103的架构可以包括NEF、UDM和LMF。其中,NEF可以接收第一网络的NEF发送的用于请求终端设备的位置信息的请求消息,并向UDM发送该请求消息,请求UDM为第一网络102选择LMF。NEF可以通过服务化接口向UDM选择的LMF发送请求消息,告知LMF为第一网络102提供定位服务。LMF可以确定终端设备的位置信息,并将该位置信息发送给NEF。应理解,本申请实施例的第一网络102和第二网络103并不限于图3所示的架构,图3中所示的网元的名称在这里仅作为一种示例说明,并不作为对本申请方法使用的通信***架构中包括的网元的限定。As shown in FIG. 3 , the architecture of the first network 102 may be as shown in FIG. 2 , including network elements such as NEF, AMF, AN device, AF, UPF, and SMF. The architecture of the second network 103 may include NEF, UDM and LMF. The NEF may receive a request message sent by the NEF of the first network for requesting the location information of the terminal device, and send the request message to the UDM, requesting the UDM to select the LMF for the first network 102 . The NEF may send a request message to the LMF selected by the UDM through the servitization interface, informing the LMF to provide the location service for the first network 102 . The LMF can determine the location information of the terminal device and send the location information to the NEF. It should be understood that the first network 102 and the second network 103 in this embodiment of the present application are not limited to the architecture shown in FIG. 3 , and the names of the network elements shown in FIG. The definition of the network elements included in the communication system architecture used by the application method.
下面对本申请实施例的通信***的各个网元或设备的功能进行详细描述:The functions of each network element or device of the communication system according to the embodiment of the present application are described in detail below:
所述终端设备,又可以称之为用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等,是一种向用户提供语音和/或数据连通性的设 备。例如,所述终端设备可以包括具有无线连接功能的手持式设备、车载设备等。目前,所述终端设备可以是:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self-driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端,或智慧家庭(smart home)中的无线终端等。其中,图1中所述终端设备以UE示出,仅作为示例,并不对终端设备进行限定。The terminal equipment, also known as user equipment (UE), mobile station (mobile station, MS), mobile terminal (mobile terminal, MT), etc., is a device that provides voice and/or data connectivity to users. sexual equipment. For example, the terminal device may include a handheld device with a wireless connection function, a vehicle-mounted device, and the like. At present, the terminal device can be: a mobile phone (mobile phone), a tablet computer, a notebook computer, a palmtop computer, a mobile internet device (MID), a wearable device, a virtual reality (virtual reality, VR) device, augmented Augmented reality (AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, smart grid ), wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes, etc. The terminal device described in FIG. 1 is shown as UE, which is only an example and does not limit the terminal device.
无线接入网络可以为图2和图3所示的接入网(access network,AN),向所述终端设备提供无线接入服务。所述接入网设备是所述通信***中将所述终端设备接入到无线网络的设备。所述接入网设备为无线接入网中的节点,又可以称为基站,还可以称为无线接入网(radio access network,RAN)节点(或设备)。目前,一些接入网设备的举例为:gNB、传输接收点(transmission reception point,TRP)、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(base band unit,BBU),或无线保真(wireless fidelity,Wifi)接入点(access point,AP)等。The wireless access network may be an access network (access network, AN) shown in FIG. 2 and FIG. 3 , and provides wireless access services to the terminal device. The access network device is a device in the communication system that accesses the terminal device to a wireless network. The access network device is a node in a radio access network, which may also be referred to as a base station, or may also be referred to as a radio access network (radio access network, RAN) node (or device). At present, some examples of access network equipment are: gNB, transmission reception point (TRP), evolved Node B (evolved Node B, eNB), radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (base band unit, BBU), or wireless fidelity (wireless fidelity, Wifi) access point (access point, AP), etc.
示例性的,本申请实施例中的无线接入网设备可以根据协议栈功能将无线接入网设备拆分为两个部分:集中单元(centralized unit,CU)和分布单元(distributed unit,DU)。其中,一个无线接入网设备可以包含一个CU、以及至少一个DU,如图4所示。CU与至少一个DU连接,可以用于管理或者控制该至少一个DU。这种结构可以将通信***中无线接入网设备的协议层拆开,其中部分协议层功能在CU中实现,剩下部分或全部协议层功能分布在DU中实现,由CU集中控制DU。以无线接入网设备为gNB为例,gNB的协议层包括无线资源控制(radio resource control,RRC)层、业务数据适配协议(service data adaptation protocol,SDAP)层、分组数据汇聚协议(packet data convergence protocol,PDCP)层、无线链路控制(radio link control,RLC)层、媒体访问控制子层(media access control,MAC)层和物理层。其中,示例性的,CU可以用于实现RRC层、SDAP层和PDCP层的功能,DU可以用于实现RLC层、MAC层和物理层的功能。本申请实施例不对CU、DU包括的协议栈做具体限定。CU和DU之间可以采用F1接口进行连接,CU与其他的无线接入网设备采用Xn接口连接,CU与5G核心网(5G Core,5GC)之间采用NG接口连接,如图5所示。Exemplarily, the radio access network device in this embodiment of the present application may split the radio access network device into two parts according to the protocol stack function: a centralized unit (centralized unit, CU) and a distributed unit (distributed unit, DU). . Wherein, one radio access network device may include one CU and at least one DU, as shown in FIG. 4 . The CU is connected to at least one DU and can be used to manage or control the at least one DU. This structure can disassemble the protocol layers of the radio access network equipment in the communication system. Some of the protocol layer functions are implemented in the CU, and the remaining part or all of the protocol layer functions are distributed and implemented in the DU, and the CU centrally controls the DU. Taking the wireless access network device as a gNB as an example, the protocol layer of the gNB includes a radio resource control (RRC) layer, a service data adaptation protocol (SDAP) layer, and a packet data convergence protocol (packet data convergence protocol). convergence protocol, PDCP) layer, radio link control (radio link control, RLC) layer, media access control sublayer (media access control, MAC) layer and physical layer. Wherein, exemplarily, the CU can be used to implement the functions of the RRC layer, the SDAP layer and the PDCP layer, and the DU can be used to implement the functions of the RLC layer, the MAC layer and the physical layer. The embodiments of the present application do not specifically limit the protocol stacks included in the CU and DU. The F1 interface can be used to connect the CU and the DU, the Xn interface is used to connect the CU to other wireless access network devices, and the NG interface is used to connect the CU to the 5G core network (5G Core, 5GC), as shown in Figure 5.
示例性的,本申请实施例中的CU可以进一步分为一个控制面(CU-control plane,CU-CP)网元和至少一个用户面(CU-user plane,CU-UP)网元。其中,CU-CP可以用于控制面管理,CU-UP可以用于用户面数据传输。CU-CP与CU-UP之间的接口可以为E1口。CU-CP与DU之间的接口可以为F1-C,用于控制面信令的传输。CU-UP与DU之间的接口可以为F1-U,用于用户面数据传输。CU-UP与CU-UP之间可以通过Xn-U口进行连接,进行用户面数据传输。例如,以gNB为例,gNB的结构可以如图6所示。Exemplarily, the CU in this embodiment of the present application may be further divided into one control plane (CU-control plane, CU-CP) network element and at least one user plane (CU-user plane, CU-UP) network element. Among them, CU-CP can be used for control plane management, and CU-UP can be used for user plane data transmission. The interface between CU-CP and CU-UP can be E1 port. The interface between CU-CP and DU can be F1-C, which is used for the transmission of control plane signaling. The interface between CU-UP and DU can be F1-U, which is used for user plane data transmission. The CU-UP and CU-UP can be connected through the Xn-U port for user plane data transmission. For example, taking the gNB as an example, the structure of the gNB may be as shown in FIG. 6 .
所述网络开放功能网元NEF,可用于使3GPP能够安全地向第三方的AF(例如,业务能力服务器(Services Capability Server,SCS)、应用服务器(Application Server,AS)等)提供网络业务能力等。例如,在5G中,所述网络开放功能网元可以是NEF,例如图 2和图3所示,在未来通信***中,如6G中,所述网络开放功能网元仍可以是NEF网元,或有其它的名称,本申请不做限定。当所述网络开放功能网元是NEF时,所述NEF可以向其他网络功能网元提供Nnef服务。The network open function network element NEF can be used to enable 3GPP to securely provide network service capabilities to a third-party AF (for example, a service capability server (Services Capability Server, SCS), an application server (Application Server, AS), etc.) . For example, in 5G, the network opening function network element may be a NEF, such as shown in FIG. 2 and FIG. 3 , in a future communication system, such as in 6G, the network opening function network element may still be an NEF network element, Or there are other names, which are not limited in this application. When the network open function network element is an NEF, the NEF can provide Nnef services to other network function network elements.
所述策略控制功能网元PCF,可用于负责策略控制决策、提供基于业务数据流和应用检测、门控、QoS和基于流的计费控制等功能等。例如,在5G中,所述策略控制功能网元可以是PCF(policy control function)网元,例如图2和图3所示,在未来通信***中,如6G中,所述策略控制功能网元仍可以是PCF网元,或有其它的名称,本申请不做限定。当所述策略控制功能网元是PCF网元,所述PCF网元可以提供Npcf服务。The policy control function network element PCF can be used to be responsible for policy control decisions, to provide functions such as service data flow and application detection, gate control, QoS and flow-based charging control, and the like. For example, in 5G, the policy control function network element may be a PCF (policy control function) network element, such as shown in FIG. 2 and FIG. 3 , in a future communication system, such as in 6G, the policy control function network element It may still be a PCF network element, or have other names, which are not limited in this application. When the policy control function network element is a PCF network element, the PCF network element may provide an Npcf service.
所述应用功能网元AF,主要功能是与第三代合作伙伴计划(the 3rd generation partnership project,3GPP)核心网交互来提供服务,来影响业务流路由、接入网能力开放、策略控制等。例如,在5G中,所述应用功能网元可以是AF网元,例如图2和图3所示,在未来通信,如6G中,所述应用功能网元仍可以是AF网元,或有其它的名称,本申请不做限定。当所述应用功能网元是AF网元时,所述AF网元可以提供Naf服务。The main function of the application function network element AF is to interact with the 3rd generation partnership project (3GPP) core network to provide services to affect service flow routing, access network capability opening, policy control, and the like. For example, in 5G, the application function network element may be an AF network element, such as shown in FIG. 2 and FIG. 3 , in future communication, such as in 6G, the application function network element may still be an AF network element, or Other names are not limited in this application. When the application function network element is an AF network element, the AF network element may provide a Naf service.
所述接入与管理功能网元AMF,可用于对所述终端设备的接入控制和移动性进行管理,在实际应用中,其包括了长期演进(long term evolution,LTE)中网络框架中移动管理实体(mobility management entity,MME)里的移动性管理功能,并加入了接入管理功能,具体可以负责所述终端设备的注册、移动性管理、跟踪区更新流程、可达性检测、会话管理功能网元的选择、移动状态转换管理等。例如,在5G中,所述接入与移动管理功能网元可以是AMF(access and mobility management function)网元,例如图2和图3所示,在未来通信,如6G中,所述接入与移动管理功能网元仍可以是AMF网元,或有其它的名称,本申请不做限定。当所述接入与移动管理功能网元是AMF网元时,所述AMF可以提供Namf服务。The access and management function network element AMF can be used to manage the access control and mobility of the terminal equipment. In practical applications, it includes mobility management in a network framework in long term evolution (LTE). The mobility management function in the entity (mobility management entity, MME), and the access management function is added. Specifically, it can be responsible for the registration, mobility management, tracking area update process, reachability detection, and session management functions of the terminal device. Network element selection, mobility state transition management, etc. For example, in 5G, the access and mobility management function network element may be an AMF (access and mobility management function) network element, such as shown in Figures 2 and 3, in future communication, such as in 6G, the access The network element with the mobility management function may still be an AMF network element, or have other names, which are not limited in this application. When the access and mobility management function network element is an AMF network element, the AMF may provide Namf services.
所述会话管理功能网元SMF,可用于负责所述终端设备的会话管理(包括会话的建立、修改和释放),用户面功能网元的选择和重选、所述终端设备的互联网协议(internet protocol,IP)地址分配、服务质量(quality of service,QoS)控制等。例如,在5G中,所述会话管理功能网元可以是SMF(session management function)网元,例如图2和图3所示,在未来通信***中,如6G中,所述会话管理功能网元仍可以是SMF网元,或有其它的名称,本申请不做限定。当会话管理功能网元时SMF网元时,所述SMF可以提供Nsmf服务。The session management function network element SMF can be used for session management (including session establishment, modification and release) of the terminal device, selection and reselection of the user plane function network element, and Internet Protocol (internet) protocol of the terminal device. protocol, IP) address allocation, quality of service (quality of service, QoS) control, etc. For example, in 5G, the session management function network element may be an SMF (session management function) network element, such as shown in FIG. 2 and FIG. 3 , in a future communication system, such as in 6G, the session management function network element It may still be an SMF network element, or have other names, which are not limited in this application. When the session management function network element is an SMF network element, the SMF can provide Nsmf services.
所述统一数据管理功能网元UDM,可用于管理所述终端设备的签约数据、与所述终端设备相关的注册信息等。例如,在5G中,所述统一数据管理功能网元可以是统一数据管理功能网元(unified data management,UDM),例如图2所示,在未来通信***中,如6G中,所述统一数据管理功能网元仍可以是UDM网元,或有其它的名称,本申请不做限定。当所述统一数据管理功能网元是UDM网元时,所述UDM网元可以提供Nudm服务。The unified data management function network element UDM can be used to manage subscription data of the terminal equipment, registration information related to the terminal equipment, and the like. For example, in 5G, the unified data management function network element may be a unified data management function network element (unified data management, UDM). For example, as shown in FIG. 2, in a future communication system, such as in 6G, the unified data management The management function network element may still be a UDM network element, or have other names, which are not limited in this application. When the unified data management function network element is a UDM network element, the UDM network element may provide Nudm services.
所述网关移动位置中心GMLC,是外部位置程序访问公共网络或公共陆地网络的第一个节点,执行注册授权检查和从HLR请求路由信息等。例如,在5G中,所述网关移动位置中心网元可以是网关移动位置中心(gateway mobile location centre,GMLC),例如图2所示,在未来通信***中,如6G中,所述网关移动位置中心网元仍可以是GLMC网元,或有其它的名称,本申请不做限定。The gateway mobile location center GMLC is the first node for external location programs to access the public network or public land network, perform registration authorization checks, request routing information from the HLR, and the like. For example, in 5G, the gateway mobile location center network element may be a gateway mobile location center (GMLC), for example, as shown in FIG. 2 , in a future communication system, such as in 6G, the gateway mobile location center The central network element may still be the GLMC network element, or have other names, which are not limited in this application.
所述位置管理功能网元LMF,可以用于确定UE的位置、从UE获得下行链路位置测量或位置估计等。例如,在5G中,所述位置管理功能网元(location management function, LMF)如图2和图3所示,在未来通信***中,如6G中,所述位置管理功能网元仍可以是LMF网元,或有其它的名称,本申请不做限定。The location management function network element LMF may be used to determine the location of the UE, obtain downlink location measurements or location estimates from the UE, and the like. For example, in 5G, the location management function network element (location management function, LMF) is shown in FIG. 2 and FIG. 3 . In a future communication system, such as in 6G, the location management function network element can still be an LMF. The network element, or other names, are not limited in this application.
下面结合具体场景对本申请实施例进行详细说明。图7是以设备交互角度示出的本申请实施例提供的通信方法的示例性流程图,可以包括以下步骤:The embodiments of the present application will be described in detail below with reference to specific scenarios. FIG. 7 is an exemplary flowchart of a communication method provided by an embodiment of the present application, shown from the perspective of device interaction, which may include the following steps:
步骤701:第一网络的第一网络开放功能网元接收用于请求终端设备的位置信息的位置请求消息。Step 701: The first network opening function network element of the first network receives a location request message for requesting location information of a terminal device.
其中,该终端设备位于第一网络。该位置请求消息可以是该终端设备发送给AMF的。或者,该位置请求消息还可以是终端设备上安装的应用程序(application,APP)想要获取终端设备的位置信息时,由APP的服务器发送给应用层功能(application function,AF),再由AF发送给AMF的。或者,该位置请求消息还可以是第一网络中的第三方服务器发送的,例如可以是第一网络中的定位服务器发送给第一网络开放功能网元。终端设备发送位置请求消息时,可以通过NAS信令发送该位置请求消息,或者终端设备、AF或第三方服务器还可以通过新增的用于发送位置请求消息的信令发送该位置请求消息。AMF在接收到该位置请求消息之后,可以向第一网络开放功能网元发送位置请求消息。上述位置请求消息中可以包含终端设备在第一网络的标识,例如可以是临时标识(subscription concealed identifier,SUCI)、唯一标识(subscription permanent identifier,SUPI)、全球唯一UE临时标识(globally unique temporary UE identity,GUTI)、临时标识(generic public subscription identifier,GPSI)等标识。Wherein, the terminal device is located in the first network. The location request message may be sent by the terminal device to the AMF. Or, the location request message may also be sent by the server of the APP to the application layer function (application function, AF) when the application (application, APP) installed on the terminal device wants to obtain the location information of the terminal device, and then sent by the AF Sent to AMF. Alternatively, the location request message may also be sent by a third-party server in the first network, for example, may be sent by a positioning server in the first network to a network element with an open function of the first network. When the terminal device sends the location request message, it can send the location request message through NAS signaling, or the terminal device, AF or third-party server can also send the location request message through the newly added signaling for sending the location request message. After receiving the location request message, the AMF may send the location request message to the first network open function network element. The above-mentioned location request message may contain the identification of the terminal device in the first network, such as a temporary identification (subscription concealed identifier, SUCI), a unique identification (subscription permanent identifier, SUPI), a globally unique UE temporary identification (globally unique temporary UE identity) , GUTI), temporary identifier (generic public subscription identifier, GPSI) and other identifiers.
在一个实施例中,第一网络开放功能网元在接收到位置请求消息之后,可以生成第一事务号。该第一事务号可以用于标识终端设备的服务请求。其中,可以为每一个终端设备的服务请求生成一个第一事务号,不同的终端设备的服务请求的第一事务号不同。或者,还可以为每一个终端设备的每一个服务请求生成一个第一事务号,同一终端设备的不同服务请求的第一事务号不同,不同终端设备的第一事务号不同。第一网络开放功能网元还可以维护第一事务号和终端设备在第一网络的标识的关联关系。第一网络开放功能网元还可以将该第一事务号和终端设备在第一网络的标识的关联关系发送给AMF,使AMF存储该关联关系。In one embodiment, after receiving the location request message, the first network open function network element may generate the first transaction number. The first transaction number may be used to identify the service request of the terminal device. Wherein, a first transaction number may be generated for each service request of the terminal device, and the first transaction number of the service request of different terminal devices is different. Alternatively, a first transaction number may also be generated for each service request of each terminal device, the first transaction numbers of different service requests of the same terminal device are different, and the first transaction numbers of different terminal devices are different. The first network opening function network element may also maintain an association relationship between the first transaction number and the identifier of the terminal device in the first network. The first network opening function network element may also send the association relationship between the first transaction number and the identifier of the terminal device in the first network to the AMF, so that the AMF stores the association relationship.
步骤702:第一网络开放功能网元向第二网络的第二网络开放功能网元发送第一请求消息,第二网络开放功能接收第一网络开放功能发送的第一请求消息。Step 702: The first network opening function network element sends a first request message to the second network opening function network element of the second network, and the second network opening function receives the first request message sent by the first network opening function.
这里的第一请求消息中可以包括第一网络的标识,第一请求消息可以用于请求第二网络确定终端设备的位置信息。其中,该第一请求消息中也可以包含第一事务号。示例性的,该第一请求消息中可以包含第一网络的标识和第一事务号。The first request message here may include the identifier of the first network, and the first request message may be used to request the second network to determine the location information of the terminal device. Wherein, the first request message may also include the first transaction number. Exemplarily, the first request message may include the identifier of the first network and the first transaction number.
在一个实施例中,第一网络开放功能网元还可以生成上述终端设备的第一信息。其中,第一信息可以包括第一标识和第一指示中的至少一个。以下具体介绍终端设备的第一信息,可以包括以下三种情况。In an embodiment, the first network opening function network element may further generate the first information of the above-mentioned terminal device. The first information may include at least one of a first identifier and a first indication. The following specifically introduces the first information of the terminal device, which may include the following three situations.
情况1:Case 1:
第一信息包括第一标识和第一指示中的至少一个。示例性的,第一信息可以包括第一标识和第一指示,或者第一信息可以包括第一标识,或者第一信息可以包括第一指示。其中,该第一标识可以是位于第一网络的所有终端设备的通用标识。例如,该第一标识可以是一个设置值,如全为0或全为1等值。第一指示可以指示该第一标识所标识的终端设备为第一网络的终端设备或第一指示可以指示该终端设备为非第二网络的终端设备。应理解, 这里的第一标识不同于前述的终端设备在第一网络中的标识。The first information includes at least one of a first identification and a first indication. Exemplarily, the first information may include a first identification and a first indication, or the first information may include a first identification, or the first information may include a first indication. Wherein, the first identifier may be a general identifier of all terminal devices located in the first network. For example, the first identifier may be a set value, such as all 0s or all 1s. The first indication may indicate that the terminal device identified by the first identification is a terminal device of the first network or the first indication may indicate that the terminal device is a terminal device not of the second network. It should be understood that the first identifier here is different from the aforementioned identifier of the terminal device in the first network.
情况2:Case 2:
第一信息包括第一标识和第一指示中的至少一个。示例性的,第一信息可以包括第一标识和第一指示,或者第一信息可以包括第一标识,或者第一信息可以包括第一指示。其中,该第一标识可以标识不同的终端设备,但与终端设备在第一网络中的标识不同。例如,可以为位于第一网络的每一个终端设备分配一个不同的第一标识。第一指示可以指示该第一标识所标识的终端设备为第一网络的终端设备或第一指示可以指示该终端设备为非第二网络的终端设备。The first information includes at least one of a first identification and a first indication. Exemplarily, the first information may include a first identification and a first indication, or the first information may include a first identification, or the first information may include a first indication. Wherein, the first identification may identify different terminal equipment, but is different from the identification of the terminal equipment in the first network. For example, a different first identifier may be assigned to each terminal device located in the first network. The first indication may indicate that the terminal device identified by the first identification is a terminal device of the first network or the first indication may indicate that the terminal device is a terminal device not of the second network.
情况3:Case 3:
第一信息包括第一标识和第一指示中的至少一个。示例性的,第一信息可以包括第一标识和第一指示,或者第一信息可以包括第一标识,或者第一信息可以包括第一指示。其中,该第一标识可以标识不同的终端设备,且与该终端设备在第一网络中的标识不同。例如,可以位于第一网络的每一个终端设备分配一个不同的第一标识。另外,该第一标识中还可以包含第一网络的标识。换句话说,通过第一标识可以识别该终端设备位于第一网络。第一指示可以指示该终端设备为非第二网络的终端设备。The first information includes at least one of a first identification and a first indication. Exemplarily, the first information may include a first identification and a first indication, or the first information may include a first identification, or the first information may include a first indication. Wherein, the first identification may identify different terminal equipment and is different from the identification of the terminal equipment in the first network. For example, each terminal device located in the first network may be assigned a different first identifier. In addition, the first identifier may further include the identifier of the first network. In other words, it can be identified that the terminal device is located in the first network through the first identification. The first indication may indicate that the terminal device is not a terminal device of the second network.
在第一网络开放功能网元向第二网络开放功能网元发送第一请求消息时,还可以将上述第一信息携带在该第一请求消息中。示例性的,该第一请求消息中可以包括第一网络的标识、第一事务号和第一信息。第一网络开放功能网元还可以存储第一网络的标识、第一事务号、第一信息和终端设备在第一网络的标识的关联关系。When the first network opening function network element sends the first request message to the second network opening function network element, the above-mentioned first information may also be carried in the first request message. Exemplarily, the first request message may include the identifier of the first network, the first transaction number and the first information. The first network opening function network element may also store the association relationship between the identifier of the first network, the first transaction number, the first information and the identifier of the terminal device on the first network.
另一个实施例中,前述情况1-情况3中的第一信息可以是第二网络开放功能网元根据第一网络开放功能网元发送的第一请求消息生成的。示例性的,该第一请求消息中可以包含第一网络的标识和第一事务号。In another embodiment, the first information in the foregoing cases 1 to 3 may be generated by the second network opening function network element according to the first request message sent by the first network opening function network element. Exemplarily, the first request message may include the identifier of the first network and the first transaction number.
再一个实施例中,第二网络开放功能网元还可以根据第一请求消息生成第二事务号。该第二事务号可以用于标识第一网络的服务请求。其中,第二网络开放功能网元可以为不同的第一网络生成不同的第二事务号,或者还可以为同一个第一网络的不同服务请求生成不同的第二事务号。例如,可以为同一个第一网络的第一终端设备的定位服务请求生成一个第二事务号,为同一个第一网络的第二终端设备的定位服务请求生成另一个第二事务号。第二网络开放功能网元可以存储第一网络的标识和第二事务号的关联关系,或者第二网络开放功能网元可以存储第一网络的标识、第一事务号和第二事务号的关联关系,或者第二网络开放功能网元可以存储第一网络的标识、第一事务号、第二事务号和第一信息的关联关系。In yet another embodiment, the second network opening function network element may further generate the second transaction number according to the first request message. The second transaction number may be used to identify the service request of the first network. The second network opening function network element may generate different second transaction numbers for different first networks, or may also generate different second transaction numbers for different service requests of the same first network. For example, one second transaction number may be generated for the location service request of the first terminal device of the same first network, and another second transaction number may be generated for the location service request of the second terminal device of the same first network. The second network open function network element may store the association between the identifier of the first network and the second transaction number, or the second network open function network element may store the association between the identifier of the first network, the first transaction number and the second transaction number relationship, or the second network open function network element may store the association relationship between the identifier of the first network, the first transaction number, the second transaction number and the first information.
举例来说,如果第一网络开放功能发送的第一请求消息中包含第一网络的标识,则第二网络开放功能网元可以存储第二事务号和第一网络的标识的关联关系,或者可以存储第二事务号、第一网络的标识、第一信息的关联关系。如果第一网络开放功能网元发送的第一请求消息中包含第一网络的标识和第一事务号,则第二网络开放功能网元可以存储第一网络的标识、第一事务号和第二事务号的关联关系,或者可以存储第一网络的标识、第一事务号、第二事务号和第一信息的关联关系。For example, if the first request message sent by the first network opening function includes the identifier of the first network, the network element of the second network opening function may store the association relationship between the second transaction number and the identifier of the first network, or may The association relationship between the second transaction number, the identifier of the first network, and the first information is stored. If the first request message sent by the first network opening function network element includes the identifier of the first network and the first transaction number, the second network opening function network element may store the identifier of the first network, the first transaction number and the second transaction number. The relationship between the transaction numbers, or the relationship between the identifier of the first network, the first transaction number, the second transaction number, and the first information can be stored.
第二网络开放功能网元还可以将第一事务号、第二事务号和第一网络的标识和第一信息的关联关系发送给第一网络开放功能网元,使第一网络开放功能网元存储前述关联关系。其中,第一网络开放功能网元在接收到该关联关系时,可以确定第一网络的标识是否为自 身的标识,以及还可以确定第一网络的标识与第一事务号是否是对应的,在确定第一网络的标识为自身的标识,以及确定第一网络的标识与第一事务号对应时,可以存储上述关联关系。The second network open function network element may also send the first transaction number, the second transaction number and the association relationship between the identifier of the first network and the first information to the first network open function network element, so that the first network open function network element The aforementioned association relationship is stored. Wherein, when receiving the association relationship, the network element with the first network opening function can determine whether the identifier of the first network is its own identifier, and can also determine whether the identifier of the first network corresponds to the first transaction number. When it is determined that the identifier of the first network is its own identifier, and when it is determined that the identifier of the first network corresponds to the first transaction number, the above-mentioned association relationship may be stored.
步骤703:第二网络开放功能网元接收第二网络的第一位置管理功能网元确定的位置信息。Step 703: The second network opening function network element receives the location information determined by the first location management function network element of the second network.
这里的第一位置管理功能网元可以是通过以下两种方式确定的,以下分别进行介绍。The first location management function network element here may be determined in the following two ways, which will be introduced separately below.
方式一、method one,
第一位置管理功能网元可以是第二网络的接入与移动管理功能网元选择的。如图8所示,可以包括以下步骤:The first location management function network element may be selected by the access and mobility management function network element of the second network. As shown in Figure 8, the following steps may be included:
步骤801:第二网络开放功能网元在接收到第一网络开放功能网元发送的第一请求消息之后,向第二网络的网关移动位置中心网元发送第二事务号和第一信息中的至少一个,以及第一网络的标识。Step 801: After receiving the first request message sent by the first network opening function network element, the second network opening function network element sends the second transaction number and the first information to the gateway mobile location center network element of the second network. At least one, and the identifier of the first network.
其中,网关移动位置中心网元可以根据第二事务号和第一信息中的至少一个确定需要为第一网络提供定位服务。例如,网关移动位置中心可以根据第二事务号确定需要为第一网络提供定位服务,或者网关移动位置中心可以根据第一信息确定需要为第一网络提供定位服务。Wherein, the network element of the gateway mobile location center may determine, according to at least one of the second transaction number and the first information, that the location service needs to be provided for the first network. For example, the gateway mobile location center may determine according to the second transaction number that the location service needs to be provided for the first network, or the gateway mobile location center may determine that the location service needs to be provided for the first network according to the first information.
在一个实施例中,上述情况1-情况3的第一信息也可以是网关移动位置中心网元根据第二事务号生成的。如果第二网络功能网元向网关移动位置中心发送第二事务号和第一网络的标识,则网关移动位置中心网元可以根据该第二事务号和第一网络的标识生成第一信息。网关移动位置中心网元可以存储第二事务号、第一网络的标识和第一信息的关联关系。In an embodiment, the first information of the above cases 1 to 3 may also be generated by the network element of the gateway mobile location center according to the second transaction number. If the second network function network element sends the second transaction number and the identifier of the first network to the gateway mobile location center, the gateway mobile location center network element can generate the first information according to the second transaction number and the identifier of the first network. The network element of the gateway mobile location center may store the association relationship between the second transaction number, the identifier of the first network and the first information.
步骤802:网关移动位置中心网元向统一数据管理功能网元发送第一网络的标识。Step 802: The gateway mobile location center network element sends the identifier of the first network to the unified data management function network element.
其中,由于网关移动位置中心网元根据第二事务号和第一信息中的至少一个确定需要为第一网络提供服务后,可以根据第一网络的标识做权限认证,因此可以向统一数据管理功能网元发送第一网络的标识。Wherein, since the gateway mobile location center network element determines that it needs to provide services for the first network according to at least one of the second transaction number and the first information, it can perform authority authentication according to the identity of the first network, so it can report to the unified data management function. The network element sends the identifier of the first network.
步骤803:统一数据管理功能网元根据该第一网络的标识查看第一网络的签约数据,在确定该第一网络具有获取定位服务的权限时,为第一网络选择接入与移动管理功能网元。Step 803: The unified data management function network element checks the subscription data of the first network according to the identifier of the first network, and selects an access and mobility management function network for the first network when it is determined that the first network has the authority to obtain the location service Yuan.
其中,统一数据管理功能网元可以选择默认的接入与移动管理功能网元。或者,统一数据管理功能网元可以根据第一网络的标识,选择可以为第一网络提供服务的接入与移动管理功能网元。Among them, the unified data management function network element can select the default access and mobility management function network element. Alternatively, the unified data management function network element may select an access and mobility management function network element that can provide services for the first network according to the identifier of the first network.
步骤804:统一数据管理功能网元将选择的接入与管理功能网元的标识或地址发送给网关移动位置中心网元。Step 804: The unified data management function network element sends the selected identification or address of the access and management function network element to the gateway mobile location center network element.
步骤805:网关移动位置中心网元向接入与管理功能网元发送第二事务号和第一信息中的至少一个。Step 805: The gateway mobile location center network element sends at least one of the second transaction number and the first information to the access and management function network element.
其中,网关移动位置中心网元可以根据统一数据管理功能网元反馈的接入与管理功能网元的标识或地址,向对应的接入与管理功能网元发送第二事务号和第一信息中的至少一个。The gateway mobile location center network element may send the second transaction number and the first information to the corresponding access and management function network element according to the identifier or address of the access and management function network element fed back by the unified data management function network element. at least one of.
步骤806:接入与管理功能网元根据所述第二事务号和第一信息中的至少一个,选择第一位置管理功能网元。Step 806: The access and management function network element selects the first location management function network element according to at least one of the second transaction number and the first information.
其中,如果第一信息是上述情况1,则接入与管理功能网元根据第二事务号和第一信息,选择第一位置管理功能网元。如果第一信息是上述情况2和情况3,则接入与管理功 能网元可以根据第二事务号和第一信息中的至少一个选择第一位置管理功能网元。Wherein, if the first information is the above case 1, the access and management function network element selects the first location management function network element according to the second transaction number and the first information. If the first information is the above-mentioned case 2 and case 3, the access and management function network element may select the first location management function network element according to at least one of the second transaction number and the first information.
在一个实施例中,接入与管理功能网元可以选择默认的第一位置管理功能网元,或者接入与管理功能网元可以根据第二事务号和第一信息中的至少一个,选择可以为第一网络提供服务的第一位置管理功能网元。In one embodiment, the access and management function network element may select the default first location management function network element, or the access and management function network element may select the first location management function network element according to at least one of the second transaction number and the first information. A first location management function network element serving the first network.
步骤807:接入与管理功能网元向第一位置管理功能网元发送第三请求消息。Step 807: The access and management function network element sends a third request message to the first location management function network element.
这里的第三请求消息用于请求第一位置管理功能网元确定终端设备的位置信息。该第三请求消息中可以包含第二事务号和第一信息中的至少一个。The third request message here is used to request the first location management function network element to determine the location information of the terminal device. The third request message may contain at least one of the second transaction number and the first information.
方式二、Method two,
第一位置管理功能网元可以是第二网络的统一数据管理功能网元选择的。如图9所示,可以包括以下步骤:The first location management function network element may be selected by the unified data management function network element of the second network. As shown in Figure 9, the following steps may be included:
步骤901:第二网络开放功能网元向第二网络的统一数据管理功能网元发送第一网络的标识。Step 901: The second network opening function network element sends the identifier of the first network to the unified data management function network element of the second network.
其中,第二网络开放功能网元可以通过服务化接口向统一数据管理功能网元发送第一网络的标识。The second network opening function network element may send the identifier of the first network to the unified data management function network element through the service interface.
步骤902:统一数据管理功能网元根据该第一网络的标识,查看第一网络的签约数据,确定该第一网络具有获取定位服务权限时,选择第一位置管理功能网元。Step 902: The unified data management function network element checks the subscription data of the first network according to the identifier of the first network, and selects the first location management function network element when it is determined that the first network has the right to obtain the location service.
在选择第一位置管理功能网元时,统一数据管理功能网元可以选择默认的第一位置管理功能网元,或者可以根据第一网络的标识选择可以为第一网络提供服务的第一位置管理功能网元。When selecting the first location management function network element, the unified data management function network element may select the default first location management function network element, or may select the first location management function network element that can provide services for the first network according to the identifier of the first network functional network element.
步骤903:统一数据管理功能网元将第一位置管理功能网元的标识或地址发送给第二网络开放功能网元。Step 903: The unified data management function network element sends the identifier or address of the first location management function network element to the second network open function network element.
步骤904:第二网络开放功能网元向第一位置管理功能网元发送第三请求消息。Step 904: The second network opening function network element sends a third request message to the first location management function network element.
这里的第三请求消息用于请求第一位置管理功能网元确定终端设备的位置信息。该第三请求消息中可以包含第二事务号和第一信息中的至少一个。第二网络开放功能网元可以根据统一数据管理功能网元反馈的第一位置管理功能网元的标识或地址向第一位置管理功能网元发送第三请求消息。第二网络开放功能网元可以根据服务化接口向第一位置管理功能网元发送第三请求消息。The third request message here is used to request the first location management function network element to determine the location information of the terminal device. The third request message may contain at least one of the second transaction number and the first information. The second network opening function network element may send the third request message to the first location management function network element according to the identifier or address of the first location management function network element fed back by the unified data management function network element. The second network opening function network element may send a third request message to the first location management function network element according to the service-oriented interface.
通过上述方式一和方式二,第二网络开放功能网元可以向第一位置管理功能网元发送第三请求消息,请求第一位置管理功能网元确定终端设备的位置信息。第一位置管理功能网元在接收到该第三请求消息后,可以触发收集定位所需的数据的流程。如图10所示,为第一位置管理功能网元获取定位所需的数据的流程图,可以包括以下步骤:Through the above manners 1 and 2, the second network opening function network element may send a third request message to the first location management function network element, requesting the first location management function network element to determine the location information of the terminal device. After receiving the third request message, the first location management function network element may trigger a process of collecting data required for positioning. As shown in FIG. 10 , the flowchart for obtaining the data required for positioning for the first location management function network element may include the following steps:
步骤1001:第一位置管理功能网元向接入与管理功能网元发送第一位置数据收集请求消息。Step 1001: The first location management function network element sends a first location data collection request message to the access and management function network element.
该第一位置数据收集请求消息中可以包含需要收集的数据,还可以包含第二事务号和第一信息中的至少一个。其中,接入与管理功能单元可以根据第二事务号和第一信息中的至少一个,确定需要该位置数据收集请求消息是针对第一网络的终端设备,而非自身管理的终端设备。The first location data collection request message may include data to be collected, and may also include at least one of the second transaction number and the first information. Wherein, the access and management function unit may determine, according to at least one of the second transaction number and the first information, that the location data collection request message is required for a terminal device of the first network, rather than a terminal device managed by itself.
步骤1002:接入与管理功能网元向网关移动位置中心网元发送第二位置数据请求消息。Step 1002: The access and management function network element sends a second location data request message to the gateway mobile location center network element.
这里的第二位置数据请求消息中可以包含与第一位置数据收集请求消息中相同的内容。例如,第二位置数据请求消息中可以包含需要收集的数据,还可以包含第二事务号和 第一信息中的至少一个。The second location data request message here may contain the same content as the first location data collection request message. For example, the second location data request message may contain the data to be collected, and may also contain at least one of the second transaction number and the first information.
步骤1003:网关移动位置中心网元向第二网络开放功能网元发送第一数据请求消息。Step 1003: The gateway mobile location center network element sends a first data request message to the second network open function network element.
这里的第一数据请求消息中可以包含第二事务号和第一信息中的至少一个,该第一数据请求消息可以用于获取定位所需的数据。The first data request message here may include at least one of the second transaction number and the first information, and the first data request message may be used to obtain data required for positioning.
在本申请实施例中,第一位置管理功能网元可以通过上述步骤1001-步骤1003向第二网络开放功能网元发送第一数据请求消息。在另一个实施例中,为了节省第二网络的建设和维护成本,还可以通过以下的步骤1004向第二网络开放功能网元发送第一数据请求消息。In this embodiment of the present application, the first location management function network element may send the first data request message to the second network open function network element through the foregoing steps 1001 to 1003 . In another embodiment, in order to save construction and maintenance costs of the second network, the first data request message may also be sent to the second network open function network element through the following step 1004 .
步骤1004:第一位置管理功能网元向第二网络开放功能网元发送第一数据请求消息。Step 1004: The first location management function network element sends a first data request message to the second network open function network element.
其中,第一位置管理功能网元可以通过服务化接口向第二网络开放功能网元发送第一数据请求消息。这里的第一数据请求消息可以包含第二事务号和第一信息中的至少一个,该第一数据请求消息用于获取定位所需的数据。The first location management function network element may send the first data request message to the second network open function network element through the service interface. The first data request message here may include at least one of the second transaction number and the first information, and the first data request message is used to obtain data required for positioning.
步骤1005:第二网络开放功能网元向第一网络开放功能网元发送第二数据请求消息。Step 1005: The second network opening function network element sends a second data request message to the first network opening function network element.
第二网络开放功能网元在接收到第一数据请求消息后,可以根据第二事务号和第一信息中的至少一个确定对应的第一网络的标识,可以向该对应的第一网络的第一网络开放功能网元发送第二数据请求消息。第二网络开放功能网元还可以根据第二事务号和第一信息中的至少一个,查找第二事务号、第一信息和第一事务号的关联关系,查找对应的第一事务号。这里的第二数据请求消息中可以包含第一事务号、第一网络的标识、第二事务号和第一信息中的至少一个。示例性的,第二数据请求消息中可以包含第一事务号、第二事务号和第一信息,或者该第二数据请求消息中可以包含第二事务号和第一网络的标识。After receiving the first data request message, the network element with the second network opening function can determine the identifier of the corresponding first network according to at least one of the second transaction number and the first information, and can send the corresponding first network to the first network element. A network open function network element sends a second data request message. The second network open function network element may also search for the association relationship between the second transaction number, the first information and the first transaction number according to at least one of the second transaction number and the first information, and search for the corresponding first transaction number. The second data request message here may include at least one of the first transaction number, the identifier of the first network, the second transaction number, and the first information. Exemplarily, the second data request message may include the first transaction number, the second transaction number and the first information, or the second data request message may include the second transaction number and the identifier of the first network.
步骤1006:第一网络开放功能网元将第二数据请求消息发送给第一网络的接入与管理功能网元。Step 1006: The first network opening function network element sends the second data request message to the access and management function network element of the first network.
第一网络开放功能网元在接收到第二数据请求消息后,可以根据该第二数据请求消息中携带的第二事务号、第一事务号、第一网络的标识和第一信息中的至少一个,确定该第二数据请求消息是否有效。这里的消息有效可以是指消息正确发送给对应的第一网络。例如,第二数据请求消息中携带第一网络的标识,第一网络开放功能网元可以确定该第一网络的标识是否为自身的标识,在确定该第一网络的标识是自身的标识是可以确定第二数据请求消息有效。或者,该第二数据请求消息中携带第一网络的标识、第一事务号和第二事务号,第一网络开放功能网元可以确定该第一网络的标识是否是自身的标识,以及还可以确定第一网络的标识和第一事务号的关联关系是否正确,在该第一网络的标识是自身的标识以及第一网络的标识和第一事务号的关联关系正确时,可以存储对应存储第二事务号。After receiving the second data request message, the network element with the first network opening function can perform at least one of the second transaction number, the first transaction number, the identifier of the first network, and the first information carried in the second data request message. One, to determine whether the second data request message is valid. The valid message here may mean that the message is correctly sent to the corresponding first network. For example, the second data request message carries the identifier of the first network, the first network open function network element can determine whether the identifier of the first network is its own identifier, and can determine whether the identifier of the first network is its own identifier. It is determined that the second data request message is valid. Alternatively, the second data request message carries the identifier of the first network, the first transaction number, and the second transaction number, and the first network open function network element can determine whether the identifier of the first network is its own identifier, and can also Determine whether the association relationship between the identification of the first network and the first transaction number is correct. When the identification of the first network is its own identification and the association between the identification of the first network and the first transaction number is correct, the corresponding storage number can be stored. Second transaction number.
第一网络开放功能网元还可以根据第一事务号、第二事务号、第一信息中的至少一个确定终端设备在第一网络的标识。并将第二数据请求消息发送给管理该终端设备的第一网络的接入与管理功能网元。其中,还可以在第二数据请求消息中携带终端设备在第一网络的标识。The first network opening function network element may further determine the identification of the terminal device in the first network according to at least one of the first transaction number, the second transaction number, and the first information. and send the second data request message to the access and management function network element of the first network that manages the terminal device. The identifier of the terminal device in the first network may also be carried in the second data request message.
步骤1007:第一网络的接入与管理功能网元收集定位所需的数据。Step 1007: The network element of the access and management function of the first network collects data required for positioning.
第一网络的接入与管理功能网元可以根据终端设备在第一网络的标识,收集定位所需的数据。The network element of the access and management function of the first network may collect data required for positioning according to the identification of the terminal device in the first network.
步骤1008:第一网络的接入与管理功能网元将收集到的定位所需的数据发送给第一网络开放功能网元。Step 1008: The access and management function network element of the first network sends the collected data required for positioning to the first network open function network element.
第一网络的接入与管理功能网元可以将收集到的定位所需的数据携带在响应消息中发送给第一网络开放功能网元。该响应消息中还可以携带终端设备在第一网络的标识。The access and management function network element of the first network may carry the collected data required for positioning in a response message and send it to the first network open function network element. The response message may also carry the identifier of the terminal device in the first network.
步骤1009:第一网络开放功能网元向第二网络开放功能网元发送第二响应消息。Step 1009: The first network opening function network element sends a second response message to the second network opening function network element.
这里的第二响应消息中可以携带收集到的定位所需的数据。可选地,在发送第二响应消息时,第一网络开放功能还可以根据前述响应消息确定终端设备在第一网络的标识,并根据终端设备在第一网络的标识查找对应的第一事务号和第二事务号等。并在第二响应消息中携带该第一网络的标识、第一事务号和第二事务号中的至少一个。The second response message here may carry the collected data required for positioning. Optionally, when sending the second response message, the first network opening function may also determine the identification of the terminal device in the first network according to the aforementioned response message, and search for the corresponding first transaction number according to the identification of the terminal device in the first network. and the second transaction number, etc. And the second response message carries at least one of the identifier of the first network, the first transaction number and the second transaction number.
步骤1010:第二网络开放功能网元向网关移动位置中心网元发送第二位置数据请求消息的响应消息。Step 1010: The second network opening function network element sends a response message of the second location data request message to the gateway mobile location center network element.
其中,该第二位置数据请求消息的响应消息中可以携带收集到的定位所需的数据,还可以携带第二事务号和第一信息中的至少一个。The response message of the second position data request message may carry the collected data required for positioning, and may also carry at least one of the second transaction number and the first information.
步骤1011:网关移动位置中心网元向接入与移动管理功能网元发送第一位置数据请求消息的响应消息。Step 1011: The gateway mobile location center network element sends a response message of the first location data request message to the access and mobility management function network element.
这里的第一位置数据请求消息的响应消息可以携带收集到的定位所需的数据,还可以携带第二事务号和第一信息中的至少一个。The response message of the first location data request message here may carry the collected data required for positioning, and may also carry at least one of the second transaction number and the first information.
步骤1012:接入与移动管理功能网元向第一位置管理功能网元发送第一响应消息。Step 1012: The access and mobility management function network element sends a first response message to the first location management function network element.
这里的第一响应消息可以携带定位所需的数据,还可以携带第二事务号和第一信息中的至少一个。The first response message here may carry data required for positioning, and may also carry at least one of the second transaction number and the first information.
在本申请实施例中,第二网络开放功能网元可以通过上述步骤1010-步骤1012向第一位置管理功能网元发送第一位置数据请求消息的第一响应消息。在另一个实施例中,第二网络开放功能网元还可以通过以下步骤1013向第一位置管理功能网元发送第一位置数据请求消息的第一响应消息。In this embodiment of the present application, the second network opening function network element may send the first response message of the first location data request message to the first location management function network element through the foregoing steps 1010 to 1012 . In another embodiment, the second network opening function network element may further send a first response message of the first location data request message to the first location management function network element through the following step 1013.
步骤1013:第二网络开放功能网元向第一位置管理功能网元发送第一响应消息。Step 1013: The second network opening function network element sends a first response message to the first location management function network element.
其中,第二网络开放功能网元可以通过服务化接口向第一位置管理功能网元发送第一响应消息。第一响应消息中可以携带定位所需的数据,还可以携带第二事务号和第一信息中的至少一个。The second network opening function network element may send the first response message to the first location management function network element through the service interface. The first response message may carry data required for positioning, and may also carry at least one of the second transaction number and the first information.
通过上述流程,第一位置管理功能获取了定位所需的数据,因此第一位置管理功能网元可以根据收集到的定位所需的数据计算终端设备的位置信息。这里的位置信息中可以包括终端设备的位置、计算精度等信息。以下通过图11介绍第一位置管理功能网元如何将终端设备的位置信息发送给第二网络开放功能网元。Through the above process, the first location management function acquires the data required for positioning, so the network element of the first location management function can calculate the location information of the terminal device according to the collected data required for positioning. The location information here may include information such as the location and calculation accuracy of the terminal device. The following describes how the first location management function network element sends the location information of the terminal device to the second network open function network element through FIG. 11 .
如图11所示,可以包括以下步骤:As shown in Figure 11, the following steps may be included:
步骤1101:第一位置管理功能网元将终端设备的位置信息发送给接入与管理功能网元。Step 1101: The first location management function network element sends the location information of the terminal device to the access and management function network element.
这里的位置信息可以包括终端设备的位置、计算精度等信息。其中,第一位置管理功能网元还可以将第二事务号和第一信息中的至少一个发送给接入与管理功能网元。应理解,第二事务号和第一信息中的至少一个可以与终端设备的位置信息同时发送,也可以分开发送。The location information here may include information such as the location and calculation accuracy of the terminal device. The first location management function network element may also send at least one of the second transaction number and the first information to the access and management function network element. It should be understood that at least one of the second transaction number and the first information may be sent simultaneously with the location information of the terminal device, or may be sent separately.
步骤1102:接入与管理功能网元将终端设备的位置信息发送给网关移动位置中心网元。Step 1102: The access and management function network element sends the location information of the terminal device to the gateway mobile location center network element.
其中,接入与管理功能网元还可以将第一信息和第二事务号中的至少一个发送给网关移动位置中心网元。The access and management function network element may also send at least one of the first information and the second transaction number to the gateway mobile location center network element.
步骤1103:网关移动位置中心网元将终端设备的位置信息发送给第二网络开放功能网 元。Step 1103: The gateway mobile location center network element sends the location information of the terminal device to the second network open function network element.
这里的终端设备的位置信息可以包括终端设备的位置和计算精度等信息。网关移动位置中心网元还可以将第二事务号和第一信息中的至少一个发送给第二网络开放功能网元。The location information of the terminal device here may include information such as the location and calculation accuracy of the terminal device. The gateway mobile location center network element may also send at least one of the second transaction number and the first information to the second network open function network element.
在本申请实施例中,第一位置管理功能网元可以通过上述步骤1101-步骤1103将终端设备的位置信息发送给第二网络开放功能网元。在另一个实施例中,第一位置管理功能网元可以通过以下步骤1104将终端设备的位置信息发送给第二网络开放功能网元。In this embodiment of the present application, the first location management function network element may send the location information of the terminal device to the second network opening function network element through the foregoing steps 1101 to 1103 . In another embodiment, the first location management function network element may send the location information of the terminal device to the second network opening function network element through the following step 1104.
步骤1104:第一位置管理功能网元将终端设备的位置信息发送给第二网络开放功能网元。Step 1104: The first location management function network element sends the location information of the terminal device to the second network open function network element.
其中,第一位置管理功能网元可以将终端设备的位置信息通过服务化接口发送给第二网络开放功能网元。第一位置管理功能网元还可以将第二事务号和第一信息中的至少一个发送给第二网络开放功能网元。The first location management function network element may send the location information of the terminal device to the second network open function network element through the service interface. The first location management function network element may also send at least one of the second transaction number and the first information to the second network open function network element.
通过上述步骤1101-步骤1103或者步骤1104,第二网络开放功能网元可以接收第一位置管理功能网元发送的终端设备的位置信息。Through the above steps 1101 to 1103 or step 1104, the second network opening function network element may receive the location information of the terminal device sent by the first location management function network element.
步骤704:第二网络开放功能网元将位置信息发送给第一网络开放功能网元,第一网络开放功能网元接收第二网络开放功能网元发送的终端设备的位置信息。Step 704: The second network opening function network element sends the location information to the first network opening function network element, and the first network opening function network element receives the location information of the terminal device sent by the second network opening function network element.
这里的终端设备的位置信息可以包括终端设备的位置和计算精度等信息。第二网络开放功能网元可以根据第二事务号和第一信息中的至少一个确定对应的第一网络的标识。例如,第二网络开放功能网元可以根据第二事务号查找关联关系,确定该第二事务号对应的第一网络的标识。第二网络开放功能网元还可以根据该第二事务号确定对应的第一事务号。第二网络开放功能网元还可以将第一事务号、第二事务号、第一网络的标识和第一信息中的至少一个发送给第一网络开放功能网元。The location information of the terminal device here may include information such as the location and calculation accuracy of the terminal device. The second network opening function network element may determine the identifier of the corresponding first network according to at least one of the second transaction number and the first information. For example, the network element with the second network opening function may search the association relationship according to the second transaction number, and determine the identifier of the first network corresponding to the second transaction number. The second network open function network element may also determine the corresponding first transaction number according to the second transaction number. The second network opening function network element may also send at least one of the first transaction number, the second transaction number, the identifier of the first network, and the first information to the first network opening function network element.
步骤705:第一网络开放功能网元将终端设备的位置信息携带在与位置请求消息对应的位置请求响应中,并发送位置请求响应。Step 705: The first network opening function network element carries the location information of the terminal device in the location request response corresponding to the location request message, and sends the location request response.
其中,如果位置请求消息是终端设备发送的,则第一网络开放功能网元可以将该位置请求响应发送给管理该终端设备的第一网络的接入与管理功能网元。如果该位置请求消息是AF发送的,则第一网络开放功能网元可以将位置请求响应发送给AF。Wherein, if the location request message is sent by the terminal device, the first network opening function network element may send the location request response to the access and management function network element of the first network that manages the terminal device. If the location request message is sent by the AF, the first network open function network element may send the location request response to the AF.
在一个实施例中,如果第二网络开放功能网元还发送了第一事务号、第二事务号、第一网络的标识和第一信息中的至少一个,第一网络开放功能网元可以确定该位置请求响应是否有效。例如,第二网络开放功能网元还发送了第一事务号和第一网络的标识,则第一网络开放功能网元可以确定第一网络的标识是否是自身的标识,还可以确定第一网络的标识和第一事务号的对应关系是否正确,在确定第一网络的标识是自身的标识,以及确定第一网络的标识和第一事务号的对应关系正确时,可以将位置信息携带在位置请求响应中,并发送该位置请求响应。In one embodiment, if the second network open function network element also sends at least one of the first transaction number, the second transaction number, the identifier of the first network, and the first information, the first network open function network element may determine that Whether the location request response is valid. For example, if the network element with the second network opening function also sends the first transaction number and the identifier of the first network, the network element with the first network opening function can determine whether the identifier of the first network is its own identifier, and can also determine whether the identifier of the first network is the identifier of the first network. Whether the corresponding relationship between the identity of the first network and the first transaction number is correct, when it is determined that the identity of the first network is its own identity, and when it is determined that the corresponding relationship between the identity of the first network and the first transaction number is correct, the location information can be carried in the location information. request response, and send the location request response.
以下,通过具体实施例介绍本申请实施例提供的通信方法。Hereinafter, the communication methods provided by the embodiments of the present application are introduced through specific embodiments.
实施例一Example 1
如图12所示,是终端设备发起定位请求时的通信方法的示例性流程图,可以包括以下步骤:As shown in FIG. 12, it is an exemplary flowchart of a communication method when a terminal device initiates a positioning request, which may include the following steps:
步骤1201:若终端设备处于连接空闲态,则终端设备需建立终端设备与接入与管理功能网元之间的信令连接。Step 1201: If the terminal device is in a connection idle state, the terminal device needs to establish a signaling connection between the terminal device and the access and management function network element.
如果终端设备已经于接入与管理功能网元建立信令连接,则终端设备可以执行步骤 902。这里的终端设备位于第一网络中,由第一网络为终端设备提供通信服务,该接入与管理功能网元为第一网络中的网元。If the terminal device has established a signaling connection with the access and management function network element, the terminal device may perform step 902. The terminal device here is located in the first network, the first network provides the terminal device with a communication service, and the network element of the access and management function is a network element in the first network.
步骤1202:终端设备发送位置请求消息给接入与管理功能网元。Step 1202: The terminal device sends a location request message to the access and management function network element.
步骤1203:接入与管理功能网元将位置请求消息发送给第一网络开放功能网元。Step 1203: The access and management function network element sends a location request message to the first network open function network element.
其中,接入与管理功能网元可以获取终端设备在第一网络的标识,并将该终端设备在第一网络的标识发送给第一网络开放功能网元。Wherein, the access and management function network element may acquire the identification of the terminal device in the first network, and send the identification of the terminal device in the first network to the first network open function network element.
步骤1204:第一开放功能网元根据位置请求消息生成第一事务号。Step 1204: The first open function network element generates a first transaction number according to the location request message.
这里的第一事务号用于标识终端设备的服务请求,详细描述可以参见如图7所示的方法实施例中的相关描述,此处不再赘述。The first transaction number here is used to identify the service request of the terminal device. For a detailed description, please refer to the relevant description in the method embodiment shown in FIG. 7 , which will not be repeated here.
步骤1205:第一开放功能网元向第二开放功能网元发送第一请求消息。Step 1205: The first open function network element sends a first request message to the second open function network element.
这里的第一请求消息中可以包括第一网络的标识,第一请求消息可以用于请求第二网络确定终端设备的位置信息。其中,该第一请求消息中也可以包含第一事务号。The first request message here may include the identifier of the first network, and the first request message may be used to request the second network to determine the location information of the terminal device. Wherein, the first request message may also include the first transaction number.
步骤1206:第二开放功能网元根据第一请求消息生成第二事务号。Step 1206: The second open function network element generates a second transaction number according to the first request message.
其中,第二事务号可以用于标识第一网络的服务请求,详细描述可以参见如图7所示的方法实施例中的相关描述,此处不再赘述。The second transaction number may be used to identify the service request of the first network. For a detailed description, please refer to the relevant description in the method embodiment shown in FIG. 7 , which will not be repeated here.
步骤1207:第二开放功能网元向网关移动位置中心发送第二事务号和第一信息中的至少一个,以及第一网络的标识。Step 1207: The second open function network element sends at least one of the second transaction number and the first information, and the identifier of the first network to the gateway mobile location center.
这里的第一信息用于标识终端设备,但该第一信息与终端设备在第一网络的标识不同。其中,第一信息可以包含第一标识和第一指示中的至少一个,详细描述可以参见如图7所示的方法实施例中的相关描述,此处不再赘述。The first information here is used to identify the terminal device, but the first information is different from the identification of the terminal device in the first network. The first information may include at least one of a first identifier and a first indication. For a detailed description, please refer to the relevant description in the method embodiment shown in FIG. 7 , which will not be repeated here.
步骤1208:网关移动位置中心向统一数据管理功能网元发送第一网络的标识。Step 1208: The gateway mobile location center sends the identifier of the first network to the unified data management function network element.
由于网关移动位置中心网元根据第二事务号和第一信息中的至少一个确定需要为第一网络提供服务后,可以根据第一网络的标识做权限认证,因此可以向统一数据管理功能网元发送第一网络的标识。Since the gateway mobile location center network element determines that it needs to provide services for the first network according to at least one of the second transaction number and the first information, it can perform authority authentication according to the identity of the first network, so it can report to the unified data management function network element The identity of the first network is sent.
步骤1209:统一数据管理功能网元根据该第一网络的标识查看第一网络的签约数据,在确定该第一网络具有获取定位服务的权限时,为第一网络选择接入与移动管理功能网元。Step 1209: The unified data management function network element checks the subscription data of the first network according to the identity of the first network, and selects an access and mobility management function network for the first network when it is determined that the first network has the right to obtain the location service Yuan.
统一数据管理功能网元可以根据第一网络的标识做权限认证,为第一网络选择接入与管理功能网元。其中,可以选择默认的接入与移动管理功能网元。或者,可以选择可以为第一网络提供服务的接入与移动管理功能网元。The unified data management function network element may perform authority authentication according to the identity of the first network, and select the access and management function network element for the first network. Among them, the default access and mobility management function network element can be selected. Alternatively, an access and mobility management function network element that can serve the first network may be selected.
步骤1210:统一数据管理功能网元将选择的接入与管理功能网元的标识或地址发送给网关移动位置中心网元。Step 1210: The unified data management function network element sends the selected identification or address of the access and management function network element to the gateway mobile location center network element.
步骤1211:网关移动位置中心网元向接入与管理功能网元发送第二事务号和第一信息中的至少一个。Step 1211: The gateway mobile location center network element sends at least one of the second transaction number and the first information to the access and management function network element.
其中,网关移动位置中心网元可以根据统一数据管理功能网元反馈的接入与管理功能网元的标识或地址,向对应的接入与管理功能网元发送第二事务号和第一信息中的至少一个。The gateway mobile location center network element may send the second transaction number and the first information to the corresponding access and management function network element according to the identifier or address of the access and management function network element fed back by the unified data management function network element. at least one of.
步骤1212:接入与管理功能网元根据所述第二事务号和第一信息中的至少一个,选择第一位置管理功能网元。Step 1212: The access and management function network element selects the first location management function network element according to at least one of the second transaction number and the first information.
其中,接入与管理功能网元可以选择默认的第一位置管理功能网元,或者接入与管理功能网元可以根据第二事务号和第一信息中的至少一个,选择可以为第一网络提供服务的 第一位置管理功能网元。The access and management function network element may select the default first location management function network element, or the access and management function network element may select the first network element according to at least one of the second transaction number and the first information The first location management function network element that provides the service.
步骤1213:接入与管理功能网元向第一位置管理功能网元发送第三请求消息。Step 1213: The access and management function network element sends a third request message to the first location management function network element.
步骤1214:第一位置管理功能网元收集定位所需的数据,并确定终端设备的位置信息。Step 1214: The first location management function network element collects data required for positioning, and determines the location information of the terminal device.
其中,终端设备的位置信息可以包含终端设备的位置和计算精度等信息。第一位置管理功能网元可以通过如图10所示的流程获取定位所需的数据。The location information of the terminal device may include information such as the location and calculation accuracy of the terminal device. The network element with the first location management function may obtain data required for positioning through the process shown in FIG. 10 .
步骤1215:第一位置管理功能网元将终端设备的位置信息发送给接入与管理功能网元。Step 1215: The first location management function network element sends the location information of the terminal device to the access and management function network element.
可选的,第一位置管理功能网元可以将终端设备的位置信息携带在第三请求消息的第三响应消息中。或者,第一位置管理功能网元可以向接入与管理功能王元芳阿松第二事务号和第一信息中的至少一个。Optionally, the first location management function network element may carry the location information of the terminal device in the third response message of the third request message. Alternatively, the network element of the first location management function may report at least one of the second transaction number and the first information to the access and management function Wang Yuanfang Asong.
步骤1216:接入与管理功能网元将终端设备的位置信息发送给网关移动位置中心网元。Step 1216: The access and management function network element sends the location information of the terminal device to the gateway mobile location center network element.
其中,接入与管理功能网元还可以将第一信息和第二事务号中的至少一个发送给网关移动位置中心网元。The access and management function network element may also send at least one of the first information and the second transaction number to the gateway mobile location center network element.
步骤1217:网关移动位置中心网元将终端设备的位置信息发送给第二网络开放功能网元。Step 1217: The gateway mobile location center network element sends the location information of the terminal device to the second network open function network element.
这里的终端设备的位置信息可以包括终端设备的位置和计算精度等信息。网关移动位置中心网元还可以将第二事务号和第一信息中的至少一个发送给第二网络开放功能网元。The location information of the terminal device here may include information such as the location and calculation accuracy of the terminal device. The gateway mobile location center network element may also send at least one of the second transaction number and the first information to the second network open function network element.
步骤1218:第二网络开放功能网元将位置信息发送给第一网络开放功能网元。Step 1218: The second network opening function network element sends the location information to the first network opening function network element.
其中,第二网络开放功能网元可以根据第二事务号和第一信息中的至少一个确定对应的第一网络的标识,将位置信息发送给第一网络开放功能网元。可选的,第二网络功能开放功能网元还可以将第二事务号、第一事务号、第一网络的标识和第一信息中的至少一个发送给第一网络开放功能网元。Wherein, the second network opening function network element may determine the identifier of the corresponding first network according to at least one of the second transaction number and the first information, and send the location information to the first network opening function network element. Optionally, the second network function opening function network element may also send at least one of the second transaction number, the first transaction number, the identifier of the first network, and the first information to the first network function opening function network element.
步骤1219:第一网络开放功能网元将终端设备的位置信息携带在与位置请求消息对应的位置请求响应中,并发送位置请求响应。Step 1219: The first network opening function network element carries the location information of the terminal device in the location request response corresponding to the location request message, and sends the location request response.
可选的,第一网络开放功能网元还可以根据第二事务号、第一事务号、第一网络的标识和第一信息中的至少一个确定终端设备在第一网络的标识。第一网络开放功能网元可以将该位置信息发送给接入与管理功能网元。第一网络开放功能网元还可以将该终端设备在第一网络的标识发送给接入与管理功能网元。Optionally, the first network opening function network element may further determine the identifier of the terminal device on the first network according to at least one of the second transaction number, the first transaction number, the identifier of the first network, and the first information. The first network opening function network element may send the location information to the access and management function network element. The first network opening function network element may also send the identification of the terminal device in the first network to the access and management function network element.
步骤1220:接入与管理功能网元可以将位置信息发送给对应的终端设备。Step 1220: The access and management function network element may send the location information to the corresponding terminal equipment.
其中,接入与管理功能网元可以根据终端设备的在第一网络的标识将位置信息发送给对应的终端设备。The access and management function network element may send the location information to the corresponding terminal device according to the identification of the terminal device in the first network.
实施例二Embodiment 2
如图13所示,为应用层功能网元发起定位服务请求的通信方法的示例性流程图,可以包括以下步骤:As shown in FIG. 13 , an exemplary flowchart of a communication method for initiating a location service request for an application layer functional network element may include the following steps:
步骤1301:应用层功能网元向第一网络开放功能网元发送位置请求消息。Step 1301: The application layer function network element sends a location request message to the first network open function network element.
其中,该位置请求消息用于请求终端设备的位置信息,该终端设备位于第一网络。该位置请求消息中可以包含终端设备在第一网络的标识。The location request message is used to request location information of a terminal device, and the terminal device is located in the first network. The location request message may include the identifier of the terminal device in the first network.
在实施例二中步骤1302-步骤1316可以与图12所示的步骤1204-步骤1218相同。这里不再重复赘述。In the second embodiment, steps 1302 to 1316 may be the same as steps 1204 to 1218 shown in FIG. 12 . It will not be repeated here.
步骤1317:第一网络开放功能网元将终端设备的位置信息携带在与位置请求消息对应 的位置请求响应中,并发送位置请求响应。Step 1317: The first network opening function network element carries the location information of the terminal device in the location request response corresponding to the location request message, and sends the location request response.
其中,第一网络开放功能网元可以将该位置请求响应发送给应用层功能网元。可选的该位置请求响应中还可以包含终端设备在第一网络中的标识。The first network opening function network element may send the location request response to the application layer function network element. Optionally, the location request response may also include an identifier of the terminal device in the first network.
实施例三Embodiment 3
如图14所示,为终端设备发起定位服务请求的通信方法的示例性流程图,可以包括以下步骤:As shown in FIG. 14, an exemplary flowchart of a communication method for initiating a location service request for a terminal device may include the following steps:
在实施例三中步骤1401-步骤1406可以与如图12所示的步骤1201-步骤1206相同,这里不再重复赘述。In the third embodiment, steps 1401 to 1406 may be the same as steps 1201 to 1206 shown in FIG. 12 , and details are not repeated here.
步骤1407:第二网络开放功能网元向统一数据管理功能网元发送第一网络的标识。Step 1407: The second network opening function network element sends the identifier of the first network to the unified data management function network element.
步骤1408:统一数据管理功能网元根据该第一网络的标识,查看第一网络的签约数据,确定该第一网络具有获取定位服务权限时,选择第一位置管理功能网元。Step 1408: The unified data management function network element checks the subscription data of the first network according to the identifier of the first network, and selects the first location management function network element when it is determined that the first network has the right to obtain the location service.
其中,统一数据管理功能网元可以选择默认的第一位置管理功能网元,或者可以根据第一网络的标识选择可以为第一网络提供服务的第一位置管理功能网元。The unified data management function network element may select the default first location management function network element, or may select the first location management function network element that can provide services for the first network according to the identifier of the first network.
步骤1409:统一数据管理功能网元将第一位置管理功能网元的标识或地址发送给第二网络开放功能网元。Step 1409: The unified data management function network element sends the identifier or address of the first location management function network element to the second network open function network element.
步骤1410:第二网络开放功能网元向第一位置管理功能网元发送第三请求消息。Step 1410: The second network opening function network element sends a third request message to the first location management function network element.
这里的第三请求消息用于请求第一位置管理功能网元确定终端设备的位置信息。该第三请求消息中可以包含第二事务号和第一信息中的至少一个。第二网络开放功能网元可以根据统一数据管理功能网元反馈的第一位置管理功能网元的标识或地址向第一位置管理功能网元发送第三请求消息。第二网络开放功能网元可以根据服务化接口向第一位置管理功能网元发送第三请求消息。The third request message here is used to request the first location management function network element to determine the location information of the terminal device. The third request message may contain at least one of the second transaction number and the first information. The second network opening function network element may send the third request message to the first location management function network element according to the identifier or address of the first location management function network element fed back by the unified data management function network element. The second network opening function network element may send a third request message to the first location management function network element according to the service-oriented interface.
步骤1411:第一位置管理功能网元收集定位所需的数据,并确定终端设备的位置信息。Step 1411: The first location management function network element collects data required for positioning, and determines the location information of the terminal device.
其中,终端设备的位置信息可以包含终端设备的位置和计算精度等信息。第一位置管理功能网元可以通过如图10所示的流程获取定位所需的数据。The location information of the terminal device may include information such as the location and calculation accuracy of the terminal device. The network element with the first location management function may obtain data required for positioning through the process shown in FIG. 10 .
步骤1412:第一位置管理功能网元将终端设备的位置信息发送给第二网络开放功能网元。Step 1412: The first location management function network element sends the location information of the terminal device to the second network open function network element.
其中,第一位置管理功能网元可以通过服务化接口将终端设备的位置信息发送给第二网络开放功能网元。The first location management function network element may send the location information of the terminal device to the second network open function network element through the service interface.
步骤1413:第二网络开放功能网元将位置信息发送给第一网络开放功能网元。Step 1413: The second network opening function network element sends the location information to the first network opening function network element.
其中,第二网络开放功能网元可以根据第二事务号和第一信息中的至少一个确定对应的第一网络的标识,将位置信息发送给第一网络开放功能网元。可选的,第二网络功能开放功能网元还可以将第二事务号、第一事务号、第一网络的标识和第一信息中的至少一个发送给第一网络开放功能网元。Wherein, the second network opening function network element may determine the identifier of the corresponding first network according to at least one of the second transaction number and the first information, and send the location information to the first network opening function network element. Optionally, the second network function opening function network element may also send at least one of the second transaction number, the first transaction number, the identifier of the first network, and the first information to the first network function opening function network element.
步骤1414:第一网络开放功能网元将终端设备的位置信息携带在与位置请求消息对应的位置请求响应中,并发送位置请求响应。Step 1414: The first network opening function network element carries the location information of the terminal device in the location request response corresponding to the location request message, and sends the location request response.
可选的,第一网络开放功能网元还可以根据第二事务号、第一事务号、第一网络的标识和第一信息中的至少一个确定终端设备在第一网络的标识。第一网络开放功能网元可以将该位置信息发送给接入与管理功能网元。第一网络开放功能网元还可以将该终端设备在第一网络的标识发送给接入与管理功能网元。Optionally, the first network opening function network element may further determine the identifier of the terminal device on the first network according to at least one of the second transaction number, the first transaction number, the identifier of the first network, and the first information. The first network opening function network element may send the location information to the access and management function network element. The first network opening function network element may also send the identification of the terminal device in the first network to the access and management function network element.
步骤1415:接入与管理功能网元可以将位置信息发送给对应的终端设备。Step 1415: The access and management function network element may send the location information to the corresponding terminal equipment.
其中,接入与管理功能网元可以根据终端设备的在第一网络的标识将位置信息发送给对应的终端设备。The access and management function network element may send the location information to the corresponding terminal device according to the identification of the terminal device in the first network.
实施例四Embodiment 4
如图15所示,为应用层功能网元发起定位服务请求的通信方法的示例性流程图,可以包括以下步骤:As shown in FIG. 15, an exemplary flowchart of a communication method for initiating a location service request for an application layer functional network element may include the following steps:
步骤1501:应用层功能网元向第一网络开放功能网元发送位置请求消息。Step 1501: The application layer function network element sends a location request message to the first network open function network element.
其中,该位置请求消息用于请求终端设备的位置信息,该终端设备位于第一网络。该位置请求消息中可以包含终端设备在第一网络的标识。The location request message is used to request location information of a terminal device, and the terminal device is located in the first network. The location request message may include the identifier of the terminal device in the first network.
步骤1502:第一开放功能网元根据位置请求消息生成第一事务号。Step 1502: The first open function network element generates a first transaction number according to the location request message.
这里的第一事务号用于标识终端设备的服务请求,详细描述可以参见如图7所示的方法实施例中的相关描述,此处不再赘述。The first transaction number here is used to identify the service request of the terminal device. For a detailed description, please refer to the relevant description in the method embodiment shown in FIG. 7 , which will not be repeated here.
步骤1503:第一开放功能网元向第二开放功能网元发送第一请求消息。Step 1503: The first open function network element sends a first request message to the second open function network element.
这里的第一请求消息中可以包括第一网络的标识,第一请求消息可以用于请求第二网络确定终端设备的位置信息。其中,该第一请求消息中也可以包含第一事务号。The first request message here may include the identifier of the first network, and the first request message may be used to request the second network to determine the location information of the terminal device. Wherein, the first request message may also include the first transaction number.
其中,第二事务号可以用于标识第一网络的服务请求,详细描述可以参见如图7所示的方法实施例中的相关描述,此处不再赘述。The second transaction number may be used to identify the service request of the first network. For a detailed description, please refer to the relevant description in the method embodiment shown in FIG. 7 , which will not be repeated here.
步骤1504:第二开放功能网元根据第一请求消息生成第二事务号。Step 1504: The second open function network element generates a second transaction number according to the first request message.
在实施例四中步骤1505-步骤1511可以与如图14所示的步骤1407-步骤1413相同,此处不再赘述。In the fourth embodiment, steps 1505 to 1511 may be the same as steps 1407 to 1413 shown in FIG. 14 , and details are not repeated here.
步骤1512:第一网络开放功能网元将终端设备的位置信息携带在与位置请求消息对应的位置请求响应中,并发送位置请求响应。Step 1512: The first network opening function network element carries the location information of the terminal device in the location request response corresponding to the location request message, and sends the location request response.
其中,第一网络开放功能网元可以将该位置请求响应发送给应用层功能网元。可选的该位置请求响应中还可以包含终端设备在第一网络中的标识。The first network opening function network element may send the location request response to the application layer function network element. Optionally, the location request response may also include an identifier of the terminal device in the first network.
与上述构思相同,如图16所示,本申请实施例还提供一种通信装置,可以实现前文所描述的通信方法。该装置1600可以包括通信单元1601和处理单元1602。可选的,还包括存储单元1603。该装置1600可以实现前文所述的通信方法中第一网络开放功能网元的功能。处理单元1602可以分别与存储单元1603和通信单元1601相连,所述存储单元1603也可以与通信单元1601相连。Similar to the above concept, as shown in FIG. 16 , an embodiment of the present application further provides a communication apparatus, which can implement the communication method described above. The apparatus 1600 may include a communication unit 1601 and a processing unit 1602 . Optionally, a storage unit 1603 is also included. The apparatus 1600 can implement the function of the first network opening function network element in the aforementioned communication method. The processing unit 1602 may be connected to the storage unit 1603 and the communication unit 1601 respectively, and the storage unit 1603 may also be connected to the communication unit 1601 .
所述存储单元1603,用于存储计算机程序;The storage unit 1603 is used to store computer programs;
示例的,所述通信单元1601可以接收用于请求终端设备的位置信息的位置请求消息。其中,终端设备与位置请求消息的描述可以参见如图7所示的方法实施例中的相关描述。Exemplarily, the communication unit 1601 may receive a location request message for requesting location information of the terminal device. For the description of the terminal device and the location request message, reference may be made to the related description in the method embodiment shown in FIG. 7 .
该通信单元1601还可以向第二网络的第二网络开放功能网元发送第一请求消息,以及接收第二网络开放功能网元发送的所述终端设备的位置信息。其中,第一请求消息以及终端设备的位置信息等描述可以参见上述如图7所示的方法实施例中的相关描述。The communication unit 1601 may also send the first request message to the second network opening function network element of the second network, and receive the location information of the terminal device sent by the second network opening function network element. For the description of the first request message and the location information of the terminal device, reference may be made to the relevant description in the method embodiment shown in FIG. 7 above.
所述通信单元1601还可以将所述终端设备的位置信息携带在与所述位置请求消息对应的位置请求响应中,并发送所述位置请求响应。其中,位置请求响应等描述可以参见上述如图7所示的方法实施例中的相关描述。The communication unit 1601 may further carry the location information of the terminal device in the location request response corresponding to the location request message, and send the location request response. For the description of the location request response and the like, reference may be made to the relevant description in the method embodiment shown in FIG. 7 above.
在一种可能的实现方式中,所述处理单元1602在接收所述位置请求消息之后,用于根据所述位置请求消息生成第一事务号。其中,所述第一事务号的描述可以参见上述如图7所示的方法实施例中的相关描述,重复之处不再赘述。所述通信单元1601在向所述第二网络开放功能网元发送第一请求消息时,可以向所述第二网络开放功能网元发送携带所述第一网络的标识和所述第一事务号的第一请求消息。In a possible implementation manner, after receiving the location request message, the processing unit 1602 is configured to generate a first transaction number according to the location request message. For the description of the first transaction number, reference may be made to the relevant description in the method embodiment shown in FIG. 7 above, and repeated descriptions will not be repeated. When sending the first request message to the second network open function network element, the communication unit 1601 may send the identifier of the first network and the first transaction number to the second network open function network element. the first request message.
在一种可能的实现方式中,所述通信单元1601在发送位置请求响应时,具体用于:从所述第二网络开放功能网元接收所述第一请求消息的第一响应消息。其中,所述第一响应消息的描述可以参见上述如图7所示的方法实施例中的相关描述。所述处理单元1602可以根据所述第一网络的标识、所述第一事务号、所述第二事务号和第一信息中的至少一个,确定所述终端设备在所述第一网络中的标识。其中,第二事务号和第一信息的描述可以参见上述如图7所示的方法实施例中的相关描述,重复之处不再赘述。In a possible implementation manner, when sending a location request response, the communication unit 1601 is specifically configured to: receive a first response message of the first request message from the second network opening function network element. For the description of the first response message, reference may be made to the relevant description in the method embodiment shown in FIG. 7 above. The processing unit 1602 may determine, according to at least one of the identifier of the first network, the first transaction number, the second transaction number, and the first information, the terminal device's status in the first network. logo. For the description of the second transaction number and the first information, reference may be made to the relevant descriptions in the above method embodiment shown in FIG. 7 , and repeated descriptions will not be repeated.
在一种可能的实现方式中,所述通信单元1601在向第二网络的第二网络开放功能网元发送第一请求消息之后,还可以接收所述第二网络开放功能网元发送的第二数据请求消息。其中,所述第二数据请求消息的描述可以参见上述如图7所示的方法实施例中的相关描述。所述通信单元1601可以向所述第二网络开放功能网元发送第二响应消息。其中,第二响应消息的描述可以参见上述如图7所示的方法实施例中的相关描述。In a possible implementation manner, after sending the first request message to the second network opening function network element of the second network, the communication unit 1601 may further receive a second request message sent by the second network opening function network element. Data request message. For the description of the second data request message, reference may be made to the relevant description in the method embodiment shown in FIG. 7 above. The communication unit 1601 may send a second response message to the second network open function network element. For the description of the second response message, reference may be made to the relevant description in the method embodiment shown in FIG. 7 above.
在一种可能的实现方式中,存储单元1603用于存储所述第一网络的标识、所述第一事务号、所述终端设备在所述第一网络的标识、所述第一信息和所述第二事务号中的至少两个的关联关系。In a possible implementation manner, the storage unit 1603 is configured to store the identifier of the first network, the first transaction number, the identifier of the terminal device in the first network, the first information and all The association relationship of at least two of the second transaction numbers is described.
其中,关于上述多个网元的描述可以参见如图7所示的方法实施例中的相关描述,此处不再赘述。For the description of the above-mentioned multiple network elements, reference may be made to the relevant description in the method embodiment shown in FIG. 7 , and details are not repeated here.
上述装置1600还可以为芯片,其中通信单元可以为芯片的输入/输出电路或者接口,处理单元可以为逻辑电路,逻辑电路可以根据上述方法方面所描述的步骤对待处理的数据进行处理,获取处理后的数据。The above-mentioned device 1600 may also be a chip, wherein the communication unit may be an input/output circuit or an interface of the chip, and the processing unit may be a logic circuit. The data.
与上述构思相同,如图17所示,本申请实施例还提供一种通信装置,可以实现前文所描述的通信方法。该装置1730可以包括通信单元1731和处理单元1732。可选的,还包括存储单元1733。该装置1730可以实现前文所述的通信方法中第一网络开放功能网元的功能。处理单元1732可以分别与存储单元1733和通信单元1731相连,所述存储单元1733也可以与通信单元1731相连。Similar to the above concept, as shown in FIG. 17 , an embodiment of the present application further provides a communication apparatus, which can implement the communication method described above. The apparatus 1730 may include a communication unit 1731 and a processing unit 1732 . Optionally, a storage unit 1733 is also included. The apparatus 1730 may implement the function of the first network opening function network element in the foregoing communication method. The processing unit 1732 may be connected to the storage unit 1733 and the communication unit 1731 respectively, and the storage unit 1733 may also be connected to the communication unit 1731 .
所述存储单元1733,用于存储计算机程序;The storage unit 1733 is used to store computer programs;
示例的,所述通信单元1731接收第一网络的第一网络开放功能网元发送的第一请求消息。其中,第一请求消息的描述可以参见如图7所示的方法实施例中的相关描述。通信单元1731还可以接收所述第二网络的第一位置管理功能网元确定的所述位置信息,并将所述位置信息发送给所述第一网络开放功能网元。其中,终端设备的位置信息的描述可以参见上述方法实施例中的相关描述。Exemplarily, the communication unit 1731 receives the first request message sent by the first network opening function network element of the first network. For the description of the first request message, reference may be made to the relevant description in the method embodiment shown in FIG. 7 . The communication unit 1731 may also receive the location information determined by the first location management function network element of the second network, and send the location information to the first network opening function network element. For the description of the location information of the terminal device, reference may be made to the relevant descriptions in the foregoing method embodiments.
在一种可能的实现方式中,处理单元1732可以根据所述第一事务号和所述第一网络的标识,生成第二事务号。其中,第一事务号、第二事务号和第一网络的标识的描述可以参见如图7所示的方法实施例中的相关描述。In a possible implementation manner, the processing unit 1732 may generate the second transaction number according to the first transaction number and the identifier of the first network. For the description of the first transaction number, the second transaction number, and the identifier of the first network, reference may be made to the relevant description in the method embodiment shown in FIG. 7 .
在一种可能的实现方式中,所述通信单元1731可以在接收第一网络的第一网络开放 功能网元发送的第一请求消息之后,向所述第二网络的网关移动位置中心网元发送第二事务号和第一信息中的至少一个,以及所述第一网络的标识,使所述网关移动位置中心网元通过所述第二网络的接入与移动管理功能网元向所述第二网络的第一位置管理功能网元发送第三请求消息。其中,第三请求消息的描述可以参见如图7所示的方法实施例中的相关描述。In a possible implementation manner, after receiving the first request message sent by the first network open function network element of the first network, the communication unit 1731 may send the message to the gateway mobile location center network element of the second network At least one of the second transaction number and the first information, and the identifier of the first network, enable the gateway mobile location center network element to report to the first network element through the access and mobility management function network element of the second network. The first location management function network element of the second network sends the third request message. For the description of the third request message, reference may be made to the related description in the method embodiment shown in FIG. 7 .
在一种可能的实现方式中,所述通信单元1731在接收第一网络的第一网络开放功能网元发送的第一请求消息之后,向所述第二网络的第一位置管理功能网元发送第三请求消息。其中,第三请求消息的描述可以参见如图7所示的方法实施例中的相关描述。In a possible implementation manner, after receiving the first request message sent by the first network open function network element of the first network, the communication unit 1731 sends the first request message to the first location management function network element of the second network The third request message. For the description of the third request message, reference may be made to the related description in the method embodiment shown in FIG. 7 .
在一种可能的实现方式中,所述通信单元1731接收第一数据请求消息。所述处理单元1732用于根据所述第二事务号和第一信息中的至少一个确定所述第一网络的标识。所述通信单元1731用于向所述第一网络开放功能网元发送第二数据请求消息。其中,所述第一数据请求消息和第二数据请求消息的描述可以参见如图7所示的方法实施例中的相关描述,此处不再赘述。In a possible implementation manner, the communication unit 1731 receives the first data request message. The processing unit 1732 is configured to determine the identifier of the first network according to at least one of the second transaction number and the first information. The communication unit 1731 is configured to send a second data request message to the first network open function network element. For the description of the first data request message and the second data request message, reference may be made to the relevant descriptions in the method embodiment shown in FIG. 7 , and details are not repeated here.
在一种可能的实现方式中,所述处理单元1732用于根据所述第二事务号查找对应的第一网络的标识。所述通信单元1731在将所述位置信息发送给所述第一网络开放功能网元时,将所述位置信息发送给所述第一网络的第一网络开放功能网元。In a possible implementation manner, the processing unit 1732 is configured to search for the identifier of the corresponding first network according to the second transaction number. When sending the location information to the first network opening function network element, the communication unit 1731 sends the location information to the first network opening function network element of the first network.
其中,关于上述多个网元的描述可以参见如图7所示的方法实施例中的相关描述,此处不再赘述。For the description of the above-mentioned multiple network elements, reference may be made to the relevant description in the method embodiment shown in FIG. 7 , and details are not repeated here.
上述装置1730还可以为芯片,其中通信单元可以为芯片的输入/输出电路或者接口,处理单元可以为逻辑电路,逻辑电路可以根据上述方法方面所描述的步骤对待处理的数据进行处理,获取处理后的数据。The above-mentioned device 1730 can also be a chip, wherein the communication unit can be an input/output circuit or an interface of the chip, and the processing unit can be a logic circuit, and the logic circuit can process the data to be processed according to the steps described in the above method. The data.
与上述构思相同,本申请实施例还提供一种通信装置。如图18所示,为本申请实施例提供的装置的结构示意图。该装置1800包括至少一个处理器1820,用于实现本申请实施例提供的方法中的功能。装置1800还可以包括通信接口1810。在本申请实施例中,通信接口可以是收发器、电路、总线、模块或其它类型的通信接口,用于通过传输介质和其它设备进行通信。例如,通信接口1810用于装置1800中的装置可以和其它设备进行通信。所述处理器1820可以完成如图16所示的处理单元1602的功能或者可以完成如图17所示的处理单元1702的功能,所述通信接口1810可以完成如图16所示的通信单元1601的功能或者可以完成如图17所示的通信单元1701的功能。Similar to the above concept, an embodiment of the present application further provides a communication device. As shown in FIG. 18 , it is a schematic structural diagram of an apparatus provided in an embodiment of the present application. The apparatus 1800 includes at least one processor 1820, configured to implement the functions in the methods provided in the embodiments of the present application. The apparatus 1800 may also include a communication interface 1810 . In this embodiment of the present application, the communication interface may be a transceiver, a circuit, a bus, a module or other types of communication interfaces, which are used to communicate with other devices through a transmission medium. For example, the communication interface 1810 is used by the apparatus in the apparatus 1800 to communicate with other devices. The processor 1820 can complete the functions of the processing unit 1602 shown in FIG. 16 or the functions of the processing unit 1702 shown in FIG. 17 , and the communication interface 1810 can complete the functions of the communication unit 1601 shown in FIG. 16 . The function may alternatively complete the function of the communication unit 1701 as shown in FIG. 17 .
通信装置1800还可以包括至少一个存储器1830,用于存储程序指令和/或数据。存储器1830和处理器1820耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。处理器1820可能和存储器1830协同操作。处理器1820可能执行存储器1830中存储的程序指令。所述至少一个存储器中的至少一个可以包括于处理器中。 Communication apparatus 1800 may also include at least one memory 1830 for storing program instructions and/or data. Memory 1830 and processor 1820 are coupled. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. Processor 1820 may cooperate with memory 1830. Processor 1820 may execute program instructions stored in memory 1830 . At least one of the at least one memory may be included in the processor.
本申请实施例中不限定上述通信接口1810、处理器1820以及存储器1830之间的具体连接介质。本申请实施例在图18中以存储器1830、处理器1820以及通信接口1810之间通过总线1840连接,总线在图18中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不引以为限。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图18中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The specific connection medium between the communication interface 1810, the processor 1820, and the memory 1830 is not limited in the embodiments of the present application. In the embodiment of the present application, the memory 1830, the processor 1820, and the communication interface 1810 are connected through a bus 1840 in FIG. 18. The bus is represented by a thick line in FIG. 18, and the connection between other components is only for schematic illustration. , is not limited. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is shown in FIG. 18, but it does not mean that there is only one bus or one type of bus.
上述装置可以执行本申请实施例描述的通信方法,具体实现和技术效果请参考前文,此处不再赘述。The above device can execute the communication method described in the embodiments of the present application. For specific implementation and technical effects, please refer to the foregoing description, which will not be repeated here.
作为本实施例的另一种形式,提供一种计算机可读存储介质,其上存储有指令,该指令被执行时执行上述方法实施例中所述的方法。As another form of this embodiment, a computer-readable storage medium is provided, on which instructions are stored, and when the instructions are executed, the methods described in the above method embodiments are performed.
作为本实施例的另一种形式,提供一种包含指令的计算机程序产品,该指令被执行时执行上述方法实施例中所述的方法。As another form of this embodiment, a computer program product including instructions is provided, and when the instructions are executed, the methods described in the above method embodiments are performed.
作为本实施例的另一种形式,提供一种通信***,可以包括如图16所示的通信装置如图17所示的通信装置。As another form of this embodiment, a communication system is provided, which may include the communication apparatus shown in FIG. 16 and the communication apparatus shown in FIG. 17 .
应理解,本发明实施例中提及的处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor mentioned in the embodiments of the present invention may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application-specific integrated circuits ( Application Specific Integrated Circuit, ASIC), off-the-shelf Programmable Gate Array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
还应理解,本发明实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。It should also be understood that the memory mentioned in the embodiments of the present invention may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory may be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synchlink DRAM, SLDRAM) ) and direct memory bus random access memory (Direct Rambus RAM, DR RAM).
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)集成在处理器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, the memory (storage module) is integrated in the processor.
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present invention. implementation constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的***、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组 件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (31)

  1. 一种通信方法,其特征在于,包括:A communication method, comprising:
    第一网络的第一网络开放功能网元接收用于请求终端设备的位置信息的位置请求消息;所述终端设备位于所述第一网络;The first network opening function network element of the first network receives a location request message for requesting location information of a terminal device; the terminal device is located in the first network;
    所述第一网络开放功能网元向第二网络的第二网络开放功能网元发送第一请求消息;所述第一请求消息包含所述第一网络的标识;所述第一请求消息用于请求所述第二网络确定所述终端设备的位置信息;The first network opening function network element sends a first request message to the second network opening function network element of the second network; the first request message includes the identifier of the first network; the first request message is used for requesting the second network to determine the location information of the terminal device;
    所述第一网络开放功能网元接收所述第二网络开放功能网元发送的所述终端设备的位置信息;receiving, by the first network opening function network element, the location information of the terminal device sent by the second network opening function network element;
    所述第一网络开放功能网元将所述终端设备的位置信息携带在与所述位置请求消息对应的位置请求响应中,并发送所述位置请求响应。The first network opening function network element carries the location information of the terminal device in a location request response corresponding to the location request message, and sends the location request response.
  2. 根据权利要求1所述的方法,其特征在于,所述第一网络开放功能网元接收所述位置请求消息之后,还包括:The method according to claim 1, wherein after the first network open function network element receives the location request message, the method further comprises:
    所述第一网络开放功能网元根据所述位置请求消息生成第一事务号;所述第一事务号用于标识所述终端设备的服务请求;The first network opening function network element generates a first transaction number according to the location request message; the first transaction number is used to identify the service request of the terminal device;
    所述第一网络开放功能网元向所述第二网络开放功能网元发送第一请求消息,包括:The first network opening function network element sends a first request message to the second network opening function network element, including:
    所述第一网络开放功能网元向所述第二网络开放功能网元发送携带所述第一网络的标识和所述第一事务号的第一请求消息。The first network opening function network element sends a first request message carrying the identifier of the first network and the first transaction number to the second network opening function network element.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一请求消息中还包含第一信息;所述第一信息用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识。The method according to claim 1 or 2, wherein the first request message further includes first information; the first information is used to identify the terminal device, and the first information is different from the The identifier of the terminal device in the first network.
  4. 根据权利要求3所述的方法,其特征在于,所述第一信息是设置值;或者,不同的终端设备的所述第一信息不同;或者,所述第一信息包含所述第一网络的标识,以及不同的终端设备的所述第一信息不同。The method according to claim 3, wherein the first information is a setting value; or, the first information of different terminal devices is different; or, the first information includes the first information of the first network. The identifier, and the first information of different terminal devices are different.
  5. 根据权利要求1-4任一所述的方法,其特征在于,所述第一网络开放功能网元将所述终端设备的位置信息携带在所述位置请求消息的位置请求响应中,并发送所述位置请求响应,包括:The method according to any one of claims 1-4, wherein the first network open function network element carries the location information of the terminal device in a location request response of the location request message, and sends the location information of the terminal device. The above location request response, including:
    所述第一网络开放功能网元从所述第二网络开放功能网元接收所述第一请求消息的第一响应消息;所述第一响应消息中包含所述位置信息;The first network opening function network element receives a first response message of the first request message from the second network opening function network element; the first response message includes the location information;
    所述第一网络开放功能网元根据所述第一网络的标识、第一事务号、第二事务号和第一信息中的至少一个,确定所述终端设备在所述第一网络中的标识;所述第一事务号用于标识所述终端设备的服务请求;所述第二事务号用于标识所述第一网络的服务请求;所述第一信息用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识;The first network open function network element determines the identifier of the terminal device in the first network according to at least one of the identifier of the first network, the first transaction number, the second transaction number and the first information ; the first transaction number is used to identify the service request of the terminal device; the second transaction number is used to identify the service request of the first network; the first information is used to identify the terminal device, the the first information is different from the identification of the terminal device in the first network;
    所述第一网络开放功能网元根据所述终端设备在所述第一网络中的标识,发送所述位置请求响应;所述位置请求响应中包括所述位置信息。The first network opening function network element sends the location request response according to the identifier of the terminal device in the first network; the location request response includes the location information.
  6. 根据权利要求1-5任一所述的方法,其特征在于,所述第一网络开放功能网元向第二网络的第二网络开放功能网元发送第一请求消息之后,还包括:The method according to any one of claims 1-5, wherein after the first network opening function network element sends the first request message to the second network opening function network element of the second network, the method further comprises:
    所述第一网络开放功能网元接收所述第二网络开放功能网元发送的第二数据请求消 息,所述第二数据请求消息包括第一事务号、所述第一网络的标识、第二事务号和第一信息中的至少一个;所述第二数据请求消息用于请求获取定位所需的数据,所述第一事务号用于标识所述终端设备的服务请求;所述第二事务号用于标识所述第一网络的服务请求;所述第一信息用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识;The first network opening function network element receives a second data request message sent by the second network opening function network element, where the second data request message includes a first transaction number, an identifier of the first network, and a second data request message. at least one of a transaction number and first information; the second data request message is used to request data required for positioning, and the first transaction number is used to identify a service request of the terminal device; the second transaction The number is used to identify the service request of the first network; the first information is used to identify the terminal device, and the first information is different from the identification of the terminal device in the first network;
    所述第一网络开放功能网元向所述第二网络开放功能网元发送第二响应消息;所述第二响应消息包括所述定位所需的数据。The first network opening function network element sends a second response message to the second network opening function network element; the second response message includes the data required for the positioning.
  7. 根据权利要求5或6所述的方法,其特征在于,还包括:The method according to claim 5 or 6, further comprising:
    所述第一网络开放功能网元存储所述第一网络的标识、所述第一事务号、所述终端设备在所述第一网络的标识、所述第一信息和所述第二事务号中的至少两个的关联关系。The first network opening function network element stores the identifier of the first network, the first transaction number, the identifier of the terminal device in the first network, the first information and the second transaction number relationship between at least two of them.
  8. 一种通信方法,其特征在于,包括:A communication method, comprising:
    第二网络的第二网络开放功能网元接收来自第一网络的第一网络开放功能网元的第一请求消息;所述第一请求消息包含所述第一网络的标识;所述第一请求消息用于请求所述第二网络确定终端设备的位置信息;所述终端设备位于所述第一网络;The second network open function network element of the second network receives a first request message from the first network open function network element of the first network; the first request message includes the identifier of the first network; the first request The message is used to request the second network to determine the location information of the terminal device; the terminal device is located in the first network;
    所述第二网络开放功能网元接收所述第二网络的第一位置管理功能网元确定的所述位置信息;The second network opening function network element receives the location information determined by the first location management function network element of the second network;
    所述第二网络开放功能网元将所述位置信息发送给所述第一网络开放功能网元。The second network opening function network element sends the location information to the first network opening function network element.
  9. 根据权利要求8所述的方法,其特征在于,所述第一请求消息中还包含第一事务号;所述第一事务号用于标识所述终端设备的服务请求;The method according to claim 8, wherein the first request message further includes a first transaction number; the first transaction number is used to identify the service request of the terminal device;
    所述第二网络开放功能网元根据所述第一事务号和所述第一网络的标识,生成第二事务号;所述第二事务号用于标识所述第一网络的服务请求。The second network opening function network element generates a second transaction number according to the first transaction number and the identifier of the first network; the second transaction number is used to identify the service request of the first network.
  10. 根据权利要求9所述的方法,其特征在于,所述第二网络的第二网络开放功能网元接收第一网络的第一网络开放功能网元发送的第一请求消息之后,还包括:The method according to claim 9, wherein after the second network opening function network element of the second network receives the first request message sent by the first network opening function network element of the first network, the method further comprises:
    所述第二网络开放功能网元向所述第二网络的网关移动位置中心网元发送所述第二事务号和第一信息中的至少一个,以及所述第一网络的标识,使所述网关移动位置中心网元通过所述第二网络的接入与移动管理功能网元向所述第二网络的第一位置管理功能网元发送第三请求消息;所述第三请求消息用于请求所述第一位置管理功能网元确定所述终端设备的位置信息;所述第一位置管理功能网元是所述接入与移动管理功能网元根据所述第二事务号和第一信息中的至少一个选择的;所述第一信息用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识。The second network open function network element sends at least one of the second transaction number and the first information, and the identifier of the first network to the gateway mobile location center network element of the second network, so that the The gateway mobile location center network element sends a third request message to the first location management function network element of the second network through the access and mobility management function network element of the second network; the third request message is used to request The first location management function network element determines the location information of the terminal device; the first location management function network element is the access and mobility management function network element according to the second transaction number and the first information. At least one of the selected information; the first information is used to identify the terminal device, and the first information is different from the identification of the terminal device in the first network.
  11. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:
    所述第二网络开放功能网元从所述第二网络的统一数据管理功能网元接收所述第二网络的第一位置管理功能网元的标识或地址;The second network opening function network element receives the identifier or address of the first location management function network element of the second network from the unified data management function network element of the second network;
    所述第二网络开放功能网元根据所述标识或地址确定所述第一位置管理功能网元;The second network opening function network element determines the first location management function network element according to the identifier or address;
    所述第二网络开放功能网元接收第一网络的第一网络开放功能网元发送的第一请求消息之后,还包括:After the second network opening function network element receives the first request message sent by the first network opening function network element of the first network, the method further includes:
    所述第二网络开放功能网元向所述第一位置管理功能网元发送第三请求消息;所述第三请求消息用于请求所述第一位置管理功能网元确定所述终端设备的位置信息。The second network opening function network element sends a third request message to the first location management function network element; the third request message is used to request the first location management function network element to determine the location of the terminal device information.
  12. 根据权利要求11所述的方法,其特征在于,所述第一位置管理功能网元是所述第二网络的统一数据管理功能网元根据所述第一网络的标识查看所述第一网络的签约数据, 确定所述第一网络具有获取定位服务权限时选择的。The method according to claim 11, wherein the first location management function network element is a unified data management function network element of the second network to view the first network's information according to the identifier of the first network. The subscription data, which is selected when it is determined that the first network has the right to obtain the location service.
  13. 根据权利要求10所述的方法,其特征在于,所述第一信息是从所述第一网络开放功能网元接收的;或者,所述第一信息是所述第二网络开放功能网元根据所述第一网络的标识生成的。The method according to claim 10, wherein the first information is received from the first network opening function network element; or, the first information is the second network opening function network element according to The identifier of the first network is generated.
  14. 根据权利要求10-13任一所述的方法,其特征在于,所述第一信息是设置值时,所述第一位置管理功能网元是根据所述第二事务号和所述第一信息确定的;或者The method according to any one of claims 10-13, wherein when the first information is a set value, the first location management function network element is based on the second transaction number and the first information certain; or
    不同的终端设备的所述第一信息不同时,所述第一位置管理功能网元是根据所述第二事务号和所述第一信息中的至少一个确定的;或者When the first information of different terminal devices is different, the first location management function network element is determined according to at least one of the second transaction number and the first information; or
    所述第一信息包含所述终端设备所属的所述第一网络的标识,以及不同的终端设备的所述第一信息不同时,所述第一位置管理功能网元是根据所述第二事务号和所述第一信息中的至少一个确定的。The first information includes the identifier of the first network to which the terminal device belongs, and when the first information of different terminal devices is different, the first location management function network element is based on the second transaction. number and at least one of the first information is determined.
  15. 根据权利要求10-14任一所述的方法,其特征在于,所述第二网络开放功能网元接收所述终端设备的位置信息之前,还包括:The method according to any one of claims 10-14, wherein before the second network opening function network element receives the location information of the terminal device, the method further comprises:
    所述第二网络开放功能网元接收第一数据请求消息,所述第一数据请求消息包含所述第二事务号和第一信息中的至少一个,所述第一数据请求消息用于获取定位所需的数据;The second network open function network element receives a first data request message, where the first data request message includes at least one of the second transaction number and first information, and the first data request message is used to obtain a location required data;
    所述第二网络开放功能网元根据所述第二事务号和第一信息中的至少一个确定所述第一网络的标识,并向所述第一网络开放功能网元发送第二数据请求消息;所述第二数据请求消息包含所述第一事务号、所述第一网络的标识、所述第二事务号和所述第一信息中的至少一个。The second network open function network element determines the identifier of the first network according to at least one of the second transaction number and the first information, and sends a second data request message to the first network open function network element ; the second data request message contains at least one of the first transaction number, the identifier of the first network, the second transaction number and the first information.
  16. 根据权利要求11-15任一所述的方法,其特征在于,所述第二网络开放功能网元将所述位置信息发送给所述第一网络开放功能网元,包括:The method according to any one of claims 11-15, wherein the sending, by the second network opening function network element, the location information to the first network opening function network element, comprises:
    所述第二网络开放功能网元根据所述第二事务号查找对应的第一网络的标识;The second network opening function network element searches for the identifier of the corresponding first network according to the second transaction number;
    所述第二网络开放功能网元将所述位置信息发送给所述第一网络开放功能网元。The second network opening function network element sends the location information to the first network opening function network element.
  17. 一种通信方法,其特征在于,包括:A communication method, comprising:
    统一数据管理功能网元接收第一网络的标识;所述统一数据管理功能网元位于第二网络;The unified data management function network element receives the identifier of the first network; the unified data management function network element is located in the second network;
    所述统一数据管理功能网元根据所述第一网络的标识,查看所述第一网络的签约数据;所述统一数据管理功能网元在确定所述第一网络具有获取定位服务权限时,为所述第一网络选择接入与移动管理功能网元;所述接入与移动管理功能网元用于向第一位置管理功能网元请求所述第一网络中的终端设备的位置信息;所述第一位置管理功能网元用于确定所述终端设备的位置信息;所述接入与移动管理功能网元和所述第一位置管理功能网元位于第二网络;或者,The unified data management function network element checks the subscription data of the first network according to the identifier of the first network; when the unified data management function network element determines that the first network has the right to obtain the location service, it is: The first network selects an access and mobility management function network element; the access and mobility management function network element is used to request the first location management function network element for the location information of the terminal equipment in the first network; The first location management function network element is used to determine the location information of the terminal device; the access and mobility management function network element and the first location management function network element are located in the second network; or,
    所述统一数据管理功能网元根据所述第一网络的标识,查看所述第一网络的签约数据;所述统一数据管理功能网元在确定所述第一网络具有获取定位服务权限时,为所述第一网络选择第一位置管理功能网元;所述第一位置管理功能网元用于确定所述第一网络中的终端设备的位置信息;所述第一位置管理功能网元位于第二网络。The unified data management function network element checks the subscription data of the first network according to the identifier of the first network; when the unified data management function network element determines that the first network has the right to obtain the location service, it is: The first network selects a first location management function network element; the first location management function network element is used to determine the location information of the terminal equipment in the first network; the first location management function network element is located in the first location management function network element. Second network.
  18. 一种通信方法,其特征在于,包括:A communication method, comprising:
    第一网络开放功能网元接收用于请求终端设备的位置信息的位置请求消息,所述终端设备和所述第一网络开放功能网元位于第一网络;The first network opening function network element receives a location request message for requesting location information of a terminal device, and the terminal device and the first network opening function network element are located in the first network;
    所述第一网络开放功能网元向第二网络开放功能网元发送第一请求消息;所述第一请 求消息包含所述第一网络的标识;所述第一请求消息用于请求第二网络确定所述终端设备的位置信息;The first network opening function network element sends a first request message to the second network opening function network element; the first request message includes the identifier of the first network; the first request message is used to request the second network determining the location information of the terminal device;
    所述第二网络中的网元确定所述第二网络中用于确定所述终端设备的位置信息的第一位置管理功能网元;The network element in the second network determines the first location management function network element in the second network for determining the location information of the terminal device;
    所述第一位置管理功能网元确定所述终端设备的位置信息;The first location management function network element determines the location information of the terminal device;
    所述第一位置管理功能网元将所述终端设备的位置信息发送给所述第二网络开放功能网元;The first location management function network element sends the location information of the terminal device to the second network open function network element;
    所述第二网络开放功能网元将所述位置信息发送给所述第一网络开放功能网元。The second network opening function network element sends the location information to the first network opening function network element.
  19. 根据权利要求18所述的方法,其特征在于:The method of claim 18, wherein:
    所述第一网络开放功能网元接收所述位置请求消息之后,还包括:After receiving the location request message, the first network opening function network element further includes:
    所述第一网络开放功能网元根据所述位置请求消息生成第一事务号;所述第一事务号用于标识所述终端设备的服务请求;所述第一请求消息包含所述第一事务号;The first network open function network element generates a first transaction number according to the location request message; the first transaction number is used to identify a service request of the terminal device; the first request message contains the first transaction No;
    所述第二网络开放功能网元接收到所述第一请求消息之后,还包括:After receiving the first request message, the second network opening function network element further includes:
    所述第二网络开放功能网元根据所述第一事务号和所述第一网络的标识,生成第二事务号;所述第二事务号用于标识所述第一网络的服务请求。The second network opening function network element generates a second transaction number according to the first transaction number and the identifier of the first network; the second transaction number is used to identify the service request of the first network.
  20. 根据权利要求18或19所述的方法,其特征在于,所述第一请求消息中还包含第一信息,所述第一信息用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识。The method according to claim 18 or 19, wherein the first request message further includes first information, the first information is used to identify the terminal device, and the first information is different from the The identifier of the terminal device in the first network.
  21. 根据权利要求19或20所述的方法,其特征在于:The method according to claim 19 or 20, characterized in that:
    所述第二网络开放功能网元接收到所述第一请求消息之后,还包括:After receiving the first request message, the second network opening function network element further includes:
    所述第二网络开放功能网元向所述网关移动位置中心网元发送所述第二事务号和第一信息中的至少一个,以及所述第一网络的标识,所述第一信息用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识;所述网关移动位置中心位于所述第二网络;The second network opening function network element sends at least one of the second transaction number and the first information and the identifier of the first network to the gateway mobile location center network element, and the first information is used for Identifying the terminal device, the first information is different from the identification of the terminal device in the first network; the gateway mobile location center is located in the second network;
    所述网关移动位置中心网元向所述接入与移动管理功能网元发送所述第二事务号和所述第一信息中的至少一个;所述接入与移动管理功能网元位于所述第二网络;所述第二网络中的网元确定所述第二网络中用于确定所述终端设备的位置信息的第一位置管理功能网元,包括:The gateway mobile location center network element sends at least one of the second transaction number and the first information to the access and mobility management function network element; the access and mobility management function network element is located in the The second network; the network element in the second network determines the first location management function network element in the second network for determining the location information of the terminal device, including:
    所述接入与移动管理功能网元根据所述第二事务号和所述第一信息中的至少一个选择所述第二网络中的所述第一位置管理功能网元;The access and mobility management function network element selects the first location management function network element in the second network according to at least one of the second transaction number and the first information;
    所述接入与移动管理功能网元在收到所述第二事务号和所述第一信息中的至少一个之后,还包括:After receiving at least one of the second transaction number and the first information, the access and mobility management function network element further includes:
    所述接入与管理功能网元生成第三请求消息,所述第三请求消息用于请求所述第一位置管理功能网元确定所述终端设备的位置信息;The access and management function network element generates a third request message, where the third request message is used to request the first location management function network element to determine the location information of the terminal device;
    所述接入与移动管理功能网元向所述第一位置管理功能网元发送所述第三请求消息。The access and mobility management function network element sends the third request message to the first location management function network element.
  22. 根据权利要求21所述的方法,其特征在于:The method of claim 21, wherein:
    所述第二网络开放功能网元向所述网关移动位置中心网元发送所述第二事务号和第一信息中的至少一个,以及所述第一网络的标识之后,还包括:After the second network opening function network element sends at least one of the second transaction number and the first information, and the identifier of the first network to the gateway mobile location center network element, the method further includes:
    所述网关移动位置中心向所述统一数据管理功能网元发送所述第一网络的标识;所述统一数据管理功能网元位于所述第二网络;The gateway mobile location center sends the identifier of the first network to the unified data management function network element; the unified data management function network element is located in the second network;
    所述统一数据管理功能网元根据所述第一网络的标识,查看所述第一网络的签约数据,确定所述第一网络具有获取定位服务权限时,为所述第一网络选择所述接入与移动管理功能网元,并将选择的所述接入与移动管理功能网元的标识或地址发送给所述网关移动位置中心网元;The unified data management function network element checks the subscription data of the first network according to the identifier of the first network, and selects the connection for the first network when it is determined that the first network has the right to obtain the location service. access and mobility management function network element, and send the selected identifier or address of the access and mobility management function network element to the gateway mobile location center network element;
    所述网关移动位置中心网元向所述接入与移动管理功能网元发送第二事务号,包括:The gateway mobile location center network element sends a second transaction number to the access and mobility management function network element, including:
    所述网关移动位置中心网元根据所述标识或地址确定所述接入与移动管理功能网元,以及向所述接入与移动管理功能网元发送所述第二事务号。The gateway mobile location center network element determines the access and mobility management function network element according to the identifier or address, and sends the second transaction number to the access and mobility management function network element.
  23. 根据权利要求18、19或20所述的方法,其特征在于:The method according to claim 18, 19 or 20, characterized in that:
    所述第二网络开放功能网元接收到所述第一请求消息之后,还包括:After receiving the first request message, the second network opening function network element further includes:
    所述第二网络开放功能网元向统一数据管理功能网元发送所述第一网络的标识;The second network opening function network element sends the identifier of the first network to the unified data management function network element;
    所述第二网络中的网元确定所述第二网络中用于确定所述终端设备的位置信息的第一位置管理功能网元,包括:The network element in the second network determining the first location management function network element in the second network for determining the location information of the terminal device, including:
    所述统一数据管理功能网元根据所述第一网络的标识,查看所述第一网络的签约数据,确定所述第一网络具有获取定位服务权限时,为所述第一网络选择所述第一位置管理功能网元;The unified data management function network element checks the subscription data of the first network according to the identifier of the first network, and selects the first network for the first network when it is determined that the first network has the right to obtain the location service. a location management function network element;
    所述统一数据管理功能网元将选择的所述第一位置管理功能网元的标识或地址发送给所述第二网络开放功能网元;The unified data management function network element sends the selected identifier or address of the first location management function network element to the second network open function network element;
    所述第二网络开放功能网元向所述第一位置管理功能网元发送第三请求消息;所述第三请求消息用于请求所述第一位置管理功能网元确定所述终端设备的位置信息。The second network opening function network element sends a third request message to the first location management function network element; the third request message is used to request the first location management function network element to determine the location of the terminal device information.
  24. 根据权利要求20、21或22所述的方法,其特征在于,所述第一信息是从所述第一网络开放功能网元接收的;或者,所述第一信息是所述第二网络开放功能网元根据所述第一网络的标识生成的。The method according to claim 20, 21 or 22, wherein the first information is received from the first network opening function network element; or, the first information is the second network opening The functional network element is generated according to the identifier of the first network.
  25. 根据权利要20、21、22或24所述的方法,其特征在于:The method according to claim 20, 21, 22 or 24, characterized in that:
    所述第一信息是设置值时,所述第一位置管理功能网元是根据所述第二事务号和所述第一信息确定的;或者When the first information is a set value, the first location management function network element is determined according to the second transaction number and the first information; or
    不同的终端设备的所述第一信息不同时,所述第一位置管理功能网元是根据所述第二事务号和所述第一信息中的至少一个确定的;或者When the first information of different terminal devices is different, the first location management function network element is determined according to at least one of the second transaction number and the first information; or
    所述第一信息包含所述终端设备所属的所述第一网络的标识,以及不同的终端设备的所述第一信息不同时,所述第一位置管理功能网元是根据所述第二事务号和所述第一信息中的至少一个确定的。The first information includes the identifier of the first network to which the terminal device belongs, and when the first information of different terminal devices is different, the first location management function network element is based on the second transaction. number and at least one of the first information is determined.
  26. 根据权利要求19-25任一所述的方法,其特征在于:The method according to any one of claims 19-25, wherein:
    所述第一位置管理功能网元确定所述终端设备的位置信息之前,还包括:Before the first location management function network element determines the location information of the terminal device, the method further includes:
    所述第一位置管理功能网元向所述第二网络开放功能网元发送第一数据请求消息,所述第一数据请求消息包含所述第二事务号和第一信息中的至少一个,所述第一数据请求消息用于获取定位所需的数据;The first location management function network element sends a first data request message to the second network open function network element, where the first data request message includes at least one of the second transaction number and the first information, so The first data request message is used to obtain the data required for positioning;
    所述第二网络开放功能网元根据所述第二事务号和第一信息中的至少一个确定所述第一网络的标识;The second network open function network element determines the identifier of the first network according to at least one of the second transaction number and the first information;
    所述第二网络开放功能网元向所述第一网络开放功能网元发送第二数据请求消息;所述第二数据请求消息包含所述第一事务号、所述第一网络的标识、所述第二事务号和第一信息中的至少一个;所述第二数据请求消息用于请求获取定位所需的数据;所述第一信息 用于标识所述终端设备,所述第一信息不同于所述终端设备在所述第一网络中的标识;The second network opening function network element sends a second data request message to the first network opening function network element; the second data request message includes the first transaction number, the identifier of the first network, the at least one of the second transaction number and the first information; the second data request message is used to request data required for positioning; the first information is used to identify the terminal device, and the first information is different on the identification of the terminal device in the first network;
    所述第一网络开放功能网元根据所述第二数据请求消息收集所述定位所需的数据;The first network open function network element collects the data required for the positioning according to the second data request message;
    所述第一网络开放功能网元向所述第二网络开放功能网元发送第二响应消息;所述第二响应消息中包含收集到的所述定位所需的数据;The first network opening function network element sends a second response message to the second network opening function network element; the second response message includes the collected data required for the positioning;
    所述第二网络开放功能网元将所述定位所需的数据发送给所述第一位置管理功能网元;The second network opening function network element sends the data required for the positioning to the first location management function network element;
    所述第一位置管理功能网元确定所述位置信息包括:The determining of the location information by the first location management function network element includes:
    所述第一位置管理功能网元根据所述定位所需的数据确定所述位置信息。The first location management function network element determines the location information according to the data required for the positioning.
  27. 根据权利要求19-25任一所述的方法,其特征在于:所述第二网络开放功能网元将所述位置信息发送给所述第一网络开放功能网元,包括:The method according to any one of claims 19-25, wherein: the second network opening function network element sends the location information to the first network opening function network element, comprising:
    所述第二网络开放功能网元根据所述第二事务号查找对应的第一网络的标识;The second network opening function network element searches for the identifier of the corresponding first network according to the second transaction number;
    所述第二网络开放功能网元向所述第一网络开放功能网元发送第一响消息;所述第一响应消息中包含所述位置信息;The second network opening function network element sends a first response message to the first network opening function network element; the first response message includes the location information;
    所述第一网络开放功能网元根据所述第一事务号、所述第二事务号和所述第一信息中的至少一个,确定所述终端设备在所述第一网络中的标识;The first network opening function network element determines the identifier of the terminal device in the first network according to at least one of the first transaction number, the second transaction number and the first information;
    所述第一网络开放功能网元根据所述终端设备在所述第一网络中的标识发送位置请求响应,所述位置请求响应中包括所述位置信息。The first network opening function network element sends a location request response according to the identifier of the terminal device in the first network, where the location request response includes the location information.
  28. 根据权利要求1-27任一所述的方法,其特征在于,所述第一网络为非公共网络,所述第二网络为公共网络或公共陆地移动网络。The method according to any one of claims 1-27, wherein the first network is a non-public network, and the second network is a public network or a public land mobile network.
  29. 一种通信装置,其特征在于,用于执行如权利要求1-7任一项所述的方法或者如权利要求8-16任一项所述的方法或者如权利要求17所述的方法或者如权利要求18-28任一项所述的方法。A communication device, characterized in that it is used to execute the method according to any one of claims 1-7 or the method according to any one of claims 8-16 or the method according to claim 17 or the The method of any of claims 18-28.
  30. 一种通信装置,其特征在于,所述装置包括处理器和存储器,所述存储器,用于存储计算机程序或指令;A communication device, characterized in that the device comprises a processor and a memory, and the memory is used to store computer programs or instructions;
    所述处理器,用于执行存储器中的计算机程序或指令,使得权利要求1-7中任一项所述的方法被执行或者使得权利要求8-16中任一项所述的方法被执行或者使得权利要求17所述的方法被执行或者使得权利要求18-28任一项所述的方法被执行。The processor for executing a computer program or instructions in a memory such that the method of any one of claims 1-7 is performed or the method of any one of claims 8-16 is performed or The method of claim 17 is caused to be performed or the method of any of claims 18-28 is caused to be performed.
  31. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令在被计算机调用时,使得所述计算机执行如权利要求1-7任一项所述的方法或者如权利要求8-16任一项所述的方法或者如权利要求17所述的方法或者如权利要求18-28任一项所述的方法。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are invoked by a computer, the computer is caused to perform any one of claims 1-7. A method as claimed in any of claims 8-16 or as claimed in claim 17 or as claimed in any of claims 18-28.
PCT/CN2021/114521 2020-08-26 2021-08-25 Communication method and apparatus WO2022042598A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010873754.3A CN114125878A (en) 2020-08-26 2020-08-26 Communication method and device
CN202010873754.3 2020-08-26

Publications (1)

Publication Number Publication Date
WO2022042598A1 true WO2022042598A1 (en) 2022-03-03

Family

ID=80354647

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114521 WO2022042598A1 (en) 2020-08-26 2021-08-25 Communication method and apparatus

Country Status (2)

Country Link
CN (1) CN114125878A (en)
WO (1) WO2022042598A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023230892A1 (en) * 2022-05-31 2023-12-07 北京小米移动软件有限公司 Position verification processing method and apparatus, communication device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104093124A (en) * 2009-03-30 2014-10-08 中兴通讯股份有限公司 Position service providing method
US20160037328A1 (en) * 2014-07-31 2016-02-04 Cisco Technology, Inc. Node selection in network transitions
CN110881184A (en) * 2018-09-05 2020-03-13 华为技术有限公司 Communication method and device
CN111182543A (en) * 2018-11-12 2020-05-19 华为技术有限公司 Method and device for switching network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104093124A (en) * 2009-03-30 2014-10-08 中兴通讯股份有限公司 Position service providing method
US20160037328A1 (en) * 2014-07-31 2016-02-04 Cisco Technology, Inc. Node selection in network transitions
CN110881184A (en) * 2018-09-05 2020-03-13 华为技术有限公司 Communication method and device
CN111182543A (en) * 2018-11-12 2020-05-19 华为技术有限公司 Method and device for switching network

Also Published As

Publication number Publication date
CN114125878A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US11765686B2 (en) Packet transmission method and apparatus for communicating between terminals of a same 5G LAN group
US11172437B2 (en) Method and device for transmitting or receiving information in wireless communication system supporting network slicing
US8983475B2 (en) System and method for partner network sharing architecture
WO2022257549A1 (en) Network slicing method and device, and storage medium
US11653178B2 (en) Positioning service level
US20220217611A1 (en) Service Configuration Method, Communication Apparatus, and Communication System
EP4187856A1 (en) Communication method, device and system
US20230199550A1 (en) Relay Management Method and Communication Apparatus
EP3863314A1 (en) Method and apparatus for determining security protection mode
WO2019024650A1 (en) Resource configuration method and device
WO2022042598A1 (en) Communication method and apparatus
US20230126999A1 (en) Method for wireless communication and network device
US20230047783A1 (en) Data transmission method and apparatus
WO2023151420A1 (en) Communication method and communication apparatus
WO2022022392A1 (en) Data association method and apparatus for terminal device
EP4187963A1 (en) Communication method and apparatus
WO2024092677A1 (en) Method and apparatus for transmitting data in roaming scenario, and readable storage medium
US20220377547A1 (en) Wireless communication method, terminal device and network element
WO2023103575A1 (en) Multicast/broadcast communication method and related apparatus
WO2023185295A1 (en) Communication method, terminal device, and core network device
WO2024032041A1 (en) Communication method and communication apparatus
US20230224993A1 (en) Communication method and apparatus
WO2023179397A1 (en) Licensing method and apparatus
WO2022160275A1 (en) Wireless communication method, and devices and storage medium
CA3233839A1 (en) Communication method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21860433

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21860433

Country of ref document: EP

Kind code of ref document: A1