Nothing Special   »   [go: up one dir, main page]

WO2024104150A1 - Positioning method and apparatus, and communication device - Google Patents

Positioning method and apparatus, and communication device Download PDF

Info

Publication number
WO2024104150A1
WO2024104150A1 PCT/CN2023/128584 CN2023128584W WO2024104150A1 WO 2024104150 A1 WO2024104150 A1 WO 2024104150A1 CN 2023128584 W CN2023128584 W CN 2023128584W WO 2024104150 A1 WO2024104150 A1 WO 2024104150A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication device
location information
request message
internet
things
Prior art date
Application number
PCT/CN2023/128584
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 WO2024104150A1 publication Critical patent/WO2024104150A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal

Definitions

  • the present application belongs to the field of communication technology, and specifically relates to a positioning method, device and communication equipment.
  • the existing 3GPP 5G system supports positioning services, which are implemented and provided by network elements such as the Access Management Function (AMF) and the Location Management Function (LMF).
  • the positioning process can be initiated by the Application Function (AF) via the Network Exposure Function (NEF) network element, and the terminal's location information can be obtained through network elements such as AMF and LMF.
  • AMF Access Management Function
  • LMF Location Management Function
  • IoT terminals generally refer to terminal devices used in certain specific scenarios or specific services. IoT devices can be designed for the specific needs of the services and applications to be performed (for example, smart homes/cities, smart utilities, e-health, and smart wearable devices). Some IoT terminals may not be used for human communication, for example, electronic meter reading equipment.
  • the embodiments of the present application provide a positioning method, an apparatus and a communication device, which can solve the problem that the location information of an IoT device cannot be obtained by using the existing positioning process.
  • a positioning method comprising:
  • the first communication device obtains a first location information request message, where the first location information request message is used to indicate a request for location information of the first Internet of Things device;
  • the first communication device determines a first terminal device corresponding to the first Internet of Things device
  • the first communication device obtains the location information of the first terminal device
  • the first communication device determines the location information of the first Internet of Things device based on the location information of the first terminal device.
  • a positioning method including:
  • the second communication device receives a second location information request message sent by the third communication device, where the second location information request message is used to indicate a request for location information of the first Internet of Things device;
  • the second communication device determines, according to the second location information request message, a first communication device corresponding to the first Internet of Things device and sends a first location information request message to the first communication device;
  • the first location information request message is used to indicate a request for location information of the first IoT device, and the first location information request message includes at least part of the content of the second location information request message.
  • a third aspect provides a positioning method, including:
  • the third communication device sends a second location information request message to the second communication device, where the second location information request message is used to indicate a request for location information of the first Internet of Things device.
  • a fourth aspect provides a positioning method, including:
  • the first terminal device sends third target information to the first communication device
  • the third target information includes at least one of the following:
  • An indirect positioning indication where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning
  • Capability information where the capability information is used to indicate that the first terminal device has the ability to communicate with an IoT device or has the ability to discover an IoT device.
  • a positioning device comprising:
  • a first acquisition module used to acquire a first location information request message, where the first location information request message is used to indicate a request for location information of a first Internet of Things device;
  • a first determining module used to determine a first terminal device corresponding to the first Internet of Things device
  • a second acquisition module used to acquire the location information of the first terminal device
  • the second determination module is used to determine the location information of the first Internet of Things device according to the location information of the first terminal device.
  • a positioning device comprising:
  • a first receiving module configured to receive a second location information request message sent by a third communication device, wherein the second location information request message is used to indicate a request for location information of a first Internet of Things device;
  • a third determination module configured to determine, according to the second location information request message, a first communication device corresponding to the first Internet of Things device and send a first location information request message to the first communication device;
  • the first location information request message is used to indicate a request for location information of the first IoT device, and the first location information request message includes at least part of the content of the second location information request message.
  • a positioning device comprising:
  • the first sending module is used to send a second location information request message to the second communication device, where the second location information request message is used to indicate a request for location information of the first Internet of Things device.
  • a positioning device comprising:
  • a second sending module used to send third target information to the first communication device
  • the third target information includes at least one of the following:
  • the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning Bit
  • Capability information where the capability information is used to indicate that the first terminal device has the capability to communicate with the IoT device or has the capability to discover the IoT device.
  • a communication device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect, the second aspect, the third aspect, or the fourth aspect are implemented.
  • a positioning system comprising: a first communication device, a second communication device, a third communication device and a first terminal, wherein the first communication device can be used to execute the steps of the positioning method as described in the first aspect above, the second communication device can be used to execute the steps of the positioning method as described in the second aspect above, the third communication device can be used to execute the steps of the positioning method as described in the third aspect above, and the first terminal can be used to execute the steps of the positioning method as described in the fourth aspect above.
  • a readable storage medium on which a program or instruction is stored.
  • the program or instruction is executed by a processor, the steps of the method described in the first aspect, the second aspect, the third aspect, or the fourth aspect are implemented.
  • a chip comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect, the second aspect, the third aspect, or the fourth aspect.
  • a computer program/program product is provided, wherein the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the steps of the method described in the first aspect, the second aspect, the third aspect, or the fourth aspect.
  • an embodiment of the present application provides a positioning device, which is used to execute the steps of the positioning method described in the first aspect, the second aspect, the third aspect, or the fourth aspect.
  • the first communication device can obtain a first location information request message, which is used to indicate a request for location information of the first IoT device, so that the first communication device can determine the first terminal device corresponding to the first IoT device, and obtain the location information of the first terminal device, and then determine the location information of the first IoT device based on the location information of the first terminal device. It can be seen that the embodiment of the present application can convert the positioning of the IoT device into the positioning of the terminal device associated with the IoT device, so that even if the IoT device has extremely low power consumption and does not support complex calculations of positioning services, the location information of the IoT device can be obtained.
  • FIG1 is a block diagram of a wireless communication system to which an embodiment of the present application can be applied;
  • FIG2 is a schematic diagram of an IoT device accessing a mobile network via a reader/writer in an embodiment of the present application
  • FIG3 is a flow chart of a positioning method in an embodiment of the present application.
  • FIG4 is a flow chart of another positioning method in an embodiment of the present application.
  • FIG5 is a flow chart of another positioning method in an embodiment of the present application.
  • FIG6 is a flow chart of another positioning method in an embodiment of the present application.
  • FIG7 is a flow chart of implementation mode 1 of the positioning method according to an embodiment of the present application.
  • FIG8 is a flow chart of implementation mode 2 of the positioning method according to an embodiment of the present application.
  • FIG9 is a flowchart of implementation mode 3 of the positioning method according to an embodiment of the present application.
  • FIG10 is a structural block diagram of a positioning device in an embodiment of the present application.
  • FIG11 is a structural block diagram of another positioning device in an embodiment of the present application.
  • FIG12 is a structural block diagram of another positioning device in an embodiment of the present application.
  • FIG13 is a structural block diagram of another positioning device in an embodiment of the present application.
  • FIG14 is a block diagram of a communication device in an embodiment of the present application.
  • FIG15 is a block diagram of a terminal device in an embodiment of the present application.
  • FIG16 is a structural block diagram of a network-side device in an embodiment of the present application.
  • first, second, etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by “first” and “second” are generally of the same type, and the number of objects is not limited.
  • the first object can be one or more.
  • “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally represents that the objects associated with each other are in an "or” relationship.
  • LTE Long Term Evolution
  • LTE-A Long Term Evolution
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • OFDMA Orthogonal Frequency Division Multiple Access
  • SC-FDMA Single-carrier Frequency Division Multiple Access
  • NR new radio
  • FIG1 is a block diagram of a wireless communication system applicable to the embodiment of the present application.
  • the wireless communication system includes a terminal device 11 and a network side device 12.
  • the terminal device 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palm computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer), or a laptop computer.
  • Tablet Personal Computer Tablet Personal Computer
  • laptop computer laptop computer
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • palm computer a netbook
  • ultra-mobile personal computer ultra-mobile personal computer
  • ultra-mobile personal computer ultra-mobile personal computer
  • the terminal device side equipment 12 includes: a smart computer, a UMPC, a mobile Internet device (MID), an augmented reality (AR)/virtual reality (VR) device, a robot, a wearable device (Wearable Device), a vehicle-mounted device (VUE), a pedestrian terminal device (PUE), a smart home (a home appliance with a wireless communication function, such as a refrigerator, a television, a washing machine or furniture, etc.), a game console, a personal computer (PC), a teller machine or a self-service machine, etc.
  • the wearable device includes: a smart watch, a smart bracelet, a smart headset, a smart glasses, a smart jewelry (smart bracelet, a smart bracelet, a smart ring, a smart necklace, a smart anklet, a smart anklet, etc.), a smart wristband, a smart clothing, etc.
  • the network side device 12 may include an access network device or a core network device, wherein the access network device 12 may also be referred to as a wireless access network device, a wireless access network (RAN), a wireless access network function or a wireless access network unit.
  • the access network device 12 may include a base station, a WLAN access point or a WiFi node, etc.
  • the base station may be referred to as a node B, an evolved node B (eNB), an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a home B node, a home evolved B node, a transmitting and receiving point (Transmitting Receiving Point, TRP) or some other suitable term in the field.
  • the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.
  • the core network equipment may include but is not limited to at least one of the following: core network nodes, core network functions, mobility management entity (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), user plane function (User Plane Function, UPF), policy control function (Policy Control Function, PCF), policy and charging rules function unit (Policy and Charging Rules Function, PCRF), edge application service discovery function (Edge Application Server Discovery ...
  • MME mobility management entity
  • AMF Access and Mobility Management Function
  • SMF Session Management Function
  • SMF Session Management Function
  • UPF User Plane Function
  • Policy Control Function Policy Control Function
  • PCRF Policy and Charging Rules Function
  • edge application service discovery function Edge Application Server Discovery ...
  • the method may include the following steps 301 to 304:
  • Step 301 A first communication device obtains a first location information request message.
  • the first location information request message is used to indicate a request for location information of a first IoT device.
  • the first communication device may be an AMF.
  • Step 302 The first communication device determines a first terminal device corresponding to the first Internet of Things device.
  • the first terminal device can be a reader/writer.
  • a user terminal (UE) or a radio access network (RAN) can be used as a reader/writer for an IoT device.
  • RAN radio access network
  • the first terminal device corresponding to the first Internet of Things device is the first terminal device associated with the first Internet of Things device.
  • the positioning method of the embodiment of the present application can be applied to the network architecture shown in Figure 2.
  • the IoT device takes the ambient IoT device as an example.
  • the ambient IoT device needs to absorb energy from the environment.
  • the ambient IoT device After receiving the carrier signal, the ambient IoT device communicates with the reader by reflecting the carrier signal, so that the IoT device can access the mobile network through the reader.
  • IoT devices can access mobile networks through terminal devices, that is, IoT devices and terminal devices usually have a binding relationship. Therefore, when it is necessary to request the location information of a certain IoT device, the terminal device corresponding to the IoT device can be determined, thereby converting the positioning of the IoT device into the positioning of the terminal device.
  • Step 303 The first communication device obtains the location information of the first terminal device.
  • Step 304 The first communication device determines the location information of the first Internet of Things device according to the location information of the first terminal device.
  • steps 303 to 304 that after the positioning of a certain IoT device is converted into the positioning of a terminal device associated with it, the location information of the IoT device can be determined based on the location information of the terminal device.
  • the first communication device can obtain the first location information request message, and the first location information request message is used to indicate the request for the location information of the first Internet of Things device, so that the first communication device can determine the first terminal device corresponding to the first Internet of Things device, and obtain the location information of the first terminal device, and then determine the location information of the first Internet of Things device according to the location information of the first terminal device.
  • the embodiment of the present application can convert the positioning of the Internet of Things device into the positioning of the terminal device associated with the Internet of Things device, so that even if the working power consumption of the Internet of Things device is extremely low and does not support the complex calculation of the positioning service, the location information of the Internet of Things device can be obtained.
  • the method further includes:
  • the first communication device sends the location information of the first Internet of Things device.
  • the first communication device may send the location information of the first IoT device to the device requesting the location information of the first IoT device. If the first communication device cannot directly communicate with the device requesting the location information of the first IoT device, the location information of the first IoT device may be sent to the device requesting the location information of the first IoT device through other devices.
  • the first location information request message includes at least one of the following items A-1 to A-4:
  • Item A-1 first identification information of the first IoT device
  • Item A-2 Service level information, which is used to indicate the first IoT device being requested. The level of location information;
  • Item A-3 area information associated with the first IoT device, where the area information is used to indicate an area range for obtaining location information of the first IoT device;
  • Item A-4 The second identification information of the terminal device associated with the first IoT device.
  • the above-mentioned item A-1 indicates that it is necessary to request the location information of the IoT device whose identification information is the above-mentioned first identification information.
  • the service level information may be at least one of positioning accuracy, positioning time, positioning range, and level indication, that is, the service level information may be represented by at least one of positioning accuracy, positioning time, positioning range, and level indication.
  • the positioning accuracy indicates the accuracy of the acquired location information, for example, the positioning accuracy is 3m.
  • the positioning time indicates the time of obtaining the position information. For example, if the positioning time is 10 minutes, it means that the position information needs to be obtained within 10 minutes.
  • the positioning range indicates that the location information is obtained within a certain range. For example, if the positioning range is area A, it indicates that the location information of the IoT device is found within the area of area A; for another example, if the positioning range is location B and 1km, it indicates that the location information of the IoT device is found within a range of 1km around location B; for another example, location B in the positioning range may be a regional range, then location B can be represented by the area where the IoT device may be located.
  • the level indicator can be high, medium, low, or default.
  • the value corresponds to the service strategy provided by the mobile network. Each strategy corresponds to at least one of the positioning accuracy, positioning time, and positioning range set by the operator.
  • the area information associated with the first IoT device may be location information that the first IoT device has been to (for example, within a first preset time period). It should be noted that the area information associated with the first IoT device may be location information of a mobile network (for example, a cell identifier, a tracking area identifier, etc.) or geographic location information (for example, longitude and latitude, street, administrative district, etc.).
  • a mobile network for example, a cell identifier, a tracking area identifier, etc.
  • geographic location information for example, longitude and latitude, street, administrative district, etc.
  • the second identification information of the terminal device associated with the first IoT device may be the identification of the terminal device or the identification of the holder of the terminal device (i.e., the communication number of the user to whom the terminal device belongs).
  • a reader/writer identification can be associated with one or more readers/writers.
  • the reader/writer identification may include at least one of a Subscription Permanent Identifier (SUPI), an International Mobile Subscriber Identity (IMSI), and a Generic Public Subscription Identifier (GPSI).
  • SUPI Subscription Permanent Identifier
  • IMSI International Mobile Subscriber Identity
  • GPSI Generic Public Subscription Identifier
  • the specific method of the above-mentioned step 302 "the first communication device determines the first terminal device corresponding to the first Internet of Things device" can be method one, method two or method three as described below.
  • the above step 302 "the first communication device determines the first terminal device corresponding to the first IoT device” includes:
  • the first communication device determines the terminal device corresponding to the first identification information in the association relationship as the first terminal device;
  • the association relationship includes an association relationship between the first identification information and the first terminal device.
  • the process of acquiring the association relationship between the first identification information and the first terminal device includes:
  • the first communication device receives first identification information of the first Internet of Things device sent by the first terminal device;
  • the first communication device stores an association relationship between the first terminal device and the first identification information.
  • the first terminal device can also send the first identification information of the first Internet of Things device to the first communication device, so that the first communication device can store the relationship between the first terminal device and the first identification information of the first Internet of Things device.
  • the first communication device receives the above-mentioned first location information request message, it can search for the identification information (i.e., the first identification information) of the Internet of Things device (i.e., the first Internet of Things device) whose location information is requested from the association relationship, so that the terminal device corresponding to the found identification information can be determined, that is, the terminal device corresponding to the Internet of Things device whose location information is requested.
  • the process of the first terminal device acquiring the first identification information of the first Internet of Things device includes the first terminal device sending an excitation signal to the first Internet of Things device, and the first terminal device receiving a reflected signal of the first Internet of Things device, wherein the reflected signal includes the first identification information of the first Internet of Things device.
  • the first terminal device may also periodically perform an inventory process to search for nearby IoT devices and send updated IoT device identifiers to the first communication device.
  • the first terminal device and the first communication device may negotiate an inventory cycle.
  • the first communication device receives the first identification information of the first Internet of Things device sent by the first terminal device, including:
  • the first communication device receives a first non-access stratum NAS message sent by the first terminal device, wherein the first non-access stratum NAS message carries the first identification information.
  • the first terminal device may send a first non-access layer NAS message to the first communication device, and carry the first identification information in the first non-access layer NAS message.
  • the first NAS message may be a registration request message or an uplink non-access layer transparent transmission message.
  • the first communication device determines the first terminal device corresponding to the first IoT device, including:
  • the first communication device determines the terminal device identified by the second identification information as the first terminal device corresponding to the first Internet of Things device.
  • the device requesting the location information of the first Internet of Things device can inform the second identification information of the terminal device associated with the first Internet of Things device in the first location information request message.
  • the first communication device can directly determine the first terminal device associated with the first Internet of Things device based on the second identification information.
  • the first communication device determines the first terminal device corresponding to the first IoT device, including:
  • the first communication device executes the target process and determines the acquired terminal device as the first terminal device corresponding to the first Internet of Things device;
  • the target process is the terminal device discovery process, the terminal device inventory process, and the terminal device paging process.
  • the target process is the terminal device discovery process, the terminal device inventory process, and the terminal device paging process.
  • the first communication device can also determine the acquired terminal device as the first terminal device corresponding to the first Internet of Things device by executing one of the terminal device discovery process, the terminal device inventory process, and the terminal device paging process.
  • the method further comprises:
  • the first communication device receives capability information sent by the terminal device and stores the capability information, wherein the capability information is used to indicate that the terminal device has the capability to communicate with the IoT device or has the capability to discover the IoT device;
  • the first communication device executes a target process, including:
  • the first communication device executes the target process on a terminal device capable of communicating with an IoT device or capable of discovering an IoT device according to the capability information.
  • the terminal device that sends the capability information may include the first terminal device mentioned above.
  • the terminal device can also send capability information to the first communication device, so that the first communication device can store the capability information of each terminal device, and thus can execute the above-mentioned target process for the terminal device that has the ability to communicate with the Internet of Things device or the ability to discover the Internet of Things device based on the capability information.
  • the first communication device executes a discovery process for a terminal device that has the ability to communicate with an Internet of Things device or has the ability to discover an Internet of Things device based on the capability information
  • the first communication device can broadcast a discovery message
  • the terminal device that has the ability to communicate with an Internet of Things device or has the ability to discover an Internet of Things device can send a reply message to the first communication device.
  • the terminal device corresponding to the reply message received by the first communication device can serve as the first terminal device associated with the first Internet of Things device; or, the first communication device can broadcast a discovery message, and the terminal devices that receive the broadcast message can send a reply message to the first terminal device.
  • the first communication device can filter out the terminal devices that have the ability to communicate with an Internet of Things device or have the ability to discover an Internet of Things device from the terminal devices that send the reply message, and the terminal devices filtered out can serve as the first terminal devices associated with the first Internet of Things device.
  • the first communication device receiving capability information sent by the terminal device includes:
  • the first communication device receives a second NAS message sent by the terminal device, wherein the second NAS message carries the capability information.
  • the terminal device can send a second NAS message to the first communication device, and carry the above capability information in the second NAS message.
  • the second NAS message can be a registration request message or an uplink non-access layer transparent transmission message.
  • the terminal device may send the capability information and the second identification information in one NAS message or in different NAS messages, that is, the first NAS message and the second NAS message may be the same or different.
  • the above step 303 “the first communication device obtains the location information of the first terminal device” includes:
  • the first communication device determines whether to execute the terminal device positioning process according to the first target information
  • determining to execute the terminal device positioning process determining the location information obtained by executing the terminal device positioning process on the first terminal device as the location information of the first terminal device;
  • the first target information includes at least one of the following:
  • An indirect positioning indication where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning
  • Second identification information where the second identification information is identification information of a terminal device associated with the first Internet of Things device and carried in the first location information request message;
  • the operator policy is used to indicate that the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device.
  • the first communication device when the positioning accuracy is at the cell level or the Tracking Area (TA) granularity, or when the first location information request message is a Namf_EventExposure Subscribe service operation message, or when the first location information request message comes from NEF or UDM, the first communication device does not perform the terminal device positioning process, but uses the current location information of the first terminal device as the location information of the first Internet of Things device;
  • TA Tracking Area
  • the first communication device when the first communication device stores an indirect positioning indication of the first Internet of Things device, or when the first location information request message carries the second identification information of the terminal device associated with the first Internet of Things device, or when the operator policy indicates that the location information of the Internet of Things device is represented by the location information of the reader/writer corresponding to the Internet of Things device, or when the positioning accuracy granularity is smaller than the TA granularity, or when the first location request message is a mobile and access management function location providing positioning information service operation (Namf_Location_ProvidePositioningInfo service operation) message, or when the first location information request message comes from the GMLC, the first communication device executes the terminal device positioning process, thereby determining the location information of the first terminal device obtained by executing the terminal device positioning process as the location information of the first Internet of Things device.
  • Namf_Location_ProvidePositioningInfo service operation Namf_Location_ProvidePositioningInfo service operation
  • the indirect positioning indication may be sent by the first terminal device to the first communication device.
  • the first terminal device may send a third NAS message to the first communication device, and the third NAS message may carry the indirect positioning indication.
  • the third NAS message may be a registration request message or an uplink non-access layer transparent transmission message.
  • the third NAS message may be the same as or different from the first non-access layer NAS message and the second NAS message. That is, the capability information, the first identification information of the first IoT device, and the indirect positioning indication may be sent through the same NAS message or through different NAS messages.
  • the first communication device determines the location information of the first Internet of Things device according to the location information of the first terminal device, including:
  • the location information of one of the multiple first terminal devices is determined as the location information of the first Internet of Things device.
  • the location information of one of the terminal devices can be selected as the location information of the first IoT device. For example, if an IoT device is used by multiple users, the IoT device corresponds to the terminal devices of the multiple users, that is, the IoT device corresponds to multiple terminal devices. In this case, the location information of one of the multiple terminal devices can be used as the location information of the IoT device.
  • the method further includes:
  • the first communication device receives a failure message or a rejection message sent by the second communication device, where the failure message or the rejection message is used to indicate that the third communication device is not authorized to use the service provided by the second communication device;
  • the first communication device acquires third address information of a sixth communication device currently serving the third communication device;
  • the first communication device sends the location information of the first Internet of Things device to the sixth communication device according to the third address information, and instructs the sixth communication device to send the location information of the first Internet of Things device to the third communication device;
  • the third communication device is a device that requests the location information of the first Internet of Things device.
  • the second communication device is a device that sends a first location information request message to the first communication device.
  • the first communication device determines the location information of the first Internet of Things device, if it receives a failure message or a rejection message sent by the second communication device, indicating that the third communication device (i.e., the device requesting the location information of the first Internet of Things device) is not authorized to use the service of the second communication device, then the first communication device can obtain the third address information of the sixth communication device currently serving the third communication device, and then send the location information of the first Internet of Things device to the sixth communication device based on the third address information, and then the sixth communication device sends the location information of the first Internet of Things device to the third communication device.
  • the third communication device i.e., the device requesting the location information of the first Internet of Things device
  • the first communication device may be AMF1
  • the second communication device may be AMF2
  • the third communication device may be UE, that is, UE may send a second location information request message to AMF2, so that AMF2 sends a first location information request message to AMF1.
  • AMF1 may obtain the third address information of the AMF (such as AMF3) currently serving the UE, and then send the location information of the first IoT device to AMF3 according to the third address information, and then AMF3 sends the location information of the first IoT device to the UE.
  • AMF3 sends the location information of the first IoT device to the UE.
  • at least part of the content carried in the second location information request message and the first location information request message may be the same.
  • the first communication device acquires third address information of a sixth communication device currently serving the third communication device, including:
  • the first communication device sends a first request to the fifth communication device, where the first request is used to indicate a request for a sixth communication device currently serving the third communication device;
  • the first communication device receives the third address information sent by the fifth communication device.
  • the first communication device may request the sixth communication device currently serving the third communication device from the fifth communication device.
  • AMF1 may request AMF3 currently serving the UE from UDM.
  • the method may include the following steps 401 to 404:
  • Step 401 The second communication device receives a second location information request message sent by a third communication device.
  • the second location information request message is used to indicate a request for location information of the first IoT device.
  • the third communication device may send a network exposure function event exposure subscription (Nnef_EventExposure_Subscribe) message to the second communication device, where the Nnef_EventExposure_Subscribe message carries the second location information request message, or the Nnef_EventExposure_Subscribe message is used as the second location information request message.
  • Nnef_EventExposure_Subscribe a network exposure function event exposure subscription
  • the second communication device here can be NEF or AMF
  • the third communication device can be AF or UE.
  • AF can send a second location information request message to NEF to request the location information of the first Internet of Things device
  • UE can send a second location information request message to AMF to request the location information of the first Internet of Things device.
  • Step 402 The second communication device determines a first communication device corresponding to the first IoT device according to the second location information request message and sends a first location information request message to the first communication device.
  • the first communication device corresponding to the first Internet of Things device is the first communication device that can provide services for this positioning.
  • the second communication device can be AMF or NEF; the third communication device can be AF or UE.
  • AF can send a second location information request message to NEF, so that NEF determines the AMF that can provide services for this positioning, and sends a first location information request message to the AMF; or, for example, UE can send a second location information request message to AMF2, so that AMF2 determines AMF1 that can provide services for this positioning, and then sends the first location information request message to AMF1.
  • AMF2 is the same as AMF1, the interaction process between AMF2 and AMF1 described here can be omitted.
  • the first location information request message is used to indicate a request for location information of the first IoT device, and the first location information request message includes at least part of the content of the second location information request message.
  • the first communication device can determine the first terminal device corresponding to the first Internet of Things device, thereby obtaining the location information of the first terminal device, and then determine the location information of the first Internet of Things device based on the location information of the first terminal device.
  • the third communication device can send the second location to the second communication device.
  • the first location information request message is used to request the second communication device to determine the first communication device that can provide the positioning service according to the second location information request message, and send the first location information request message to the first communication device, so that the first communication device can determine the first terminal device corresponding to the first IoT device, and obtain the location information of the first terminal device, and then determine the location information of the first IoT device according to the location information of the first terminal device.
  • the embodiments of the present application can convert the positioning of IoT devices into the positioning of terminal devices associated with IoT devices, so that even if the working power consumption of IoT devices is extremely low and does not support the complex calculation of positioning services, the location information of IoT devices can be obtained.
  • the method further includes:
  • the second communication device receives the location information of the first Internet of Things device sent by the first communication device.
  • the first communication device determines the location information of the first Internet of Things device, it can also send the location information of the first Internet of Things device to the second communication device.
  • the method further includes:
  • the second communication device sends the location information of the first Internet of Things device to the third communication device;
  • the second communication device acquires a sixth communication device currently serving the third communication device;
  • the second communication device sends the location information of the first Internet of Things device to the sixth communication device, and instructs the sixth communication device to send the location information of the first Internet of Things device to the third communication device.
  • the second communication device can also send the first IoT device to the device (i.e., the third communication device) that requests the location information of the first IoT device. If the third communication device is currently authorized to use the service provided by the second communication device, the second communication device can send the location information of the first IoT device to the third communication device; if the third communication device is currently not authorized to use the service provided by the second communication device, the second communication device needs to obtain the sixth communication device currently serving the third communication device, and then send the location information of the first IoT device to the third communication device through the sixth communication device.
  • the device i.e., the third communication device
  • the specific method for the second communication device to obtain the sixth communication device currently serving the third communication device may be method 1 or method 2 as follows:
  • the second communication device obtains a sixth communication device currently serving the third communication device, including:
  • the second communication device sends a first request to the fifth communication device, where the first request is used to indicate a request for a sixth communication device currently serving the third communication device;
  • the second communication device receives the third address information sent by the fifth communication device, and determines the device corresponding to the third address information as the sixth communication device.
  • the second communication device can request the sixth communication device that currently serves the third communication device from the fifth communication device.
  • the first communication device is AMF1
  • the second communication device is AMF2
  • the third communication device is UE2
  • AMF1 sends the location information of the first IoT device to AMF2
  • AMF2 finds that there is no context information of UE2 locally, it determines that AMF2 is not currently serving UE2
  • AMF2 can request the AMF that currently serves UE2 from UDM, such as AMF3, and then AMF2 sends the location information of the first IoT device to AMF3, so that AMF3 sends the location information of the first IoT device to UE2.
  • the second communication device obtains a sixth communication device currently serving the third communication device, including:
  • the second communication device sends a failure message or a rejection message to the first communication device, and the failure message or the rejection message is used to indicate that the third communication device is not authorized to use the service provided by the second communication device, and to instruct the first communication device to obtain the third address information of the sixth communication device currently serving the third communication device, and to instruct the first communication device to send the location information of the first Internet of Things device to the sixth communication device, so that the sixth communication device sends the location information of the first Internet of Things device to the third communication device.
  • the first communication device acquires the third address information of the sixth communication device currently serving the third communication device, including:
  • the first communication device sends a first request to the fifth communication device, where the first request is used to indicate a request for the sixth communication device currently serving the third communication device;
  • the first communication device receives the third address information sent by the fifth communication device, and determines the device corresponding to the third address information as the sixth communication device.
  • the second communication device can notify the first communication device that the third communication device is currently not authorized to use the service provided by the second communication device, so that the first communication device obtains the sixth communication device currently serving the third communication device.
  • the first communication device is AMF1
  • the second communication device is AMF2
  • the third communication device is UE2
  • AMF1 sends the location information of the first IoT device to AMF2
  • AMF2 finds that there is no context information of UE2 locally, it determines that AMF2 is not currently serving UE2, then AMF2 can send a failure message or a rejection message to AMF1, indicating that AMF2 is not currently serving UE2, so that AMF1 requests the UDM for the AMF currently serving UE2, such as AMF3, and then AMF1 sends the location information of the first IoT device to AMF3, so that AMF3 sends the location information of the first IoT device to UE2.
  • the second location information request message includes at least one of the following items A-1 to A-4:
  • Item A-1 first identification information of the first IoT device
  • Item A-2 service level information, the service level information is used to indicate the level of the location information of the first IoT device requested this time;
  • Item A-3 regional information associated with the first IoT device, where the regional information is used to indicate a regional range for obtaining location information of the first IoT device;
  • Item A-4 The second identification information of the terminal device associated with the first IoT device.
  • the method further includes the following step B-1 or B-2:
  • Step B-1 when the operator configuration information or the first protocol indicates that the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device, the second communication device authorizes the second location information request message, wherein the first protocol is a protocol between the operator and the third communication device;
  • Step B-2 When the subscription data of the third communication device or the second protocol indicates that the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device, the second communication device authorizes the second location information request message, wherein the second protocol is a protocol between the third communication device and the first terminal device;
  • the second communication device determines, according to the second location information request message, a first communication device corresponding to the first Internet of Things device, including:
  • the second communication device determines the first communication device corresponding to the first Internet of Things device according to the second location information request message.
  • the above-mentioned "authorization second location information request message" is to allow the execution of obtaining the location information of the first Internet of Things device.
  • step B-1 indicates that: if the operator configuration information for indicating that “the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device” is configured, the second location information request message can be authorized; if the operator configuration information for indicating that “the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device” is not configured, the second location information request message is not authorized;
  • the second location information request message can be authorized; if there is no protocol between the operator and the third communication device for indicating that "the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device", the second location information request message will not be authorized.
  • step B-2 indicates that: if the third communication device has contract data for indicating that “the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device”, the second location information request message can be authorized; if the third communication device does not have contract data for indicating that “the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device”, the second location information request message is not authorized;
  • the second location information request message can be authorized; if there is no protocol between the third communication device and the first terminal device for indicating that "the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device", the second location information request message will not be authorized.
  • the second communication device determines the first communication device corresponding to the first Internet of Things device based on the second location information request message, thereby obtaining the location information of the first communication device, and then determines the location information of the first Internet of Things device based on the location information of the first communication device.
  • the above step 402 “the second communication device determines the first communication device corresponding to the first IoT device according to the second location information request message and sends a first location information request message to the first communication device” includes:
  • the second communication device selects one of the first positioning service and the second positioning service as the target service according to the second target information
  • the second communication device determines, based on the target service and according to the second location information request message, a first communication device corresponding to the first Internet of Things device and sends a first location information request message to the first communication device;
  • the first positioning service is a positioning service based on a first communication device
  • the second positioning service is a positioning service based on a fourth communication device
  • the second target information includes at least one of the following:
  • the first communication device mentioned above may be a device with a mobile access management function (such as AMF), and the fourth communication device may be a Gateway Mobile Location Center (GMLC).
  • AMF mobile access management function
  • GMLC Gateway Mobile Location Center
  • the second communication device determines whether the first positioning service and the second positioning service are available depending on implementation or operator policy.
  • the first positioning service can be used this time; if the positioning accuracy is the second preset accuracy, the second positioning service can be used this time; if both the first positioning service and the second positioning service are available, the first positioning service or the second positioning service can be used.
  • the second communication device determines, based on the target service and according to the second location information request message, a first communication device corresponding to the first IoT device and sends a first location information request message to the first communication device, including the following step C-1 or steps C-2 to C-4:
  • Step C-1 when the target service is the first positioning service, the second communication device sends a third location information request message to the fifth communication device, the third location information request message includes at least part of the content of the second location information request message, and the third location information request message is used to instruct the fifth communication device to search for the first address information of the first communication device corresponding to the first Internet of Things device, and instruct the fifth communication device to send the first location information request message to the first communication device according to the first address information;
  • Step C-2 when the target service is the first positioning service, the second communication device sends a fourth location information request message to the fifth communication device, the fourth location information request message includes at least part of the content in the second location information request message, and the fourth location information request message is used to instruct the fifth communication device to search for the first address information of the first communication device corresponding to the first Internet of Things device;
  • Step C-3 the second communication device receives the first address information sent by the fifth communication device
  • Step C-4 The second communication device sends the first location information request message to the first communication device according to the first address information.
  • the fifth communication device after the fifth communication device receives the third location information request message, it searches for the first address information of the first communication device corresponding to the first Internet of Things device according to at least part of the content in the third location information request message (such as service level information and/or area information associated with the first Internet of Things device).
  • the service level information indicates that the positioning range is area A
  • the fifth communication device or the second communication device sends the first location information request message to the first communication device covering area A
  • the fifth communication device or the second communication device sends the first location information request message to the first communication device covering area B.
  • the second communication device can request the fifth communication device to find the first address information of the first communication device corresponding to the first Internet of Things, so that after finding it, the fifth communication device sends a first location information request message to the first communication device according to the first address information.
  • the second communication device can send a unified data management function event subscription (Nudm_EventExposure_Subscribe) message to the fifth communication device, and the Nudm_EventExposure_Subscribe message carries the above third location information request message, and the fifth communication device sends a mobile and access management function event exposure subscription (Namf_EventExposure_Subscribe) message to the first communication device, and the Namf_EventExposure_Subscribe message carries the above first location information request message.
  • Nudm_EventExposure_Subscribe unified data management function event subscription
  • the fifth communication device sends a mobile and access management function event exposure subscription (Namf_EventExposure_Subscribe) message to the first communication device
  • the Namf_EventExposure_Subscribe message carries the above first location information request message.
  • the second communication device can request the first address information of the first communication device corresponding to the first IoT device from the fifth communication device, so that the second communication device can send a first location information request message to the first communication device according to the first address information.
  • the second communication device can send a unified data management function terminal connection management acquisition (Nudm_UECM_Get) message to the fifth communication device, and the Nudm_UECM_Get message carries the above fourth location information request message; the second communication device sends a Nudm_EventExposure_Subscribe message to the first communication device, and the Nudm_EventExposure_Subscribe message carries the above first location information request message.
  • Nudm_UECM_Get unified data management function terminal connection management acquisition
  • the second communication device determines, based on the target service and according to the second location information request message, a first communication device corresponding to the first IoT device and sends a first location information request message to the first communication device, including the following steps C-5 to C-6:
  • Step C-5 when the target service is the second positioning service, the second communication device acquires the second address information of the fourth communication device corresponding to the first Internet of Things device;
  • Step C-6 The second communication device sends a fifth location information request message to the fourth communication device based on the second address information, and the fifth location information request message includes at least part of the content of the second location information request message.
  • the fifth location information request message is used to instruct the fourth communication device to obtain the first address information of the first communication device corresponding to the first Internet of Things device, and instruct the fourth communication device to send the first location information request message to the first communication device based on the first address information.
  • the process in which the second communication device obtains the second address information of the fourth communication device corresponding to the first IoT device may include: the second communication device sends a sixth location information request message to the sixth communication device, and the sixth location information request message includes at least part of the content in the second location information request message.
  • the sixth location information request message is used to instruct the sixth communication device to search for the second address information of the fourth communication device corresponding to the first Internet of Things device; the second communication device receives the second address information sent by the sixth communication device.
  • the sixth communication device after the sixth communication device receives the sixth location information request message, it can search for the second address information of the fourth communication device corresponding to the first Internet of Things device based on at least part of the content in the sixth location information request message.
  • the sixth communication device mentioned above may be an NRF.
  • the process of the fourth communication device acquiring the first address information of the first communication device corresponding to the first Internet of Things device may include: the fourth communication device sends a seventh location information request message to the fifth communication device, the seventh location information request message includes at least part of the content of the second location information request message, and the seventh location information request message is used to instruct the fifth communication device to search for the first address information of the first communication device corresponding to the first Internet of Things device; the fourth communication device receives the first address information sent by the fifth communication device.
  • the fourth communication device can request the first address information of the first communication device corresponding to the first Internet of Things device from the fifth communication device.
  • the fifth communication device after the fifth communication device receives the seventh location information request message, it can search for the first address information of the first communication device corresponding to the first Internet of Things device based on at least part of the content in the seventh location information request message.
  • the fifth communication device may be a UDM.
  • the second communication device can first obtain the fourth communication device corresponding to the first Internet of Things device (that is, the fourth communication device that can provide services for this positioning), and then the fourth communication device obtains the first communication device corresponding to the first Internet of Things device, thereby sending a first location information request message to the first communication device.
  • the fourth communication device may send a Nudm_UECM_Get message to the fifth communication device, where the Nudm_UECM_Get message carries the seventh location information request message; the fourth communication device may send a Nudm_EventExposure_Subscribe message to the first communication device, where the Nudm_EventExposure_Subscribe message carries the first location information request message.
  • an embodiment of the present application provides a positioning method, as shown in FIG5 , the method includes the following steps 501:
  • Step 501 The third communication device sends a second location information request message to the second communication device.
  • the second location information request message is used to indicate a request for location information of the first IoT device.
  • the second communication device here can be NEF or AMF
  • the third communication device can be AF or UE.
  • AF can send a second location information request message to NEF to request the location information of the first Internet of Things device
  • UE can send a second location information request message to AMF to request the location information of the first Internet of Things device.
  • the second communication device determines the first communication device corresponding to the first Internet of Things device according to the second location information request message and sends the first location information request message to the first communication device, so that the first communication device determines the first Internet of Things device according to the first location information request message.
  • the first terminal device corresponding to the networked device further obtains the location information of the first terminal device, and determines the location information of the first Internet of Things device according to the location information of the first terminal device.
  • the embodiments of the present application can convert the positioning of the IoT device into the positioning of the terminal device associated with the IoT device. In this way, even if the IoT device has extremely low working power consumption and does not support complex calculations of positioning services, the location information of the IoT device can be obtained.
  • the method further includes:
  • the third communication device receives the location information of the first Internet of Things device.
  • the second location information request message includes at least one of the following items A-1 to A-4:
  • Item A-1 first identification information of the first IoT device
  • Item A-2 service level information, the service level information is used to indicate the level of the location information of the first IoT device requested this time;
  • Item A-3 regional information associated with the first IoT device, where the regional information is used to indicate a regional range for obtaining location information of the first IoT device;
  • Item A-4 The second identification information of the terminal device associated with the first IoT device.
  • an embodiment of the present application provides a positioning method, as shown in FIG6 , the method includes the following step 601:
  • Step 601 The first terminal device sends third target information to the first communication device;
  • the third target information includes at least one of the following:
  • An indirect positioning indication where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning
  • Capability information where the capability information is used to indicate that the first terminal device has the ability to communicate with an IoT device or has the ability to discover an IoT device.
  • the first communication device can store the association relationship between the first terminal device and the first identification information, so that after the first communication device receives the first location information request message for indicating a request for location information of the first Internet of Things device, the first communication device can include the first identification information in the first location information request message.
  • the terminal device corresponding to the first identification information in the association relationship can be determined by the first communication device as the first terminal device corresponding to the first Internet of Things device, and then the location information of the first terminal device can be obtained, and the location information of the first Internet of Things device can be determined based on the location information of the first terminal device.
  • the first communication device After receiving the capability information, the first communication device can store the capability information of the first terminal device, so that when the first communication device needs to execute the target process (including at least one of the discovery process, the paging process, and the inventory process) on the terminal device later, the first communication device can obtain the terminal device with the capability indicated by the capability information based on the capability information, so as to obtain the first terminal device corresponding to the first Internet of Things device, and then obtain the first terminal device. and determine the location information of the first IoT device based on the location information of the first terminal device.
  • the target process including at least one of the discovery process, the paging process, and the inventory process
  • the first communication device After the first communication device receives the above-mentioned non-direct positioning indication, it can store the non-direct positioning indication, so that after the first communication device receives the first location information request message for indicating the request for the location information of the first Internet of Things device, it searches whether the non-direct positioning indication of the Internet of Things device (i.e., the first Internet of Things device) whose location information is requested is stored. If found, the positioning process of the first terminal device corresponding to the first Internet of Things device is executed, so that the location information of the first Internet of Things device can be determined based on the location information of the first terminal device, so that the location information of the first Internet of Things device with more accurate positioning accuracy can be obtained.
  • the non-direct positioning indication of the Internet of Things device i.e., the first Internet of Things device
  • the first terminal device here can be a UE, and the first communication device can be an AMF.
  • the embodiments of the present application can convert the positioning of the IoT device into the positioning of the terminal device associated with the IoT device. In this way, even if the IoT device has extremely low working power consumption and does not support complex calculations of positioning services, the location information of the IoT device can be obtained.
  • the first terminal device sending third target information to the first communication device includes:
  • the first terminal device sends a second non-access stratum NAS message to the first communication device, wherein the second non-access stratum NAS message carries the third target information.
  • the first terminal device may send a second non-access layer NAS message to the first communication device, and carry the third target information in the second non-access layer NAS message.
  • the second non-access layer NAS message may be a registration request message or an uplink non-access layer transparent transmission message.
  • the first terminal device sending the first identification information to the first communication device includes:
  • the first terminal device periodically executes an inventory process to search for IoT devices, and sends the updated first identification information of the first IoT device to the first communication device.
  • the first terminal device can periodically obtain the updated first identification information of the first Internet of Things device and send it to the first communication device.
  • the identification information of the Internet of Things device stored in the first communication device can be the latest identification information, thereby reducing the probability of positioning failure due to the failure to update the identification information of the Internet of Things device in time.
  • the specific implementation of the positioning method of the embodiment of the present application may be as described in the following implementation mode 1, implementation mode 2 or implementation mode 3.
  • Implementation method 1 as shown in FIG. 7 , including steps 70 to 77 .
  • Step 70 The UE obtains the identification information of the IoT device and sends it to the AMF.
  • the AMF stores the correspondence between the UE and the IoT device to determine the reader/writer associated with the IoT device.
  • the process of the UE obtaining the identification information of the IoT device includes the UE sending an excitation signal to the IoT device, and the UE receiving a reflection signal from the IoT device, wherein the reflection signal includes the identification information of the IoT device.
  • the UE periodically performs an inventory process to search for nearby IoT devices and sends the updated IoT device identification to the AMF.
  • the UE and the AMF can negotiate the inventory cycle.
  • the UE sends capability information to the AMF, where the capability information indicates that the UE has the ability to communicate with the IoT device or has the ability to discover the IoT device.
  • the UE sends a non-direct positioning indication of the IoT device to the AMF, indicating that the IoT device does not support direct positioning.
  • the UE may send a first NAS message to the AMF, where the first NAS message carries at least one of the identification information, capability information, and indirect positioning indication of the IoT device.
  • the first NAS message may be a registration request message or an uplink non-access layer transparent transmission message.
  • Step 71 The application function (AF) sends a second location information request message of the IoT device to the network exposure function (NEF).
  • AF application function
  • NEF network exposure function
  • the AF may send a Nnef_EventExposure_Subscribe message to the NEF, where the Nnef_EventExposure_Subscribe message carries the second location information request message.
  • the second location information request message may include at least one of the following:
  • the regional information associated with the IoT device i.e., the regional information where the IoT device may be located, which is used to indicate the regional scope for obtaining the location information of the IoT device;
  • the reader identifier associated with the IoT device is the reader identifier associated with the IoT device.
  • the service level information indicates the level of the second location information request message.
  • the service level information may include at least one of positioning accuracy, positioning time, positioning range, and level indication.
  • the positioning accuracy indicates the accuracy of the acquired location information, for example, the positioning accuracy is 3m.
  • the positioning time indicates the time of obtaining the position information. For example, if the positioning time is 10 minutes, it means that the position information needs to be obtained within 10 minutes.
  • the positioning range indicates that the location information is obtained within a certain range. For example, if the positioning range is area A, it indicates that the location information of the IoT device is found within the area of area A; for another example, if the positioning range is location B and 1km, it indicates that the location information of the IoT device is found within a range of 1km around location B; for another example, location B in the positioning range may be a regional range, then location B can be represented by the area where the IoT device may be located.
  • the level indicator can be high, medium, low, or default.
  • the value corresponds to the service strategy provided by the mobile network. Each strategy corresponds to at least one of the positioning accuracy, positioning time, and positioning range set by the operator.
  • the possible regional information of the IoT device may be the location information that the IoT device has been to (for example, within a first preset time period). It should be noted that the possible regional information of the IoT device may be the location information of the mobile network (for example, a cell identifier, a tracking area identifier, etc.) or the geographical location information (for example, longitude and latitude, street, administrative district, etc.).
  • the reader/writer identifier associated with the IoT device can be the reader/writer identifier or the reader/writer holder identifier (i.e., the communication number of the reader/writer user).
  • a reader/writer identifier can be associated with one or more readers/writers.
  • the reader/writer identifier can include at least one of the following: Subscription Permanent Identifier (SUPI), International Mobile Subscriber Identity (IMSI), and Generic Public Subs cription Identifier (GPSI).
  • SUPI Subscription Permanent Identifier
  • IMSI International Mobile Subscriber Identity
  • GPSI Generic Public Subs cription Identifier
  • Step 72 NEF authorizes the second location information request received by AF and determines to use the AMF-based positioning service (location event exposure service).
  • the NEF authorizes the received second location information request according to the operator configuration information or the first protocol between the operator and the AF. That is, when the operator configuration information or the first protocol indicates that the location information of the IoT device is represented by the location information of the reader/writer corresponding to the IoT device, the received second location information request message is authorized; otherwise, the second location information request message is not authorized.
  • NEF can determine whether to use AMF-based positioning service or GMLC-based positioning service according to the positioning accuracy in the second location information request message or whether GMLC-based positioning service (GMLC-based location service) and AMF-based positioning service are available.
  • GMLC-based location service GMLC-based location service
  • AMF-based positioning service GMLC-based location service
  • NEF depends on the implementation or operator policy to decide whether GMLC-based positioning service and AMF-based positioning service are available.
  • NEF determines to use the AMF-based positioning service this time.
  • Step 73 NEF sends a first location information request message to AMF.
  • NEF when AMF is able to communicate directly with NEF, NEF sends a fourth location information request message to UDM, and UDM queries the AMF that can provide the location information request (i.e., the AMF that can provide services for this positioning) based on the content included in the fourth location information request message, wherein UDM returns the address information of the queried AMF to NEF, so that NEF sends the first location information request message to AMF; exemplarily, NEF sends a Nudm_UECM_Get message to UDM, and the Nudm_UECM_Get message carries the above-mentioned fourth location information request message; NEF sends a Nudm_EventExposure_Subscribe message to AMF, and the Nudm_EventExposure_Subscribe message carries the above-mentioned first location information request message.
  • UDM returns the address information of the queried AMF to NEF, so that NEF sends the first location information request message to AMF
  • NEF sends a Nud
  • NEF sends a third location information request message to UDM
  • UDM queries the AMF that can provide the location information request (i.e., the AMF that can provide services for this positioning) based on the content included in the third location information request message, and then UDM sends the first location information request message to AMF;
  • NEF sends a Nudm_EventExposure_Subscribe message to UDM
  • the Nudm_EventExposure_Subscribe message carries the above-mentioned third location information request message
  • UDM sends a Namf_EventExposure_Subscribe message to AMF
  • the Namf_EventExposure_Subscribe message carries the above-mentioned first location information request message.
  • the third location information request message, the fourth location information request message, and the first location information request message may include part or all of the parameters in the second location information request message in step 71, respectively, but the parameter names or expressions may be the same or different.
  • the third location information request message, the fourth location information request message, or the first location information request message may include identification information of the IoT device.
  • service level information and possible regional information of the IoT device may also be included.
  • the UDM can determine the AMF based on the service level and/or possible regional information of the IoT device in the third location information request message (or the fourth location information request message), and send a first location information request message to the AMF. For example, if the service level indicates that the positioning range is area A, the UDM sends a first location information request message to the AMF covering area A; if the possible regional information of the IoT device is area B, the UDM sends a first location information request message to the AMF covering areas A and B. Among them, area A may include area B, and area A may also be a subset of area B. This is not limited in the embodiments of the present application. In addition, the AMF determined by the above-mentioned UDM may be one or more.
  • the NEF will reject the second location information request message if the NEF does not authorize the AF's request (i.e., the above-mentioned second location information request message) or cannot obtain the AMF that can provide services for this positioning from the UDM.
  • Step 74 AMF determines the reader/writer corresponding to the IoT device.
  • the AMF determines the reader/writer corresponding to the IoT device, including at least one of the following:
  • the AMF determines the reader/writer corresponding to the IoT device according to the stored association relationship between the UE and the IoT device (i.e., through the association relationship stored in the aforementioned step 70);
  • the AMF performs at least one of a reader discovery process, an inventory process, and a paging process on a UE capable of communicating with an IoT device or capable of discovering an IoT device;
  • the AMF determines the reader/writer based on the reader/writer identifier (one or more) included in the first location request message.
  • Step 75a AMF uses the current location information of the reader as the location information of the IoT device
  • Step 75b AMF executes the reader positioning process and uses the obtained reader location information as the location information of the IoT device.
  • AMF can determine whether to execute the reader/writer positioning process based on at least one of the positioning accuracy in the first location information request message, the type of the first location information request message, the source of the first location information request message, whether there is an indirect positioning indication of the IoT device in the AMF, the identification information of the IoT device in the first location information request message, and whether the operator policy indicates that the location information of the IoT device is represented by the location information of the reader/writer corresponding to the IoT device.
  • AMF does not execute the reader positioning process, but uses the current location information of the reader as the location information of the IoT device;
  • the AMF when the AMF stores an indirect positioning indication of the IoT device, or when the first location information request message carries a reader identifier, or when the operator policy indicates that the location information of the IoT device is represented by the location information of the reader corresponding to the IoT device, or when the positioning accuracy granularity is less than the TA granularity, or when the first location request message is a Namf_Location_ProvidePositioningInfo service operation message, or when When the first location information request message comes from GMLC, AMF executes the reader positioning process, thereby determining the location information of the reader obtained by executing the reader positioning process as the location information of the IoT device.
  • the AMF when executing the reader positioning process, can determine the LMF that can provide services for this positioning process based on the content of the received first location information request message (such as positioning accuracy, service level information, and possible regional information of the IoT device). For example, the AMF determines the above-mentioned LMF that supports the positioning accuracy based on the positioning accuracy, or determines the above-mentioned LMF based on the positioning range indicated by the service level information; or determines the above-mentioned AMF based on the possible regional information of the IoT device.
  • the AMF determines the above-mentioned LMF that supports the positioning accuracy based on the positioning accuracy, or determines the above-mentioned LMF based on the positioning range indicated by the service level information; or determines the above-mentioned AMF based on the possible regional information of the IoT device.
  • the location information of one of the multiple readers/writers can be used as the location information of the IoT device.
  • Step 76.AMF sends the location information of the IoT device to NEF.
  • Step 77 NEF sends the location information of the IoT device to AF.
  • Implementation method 2 as shown in FIG. 8 , including steps 80 to 89 .
  • Step 80 The same as step 70 in the aforementioned embodiment 1, which will not be described again here.
  • Step 81 The same as step 71 in the aforementioned embodiment 1, which will not be described again here.
  • Step 82 NEF authorizes the received second location information request of AF and determines to use the GMLC-based positioning service.
  • the NEF authorizes the received second location information request according to the operator configuration information or the first protocol between the operator and the AF. That is, when the operator configuration information or the first protocol indicates that the location information of the IoT device is represented by the location information of the reader/writer corresponding to the IoT device, the received second location information request message is authorized; otherwise, the second location information request message is not authorized.
  • NEF can determine whether to use AMF-based positioning service or GMLC-based positioning service according to the positioning accuracy in the second location information request message or whether GMLC-based positioning service (GMLC-based location service) and AMF-based positioning service are available.
  • GMLC-based location service GMLC-based location service
  • AMF-based positioning service GMLC-based location service
  • NEF depends on the implementation or operator policy to decide whether GMLC-based positioning service and AMF-based positioning service are available.
  • the NEF determines to use the GMLC-based positioning service this time.
  • Step 83 NEF sends a fifth location information request message to GMLC.
  • the NEF obtains the GMLC address through configuration or network storage function (NF Repository Function, NRF) query, and sends a fifth location information request message to the GMLC.
  • NRF network Repository Function
  • NEF sends the sixth location information request message to NRF, and NRF queries the GMLC that can provide the location information request (i.e., the GMLC that can provide services for this positioning) based on the content included in the sixth location information request message, wherein NRF returns the address information of the queried GMLC to NEF, so that NEF sends the fifth location information request message to the GMLC.
  • NRF queries the GMLC that can provide the location information request (i.e., the GMLC that can provide services for this positioning) based on the content included in the sixth location information request message, wherein NRF returns the address information of the queried GMLC to NEF, so that NEF sends the fifth location information request message to the GMLC.
  • the sixth location information request message and the first location information request message may include some or all parameters in the second location information request message in step 81, but the parameter names or expression forms are different.
  • the formats may be the same or different.
  • the sixth location information request message or the first location information request message may include identification information of the IoT device.
  • it may also include service level information and information about the area where the IoT device may be located.
  • Step 84 GMLC sends a first location information request message to AMF.
  • GMLC sends a seventh location information request message to UDM, and UDM queries the AMF that can provide the location information request (i.e., the AMF that can provide services for this positioning) according to the content included in the seventh location information request message, wherein UDM returns the address information of the queried AMF to GMLC, so that GMLC sends the first location information request message to AMF; exemplarily, GMLC sends a Nudm_UECM_Get message to UDM, and the Nudm_UECM_Get message carries the above-mentioned seventh location information request message; GMLC sends a Nudm_EventExposure_Subscribe message to AMF, and the Nudm_EventExposure_Subscribe message carries the above-mentioned first location information request message.
  • UDM queries the AMF that can provide the location information request (i.e., the AMF that can provide services for this positioning) according to the content included in the seventh location information request message, wherein UDM returns the address information of
  • the seventh location information request message may include some or all of the parameters in the second location information request message in step 81, but the parameter names or expressions may be the same or different.
  • the seventh location information request message may include identification information of the IoT device.
  • it may also include service level information and possible regional information of the IoT device.
  • Step 85 The same as step 74 in the aforementioned embodiment 1, and will not be repeated here.
  • Step 86a is the same as step 75a in the aforementioned embodiment 1 and will not be described again here.
  • Step 86b is the same as step 75b of the aforementioned embodiment 1 and will not be described again here.
  • Step 87 AMF sends the location information of the IoT device to GMLC.
  • Step 88 GMLC sends the location information of the IoT device to NEF.
  • Step 89 NEF sends the location information of the IoT device to AF.
  • Step 90 The same as step 70 in the aforementioned embodiment 1, and will not be repeated here.
  • Step 91 UE2 sends a second location information request message to AMF2.
  • the content included in the second location information request message is the same as that in the aforementioned implementation mode 1, and will not be repeated here.
  • a user may use UE2 to search for IoT devices.
  • UE2 can send a NAS message to AMF2, and the NAS message carries the above-mentioned second location information request message (or the second location information request message sent by UE2 to AMF can be a NAS message).
  • Step 92 AMF2 authorizes the second location information request message.
  • AMF2 can authorize the received second location information request according to the contract data of UE2 or the first protocol between UE1 and UE2 (that is, allow the use of at least part of the content included in the second location information request message). That is, when the contract data of UE2 or the second protocol indicates that the location information of the IoT device is represented by the location information of the reader/writer corresponding to the IoT device, AMF2 authorizes the received second location information request message; otherwise, the second location information request message is not authorized.
  • AMF2 needs to determine whether it can serve AMF1 in the search range.
  • Step 93 AMF2 sends a first location information request message to AMF1.
  • the first location information request message may include some or all of the parameters in the second location information request message in step Y1, but the parameter names or expressions may be the same or different.
  • the first location information request message may include the identification information of the IoT device.
  • it may also include service level information and possible regional information of the IoT device.
  • Step 94 The process is the same as step 74 in the first embodiment and will not be described again here.
  • Step 95a is the same as step 75a in the aforementioned embodiment 1 and will not be repeated here.
  • Step 95b is the same as step 75b in the aforementioned embodiment 1 and will not be described again here.
  • Step 96 AMF1 sends the location information of the IoT device to AMF2.
  • Step 97 AMF2 sends the location information of the IoT device to UE2.
  • AMF2 finds that there is no context information of UE2 locally, then one of the following 7-1 and 7-2 may be executed:
  • AMF2 requests the AMF currently serving UE2 from UDM, for example, AMF3, and then AMF2 sends the location information of the IoT device to AMF3, so that AMF3 sends the location information of the IoT device to UE2.
  • AMF2 sends a failure message or a rejection message to AMF1, indicating that AMF2 is not currently serving UE2, so that AMF1 requests UDM for the AMF currently serving UE2, such as AMF3. Then, AMF1 sends the location information of the IoT device to AMF3, so that AMF3 sends the location information of the IoT device to UE2.
  • AMF1 and AMF2 may be the same or different. If AMF1 and AMF2 are the same, the interaction between AMF1 and AMF2 in the above method may be omitted.
  • the UE or RAN in the above-mentioned embodiments 1, 2, and 3 may be a reader/writer.
  • the positioning method provided in the embodiment of the present application can be executed by a positioning device.
  • the positioning method executed by the positioning device is taken as an example to illustrate the positioning device provided in the embodiment of the present application.
  • an embodiment of the present application provides a positioning device, which is applied to a first communication device, and the first communication device may be, for example, an AMF; as shown in FIG10 , the positioning device 100 includes:
  • a first acquisition module 1001 is used to acquire a first location information request message, where the first location information request message is used to indicate a request for location information of a first IoT device;
  • a first determining module 1002 is used to determine a first terminal device corresponding to the first Internet of Things device
  • a second acquisition module 1003 is used to acquire the location information of the first terminal device
  • the second determination module 1004 is used to determine the location information of the first Internet of Things device according to the location information of the first terminal device.
  • the device further comprises:
  • the third sending module is used to send the location information of the first Internet of Things device.
  • the first location information request message includes at least one of the following:
  • Service level information where the service level information is used to indicate the level of the location information of the first IoT device requested this time
  • the area information associated with the first IoT device the area information being used to indicate the area range for obtaining the location information of the first IoT device;
  • Second identification information of a terminal device associated with the first Internet of Things device Second identification information of a terminal device associated with the first Internet of Things device.
  • the first determining module 1002 is specifically configured to:
  • the first location information request message includes the first identification information
  • the association relationship includes an association relationship between the first identification information and the first terminal device.
  • the device further comprises:
  • a second receiving module used to receive first identification information of the first Internet of Things device sent by the first terminal device
  • a storage module is used to store the association relationship between the first terminal device and the first identification information.
  • the second receiving module is specifically configured to:
  • the first determining module 1002 is specifically configured to:
  • the terminal device identified by the second identification information is determined as the first terminal device corresponding to the first Internet of Things device.
  • the first determining module 1002 is specifically configured to:
  • the target process is one of the terminal device discovery process, the terminal device inventory process, and the terminal device paging process.
  • the device further comprises:
  • a third receiving module is used to receive capability information sent by the terminal device and store the capability information, wherein the capability information is used to indicate that the terminal device has the capability to communicate with the IoT device or has the capability to discover the IoT device;
  • the first determination module 1002 executes the target process, specifically for:
  • the target process is executed on a terminal device that has the capability to communicate with an IoT device or has the capability to discover an IoT device.
  • the third receiving module is specifically used to:
  • the second acquisition module 1003 is specifically used to:
  • determining to execute the terminal device positioning process determining the location information obtained by executing the terminal device positioning process on the first terminal device as the location information of the first terminal device;
  • the first target information includes at least one of the following:
  • An indirect positioning indication where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning
  • Second identification information where the second identification information is identification information of a terminal device associated with the first Internet of Things device and carried in the first location information request message;
  • the operator policy is used to indicate that the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device.
  • the second determining module 1004 is specifically configured to:
  • the location information of one of the multiple first terminal devices is determined as the location information of the first Internet of Things device.
  • the device further comprises:
  • a fourth receiving module configured to receive a failure message or a rejection message sent by the second communication device, wherein the failure message or the rejection message is used to indicate that the third communication device is not authorized to use the service provided by the second communication device;
  • a third acquisition module used to acquire third address information of a sixth communication device currently serving the third communication device
  • a fourth sending module configured to send the location information of the first Internet of Things device to the sixth communication device according to the third address information, and instruct the sixth communication device to send the location information of the first Internet of Things device to the third communication device;
  • the third communication device is a device that requests the location information of the first Internet of Things device.
  • the third acquisition module is specifically used to:
  • the positioning device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip.
  • the electronic device may be a network side device.
  • the network side device may include but is not limited to the types of network side devices 12 listed above, and the embodiment of the present application does not specifically limit this.
  • the positioning device provided in the embodiment of the present application can implement each process implemented by the method embodiment of Figure 3 and achieve the same technical effect. To avoid repetition, it will not be described here.
  • an embodiment of the present application provides a positioning device, which is applied to a second communication device, where the second communication device may be, for example, an NEF or an AMF; as shown in FIG. 11 , the positioning device 110 includes:
  • the first receiving module 1101 is used to receive a second location information request message sent by a third communication device, where the second location information request message is used to indicate a request for location information of a first Internet of Things device;
  • a third determining module 1102 is configured to determine, according to the second location information request message, a first communication device corresponding to the first Internet of Things device and send a first location information request message to the first communication device;
  • the first location information request message is used to indicate a request for location information of the first IoT device, and the first location information request message includes at least part of the content of the second location information request message.
  • the device further comprises:
  • the fifth receiving module is used to receive the location information of the first Internet of Things device sent by the first communication device.
  • the second location information request message includes at least one of the following:
  • Service level information where the service level information is used to indicate the level of the location information of the first IoT device requested this time
  • the area information associated with the first IoT device the area information being used to indicate the area range for obtaining the location information of the first IoT device;
  • Second identification information of a terminal device associated with the first Internet of Things device Second identification information of a terminal device associated with the first Internet of Things device.
  • the device further comprises:
  • a first authorization module configured to authorize the second location information request message when the operator configuration information or the first protocol indicates that the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device, wherein the first protocol is a protocol between the operator and the third communication device;
  • a second authorization module configured to authorize the second location information request message when the subscription data of the third communication device or the second protocol indicates that the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device, wherein the second protocol is a protocol between the third communication device and the first terminal device;
  • the third determination module 1102 determines the first communication device corresponding to the first Internet of Things device according to the second location information request message, and is specifically used to:
  • a first communication device corresponding to the first Internet of Things device is determined according to the second location information request message.
  • the third determining module 1102 includes:
  • a selection submodule configured to select one of the first positioning service and the second positioning service as a target service according to the second target information
  • a determination submodule is configured to determine, based on the target service and according to the second location information request message, a location associated with the target service. a first communication device corresponding to the first Internet of Things device and sending a first location information request message to the first communication device;
  • the first positioning service is a positioning service based on a first communication device
  • the second positioning service is a positioning service based on a fourth communication device
  • the second target information includes at least one of the following:
  • the determining submodule is specifically used for:
  • the target service is the first positioning service
  • sending a third location information request message to a fifth communication device the third location information request message including at least part of the content in the second location information request message, the third location information request message being used to instruct the fifth communication device to search for first address information of a first communication device corresponding to the first Internet of Things device, and instructing the fifth communication device to send the first location information request message to the first communication device according to the first address information;
  • the target service is the first positioning service
  • sending a fourth location information request message to a fifth communication device wherein the fourth location information request message includes at least part of the content in the second location information request message, and the fourth location information request message is used to instruct the fifth communication device to search for first address information of a first communication device corresponding to the first Internet of Things device;
  • the first location information request message is sent to the first communication device according to the first address information.
  • the target service is the second positioning service, obtaining second address information of the fourth communication device corresponding to the first Internet of Things device;
  • a fifth location information request message is sent to the fourth communication device, the fifth location information request message includes at least part of the content of the second location information request message, and the fifth location information request message is used to instruct the fourth communication device to obtain the first address information of the first communication device corresponding to the first Internet of Things device, and instruct the fourth communication device to send the first location information request message to the first communication device according to the first address information.
  • the device further comprises:
  • a fourth sending module configured to send the location information of the first Internet of Things device to the third communication device;
  • a fourth acquisition module configured to acquire a sixth communication device currently serving the third communication device if the third communication device is not authorized to use the service provided by the second communication device;
  • the fifth sending module is used to send the location information of the first Internet of Things device to the sixth communication device, and instruct the sixth communication device to send the location information of the first Internet of Things device to the third communication device.
  • the fourth acquisition module is specifically used to:
  • the third address information sent by the fifth communication device is received, and a device corresponding to the third address information is determined as the sixth communication device.
  • the fourth acquisition module is specifically used to:
  • a failure message or a rejection message is sent to the first communication device, wherein the failure message or the rejection message is used to indicate that the third communication device is not authorized to use the service provided by the second communication device, and to instruct the first communication device to obtain the third address information of the sixth communication device currently serving the third communication device, and to instruct the first communication device to send the location information of the first Internet of Things device to the sixth communication device, so that the sixth communication device sends the location information of the first Internet of Things device to the third communication device.
  • the positioning device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip.
  • the electronic device may be a network side device.
  • the network side device may include but is not limited to the types of network side devices 12 listed above, and the embodiment of the present application does not specifically limit this.
  • the positioning device provided in the embodiment of the present application can implement each process implemented by the method embodiment of Figure 4 and achieve the same technical effect. To avoid repetition, it will not be described here.
  • an embodiment of the present application provides a positioning device, which is applied to a third communication device, and the third communication device may be, for example, an AF or a UE; as shown in FIG12 , the positioning device 120 includes:
  • the first sending module 1201 is used to send a second location information request message to a second communication device, where the second location information request message is used to indicate a request for location information of a first Internet of Things device.
  • the device further comprises:
  • the fifth receiving module is used to receive the location information of the first Internet of Things device.
  • the second location information request message includes at least one of the following:
  • Service level information where the service level information is used to indicate the level of the location information of the first IoT device requested this time
  • the area information associated with the first IoT device the area information being used to indicate the area range for obtaining the location information of the first IoT device;
  • Second identification information of a terminal device associated with the first Internet of Things device Second identification information of a terminal device associated with the first Internet of Things device.
  • the positioning device in the embodiment of the present application can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip.
  • the electronic device can be a network side device, and exemplarily, the network side device can include but is not limited to the types of network side devices 12 listed above, which are not specifically limited in the embodiment of the present application; the electronic device can also be a terminal device, and exemplarily, the terminal device can include but is not limited to the types of terminal devices 11 listed above, which are not specifically limited in the embodiment of the present application.
  • the positioning device provided in the embodiment of the present application can implement each process implemented by the method embodiment of Figure 5 and achieve the same technical effect. To avoid repetition, it will not be described here.
  • an embodiment of the present application provides a positioning device, which is applied to a first terminal device, and the first terminal device may be, for example, a UE; as shown in FIG13 , the positioning device 130 includes:
  • the second sending module 1301 is used to send third target information to the first communication device
  • the third target information includes at least one of the following:
  • An indirect positioning indication where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning
  • Capability information where the capability information is used to indicate that the first terminal device has the ability to communicate with an IoT device or has the ability to discover an IoT device.
  • the second sending module 1301 is specifically configured to:
  • the second sending module 1301 sends the first identification information to the first communication device, specifically configured to:
  • An inventory process is periodically executed to search for IoT devices, and the first identification information of the first IoT device after update is sent to the first communication device.
  • the positioning device in the embodiment of the present application can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip.
  • the electronic device can be a terminal device, and the terminal device can include but is not limited to the types of terminal devices 11 listed above, which are not specifically limited in the embodiment of the present application.
  • the positioning device provided in the embodiment of the present application can implement each process implemented by the method embodiment of Figure 6 and achieve the same technical effect. To avoid repetition, it will not be described here.
  • an embodiment of the present application further provides a communication device 1400, including a processor 1401 and a memory 1402, wherein the memory 1402 stores a program or instruction that can be run on the processor 1401.
  • the communication device 1400 is a terminal
  • the program or instruction is executed by the processor 1401 to implement the various steps of the positioning method embodiment described in the third aspect or the fourth aspect, and can achieve the same technical effect.
  • the communication device 1400 is a network side device
  • the program or instruction is executed by the processor 1401 to implement the various steps of the positioning method embodiment described in the first aspect, the second aspect, or the third aspect, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • FIG15 is a schematic diagram of the hardware structure of a terminal device implementing an embodiment of the present application.
  • the terminal device 1500 includes but is not limited to: a radio frequency unit 1501, a network module 1502, an audio output unit 1503, an input unit 1504, a sensor 1505, a display unit 1506, a user input unit 1507, an interface unit 1508, a storage unit 1509, At least some components of the memory 1509 and the processor 1510, etc.
  • the terminal device 1500 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1510 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system.
  • a power source such as a battery
  • the terminal device structure shown in FIG15 does not constitute a limitation on the terminal device, and the terminal device may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.
  • the input unit 1504 may include a graphics processing unit (GPU) 15041 and a microphone 15042, and the graphics processor 15041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode.
  • the display unit 1506 may include a display panel 15061, and the display panel 15061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
  • the user input unit 1507 includes a touch panel 15071 and at least one of other input devices 15072.
  • the touch panel 15071 is also called a touch screen.
  • the touch panel 15071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 15072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
  • the radio frequency unit 1501 can transmit the data to the processor 1510 for processing; in addition, the radio frequency unit 1501 can send uplink data to the network side device.
  • the radio frequency unit 1501 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
  • the memory 1509 can be used to store software programs or instructions and various data.
  • the memory 1509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the memory 1509 may include a volatile memory or a non-volatile memory, or the memory 1509 may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM).
  • the memory 1509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
  • the processor 1510 may include one or more processing units; optionally, the processor 1510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1510.
  • the radio frequency unit 1501 is used to: send a second location information request message to the second communication device, and the second location information request message is used to indicate a request for location information of the first Internet of Things device.
  • the radio frequency unit 1501 is further configured to:
  • the second location information request message includes at least one of the following:
  • Service level information where the service level information is used to indicate the level of the location information of the first IoT device requested this time
  • the area information associated with the first IoT device the area information being used to indicate the area range for obtaining the location information of the first IoT device;
  • Second identification information of a terminal device associated with the first Internet of Things device Second identification information of a terminal device associated with the first Internet of Things device.
  • the radio frequency unit 1501 is used to send third target information to the first communication device;
  • the third target information includes at least one of the following:
  • An indirect positioning indication where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning
  • Capability information where the capability information is used to indicate that the first terminal device has the ability to communicate with an IoT device or has the ability to discover an IoT device.
  • the radio frequency unit 1501 sends third target information to the first communication device, specifically for:
  • the radio frequency unit 1501 sends the first identification information to the first communication device, specifically for:
  • An inventory process is periodically executed to search for IoT devices, and the first identification information of the first IoT device after update is sent to the first communication device.
  • the embodiment of the present application also provides a network side device.
  • the network side device 1600 includes: a processor 1601, a network interface 1602 and a memory 1603.
  • the network interface 1602 is, for example, a common public radio interface (CPRI).
  • CPRI common public radio interface
  • the network side device 1600 of the embodiment of the present invention also includes: instructions or programs stored in the memory 1603 and executable on the processor 1601.
  • the processor 1601 calls the instructions or programs in the memory 1603 to execute the method shown in Figure 3 or Figure 4 or Figure 5, and achieves the same technical effect. To avoid repetition, it will not be repeated here.
  • the embodiment of the present application further provides a readable storage medium on which a program or instruction is stored, and when the program or instruction is executed by a processor, the first aspect, the second aspect, the third aspect, or the fourth aspect described above is implemented.
  • the various processes of the positioning method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.
  • the processor is the processor in the terminal described in the above embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
  • An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the positioning method embodiments described in the first aspect, the second aspect, the third aspect, or the fourth aspect above, and can achieve the same technical effect. To avoid repetition, they are not repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • the embodiments of the present application further provide a computer program/program product, which is stored in a storage medium.
  • the computer program/program product is executed by at least one processor to implement the various processes of the positioning method embodiments described in the first aspect, the second aspect, the third aspect, or the fourth aspect above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • An embodiment of the present application also provides a positioning system, including: a first communication device, a second communication device, a third communication device and a first terminal device, wherein the first communication device can be used to execute the steps of the positioning method described in the first aspect above, the second communication device can be used to execute the steps of the positioning method described in the second aspect above, the third communication device can be used to execute the steps of the positioning method described in the third aspect above, and the first terminal device can be used to execute the steps of the positioning method described in the fourth aspect above.
  • the technical solution of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.) to execute the methods described in each embodiment of the present application.
  • a storage medium such as ROM/RAM, magnetic disk, optical disk
  • a terminal which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.

Landscapes

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

Abstract

The present application belongs to the technical field of communications. Disclosed are a positioning method and apparatus, and a communication device. The positioning method in the embodiments of the present application comprises: a first communication device acquiring a first location information request message, wherein the first location information request message is used for indicating a request for location information of a first Internet-of-Things device; the first communication device determining a first terminal device corresponding to the first Internet-of-Things device; the first communication device acquiring location information of the first terminal device; and the first communication device determining the location information of the first Internet-of-Things device according to the location information of the first terminal device.

Description

定位方法、装置及通信设备Positioning method, device and communication equipment
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2022年11月15日提交中国专利局、申请号为202211427137.6、名称为“定位方法、装置及通信设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application filed with the Chinese Patent Office on November 15, 2022, with application number 202211427137.6 and title “Positioning method, device and communication equipment”, the entire contents of which are incorporated by reference into this application.
技术领域Technical Field
本申请属于通信技术领域,具体涉及一种定位方法、装置及通信设备。The present application belongs to the field of communication technology, and specifically relates to a positioning method, device and communication equipment.
背景技术Background technique
现有3GPP 5G系统中支持定位服务,是由认证管理功能(Access Management Function,AMF)和位置管理功能(Location Management Function,LMF)等网元负责执行并提供的。定位流程可由应用功能(Application Function,AF)经由网络开放功能(Network Exposure Function,NEF)网元发起,经由AMF、LMF等网元,获取到终端的位置信息。The existing 3GPP 5G system supports positioning services, which are implemented and provided by network elements such as the Access Management Function (AMF) and the Location Management Function (LMF). The positioning process can be initiated by the Application Function (AF) via the Network Exposure Function (NEF) network element, and the terminal's location information can be obtained through network elements such as AMF and LMF.
其中,物联网终端一般指用于某些特定的场景或特定的服务的终端设备。物联网设备可针对所需执行的服务和应用程序的特定需求进行设计(例如,智能家居/城市、智能公用设施、电子健康和智能可穿戴设备)。一些物联网终端可能不用于人类通信,例如,电子抄表设备。Among them, IoT terminals generally refer to terminal devices used in certain specific scenarios or specific services. IoT devices can be designed for the specific needs of the services and applications to be performed (for example, smart homes/cities, smart utilities, e-health, and smart wearable devices). Some IoT terminals may not be used for human communication, for example, electronic meter reading equipment.
对于这些物联网设备,部分物联网设备的工作功耗极低,可能无法支持定位服务的复杂计算,因此移动网络不能通过现有的定位流程获取这些物联网设备的位置信息。For these IoT devices, some of them have extremely low working power consumption and may not be able to support the complex calculations of positioning services. Therefore, the mobile network cannot obtain the location information of these IoT devices through the existing positioning process.
发明内容Summary of the invention
本申请实施例提供一种定位方法、装置及通信设备,能够解决无法采用现有的定位流程获取物联网设备的位置信息的问题。The embodiments of the present application provide a positioning method, an apparatus and a communication device, which can solve the problem that the location information of an IoT device cannot be obtained by using the existing positioning process.
第一方面,提供了一种定位方法,包括:In a first aspect, a positioning method is provided, comprising:
第一通信设备获取第一位置信息请求消息,所述第一位置信息请求消息用于指示请求第一物联网设备的位置信息;The first communication device obtains a first location information request message, where the first location information request message is used to indicate a request for location information of the first Internet of Things device;
所述第一通信设备确定所述第一物联网设备对应的第一终端设备;The first communication device determines a first terminal device corresponding to the first Internet of Things device;
所述第一通信设备获取所述第一终端设备的位置信息;The first communication device obtains the location information of the first terminal device;
所述第一通信设备根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息。The first communication device determines the location information of the first Internet of Things device based on the location information of the first terminal device.
第二方面,提供了一种定位方法,包括:In a second aspect, a positioning method is provided, including:
第二通信设备接收第三通信设备发送的第二位置信息请求消息,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息;The second communication device receives a second location information request message sent by the third communication device, where the second location information request message is used to indicate a request for location information of the first Internet of Things device;
所述第二通信设备根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息; The second communication device determines, according to the second location information request message, a first communication device corresponding to the first Internet of Things device and sends a first location information request message to the first communication device;
其中,所述第一位置信息请求消息用于指示请求所述第一物联网设备的位置信息,所述第一位置信息请求消息中包括所述第二位置信息请求消息中的至少部分内容。The first location information request message is used to indicate a request for location information of the first IoT device, and the first location information request message includes at least part of the content of the second location information request message.
第三方面,提供了一种定位方法,包括:A third aspect provides a positioning method, including:
第三通信设备向第二通信设备发送第二位置信息请求消息,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息。The third communication device sends a second location information request message to the second communication device, where the second location information request message is used to indicate a request for location information of the first Internet of Things device.
第四方面,提供了一种定位方法,包括:A fourth aspect provides a positioning method, including:
第一终端设备向第一通信设备发送第三目标信息;The first terminal device sends third target information to the first communication device;
其中,所述第三目标信息包括如下中至少一项:The third target information includes at least one of the following:
第一物联网设备的第一标识信息;first identification information of the first IoT device;
非直接定位指示,所述非直接定位指示用于指示所述第一物联网设备不支持直接定位;An indirect positioning indication, where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning;
能力信息,所述能力信息用于指示所述第一终端设备具备与物联网设备通信的能力或具备发现物联网设备的能力。Capability information, where the capability information is used to indicate that the first terminal device has the ability to communicate with an IoT device or has the ability to discover an IoT device.
第五方面,提供了一种定位装置,包括:In a fifth aspect, a positioning device is provided, comprising:
第一获取模块,用于获取第一位置信息请求消息,所述第一位置信息请求消息用于指示请求第一物联网设备的位置信息;A first acquisition module, used to acquire a first location information request message, where the first location information request message is used to indicate a request for location information of a first Internet of Things device;
第一确定模块,用于确定所述第一物联网设备对应的第一终端设备;A first determining module, used to determine a first terminal device corresponding to the first Internet of Things device;
第二获取模块,用于获取所述第一终端设备的位置信息;A second acquisition module, used to acquire the location information of the first terminal device;
第二确定模块,用于根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息。The second determination module is used to determine the location information of the first Internet of Things device according to the location information of the first terminal device.
第六方面,提供了一种定位装置,包括:In a sixth aspect, a positioning device is provided, comprising:
第一接收模块,用于接收第三通信设备发送的第二位置信息请求消息,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息;A first receiving module, configured to receive a second location information request message sent by a third communication device, wherein the second location information request message is used to indicate a request for location information of a first Internet of Things device;
第三确定模块,用于根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息;A third determination module, configured to determine, according to the second location information request message, a first communication device corresponding to the first Internet of Things device and send a first location information request message to the first communication device;
其中,所述第一位置信息请求消息用于指示请求所述第一物联网设备的位置信息,所述第一位置信息请求消息中包括所述第二位置信息请求消息中的至少部分内容。The first location information request message is used to indicate a request for location information of the first IoT device, and the first location information request message includes at least part of the content of the second location information request message.
第七方面,提供了一种定位装置,包括:In a seventh aspect, a positioning device is provided, comprising:
第一发送模块,用于向第二通信设备发送第二位置信息请求消息,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息。The first sending module is used to send a second location information request message to the second communication device, where the second location information request message is used to indicate a request for location information of the first Internet of Things device.
第八方面,提供了一种定位装置,包括:In an eighth aspect, a positioning device is provided, comprising:
第二发送模块,用于向第一通信设备发送第三目标信息;A second sending module, used to send third target information to the first communication device;
其中,所述第三目标信息包括如下中至少一项:The third target information includes at least one of the following:
第一物联网设备的第一标识信息;first identification information of the first IoT device;
非直接定位指示,所述非直接定位指示用于指示所述第一物联网设备不支持直接定 位;Indirect positioning indication, the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning Bit;
能力信息,所述能力信息用于指示第一终端设备具备与物联网设备通信的能力或具备发现物联网设备的能力。Capability information, where the capability information is used to indicate that the first terminal device has the capability to communicate with the IoT device or has the capability to discover the IoT device.
第九方面,提供了一种通信设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如上述第一方面或第二方面或第三方面或第四方面所述的方法的步骤。In the ninth aspect, a communication device is provided, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect, the second aspect, the third aspect, or the fourth aspect are implemented.
第十方面,提供了一种定位系统,包括:第一通信设备、第二通信设备、第三通信设备和第一终端,所述第一通信设备可用于执行如上述第一方面所述的定位方法的步骤,所述第二通信设备可用于执行如上述第二方面所述的定位方法的步骤,所述第三通信设备可用于执行如上第三方面所述的定位方法的步骤,所述第一终端可用于执行如上第四方面所述的定位方法的步骤。In the tenth aspect, a positioning system is provided, comprising: a first communication device, a second communication device, a third communication device and a first terminal, wherein the first communication device can be used to execute the steps of the positioning method as described in the first aspect above, the second communication device can be used to execute the steps of the positioning method as described in the second aspect above, the third communication device can be used to execute the steps of the positioning method as described in the third aspect above, and the first terminal can be used to execute the steps of the positioning method as described in the fourth aspect above.
第十一方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面或第二方面或第三方面或第四方面所述的方法的步骤。In the eleventh aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect, the second aspect, the third aspect, or the fourth aspect are implemented.
第十二方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面或第二方面或第三方面或第四方面所述的方法。In the twelfth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect, the second aspect, the third aspect, or the fourth aspect.
第十三方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面或第二方面或第三方面或第四方面所述的方法的步骤。In the thirteenth aspect, a computer program/program product is provided, wherein the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement the steps of the method described in the first aspect, the second aspect, the third aspect, or the fourth aspect.
第十四方面,本申请实施例提供了一种定位装置,所述装置用于执行如第一方面或第二方面或第三方面或第四方面所述的定位方法的步骤。In a fourteenth aspect, an embodiment of the present application provides a positioning device, which is used to execute the steps of the positioning method described in the first aspect, the second aspect, the third aspect, or the fourth aspect.
在本申请实施例中,第一通信设备能够获取第一位置信息请求消息,该第一位置信息请求消息用于指示请求第一物联网设备的位置信息,从而使得第一通信设备可以确定第一物联网设备对应的第一终端设备,并获取第一终端设备的位置信息,进而根据第一终端设备的位置信息,确定第一物联网设备的位置信息。由此可见,本申请的实施例,可以将对物联网设备的定位转换为对与物联网设备关联的终端设备的定位,这样,即使物联网设备的工作功耗极低,且不支持定位服务的复杂计算,也可以获取到物联网设备的位置信息。In an embodiment of the present application, the first communication device can obtain a first location information request message, which is used to indicate a request for location information of the first IoT device, so that the first communication device can determine the first terminal device corresponding to the first IoT device, and obtain the location information of the first terminal device, and then determine the location information of the first IoT device based on the location information of the first terminal device. It can be seen that the embodiment of the present application can convert the positioning of the IoT device into the positioning of the terminal device associated with the IoT device, so that even if the IoT device has extremely low power consumption and does not support complex calculations of positioning services, the location information of the IoT device can be obtained.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例可应用的一种无线通信系统的框图;FIG1 is a block diagram of a wireless communication system to which an embodiment of the present application can be applied;
图2是本申请实施例中物联网设备通过读写器接入移动网络的示意图;FIG2 is a schematic diagram of an IoT device accessing a mobile network via a reader/writer in an embodiment of the present application;
图3是本申请实施例中的一种定位方法的流程图;FIG3 is a flow chart of a positioning method in an embodiment of the present application;
图4是本申请实施例中的另一种定位方法的流程图;FIG4 is a flow chart of another positioning method in an embodiment of the present application;
图5是本申请实施例中的另一种定位方法的流程图; FIG5 is a flow chart of another positioning method in an embodiment of the present application;
图6是本申请实施例中的另一种定位方法的流程图;FIG6 is a flow chart of another positioning method in an embodiment of the present application;
图7是本申请实施例的定位方法的实施方式一的流程图;FIG7 is a flow chart of implementation mode 1 of the positioning method according to an embodiment of the present application;
图8是本申请实施例的定位方法的实施方式二的流程图;FIG8 is a flow chart of implementation mode 2 of the positioning method according to an embodiment of the present application;
图9是本申请实施例的定位方法的实施方式三的流程图;FIG9 is a flowchart of implementation mode 3 of the positioning method according to an embodiment of the present application;
图10是本申请实施例中的一种定位装置的结构框图;FIG10 is a structural block diagram of a positioning device in an embodiment of the present application;
图11是本申请实施例中的另一种定位装置的结构框图;FIG11 is a structural block diagram of another positioning device in an embodiment of the present application;
图12是本申请实施例中的另一种定位装置的结构框图;FIG12 is a structural block diagram of another positioning device in an embodiment of the present application;
图13是本申请实施例中的另一种定位装置的结构框图;FIG13 is a structural block diagram of another positioning device in an embodiment of the present application;
图14是本申请实施例中的一种通信设备的结构框图;FIG14 is a block diagram of a communication device in an embodiment of the present application;
图15是本申请实施例中的一种终端设备的结构框图;FIG15 is a block diagram of a terminal device in an embodiment of the present application;
图16是本申请实施例中的一种网络侧设备的结构框图。FIG16 is a structural block diagram of a network-side device in an embodiment of the present application.
具体实施例Specific embodiments
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and/or" in the specification and claims represents at least one of the connected objects, and the character "/" generally represents that the objects associated with each other are in an "or" relationship.
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6th Generation,6G)通信系统。It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE)/LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the above-mentioned systems and radio technologies as well as other systems and radio technologies. The following description describes a new radio (NR) system for example purposes, and NR terms are used in most of the following descriptions, but these technologies can also be applied to applications other than NR system applications, such as the 6th Generation (6G) communication system.
图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括终端设备11和网络侧设备12。其中,终端设备11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal  computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、车载设备(VUE)、行人终端设备(PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端设备侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。需要说明的是,在本申请实施例并不限定终端设备11的具体类型。网络侧设备12可以包括接入网设备或核心网设备,其中,接入网设备12也可以称为无线接入网设备、无线接入网(Radio Access Network,RAN)、无线接入网功能或无线接入网单元。接入网设备12可以包括基站、WLAN接入点或WiFi节点等,基站可被称为节点B、演进节点B(eNB)、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点、家用演进型B节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例进行介绍,并不限定基站的具体类型。FIG1 is a block diagram of a wireless communication system applicable to the embodiment of the present application. The wireless communication system includes a terminal device 11 and a network side device 12. The terminal device 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palm computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer), or a laptop computer. The terminal device side equipment 12 includes: a smart computer, a UMPC, a mobile Internet device (MID), an augmented reality (AR)/virtual reality (VR) device, a robot, a wearable device (Wearable Device), a vehicle-mounted device (VUE), a pedestrian terminal device (PUE), a smart home (a home appliance with a wireless communication function, such as a refrigerator, a television, a washing machine or furniture, etc.), a game console, a personal computer (PC), a teller machine or a self-service machine, etc., and the wearable device includes: a smart watch, a smart bracelet, a smart headset, a smart glasses, a smart jewelry (smart bracelet, a smart bracelet, a smart ring, a smart necklace, a smart anklet, a smart anklet, etc.), a smart wristband, a smart clothing, etc. It should be noted that the specific type of the terminal device 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device 12 may also be referred to as a wireless access network device, a wireless access network (RAN), a wireless access network function or a wireless access network unit. The access network device 12 may include a base station, a WLAN access point or a WiFi node, etc. The base station may be referred to as a node B, an evolved node B (eNB), an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a home B node, a home evolved B node, a transmitting and receiving point (Transmitting Receiving Point, TRP) or some other suitable term in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.
核心网设备可以包含但不限于如下至少一项:核心网节点、核心网功能、移动管理实体(Mobility Management Entity,MME)、接入移动管理功能(Access and Mobility Management Function,AMF)、会话管理功能(Session Management Function,SMF)、用户平面功能(User Plane Function,UPF)、策略控制功能(Policy Control Function,PCF)、策略与计费规则功能单元(Policy and Charging Rules Function,PCRF)、边缘应用服务发现功能(Edge Application Server Discovery Function,EASDF)、统一数据管理(Unified Data Management,UDM),统一数据仓储(Unified Data Repository,UDR)、归属用户服务器(Home Subscriber Server,HSS)、集中式网络配置(Centralized network configuration,CNC)、网络存储功能(Network Repository Function,NRF),网络开放功能(Network Exposure Function,NEF)、本地NEF(Local NEF,或L-NEF)、绑定支持功能(Binding Support Function,BSF)、应用功能(Application Function,AF)等。需要说明的是,在本申请实施例中仅以NR系统中的核心网设备为例进行介绍,并不限定核心网设备的具体类型。The core network equipment may include but is not limited to at least one of the following: core network nodes, core network functions, mobility management entity (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), user plane function (User Plane Function, UPF), policy control function (Policy Control Function, PCF), policy and charging rules function unit (Policy and Charging Rules Function, PCRF), edge application service discovery function (Edge Application Server Discovery ... user plane function (User Plane Function, UPF), user plane function (User Plane Function, UPF), user plane function (User Plane Function, UPF), user plane function (User Plane Function, UPF), user plane function (User Plane Function, UPF), user plane function (User Plane Function, UPF), user plane function (User Plane Function, UPF), user plane function (User Plane Function, UPF), user plane function (User Plane Function, UPF), user plane function (User Plane Function, UPF), user ion, EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (L-NEF), Binding Support Function (BSF), Application Function (AF), etc. It should be noted that in the embodiments of the present application, only the core network device in the NR system is taken as an example for introduction, and the specific type of the core network device is not limited.
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的定位进行详细地说明。The positioning provided by the embodiments of the present application is described in detail below through some embodiments and their application scenarios in conjunction with the accompanying drawings.
第一方面,参见图3所示,为本申请实施例所提供的一种定位方法的流程图,该方法可以包括以下步骤301至304:In the first aspect, referring to FIG. 3 , which is a flowchart of a positioning method provided in an embodiment of the present application, the method may include the following steps 301 to 304:
步骤301:第一通信设备获取第一位置信息请求消息。Step 301: A first communication device obtains a first location information request message.
其中,所述第一位置信息请求消息用于指示请求第一物联网设备的位置信息。 The first location information request message is used to indicate a request for location information of a first IoT device.
这里,第一通信设备可以为AMF。Here, the first communication device may be an AMF.
步骤302:所述第一通信设备确定所述第一物联网设备对应的第一终端设备。Step 302: The first communication device determines a first terminal device corresponding to the first Internet of Things device.
这里,第一终端设备可以为读写器。用户终端(User Equipment,UE)或无线接入网(RAN)可以作为物联网设备的读写器。Here, the first terminal device can be a reader/writer. A user terminal (UE) or a radio access network (RAN) can be used as a reader/writer for an IoT device.
其中,第一物联网设备对应的第一终端设备,即为第一物联网设备关联的第一终端设备。Among them, the first terminal device corresponding to the first Internet of Things device is the first terminal device associated with the first Internet of Things device.
此外,本申请实施例的定位方法可应用于图2所示的网络架构。在该架构中,物联网设备以环境物联网(Ambient IoT)设备为例,Ambient IoT设备需要从环境中吸收能量,Ambient IoT设备收到载波信号后,通过反射该载波信号与读写器联系,从而使得物联网设备通过读写器接入移动网络。In addition, the positioning method of the embodiment of the present application can be applied to the network architecture shown in Figure 2. In this architecture, the IoT device takes the ambient IoT device as an example. The ambient IoT device needs to absorb energy from the environment. After receiving the carrier signal, the ambient IoT device communicates with the reader by reflecting the carrier signal, so that the IoT device can access the mobile network through the reader.
由此可见,物联网设备可以通过终端设备接入移动网络,即物联网设备与终端设备通常具有绑定关系。因此,在需要请求某个物联网设备的位置信息时,可以确定与该物联网设备对应的终端设备,从而将对物联网设备的定位转换为对该终端设备的定位。It can be seen that IoT devices can access mobile networks through terminal devices, that is, IoT devices and terminal devices usually have a binding relationship. Therefore, when it is necessary to request the location information of a certain IoT device, the terminal device corresponding to the IoT device can be determined, thereby converting the positioning of the IoT device into the positioning of the terminal device.
步骤303:所述第一通信设备获取所述第一终端设备的位置信息。Step 303: The first communication device obtains the location information of the first terminal device.
步骤304:所述第一通信设备根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息。Step 304: The first communication device determines the location information of the first Internet of Things device according to the location information of the first terminal device.
由步骤303至304可知,将对某个物联网设备的定位转换为对与其关联的终端设备的定位之后,则可以根据该终端设备的位置信息,确定物联网设备的位置信息。It can be seen from steps 303 to 304 that after the positioning of a certain IoT device is converted into the positioning of a terminal device associated with it, the location information of the IoT device can be determined based on the location information of the terminal device.
由上述可知,在本申请实施例中,第一通信设备能够获取第一位置信息请求消息,该第一位置信息请求消息用于指示请求第一物联网设备的位置信息,从而使得第一通信设备可以确定第一物联网设备对应的第一终端设备,并获取第一终端设备的位置信息,进而根据第一终端设备的位置信息,确定第一物联网设备的位置信息。由此可见,本申请的实施例,可以将对物联网设备的定位转换为对与物联网设备关联的终端设备的定位,这样,即使物联网设备的工作功耗极低,且不支持定位服务的复杂计算,也可以获取到物联网设备的位置信息。From the above, it can be seen that in the embodiment of the present application, the first communication device can obtain the first location information request message, and the first location information request message is used to indicate the request for the location information of the first Internet of Things device, so that the first communication device can determine the first terminal device corresponding to the first Internet of Things device, and obtain the location information of the first terminal device, and then determine the location information of the first Internet of Things device according to the location information of the first terminal device. It can be seen that the embodiment of the present application can convert the positioning of the Internet of Things device into the positioning of the terminal device associated with the Internet of Things device, so that even if the working power consumption of the Internet of Things device is extremely low and does not support the complex calculation of the positioning service, the location information of the Internet of Things device can be obtained.
可选地,上述步骤304“所述第一通信设备根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息”之后,所述方法还包括:Optionally, after the above step 304 “the first communication device determines the location information of the first Internet of Things device according to the location information of the first terminal device”, the method further includes:
所述第一通信设备发送所述第一物联网设备的位置信息。The first communication device sends the location information of the first Internet of Things device.
例如第一通信设备可以将第一物联网设备的位置信息发送给请求第一物联网设备的位置信息的设备。其中,若第一通信设备无法与请求第一物联网设备的位置信息的设备直接通信,则可以通过其他设备,将第一物联网设备的位置信息,发送给请求第一物联网设备的位置信息的设备。For example, the first communication device may send the location information of the first IoT device to the device requesting the location information of the first IoT device. If the first communication device cannot directly communicate with the device requesting the location information of the first IoT device, the location information of the first IoT device may be sent to the device requesting the location information of the first IoT device through other devices.
可选地,所述第一位置信息请求消息包括如下A-1项至A-4项中至少一项:Optionally, the first location information request message includes at least one of the following items A-1 to A-4:
A-1项:所述第一物联网设备的第一标识信息;Item A-1: first identification information of the first IoT device;
A-2项:服务等级信息,所述服务等级信息用于指示本次请求所述第一物联网设备 的位置信息的等级;Item A-2: Service level information, which is used to indicate the first IoT device being requested. The level of location information;
A-3项:所述第一物联网设备关联的区域信息,所述区域信息用于指示获取所述第一物联网设备的位置信息的区域范围;Item A-3: area information associated with the first IoT device, where the area information is used to indicate an area range for obtaining location information of the first IoT device;
A-4项:所述第一物联网设备关联的终端设备的第二标识信息。Item A-4: The second identification information of the terminal device associated with the first IoT device.
上述A-1项表示,需要请求标识信息为上述第一标识信息的物联网设备的位置信息。The above-mentioned item A-1 indicates that it is necessary to request the location information of the IoT device whose identification information is the above-mentioned first identification information.
上述A-2项中,服务等级信息可以定位精度、定位时间、定位范围、等级指示中的至少一项,即可以通过定位精度、定位时间、定位范围、等级指示中的至少一项表示服务等级信息。In the above item A-2, the service level information may be at least one of positioning accuracy, positioning time, positioning range, and level indication, that is, the service level information may be represented by at least one of positioning accuracy, positioning time, positioning range, and level indication.
其中,定位精度指示获取的位置信息的精度,例如,定位精度为3m。The positioning accuracy indicates the accuracy of the acquired location information, for example, the positioning accuracy is 3m.
定位时间指示获取的位置信息的时间。例如,定位时间为10分钟,指示需要在10分钟内获取到位置信息。The positioning time indicates the time of obtaining the position information. For example, if the positioning time is 10 minutes, it means that the position information needs to be obtained within 10 minutes.
定位范围指示在某一特定范围内获取位置信息。例如,定位范围为A区,指示在A区范围内查找该物联网设备的位置信息;又例如,定位范围为地点B和1km,指示在地点B周围1km的范围内查找该物联网设备的位置信息;又例如,定位范围中的地点B可能是个区域范围,则地点B可以以上述物联网设备可能在的区域表示。The positioning range indicates that the location information is obtained within a certain range. For example, if the positioning range is area A, it indicates that the location information of the IoT device is found within the area of area A; for another example, if the positioning range is location B and 1km, it indicates that the location information of the IoT device is found within a range of 1km around location B; for another example, location B in the positioning range may be a regional range, then location B can be represented by the area where the IoT device may be located.
等级指示可以取值为高、中、低、或缺省。该取值对应移动网络提供的服务策略。每种策略对应了运营商制定的定位精度,定位时间,定位范围中的至少一项。The level indicator can be high, medium, low, or default. The value corresponds to the service strategy provided by the mobile network. Each strategy corresponds to at least one of the positioning accuracy, positioning time, and positioning range set by the operator.
上述A-3项中,所述第一物联网设备关联的区域信息,可以是第一物联网设备曾经(例如在第一预设时间段内)到过的位置信息。需要说明的是,第一物联网设备关联的区域信息,可以为移动网络的位置信息(例如小区标识,跟踪区标识等),也可以为地理位置信息(例如经纬度、街道、行政区等)。In the above-mentioned item A-3, the area information associated with the first IoT device may be location information that the first IoT device has been to (for example, within a first preset time period). It should be noted that the area information associated with the first IoT device may be location information of a mobile network (for example, a cell identifier, a tracking area identifier, etc.) or geographic location information (for example, longitude and latitude, street, administrative district, etc.).
上述A-4项中,第一物联网设备关联的终端设备的第二标识信息,可以是终端设备的标识或终端设备持有人的标识(即终端设备所属用户的通讯号码)。例如终端设备为读写器时,一个读写器标识能够关联到一个或多个读写器,可选地,读写器标识可以包括用户永久标识符(Subscription Permanent Identifier,SUPI)、国际移动用户识别码(International Mobile Subscriber Identity,IMSI)、通用公共用户标识(Generic Public Subscription Identifier,GPSI)中的至少一项。In the above-mentioned item A-4, the second identification information of the terminal device associated with the first IoT device may be the identification of the terminal device or the identification of the holder of the terminal device (i.e., the communication number of the user to whom the terminal device belongs). For example, when the terminal device is a reader/writer, a reader/writer identification can be associated with one or more readers/writers. Optionally, the reader/writer identification may include at least one of a Subscription Permanent Identifier (SUPI), an International Mobile Subscriber Identity (IMSI), and a Generic Public Subscription Identifier (GPSI).
其中,上述步骤302“所述第一通信设备确定所述第一物联网设备对应的第一终端设备”的具体方式可为如下所述的方式一或方式二或方式三。Among them, the specific method of the above-mentioned step 302 "the first communication device determines the first terminal device corresponding to the first Internet of Things device" can be method one, method two or method three as described below.
方式一:可选地,上述步骤302“所述第一通信设备确定所述第一物联网设备对应的第一终端设备”包括:Mode 1: Optionally, the above step 302 "the first communication device determines the first terminal device corresponding to the first IoT device" includes:
在所述第一位置信息请求消息中包括所述第一标识信息的情况下,所述第一通信设备将关联关系中与所述第一标识信息对应的终端设备,确定为所述第一终端设备;In a case where the first location information request message includes the first identification information, the first communication device determines the terminal device corresponding to the first identification information in the association relationship as the first terminal device;
其中,所述关联关系中包括所述第一标识信息与所述第一终端设备之间的关联关系。The association relationship includes an association relationship between the first identification information and the first terminal device.
可选地,获取所述第一标识信息与所述第一终端设备之间的关联关系的过程,包括: Optionally, the process of acquiring the association relationship between the first identification information and the first terminal device includes:
所述第一通信设备接收所述第一终端设备发送的所述第一物联网设备的第一标识信息;The first communication device receives first identification information of the first Internet of Things device sent by the first terminal device;
所述第一通信设备存储所述第一终端设备与所述第一标识信息之间的关联关系。The first communication device stores an association relationship between the first terminal device and the first identification information.
由此可知,第一终端设备还可以向第一通信设备发送第一物联网设备的第一标识信息,从而使得第一通信设备可以存储第一终端设备与第一物联网设备的第一标识信息之间的关系关系,这样,当第一通信设备接收到上述第一位置信息请求消息时,则可以从关联关系中查找被请求位置信息的物联网设备(即第一物联网设备)的标识信息(即第一标识信息),从而可以确定查找到的标识信息对应的终端设备,即为被请求位置信息的物联网设备对应的终端设备。From this, it can be seen that the first terminal device can also send the first identification information of the first Internet of Things device to the first communication device, so that the first communication device can store the relationship between the first terminal device and the first identification information of the first Internet of Things device. In this way, when the first communication device receives the above-mentioned first location information request message, it can search for the identification information (i.e., the first identification information) of the Internet of Things device (i.e., the first Internet of Things device) whose location information is requested from the association relationship, so that the terminal device corresponding to the found identification information can be determined, that is, the terminal device corresponding to the Internet of Things device whose location information is requested.
另外,第一终端设备获取第一物联网设备的第一标识信息的过程,包括第一终端设备向第一物联网设备发送激励信号,第一终端设备接收第一物联网设备的反射信号,所述反射信号中包括第一物联网设备的第一标识信息。In addition, the process of the first terminal device acquiring the first identification information of the first Internet of Things device includes the first terminal device sending an excitation signal to the first Internet of Things device, and the first terminal device receiving a reflected signal of the first Internet of Things device, wherein the reflected signal includes the first identification information of the first Internet of Things device.
此外,第一终端设备还可以周期性地执行盘点流程,查找附近的物联网设备,并将更新后的物联网设备标识发送给第一通信设备。这里,所述第一终端设备和第一通信设备可以协商盘点周期。In addition, the first terminal device may also periodically perform an inventory process to search for nearby IoT devices and send updated IoT device identifiers to the first communication device. Here, the first terminal device and the first communication device may negotiate an inventory cycle.
可选地,所述第一通信设备接收所述第一终端设备发送的所述第一物联网设备的第一标识信息,包括:Optionally, the first communication device receives the first identification information of the first Internet of Things device sent by the first terminal device, including:
所述第一通信设备接收所述第一终端设备发送的第一非接入层NAS消息,其中,所述第一非接入层NAS消息中携带有所述第一标识信息。The first communication device receives a first non-access stratum NAS message sent by the first terminal device, wherein the first non-access stratum NAS message carries the first identification information.
即第一终端设备可以向第一通信设备发送第一非接入层NAS消息,并在该第一非接入层NAS消息中携带上述第一标识信息。示例性的,第一NAS消息可以为注册请求消息或上行非接入层透明传输消息。That is, the first terminal device may send a first non-access layer NAS message to the first communication device, and carry the first identification information in the first non-access layer NAS message. Exemplarily, the first NAS message may be a registration request message or an uplink non-access layer transparent transmission message.
方式二:可选地,所述第一通信设备确定所述第一物联网设备对应的第一终端设备,包括:Mode 2: Optionally, the first communication device determines the first terminal device corresponding to the first IoT device, including:
在所述第一位置信息请求消息中包括所述第二标识信息的情况下,所述第一通信设备将所述第二标识信息标识的终端设备,确定为所述第一物联网设备对应的第一终端设备。When the first location information request message includes the second identification information, the first communication device determines the terminal device identified by the second identification information as the first terminal device corresponding to the first Internet of Things device.
由此可知,请求第一物联网设备的位置信息的设备,可以在第一位置信息请求消息中告知第一物联网设备关联的终端设备的第二标识信息,这样,第一通信设备则可以直接根据第二标识信息确定出第一物联网设备关联的第一终端设备。It can be seen from this that the device requesting the location information of the first Internet of Things device can inform the second identification information of the terminal device associated with the first Internet of Things device in the first location information request message. In this way, the first communication device can directly determine the first terminal device associated with the first Internet of Things device based on the second identification information.
方式三:可选地,所述第一通信设备确定所述第一物联网设备对应的第一终端设备,包括:Mode 3: Optionally, the first communication device determines the first terminal device corresponding to the first IoT device, including:
所述第一通信设备执行目标流程,将获取到的终端设备确定为所述第一物联网设备对应的第一终端设备;The first communication device executes the target process and determines the acquired terminal device as the first terminal device corresponding to the first Internet of Things device;
其中,所述目标流程为终端设备发现流程、终端设备盘点流程、终端设备寻呼流程 中的其中一者。Among them, the target process is the terminal device discovery process, the terminal device inventory process, and the terminal device paging process. One of them.
由此可知,第一通信设备还可以通过执行终端设备发现流程、终端设备盘点流程、终端设备寻呼流程中的其中一者,从而将获取到的终端设备确定为第一物联网设备对应的第一终端设备。From this, it can be seen that the first communication device can also determine the acquired terminal device as the first terminal device corresponding to the first Internet of Things device by executing one of the terminal device discovery process, the terminal device inventory process, and the terminal device paging process.
可选地,所述方法还包括:Optionally, the method further comprises:
所述第一通信设备接收终端设备发送的能力信息,并存储所述能力信息,其中,所述能力信息用于指示所述终端设备具备与物联网设备通信的能力或具备发现物联网设备的能力;The first communication device receives capability information sent by the terminal device and stores the capability information, wherein the capability information is used to indicate that the terminal device has the capability to communicate with the IoT device or has the capability to discover the IoT device;
所述第一通信设备执行目标流程,包括:The first communication device executes a target process, including:
所述第一通信设备根据所述能力信息,对具备与物联网设备通信的能力或具备发现物联网设备的能力的终端设备执行所述目标流程。The first communication device executes the target process on a terminal device capable of communicating with an IoT device or capable of discovering an IoT device according to the capability information.
这里,发送能力信息的终端设备可以包括上述第一终端设备。Here, the terminal device that sends the capability information may include the first terminal device mentioned above.
由此可知,终端设备还可以向第一通信设备发送能力信息,这样第一通信设备则可以存储各个终端设备的能力信息,从而可以根据该能力信息,对具备与物联网设备通信的能力或具备发现物联网设备的能力的终端设备执行上述目标流程。From this, it can be seen that the terminal device can also send capability information to the first communication device, so that the first communication device can store the capability information of each terminal device, and thus can execute the above-mentioned target process for the terminal device that has the ability to communicate with the Internet of Things device or the ability to discover the Internet of Things device based on the capability information.
例如,第一通信设备根据所述能力信息,对具备与物联网设备通信的能力或具备发现物联网设备的能力的终端设备执行发现流程时,第一通信设备可以广播发现消息,则具备与物联网设备通信的能力或具备发现物联网设备的能力的终端设备可以向第一通信设备发送回复消息,这样,第一通信设备接收到的回复消息对应的终端设备,可以作为与第一物联网设备关联的第一终端设备;或者,第一通信设备可以广播发现消息,则接收到广播消息的终端设备都可以向第一终端设备发送回复消息,这样,第一通信设备则可从发送回复消息中终端设备中筛选出具备与物联网设备通信的能力或具备发现物联网设备的能力的终端设备,这样筛选出的终端设备则可以作为与第一物联网设备关联的第一终端设备。For example, when the first communication device executes a discovery process for a terminal device that has the ability to communicate with an Internet of Things device or has the ability to discover an Internet of Things device based on the capability information, the first communication device can broadcast a discovery message, and the terminal device that has the ability to communicate with an Internet of Things device or has the ability to discover an Internet of Things device can send a reply message to the first communication device. In this way, the terminal device corresponding to the reply message received by the first communication device can serve as the first terminal device associated with the first Internet of Things device; or, the first communication device can broadcast a discovery message, and the terminal devices that receive the broadcast message can send a reply message to the first terminal device. In this way, the first communication device can filter out the terminal devices that have the ability to communicate with an Internet of Things device or have the ability to discover an Internet of Things device from the terminal devices that send the reply message, and the terminal devices filtered out can serve as the first terminal devices associated with the first Internet of Things device.
可选地,所述第一通信设备接收终端设备发送的能力信息,包括:Optionally, the first communication device receiving capability information sent by the terminal device includes:
所述第一通信设备接收所述终端设备发送的第二NAS消息,其中,所述第二NAS消息中携带有所述能力信息。The first communication device receives a second NAS message sent by the terminal device, wherein the second NAS message carries the capability information.
由此可知,终端设备可以向第一通信设备发送第二NAS消息,并在该第二NAS消息中携带上述能力信息。示例性的,第二NAS消息可以为注册请求消息或上行非接入层透明传输消息。It can be seen that the terminal device can send a second NAS message to the first communication device, and carry the above capability information in the second NAS message. Exemplarily, the second NAS message can be a registration request message or an uplink non-access layer transparent transmission message.
可以理解的是,终端设备可以将上述能力信息和第二标识信息放在一个NAS消息中发送,也可以放在不同NAS消息中发送。即上述第一NAS消息与第二NAS消息可以相同,也可以不同。It is understandable that the terminal device may send the capability information and the second identification information in one NAS message or in different NAS messages, that is, the first NAS message and the second NAS message may be the same or different.
可选地,上述步骤303“所述第一通信设备获取所述第一终端设备的位置信息”,包括:Optionally, the above step 303 “the first communication device obtains the location information of the first terminal device” includes:
所述第一通信设备根据第一目标信息,确定是否执行终端设备定位流程; The first communication device determines whether to execute the terminal device positioning process according to the first target information;
在确定执行所述终端设备定位流程的情况下,将对所述第一终端设备执行所述终端设备定位流程得到的位置信息,确定为所述第一终端设备的位置信息;In the case of determining to execute the terminal device positioning process, determining the location information obtained by executing the terminal device positioning process on the first terminal device as the location information of the first terminal device;
在确定不执行所述终端设备定位流程的情况下,将所述第一终端设备当前的位置信息,作为所述第一终端设备的位置信息;In a case where it is determined not to execute the terminal device positioning process, using the current location information of the first terminal device as the location information of the first terminal device;
其中,所述第一目标信息包括如下中至少一项:The first target information includes at least one of the following:
所述第一位置信息请求消息中携带的定位精度;The positioning accuracy carried in the first location information request message;
所述第一位置信息请求消息的类型;The type of the first location information request message;
所述第一位置信息请求消息的来源;a source of the first location information request message;
非直接定位指示,所述非直接定位指示用于指示第一物联网设备不支持直接定位;An indirect positioning indication, where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning;
第二标识信息,所述第二标识信息为所述第一位置信息请求消息中携带的所述第一物联网设备关联的终端设备的标识信息;Second identification information, where the second identification information is identification information of a terminal device associated with the first Internet of Things device and carried in the first location information request message;
运营商策略,所述运营商策略用于指示通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息。The operator policy is used to indicate that the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device.
例如当定位精度为小区级别或跟踪区(Tracking Area,TA)粒度时,或者当第一位置信息请求消息的是移动和接入管理功能事件暴露签约服务操作(Namf_EventExposure Subscribe service operation)消息时,或者,当第一位置信息请求消息来自NEF或UDM时,第一通信设备不执行终端设备定位流程,而是将第一终端设备当前的位置信息作为第一物联网设备的位置信息;For example, when the positioning accuracy is at the cell level or the Tracking Area (TA) granularity, or when the first location information request message is a Namf_EventExposure Subscribe service operation message, or when the first location information request message comes from NEF or UDM, the first communication device does not perform the terminal device positioning process, but uses the current location information of the first terminal device as the location information of the first Internet of Things device;
或者,or,
例如当第一通信设备中存储有第一物联网设备的非直接定位指示时,或者当第一位置信息请求消息中携带有与第一物联网设备关联的终端设备的第二标识信息时,或者当运营商策略指示通过物联网设备对应的读写器的位置信息表示物联网设备的位置信息时,或者当定位精度粒度小于TA粒度时,或者当第一位置请求消息是移动和接入管理功能位置提供定位信息服务操作(Namf_Location_ProvidePositioningInfo service operation)消息时,或者当第一位置信息请求消息来自GMLC时,第一通信设备执行终端设备定位流程,从而将执行终端设备定位流程得到的第一终端设备的位置信息,确定为第一物联网设备的位置信息。For example, when the first communication device stores an indirect positioning indication of the first Internet of Things device, or when the first location information request message carries the second identification information of the terminal device associated with the first Internet of Things device, or when the operator policy indicates that the location information of the Internet of Things device is represented by the location information of the reader/writer corresponding to the Internet of Things device, or when the positioning accuracy granularity is smaller than the TA granularity, or when the first location request message is a mobile and access management function location providing positioning information service operation (Namf_Location_ProvidePositioningInfo service operation) message, or when the first location information request message comes from the GMLC, the first communication device executes the terminal device positioning process, thereby determining the location information of the first terminal device obtained by executing the terminal device positioning process as the location information of the first Internet of Things device.
其中,上述非直接定位指示可以是第一终端设备发送给第一通信设备的。例如第一终端设备可以向第一通信设备发送第三NAS消息,该第三NAS消息中携带有非直接定位指示。示例性的,第三NAS消息可以为注册请求消息或上行非接入层透明传输消息。The indirect positioning indication may be sent by the first terminal device to the first communication device. For example, the first terminal device may send a third NAS message to the first communication device, and the third NAS message may carry the indirect positioning indication. Exemplarily, the third NAS message may be a registration request message or an uplink non-access layer transparent transmission message.
可以理解的是,所述第三NAS消息与上述第一非接入层NAS消息、第二NAS消息可以相同,也可以不同。即上述能力信息、第一物联网设备的第一标识信息、非直接定位指示可以通过同一NAS消息发送,也可以通过不同NAS消息发送。It is understandable that the third NAS message may be the same as or different from the first non-access layer NAS message and the second NAS message. That is, the capability information, the first identification information of the first IoT device, and the indirect positioning indication may be sent through the same NAS message or through different NAS messages.
此外,需要说明的是,通过执行上述终端设备定位流程,可以得到更加精细粒度的位置信息。即当通过前述第一目标信息,确定出需要执行终端设备定位流程时,表示需 要获取第一物联网设备更加精细粒度的位置信息。In addition, it should be noted that by executing the above terminal device positioning process, more fine-grained location information can be obtained. That is, when it is determined through the above first target information that the terminal device positioning process needs to be executed, it means that To obtain more fine-grained location information of the first IoT device.
可选地,所述第一通信设备根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息,包括:Optionally, the first communication device determines the location information of the first Internet of Things device according to the location information of the first terminal device, including:
在存在多个所述第一终端设备的情况下,将多个所述第一终端设备中的其中一个的位置信息,确定为所述第一物联网设备的位置信息。When there are multiple first terminal devices, the location information of one of the multiple first terminal devices is determined as the location information of the first Internet of Things device.
即当确定出与第一物联网设备对应的第一终端设备存在多个时,可以选择其中一个终端设备的位置信息作为第一物联网设备的位置信息。例如在一个物联网设备被多个用户使用,则该物联网设备对应所述多个用户的终端设备,即该物联网设备对应多个终端设备,此种情况下,可以将所述多个终端设备中的其中一个终端设备的位置信息作为该物联网设备的位置信息。That is, when it is determined that there are multiple first terminal devices corresponding to the first IoT device, the location information of one of the terminal devices can be selected as the location information of the first IoT device. For example, if an IoT device is used by multiple users, the IoT device corresponds to the terminal devices of the multiple users, that is, the IoT device corresponds to multiple terminal devices. In this case, the location information of one of the multiple terminal devices can be used as the location information of the IoT device.
可选地,所述第一通信设备根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息之后,所述方法还包括:Optionally, after the first communication device determines the location information of the first Internet of Things device according to the location information of the first terminal device, the method further includes:
所述第一通信设备接收第二通信设备发送的失败消息或拒绝消息,所述失败消息或拒绝消息用于指示第三通信设备未授权使用所述第二通信设备提供的服务;The first communication device receives a failure message or a rejection message sent by the second communication device, where the failure message or the rejection message is used to indicate that the third communication device is not authorized to use the service provided by the second communication device;
所述第一通信设备获取当前服务于所述第三通信设备的第六通信设备的第三地址信息;The first communication device acquires third address information of a sixth communication device currently serving the third communication device;
所述第一通信设备根据所述第三地址信息,向所述第六通信设备发送所述第一物联网设备的位置信息,并指示所述第六通信设备将所述第一物联网设备的位置信息发送给所述第三通信设备;The first communication device sends the location information of the first Internet of Things device to the sixth communication device according to the third address information, and instructs the sixth communication device to send the location information of the first Internet of Things device to the third communication device;
其中,所述第三通信设备为请求所述第一物联网设备的位置信息的设备。Among them, the third communication device is a device that requests the location information of the first Internet of Things device.
另外,上述第二通信设备为给第一通信设备发送第一位置信息请求消息的设备。In addition, the second communication device is a device that sends a first location information request message to the first communication device.
由此可知,在第一通信设备确定出第一物联网设备的位置信息之后,若接收到第二通信设备发送的失败消息或拒绝消息,指示第三通信设备(即请求第一物联网设备的位置信息的设备)未授权使用第二通信设备的服务,则第一通信设备可以获取当前服务于第三通信设备的第六通信设备的第三地址信息,从而根据第三地址信息,向第六通信设备发送第一物联网设备的位置信息,进而由第六通信设备将第一物联网设备的位置信息发送给第三通信设备。It can be seen from this that after the first communication device determines the location information of the first Internet of Things device, if it receives a failure message or a rejection message sent by the second communication device, indicating that the third communication device (i.e., the device requesting the location information of the first Internet of Things device) is not authorized to use the service of the second communication device, then the first communication device can obtain the third address information of the sixth communication device currently serving the third communication device, and then send the location information of the first Internet of Things device to the sixth communication device based on the third address information, and then the sixth communication device sends the location information of the first Internet of Things device to the third communication device.
例如第一通信设备可以为AMF1,第二通信设备可以为AMF2,第三通信设备可以为UE,即UE可以向AMF2发送第二位置信息请求消息,以使得AMF2向AMF1发送第一位置信息请求消息,这样,在AMF1确定出第一物联网设备的位置信息之后,若AMF1接收到AMF2发送的失败消息或或拒绝消息,指示UE未授权使用AMF2的服务,则AMF1可以获取当前服务于UE的AMF(例如AMF3)的第三地址信息,从而根据第三地址信息,向AMF3发送第一物联网设备的位置信息,进而由AMF3将第一物联网设备的位置信息发送给UE。这里,第二位置信息请求消息与第一位置信息请求消息中携带的至少部分内容可以相同。 For example, the first communication device may be AMF1, the second communication device may be AMF2, and the third communication device may be UE, that is, UE may send a second location information request message to AMF2, so that AMF2 sends a first location information request message to AMF1. In this way, after AMF1 determines the location information of the first IoT device, if AMF1 receives a failure message or a rejection message sent by AMF2, indicating that UE is not authorized to use the services of AMF2, AMF1 may obtain the third address information of the AMF (such as AMF3) currently serving the UE, and then send the location information of the first IoT device to AMF3 according to the third address information, and then AMF3 sends the location information of the first IoT device to the UE. Here, at least part of the content carried in the second location information request message and the first location information request message may be the same.
可选地,所述第一通信设备获取当前服务于所述第三通信设备的第六通信设备的第三地址信息,包括:Optionally, the first communication device acquires third address information of a sixth communication device currently serving the third communication device, including:
所述第一通信设备向第五通信设备发送第一请求,所述第一请求用于指示请求当前服务于所述第三通信设备的第六通信设备;The first communication device sends a first request to the fifth communication device, where the first request is used to indicate a request for a sixth communication device currently serving the third communication device;
所述第一通信设备接收所述第五通信设备发送的所述第三地址信息。The first communication device receives the third address information sent by the fifth communication device.
即第一通信设备可以向第五通信设备请求当前服务于第三通信设备的第六通信设备。例如第一通信设备为AMF1,第三通信设备为UE时,AMF1可以向UDM请求当前服务于该UE的AMF3。That is, the first communication device may request the sixth communication device currently serving the third communication device from the fifth communication device. For example, when the first communication device is AMF1 and the third communication device is UE, AMF1 may request AMF3 currently serving the UE from UDM.
第二方面,参见图4所示,为本申请实施例所提供的一种定位方法的流程图,该方法可以包括以下步骤401至404:In the second aspect, referring to FIG. 4 , which is a flowchart of a positioning method provided in an embodiment of the present application, the method may include the following steps 401 to 404:
步骤401:第二通信设备接收第三通信设备发送的第二位置信息请求消息。Step 401: The second communication device receives a second location information request message sent by a third communication device.
其中,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息。The second location information request message is used to indicate a request for location information of the first IoT device.
另外,第三通信设备可以向第二通信设备发送网络暴露功能事件暴露签约(Nnef_EventExposure_Subscribe)消息,该Nnef_EventExposure_Subscribe消息携带第二位置信息请求消息,或者,将Nnef_EventExposure_Subscribe消息作为第二位置信息请求消息。In addition, the third communication device may send a network exposure function event exposure subscription (Nnef_EventExposure_Subscribe) message to the second communication device, where the Nnef_EventExposure_Subscribe message carries the second location information request message, or the Nnef_EventExposure_Subscribe message is used as the second location information request message.
此外,这里第二通信设备可以为NEF或AMF,第三通信设备可以为AF或UE,例如AF可以向NEF发送第二位置信息请求消息,以请求第一物联网设备的位置信息;或者,UE可以向AMF发送第二位置信息请求消息,以请求第一物联网设备的位置信息。In addition, the second communication device here can be NEF or AMF, and the third communication device can be AF or UE. For example, AF can send a second location information request message to NEF to request the location information of the first Internet of Things device; or, UE can send a second location information request message to AMF to request the location information of the first Internet of Things device.
步骤402:所述第二通信设备根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息。Step 402: The second communication device determines a first communication device corresponding to the first IoT device according to the second location information request message and sends a first location information request message to the first communication device.
这里,与第一物联网设备对应的第一通信设备,即为可以为本次定位提供服务的第一通信设备。Here, the first communication device corresponding to the first Internet of Things device is the first communication device that can provide services for this positioning.
其中,第二通信设备可以为AMF或NEF;第三通信设备可以为AF或UE。例如AF可以向NEF发送第二位置信息请求消息,以使得NEF确定可以为本次定位提供服务的AMF,并向该AMF发送第一位置信息请求消息;或者,例如UE可以向AMF2发送第二位置信息请求消息,以使得AMF2确定可以为本次定位提供服务的AMF1,进而向AMF1发送第一位置信息请求消息。可以理解的是,若AMF2与AMF1相同,则这里所述的AMF2与AMF1的交互过程可以省略。Among them, the second communication device can be AMF or NEF; the third communication device can be AF or UE. For example, AF can send a second location information request message to NEF, so that NEF determines the AMF that can provide services for this positioning, and sends a first location information request message to the AMF; or, for example, UE can send a second location information request message to AMF2, so that AMF2 determines AMF1 that can provide services for this positioning, and then sends the first location information request message to AMF1. It can be understood that if AMF2 is the same as AMF1, the interaction process between AMF2 and AMF1 described here can be omitted.
另外,所述第一位置信息请求消息用于指示请求所述第一物联网设备的位置信息,所述第一位置信息请求消息中包括所述第二位置信息请求消息中的至少部分内容。In addition, the first location information request message is used to indicate a request for location information of the first IoT device, and the first location information request message includes at least part of the content of the second location information request message.
此外,第一通信设备接收到第一位置信息请求消息之后,则可以确定与第一物联网设备对应的第一终端设备,从而获取第一终端设备的位置信息,进而根据第一终端设备的位置信息,确定第一物联网设备的位置信息。In addition, after the first communication device receives the first location information request message, it can determine the first terminal device corresponding to the first Internet of Things device, thereby obtaining the location information of the first terminal device, and then determine the location information of the first Internet of Things device based on the location information of the first terminal device.
由上述可知,在本申请实施例中,第三通信设备可以向第二通信设备发送第二位置 信息请求消息,以使得第二通信设备根据第二位置信息请求消息,确定可以为本次定位提供服务的第一通信设备,并向第一通信设备发送第一位置信息请求消息,从而使得第一通信设备可以确定第一物联网设备对应的第一终端设备,并获取第一终端设备的位置信息,进而根据第一终端设备的位置信息,确定第一物联网设备的位置信息。由此可见,本申请的实施例,可以将对物联网设备的定位转换为对与物联网设备关联的终端设备的定位,这样,即使物联网设备的工作功耗极低,且不支持定位服务的复杂计算,也可以获取到物联网设备的位置信息。As can be seen from the above, in the embodiment of the present application, the third communication device can send the second location to the second communication device. The first location information request message is used to request the second communication device to determine the first communication device that can provide the positioning service according to the second location information request message, and send the first location information request message to the first communication device, so that the first communication device can determine the first terminal device corresponding to the first IoT device, and obtain the location information of the first terminal device, and then determine the location information of the first IoT device according to the location information of the first terminal device. It can be seen that the embodiments of the present application can convert the positioning of IoT devices into the positioning of terminal devices associated with IoT devices, so that even if the working power consumption of IoT devices is extremely low and does not support the complex calculation of positioning services, the location information of IoT devices can be obtained.
可选地,上述步骤402“所述第二通信设备向所述第一通信设备发送第一位置信息请求消息”之后,所述方法还包括:Optionally, after the above step 402 “the second communication device sends a first location information request message to the first communication device”, the method further includes:
所述第二通信设备接收所述第一通信设备发送的所述第一物联网设备的位置信息。The second communication device receives the location information of the first Internet of Things device sent by the first communication device.
由此可知,第一通信设备确定出第一物联网设备的位置信息之后,还可以将第一物联网设备的位置信息发送给第二通信设备。It can be seen from this that after the first communication device determines the location information of the first Internet of Things device, it can also send the location information of the first Internet of Things device to the second communication device.
可选地,所述第二通信设备接收所述第一通信设备发送的所述第一物联网设备的位置信息之后,所述方法还包括:Optionally, after the second communication device receives the location information of the first Internet of Things device sent by the first communication device, the method further includes:
所述第二通信设备向所述第三通信设备发送所述第一物联网设备的位置信息;The second communication device sends the location information of the first Internet of Things device to the third communication device;
或者,or,
在所述第三通信设备未授权使用所述第二通信设备提供的服务的情况下,所述第二通信设备获取当前服务于所述第三通信设备的第六通信设备;In a case where the third communication device is not authorized to use the service provided by the second communication device, the second communication device acquires a sixth communication device currently serving the third communication device;
所述第二通信设备向所述第六通信设备发送所述第一物联网设备的位置信息,并指示所述第六通信设备将所述第一物联网设备的位置信息发送给所述第三通信设备。The second communication device sends the location information of the first Internet of Things device to the sixth communication device, and instructs the sixth communication device to send the location information of the first Internet of Things device to the third communication device.
由此可知,在第二通信设备接收到第一通信设备发送的第一物联网设备的位置信息之后,第二通信设备还可以将第一物联网设备发送给请求第一物联网设备的位置信息的设备(即上述第三通信设备)。其中,若当前第三通信设备已授权使用第二通信设备提供的服务,则第二通信设备可以将第一物联网设备的位置信息发送给第三通信设备;若当前第三通信设备未授权使用第二通信设备提供的服务,则第二通信设备需要获取当前服务于第三通信设备的第六通信设备,然后通过该第六通信设备,将第一物联网设备的位置信息发送给第三通信设备。It can be seen that after the second communication device receives the location information of the first IoT device sent by the first communication device, the second communication device can also send the first IoT device to the device (i.e., the third communication device) that requests the location information of the first IoT device. If the third communication device is currently authorized to use the service provided by the second communication device, the second communication device can send the location information of the first IoT device to the third communication device; if the third communication device is currently not authorized to use the service provided by the second communication device, the second communication device needs to obtain the sixth communication device currently serving the third communication device, and then send the location information of the first IoT device to the third communication device through the sixth communication device.
其中,第二通信设备获取当前服务于第三通信设备的第六通信设备的具体方法可以为如下所述的方法一或方法二:The specific method for the second communication device to obtain the sixth communication device currently serving the third communication device may be method 1 or method 2 as follows:
方法一:可选地,所述第二通信设备获取当前服务于所述第三通信设备的第六通信设备,包括:Method 1: Optionally, the second communication device obtains a sixth communication device currently serving the third communication device, including:
所述第二通信设备向第五通信设备发送第一请求,所述第一请求用于指示请求当前服务于所述第三通信设备的第六通信设备;The second communication device sends a first request to the fifth communication device, where the first request is used to indicate a request for a sixth communication device currently serving the third communication device;
所述第二通信设备接收所述第五通信设备发送的第三地址信息,并将所述第三地址信息对应的设备确定为所述第六通信设备。 The second communication device receives the third address information sent by the fifth communication device, and determines the device corresponding to the third address information as the sixth communication device.
由此可知,第二通信设备可以向第五通信设备请求当前服务于第三通信设备的第六通信设备。例如第一通信设备为AMF1,第二通信设备为AMF2,第三通信设备为UE2时,AMF1将第一物联网设备的位置信息发送给AMF2之后,若AMF2发现本地已经无UE2的上下文信息,则确定AMF2当前不服务于UE2,则AMF2可以向UDM请求当前服务于UE2的AMF,例如为AMF3,然后,AMF2向AMF3发送第一物联网设备的位置信息,以使得AMF3将第一物联网设备的位置信息发送给UE2。It can be seen that the second communication device can request the sixth communication device that currently serves the third communication device from the fifth communication device. For example, when the first communication device is AMF1, the second communication device is AMF2, and the third communication device is UE2, after AMF1 sends the location information of the first IoT device to AMF2, if AMF2 finds that there is no context information of UE2 locally, it determines that AMF2 is not currently serving UE2, then AMF2 can request the AMF that currently serves UE2 from UDM, such as AMF3, and then AMF2 sends the location information of the first IoT device to AMF3, so that AMF3 sends the location information of the first IoT device to UE2.
方法二:可选地,所述第二通信设备获取当前服务于所述第三通信设备的第六通信设备,包括:Method 2: Optionally, the second communication device obtains a sixth communication device currently serving the third communication device, including:
所述第二通信设备向所述第一通信设备发送失败消息或拒绝消息,所述失败消息或拒绝消息用于指示所述第三通信设备未授权使用所述第二通信设备提供的服务,并指示所述第一通信设备获取当前服务于所述第三通信设备的第六通信设备的第三地址信息,以及指示所述第一通信设备向所述第六通信设备发送所述第一物联网设备的位置信息,以使得所述第六通信设备将所述第一物联网设备的位置信息发送给所述第三通信设备。The second communication device sends a failure message or a rejection message to the first communication device, and the failure message or the rejection message is used to indicate that the third communication device is not authorized to use the service provided by the second communication device, and to instruct the first communication device to obtain the third address information of the sixth communication device currently serving the third communication device, and to instruct the first communication device to send the location information of the first Internet of Things device to the sixth communication device, so that the sixth communication device sends the location information of the first Internet of Things device to the third communication device.
这里,可选地,所述第一通信设备获取当前服务于所述第三通信设备的第六通信设备的第三地址信息,包括:Here, optionally, the first communication device acquires the third address information of the sixth communication device currently serving the third communication device, including:
第一通信设备向第五通信设备发送第一请求,所述第一请求用于指示请求当前服务于所述第三通信设备的第六通信设备;The first communication device sends a first request to the fifth communication device, where the first request is used to indicate a request for the sixth communication device currently serving the third communication device;
所述第一通信设备接收所述第五通信设备发送的第三地址信息,并将所述第三地址信息对应的设备确定为所述第六通信设备。The first communication device receives the third address information sent by the fifth communication device, and determines the device corresponding to the third address information as the sixth communication device.
由此可知,第二通信设备可以通知第一通信设备:第三通信设备当前未授权使用第二通信设备提供的服务,从而由第一通信设备获取当前服务于第三通信设备的第六通信设备。例如第一通信设备为AMF1,第二通信设备为AMF2,第三通信设备为UE2时,AMF1将第一物联网设备的位置信息发送给AMF2之后,若AMF2发现本地已经无UE2的上下文信息,则确定AMF2当前不服务于UE2,则AMF2可以向AMF1发送失败消息或拒绝消息,指示AMF2当前不服务于UE2,以使得AMF1向UDM请求当前服务于UE2的AMF,例如为AMF3,然后,AMF1向AMF3发送第一物联网设备的位置信息,以使得AMF3将第一物联网设备的位置信息发送给UE2。It can be seen from this that the second communication device can notify the first communication device that the third communication device is currently not authorized to use the service provided by the second communication device, so that the first communication device obtains the sixth communication device currently serving the third communication device. For example, when the first communication device is AMF1, the second communication device is AMF2, and the third communication device is UE2, after AMF1 sends the location information of the first IoT device to AMF2, if AMF2 finds that there is no context information of UE2 locally, it determines that AMF2 is not currently serving UE2, then AMF2 can send a failure message or a rejection message to AMF1, indicating that AMF2 is not currently serving UE2, so that AMF1 requests the UDM for the AMF currently serving UE2, such as AMF3, and then AMF1 sends the location information of the first IoT device to AMF3, so that AMF3 sends the location information of the first IoT device to UE2.
可选地,所述第二位置信息请求消息包括如下A-1项至A-4项中至少一项:Optionally, the second location information request message includes at least one of the following items A-1 to A-4:
A-1项:所述第一物联网设备的第一标识信息;Item A-1: first identification information of the first IoT device;
A-2项:服务等级信息,所述服务等级信息用于指示本次请求所述第一物联网设备的位置信息的等级;Item A-2: service level information, the service level information is used to indicate the level of the location information of the first IoT device requested this time;
A-3项:所述第一物联网设备关联的区域信息,所述区域信息用于指示获取所述第一物联网设备的位置信息的区域范围;Item A-3: regional information associated with the first IoT device, where the regional information is used to indicate a regional range for obtaining location information of the first IoT device;
A-4项:所述第一物联网设备关联的终端设备的第二标识信息。Item A-4: The second identification information of the terminal device associated with the first IoT device.
其中,关于A-1项至A-4项的说明可参见前文,此处不再赘述。 Among them, the explanations of items A-1 to A-4 can be found in the previous text and will not be repeated here.
可选地,上述步骤402“所述第二通信设备根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备”之前,所述方法还包括如下步骤B-1或B-2:Optionally, before the above step 402 “the second communication device determines the first communication device corresponding to the first IoT device according to the second location information request message”, the method further includes the following step B-1 or B-2:
步骤B-1:在运营商配置信息或第一协议指示通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息的情况下,所述第二通信设备授权所述第二位置信息请求消息,其中,所述第一协议为运营商与所述第三通信设备之间的协议;Step B-1: when the operator configuration information or the first protocol indicates that the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device, the second communication device authorizes the second location information request message, wherein the first protocol is a protocol between the operator and the third communication device;
步骤B-2:在所述第三通信设备的签约数据或第二协议指示通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息的情况下,所述第二通信设备授权所述第二位置信息请求消息,其中,所述第二协议为所述第三通信设备与第一终端设备之间的协议;Step B-2: When the subscription data of the third communication device or the second protocol indicates that the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device, the second communication device authorizes the second location information request message, wherein the second protocol is a protocol between the third communication device and the first terminal device;
所述第二通信设备根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备,包括:The second communication device determines, according to the second location information request message, a first communication device corresponding to the first Internet of Things device, including:
在所述第二通信设备授权所述第二位置信息请求消息的情况下,所述第二通信设备根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备。In a case where the second communication device authorizes the second location information request message, the second communication device determines the first communication device corresponding to the first Internet of Things device according to the second location information request message.
其中,上述“授权第二位置信息请求消息”,即为允许执行获取第一物联网设备的位置信息。Among them, the above-mentioned "authorization second location information request message" is to allow the execution of obtaining the location information of the first Internet of Things device.
另外,上述步骤B-1表示:若配置有用于指示“通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息”的运营商配置信息,则可以授权第二位置信息请求消息;若未配置有用于指示“通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息”的运营商配置信息,则不授权第二位置信息请求消息;In addition, the above step B-1 indicates that: if the operator configuration information for indicating that “the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device” is configured, the second location information request message can be authorized; if the operator configuration information for indicating that “the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device” is not configured, the second location information request message is not authorized;
若运营商与第三通信设备之间存在用于指示“通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息”的协议,则可以授权第二位置信息请求消息;若运营商与第三通信设备之间不存在用于指示“通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息”的协议,则不授权第二位置信息请求消息。If there is a protocol between the operator and the third communication device for indicating that "the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device", the second location information request message can be authorized; if there is no protocol between the operator and the third communication device for indicating that "the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device", the second location information request message will not be authorized.
上述步骤B-2表示:若第三通信设备存在用于指示“通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息”的签约数据,则可以授权第二位置信息请求消息;若第三通信设备不存在用于指示“通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息”的签约数据,则不授权第二位置信息请求消息;The above step B-2 indicates that: if the third communication device has contract data for indicating that “the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device”, the second location information request message can be authorized; if the third communication device does not have contract data for indicating that “the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device”, the second location information request message is not authorized;
若第三通信设备与第一终端设备之间存在用于指示“通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息”的协议,则可以授权第二位置信息请求消息;若第三通信设备与第一终端设备之间不存在用于指示“通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息”的协议,则不授权第二位置信息请求消息。If there is a protocol between the third communication device and the first terminal device for indicating that "the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device", the second location information request message can be authorized; if there is no protocol between the third communication device and the first terminal device for indicating that "the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device", the second location information request message will not be authorized.
由上述可知,在通过上述步骤B-1或B-2授权第二位置信息请求消息的情况下,第二通信设备根据第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备,从而获取第一通信设备的位置信息,进而根据第一通信设备的位置信息确定第一物联网设备的位置信息。 From the above, it can be seen that when the second location information request message is authorized through the above steps B-1 or B-2, the second communication device determines the first communication device corresponding to the first Internet of Things device based on the second location information request message, thereby obtaining the location information of the first communication device, and then determines the location information of the first Internet of Things device based on the location information of the first communication device.
可选地,上述步骤402“所述第二通信设备根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息”,包括:Optionally, the above step 402 “the second communication device determines the first communication device corresponding to the first IoT device according to the second location information request message and sends a first location information request message to the first communication device” includes:
所述第二通信设备根据第二目标信息,从第一定位服务和第二定位服务中选出其中一种服务作为目标服务;The second communication device selects one of the first positioning service and the second positioning service as the target service according to the second target information;
所述第二通信设备基于所述目标服务,根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息;The second communication device determines, based on the target service and according to the second location information request message, a first communication device corresponding to the first Internet of Things device and sends a first location information request message to the first communication device;
其中,所述第一定位服务为基于第一通信设备的定位服务,所述第二定位服务为基于第四通信设备的定位服务;The first positioning service is a positioning service based on a first communication device, and the second positioning service is a positioning service based on a fourth communication device;
所述第二目标信息包括如下中至少一项:The second target information includes at least one of the following:
定位精度;positioning accuracy;
所述第二定位服务是否可用。Whether the second positioning service is available.
另外,上述第一通信设备可以为具有移动接入管理功能的设备(例如AMF),第四通信设备可以为网关移动位置中心(Gateway Mobile Location Center,GMLC)。In addition, the first communication device mentioned above may be a device with a mobile access management function (such as AMF), and the fourth communication device may be a Gateway Mobile Location Center (GMLC).
这里,第二通信设备取决于实现或运营商策略决定上述第一定位服务和第二定位服务是否可用。Here, the second communication device determines whether the first positioning service and the second positioning service are available depending on implementation or operator policy.
示例性的,若定位精度为第一预设精度,则本次可以使用第一定位服务;若定位精度为第二预设精度,则本次可以使用第二定位服务;若第一定位服务和第二定位服务都可用,则可以使用第一定位服务或者第二定位服务。Exemplarily, if the positioning accuracy is the first preset accuracy, the first positioning service can be used this time; if the positioning accuracy is the second preset accuracy, the second positioning service can be used this time; if both the first positioning service and the second positioning service are available, the first positioning service or the second positioning service can be used.
可选地,所述第二通信设备基于所述目标服务,根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息,包括如下步骤C-1或步骤C-2至C-4:Optionally, the second communication device determines, based on the target service and according to the second location information request message, a first communication device corresponding to the first IoT device and sends a first location information request message to the first communication device, including the following step C-1 or steps C-2 to C-4:
步骤C-1:在所述目标服务为所述第一定位服务的情况下,所述第二通信设备向第五通信设备发送第三位置信息请求消息,所述第三位置信息请求消息包括所述第二位置信息请求消息中的至少部分内容,所述第三位置信息请求消息用于指示所述第五通信设备查找与所述第一物联网设备对应的第一通信设备的第一地址信息,并指示所述第五通信设备根据所述第一地址信息,向所述第一通信设备发送所述第一位置信息请求消息;Step C-1: when the target service is the first positioning service, the second communication device sends a third location information request message to the fifth communication device, the third location information request message includes at least part of the content of the second location information request message, and the third location information request message is used to instruct the fifth communication device to search for the first address information of the first communication device corresponding to the first Internet of Things device, and instruct the fifth communication device to send the first location information request message to the first communication device according to the first address information;
步骤C-2:在所述目标服务为所述第一定位服务的情况下,所述第二通信设备向第五通信设备发送第四位置信息请求消息,所述第四位置信息请求消息包括所述第二位置信息请求消息中的至少部分内容,所述第四位置信息请求消息用于指示所述第五通信设备查找与所述第一物联网设备对应的第一通信设备的第一地址信息;Step C-2: when the target service is the first positioning service, the second communication device sends a fourth location information request message to the fifth communication device, the fourth location information request message includes at least part of the content in the second location information request message, and the fourth location information request message is used to instruct the fifth communication device to search for the first address information of the first communication device corresponding to the first Internet of Things device;
步骤C-3:所述第二通信设备接收所述第五通信设备发送的所述第一地址信息;Step C-3: the second communication device receives the first address information sent by the fifth communication device;
步骤C-4:所述第二通信设备根据所述第一地址信息,向所述第一通信设备发送所述第一位置信息请求消息。 Step C-4: The second communication device sends the first location information request message to the first communication device according to the first address information.
其中,第五通信设备接收到第三位置信息请求消息之后,则根据第三位置信息请求消息中的至少部分内容(例如服务等级信息和/或第一物联网设备关联的区域信息),查找与第一物联网设备对应的第一通信设备的第一地址信息。示例性的,若服务等级信息指示定位范围为A区,则第五通信设备或第二通信设备向覆盖A区的第一通信设备发送第一位置信息请求消息;若第一物联网设备关联的区域信息指示为B区,则第五通信设备或第二通信设备向覆盖B区的第一通信设备发送第一位置信息请求消息。Among them, after the fifth communication device receives the third location information request message, it searches for the first address information of the first communication device corresponding to the first Internet of Things device according to at least part of the content in the third location information request message (such as service level information and/or area information associated with the first Internet of Things device). Exemplarily, if the service level information indicates that the positioning range is area A, the fifth communication device or the second communication device sends the first location information request message to the first communication device covering area A; if the area information associated with the first Internet of Things device indicates area B, the fifth communication device or the second communication device sends the first location information request message to the first communication device covering area B.
由上述步骤C-1可知,在第二通信设备与第一通信设备不可以直接通信的情况下,若采用上述第一定位服务,则第二通信设备可以请求第五通信设备查找与第一物联网合并对应的第一通信设备的第一地址信息,从而在查找到后,由第五通信设备根据第一地址信息,向第一通信设备发送第一位置信息请求消息。其中,第二通信设备可以向第五通信设备发送统一数据管理功能事件签约(Nudm_EventExposure_Subscribe)消息,Nudm_EventExposure_Subscribe消息携带上述第三位置信息请求消息,第五通信设备向第一通信设备发送移动和接入管理功能事件暴露签约(Namf_EventExposure_Subscribe)消息,Namf_EventExposure_Subscribe消息携带上述第一位置信息请求消息。It can be seen from the above step C-1 that when the second communication device and the first communication device cannot communicate directly, if the above first positioning service is used, the second communication device can request the fifth communication device to find the first address information of the first communication device corresponding to the first Internet of Things, so that after finding it, the fifth communication device sends a first location information request message to the first communication device according to the first address information. Among them, the second communication device can send a unified data management function event subscription (Nudm_EventExposure_Subscribe) message to the fifth communication device, and the Nudm_EventExposure_Subscribe message carries the above third location information request message, and the fifth communication device sends a mobile and access management function event exposure subscription (Namf_EventExposure_Subscribe) message to the first communication device, and the Namf_EventExposure_Subscribe message carries the above first location information request message.
由上述步骤C-2至C-4可知,在第二通信设备与第一通信设备可以直接通信的情况下,若采用上述第一定位服务,则第二通信设备可以向第五通信设备请求与第一物联网设备对应的第一通信设备的第一地址信息,从而使得第二通信设备可以根据第一地址信息向第一通信设备发送第一位置信息请求消息。其中,第二通信设备可以向第五通信设备发送统一数据管理功能终端连接管理获取(Nudm_UECM_Get)消息,Nudm_UECM_Get消息携带上述第四位置信息请求消息;第二通信设备向第一通信设备发送Nudm_EventExposure_Subscribe消息,Nudm_EventExposure_Subscribe消息携带上述第一位置信息请求消息。It can be seen from the above steps C-2 to C-4 that, in the case where the second communication device and the first communication device can communicate directly, if the above first positioning service is adopted, the second communication device can request the first address information of the first communication device corresponding to the first IoT device from the fifth communication device, so that the second communication device can send a first location information request message to the first communication device according to the first address information. Among them, the second communication device can send a unified data management function terminal connection management acquisition (Nudm_UECM_Get) message to the fifth communication device, and the Nudm_UECM_Get message carries the above fourth location information request message; the second communication device sends a Nudm_EventExposure_Subscribe message to the first communication device, and the Nudm_EventExposure_Subscribe message carries the above first location information request message.
可选地,所述第二通信设备基于所述目标服务,根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息,包括如下步骤C-5至步骤C-6:Optionally, the second communication device determines, based on the target service and according to the second location information request message, a first communication device corresponding to the first IoT device and sends a first location information request message to the first communication device, including the following steps C-5 to C-6:
步骤C-5:在所述目标服务为所述第二定位服务的情况下,所述第二通信设备获取与所述第一物联网设备对应的所述第四通信设备的第二地址信息;Step C-5: when the target service is the second positioning service, the second communication device acquires the second address information of the fourth communication device corresponding to the first Internet of Things device;
步骤C-6:所述第二通信设备根据所述第二地址信息,向所述第四通信设备发送第五位置信息请求消息,所述第五位置信息请求消息包括所述第二位置信息请求消息中的至少部分内容,所述第五位置信息请求消息用于指示所述第四通信设备获取与所述第一物联网设备对应的第一通信设备的第一地址信息,并指示所述第四通信设备根据所述第一地址信息向所述第一通信设备发送所述第一位置信息请求消息。Step C-6: The second communication device sends a fifth location information request message to the fourth communication device based on the second address information, and the fifth location information request message includes at least part of the content of the second location information request message. The fifth location information request message is used to instruct the fourth communication device to obtain the first address information of the first communication device corresponding to the first Internet of Things device, and instruct the fourth communication device to send the first location information request message to the first communication device based on the first address information.
这里,在上述步骤C-5中,第二通信设备获取与第一物联网设备对应的第四通信设备的第二地址信息的过程,可以包括:第二通信设备向第六通信设备发送第六位置信息请求消息,所述第六位置信息请求消息包括所述第二位置信息请求消息中的至少部分内 容,所述第六位置信息请求消息用于指示所述第六通信设备查找与所述第一物联网设备对应的第四通信设备的第二地址信息;所述第二通信设备接收所述第六通信设备发送的所述第二地址信息。Here, in the above step C-5, the process in which the second communication device obtains the second address information of the fourth communication device corresponding to the first IoT device may include: the second communication device sends a sixth location information request message to the sixth communication device, and the sixth location information request message includes at least part of the content in the second location information request message. The sixth location information request message is used to instruct the sixth communication device to search for the second address information of the fourth communication device corresponding to the first Internet of Things device; the second communication device receives the second address information sent by the sixth communication device.
其中,第六通信设备接收到第六位置信息请求消息之后,可以根据第六位置信息请求消息中的至少部分内容,查找与第一物联网设备对应的第四通信设备的第二地址信息。Among them, after the sixth communication device receives the sixth location information request message, it can search for the second address information of the fourth communication device corresponding to the first Internet of Things device based on at least part of the content in the sixth location information request message.
另外,上述第六通信设备可以为NRF。In addition, the sixth communication device mentioned above may be an NRF.
在上述步骤C-6中,所述第四通信设备获取与所述第一物联网设备对应的第一通信设备的第一地址信息的过程,可以包括:第四通信设备向第五通信设备发送第七位置信息请求消息,所述第七位置信息请求消息包括所述第二位置信息请求消息中的至少部分内容,所述第七位置信息请求消息用于指示所述第五通信设备查找与所述第一物联网设备对应的第一通信设备的第一地址信息;所述第四通信设备接收所述第五通信设备发送的所述第一地址信息。In the above step C-6, the process of the fourth communication device acquiring the first address information of the first communication device corresponding to the first Internet of Things device may include: the fourth communication device sends a seventh location information request message to the fifth communication device, the seventh location information request message includes at least part of the content of the second location information request message, and the seventh location information request message is used to instruct the fifth communication device to search for the first address information of the first communication device corresponding to the first Internet of Things device; the fourth communication device receives the first address information sent by the fifth communication device.
即第四通信设备可以向第五通信设备请求与第一物联网设备对应的第一通信设备的第一地址信息。That is, the fourth communication device can request the first address information of the first communication device corresponding to the first Internet of Things device from the fifth communication device.
其中,第五通信设备接收到第七位置信息请求消息之后,可以根据第七位置信息请求消息中的至少部分内容,查找与第一物联网设备对应的第一通信设备的第一地址信息。Among them, after the fifth communication device receives the seventh location information request message, it can search for the first address information of the first communication device corresponding to the first Internet of Things device based on at least part of the content in the seventh location information request message.
另外,这里,第五通信设备可以为UDM。In addition, here, the fifth communication device may be a UDM.
由上述步骤C-5至C-6可知,若采用上述第二定位服务,则第二通信设备可以先获取与第一物联网设备对应的第四通信设备(即可以为本次定位提供服务的第四通信设备),然后由第四通信设备获取与第一物联网设备对应的第一通信设备,从而实现向第一通信设备发送第一位置信息请求消息。It can be seen from the above steps C-5 to C-6 that if the above-mentioned second positioning service is adopted, the second communication device can first obtain the fourth communication device corresponding to the first Internet of Things device (that is, the fourth communication device that can provide services for this positioning), and then the fourth communication device obtains the first communication device corresponding to the first Internet of Things device, thereby sending a first location information request message to the first communication device.
此外,第四通信设备可以向第五通信设备发送Nudm_UECM_Get消息,Nudm_UECM_Get消息携带上述第七位置信息请求消息;第四通信设备可以向第一通信设备发送Nudm_EventExposure_Subscribe消息,Nudm_EventExposure_Subscribe消息携带上述第一位置信息请求消息。In addition, the fourth communication device may send a Nudm_UECM_Get message to the fifth communication device, where the Nudm_UECM_Get message carries the seventh location information request message; the fourth communication device may send a Nudm_EventExposure_Subscribe message to the first communication device, where the Nudm_EventExposure_Subscribe message carries the first location information request message.
第三方面,本申请实施例提供了一种定位方法,如图5所示,该方法包括如下步骤501:In a third aspect, an embodiment of the present application provides a positioning method, as shown in FIG5 , the method includes the following steps 501:
步骤501:第三通信设备向第二通信设备发送第二位置信息请求消息。Step 501: The third communication device sends a second location information request message to the second communication device.
其中,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息。The second location information request message is used to indicate a request for location information of the first IoT device.
另外,这里第二通信设备可以为NEF或AMF,第三通信设备可以为AF或UE,例如AF可以向NEF发送第二位置信息请求消息,以请求第一物联网设备的位置信息;或者,UE可以向AMF发送第二位置信息请求消息,以请求第一物联网设备的位置信息。In addition, the second communication device here can be NEF or AMF, and the third communication device can be AF or UE. For example, AF can send a second location information request message to NEF to request the location information of the first Internet of Things device; or, UE can send a second location information request message to AMF to request the location information of the first Internet of Things device.
此外,第二通信设备接收到第二位置信息请求消息之后,则根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息,以使得第一通信设备根据第一位置信息请求消息确定与第一物 联网设备对应的第一终端设备,进而获取第一终端设备的位置信息,并根据第一终端设备的位置信息确定第一物联网设备的位置信息。In addition, after the second communication device receives the second location information request message, it determines the first communication device corresponding to the first Internet of Things device according to the second location information request message and sends the first location information request message to the first communication device, so that the first communication device determines the first Internet of Things device according to the first location information request message. The first terminal device corresponding to the networked device further obtains the location information of the first terminal device, and determines the location information of the first Internet of Things device according to the location information of the first terminal device.
由此可见,本申请的实施例,可以将对物联网设备的定位转换为对与物联网设备关联的终端设备的定位,这样,即使物联网设备的工作功耗极低,且不支持定位服务的复杂计算,也可以获取到物联网设备的位置信息。It can be seen that the embodiments of the present application can convert the positioning of the IoT device into the positioning of the terminal device associated with the IoT device. In this way, even if the IoT device has extremely low working power consumption and does not support complex calculations of positioning services, the location information of the IoT device can be obtained.
可选地,所述第三通信设备向第二通信设备发送第二位置信息请求消息之后,所述方法还包括:Optionally, after the third communication device sends the second location information request message to the second communication device, the method further includes:
所述第三通信设备接收所述第一物联网设备的位置信息。The third communication device receives the location information of the first Internet of Things device.
可选地,所述第二位置信息请求消息包括如下A-1项至A-4项中至少一项:Optionally, the second location information request message includes at least one of the following items A-1 to A-4:
A-1项:所述第一物联网设备的第一标识信息;Item A-1: first identification information of the first IoT device;
A-2项:服务等级信息,所述服务等级信息用于指示本次请求所述第一物联网设备的位置信息的等级;Item A-2: service level information, the service level information is used to indicate the level of the location information of the first IoT device requested this time;
A-3项:所述第一物联网设备关联的区域信息,所述区域信息用于指示获取所述第一物联网设备的位置信息的区域范围;Item A-3: regional information associated with the first IoT device, where the regional information is used to indicate a regional range for obtaining location information of the first IoT device;
A-4项:所述第一物联网设备关联的终端设备的第二标识信息。Item A-4: The second identification information of the terminal device associated with the first IoT device.
其中,关于A-1项至A-4项的说明可参见前文,此处不再赘述。Among them, the explanations of items A-1 to A-4 can be found in the previous text and will not be repeated here.
第四方面,本申请的实施例提供了一种定位方法,如图6所示,该方法包括如下步骤601:In a fourth aspect, an embodiment of the present application provides a positioning method, as shown in FIG6 , the method includes the following step 601:
步骤601:第一终端设备向第一通信设备发送第三目标信息;Step 601: The first terminal device sends third target information to the first communication device;
其中,所述第三目标信息包括如下中至少一项:The third target information includes at least one of the following:
第一物联网设备的第一标识信息;first identification information of the first Internet of Things device;
非直接定位指示,所述非直接定位指示用于指示所述第一物联网设备不支持直接定位;An indirect positioning indication, where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning;
能力信息,所述能力信息用于指示所述第一终端设备具备与物联网设备通信的能力或具备发现物联网设备的能力。Capability information, where the capability information is used to indicate that the first terminal device has the ability to communicate with an IoT device or has the ability to discover an IoT device.
另外,第一通信设备接收到上述第一标识信息后,可以存储第一终端设备与第一标识信息之间的关联关系,从而在第一通信设备接收到用于指示请求第一物联网设备的位置信息的第一位置信息请求消息后,可以在第一位置信息请求消息中包括第一标识信息的情况下,由第一通信设备将关联关系中与第一标识信息对应的终端设备,确定为与第一物联网设备对应的第一终端设备,进而可以获取第一终端设备的位置信息,并根据第一终端设备的位置信息确定第一物联网设备的位置信息。In addition, after receiving the above-mentioned first identification information, the first communication device can store the association relationship between the first terminal device and the first identification information, so that after the first communication device receives the first location information request message for indicating a request for location information of the first Internet of Things device, the first communication device can include the first identification information in the first location information request message. The terminal device corresponding to the first identification information in the association relationship can be determined by the first communication device as the first terminal device corresponding to the first Internet of Things device, and then the location information of the first terminal device can be obtained, and the location information of the first Internet of Things device can be determined based on the location information of the first terminal device.
第一通信设备接收到上述能力信息后,可以存储第一终端设备的该能力信息,从而在第一通信设备后续需要对终端设备执行目标流程(包括发现流程、寻呼流程、盘点流程中的至少一项)的情况下,可以基于该能力信息,获取具备该能力信息指示的能力的终端设备,以得到与第一物联网设备对应的第一终端设备,进而可以获取第一终端设备 的位置信息,并根据第一终端设备的位置信息确定第一物联网设备的位置信息。After receiving the capability information, the first communication device can store the capability information of the first terminal device, so that when the first communication device needs to execute the target process (including at least one of the discovery process, the paging process, and the inventory process) on the terminal device later, the first communication device can obtain the terminal device with the capability indicated by the capability information based on the capability information, so as to obtain the first terminal device corresponding to the first Internet of Things device, and then obtain the first terminal device. and determine the location information of the first IoT device based on the location information of the first terminal device.
第一通信设备接收到上述非直接定位指示后,可以存储该非直接定位指示,从而在第一通信设备接收到用于指示请求第一物联网设备的位置信息的第一位置信息请求消息后,查找是否存储有被请求位置信息的物联网设备(即第一物联网设备)的非直接定位指示,若查找到,则执行对第一物联网设备对应的第一终端设备的定位流程,从而可以根据第一终端设备的位置信息确定第一物联网设备的位置信息,这样可以得到定位精度更加精确的第一物联网设备的位置信息。After the first communication device receives the above-mentioned non-direct positioning indication, it can store the non-direct positioning indication, so that after the first communication device receives the first location information request message for indicating the request for the location information of the first Internet of Things device, it searches whether the non-direct positioning indication of the Internet of Things device (i.e., the first Internet of Things device) whose location information is requested is stored. If found, the positioning process of the first terminal device corresponding to the first Internet of Things device is executed, so that the location information of the first Internet of Things device can be determined based on the location information of the first terminal device, so that the location information of the first Internet of Things device with more accurate positioning accuracy can be obtained.
另外,这里第一终端设备可以为UE,第一通信设备可以为AMF。In addition, the first terminal device here can be a UE, and the first communication device can be an AMF.
由上述可知,本申请的实施例,可以将对物联网设备的定位转换为对与物联网设备关联的终端设备的定位,这样,即使物联网设备的工作功耗极低,且不支持定位服务的复杂计算,也可以获取到物联网设备的位置信息。From the above, it can be seen that the embodiments of the present application can convert the positioning of the IoT device into the positioning of the terminal device associated with the IoT device. In this way, even if the IoT device has extremely low working power consumption and does not support complex calculations of positioning services, the location information of the IoT device can be obtained.
可选地,所述第一终端设备向第一通信设备发送第三目标信息,包括:Optionally, the first terminal device sending third target information to the first communication device includes:
所述第一终端设备向所述第一通信设备发送第二非接入层NAS消息,其中,所述第二非接入层NAS消息携带有所述第三目标信息。The first terminal device sends a second non-access stratum NAS message to the first communication device, wherein the second non-access stratum NAS message carries the third target information.
即第一终端设备可以向第一通信设备发送第二非接入层NAS消息,并在该第二非接入层NAS消息中携带上述第三目标信息。示例性的,第二非接入层NAS消息可以为注册请求消息或上行非接入层透明传输消息。That is, the first terminal device may send a second non-access layer NAS message to the first communication device, and carry the third target information in the second non-access layer NAS message. Exemplarily, the second non-access layer NAS message may be a registration request message or an uplink non-access layer transparent transmission message.
可选地,所述第一终端设备向所述第一通信设备发送所述第一标识信息,包括:Optionally, the first terminal device sending the first identification information to the first communication device includes:
所述第一终端设备周期性执行盘点流程查找物联网设备,并将更新后的所述第一物联网设备的所述第一标识信息发送给所述第一通信设备。The first terminal device periodically executes an inventory process to search for IoT devices, and sends the updated first identification information of the first IoT device to the first communication device.
由此可知,第一终端设备可以周期性获取更新后的第一物联网设备的第一标识信息,从而发送给第一通信设备,这样可以使得第一通信设备中存储的物联网设备的标识信息为最新的标识信息,从而可以降低因物联网设备的标识信息未及时更新而导致定位失败的几率。From this, it can be seen that the first terminal device can periodically obtain the updated first identification information of the first Internet of Things device and send it to the first communication device. In this way, the identification information of the Internet of Things device stored in the first communication device can be the latest identification information, thereby reducing the probability of positioning failure due to the failure to update the identification information of the Internet of Things device in time.
综上所述,本申请实施例的定位方法的具体实施方式可如下实施方式一或实施方式二或实施方式三所述。In summary, the specific implementation of the positioning method of the embodiment of the present application may be as described in the following implementation mode 1, implementation mode 2 or implementation mode 3.
实施方式一:如图7,包括如下步骤70至步骤77。Implementation method 1: as shown in FIG. 7 , including steps 70 to 77 .
步骤70:UE获取物联网设备的标识信息并发送给AMF,所述AMF存储UE和物联网设备的对应关系,用于确定物联网设备关联的读写器。Step 70: The UE obtains the identification information of the IoT device and sends it to the AMF. The AMF stores the correspondence between the UE and the IoT device to determine the reader/writer associated with the IoT device.
其中,UE获取物联网设备的标识信息的过程,包括UE向物联网设备发送激励信号,UE接收物联网设备的反射信号,所述反射信号中包括物联网设备的标识信息。可选地,所述UE周期性地执行盘点流程,查找附近的物联网设备,并将更新后的物联网设备标识发送给AMF。这里,所述UE和所述AMF可以协商盘点周期。The process of the UE obtaining the identification information of the IoT device includes the UE sending an excitation signal to the IoT device, and the UE receiving a reflection signal from the IoT device, wherein the reflection signal includes the identification information of the IoT device. Optionally, the UE periodically performs an inventory process to search for nearby IoT devices and sends the updated IoT device identification to the AMF. Here, the UE and the AMF can negotiate the inventory cycle.
可选地,UE向AMF发送能力信息,所述能力信息指示UE具备与物联网设备通信的能力或具备发现物联网设备的能力。 Optionally, the UE sends capability information to the AMF, where the capability information indicates that the UE has the ability to communicate with the IoT device or has the ability to discover the IoT device.
可选地,UE向AMF发送物联网设备的非直接定位指示,用于指示该物联网设备不支持直接定位。Optionally, the UE sends a non-direct positioning indication of the IoT device to the AMF, indicating that the IoT device does not support direct positioning.
其中,UE可以向AMF发送第一NAS消息,该第一NAS消息携带有上述物联网设备的标识信息、能力信息、非直接定位指示中的至少一项。示例性的,第一NAS消息可以为注册请求消息或上行非接入层透明传输消息。The UE may send a first NAS message to the AMF, where the first NAS message carries at least one of the identification information, capability information, and indirect positioning indication of the IoT device. Exemplarily, the first NAS message may be a registration request message or an uplink non-access layer transparent transmission message.
步骤71:应用功能(Application function,AF)向网络开放功能(Network Exposure Function,NEF)发送物联网设备的第二位置信息请求消息。Step 71: The application function (AF) sends a second location information request message of the IoT device to the network exposure function (NEF).
示例性的,AF可以向NEF发送Nnef_EventExposure_Subscribe消息,该Nnef_EventExposure_Subscribe消息携带上述第二位置信息请求消息。Exemplarily, the AF may send a Nnef_EventExposure_Subscribe message to the NEF, where the Nnef_EventExposure_Subscribe message carries the second location information request message.
其中,第二位置信息请求消息可以包括如下中至少一项:The second location information request message may include at least one of the following:
物联网设备的标识信息;Identification information of IoT devices;
服务等级信息;Service level information;
物联网设备关联的区域信息(即物联网设备可能在的区域信息),该区域信息用于指示获取物联网设备的位置信息的区域范围;The regional information associated with the IoT device (i.e., the regional information where the IoT device may be located), which is used to indicate the regional scope for obtaining the location information of the IoT device;
物联网设备关联的读写器标识。The reader identifier associated with the IoT device.
这里,服务等级信息指示第二位置信息请求消息的等级。示例性的,服务等级信息可以包括定位精度、定位时间、定位范围、等级指示中的至少一项。Here, the service level information indicates the level of the second location information request message. Exemplarily, the service level information may include at least one of positioning accuracy, positioning time, positioning range, and level indication.
其中,定位精度指示获取的位置信息的精度,例如,定位精度为3m。The positioning accuracy indicates the accuracy of the acquired location information, for example, the positioning accuracy is 3m.
定位时间指示获取的位置信息的时间。例如,定位时间为10分钟,指示需要在10分钟内获取到位置信息。The positioning time indicates the time of obtaining the position information. For example, if the positioning time is 10 minutes, it means that the position information needs to be obtained within 10 minutes.
定位范围指示在某一特定范围内获取位置信息。例如,定位范围为A区,指示在A区范围内查找该物联网设备的位置信息;又例如,定位范围为地点B和1km,指示在地点B周围1km的范围内查找该物联网设备的位置信息;又例如,定位范围中的地点B可能是个区域范围,则地点B可以以上述物联网设备可能在的区域表示。The positioning range indicates that the location information is obtained within a certain range. For example, if the positioning range is area A, it indicates that the location information of the IoT device is found within the area of area A; for another example, if the positioning range is location B and 1km, it indicates that the location information of the IoT device is found within a range of 1km around location B; for another example, location B in the positioning range may be a regional range, then location B can be represented by the area where the IoT device may be located.
等级指示可以取值为高、中、低、或缺省。该取值对应移动网络提供的服务策略。每种策略对应了运营商制定的定位精度,定位时间,定位范围中的至少一项。The level indicator can be high, medium, low, or default. The value corresponds to the service strategy provided by the mobile network. Each strategy corresponds to at least one of the positioning accuracy, positioning time, and positioning range set by the operator.
物联网设备可能在的区域信息可以是物联网设备曾经(例如在第一预设时间段内)到过的位置信息。需要说明的是,所述物联网设备可能在的区域信息,可以为移动网络的位置信息(例如小区标识,跟踪区标识等),也可以为地理位置信息(例如经纬度、街道、行政区等)。The possible regional information of the IoT device may be the location information that the IoT device has been to (for example, within a first preset time period). It should be noted that the possible regional information of the IoT device may be the location information of the mobile network (for example, a cell identifier, a tracking area identifier, etc.) or the geographical location information (for example, longitude and latitude, street, administrative district, etc.).
物联网设备关联的读写器标识可以是读写器的标识或读写器持有人的标识(即读写器所属用户的通讯号码)。其中,一个读写器标识能够关联到一个或多个读写器,可选地,读写器标识可以包括用户永久标识符(Subscription Permanent Identifier,SUPI)、国际移动用户识别码(International Mobile Subscriber Identity,IMSI)、通用公共用户标识(Generic Public Subs cription Identifier,GPSI)中的至少一项;需要说明的是,该类物 联网设备通常与读写器的距离很近且具备强绑定关系,故通过读写器持有人标识也可以查找到具体的读写器。The reader/writer identifier associated with the IoT device can be the reader/writer identifier or the reader/writer holder identifier (i.e., the communication number of the reader/writer user). Among them, a reader/writer identifier can be associated with one or more readers/writers. Optionally, the reader/writer identifier can include at least one of the following: Subscription Permanent Identifier (SUPI), International Mobile Subscriber Identity (IMSI), and Generic Public Subs cription Identifier (GPSI). It should be noted that this type of object Networked devices are usually very close to the reader/writer and have a strong binding relationship with it, so the specific reader/writer can also be found through the reader/writer holder identification.
步骤72:NEF授权AF的接收到的第二位置信息请求并确定使用基于AMF的定位服务(location event exposure service)。Step 72: NEF authorizes the second location information request received by AF and determines to use the AMF-based positioning service (location event exposure service).
可选地,所述NEF根据运营商配置信息或者运营商与AF之间的第一协议对接收到的第二位置信息请求进行授权。即当运营商配置信息或者第一协议指示通过物联网设备对应的读写器的位置信息表示物联网设备的位置信息的情况下,对接收到的第二位置信息请求消息授权;否则,不对第二位置信息请求消息授权。Optionally, the NEF authorizes the received second location information request according to the operator configuration information or the first protocol between the operator and the AF. That is, when the operator configuration information or the first protocol indicates that the location information of the IoT device is represented by the location information of the reader/writer corresponding to the IoT device, the received second location information request message is authorized; otherwise, the second location information request message is not authorized.
其中,NEF可以根据第二位置信息请求消息中的定位精度或基于GMLC的定位服务(GMLC based location service)和基于AMF的定位服务是否可用,来确定使用基于AMF的定位服务还是基于GMLC的定位服务。这里,NEF取决于实现或运营商策略决定基于GMLC的定位服务和基于AMF的定位服务是否可用。Among them, NEF can determine whether to use AMF-based positioning service or GMLC-based positioning service according to the positioning accuracy in the second location information request message or whether GMLC-based positioning service (GMLC-based location service) and AMF-based positioning service are available. Here, NEF depends on the implementation or operator policy to decide whether GMLC-based positioning service and AMF-based positioning service are available.
示例性的,若定位精度为“小区水平(cell level)或跟踪区(Tracking Area,TA)粒度”,或者基于GMLC的定位服务和基于AMF的定位服务都可用,则NEF确定本次使用基于AMF的定位服务。Exemplarily, if the positioning accuracy is "cell level or Tracking Area (TA) granularity", or both GMLC-based positioning service and AMF-based positioning service are available, NEF determines to use the AMF-based positioning service this time.
步骤73:NEF向AMF发送第一位置信息请求消息。Step 73: NEF sends a first location information request message to AMF.
可选地,在AMF能够与NEF直接通信的情况下,NEF向UDM发送第四位置信息请求消息,UDM根据第四位置信息请求消息中包括的内容查询能够提供该位置信息请求的AMF(即能够为本次定位提供服务的AMF),其中,UDM将查询到的AMF的地址信息返回给NEF,以使得NEF向AMF发送第一位置信息请求消息;示例性的,NEF向UDM发送Nudm_UECM_Get消息,Nudm_UECM_Get消息携带上述第四位置信息请求消息;NEF向AMF发送Nudm_EventExposure_Subscribe消息,Nudm_EventExposure_Subscribe消息携带上述第一位置信息请求消息。Optionally, when AMF is able to communicate directly with NEF, NEF sends a fourth location information request message to UDM, and UDM queries the AMF that can provide the location information request (i.e., the AMF that can provide services for this positioning) based on the content included in the fourth location information request message, wherein UDM returns the address information of the queried AMF to NEF, so that NEF sends the first location information request message to AMF; exemplarily, NEF sends a Nudm_UECM_Get message to UDM, and the Nudm_UECM_Get message carries the above-mentioned fourth location information request message; NEF sends a Nudm_EventExposure_Subscribe message to AMF, and the Nudm_EventExposure_Subscribe message carries the above-mentioned first location information request message.
在查询到的AMF不能与NEF直接通信的情况下,NEF向UDM发送第三位置信息请求消息,UDM根据第三位置信息请求消息中包括的内容查询能够提供该位置信息请求的AMF(即能够为本次定位提供服务的AMF),然后由UDM向AMF发送第一位置信息请求消息;示例性的,NEF向UDM发送Nudm_EventExposure_Subscribe消息,Nudm_EventExposure_Subscribe消息携带上述第三位置信息请求消息,UDM向AMF发送Namf_EventExposure_Subscribe消息,Namf_EventExposure_Subscribe消息携带上述第一位置信息请求消息。When the queried AMF cannot communicate directly with NEF, NEF sends a third location information request message to UDM, and UDM queries the AMF that can provide the location information request (i.e., the AMF that can provide services for this positioning) based on the content included in the third location information request message, and then UDM sends the first location information request message to AMF; exemplarily, NEF sends a Nudm_EventExposure_Subscribe message to UDM, and the Nudm_EventExposure_Subscribe message carries the above-mentioned third location information request message, and UDM sends a Namf_EventExposure_Subscribe message to AMF, and the Namf_EventExposure_Subscribe message carries the above-mentioned first location information request message.
其中,上述第三位置信息请求消息、第四位置信息请求消息以及第一位置信息请求消息中分别可以包括步骤71中第二位置信息请求消息中的部分或全部参数,但是参数名称或表达形式可能相同或不同。例如,第三位置信息请求消息或第四位置信息请求消息或第一位置信息请求消息可以包括物联网设备的标识信息。可选地,还可以包括服务等级信息,物联网设备可能在的区域信息。 The third location information request message, the fourth location information request message, and the first location information request message may include part or all of the parameters in the second location information request message in step 71, respectively, but the parameter names or expressions may be the same or different. For example, the third location information request message, the fourth location information request message, or the first location information request message may include identification information of the IoT device. Optionally, service level information and possible regional information of the IoT device may also be included.
例如第三位置信息请求消息(或第四位置信息请求消息)中包括服务等级信息和/或物联网设备可能在的区域信息时,UDM可以根据第三位置信息请求消息(或第四位置信息请求消息)中的服务等级和/或物联网设备可能在的区域信息确定AMF,并向该AMF发送第一位置信息请求消息。例如,服务等级指示定位范围为A区,则UDM向覆盖A区的AMF发送第一位置信息请求消息;物联网设备可能在的区域信息为B区,则UDM向覆盖A区和B区的AMF发送第一位置信息请求消息。其中,A区可能包括B区,A区也可能是B区的子集。本申请实施例中不做限制。此外,上述UDM确定的AMF可以为一个或多个。For example, when the third location information request message (or the fourth location information request message) includes service level information and/or possible regional information of the IoT device, the UDM can determine the AMF based on the service level and/or possible regional information of the IoT device in the third location information request message (or the fourth location information request message), and send a first location information request message to the AMF. For example, if the service level indicates that the positioning range is area A, the UDM sends a first location information request message to the AMF covering area A; if the possible regional information of the IoT device is area B, the UDM sends a first location information request message to the AMF covering areas A and B. Among them, area A may include area B, and area A may also be a subset of area B. This is not limited in the embodiments of the present application. In addition, the AMF determined by the above-mentioned UDM may be one or more.
可以理解的是,若NEF没有授权AF的请求(即上述第二位置信息请求消息)或无法从UDM获取能够为本次定位提供服务的AMF,则NEF会拒绝第二位置信息请求消息。It is understandable that if the NEF does not authorize the AF's request (i.e., the above-mentioned second location information request message) or cannot obtain the AMF that can provide services for this positioning from the UDM, the NEF will reject the second location information request message.
步骤74:AMF确定与物联网设备对应的读写器。Step 74: AMF determines the reader/writer corresponding to the IoT device.
其中,所述AMF确定物联网设备对应的读写器,包括以下至少一项:The AMF determines the reader/writer corresponding to the IoT device, including at least one of the following:
所述AMF根据存储的UE和物联网设备的关联关系(即通过前述步骤70中存储的关联关系)确定物联网设备对应的读写器;The AMF determines the reader/writer corresponding to the IoT device according to the stored association relationship between the UE and the IoT device (i.e., through the association relationship stored in the aforementioned step 70);
所述AMF对具备与物联网设备通信能力或具备发现物联网设备能力的UE,执行读写器发现流程、盘点流程、寻呼流程中的至少一项;The AMF performs at least one of a reader discovery process, an inventory process, and a paging process on a UE capable of communicating with an IoT device or capable of discovering an IoT device;
所述AMF根据第一位置请求消息包含的读写器标识(一个或多个)确定读写器。The AMF determines the reader/writer based on the reader/writer identifier (one or more) included in the first location request message.
步骤75a:AMF将该读写器的当前位置信息作为物联网设备的位置信息;Step 75a: AMF uses the current location information of the reader as the location information of the IoT device;
步骤75b:AMF执行读写器定位流程,将得到的读写器的位置信息作为物联网设备的位置信息。Step 75b: AMF executes the reader positioning process and uses the obtained reader location information as the location information of the IoT device.
可以理解的是:AMF可以根据第一位置信息请求消息中的定位精度、第一位置信息请求消息的类型、第一位置信息请求消息的来源、AMF中是否存在有物联网设备的非直接定位指示、第一位置信息请求消息中的物联网设备的标识信息、运营商策略是否指示通过物联网设备对应的读写器的位置信息表示物联网设备的位置信息中的至少一项,确定是否执行读写器定位流程。It can be understood that AMF can determine whether to execute the reader/writer positioning process based on at least one of the positioning accuracy in the first location information request message, the type of the first location information request message, the source of the first location information request message, whether there is an indirect positioning indication of the IoT device in the AMF, the identification information of the IoT device in the first location information request message, and whether the operator policy indicates that the location information of the IoT device is represented by the location information of the reader/writer corresponding to the IoT device.
例如当定位精度为小区级别或TA粒度时,或者当第一位置信息请求消息是Namf_EventExposure Subscribe service operation消息时,或者,当第一位置信息请求消息来自NEF或UDM时,AMF不执行读写器定位流程,而是将该读写器当前的位置信息作为该物联网设备的位置信息;For example, when the positioning accuracy is at the cell level or TA granularity, or when the first location information request message is a Namf_EventExposure Subscribe service operation message, or when the first location information request message comes from NEF or UDM, AMF does not execute the reader positioning process, but uses the current location information of the reader as the location information of the IoT device;
或者,or,
例如当AMF中存储有物联网设备的非直接定位指示时,或者当第一位置信息请求消息中携带有读写器标识时,或者当运营商策略指示通过物联网设备对应的读写器的位置信息表示物联网设备的位置信息时,或者当定位精度粒度小于TA粒度时,或者当第一位置请求消息是Namf_Location_ProvidePositioningInfo service operation消息时,或者当 第一位置信息请求消息来自GMLC时,AMF执行读写器定位流程,从而将执行读写器定位流程得到的读写器的位置信息,确定为物联网设备的位置信息。For example, when the AMF stores an indirect positioning indication of the IoT device, or when the first location information request message carries a reader identifier, or when the operator policy indicates that the location information of the IoT device is represented by the location information of the reader corresponding to the IoT device, or when the positioning accuracy granularity is less than the TA granularity, or when the first location request message is a Namf_Location_ProvidePositioningInfo service operation message, or when When the first location information request message comes from GMLC, AMF executes the reader positioning process, thereby determining the location information of the reader obtained by executing the reader positioning process as the location information of the IoT device.
其中,执行读写器定位流程时,AMF可以根据接收到的第一位置信息请求消息中的内容(例如定位精度、服务等级信息、物联网设备可能在的区域信息)确定可以为本次定位流程提供服务的LMF。例如,AMF根据定位精度确定支持该定位精度的上述LMF,或者根据服务等级信息指示的定位范围确定上述LMF;或者根据物联网设备可能在的区域信息确定上述AMF。Among them, when executing the reader positioning process, the AMF can determine the LMF that can provide services for this positioning process based on the content of the received first location information request message (such as positioning accuracy, service level information, and possible regional information of the IoT device). For example, the AMF determines the above-mentioned LMF that supports the positioning accuracy based on the positioning accuracy, or determines the above-mentioned LMF based on the positioning range indicated by the service level information; or determines the above-mentioned AMF based on the possible regional information of the IoT device.
可以理解的是,当一个物联网设备与多个读写器对应时,可以将所述多个读写器中的其中一个读写器的位置信息,作为该物联网设备的位置信息。It is understandable that when an IoT device corresponds to multiple readers/writers, the location information of one of the multiple readers/writers can be used as the location information of the IoT device.
步骤76.AMF向NEF发送物联网设备的位置信息。Step 76.AMF sends the location information of the IoT device to NEF.
步骤77.NEF向AF发送物联网设备的位置信息。Step 77. NEF sends the location information of the IoT device to AF.
实施方式二:如图8,包括如下步骤80至步骤89。Implementation method 2: as shown in FIG. 8 , including steps 80 to 89 .
步骤80:同前述实施方式一的步骤70,此处不再赘述。Step 80: The same as step 70 in the aforementioned embodiment 1, which will not be described again here.
步骤81:同前述实施方式一的步骤71,此处不再赘述。Step 81: The same as step 71 in the aforementioned embodiment 1, which will not be described again here.
步骤82:NEF授权AF的接收到的第二位置信息请求并确定使用基于GMLC的定位服务。Step 82: NEF authorizes the received second location information request of AF and determines to use the GMLC-based positioning service.
可选地,所述NEF根据运营商配置信息或者运营商与AF之间的第一协议对接收到的第二位置信息请求进行授权。即当运营商配置信息或者第一协议指示通过物联网设备对应的读写器的位置信息表示物联网设备的位置信息的情况下,对接收到的第二位置信息请求消息授权;否则,不对第二位置信息请求消息授权。Optionally, the NEF authorizes the received second location information request according to the operator configuration information or the first protocol between the operator and the AF. That is, when the operator configuration information or the first protocol indicates that the location information of the IoT device is represented by the location information of the reader/writer corresponding to the IoT device, the received second location information request message is authorized; otherwise, the second location information request message is not authorized.
其中,NEF可以根据第二位置信息请求消息中的定位精度或基于GMLC的定位服务(GMLC based location service)和基于AMF的定位服务是否可用,来确定使用基于AMF的定位服务还是基于GMLC的定位服务。这里,NEF取决于实现或运营商策略决定基于GMLC的定位服务和基于AMF的定位服务是否可用。Among them, NEF can determine whether to use AMF-based positioning service or GMLC-based positioning service according to the positioning accuracy in the second location information request message or whether GMLC-based positioning service (GMLC-based location service) and AMF-based positioning service are available. Here, NEF depends on the implementation or operator policy to decide whether GMLC-based positioning service and AMF-based positioning service are available.
示例性的,若定位精度低于“小区水平(cell level)或TA粒度”,或者基于AMF的定位服务不可用,则NEF确定本次使用基于GMLC的定位服务。For example, if the positioning accuracy is lower than the "cell level or TA granularity", or the AMF-based positioning service is not available, the NEF determines to use the GMLC-based positioning service this time.
步骤83:NEF向GMLC发送第五位置信息请求消息。Step 83: NEF sends a fifth location information request message to GMLC.
所述NEF通过配置或网络存储功能(NF Repository Function,NRF)查询获取GMLC地址,并向GMLC发送第五位置信息请求消息。The NEF obtains the GMLC address through configuration or network storage function (NF Repository Function, NRF) query, and sends a fifth location information request message to the GMLC.
例如NEF向NRF发送第六位置信息请求消息,NRF根据第六位置信息请求消息中包括的内容查询能够提供该位置信息请求的GMLC(即能够为本次定位提供服务的GMLC),其中,NRF将查询到的GMLC的地址信息返回给NEF,以使得NEF向GMLC发送第五位置信息请求消息。For example, NEF sends the sixth location information request message to NRF, and NRF queries the GMLC that can provide the location information request (i.e., the GMLC that can provide services for this positioning) based on the content included in the sixth location information request message, wherein NRF returns the address information of the queried GMLC to NEF, so that NEF sends the fifth location information request message to the GMLC.
此处需要说明的是,这里第六位置信息请求消息以及第一位置信息请求消息中分别可以包括步骤81中第二位置信息请求消息中的部分或全部参数,但是参数名称或表达形 式可能相同或不同。例如,第六位置信息请求消息或第一位置信息请求消息可以包括物联网设备的标识信息。可选地,还可以包括服务等级信息,物联网设备可能在的区域信息。It should be noted that the sixth location information request message and the first location information request message may include some or all parameters in the second location information request message in step 81, but the parameter names or expression forms are different. The formats may be the same or different. For example, the sixth location information request message or the first location information request message may include identification information of the IoT device. Optionally, it may also include service level information and information about the area where the IoT device may be located.
步骤84:GMLC向AMF发送第一位置信息请求消息。Step 84: GMLC sends a first location information request message to AMF.
可选地,GMLC向UDM发送第七位置信息请求消息,UDM根据第七位置信息请求消息中包括的内容查询能够提供该位置信息请求的AMF(即能够为本次定位提供服务的AMF),其中,UDM将查询到的AMF的地址信息返回给GMLC,以使得GMLC向AMF发送第一位置信息请求消息;示例性的,GMLC向UDM发送Nudm_UECM_Get消息,Nudm_UECM_Get消息携带上述第七位置信息请求消息;GMLC向AMF发送Nudm_EventExposure_Subscribe消息,Nudm_EventExposure_Subscribe消息携带上述第一位置信息请求消息。Optionally, GMLC sends a seventh location information request message to UDM, and UDM queries the AMF that can provide the location information request (i.e., the AMF that can provide services for this positioning) according to the content included in the seventh location information request message, wherein UDM returns the address information of the queried AMF to GMLC, so that GMLC sends the first location information request message to AMF; exemplarily, GMLC sends a Nudm_UECM_Get message to UDM, and the Nudm_UECM_Get message carries the above-mentioned seventh location information request message; GMLC sends a Nudm_EventExposure_Subscribe message to AMF, and the Nudm_EventExposure_Subscribe message carries the above-mentioned first location information request message.
此处需要说明的是,这里第七位置信息请求消息可以包括步骤81中第二位置信息请求消息中的部分或全部参数,但是参数名称或表达形式可能相同或不同。例如,第七位置信息请求消息可以包括物联网设备的标识信息。可选地,还可以包括服务等级信息,物联网设备可能在的区域信息。It should be noted here that the seventh location information request message may include some or all of the parameters in the second location information request message in step 81, but the parameter names or expressions may be the same or different. For example, the seventh location information request message may include identification information of the IoT device. Optionally, it may also include service level information and possible regional information of the IoT device.
步骤85:与前述实施方式一的步骤74相同,此处不再赘述。Step 85: The same as step 74 in the aforementioned embodiment 1, and will not be repeated here.
步骤86a:与前述实施方式一的步骤75a相同,此处不再赘述。Step 86a: is the same as step 75a in the aforementioned embodiment 1 and will not be described again here.
步骤86b:与前述实施方式一的步骤75b相同,此处不再赘述。Step 86b: is the same as step 75b of the aforementioned embodiment 1 and will not be described again here.
步骤87:AMF向GMLC发送物联网设备的位置信息。Step 87: AMF sends the location information of the IoT device to GMLC.
步骤88:GMLC向NEF发送物联网设备的位置信息。Step 88: GMLC sends the location information of the IoT device to NEF.
步骤89:NEF向AF发送物联网设备的位置信息。Step 89: NEF sends the location information of the IoT device to AF.
实施方式三:如图9,包括如下步骤90至步骤97。Implementation method three: as shown in FIG. 9 , including steps 90 to 97 .
步骤90:与前述实施方式一的步骤70相同,此处不再赘述。Step 90: The same as step 70 in the aforementioned embodiment 1, and will not be repeated here.
步骤91:UE2向AMF2发送第二位置信息请求消息。Step 91: UE2 sends a second location information request message to AMF2.
其中,第二位置信息请求消息包括的内容与前述实施方式一中相同,此处不再赘述。Among them, the content included in the second location information request message is the same as that in the aforementioned implementation mode 1, and will not be repeated here.
示例性的,用户可以使用UE2查找物联网设备。Exemplarily, a user may use UE2 to search for IoT devices.
另外,UE2可以向AMF2发送NAS消息,该NAS消息携带上述第二位置信息请求消息(或者UE2向AMF发送的第二位置信息请求消息可以为NAS消息)。In addition, UE2 can send a NAS message to AMF2, and the NAS message carries the above-mentioned second location information request message (or the second location information request message sent by UE2 to AMF can be a NAS message).
步骤92:AMF2授权第二位置信息请求消息。Step 92: AMF2 authorizes the second location information request message.
其中,AMF2可以根据UE2的签约数据或UE1和UE2之间的第一协议对接收到的第二位置信息请求进行授权(即允许使用第二位置信息请求消息中包括的至少部分内容)。即当UE2的签约数据或者第二协议指示通过物联网设备对应的读写器的位置信息表示物联网设备的位置信息的情况下,AMF2对接收到的第二位置信息请求消息授权;否则,不对第二位置信息请求消息授权。Among them, AMF2 can authorize the received second location information request according to the contract data of UE2 or the first protocol between UE1 and UE2 (that is, allow the use of at least part of the content included in the second location information request message). That is, when the contract data of UE2 or the second protocol indicates that the location information of the IoT device is represented by the location information of the reader/writer corresponding to the IoT device, AMF2 authorizes the received second location information request message; otherwise, the second location information request message is not authorized.
其中,当需要在AMF2覆盖范围之外查找物联网设备时,AMF2需要确定可以服务 于查找范围的AMF1。When it is necessary to find IoT devices outside the coverage area of AMF2, AMF2 needs to determine whether it can serve AMF1 in the search range.
步骤93:AMF2向AMF1发送第一位置信息请求消息。Step 93: AMF2 sends a first location information request message to AMF1.
其中,该第一位置信息请求消息中分别可以包括步骤Y1中第二位置信息请求消息中的部分或全部参数,但是参数名称或表达形式可能相同或不同。例如,第一位置信息请求消息可以包括物联网设备的标识信息。可选地,还可以包括服务等级信息,物联网设备可能在的区域信息。The first location information request message may include some or all of the parameters in the second location information request message in step Y1, but the parameter names or expressions may be the same or different. For example, the first location information request message may include the identification information of the IoT device. Optionally, it may also include service level information and possible regional information of the IoT device.
步骤94:与前述实施方式一的步骤74相同,此处不再赘述。Step 94: The process is the same as step 74 in the first embodiment and will not be described again here.
步骤95a:与前述实施方式一的步骤75a相同,此处不再赘述。Step 95a: is the same as step 75a in the aforementioned embodiment 1 and will not be repeated here.
步骤95b:与前述实施方式一的步骤75b相同,此处不再赘述。Step 95b: is the same as step 75b in the aforementioned embodiment 1 and will not be described again here.
步骤96:AMF1向AMF2发送物联网设备的位置信息。Step 96: AMF1 sends the location information of the IoT device to AMF2.
步骤97:AMF2向UE2发送物联网设备的位置信息。Step 97: AMF2 sends the location information of the IoT device to UE2.
其中,如果UE2已经不在AMF2下,例如,AMF2发现本地已经无UE2的上下文信息,则可以执行以下7-1和7-2中其中一项:If UE2 is no longer under AMF2, for example, AMF2 finds that there is no context information of UE2 locally, then one of the following 7-1 and 7-2 may be executed:
7-1项:AMF2向UDM请求当前服务于UE2的AMF,例如为AMF3,然后,AMF2向AMF3发送物联网设备的位置信息,以使得AMF3将物联网设备的位置信息发送给UE2。Item 7-1: AMF2 requests the AMF currently serving UE2 from UDM, for example, AMF3, and then AMF2 sends the location information of the IoT device to AMF3, so that AMF3 sends the location information of the IoT device to UE2.
7-2项:AMF2向AMF1发送失败消息或拒绝消息,指示AMF2当前不服务于UE2,以使得AMF1向UDM请求当前服务于UE2的AMF,例如为AMF3,然后,AMF1向AMF3发送物联网设备的位置信息,以使得AMF3将物联网设备的位置信息发送给UE2。Item 7-2: AMF2 sends a failure message or a rejection message to AMF1, indicating that AMF2 is not currently serving UE2, so that AMF1 requests UDM for the AMF currently serving UE2, such as AMF3. Then, AMF1 sends the location information of the IoT device to AMF3, so that AMF3 sends the location information of the IoT device to UE2.
需要说明的是,上述AMF1与AMF2可以相同也可以不同。如果AMF1和AMF2相同,则上述方法中AMF1和AMF2之间的交互可以省略。It should be noted that the above AMF1 and AMF2 may be the same or different. If AMF1 and AMF2 are the same, the interaction between AMF1 and AMF2 in the above method may be omitted.
此外,上述实施方式一、二、三中的UE或RAN可以为读写器。In addition, the UE or RAN in the above-mentioned embodiments 1, 2, and 3 may be a reader/writer.
本申请实施例提供的定位方法,执行主体可以为定位装置。本申请实施例中以定位装置执行定位方法为例,说明本申请实施例提供的定位装置。The positioning method provided in the embodiment of the present application can be executed by a positioning device. In the embodiment of the present application, the positioning method executed by the positioning device is taken as an example to illustrate the positioning device provided in the embodiment of the present application.
第五方面,本申请实施例提供了一种定位装置,应用于第一通信设备,该第一通信设备例如可以为AMF;如图10所示,该定位装置100包括:In a fifth aspect, an embodiment of the present application provides a positioning device, which is applied to a first communication device, and the first communication device may be, for example, an AMF; as shown in FIG10 , the positioning device 100 includes:
第一获取模块1001,用于获取第一位置信息请求消息,所述第一位置信息请求消息用于指示请求第一物联网设备的位置信息;A first acquisition module 1001 is used to acquire a first location information request message, where the first location information request message is used to indicate a request for location information of a first IoT device;
第一确定模块1002,用于确定所述第一物联网设备对应的第一终端设备;A first determining module 1002 is used to determine a first terminal device corresponding to the first Internet of Things device;
第二获取模块1003,用于获取所述第一终端设备的位置信息;A second acquisition module 1003 is used to acquire the location information of the first terminal device;
第二确定模块1004,用于根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息。The second determination module 1004 is used to determine the location information of the first Internet of Things device according to the location information of the first terminal device.
可选地,所述装置还包括:Optionally, the device further comprises:
第三发送模块,用于发送所述第一物联网设备的位置信息。The third sending module is used to send the location information of the first Internet of Things device.
可选地,所述第一位置信息请求消息包括如下中至少一项: Optionally, the first location information request message includes at least one of the following:
所述第一物联网设备的第一标识信息;first identification information of the first IoT device;
服务等级信息,所述服务等级信息用于指示本次请求所述第一物联网设备的位置信息的等级;Service level information, where the service level information is used to indicate the level of the location information of the first IoT device requested this time;
所述第一物联网设备关联的区域信息,所述区域信息用于指示获取所述第一物联网设备的位置信息的区域范围;The area information associated with the first IoT device, the area information being used to indicate the area range for obtaining the location information of the first IoT device;
所述第一物联网设备关联的终端设备的第二标识信息。Second identification information of a terminal device associated with the first Internet of Things device.
可选地,所述第一确定模块1002具体用于:Optionally, the first determining module 1002 is specifically configured to:
在所述第一位置信息请求消息中包括所述第一标识信息的情况下,将关联关系中与所述第一标识信息对应的终端设备,确定为所述第一终端设备;In a case where the first location information request message includes the first identification information, determining a terminal device corresponding to the first identification information in an association relationship as the first terminal device;
其中,所述关联关系中包括所述第一标识信息与所述第一终端设备之间的关联关系。The association relationship includes an association relationship between the first identification information and the first terminal device.
可选地,所述装置还包括:Optionally, the device further comprises:
第二接收模块,用于接收所述第一终端设备发送的所述第一物联网设备的第一标识信息;A second receiving module, used to receive first identification information of the first Internet of Things device sent by the first terminal device;
存储模块,用于存储所述第一终端设备与所述第一标识信息之间的关联关系。A storage module is used to store the association relationship between the first terminal device and the first identification information.
可选地,所述第二接收模块具体用于:Optionally, the second receiving module is specifically configured to:
接收所述第一终端设备发送的第一非接入层NAS消息,其中,所述第一非接入层NAS消息中携带有所述第一标识信息。Receive a first non-access stratum NAS message sent by the first terminal device, wherein the first non-access stratum NAS message carries the first identification information.
可选地,所述第一确定模块1002具体用于:Optionally, the first determining module 1002 is specifically configured to:
在所述第一位置信息请求消息中包括所述第二标识信息的情况下,将所述第二标识信息标识的终端设备,确定为所述第一物联网设备对应的第一终端设备。When the first location information request message includes the second identification information, the terminal device identified by the second identification information is determined as the first terminal device corresponding to the first Internet of Things device.
可选地,所述第一确定模块1002具体用于:Optionally, the first determining module 1002 is specifically configured to:
执行目标流程,将获取到的终端设备确定为所述第一物联网设备对应的第一终端设备;Execute the target process, and determine the acquired terminal device as the first terminal device corresponding to the first Internet of Things device;
其中,所述目标流程为终端设备发现流程、终端设备盘点流程、终端设备寻呼流程中的其中一者。Among them, the target process is one of the terminal device discovery process, the terminal device inventory process, and the terminal device paging process.
可选地,所述装置还包括:Optionally, the device further comprises:
第三接收模块,用于接收终端设备发送的能力信息,并存储所述能力信息,其中,所述能力信息用于指示所述终端设备具备与物联网设备通信的能力或具备发现物联网设备的能力;A third receiving module is used to receive capability information sent by the terminal device and store the capability information, wherein the capability information is used to indicate that the terminal device has the capability to communicate with the IoT device or has the capability to discover the IoT device;
所述第一确定模块1002执行目标流程,具体用于:The first determination module 1002 executes the target process, specifically for:
根据所述能力信息,对具备与物联网设备通信的能力或具备发现物联网设备的能力的终端设备执行所述目标流程。According to the capability information, the target process is executed on a terminal device that has the capability to communicate with an IoT device or has the capability to discover an IoT device.
可选地,所述第三接收模块具体用于:Optionally, the third receiving module is specifically used to:
接收所述终端设备发送的第二NAS消息,其中,所述第二NAS消息中携带有所述能力信息。 Receive a second NAS message sent by the terminal device, wherein the second NAS message carries the capability information.
可选地,所述第二获取模块1003具体用于:Optionally, the second acquisition module 1003 is specifically used to:
根据第一目标信息,确定是否执行终端设备定位流程;Determining whether to execute a terminal device positioning process according to the first target information;
在确定执行所述终端设备定位流程的情况下,将对所述第一终端设备执行所述终端设备定位流程得到的位置信息,确定为所述第一终端设备的位置信息;In the case of determining to execute the terminal device positioning process, determining the location information obtained by executing the terminal device positioning process on the first terminal device as the location information of the first terminal device;
在确定不执行所述终端设备定位流程的情况下,将所述第一终端设备当前的位置信息,作为所述第一终端设备的位置信息;In a case where it is determined not to execute the terminal device positioning process, using the current location information of the first terminal device as the location information of the first terminal device;
其中,所述第一目标信息包括如下中至少一项:The first target information includes at least one of the following:
所述第一位置信息请求消息中携带的定位精度;The positioning accuracy carried in the first location information request message;
所述第一位置信息请求消息的类型;The type of the first location information request message;
所述第一位置信息请求消息的来源;a source of the first location information request message;
非直接定位指示,所述非直接定位指示用于指示第一物联网设备不支持直接定位;An indirect positioning indication, where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning;
第二标识信息,所述第二标识信息为所述第一位置信息请求消息中携带的所述第一物联网设备关联的终端设备的标识信息;Second identification information, where the second identification information is identification information of a terminal device associated with the first Internet of Things device and carried in the first location information request message;
运营商策略,所述运营商策略用于指示通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息。The operator policy is used to indicate that the location information of the IoT device is represented by the location information of the terminal device corresponding to the IoT device.
可选地,所述第二确定模块1004具体用于:Optionally, the second determining module 1004 is specifically configured to:
在存在多个所述第一终端设备的情况下,将多个所述第一终端设备中的其中一个的位置信息,确定为所述第一物联网设备的位置信息。When there are multiple first terminal devices, the location information of one of the multiple first terminal devices is determined as the location information of the first Internet of Things device.
可选地,所述装置还包括:Optionally, the device further comprises:
第四接收模块,用于接收第二通信设备发送的失败消息或拒绝消息,所述失败消息或拒绝消息用于指示第三通信设备未授权使用所述第二通信设备提供的服务;a fourth receiving module, configured to receive a failure message or a rejection message sent by the second communication device, wherein the failure message or the rejection message is used to indicate that the third communication device is not authorized to use the service provided by the second communication device;
第三获取模块,用于获取当前服务于所述第三通信设备的第六通信设备的第三地址信息;A third acquisition module, used to acquire third address information of a sixth communication device currently serving the third communication device;
第四发送模块,用于根据所述第三地址信息,向所述第六通信设备发送所述第一物联网设备的位置信息,并指示所述第六通信设备将所述第一物联网设备的位置信息发送给所述第三通信设备;a fourth sending module, configured to send the location information of the first Internet of Things device to the sixth communication device according to the third address information, and instruct the sixth communication device to send the location information of the first Internet of Things device to the third communication device;
其中,所述第三通信设备为请求所述第一物联网设备的位置信息的设备。Among them, the third communication device is a device that requests the location information of the first Internet of Things device.
可选地,所述第三获取模块具体用于:Optionally, the third acquisition module is specifically used to:
向第五通信设备发送第一请求,所述第一请求用于指示请求当前服务于所述第三通信设备的第六通信设备;Sending a first request to a fifth communication device, where the first request is used to indicate a request for a sixth communication device currently serving the third communication device;
接收所述第五通信设备发送的所述第三地址信息。Receive the third address information sent by the fifth communication device.
本申请实施例中的定位装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是网络侧设备。示例性的,网络侧设备可以包括但不限于上述所列举的网络侧设备12的类型,本申请实施例不作具体限定。 The positioning device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a network side device. Exemplarily, the network side device may include but is not limited to the types of network side devices 12 listed above, and the embodiment of the present application does not specifically limit this.
本申请实施例提供的定位装置能够实现图3的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The positioning device provided in the embodiment of the present application can implement each process implemented by the method embodiment of Figure 3 and achieve the same technical effect. To avoid repetition, it will not be described here.
第六方面,本申请实施例提供了一种定位装置,应用于第二通信设备,该第二通信设备例如可以为NEF或AMF;如图11所示,该定位装置110包括:In a sixth aspect, an embodiment of the present application provides a positioning device, which is applied to a second communication device, where the second communication device may be, for example, an NEF or an AMF; as shown in FIG. 11 , the positioning device 110 includes:
第一接收模块1101,用于接收第三通信设备发送的第二位置信息请求消息,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息;The first receiving module 1101 is used to receive a second location information request message sent by a third communication device, where the second location information request message is used to indicate a request for location information of a first Internet of Things device;
第三确定模块1102,用于根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息;A third determining module 1102 is configured to determine, according to the second location information request message, a first communication device corresponding to the first Internet of Things device and send a first location information request message to the first communication device;
其中,所述第一位置信息请求消息用于指示请求所述第一物联网设备的位置信息,所述第一位置信息请求消息中包括所述第二位置信息请求消息中的至少部分内容。The first location information request message is used to indicate a request for location information of the first IoT device, and the first location information request message includes at least part of the content of the second location information request message.
可选地,所述装置还包括::Optionally, the device further comprises:
第五接收模块,用于接收所述第一通信设备发送的所述第一物联网设备的位置信息。The fifth receiving module is used to receive the location information of the first Internet of Things device sent by the first communication device.
可选地,所述第二位置信息请求消息包括如下中至少一项:Optionally, the second location information request message includes at least one of the following:
所述第一物联网设备的第一标识信息;first identification information of the first IoT device;
服务等级信息,所述服务等级信息用于指示本次请求所述第一物联网设备的位置信息的等级;Service level information, where the service level information is used to indicate the level of the location information of the first IoT device requested this time;
所述第一物联网设备关联的区域信息,所述区域信息用于指示获取所述第一物联网设备的位置信息的区域范围;The area information associated with the first IoT device, the area information being used to indicate the area range for obtaining the location information of the first IoT device;
所述第一物联网设备关联的终端设备的第二标识信息。Second identification information of a terminal device associated with the first Internet of Things device.
可选地,所述装置还包括:Optionally, the device further comprises:
第一授权模块,用于在运营商配置信息或第一协议指示通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息的情况下,授权所述第二位置信息请求消息,其中,所述第一协议为运营商与所述第三通信设备之间的协议;a first authorization module, configured to authorize the second location information request message when the operator configuration information or the first protocol indicates that the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device, wherein the first protocol is a protocol between the operator and the third communication device;
或者,or,
第二授权模块,用于在所述第三通信设备的签约数据或第二协议指示通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息的情况下,授权所述第二位置信息请求消息,其中,所述第二协议为所述第三通信设备与第一终端设备之间的协议;A second authorization module, configured to authorize the second location information request message when the subscription data of the third communication device or the second protocol indicates that the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device, wherein the second protocol is a protocol between the third communication device and the first terminal device;
所述第三确定模块1102根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备,具体用于:The third determination module 1102 determines the first communication device corresponding to the first Internet of Things device according to the second location information request message, and is specifically used to:
在授权所述第二位置信息请求消息的情况下,根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备。In case of authorizing the second location information request message, a first communication device corresponding to the first Internet of Things device is determined according to the second location information request message.
可选地,所述第三确定模块1102包括:Optionally, the third determining module 1102 includes:
选择子模块,用于根据第二目标信息,从第一定位服务和第二定位服务中选出其中一种服务作为目标服务;A selection submodule, configured to select one of the first positioning service and the second positioning service as a target service according to the second target information;
确定子模块,用于基于所述目标服务,根据所述第二位置信息请求消息,确定与所 述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息;A determination submodule is configured to determine, based on the target service and according to the second location information request message, a location associated with the target service. a first communication device corresponding to the first Internet of Things device and sending a first location information request message to the first communication device;
其中,所述第一定位服务为基于第一通信设备的定位服务,所述第二定位服务为基于第四通信设备的定位服务;The first positioning service is a positioning service based on a first communication device, and the second positioning service is a positioning service based on a fourth communication device;
所述第二目标信息包括如下中至少一项:The second target information includes at least one of the following:
定位精度;positioning accuracy;
所述第二定位服务是否可用。Whether the second positioning service is available.
可选地,所述确定子模块具体用于:Optionally, the determining submodule is specifically used for:
在所述目标服务为所述第一定位服务的情况下,向第五通信设备发送第三位置信息请求消息,所述第三位置信息请求消息包括所述第二位置信息请求消息中的至少部分内容,所述第三位置信息请求消息用于指示所述第五通信设备查找与所述第一物联网设备对应的第一通信设备的第一地址信息,并指示所述第五通信设备根据所述第一地址信息,向所述第一通信设备发送所述第一位置信息请求消息;In a case where the target service is the first positioning service, sending a third location information request message to a fifth communication device, the third location information request message including at least part of the content in the second location information request message, the third location information request message being used to instruct the fifth communication device to search for first address information of a first communication device corresponding to the first Internet of Things device, and instructing the fifth communication device to send the first location information request message to the first communication device according to the first address information;
或者,or,
在所述目标服务为所述第一定位服务的情况下,向第五通信设备发送第四位置信息请求消息,所述第四位置信息请求消息包括所述第二位置信息请求消息中的至少部分内容,所述第四位置信息请求消息用于指示所述第五通信设备查找与所述第一物联网设备对应的第一通信设备的第一地址信息;When the target service is the first positioning service, sending a fourth location information request message to a fifth communication device, wherein the fourth location information request message includes at least part of the content in the second location information request message, and the fourth location information request message is used to instruct the fifth communication device to search for first address information of a first communication device corresponding to the first Internet of Things device;
接收所述第五通信设备发送的所述第一地址信息;receiving the first address information sent by the fifth communication device;
根据所述第一地址信息,向所述第一通信设备发送所述第一位置信息请求消息。The first location information request message is sent to the first communication device according to the first address information.
可选地,确定子模块具体用于:Optionally, determine that the submodule is specifically used for:
在所述目标服务为所述第二定位服务的情况下,获取与所述第一物联网设备对应的所述第四通信设备的第二地址信息;When the target service is the second positioning service, obtaining second address information of the fourth communication device corresponding to the first Internet of Things device;
根据所述第二地址信息,向所述第四通信设备发送第五位置信息请求消息,所述第五位置信息请求消息包括所述第二位置信息请求消息中的至少部分内容,所述第五位置信息请求消息用于指示所述第四通信设备获取与所述第一物联网设备对应的第一通信设备的第一地址信息,并指示所述第四通信设备根据所述第一地址信息向所述第一通信设备发送所述第一位置信息请求消息。According to the second address information, a fifth location information request message is sent to the fourth communication device, the fifth location information request message includes at least part of the content of the second location information request message, and the fifth location information request message is used to instruct the fourth communication device to obtain the first address information of the first communication device corresponding to the first Internet of Things device, and instruct the fourth communication device to send the first location information request message to the first communication device according to the first address information.
可选地,所述装置还包括:Optionally, the device further comprises:
第四发送模块,用于向所述第三通信设备发送所述第一物联网设备的位置信息;A fourth sending module, configured to send the location information of the first Internet of Things device to the third communication device;
或者,or,
第四获取模块,用于在所述第三通信设备未授权使用所述第二通信设备提供的服务的情况下,获取当前服务于所述第三通信设备的第六通信设备;A fourth acquisition module, configured to acquire a sixth communication device currently serving the third communication device if the third communication device is not authorized to use the service provided by the second communication device;
第五发送模块,用于向所述第六通信设备发送所述第一物联网设备的位置信息,并指示所述第六通信设备将所述第一物联网设备的位置信息发送给所述第三通信设备。 The fifth sending module is used to send the location information of the first Internet of Things device to the sixth communication device, and instruct the sixth communication device to send the location information of the first Internet of Things device to the third communication device.
可选地,所述第四获取模块具体用于:Optionally, the fourth acquisition module is specifically used to:
向第五通信设备发送第一请求,所述第一请求用于指示请求当前服务于所述第三通信设备的第六通信设备;Sending a first request to a fifth communication device, where the first request is used to indicate a request for a sixth communication device currently serving the third communication device;
接收所述第五通信设备发送的第三地址信息,并将所述第三地址信息对应的设备确定为所述第六通信设备。The third address information sent by the fifth communication device is received, and a device corresponding to the third address information is determined as the sixth communication device.
可选地,所述第四获取模块具体用于:Optionally, the fourth acquisition module is specifically used to:
向所述第一通信设备发送失败消息或拒绝消息,所述失败消息或拒绝消息用于指示所述第三通信设备未授权使用所述第二通信设备提供的服务,并指示所述第一通信设备获取当前服务于所述第三通信设备的第六通信设备的第三地址信息,以及指示所述第一通信设备向所述第六通信设备发送所述第一物联网设备的位置信息,以使得所述第六通信设备将所述第一物联网设备的位置信息发送给所述第三通信设备。A failure message or a rejection message is sent to the first communication device, wherein the failure message or the rejection message is used to indicate that the third communication device is not authorized to use the service provided by the second communication device, and to instruct the first communication device to obtain the third address information of the sixth communication device currently serving the third communication device, and to instruct the first communication device to send the location information of the first Internet of Things device to the sixth communication device, so that the sixth communication device sends the location information of the first Internet of Things device to the third communication device.
本申请实施例中的定位装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是网络侧设备。示例性的,网络侧设备可以包括但不限于上述所列举的网络侧设备12的类型,本申请实施例不作具体限定。The positioning device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a network side device. Exemplarily, the network side device may include but is not limited to the types of network side devices 12 listed above, and the embodiment of the present application does not specifically limit this.
本申请实施例提供的定位装置能够实现图4的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The positioning device provided in the embodiment of the present application can implement each process implemented by the method embodiment of Figure 4 and achieve the same technical effect. To avoid repetition, it will not be described here.
第七方面,本申请实施例提供了一种定位装置,应用于第三通信设备,该第三通信设备例如可以为AF或UE;如图12所示,该定位装置120包括:In a seventh aspect, an embodiment of the present application provides a positioning device, which is applied to a third communication device, and the third communication device may be, for example, an AF or a UE; as shown in FIG12 , the positioning device 120 includes:
第一发送模块1201,用于向第二通信设备发送第二位置信息请求消息,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息。The first sending module 1201 is used to send a second location information request message to a second communication device, where the second location information request message is used to indicate a request for location information of a first Internet of Things device.
可选地,所述装置还包括:Optionally, the device further comprises:
第五接收模块,用于接收所述第一物联网设备的位置信息。The fifth receiving module is used to receive the location information of the first Internet of Things device.
可选地,所述第二位置信息请求消息包括如下中至少一项:Optionally, the second location information request message includes at least one of the following:
所述第一物联网设备的第一标识信息;first identification information of the first IoT device;
服务等级信息,所述服务等级信息用于指示本次请求所述第一物联网设备的位置信息的等级;Service level information, where the service level information is used to indicate the level of the location information of the first IoT device requested this time;
所述第一物联网设备关联的区域信息,所述区域信息用于指示获取所述第一物联网设备的位置信息的区域范围;The area information associated with the first IoT device, the area information being used to indicate the area range for obtaining the location information of the first IoT device;
所述第一物联网设备关联的终端设备的第二标识信息。Second identification information of a terminal device associated with the first Internet of Things device.
本申请实施例中的定位装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是网络侧设备,示例性的,网络侧设备可以包括但不限于上述所列举的网络侧设备12的类型,本申请实施例不作具体限定;电子设备也可以是终端设备,示例性的,终端设备可以包括但不限于上述所列举的终端设备11的类型,本申请实施例不作具体限定。 The positioning device in the embodiment of the present application can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a network side device, and exemplarily, the network side device can include but is not limited to the types of network side devices 12 listed above, which are not specifically limited in the embodiment of the present application; the electronic device can also be a terminal device, and exemplarily, the terminal device can include but is not limited to the types of terminal devices 11 listed above, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的定位装置能够实现图5的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The positioning device provided in the embodiment of the present application can implement each process implemented by the method embodiment of Figure 5 and achieve the same technical effect. To avoid repetition, it will not be described here.
第八方面,本申请实施例提供了一种定位装置,应用于第一终端设备,该第一终端设备例如可以为UE;如图13所示,该定位装置130包括:In an eighth aspect, an embodiment of the present application provides a positioning device, which is applied to a first terminal device, and the first terminal device may be, for example, a UE; as shown in FIG13 , the positioning device 130 includes:
第二发送模块1301,用于向第一通信设备发送第三目标信息;The second sending module 1301 is used to send third target information to the first communication device;
其中,所述第三目标信息包括如下中至少一项:The third target information includes at least one of the following:
第一物联网设备的第一标识信息;first identification information of the first Internet of Things device;
非直接定位指示,所述非直接定位指示用于指示所述第一物联网设备不支持直接定位;An indirect positioning indication, where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning;
能力信息,所述能力信息用于指示所述第一终端设备具备与物联网设备通信的能力或具备发现物联网设备的能力。Capability information, where the capability information is used to indicate that the first terminal device has the ability to communicate with an IoT device or has the ability to discover an IoT device.
可选地,所述第二发送模块1301具体用于:Optionally, the second sending module 1301 is specifically configured to:
向所述第一通信设备发送第二非接入层NAS消息,其中,所述第二非接入层NAS消息携带有所述第三目标信息。Send a second non-access stratum NAS message to the first communication device, wherein the second non-access stratum NAS message carries the third target information.
可选地,所述第二发送模块1301向所述第一通信设备发送所述第一标识信息,具体用于:Optionally, the second sending module 1301 sends the first identification information to the first communication device, specifically configured to:
周期性执行盘点流程查找物联网设备,并将更新后的所述第一物联网设备的所述第一标识信息发送给所述第一通信设备。An inventory process is periodically executed to search for IoT devices, and the first identification information of the first IoT device after update is sent to the first communication device.
本申请实施例中的定位装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端设备,示例性的,终端设备可以包括但不限于上述所列举的终端设备11的类型,本申请实施例不作具体限定。The positioning device in the embodiment of the present application can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal device, and the terminal device can include but is not limited to the types of terminal devices 11 listed above, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的定位装置能够实现图6的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The positioning device provided in the embodiment of the present application can implement each process implemented by the method embodiment of Figure 6 and achieve the same technical effect. To avoid repetition, it will not be described here.
可选地,如图14所示,本申请实施例还提供一种通信设备1400,包括处理器1401和存储器1402,存储器1402上存储有可在所述处理器1401上运行的程序或指令,例如,该通信设备1400为终端时,该程序或指令被处理器1401执行时实现上述第三方面或第四方面所述的定位方法实施例的各个步骤,且能达到相同的技术效果。该通信设备1400为网络侧设备时,该程序或指令被处理器1401执行时实现上述第一方面或第二方面或第三方面所述的定位方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG14, an embodiment of the present application further provides a communication device 1400, including a processor 1401 and a memory 1402, wherein the memory 1402 stores a program or instruction that can be run on the processor 1401. For example, when the communication device 1400 is a terminal, the program or instruction is executed by the processor 1401 to implement the various steps of the positioning method embodiment described in the third aspect or the fourth aspect, and can achieve the same technical effect. When the communication device 1400 is a network side device, the program or instruction is executed by the processor 1401 to implement the various steps of the positioning method embodiment described in the first aspect, the second aspect, or the third aspect, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
本申请实施例还提供一种终端设备,如图15所示,为实现本申请实施例的一种终端设备的硬件结构示意图。An embodiment of the present application also provides a terminal device, as shown in FIG15 , which is a schematic diagram of the hardware structure of a terminal device implementing an embodiment of the present application.
该终端设备1500包括但不限于:射频单元1501、网络模块1502、音频输出单元1503、输入单元1504、传感器1505、显示单元1506、用户输入单元1507、接口单元1508、存 储器1509以及处理器1510等中的至少部分部件。The terminal device 1500 includes but is not limited to: a radio frequency unit 1501, a network module 1502, an audio output unit 1503, an input unit 1504, a sensor 1505, a display unit 1506, a user input unit 1507, an interface unit 1508, a storage unit 1509, At least some components of the memory 1509 and the processor 1510, etc.
本领域技术人员可以理解,终端设备1500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图15中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art will appreciate that the terminal device 1500 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1510 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. The terminal device structure shown in FIG15 does not constitute a limitation on the terminal device, and the terminal device may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.
应理解的是,本申请实施例中,输入单元1504可以包括图形处理单元(Graphics Processing Unit,GPU)15041和麦克风15042,图形处理器15041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1506可包括显示面板15061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板15061。用户输入单元1507包括触控面板15071以及其他输入设备15072中的至少一种。触控面板15 071,也称为触摸屏。触控面板15071可包括触摸检测装置和触摸控制器两个部分。其他输入设备15072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 1504 may include a graphics processing unit (GPU) 15041 and a microphone 15042, and the graphics processor 15041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1506 may include a display panel 15061, and the display panel 15061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1507 includes a touch panel 15071 and at least one of other input devices 15072. The touch panel 15071 is also called a touch screen. The touch panel 15071 may include two parts: a touch detection device and a touch controller. Other input devices 15072 may include, but are not limited to, a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
本申请实施例中,射频单元1501接收来自网络侧设备的下行数据后,可以传输给处理器1510进行处理;另外,射频单元1501可以向网络侧设备发送上行数据。通常,射频单元1501包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。In the embodiment of the present application, after receiving downlink data from the network side device, the radio frequency unit 1501 can transmit the data to the processor 1510 for processing; in addition, the radio frequency unit 1501 can send uplink data to the network side device. Generally, the radio frequency unit 1501 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
存储器1509可用于存储软件程序或指令以及各种数据。存储器1509可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1509可以包括易失性存储器或非易失性存储器,或者,存储器1509可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1509包括但不限于这些和任意其它适合类型的存储器。The memory 1509 can be used to store software programs or instructions and various data. The memory 1509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1509 may include a volatile memory or a non-volatile memory, or the memory 1509 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
处理器1510可包括一个或多个处理单元;可选地,处理器1510集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1510中。 The processor 1510 may include one or more processing units; optionally, the processor 1510 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1510.
其中,该终端设备1500作为第三通信设备时,射频单元1501用于:向第二通信设备发送第二位置信息请求消息,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息。Among them, when the terminal device 1500 is used as a third communication device, the radio frequency unit 1501 is used to: send a second location information request message to the second communication device, and the second location information request message is used to indicate a request for location information of the first Internet of Things device.
可选地,射频单元1501向第二通信设备发送第二位置信息请求消息之后,射频单元1501还用于:Optionally, after the radio frequency unit 1501 sends the second location information request message to the second communication device, the radio frequency unit 1501 is further configured to:
接收所述第一物联网设备的位置信息。Receive location information of the first IoT device.
可选地,所述第二位置信息请求消息包括如下中至少一项:Optionally, the second location information request message includes at least one of the following:
所述第一物联网设备的第一标识信息;first identification information of the first IoT device;
服务等级信息,所述服务等级信息用于指示本次请求所述第一物联网设备的位置信息的等级;Service level information, where the service level information is used to indicate the level of the location information of the first IoT device requested this time;
所述第一物联网设备关联的区域信息,所述区域信息用于指示获取所述第一物联网设备的位置信息的区域范围;The area information associated with the first IoT device, the area information being used to indicate the area range for obtaining the location information of the first IoT device;
所述第一物联网设备关联的终端设备的第二标识信息。Second identification information of a terminal device associated with the first Internet of Things device.
当终端1500作为第一终端设备时,射频单元1501用于向第一通信设备发送第三目标信息;When the terminal 1500 serves as a first terminal device, the radio frequency unit 1501 is used to send third target information to the first communication device;
其中,所述第三目标信息包括如下中至少一项:The third target information includes at least one of the following:
第一物联网设备的第一标识信息;first identification information of the first Internet of Things device;
非直接定位指示,所述非直接定位指示用于指示所述第一物联网设备不支持直接定位;An indirect positioning indication, where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning;
能力信息,所述能力信息用于指示所述第一终端设备具备与物联网设备通信的能力或具备发现物联网设备的能力。Capability information, where the capability information is used to indicate that the first terminal device has the ability to communicate with an IoT device or has the ability to discover an IoT device.
可选地,射频单元1501向第一通信设备发送第三目标信息,具体用于:Optionally, the radio frequency unit 1501 sends third target information to the first communication device, specifically for:
向所述第一通信设备发送第二非接入层NAS消息,其中,所述第二非接入层NAS消息携带有所述第三目标信息。Send a second non-access stratum NAS message to the first communication device, wherein the second non-access stratum NAS message carries the third target information.
可选地,射频单元1501向所述第一通信设备发送所述第一标识信息,具体用于:Optionally, the radio frequency unit 1501 sends the first identification information to the first communication device, specifically for:
周期性执行盘点流程查找物联网设备,并将更新后的所述第一物联网设备的所述第一标识信息发送给所述第一通信设备。An inventory process is periodically executed to search for IoT devices, and the first identification information of the first IoT device after update is sent to the first communication device.
本申请实施例还提供了一种网络侧设备。如图16所示,该网络侧设备1600包括:处理器1601、网络接口1602和存储器1603。其中,网络接口1602例如为通用公共无线接口(common public radio interface,CPRI)。The embodiment of the present application also provides a network side device. As shown in FIG16 , the network side device 1600 includes: a processor 1601, a network interface 1602 and a memory 1603. The network interface 1602 is, for example, a common public radio interface (CPRI).
具体地,本发明实施例的网络侧设备1600还包括:存储在存储器1603上并可在处理器1601上运行的指令或程序,处理器1601调用存储器1603中的指令或程序执行图3或图4或图5所示的方法,并达到相同的技术效果,为避免重复,故不在此赘述。Specifically, the network side device 1600 of the embodiment of the present invention also includes: instructions or programs stored in the memory 1603 and executable on the processor 1601. The processor 1601 calls the instructions or programs in the memory 1603 to execute the method shown in Figure 3 or Figure 4 or Figure 5, and achieves the same technical effect. To avoid repetition, it will not be repeated here.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述第一方面或第二方面或第三方面或第四方面所述 的定位方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a readable storage medium on which a program or instruction is stored, and when the program or instruction is executed by a processor, the first aspect, the second aspect, the third aspect, or the fourth aspect described above is implemented. The various processes of the positioning method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述第一方面或第二方面或第三方面或第四方面所述的定位方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the positioning method embodiments described in the first aspect, the second aspect, the third aspect, or the fourth aspect above, and can achieve the same technical effect. To avoid repetition, they are not repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述第一方面或第二方面或第三方面或第四方面所述的定位方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a computer program/program product, which is stored in a storage medium. The computer program/program product is executed by at least one processor to implement the various processes of the positioning method embodiments described in the first aspect, the second aspect, the third aspect, or the fourth aspect above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
本申请实施例还提供了一种定位系统,包括:第一通信设备、第二通信设备、第三通信设备和第一终端设备,其中,第一通信设备可用于执行如上第一方面所述的定位方法的步骤,所述第二通信设备可用于执行如上第二方面所述的定位方法的步骤,第三通信设备可用于执行如上第三方面所述的定位方法的步骤,第一终端设备可用于执行如上第四方面所述的定位方法的步骤。An embodiment of the present application also provides a positioning system, including: a first communication device, a second communication device, a third communication device and a first terminal device, wherein the first communication device can be used to execute the steps of the positioning method described in the first aspect above, the second communication device can be used to execute the steps of the positioning method described in the second aspect above, the third communication device can be used to execute the steps of the positioning method described in the third aspect above, and the first terminal device can be used to execute the steps of the positioning method described in the fourth aspect above.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.) to execute the methods described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实 施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above specific embodiments. The above-mentioned specific implementation modes are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims (36)

  1. 一种定位方法,其中,包括:A positioning method, comprising:
    第一通信设备获取第一位置信息请求消息,所述第一位置信息请求消息用于指示请求第一物联网设备的位置信息;The first communication device obtains a first location information request message, where the first location information request message is used to indicate a request for location information of the first Internet of Things device;
    所述第一通信设备确定所述第一物联网设备对应的第一终端设备;The first communication device determines a first terminal device corresponding to the first Internet of Things device;
    所述第一通信设备获取所述第一终端设备的位置信息;The first communication device obtains the location information of the first terminal device;
    所述第一通信设备根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息。The first communication device determines the location information of the first Internet of Things device based on the location information of the first terminal device.
  2. 根据权利要求1所述的方法,其中,所述第一通信设备根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息之后,所述方法还包括:The method according to claim 1, wherein after the first communication device determines the location information of the first Internet of Things device according to the location information of the first terminal device, the method further comprises:
    所述第一通信设备发送所述第一物联网设备的位置信息。The first communication device sends the location information of the first Internet of Things device.
  3. 根据权利要求1所述的方法,其中,所述第一位置信息请求消息包括如下中至少一项:The method according to claim 1, wherein the first location information request message includes at least one of the following:
    所述第一物联网设备的第一标识信息;first identification information of the first IoT device;
    服务等级信息,所述服务等级信息用于指示本次请求所述第一物联网设备的位置信息的等级;Service level information, where the service level information is used to indicate the level of the location information of the first IoT device requested this time;
    所述第一物联网设备关联的区域信息,所述区域信息用于指示获取所述第一物联网设备的位置信息的区域范围;The area information associated with the first IoT device, the area information being used to indicate the area range for obtaining the location information of the first IoT device;
    所述第一物联网设备关联的终端设备的第二标识信息。Second identification information of a terminal device associated with the first Internet of Things device.
  4. 根据权利要求3所述的方法,其中,所述第一通信设备确定所述第一物联网设备对应的第一终端设备,包括:The method according to claim 3, wherein the first communication device determines the first terminal device corresponding to the first Internet of Things device, comprising:
    在所述第一位置信息请求消息中包括所述第一标识信息的情况下,所述第一通信设备将关联关系中与所述第一标识信息对应的设备,确定为所述第一终端设备;In a case where the first location information request message includes the first identification information, the first communication device determines a device corresponding to the first identification information in an association relationship as the first terminal device;
    其中,所述关联关系中包括所述第一标识信息与所述第一终端设备之间的关联关系。The association relationship includes an association relationship between the first identification information and the first terminal device.
  5. 根据权利要求4所述的方法,其中,获取所述第一标识信息与所述第一终端设备之间的关联关系的过程,包括:The method according to claim 4, wherein the process of obtaining the association relationship between the first identification information and the first terminal device comprises:
    所述第一通信设备接收所述第一终端设备发送的所述第一物联网设备的第一标识信息;The first communication device receives the first identification information of the first Internet of Things device sent by the first terminal device;
    所述第一通信设备存储所述第一终端设备与所述第一标识信息之间的关联关系。The first communication device stores an association relationship between the first terminal device and the first identification information.
  6. 根据权利要求5所述的方法,其中,所述第一通信设备接收所述第一终端设备发送的所述第一物联网设备的第一标识信息,包括:The method according to claim 5, wherein the first communication device receives the first identification information of the first Internet of Things device sent by the first terminal device, comprising:
    所述第一通信设备接收所述第一终端设备发送的第一非接入层NAS消息,其中,所述第一非接入层NAS消息中携带有所述第一标识信息。The first communication device receives a first non-access stratum NAS message sent by the first terminal device, wherein the first non-access stratum NAS message carries the first identification information.
  7. 根据权利要求3所述的方法,其中,所述第一通信设备确定所述第一物联网设备对应的第一终端设备,包括: The method according to claim 3, wherein the first communication device determines the first terminal device corresponding to the first Internet of Things device, comprising:
    在所述第一位置信息请求消息中包括所述第二标识信息的情况下,所述第一通信设备将所述第二标识信息标识的终端设备,确定为所述第一物联网设备对应的第一终端设备。When the first location information request message includes the second identification information, the first communication device determines the terminal device identified by the second identification information as the first terminal device corresponding to the first Internet of Things device.
  8. 根据权利要求1所述的方法,其中,所述第一通信设备确定所述第一物联网设备对应的第一终端设备,包括:The method according to claim 1, wherein the first communication device determines the first terminal device corresponding to the first Internet of Things device, comprising:
    所述第一通信设备执行目标流程,将获取到的终端设备确定为所述第一物联网设备对应的第一终端设备;The first communication device executes the target process and determines the acquired terminal device as the first terminal device corresponding to the first Internet of Things device;
    其中,所述目标流程为终端设备发现流程、终端设备盘点流程、终端设备寻呼流程中的其中一者。Among them, the target process is one of the terminal device discovery process, the terminal device inventory process, and the terminal device paging process.
  9. 根据权利要求8所述的方法,其中,所述方法还包括:The method according to claim 8, wherein the method further comprises:
    所述第一通信设备接收终端设备发送的能力信息,并存储所述能力信息,其中,所述能力信息用于指示所述终端设备具备与物联网设备通信的能力或具备发现物联网设备的能力;The first communication device receives capability information sent by the terminal device and stores the capability information, wherein the capability information is used to indicate that the terminal device has the capability to communicate with the IoT device or has the capability to discover the IoT device;
    所述第一通信设备执行目标流程,包括:The first communication device executes a target process, including:
    所述第一通信设备根据所述能力信息,对具备与物联网设备通信的能力或具备发现物联网设备的能力的终端设备执行所述目标流程。The first communication device executes the target process on a terminal device capable of communicating with an IoT device or capable of discovering an IoT device according to the capability information.
  10. 根据权利要求9所述的方法,其中,所述第一通信设备接收终端设备发送的能力信息,包括:The method according to claim 9, wherein the first communication device receives the capability information sent by the terminal device, comprising:
    所述第一通信设备接收所述终端设备发送的第二NAS消息,其中,所述第二NAS消息中携带有所述能力信息。The first communication device receives a second NAS message sent by the terminal device, wherein the second NAS message carries the capability information.
  11. 根据权利要求1所述的方法,其中,所述第一通信设备获取所述第一终端设备的位置信息包括:The method according to claim 1, wherein the first communication device obtains the location information of the first terminal device comprises:
    所述第一通信设备根据第一目标信息,确定是否执行终端设备定位流程;The first communication device determines whether to execute the terminal device positioning process according to the first target information;
    在确定执行所述终端设备定位流程的情况下,所述第一通信设备将对所述第一终端设备执行所述终端设备定位流程得到的位置信息,确定为所述第一终端设备的位置信息;In the case of determining to execute the terminal device positioning process, the first communication device determines the location information obtained by executing the terminal device positioning process on the first terminal device as the location information of the first terminal device;
    在确定不执行所述终端设备定位流程的情况下,所述第一通信设备将所述第一终端设备当前的位置信息,作为所述第一终端设备的位置信息;In the case where it is determined not to execute the terminal device positioning process, the first communication device uses the current location information of the first terminal device as the location information of the first terminal device;
    其中,所述第一目标信息包括如下中至少一项:The first target information includes at least one of the following:
    所述第一位置信息请求消息中携带的定位精度;The positioning accuracy carried in the first location information request message;
    所述第一位置信息请求消息的类型;The type of the first location information request message;
    所述第一位置信息请求消息的来源;a source of the first location information request message;
    非直接定位指示,所述非直接定位指示用于指示第一物联网设备不支持直接定位;An indirect positioning indication, where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning;
    第二标识信息,所述第二标识信息为所述第一位置信息请求消息中携带的所述第一物联网设备关联的终端设备的标识信息;Second identification information, where the second identification information is identification information of a terminal device associated with the first Internet of Things device and carried in the first location information request message;
    运营商策略,所述运营商策略用于指示通过物联网设备对应的终端设备的位置信息 表示物联网设备的位置信息。Operator strategy, which is used to indicate the location information of the terminal device corresponding to the IoT device Represents the location information of an IoT device.
  12. 根据权利要求1所述的方法,其中,所述第一通信设备根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息,包括:The method according to claim 1, wherein the first communication device determines the location information of the first IoT device according to the location information of the first terminal device, comprising:
    在存在多个所述第一终端设备的情况下,所述第一通信设备将多个所述第一终端设备中的其中一个的位置信息,确定为所述第一物联网设备的位置信息。When there are multiple first terminal devices, the first communication device determines the location information of one of the multiple first terminal devices as the location information of the first Internet of Things device.
  13. 根据权利要求1所述的方法,其中,所述第一通信设备根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息之后,所述方法还包括:The method according to claim 1, wherein after the first communication device determines the location information of the first Internet of Things device according to the location information of the first terminal device, the method further comprises:
    所述第一通信设备接收第二通信设备发送的失败消息或拒绝消息,所述失败消息或拒绝消息用于指示第三通信设备未授权使用所述第二通信设备提供的服务;The first communication device receives a failure message or a rejection message sent by the second communication device, where the failure message or the rejection message is used to indicate that the third communication device is not authorized to use the service provided by the second communication device;
    所述第一通信设备获取当前服务于所述第三通信设备的第六通信设备的第三地址信息;The first communication device acquires third address information of a sixth communication device currently serving the third communication device;
    所述第一通信设备根据所述第三地址信息,向所述第六通信设备发送所述第一物联网设备的位置信息,并指示所述第六通信设备将所述第一物联网设备的位置信息发送给所述第三通信设备;The first communication device sends the location information of the first Internet of Things device to the sixth communication device according to the third address information, and instructs the sixth communication device to send the location information of the first Internet of Things device to the third communication device;
    其中,所述第三通信设备为请求所述第一物联网设备的位置信息的设备。Among them, the third communication device is a device that requests the location information of the first Internet of Things device.
  14. 根据权利要求13所述的方法,其中,所述第一通信设备获取当前服务于所述第三通信设备的第六通信设备的第三地址信息,包括:The method according to claim 13, wherein the first communication device obtains the third address information of the sixth communication device currently serving the third communication device, comprising:
    所述第一通信设备向第五通信设备发送第一请求,所述第一请求用于指示请求当前服务于所述第三通信设备的第六通信设备;The first communication device sends a first request to the fifth communication device, where the first request is used to indicate a request for a sixth communication device currently serving the third communication device;
    所述第一通信设备接收所述第五通信设备发送的所述第三地址信息。The first communication device receives the third address information sent by the fifth communication device.
  15. 一种定位方法,其中,包括:A positioning method, comprising:
    第二通信设备接收第三通信设备发送的第二位置信息请求消息,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息;The second communication device receives a second location information request message sent by the third communication device, where the second location information request message is used to indicate a request for location information of the first Internet of Things device;
    所述第二通信设备根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息;The second communication device determines, according to the second location information request message, a first communication device corresponding to the first Internet of Things device and sends a first location information request message to the first communication device;
    其中,所述第一位置信息请求消息用于指示请求所述第一物联网设备的位置信息,所述第一位置信息请求消息中包括所述第二位置信息请求消息中的至少部分内容。The first location information request message is used to indicate a request for location information of the first IoT device, and the first location information request message includes at least part of the content of the second location information request message.
  16. 根据权利要求15所述的方法,其中,所述第二通信设备向所述第一通信设备发送第一位置信息请求消息之后,所述方法还包括:The method according to claim 15, wherein after the second communication device sends a first location information request message to the first communication device, the method further comprises:
    所述第二通信设备接收所述第一通信设备发送的所述第一物联网设备的位置信息。The second communication device receives the location information of the first Internet of Things device sent by the first communication device.
  17. 根据权利要求15所述的方法,其中,所述第二位置信息请求消息包括如下中至少一项:The method according to claim 15, wherein the second location information request message includes at least one of the following:
    所述第一物联网设备的第一标识信息;first identification information of the first IoT device;
    服务等级信息,所述服务等级信息用于指示本次请求所述第一物联网设备的位置信息的等级; Service level information, where the service level information is used to indicate the level of the location information of the first IoT device requested this time;
    所述第一物联网设备关联的区域信息,所述区域信息用于指示获取所述第一物联网设备的位置信息的区域范围;The area information associated with the first IoT device, the area information being used to indicate the area range for obtaining the location information of the first IoT device;
    所述第一物联网设备关联的终端设备的第二标识信息。Second identification information of a terminal device associated with the first Internet of Things device.
  18. 根据权利要求15所述的方法,其中,所述第二通信设备根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备之前,所述方法还包括:The method according to claim 15, wherein before the second communication device determines the first communication device corresponding to the first IoT device according to the second location information request message, the method further comprises:
    在运营商配置信息或第一协议指示通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息的情况下,所述第二通信设备授权所述第二位置信息请求消息,其中,所述第一协议为运营商与所述第三通信设备之间的协议;In a case where the operator configuration information or the first protocol indicates that the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device, the second communication device authorizes the second location information request message, wherein the first protocol is a protocol between the operator and the third communication device;
    或者,or,
    在所述第三通信设备的签约数据或第二协议指示通过物联网设备对应的终端设备的位置信息表示物联网设备的位置信息的情况下,所述第二通信设备授权所述第二位置信息请求消息,其中,所述第二协议为所述第三通信设备与第一终端设备之间的协议;In a case where the subscription data of the third communication device or the second protocol indicates that the location information of the Internet of Things device is represented by the location information of the terminal device corresponding to the Internet of Things device, the second communication device authorizes the second location information request message, wherein the second protocol is a protocol between the third communication device and the first terminal device;
    所述第二通信设备根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备,包括:The second communication device determines, according to the second location information request message, a first communication device corresponding to the first Internet of Things device, including:
    在所述第二通信设备授权所述第二位置信息请求消息的情况下,所述第二通信设备根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备。In a case where the second communication device authorizes the second location information request message, the second communication device determines the first communication device corresponding to the first Internet of Things device according to the second location information request message.
  19. 根据权利要求15所述的方法,其中,所述第二通信设备根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息,包括:The method according to claim 15, wherein the second communication device determines the first communication device corresponding to the first IoT device according to the second location information request message and sends a first location information request message to the first communication device, comprising:
    所述第二通信设备根据第二目标信息,从第一定位服务和第二定位服务中选出其中一种服务作为目标服务;The second communication device selects one of the first positioning service and the second positioning service as the target service according to the second target information;
    所述第二通信设备基于所述目标服务,根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息;The second communication device determines, based on the target service and according to the second location information request message, a first communication device corresponding to the first Internet of Things device and sends a first location information request message to the first communication device;
    其中,所述第一定位服务为基于第一通信设备的定位服务,所述第二定位服务为基于第四通信设备的定位服务;The first positioning service is a positioning service based on a first communication device, and the second positioning service is a positioning service based on a fourth communication device;
    所述第二目标信息包括如下中至少一项:The second target information includes at least one of the following:
    定位精度;positioning accuracy;
    所述第二定位服务是否可用。Whether the second positioning service is available.
  20. 根据权利要求19所述的方法,其中,所述第二通信设备基于所述目标服务,根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息,包括:The method according to claim 19, wherein the second communication device determines, based on the target service and according to the second location information request message, a first communication device corresponding to the first IoT device and sends a first location information request message to the first communication device, comprising:
    在所述目标服务为所述第一定位服务的情况下,所述第二通信设备向第五通信设备发送第三位置信息请求消息,所述第三位置信息请求消息包括所述第二位置信息请求消息中的至少部分内容,所述第三位置信息请求消息用于指示所述第五通信设备查找与所 述第一物联网设备对应的第一通信设备的第一地址信息,并指示所述第五通信设备根据所述第一地址信息,向所述第一通信设备发送所述第一位置信息请求消息;When the target service is the first positioning service, the second communication device sends a third location information request message to the fifth communication device, wherein the third location information request message includes at least part of the content in the second location information request message, and the third location information request message is used to instruct the fifth communication device to search for the target service. The first address information of the first communication device corresponding to the first Internet of Things device, and instructing the fifth communication device to send the first location information request message to the first communication device according to the first address information;
    或者,or,
    在所述目标服务为所述第一定位服务的情况下,所述第二通信设备向第五通信设备发送第四位置信息请求消息,所述第四位置信息请求消息包括所述第二位置信息请求消息中的至少部分内容,所述第四位置信息请求消息用于指示所述第五通信设备查找与所述第一物联网设备对应的第一通信设备的第一地址信息;In a case where the target service is the first positioning service, the second communication device sends a fourth location information request message to the fifth communication device, where the fourth location information request message includes at least part of the content in the second location information request message, and the fourth location information request message is used to instruct the fifth communication device to search for first address information of the first communication device corresponding to the first Internet of Things device;
    所述第二通信设备接收所述第五通信设备发送的所述第一地址信息;The second communication device receives the first address information sent by the fifth communication device;
    所述第二通信设备根据所述第一地址信息,向所述第一通信设备发送所述第一位置信息请求消息。The second communication device sends the first location information request message to the first communication device according to the first address information.
  21. 根据权利要求19所述的方法,其中,所述第二通信设备基于所述目标服务,根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息,包括:The method according to claim 19, wherein the second communication device determines, based on the target service and according to the second location information request message, a first communication device corresponding to the first IoT device and sends a first location information request message to the first communication device, comprising:
    在所述目标服务为所述第二定位服务的情况下,所述第二通信设备获取与所述第一物联网设备对应的所述第四通信设备的第二地址信息;When the target service is the second positioning service, the second communication device acquires second address information of the fourth communication device corresponding to the first Internet of Things device;
    所述第二通信设备根据所述第二地址信息,向所述第四通信设备发送第五位置信息请求消息,所述第五位置信息请求消息包括所述第二位置信息请求消息中的至少部分内容,所述第五位置信息请求消息用于指示所述第四通信设备获取与所述第一物联网设备对应的第一通信设备的第一地址信息,并指示所述第四通信设备根据所述第一地址信息向所述第一通信设备发送所述第一位置信息请求消息。The second communication device sends a fifth location information request message to the fourth communication device based on the second address information, and the fifth location information request message includes at least part of the content of the second location information request message. The fifth location information request message is used to instruct the fourth communication device to obtain the first address information of the first communication device corresponding to the first Internet of Things device, and instruct the fourth communication device to send the first location information request message to the first communication device based on the first address information.
  22. 根据权利要求16所述的方法,其中,所述第二通信设备接收所述第一通信设备发送的所述第一物联网设备的位置信息之后,所述方法还包括:The method according to claim 16, wherein after the second communication device receives the location information of the first Internet of Things device sent by the first communication device, the method further comprises:
    所述第二通信设备向所述第三通信设备发送所述第一物联网设备的位置信息;The second communication device sends the location information of the first Internet of Things device to the third communication device;
    或者,or,
    在所述第三通信设备未授权使用所述第二通信设备提供的服务的情况下,所述第二通信设备获取当前服务于所述第三通信设备的第六通信设备;In a case where the third communication device is not authorized to use the service provided by the second communication device, the second communication device acquires a sixth communication device currently serving the third communication device;
    所述第二通信设备向所述第六通信设备发送所述第一物联网设备的位置信息,并指示所述第六通信设备将所述第一物联网设备的位置信息发送给所述第三通信设备。The second communication device sends the location information of the first Internet of Things device to the sixth communication device, and instructs the sixth communication device to send the location information of the first Internet of Things device to the third communication device.
  23. 根据权利要求22所述的方法,其中,所述第二通信设备获取当前服务于所述第三通信设备的第六通信设备,包括:The method according to claim 22, wherein the second communication device obtains the sixth communication device currently serving the third communication device, comprising:
    所述第二通信设备向第五通信设备发送第一请求,所述第一请求用于指示请求当前服务于所述第三通信设备的第六通信设备;The second communication device sends a first request to the fifth communication device, where the first request is used to indicate a request for a sixth communication device currently serving the third communication device;
    所述第二通信设备接收所述第五通信设备发送的第三地址信息,并将所述第三地址信息对应的设备确定为所述第六通信设备。The second communication device receives the third address information sent by the fifth communication device, and determines the device corresponding to the third address information as the sixth communication device.
  24. 根据权利要求22所述的方法,其中,所述第二通信设备获取当前服务于所述第三 通信设备的第六通信设备,包括:The method according to claim 22, wherein the second communication device obtains the current service of the third The sixth communication device of the communication device comprises:
    所述第二通信设备向所述第一通信设备发送失败消息或拒绝消息,所述失败消息或拒绝消息用于指示所述第三通信设备未授权使用所述第二通信设备提供的服务,并指示所述第一通信设备获取当前服务于所述第三通信设备的第六通信设备的第三地址信息,以及指示所述第一通信设备向所述第六通信设备发送所述第一物联网设备的位置信息,以使得所述第六通信设备将所述第一物联网设备的位置信息发送给所述第三通信设备。The second communication device sends a failure message or a rejection message to the first communication device, and the failure message or the rejection message is used to indicate that the third communication device is not authorized to use the service provided by the second communication device, and to instruct the first communication device to obtain the third address information of the sixth communication device currently serving the third communication device, and to instruct the first communication device to send the location information of the first Internet of Things device to the sixth communication device, so that the sixth communication device sends the location information of the first Internet of Things device to the third communication device.
  25. 一种定位方法,其中,包括:A positioning method, comprising:
    第三通信设备向第二通信设备发送第二位置信息请求消息,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息。The third communication device sends a second location information request message to the second communication device, where the second location information request message is used to indicate a request for location information of the first Internet of Things device.
  26. 根据权利要求25所述的方法,其中,所述第三通信设备向第二通信设备发送第二位置信息请求消息之后,所述方法还包括:The method according to claim 25, wherein after the third communication device sends the second location information request message to the second communication device, the method further comprises:
    所述第三通信设备接收所述第一物联网设备的位置信息。The third communication device receives the location information of the first Internet of Things device.
  27. 根据权利要求25所述的方法,其中,所述第二位置信息请求消息包括如下中至少一项:The method according to claim 25, wherein the second location information request message includes at least one of the following:
    所述第一物联网设备的第一标识信息;first identification information of the first IoT device;
    服务等级信息,所述服务等级信息用于指示本次请求所述第一物联网设备的位置信息的等级;Service level information, where the service level information is used to indicate the level of the location information of the first IoT device requested this time;
    所述第一物联网设备关联的区域信息,所述区域信息用于指示获取所述第一物联网设备的位置信息的区域范围;The area information associated with the first IoT device, the area information being used to indicate the area range for obtaining the location information of the first IoT device;
    所述第一物联网设备关联的终端设备的第二标识信息。Second identification information of a terminal device associated with the first Internet of Things device.
  28. 一种定位方法,其中,包括:A positioning method, comprising:
    第一终端设备向第一通信设备发送第三目标信息;The first terminal device sends third target information to the first communication device;
    其中,所述第三目标信息包括如下中至少一项:The third target information includes at least one of the following:
    第一物联网设备的第一标识信息;first identification information of the first Internet of Things device;
    非直接定位指示,所述非直接定位指示用于指示所述第一物联网设备不支持直接定位;An indirect positioning indication, where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning;
    能力信息,所述能力信息用于指示所述第一终端设备具备与物联网设备通信的能力或具备发现物联网设备的能力。Capability information, where the capability information is used to indicate that the first terminal device has the ability to communicate with an IoT device or has the ability to discover an IoT device.
  29. 根据权利要求28所述的方法,其中,所述第一终端设备向第一通信设备发送第三目标信息,包括:The method according to claim 28, wherein the first terminal device sends the third target information to the first communication device, comprising:
    所述第一终端设备向所述第一通信设备发送第二非接入层NAS消息,其中,所述第二非接入层NAS消息携带有所述第三目标信息。The first terminal device sends a second non-access stratum NAS message to the first communication device, wherein the second non-access stratum NAS message carries the third target information.
  30. 根据权利要求28所述的方法,其中,所述第一终端设备向所述第一通信设备发送所述第一标识信息,包括:The method according to claim 28, wherein the first terminal device sends the first identification information to the first communication device, comprising:
    所述第一终端设备周期性执行盘点流程查找物联网设备,并将更新后的所述第一物 联网设备的所述第一标识信息发送给所述第一通信设备。The first terminal device periodically performs an inventory process to find the IoT device and sends the updated first IoT device to the The first identification information of the networked device is sent to the first communication device.
  31. 一种定位装置,其中,包括:A positioning device, comprising:
    第一获取模块,用于获取第一位置信息请求消息,所述第一位置信息请求消息用于指示请求第一物联网设备的位置信息;A first acquisition module, used to acquire a first location information request message, where the first location information request message is used to indicate a request for location information of a first Internet of Things device;
    第一确定模块,用于确定所述第一物联网设备对应的第一终端设备;A first determining module, used to determine a first terminal device corresponding to the first Internet of Things device;
    第二获取模块,用于获取所述第一终端设备的位置信息;A second acquisition module, used to acquire the location information of the first terminal device;
    第二确定模块,用于根据所述第一终端设备的位置信息,确定所述第一物联网设备的位置信息。The second determination module is used to determine the location information of the first Internet of Things device according to the location information of the first terminal device.
  32. 一种定位装置,其中,包括:A positioning device, comprising:
    第一接收模块,用于接收第三通信设备发送的第二位置信息请求消息,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息;A first receiving module, configured to receive a second location information request message sent by a third communication device, wherein the second location information request message is used to indicate a request for location information of a first Internet of Things device;
    第三确定模块,用于根据所述第二位置信息请求消息,确定与所述第一物联网设备对应的第一通信设备并向所述第一通信设备发送第一位置信息请求消息;A third determination module, configured to determine, according to the second location information request message, a first communication device corresponding to the first Internet of Things device and send a first location information request message to the first communication device;
    其中,所述第一位置信息请求消息用于指示请求所述第一物联网设备的位置信息,所述第一位置信息请求消息中包括所述第二位置信息请求消息中的至少部分内容。The first location information request message is used to indicate a request for location information of the first IoT device, and the first location information request message includes at least part of the content of the second location information request message.
  33. 一种定位装置,其中,包括:A positioning device, comprising:
    第一发送模块,用于向第二通信设备发送第二位置信息请求消息,所述第二位置信息请求消息用于指示请求第一物联网设备的位置信息。The first sending module is used to send a second location information request message to the second communication device, where the second location information request message is used to indicate a request for location information of the first Internet of Things device.
  34. 一种定位装置,其中,包括:A positioning device, comprising:
    第二发送模块,用于向第一通信设备发送第三目标信息;A second sending module, used for sending third target information to the first communication device;
    其中,所述第三目标信息包括如下中至少一项:The third target information includes at least one of the following:
    第一物联网设备的第一标识信息;first identification information of the first Internet of Things device;
    非直接定位指示,所述非直接定位指示用于指示所述第一物联网设备不支持直接定位;An indirect positioning indication, where the indirect positioning indication is used to indicate that the first Internet of Things device does not support direct positioning;
    能力信息,所述能力信息用于指示第一终端设备具备与物联网设备通信的能力或具备发现物联网设备的能力。Capability information, where the capability information is used to indicate that the first terminal device has the capability to communicate with the IoT device or has the capability to discover the IoT device.
  35. 一种通信设备,其中,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至14中任一项所述的定位方法的步骤,或者实现如权利要求15至24中任一项所述的定位方法的步骤,或者实现如权利要求25至27中任一项所述的定位方法的步骤,或者实现如权利要求28至30中任一项所述的定位方法的步骤。A communication device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, it implements the steps of the positioning method according to any one of claims 1 to 14, or implements the steps of the positioning method according to any one of claims 15 to 24, or implements the steps of the positioning method according to any one of claims 25 to 27, or implements the steps of the positioning method according to any one of claims 28 to 30.
  36. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至14中任一项所述的定位方法的步骤,或者实现如权利要求15至24中任一项所述的定位方法的步骤,或者实现如权利要求25至27中任一项所述的定位方法的步骤,或者实现如权利要求28至30中任一项所述的定位方法的 步骤。 A readable storage medium, wherein the readable storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, the steps of the positioning method according to any one of claims 1 to 14 are implemented, or the steps of the positioning method according to any one of claims 15 to 24 are implemented, or the steps of the positioning method according to any one of claims 25 to 27 are implemented, or the steps of the positioning method according to any one of claims 28 to 30 are implemented. step.
PCT/CN2023/128584 2022-11-15 2023-10-31 Positioning method and apparatus, and communication device WO2024104150A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211427137.6A CN118055360A (en) 2022-11-15 2022-11-15 Positioning method, positioning device and communication equipment
CN202211427137.6 2022-11-15

Publications (1)

Publication Number Publication Date
WO2024104150A1 true WO2024104150A1 (en) 2024-05-23

Family

ID=91045551

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/128584 WO2024104150A1 (en) 2022-11-15 2023-10-31 Positioning method and apparatus, and communication device

Country Status (2)

Country Link
CN (1) CN118055360A (en)
WO (1) WO2024104150A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101642739B1 (en) * 2015-05-20 2016-08-02 유엔젤주식회사 LOCATION CONFIRMATION SERVICE SYSTEM AND METHOD FOR IoT DEVICE
US20200294503A1 (en) * 2019-03-15 2020-09-17 Samsung Electronics Co., Ltd. Method for location inference of iot device, server, and electronic device supporting the same
CN111683404A (en) * 2020-06-02 2020-09-18 腾讯科技(深圳)有限公司 Positioning control method and device for terminal of Internet of things and electronic equipment
US20220150809A1 (en) * 2019-02-12 2022-05-12 Apple Inc. Apparatus and method for support of location management functionality in a radio access network
KR20220073603A (en) * 2020-11-26 2022-06-03 (주)시그웍스 Wireless communication system based on IoT communication and method for estimating location using the same
CN114786255A (en) * 2022-04-22 2022-07-22 国网智能电网研究院有限公司 Positioning method, device and equipment of power internet of things terminal and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101642739B1 (en) * 2015-05-20 2016-08-02 유엔젤주식회사 LOCATION CONFIRMATION SERVICE SYSTEM AND METHOD FOR IoT DEVICE
US20220150809A1 (en) * 2019-02-12 2022-05-12 Apple Inc. Apparatus and method for support of location management functionality in a radio access network
US20200294503A1 (en) * 2019-03-15 2020-09-17 Samsung Electronics Co., Ltd. Method for location inference of iot device, server, and electronic device supporting the same
CN111683404A (en) * 2020-06-02 2020-09-18 腾讯科技(深圳)有限公司 Positioning control method and device for terminal of Internet of things and electronic equipment
KR20220073603A (en) * 2020-11-26 2022-06-03 (주)시그웍스 Wireless communication system based on IoT communication and method for estimating location using the same
CN114786255A (en) * 2022-04-22 2022-07-22 国网智能电网研究院有限公司 Positioning method, device and equipment of power internet of things terminal and readable storage medium

Also Published As

Publication number Publication date
CN118055360A (en) 2024-05-17

Similar Documents

Publication Publication Date Title
EP4456621A1 (en) Registration method and apparatus of internet of things device, communication device, core network device, storage medium and system
WO2024104150A1 (en) Positioning method and apparatus, and communication device
WO2024017035A1 (en) Location information acquisition method, terminal, and network side device
CN115835340A (en) Network selection method, device, terminal and network side equipment
WO2023213242A1 (en) Ue policy information configuration method and apparatus, first network function, and terminal
WO2024067436A1 (en) Information transmission methods, apparatus and device
WO2023185810A1 (en) Ue route selection policy (ursp) determination method, user equipment, and network-side device
WO2024104077A1 (en) Information transmission methods and apparatus, communication device and readable storage medium
WO2024208363A1 (en) Event reporting method and apparatus, device, and storage medium
WO2024140572A1 (en) Sensing channel establishment method and apparatus
WO2023179560A1 (en) Ranging and localization method and terminal
WO2024022370A1 (en) Information acquisition and transmission methods, server access and session establishment methods, and device
WO2024125454A1 (en) Information interaction method and device
WO2024037512A1 (en) Network access methods and apparatuses, terminal and communication device
WO2023198068A1 (en) Mobility management method and apparatus, terminal, network side device and medium
WO2024022398A1 (en) Method for acquiring network selection information of hosted network, terminal, and network side device
WO2024051565A1 (en) Network selection processing method and apparatus, terminal, and readable storage medium
WO2024120352A1 (en) Communication method, and terminal and core network function
WO2024022168A1 (en) Negotiation method, and terminal and network-side device
WO2024032543A1 (en) Information acquisition method, and terminal and access network device
WO2023179571A1 (en) Non-public network access method and apparatus and terminal
WO2024051630A1 (en) Positioning method and apparatus, terminal, and network side device
WO2023143423A1 (en) Information acquisition, storage and reporting method and device, terminal, and network function
WO2023109686A1 (en) Parameter configuration method and apparatus, and communication device, storage medium and system
WO2024022397A1 (en) Network selection method and terminal

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: 23890586

Country of ref document: EP

Kind code of ref document: A1