Communication method and apparatus
By establishing an IoT business transmission path between the terminal device and the session management device, the user plane device and the IoT management device in the passive IoT system, the problem of the terminal device acting as a reader/writer communicating with the IoT terminal is solved, and the problem is improved. It ensures flexibility and mobility, and realizes connection with the core network.
Patent Information
- Application Number
- PCT/CN2024/081969
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2024-03-15
- Publication Date
- 2024-10-31
AI Technical Summary
Existing passive IoT technology mainly considers access network devices as readers and writers. It is difficult to support terminal devices as readers and writers to communicate with IoT terminals, and lacks flexibility and mobility.
Establish an IoT service transmission path between the session management device and the user plane device and IoT management device. The terminal device can request to establish a session for transmitting IoT business data, and transmit data to the IoT management device through the user plane device and session management device. Realize the communication and core network docking between the terminal device as a reader and writer and the Internet of Things terminal.
It improves the flexibility and mobility of the terminal device as a reader and writer, supports communication between the terminal device and the Internet of Things terminal, can effectively realize the connection with the core network, and enhances the flexibility and reliability of data transmission.
Smart Images

Figure CN2024081969_31102024_PF_FP_ABST
Abstract
Description
Communication method and device Technical Field
[0001] The present application relates to the field of communications, and more particularly, to a communication method and apparatus. Background Art
[0002] Currently, passive IoT technology is widely used across various industries. A passive IoT architecture can include IoT terminals, readers, and servers. IoT terminals can be tags or any other terminal form factor. Readers can be access network devices such as base stations, pole stations, micro base stations, and macro base stations. Readers utilize radio frequency (RF) for contactless, two-way data communication, reading and writing to electronic tags or RFID cards, thereby achieving target identification and data exchange.
[0003] Current passive IoT technology mainly considers scenarios where access network devices act as readers and writers, but how to support terminal devices as readers and writers also needs to be considered.
[0004] Summary of the Invention
[0005] The present application provides a communication method and apparatus that can enable a terminal device serving as a reader / writer to communicate with an Internet of Things terminal.
[0006] In a first aspect, a communication method is provided, which can be executed by a session management device, or a chip or chip system in the session management device. The method includes: the session management device receives a session establishment request message from a terminal device, the session establishment request message being used to request establishment of a first session for transmitting IoT service data; the session management device establishes an IoT service transmission path with a user plane device and an IoT management device based on the session establishment request message, wherein the IoT service transmission path is used to transmit the IoT service data; the session management device sends a session establishment acceptance message to the terminal device, the session establishment acceptance message including an uplink destination address for transmitting IoT service data by the terminal device, the uplink destination address including address information of the user plane device; and the session management device sends first information to the user plane device, the first information instructing the user plane device to send the IoT service data to the session management device when the uplink destination address of the received IoT service data is the address of the user plane device.
[0007] Based on the above technical solution, a terminal device supporting reader / writer functionality can request a session management device to establish a first session for transmitting IoT service data. The session management device then establishes an IoT service transmission path with both the user plane device and the IoT management device for transmitting IoT service data. The uplink destination address of the IoT service data transmitted by the terminal device is the address of the user plane device. When the uplink destination address of the received IoT service data is the address of the user plane device, the user plane device sends the IoT service data to the session management device. The session management device then sends the IoT service data to the IoT management device. This solution enables a terminal device acting as a reader / writer to communicate with IoT terminals and connect with functional devices in the core network responsible for managing IoT terminals. When acting as a reader / writer, the terminal device can transmit IoT service data to the IoT management device via the user plane device and the session management device. Furthermore, the terminal device has high mobility and wide distribution, and when acting as a reader / writer, the terminal device provides greater flexibility than when an access network device acts as a reader / writer.
[0008] In combination with the first aspect, in certain implementations of the first aspect, the session management device establishes an Internet of Things service transmission path with the Internet of Things management device based on the session establishment request message, including: the session management device sends a first request message to the Internet of Things management device, the first request message is used to request the establishment of the Internet of Things service transmission path between the session management device and the Internet of Things management device, the first request message includes at least one of the identifier of the terminal device, the address information of the terminal device, or the identifier of the first session; the session management device receives a first response message from the Internet of Things management device, the first response message indicates that the establishment of the Internet of Things service transmission path between the session management device and the Internet of Things management device is complete.
[0009] In conjunction with the first aspect, in certain implementations of the first aspect, the first request message further includes information about an access and mobility management device serving the terminal device and / or information about a radio access network device serving the terminal device. The information about the access and mobility management device serving the terminal device and / or the information about the radio access network device serving the terminal device can be used to determine the location of the terminal device.
[0010] In conjunction with the first aspect, in certain implementations of the first aspect, the session management device establishes an IoT service transmission path with the user-plane device based on the session establishment request message, including: the session management device sends a second request message to the user-plane device, the second request message being used to request establishment of the IoT service transmission path between the session management device and the user-plane device, the second request message including an identifier of the IoT service transmission path between the session management device and the user-plane device and first indication information, the first indication information instructing the user-plane device to allocate the uplink destination address; and the session management device receives a second response message from the user-plane device, the second response message indicating that establishment of the IoT service transmission path between the session management device and the user-plane device is complete, the second response message including the address information of the user-plane device. In this implementation, the session management device instructs the user-plane device to allocate the uplink destination address / user-plane device address information for the terminal device to transmit IoT service data.
[0011] In conjunction with the first aspect, in certain implementations of the first aspect, the session management device establishes an IoT service transmission path with the user plane device based on the session establishment request message, including: the session management device sends a second request message to the user plane device, the second request message is used to request establishment of a second session between the session management device and the user plane device, the second request message includes an identifier of the second session and first indication information, the first indication information is used to instruct the user plane device to allocate the uplink destination address; the session management device receives a second response message from the user plane device, the second response message indicates that the second session is established, and the second response message includes the address information of the user plane device. Establishing the second session between the session management device and the user plane device is equivalent to establishing a transmission path for transmitting IoT service data between the session management device and the user plane device; the second session may be a session established via the N4 interface, which may be referred to as an N4 session.
[0012] In conjunction with the first aspect, in certain implementations of the first aspect, the session management device establishes an IoT service transmission path with a user-plane device based on the session establishment request message, including: the session management device sends a second request message to the user-plane device, the second request message being used to request establishment of the IoT service transmission path between the session management device and the user-plane device, the second request message including an identifier of the IoT service transmission path between the session management device and the user-plane device and address information of the user-plane device; and the session management device receives a second response message from the user-plane device, the second response message indicating that establishment of the IoT service transmission path between the session management device and the user-plane device is complete. In this implementation, the session management device allocates an uplink destination address / user-plane device address information for the terminal device to transmit IoT service data, and sends the uplink destination address / user-plane device address information to the user-plane device.
[0013] In combination with the first aspect, in certain implementations of the first aspect, the session management device establishes an IoT service transmission path with the user plane device based on the session establishment request message, including: the session management device sends a second request message to the user plane device, the second request message is used to request establishment of a second session between the session management device and the user plane device, the second request message includes an identifier of the second session and address information of the user plane device; the session management device receives a second response message from the user plane device, the second response message indicates that the establishment of the second session is complete.
[0014] In conjunction with the first aspect, in certain implementations of the first aspect, the method further includes: the session management device receiving second information sent by the IoT management device, the second information instructing the terminal device to execute the IoT service instruction; and the session management device sending third information to the user plane device, the third information instructing the terminal device to execute the IoT service instruction. The IoT management device may send information instructing the terminal device to execute the IoT service instruction via the user plane / session management device and the user plane device.
[0015] In conjunction with the first aspect, in certain implementations of the first aspect, when the IoT service instruction instructs obtaining target IoT service data from the IoT terminal, the method further includes: receiving, by the session management device, the target IoT service data sent by the user plane device; and sending, by the session management device, the target IoT service data to the IoT management device. The terminal device may send the target IoT service data to the IoT management device via the user plane / user plane device and the session management device.
[0016] In a second aspect, a communication method is provided, which can be executed by an Internet of Things management device, or a chip or chip system in the Internet of Things management device. The method includes: the Internet of Things management device receives a first request message from a session management device, the first request message is used to request the establishment of an Internet of Things service transmission path between the session management device and the Internet of Things management device, the first request message includes at least one of an identifier of a terminal device, address information of the terminal device, or an identifier of a session requested to be established by the terminal device, wherein the Internet of Things service transmission path is used to transmit Internet of Things service data; the Internet of Things management device sends a first response message to the session management device, the first response message indicating that the Internet of Things service transmission path between the session management device and the Internet of Things management device is established.
[0017] The method provided in the second aspect is a method for managing an IoT device corresponding to the first aspect, and its beneficial effects can refer to the first aspect.
[0018] In combination with the second aspect, in certain implementations of the second aspect, the first request message also includes information about an access and mobility management device serving the terminal device, and / or information about a wireless access network device serving the terminal device.
[0019] In conjunction with the second aspect, in certain implementations of the second aspect, the method further includes: the IoT management device receiving fourth information from the service requester, the fourth information instructing execution of the IoT service instruction in a target area; the IoT management device determining the terminal device located within the target area to execute the IoT service instruction; and the IoT management device sending second information to the session management device, the second information instructing the terminal device to execute the IoT service instruction. The IoT management device may send information to the terminal device via the user plane / session management device and the user plane device, instructing the terminal device to execute the IoT service instruction.
[0020] In conjunction with the second aspect, in certain implementations of the second aspect, the method further includes: the IoT management device receiving fourth information from the service requester, the fourth information instructing execution of the IoT service instruction in a target area; the IoT management device determining the terminal device located within the target area to execute the IoT service instruction; and the IoT management device sending fifth information to the access and mobility management device, the fifth information instructing the terminal device to execute the IoT service instruction. The IoT management device may send information to the terminal device via the control plane / access and mobility management device, instructing the terminal device to execute the IoT service instruction.
[0021] The terminal device determined by the IoT management device to execute the IoT service instruction may be a terminal device with an activated reader / writer function. In one case, a terminal device supporting the reader / writer function must activate the reader / writer function before it can be used as a reader / writer. In another case, the reader / writer function of the terminal device supporting the reader / writer function is already activated and can be used directly as a reader / writer. In this case, the terminal device supporting the reader / writer function can be understood as having activated the reader / writer function and can be used directly as a reader / writer.
[0022] In combination with the second aspect, in certain implementations of the second aspect, when the IoT service instruction indicates obtaining target IoT service data from the IoT terminal, the method further includes: the IoT management device receiving the target IoT service data sent by the session management device; and the IoT management device sending the target IoT service data to the service requester.
[0023] In combination with the second aspect, in certain implementations of the second aspect, the Internet of Things management device determines that the terminal device is located in the target area to execute the Internet of Things business instructions, including: the Internet of Things management device determines that the reader / writer function of the terminal device has been activated, and determines that the terminal device is located in the target area.
[0024] In combination with the second aspect, in certain implementations of the second aspect, the Internet of Things management device determines that the terminal device is located within the target area, including: the Internet of Things management device determines that the terminal device is located within the target area based on information of the access and mobility management device serving the terminal device, and / or information of the wireless access network device serving the terminal device; or, the Internet of Things management device determines that the terminal device is located within the target area by triggering the positioning process of the terminal device; or, the Internet of Things management device determines that the terminal device is located within the target area based on obtaining the location information of the terminal device from a unified data management device or the location information of a terminal device that supports a reader / writer function.
[0025] In conjunction with the second aspect, in certain implementations of the second aspect, the IoT management device determines that the terminal device has activated the reader / writer function, including: the IoT management device sends a subscription request message to a unified data management device, the subscription request message being used to obtain information about terminal devices that support the reader / writer function; the IoT management device receives a subscription response message from the unified data management device, the subscription response message including at least one of an identifier of the terminal device that supports the reader / writer function, location information of the terminal device that supports the reader / writer function, status information of the terminal device that supports the reader / writer function, and information about a core network device that serves the terminal device that supports the reader / writer function; and the IoT management device determines, based on the subscription response message, that the terminal device has activated the reader / writer function. In this example, it can be considered that the reader / writer function of the terminal device that supports the reader / writer function is activated.
[0026] In combination with the second aspect, in certain implementations of the second aspect, the Internet of Things management device determines that the terminal device has activated the reader / writer function, including: the Internet of Things management device receives second indication information from the terminal device, and the second indication information is used to indicate that the terminal device has activated the reader / writer function.
[0027] According to a third aspect, a communication method is provided, which can be executed by a user-plane device, or a chip or chip system in the user-plane device. The method includes: the user-plane device receives a second request message from a session management device, the second request message is used to request the establishment of an IoT service transmission path between the session management device and the user-plane device, the second request message includes an identifier of the IoT service transmission path and first indication information, the first indication information is used to instruct the user-plane device to allocate an uplink destination address for a terminal device to transmit IoT service data, and the IoT service transmission path is used to transmit the IoT service data; the user-plane device sends a second response message to the session management device, the second response message indicates that the IoT service transmission path is established, and the second response message includes the address information of the user-plane device.
[0028] The method provided in the third aspect is a method on the user plane device side corresponding to the first aspect and the second aspect, and its beneficial effects can refer to the first aspect or the second aspect.
[0029] In combination with the third aspect, in certain implementations of the third aspect, the method further includes: the user plane device receives third information sent by the session management device, and the third information instructs the terminal device to execute the Internet of Things service instruction; the user plane device sends sixth information to the terminal device, and the sixth information instructs the terminal device to execute the Internet of Things service instruction.
[0030] In combination with the third aspect, in certain implementations of the third aspect, when the IoT service instruction instructs obtaining target IoT service data from the IoT terminal, the method further includes: the user plane device receiving the target IoT service data from the terminal device; and the user plane device sending the target IoT service data to the session management device.
[0031] In a fourth aspect, a communication method is provided, which can be performed by a user plane device, or a chip or chip system in the user plane device. The method includes: the user plane device receiving a second request message from a session management device, the second request message being used to request establishment of a second session between the session management device and the user plane device, the second request message including an identifier of the second session and first indication information, the first indication information being used to instruct the user plane device to allocate the uplink destination address; and the user plane device sending a second response message to the session management device, the second response message indicating that establishment of the second session is complete, the second response message including address information of the user plane device.
[0032] In a fifth aspect, a communication method is provided, which can be performed by a user plane device, or a chip or chip system in the user plane device. The method includes: the user plane device receives a second request message from a session management device, the second request message is used to request establishment of the IoT service transmission path between the session management device and the user plane device, the second request message includes an identifier of the IoT service transmission path between the session management device and the user plane device and address information of the user plane device; the user plane device sends a second response message to the session management device, the second response message indicates that establishment of the IoT service transmission path between the session management device and the user plane device is complete.
[0033] In a sixth aspect, a communication method is provided, which can be performed by a user plane device, or a chip or chip system in the user plane device. The method includes: the user plane device receiving a second request message from a session management device, the second request message being used to request establishment of a second session between the session management device and the user plane device, the second request message including an identifier of the second session and address information of the user plane device; and the user plane device sending a second response message to the session management device, the second response message indicating that establishment of the second session is complete.
[0034] In a seventh aspect, a communication method is provided, which can be executed by a session management device, or a chip or chip system in the session management device. The method includes: the session management device receives a session establishment request message from a terminal device, wherein the session establishment request message is used to request the establishment of a first session for transmitting IoT service data; the session management device obtains address information of the IoT management device from the IoT management device based on the session establishment request message, wherein the IoT management device is used to transmit IoT service data corresponding to the first session; and the session management device sends a session establishment acceptance message to the terminal device, wherein the session establishment acceptance message includes an uplink destination address for transmitting IoT service data by the terminal device, and the uplink destination address includes the address information of the IoT management device.
[0035] Based on the above technical solution, a terminal device supporting reader / writer functionality can request a session management device to establish a first session for transmitting IoT service data. The session management device obtains the address information of the IoT management device from the IoT management device, which is used to transmit the IoT service data corresponding to the first session. The uplink destination address of the IoT service data transmitted by the terminal device is the address of the IoT management device. When the uplink destination address of the received IoT service data is the address of the IoT management device, the user-plane device sends the IoT service data to the IoT management device. This solution enables a terminal device acting as a reader / writer to communicate with an IoT terminal and connect with a functional device in the core network responsible for managing IoT terminals. When acting as a reader / writer, the terminal device can transmit IoT service data to the IoT management device via the user-plane device. In addition, the terminal device has good mobility and wide distribution, and the terminal device acting as a reader / writer is more flexible than the access network device acting as a reader / writer.
[0036] In combination with the seventh aspect, in certain implementations of the seventh aspect, the session management device obtains the address information of the Internet of Things management device from the Internet of Things management device based on the session establishment request message, including: the session management device sends a third request message to the Internet of Things management device, the third request message is used to request to obtain the address information of the Internet of Things management device, the third request message includes the address information corresponding to the terminal device, the address information corresponding to the terminal device includes the address information of the terminal device and / or the address information of the user-side device corresponding to the terminal device; the session management device receives a third response message from the Internet of Things management device, and the third response message includes the address information of the Internet of Things management device.
[0037] In conjunction with the seventh aspect, in certain implementations of the seventh aspect, the third request message further includes information about an access and mobility management device serving the terminal device and / or information about a radio access network device serving the terminal device. The information about the access and mobility management device of the terminal device and / or the information about the radio access network device serving the terminal device can be used to determine the location of the terminal device.
[0038] In combination with the seventh aspect, in certain implementations of the seventh aspect, the method further includes: the session management device sending first indication information to the user plane device, the first indication information being used to instruct the user plane device to allocate address information for the terminal device to transmit IoT service data; and the session management device receiving the address information of the user plane device from the user plane device. In this implementation, the session management device instructs the user plane device to allocate address information of the user plane device for the terminal device to transmit IoT service data. Optionally, the address information of the user plane device for the terminal device to transmit IoT service data may also be allocated by the session management device and sent to the user plane device.
[0039] In conjunction with the seventh aspect, in certain implementations of the seventh aspect, the method further includes: the IoT management device receiving fourth information from the service requester, the fourth information instructing execution of the IoT service instruction in a target area; the IoT management device determining the terminal device located in the target area to execute the IoT service instruction; and the IoT management device sending seventh information to the user plane device, the seventh information instructing the terminal device to execute the IoT service instruction. The IoT management device may send information instructing execution of the IoT service instruction to the terminal device via the user plane device.
[0040] In conjunction with the seventh aspect, in certain implementations of the seventh aspect, when the IoT service instruction instructs obtaining target IoT service data from the IoT terminal, the method further includes: receiving, by the IoT management device, the target IoT service data sent by the user plane device; and sending, by the IoT management device, the target IoT service data to the service requester. The terminal device may send the target IoT service data to the IoT management device via the user plane device.
[0041] In an eighth aspect, a communication method is provided, which can be executed by an Internet of Things management device, or a chip or chip system in the Internet of Things management device. The method includes: the Internet of Things management device receives a third request message from a session management device, the third request message is used to request to obtain the address information of the Internet of Things management device, the third request message includes the address information corresponding to the terminal device requesting to establish a first session, the address information corresponding to the terminal device includes the address information of the terminal device and / or the address information of the user-plane device corresponding to the terminal device, wherein the Internet of Things management device and the user-plane device are used to transmit the Internet of Things service data corresponding to the first session; the Internet of Things management device sends a third response message to the session management device, and the third response message includes the address information of the Internet of Things management device.
[0042] The method provided in the eighth aspect is a method on the IoT management device side corresponding to the seventh aspect, and its beneficial effects can refer to the seventh aspect.
[0043] In combination with the eighth aspect, in certain implementations of the eighth aspect, the third request message also includes information about an access and mobility management device serving the terminal device, and / or information about a wireless access network device serving the terminal device.
[0044] In conjunction with the eighth aspect, in certain implementations of the eighth aspect, the method further includes: the IoT management device receiving fourth information from the service requester, the fourth information instructing execution of the IoT service instruction in a target area; the IoT management device determining the terminal device located within the target area to execute the IoT service instruction; and the IoT management device sending seventh information to the user plane device, the seventh information instructing the terminal device to execute the IoT service instruction. The IoT management device may send information instructing execution of the IoT service instruction to the terminal device via the user plane / user plane device.
[0045] In conjunction with the eighth aspect, in certain implementations of the eighth aspect, the method further includes: the IoT management device receiving fourth information from the service requester, the fourth information instructing execution of the IoT service instruction in a target area; the IoT management device determining the terminal device located within the target area to execute the IoT service instruction; and the IoT management device sending fifth information to the access and mobility management device, the fifth information instructing the terminal device to execute the IoT service instruction. The IoT management device may send information instructing execution of the IoT service instruction to the terminal device via the control plane / access and mobility management device.
[0046] The terminal device determined by the IoT management device to execute the IoT service instruction may be a terminal device with an activated reader / writer function. In one case, a terminal device supporting the reader / writer function must activate the reader / writer function before it can be used as a reader / writer. In another case, the reader / writer function of the terminal device supporting the reader / writer function is already activated and can be used directly as a reader / writer. In this case, the terminal device supporting the reader / writer function can be understood as having activated the reader / writer function and can be used directly as a reader / writer.
[0047] In combination with the eighth aspect, in certain implementations of the eighth aspect, when the IoT business instruction indicates obtaining target IoT business data from the IoT terminal, the method also includes: the IoT management device receives the target IoT business data sent by the user plane device; and the IoT management device sends the target IoT business data to the business requester.
[0048] In combination with the eighth aspect, in certain implementations of the eighth aspect, the Internet of Things management device determines that the terminal device is located in the target area to execute the Internet of Things business instructions, including: the Internet of Things management device determines that the reader / writer function of the terminal device has been activated, and determines that the terminal device is located in the target area.
[0049] In conjunction with the eighth aspect, in certain implementations of the eighth aspect, the Internet of Things management device determining that the terminal device is located in the target area includes:
[0050] The Internet of Things management device determines that the terminal device is located in the target area based on the information of the access and mobility management device serving the terminal device and / or the information of the wireless access network device serving the terminal device; or, the Internet of Things management device determines that the terminal device is located in the target area by triggering the positioning process of the terminal device; or, the Internet of Things management device determines that the terminal device is located in the target area based on the location information of the terminal device obtained from the unified data management device or the location information of the terminal device supporting the reader / writer function.
[0051] In combination with the eighth aspect, in certain implementations of the eighth aspect, the Internet of Things management device determines that the terminal device has activated the reader / writer function, including: the Internet of Things management device sends a subscription request message to a unified data management device, and the subscription request message is used to obtain information about terminal devices that support the reader / writer function; the Internet of Things management device receives a subscription response message from the unified data management device, and the subscription response message includes at least one of an identifier of the terminal device that supports the reader / writer function, location information of the terminal device that supports the reader / writer function, status information of the terminal device that supports the reader / writer function, and information of a core network device that serves the terminal device that supports the reader / writer function; the Internet of Things management device determines that the terminal device has activated the reader / writer function based on the subscription response message.
[0052] In combination with the eighth aspect, in certain implementations of the eighth aspect, the Internet of Things management device determines that the terminal device has activated the reader / writer function, including: the Internet of Things management device receives second indication information from the terminal device, and the second indication information is used to indicate that the terminal device has activated the reader / writer function.
[0053] In a ninth aspect, a communication method is provided, which can be performed by a user plane device, or a chip or chip system in the user plane device. The method includes: the user plane device receiving first indication information from a session management device, the first indication information being used to instruct the user plane device to allocate address information for a terminal device to transmit IoT service data; and the user plane device sending the address information of the user plane device to the session management device.
[0054] The method provided in the ninth aspect is a method on the IoT management device side corresponding to the seventh and eighth aspects, and its beneficial effects can refer to the seventh or eighth aspect.
[0055] In combination with the ninth aspect, in certain implementations of the ninth aspect, the method further includes: the user-side device receives seventh information sent by the Internet of Things management device, and the seventh information instructs the terminal device to execute the Internet of Things business instruction; the user-side device sends sixth information to the terminal device, and the sixth information instructs the terminal device to execute the Internet of Things business instruction.
[0056] In combination with the ninth aspect, in certain implementations of the ninth aspect, when the IoT service instruction indicates obtaining target IoT service data from the IoT terminal, the method further includes: the user plane device receiving the target IoT service data from the terminal device; and the user plane device sending the target IoT service data to the IoT management device.
[0057] In a tenth aspect, a communication method is provided, which can be executed by a terminal device, or a chip or chip system in the terminal device. The method includes: the terminal device determines to establish a first session for transmitting IoT service data; the terminal device sends a session establishment request message to a session management device, wherein the session establishment request message is used to request the establishment of the first session for transmitting IoT service data; the terminal device receives a session establishment acceptance message from the session management device, wherein the session establishment acceptance message includes an uplink destination address for transmitting the IoT service data by the terminal device, wherein the uplink destination address includes address information of a user-plane device or address information of an IoT management device, wherein the IoT management device and the user-plane device are used to transmit the IoT service data corresponding to the first session.
[0058] Based on the above technical solution, a terminal device supporting reader / writer functionality can request a session management device to establish a first session for transmitting IoT service data. The session management device establishes an IoT service transmission path for transmitting IoT service data with the user plane device and the IoT management device, respectively. Alternatively, the session management device obtains the address information of the IoT management device from the IoT management device. The uplink destination address of the IoT service data transmitted by the terminal device includes the address of the user plane device or the address of the IoT management device. When the uplink destination address of the received IoT service data is the address of the user plane device, the user plane device sends the IoT service data to the session management device, and the session management device sends the IoT service data to the IoT management device. Alternatively, when the uplink destination address of the received IoT service data is the address of the IoT management device, the user plane device sends the IoT service data to the IoT management device. This solution enables a terminal device acting as a reader / writer to communicate with an IoT terminal and enables the terminal device acting as a reader / writer to interface with a functional device in the core network responsible for managing IoT terminals. When acting as a reader / writer, the terminal device can transmit IoT service data to the IoT management device via the user plane device, or via the user plane device and the session management device. In addition, terminal devices have good mobility and wide distribution, and when terminal devices are used as readers, they are more flexible than when access network devices are used as readers.
[0059] In combination with the tenth aspect, in certain implementations of the tenth aspect, the terminal device determines to establish a first session for transmitting IoT service data, including: the terminal device sends third indication information to the access and mobility management device, and the third indication information is used to indicate that the terminal device supports the reader / writer function; the terminal device receives eighth information from the access and mobility management device, and the eighth information indicates session parameters for transmitting IoT service data; the terminal device determines to establish the first session for transmitting IoT service data based on the eighth information.
[0060] In combination with the tenth aspect, in certain implementations of the tenth aspect, the method further includes: the terminal device sends a second indication message to the Internet of Things management device, and the second indication message is used to indicate that the terminal device has activated the reader / writer function.
[0061] In combination with the tenth aspect, in certain implementations of the tenth aspect, the method further includes: the terminal device receives sixth information sent by the user plane device, and the sixth information instructs the terminal device to execute the Internet of Things business instruction; the terminal device executes the Internet of Things business instruction.
[0062] In combination with the tenth aspect, in certain implementations of the tenth aspect, when the IoT service instruction instructs to obtain target IoT service data from the IoT terminal, the terminal device executes the IoT service instruction, including: the terminal device receives the target IoT service data from the IoT terminal according to the IoT service instruction; the terminal device uses the uplink destination address to send the target IoT service data to the user plane device or the IoT management device.
[0063] In the eleventh aspect, a communication device is provided, which can be applied to the session management device described in the first aspect or the seventh aspect, and the device includes: a transceiver unit, used to implement the receiving function and the sending function of the method described in the first aspect or the seventh aspect; a processing unit, used to implement the function of establishing an IoT service transmission path with the user plane device and the IoT management device respectively in the method described in the first aspect, or used to implement the function of obtaining the address information of the IoT management device from the IoT management device in the method described in the seventh aspect.
[0064] In the twelfth aspect, a communication device is provided, which can be applied to the Internet of Things management device described in the second aspect or the eighth aspect, and the device includes: a transceiver unit, used to implement the receiving function and the sending function of the method described in the second aspect or the eighth aspect; a processing unit, used to implement the function of the method described in the second aspect or the eighth aspect to determine the terminal device located in the target area to execute the Internet of Things business instructions.
[0065] In the thirteenth aspect, a communication device is provided, which can be applied to the user plane equipment described in the third aspect, the fourth aspect, the fifth aspect, the sixth aspect, or the ninth aspect. The device includes: a transceiver unit for implementing the receiving function and the sending function of the method described in the third aspect, the fourth aspect, the fifth aspect, the sixth aspect, or the ninth aspect.
[0066] In the fourteenth aspect, a communication device is provided, which can be applied to the terminal device described in the tenth aspect, and the device includes: a transceiver unit, used to implement the receiving function and the sending function of the method described in the tenth aspect; a processing unit, used to implement the function of determining to establish a first session for transmitting Internet of Things business data of the method described in the tenth aspect.
[0067] In the fifteenth aspect, a communication device is provided, comprising: a processor and a memory, the memory being used to store a computer program, the processor being used to execute the computer program stored in the memory, so that the communication device executes the method in the above-mentioned first to tenth aspects and any possible implementation of the first to tenth aspects.
[0068] In the sixteenth aspect, a communication device is provided, including: an input and output interface and a logic circuit, the input and output interface is used to obtain input information and / or output information; the logic circuit is used to execute the method described in the above-mentioned first to tenth aspects or any possible implementation method of the first to tenth aspects, and process and / or generate output information according to the input information.
[0069] In the seventeenth aspect, a communication system is provided, including: a session management device, an Internet of Things management device, a user plane device and a terminal device, the session management device is used to implement the method described in the first aspect or the seventh aspect and any possible implementation of the first aspect or the seventh aspect, the Internet of Things management device is used to implement the method described in the second aspect or the eighth aspect and any possible implementation of the second aspect or the eighth aspect, the user plane device is used to implement the method described in the third aspect, the fourth aspect, the fifth aspect, the sixth aspect, or the ninth aspect and any possible implementation of the third aspect, the fourth aspect, the fifth aspect, the sixth aspect, or the ninth aspect, and the terminal device is used to implement the method described in the tenth aspect and any possible implementation of the tenth aspect.
[0070] In the eighteenth aspect, a computer-readable storage medium is provided, which stores a computer program; when the computer program runs on a computer, the computer executes the method in the above-mentioned first to tenth aspects and any possible implementation of the first to tenth aspects.
[0071] In the nineteenth aspect, a computer program product comprising instructions is provided, wherein when the instructions are executed by a computer, the communication device implements the method in the above-mentioned first to tenth aspects and any possible implementation method of the first to tenth aspects.
[0072] The solutions provided in the above-mentioned eleventh to nineteenth aspects are used to implement or cooperate with the methods provided in the above-mentioned first to tenth aspects, and therefore can achieve the same or corresponding beneficial effects as the first to tenth aspects, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] Figure 1 is a schematic diagram of passive IoT service transmission.
[0074] Figure 2 is a schematic diagram of the IoT terminal protocol stack.
[0075] FIG3 is a schematic flow diagram of the registration process of a terminal device.
[0076] FIG4 is a schematic flow diagram of the session establishment process of the terminal device.
[0077] FIG5 is a schematic diagram of a system architecture applicable to an embodiment of the present application.
[0078] FIG6 is a schematic diagram of an access network device serving as a reader / writer and a terminal device serving as a reader / writer.
[0079] FIG7 is a schematic flow chart of an interaction of a communication method provided by the present application.
[0080] FIG8 is a schematic diagram of a protocol stack corresponding to a communication method provided in an embodiment of the present application.
[0081] FIG9 is a schematic diagram of the registration process of a terminal device in the communication method provided in an embodiment of the present application.
[0082] FIG10 is a schematic diagram of a session establishment process of a terminal device in the communication method provided in an embodiment of the present application.
[0083] FIG11 is a schematic flow chart of another communication method provided by the present application.
[0084] FIG12 is a schematic diagram of a protocol stack corresponding to another communication method provided in an embodiment of the present application.
[0085] Figure 13 is a schematic diagram of the session establishment process of a terminal device in another communication method provided in an embodiment of the present application.
[0086] 14 to 20 are schematic block diagrams of communication devices according to embodiments of the present application. DETAILED DESCRIPTION
[0087] The technical solution in this application will be described below with reference to the accompanying drawings.
[0088] The embodiments of the present application can be applied to various communication systems, such as wireless local area network (WLAN), narrowband Internet of Things (NB-IoT), global system for mobile communications (GSM), enhanced data rate for GSM evolution (EDGE), wideband code division multiple access (WCDMA), code division multiple access 2000 (CDMA2000), time division-synchronization code division multiple access (TD-SCDMA), long term evolution (LTE), satellite communication, 5G communication system, sixth generation (6G) communication system or new communication systems that will appear in the future.
[0089] The communication system applicable to the present application includes one or more transmitting ends and one or more receiving ends. The signal transmission between the transmitting end and the receiving end can be transmitted via radio waves or transmission media such as visible light, laser, infrared, and optical fiber.
[0090] Exemplarily, the transmitting end may be a terminal device, a base station, or other device capable of acquiring perception information and / or artificial intelligence information, or a chip or chip system in these devices, and the receiving end may be a perception center that performs fusion processing on the perception information and / or artificial intelligence information, or a chip or chip system in the perception center.
[0091] The terminal devices involved in the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem with wireless communication functions. The terminal may be a mobile station (MS), a subscriber unit (subscriber unit), a user equipment (UE), a cellular phone, a smart phone, a wireless data card, a personal digital assistant (PDA), a tablet computer, a wireless modem, a handheld device (handset), a laptop computer, a drone, a machine type communication (MTC) terminal, and a wireless terminal in a self-driving vehicle. Among them, the user equipment includes a vehicle user equipment.
[0092] Exemplarily, the network device may be an evolved Node B (eNB), a radio network controller (RNC), a Node B (NB), a base station controller (BSC), a base transceiver station (BTS), a home evolved Node B (or home Node B, HNB), a baseband unit (BBU), a device that performs base station functions in device to device (D2D), an access point (AP) in a wireless fidelity (WIFI) system, a wireless relay node, a wireless backhaul node, a drone, a transmission point (TP) or a transmission and reception point (TRP), etc. It may also be a gNB or a transmission point (e.g., a TRP or TP) in a new radio (NR), one or a group (including multiple) antenna panels of a base station in NR, or a network node constituting a gNB or a transmission point, such as a baseband unit (building baseband unit, BBU) or distributed unit (distributed unit, DU), etc., or the network device can also be a vehicle-mounted device, a wearable device, a network device in a 5G network, or a network device in an evolved public land mobile communication network (public land mobile network, PLMN) network, etc., or a network device deployed on a satellite, without limitation.
[0093] The product forms of network equipment are very rich. For example, during the product implementation process, the BBU can be integrated with the radio frequency unit (RFU) in the same device, and the device is connected to the antenna array via a cable (such as but not limited to a feeder). The BBU can also be set separately from the RFU, and the two are connected by optical fiber, and communicate through, for example, but not limited to, the common public radio interface (CPRI) protocol. In this case, the RFU is usually called a remote radio unit (RRU), which is connected to the antenna array via a cable. In addition, the RRU can also be integrated with the antenna array. For example, the active antenna unit (AAU) products currently on the market adopt this structure.
[0094] Furthermore, the BBU can be further broken down into multiple components. For example, the BBU can be further subdivided into a centralized unit (CU) and a distributed unit (DU) based on the real-time nature of the services it handles. The CU handles non-real-time protocols and services, while the DU handles physical layer protocols and real-time services. Furthermore, some physical layer functions can be separated from the BBU or DU and integrated into the AAU.
[0095] To facilitate understanding of the embodiments of the present application, the following briefly introduces the technical solutions related to the embodiments of the present application.
[0096] 1. Introduction to Passive Internet of Things (P-IoT) Technology
[0097] In the passive Internet of Things (IoT), some network nodes can be passive, semi-passive, semi-active, or active. For example, IoT terminals have capacitors that can store electrical energy. Energy from the environment, such as solar energy or radio frequency energy, can be stored in these capacitors. They can obtain energy through solar energy, radio frequency, wind energy, hydropower, or tidal energy, with no restrictions on the method of energy acquisition. These network nodes do not have their own power supply devices or rely on batteries. Instead, they obtain energy from the environment to support data perception, transmission, and distributed computing. These network nodes can also store the energy they obtain. Passive IoT technology can be understood as ambient power-enabled IoT (A-IoT) technology.
[0098] The passive Internet of Things architecture may include Internet of Things terminals, readers and writers, and servers, etc. The Internet of Things terminal may be in the form of a tag or any other terminal form, and there is no restriction on this. In this application, the tag can be replaced by the Internet of Things terminal. It can be understood that the tag is a specific device form of the Internet of Things terminal, and this application does not limit the device form of the Internet of Things terminal. The reader and writer may be an access network device, such as a base station, a pole station, a micro base station, a macro station, an integrated access and backhaul (IAB) node, etc.; the reader and writer may also be a terminal device, such as a mobile phone, an Internet of Things device, a handheld reader and writer, and other devices. The reader and writer performs non-contact two-way data communication through wireless radio frequency, and uses wireless radio frequency to read and write electronic tags or radio frequency cards, thereby achieving the purpose of identifying targets and exchanging data. There are two ways in which the reader works. One is that when the tag enters the effective recognition range of the reader, it receives the radio frequency signal sent by the reader and sends out the information stored in the chip with the energy obtained by the induced current (corresponding to a passive tag); the other is that the tag can store part of the electrical energy through solar energy or other means, so that it can actively send a signal of a certain frequency (corresponding to a semi-passive tag or a semi-active tag). After the reader receives and decodes the information, it sends it to the central information system for relevant data processing.
[0099] Passive IoT technology is widely used in various industries. The following briefly lists two application scenarios:
[0100] 1. Warehouse / Transportation / Supplies: Passive or semi-passive tags are embedded or affixed to goods. During the logistics process of goods stored in warehouses and shopping malls, the relevant information of the goods is automatically collected by the reader / writer. The management personnel can quickly query the goods information in the system, reducing the risk of abandonment or theft, improving the speed and accuracy of goods handover, and preventing channeling and counterfeiting;
[0101] 2. Fixed asset management: Places with large assets or valuable items, such as libraries, art galleries, and museums, require complete management procedures or rigorous protection measures. When there are abnormal changes in the storage information of books or valuable items, the administrator will be reminded in the system immediately to deal with the relevant situation.
[0102] Figure 1 shows a schematic diagram of passive IoT service transmission. Its characteristic is that core network equipment executes processes related to passive IoT services, such as tag access management, security authentication, command transmission, and tag management. Among them, the core network function can be an access management device to perform tag management, such as the access and mobility management function (AMF); it can also be the newly added function shown in Figure 1 to perform IoT terminal (such as tag) management or IoT data transmission, such as the IoT management function (IMF) or IoT terminal management function (IDMF), which can be called the ambient IoT management function (AIMF), ambient IoT terminal management function (AIDMF), passive IoT management function (PIMF), passive IoT terminal management function (PIDMF) or tag management function (TMF), and the newly added function can be connected to the access network device, and the connection methods include direct connection and indirect connection. Direct connection is equivalent to the access network device having an interface with the function, and indirect connection is to perform signaling or data forwarding through AMF. The access network device / base station acts as a reader / writer to perform IoT terminal operations, such as reading, writing, inventorying, locating, and invalidating. These operations are described in detail below. In this application, unless otherwise specified, IoT management functions and IoT management devices are interchangeable.
[0103] When the server operates the tag, it can send an operation instruction to the core network. The operation instruction may include but is not limited to executing the acquisition of tag information, inventory operation / inventory operation, read operation, write operation, invalidation operation, information exchange operation with the tag, sending a load (playload) to the tag, or positioning operation. The operation instruction may include regional location information, tag identification information, etc. The base station sends an access instruction to the tag. When the tag random access is successful, the base station will send an instruction to the tag, or the base station can forward the instruction sent by the core network to the tag. The tag obtains or sends the corresponding information according to the instruction. For example, when the instruction is an inventory instruction or an inventory operation is performed, the tag will send the identification information of the tag; when the instruction is a read instruction or a read operation is performed, the tag will send the data information stored in the tag storage area; when the instruction is a write instruction or a write operation is performed, the tag will store the data information to be written to the tag included in the instruction in the tag storage area. When the instruction is a positioning operation, the base station can instruct the tag to send a signal for performing positioning to the base station. The base station receives the positioning signal and sends the positioning signal to a device performing a positioning function, for example, a location management function (LMF), to perform the positioning operation. The base station sends or forwards the information sent by the tag to the core network, and the core network sends the information to the server.
[0104] The server can send instructions through the control plane channel. As shown in Figure 1, the server sends instructions to the AMF or other core network devices with management tags or execution tag instructions or supporting passive IoT, for example, the server sends instructions to the TMF; in this case, the server can be an application function (AF), an application server (AS), a passive IoT application function (P-IoT AF), or an ambient power-enabled IoT application function (A-IoT AF). In one possible implementation method, the P-IoT AF or A-IoT AF sends instructions to the AMF or TMF through the network exposure function (NEF).
[0105] 2. Label operation type
[0106] 1. The specific details of the tag inventory operation are as described above. In one possible implementation, the inventory operation may also include a full-tag inventory operation, that is, obtaining the identifications of tags within the reader's coverage range. It is understood that this type of operation can be named differently to distinguish it from the above-mentioned inventory operation, such as a full-tag inventory operation or an unrestricted inventory operation. Alternatively, when the tag identification range in the above-mentioned inventory operation is unrestricted, it can be understood that the inventory operation is to obtain the identifications of tags within the reader's coverage range.
[0107] 2. Read operation: Reading data from the tag. Tags can have storage capabilities, and their storage area can store data. If the requester wishes to read the tag, they send a read command to the reader. The reader then reads the tag according to the command, reads the data from the tag's storage area, and sends the data to the server.
[0108] 3. Write operation: write data to the tag. The operation requester can send a write instruction to the reader, and the reader performs a write operation on the tag according to the write instruction, writing data to the tag's storage area.
[0109] 4. Deactivate the tag. The requester can send a deactivation command to the reader. This command can include the tag ID of the tag the requester wishes to deactivate. The reader then deactivates the tag according to the deactivation command. Once the deactivation is complete, the tag becomes invalid and cannot be counted or used for any other operations.
[0110] 5. Obtain tag information. In one possible implementation, the reader obtains or receives tag information sent by the tag. The reader sends the tag information to the operation requester or the core network device. In one possible implementation, before the reader obtains the tag information sent by the tag, the reader may receive an operation instruction and send the operation instruction to the tag; the operation instruction may come from the operation requester or from the core network device, and this application does not impose any restrictions. In one possible implementation, the tag information may include tag identification information and / or information stored in the tag.
[0111] 6. Message Interaction with Tags. In one possible implementation, the reader sends a message from the operation requester / server / application to the tag. In another possible implementation, the reader receives the message from the tag and sends the message from the tag to the operation requester / server / application. In another possible implementation, the reader can exchange messages with the tag, such as exchanging random numbers, before receiving the message from the tag.
[0112] 7. Send a load to the tag. In one possible implementation, the server or application function can send a load to the tag through a reader / writer; after the reader / writer receives the load from the server or application function, it sends the load to the tag. In another possible implementation, the core network device can send a load to the tag through a reader / writer; after the reader / writer receives the load from the core network device, it sends the load to the tag. For example, the load here can be an instruction sent by the core network device or server or application function to the tag, data written by the core network device or server or application function to the tag, application layer information sent by the core network device or server or application function to the tag, etc., or the load here can also be other information related to the tag, which is not limited in this application.
[0113] 8. Positioning operation: positioning the tag or obtaining the tag's location information. In one possible implementation, the obtained tag location information may include one or more of coordinate values, longitude and latitude, cell identifier, tracking area identifier, network identifier, and the like. In one possible implementation, the tag sends a signal for performing positioning, and the reader performs positioning after receiving the signal; or the reader sends the signal to a functional device that performs position calculation after receiving the signal to perform position calculation; for example, the reader sends the signal to the LMF after receiving the signal, and the LMF performs the tag's position calculation based on the signal.
[0114] 3. IoT Terminal Protocol Stack and IoT Terminal Capabilities
[0115] Figure 2 is a schematic diagram of the IoT terminal protocol stack. The protocol stack supported by IoT terminals is primarily the control plane protocol stack, which includes the non-access stratum (NAS) protocol stack, used for interaction between the IoT terminal and the core network; the RRC (radio resource control) protocol stack, used for interaction with access network devices; and the medium access control (MAC) layer and physical layer (PHY) protocol stacks, used for data transmission.
[0116] The IoT terminal in the embodiments of the present application can be a low-power, low-complexity IoT terminal. It may not have a battery or active communication capabilities and requires network stimulation for data transmission. Furthermore, if the IoT terminal is not stimulated, it may not be able to record temporary information, and temporary information will be erased after power failure.
[0117] 4. Terminal device registration process and terminal device session establishment process
[0118] 1. Registration process for terminal devices
[0119] Figure 3 is a schematic diagram of the registration process of a terminal device. The specific steps are as follows.
[0120] 310. The terminal device sends a registration request message to the radio access network (RAN). The registration request message carries the registration type and the terminal device's identification information. The access network device includes the RAN. Registration types include the following:
[0121] (1) Initial registration: The registration process initiated when the terminal device is in the unregistered state;
[0122] (2) Mobility registration update: A registration process initiated when a terminal device moves.
[0123] (3) Periodic registration update: When the terminal device is in the registration state, the registration process is initiated due to the expiration of the periodic registration update timer;
[0124] (4) Emergency registration: A registration process initiated when the terminal device is in a service-restricted state.
[0125] If the terminal device has a valid 5G globally unique temporary identifier (5G-GUTI), the 5G-GUTI is carried in the registration request message; if the terminal device does not have a valid 5G-GUTI, the subscription concealed identifier (SUCI) is carried in the registration request message; in emergency registration, if the terminal device does not have a valid 5G-GUTI and does not have a SUCI or a subscription permanent identifier (SUPI), and the SUCI is an encrypted SUPI, the permanent equipment identifier (PEI) is carried in the registration request message.
[0126] 320, RAN selects a suitable AMF.
[0127] 330. RAN sends the registration request message sent by the terminal device to AMF. After receiving the registration request sent by the terminal device, AMF can determine that the terminal device is an NB-IoT access technology based on the cell accessed by the terminal device.
[0128] 340, AMF selects the appropriate authentication server function (AUSF) to perform authentication and other security processes; the terminal device, AMF, AUSF, and unified data management (UDM) interact to complete the authentication and other security processes; for terminal devices in the 3rd Generation Partnership Project (3GPP), this authentication process is a two-way authentication between the terminal device and the network side.
[0129] 350. After the terminal device is successfully authenticated with the network side, the AMF interacts with the UDM to obtain the contract data of the terminal device.
[0130] 360. The AMF sends a NAS message to the RAN, which the RAN needs to forward to the terminal device. The NAS message includes a registration acceptance message sent by the AMF to the terminal device.
[0131] 370. The RAN forwards the registration acceptance message (NAS message) sent by the AMF to the terminal device.
[0132] 2. Session establishment process of terminal device
[0133] Figure 4 is a schematic diagram of the session establishment process of the terminal device. The specific steps are as follows.
[0134] 401. The terminal device sends a protocol data unit (PDU) session establishment request message to the AMF. The PDU session establishment request message is a NAS message and carries parameters such as the PDU session identifier (PDU session ID), request type (request type), the name (data network name, DNN) of the data network (DN) requested by the terminal device, and single network slice selection assistance information (S-NSSAI). The single network slice selection assistance information is used to identify a network slice.
[0135] 402: AMF selects an appropriate session management function (SMF).
[0136] 403. AMF sends a PDU session creation session context request message to SMF, which carries parameters such as the terminal device identifier, the DNN requested by the terminal device, the PDU Session ID, and the S-NSSAI.
[0137] 404. SMF obtains session management contract data from UDM. This step is optional.
[0138] 405. SMF sends a PDU session creation session context response message to AMF.
[0139] 406: Execute the PDU session authentication or authorization process. This step is optional.
[0140] 407. If dynamic policy and charging control (PCC) rules are required, the SMF selects a policy control function (PCF) and establishes a session policy association with the PCF. Specifically, the SMF sends a policy association establishment request message to the PCF; the PCF sends a policy association establishment response message to the SMF; the policy association establishment response message includes policy control and charging rule information.
[0141] 408. The SMF selects an appropriate user plane function (UPF).
[0142] 409, SMF initiates a session policy association modification to PCF. In this step, SMF sends the Internet Protocol (IP) address allocated to the terminal device to PCF.
[0143] 410. The SMF establishes an N4 connection with the UPF. Specifically, the SMF sends N4 rules to the UPF. The N4 rules include packet detection rules (PDR), forwarding action rules (FAR), and other rules.
[0144] 411. The SMF sends an N1N2 message transfer message to the AMF. The N1N2 message transfer message includes information such as the PDU session identifier, N2 interface session management information (N2 SM information), and the N1 interface session management container (N1 SM container). The N2 SM information is sent by the SMF to the RAN via the AMF, while the information in the N1 SM container is sent by the SMF to the terminal device via the AMF. The AMF subsequently sends it to the terminal device via a NAS message. The N1 SM Container includes a PDU session establishment accept message. The session establishment accept message may include the IP address allocated to the terminal device, which is used as the source IP address when the terminal device sends uplink messages. The N2 SM Container includes core network tunnel information, which includes the tunnel endpoint identifier and / or address information of the UPF side; it is used as the destination address when the RAN forwards uplink data. The UPF can determine which terminal device and which session the data comes from through the core network tunnel information.
[0145] 412. The AMF sends an N2 PDU session request message to the RAN, which carries the N2 SM information and the NAS message to be sent to the terminal device. The NAS message includes the session identifier and the N1 SM Container.
[0146] 413. RAN establishes air interface resources with the terminal device, and RAN sends a NAS message to the terminal device; the NAS message carries session-related parameter information such as a PDU session establishment accept message.
[0147] 414. The RAN sends an N2 PDU Session Response message to the AMF. This message may include the access network tunnel information allocated by the RAN. The access network tunnel information includes the tunnel endpoint identifier on the RAN side and / or the address information on the RAN side. The address information may be an IP address, which is used as the destination address when the UPF forwards downlink data. The RAN can use this access network tunnel information to determine which terminal device and which session the data originated from.
[0148] 415. AMF sends the message sent by RAN to SMF via PDU session update session context request message.
[0149] 416. The SMF sends the tunnel endpoint identifier of the RAN side and / or the address information of the RAN side to the UPF through the N4 session modification process.
[0150] 417. The SMF sends a PDU session update session context response message to the AMF. The subsequent steps are optional and not relevant to the embodiment of the present application, and will not be described here.
[0151] Figure 5 is a schematic diagram of the system architecture applicable to the embodiment of the present application. The system includes core network equipment, access network equipment, terminal equipment and servers. The core network equipment includes AMF, UDM, unified data repository function (UDR), SMF, UPF, PCF, TMF; the access network equipment includes RAN; the terminal equipment includes UE and IoT terminal, and the IoT terminal includes a terminal that communicates through a reflected carrier, a terminal that supports active carrier generation, and a terminal that supports active carrier recovery. In one possible implementation, the IoT terminal can be a passive tag, a semi-passive tag, a semi-active tag, an active tag, etc.; the server includes a service requester, such as a server or AF that issues instructions. The service requester can be called an operation requester or a third party. The functions of each device are introduced below.
[0152] (1) Access and mobility management equipment (such as AMF), which can be called access and mobility management function entity, access and mobility management function network element, mobile management equipment, mobile management network element, or mobile management entity, is a type of core network equipment. The AMF can be used to manage the access control and mobility of terminal devices. In actual applications, it includes the access and mobility management functions in the mobility management entity (MME) in the network framework of LTE, and adds access management functions. Specifically, it can be responsible for the registration, mobility management, tracking area update process, reachability detection, selection of session management network element, mobile state transition management, etc. of terminal devices. For example, in 5G, the access and mobility management network element can be an AMF network element; in future communications, such as 6G, the access and mobility management network element can still be an AMF network element, or have other names, which are not limited in this application. When the access and mobility management network element is an AMF network element, the AMF can provide Namf services.
[0153] (2) IoT management function, which is used to perform functions such as management of IoT terminals or IoT terminals for environmental energy acquisition, IoT terminal data processing, IoT terminal data routing, and reader / writer management. The IoT management function can be called an IoT management function for environmental energy acquisition (e.g., AIMF) or a passive IoT management function (e.g., Passive IoT management function). The IoT management function can also be called an IoT terminal management function (e.g., IoT device management function) or an IoT terminal management device. For example, it can be called an environmental energy acquisition terminal management function (e.g., AIDMF) or a tag management function (e.g., TMF). It can parse instructions from a service requester or application function, determine the reader / writer to execute the instructions based on the instructions, instruct the reader / writer to perform IoT terminal operations or instruct the reader / writer to perform a random access process for an IoT terminal; receive data from an IoT terminal through a reader / writer; optionally, perform IoT terminal data processing and send IoT terminal data to the service requester.
[0154] (3) User plane equipment (e.g., UPF) is a type of core network equipment. This equipment is responsible for forwarding and receiving data in terminal devices. It can receive data from the data network and transmit it to the terminal device through the access network element. The user plane function network element can also receive data from the terminal device through the access network element and forward it to the data network. The transmission resources and scheduling functions provided by the user plane function network element to the terminal device are managed and controlled by the session management function network element.
[0155] (4) Session management equipment (such as SMF) is a type of core network equipment. This equipment can be used to manage the session of the terminal equipment, including the establishment, modification and release of the session, the selection and reselection of the user plane function network element, the IP address allocation of the terminal equipment, and the quality of service (QoS) control. For example, in 5G, the session management network element can be an SMF network element; in future communication systems, such as 6G, the session management network element can still be an SMF network element, or have other names, which are not limited in this application. When the session management network element is an SMF network element, the SMF can provide Nsmf services.
[0156] (5) Unified data management device (e.g., UDM) can be referred to as a unified data management network element, a data management device, or a unified data management entity. The unified data management network element is used to process terminal device identification, access authentication, registration, and mobility management, etc. In a 5G communication system, the unified data management can be a UDM or a unified data management device. In future communication systems, the unified data management can also be a UDM network element, or it can have other names, which are not limited in the embodiments of this application. The unified data management device can be a core network device, or a control plane device.
[0157] (6) User database equipment (e.g., UDR) can be referred to as a user database entity or user database network element, which can be understood as the name of a unified data storage network element in the 5G architecture. The user database mainly includes the following functions: access to contract data, policy data, application data, and other types of data.
[0158] (7) Terminal device, which can be UE, terminal, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user device. UE can also be a cellular phone, cordless phone, SIP phone, WLL station, PDA, handheld device with wireless communication function, computing device or other processing device connected to a wireless modem, vehicle-mounted device, wearable device, terminal device in 5G network or terminal device in future evolved PLMN or non-terrestrial network (NTN), etc. It can also be an end device, logical entity, smart device, such as mobile phone, smart terminal and other terminal devices, or communication equipment such as server, gateway, base station, controller, or Internet of Things device, such as tag, passive tag, active tag, semi-active tag, sensor, electricity meter, water meter and other Internet of Things devices. It can also be an unmanned aerial vehicle (UAV) with communication function. When the terminal is a passive terminal or semi-active terminal or tag, it can receive or send data by obtaining energy. Energy can be obtained through radio, solar energy, light energy, wind energy, water energy, thermal energy, kinetic energy, etc. This application does not limit the method of obtaining energy by passive or semi-active terminals. It should be noted that the tags involved in this application can be in the form of tags, or they can also be in any terminal form.
[0159] (8) The operation requester, which can be called a service requester or a third party, can be a server, an application function, or other device that instructs the execution of an operation instruction. In the embodiment of the present application, the operation requester can be understood as a device that sends an operation instruction, for example, the operation requester can be a server / P-IoT server / AF / other device that sends an operation instruction. The operation requester can correspond to a certain type of user, and this type of user can include an enterprise, a tenant, a third party, or a company, without limitation. Among them, the operation requester corresponding to a certain type of user can be understood as the operation requester belonging to this type of user and being managed by this type of user.
[0160] (9) Reader / writer, which interacts with the tag through radio frequency signals or wireless signals. It should be understood that this application does not limit the name of the reader / writer. The reader / writer can also be named as a reader or other names. It can be understood that the names of the reader / writer and the reader are interchangeable. The reader / writer here has the functions involved in the reader / writer in this application, such as the reader / writer has the function of performing the operations described in this application on the IoT terminal (obtaining tag information, inventory operation, read operation, write operation or invalidation operation or message interaction operation with the tag), the function of obtaining billing-related information and / or billing information, and the function of sending billing information to the charging function (CHF). In one possible implementation, the reader / writer can send instructions from a server or application function to the tag, or the reader / writer can send messages from the tag to the server or application function. In one possible implementation, the reader / writer can obtain the information stored in the specified tag according to the instructions issued by the server. For example, if it is an inventory operation / inventory operation, the reader / writer obtains the identification information of the tag; the identification information can be the unique identification of the tag or the temporary identification of the tag. For example, in a read operation, the reader / writer reads the data in the tag's storage area. Optionally, in some situations where the information stored in the tag needs to be rewritten, the reader / writer may also have a write function. For example, in a write operation, the reader / writer writes data to the tag's storage area. Furthermore, the reader / writer can also perform a deactivation operation on the tag. After the deactivation operation is performed, the tag becomes inactive and cannot be used to perform operations such as obtaining tag information, performing inventory operations, reading operations, exchanging messages with the tag, or writing operations. In one possible implementation, deactivating a tag means that the reader / writer cannot obtain tag information after the tag is inactive. In another possible implementation, deactivating a tag means that the reader / writer cannot exchange messages with the inactive tag after the tag is inactive. In this application, the reader / writer can be a terminal device, such as a UE, mobile phone, or handheld terminal; it can also be an access network device, such as a pole station, eNodeB, gNodeB, or IAB node. This application does not limit the form of the reader / writer.
[0161] (10) Policy control devices (e.g., PCF) are primarily responsible for providing a unified policy framework for network behavior management, policy rules for control plane functions, and obtaining registration information related to policy decisions. It should be noted that these functional units can work independently or be combined to implement certain control functions, such as access control and mobility management functions such as terminal device access authentication, security encryption, and location registration, as well as session management functions such as establishing, releasing, and changing user plane transmission paths.
[0162] Current passive IoT technology primarily considers scenarios where the access network device functions as a reader / writer. While this primarily addresses the case where the reader / writer is the access network device, supporting the terminal device as a reader / writer also requires consideration. Currently, there is an urgent need for a communication method that enables terminal devices acting as readers to communicate with IoT terminals. Figure 6 shows a schematic diagram of an access network device acting as a reader / writer and a terminal device acting as a reader / writer. When the access network device functions as a reader / writer, the IoT terminal and reader communicate via the Uu interface. When the terminal device functions as a reader / writer, the IoT terminal and reader communicate via the sidelink (SL) or Uu interface.
[0163] In the IoT scenario, there will be functional devices in the core network that are responsible for managing IoT terminals, such as AMF or TMF / AIMF / IMF. Therefore, the user plane transmission path established by the reader / writer needs to be connected to the functional device, otherwise the reader / writer cannot obtain downlink instructions from the functional device to trigger the random access process and sending instructions to the IoT terminal; similarly, when the reader / writer obtains data from the IoT terminal, it also needs to send the data to the functional device. Therefore, compared with the existing session establishment process of the terminal device, the embodiment of the present application needs to improve the session establishment method of the terminal device, so that the transmission path established by the terminal device as a reader / writer for transmitting the data corresponding to the IoT terminal can be connected (communicated) with the functional device in the core network that is responsible for managing the IoT terminal or processing the IoT terminal data.
[0164] The present application provides a communication method that enables communication between a terminal device serving as a reader / writer and an IoT terminal. In the present application, the IoT management device is exemplified by TMF, the session management device is exemplified by SMF, the user plane device is exemplified by UPF, the access and mobility management device is exemplified by AMF, and the unified data management device is exemplified by UDM. The IoT terminal in the present application may include a tag or an ambient IoT device.
[0165] Figure 7 is a schematic flow diagram of a communication method 700 provided by an embodiment of the present application. In this method, the data transmission path of the terminal device includes: terminal device-RAN-UPF-SMF-TMF-service requester or terminal device-RAN-UPF-SMF-TMF.
[0166] 710. The terminal device determines to establish a first session for transmitting IoT service data.
[0167] Exemplarily, a terminal device sends third indication information to the AMF, where the third indication information indicates that the terminal device supports the reader / writer function. The AMF receives the third indication information from the terminal device. The AMF sends the third indication information to the PCF, which receives the third indication information sent by the AMF. The PCF generates eighth information based on the third indication information, where the eighth information indicates session parameters for transmitting IoT service data, or the eighth information indicates that the terminal device establishes a session for transmitting IoT service data. The PCF sends the eighth information to the AMF, where the AMF receives the eighth information from the PCF. The AMF sends the eighth information to the terminal device, where the terminal device receives the eighth information from the AMF. The terminal device determines to establish a first session for transmitting IoT service data based on the eighth information. The third indication information may indicate whether the terminal device supports the reader / writer function. When the third indication information indicates that the terminal device supports the reader / writer function, the PCF generates the eighth information based on the third indication information, and the terminal device determines to establish the first session for transmitting IoT service data based on the eighth information.
[0168] In one possible implementation, the format, structure, message carrying the third indication information, etc. of the third indication information sent by the terminal device received by the AMF and the third indication information sent by the AMF to the PCF may be the same or different. Exemplarily, the AMF may forward the third indication information from the terminal device to the PCF. Exemplarily, the third indication information may be reader indication information, reader capability (reader capable) information, and other information. This application does not limit the specific content of the third indication information sent by the terminal device to the AMF and the third indication information sent by the AMF to the PCF.
[0169] Optionally, the eighth information includes a terminal device route selection policy (URSP) rule, and the URSP rule may be a dedicated URSP rule when the terminal device acts as a reader / writer. Optionally, the URSP rule indicates a session parameter for transmitting IoT service data. Exemplarily, the session parameter includes at least one of slice information or a data network name (DNN), and the slice information includes S-NSSAI. Optionally, the URSP rule indicates whether a new session needs to be established when transmitting IoT service data. When the URSP rule indicates that a new session needs to be established when transmitting IoT service data, the terminal device determines to establish a first session for transmitting IoT service data based on the URSP rule included in the eighth information.
[0170] Exemplarily, the traffic descriptor included in the URSP rule may indicate an IoT service or a reader / writer. In one possible implementation, the URSP rule includes one or more of the IP address, fully qualified domain name (FQDN), or DNN of the service flow to indicate the IoT service; or, the traffic descriptor adds an information element (IE) to indicate the IoT service. In another possible implementation, the traffic descriptor included in the URSP rule includes indication information for indicating a reader / writer, for example, the indication information is "reader" or "reader mode" information, which is used to indicate that when the terminal device acts as a reader / writer, a session is established according to the URSP rule.
[0171] Optionally, when the terminal device is configured as a reader / writer, a session for transmitting IoT service data can be established according to dedicated URSP rules. For example, the terminal device obtains configuration information, and the configuration information indicates that when the terminal device is used as a reader / writer, a session for transmitting IoT service data can be established according to dedicated URSP rules. Here, the terminal device acts as a reader / writer, which can be understood as the terminal device activating the reader / writer function or activating the reader / writer mode. Activating the reader / writer function can be understood as turning on the reader / writer function, and activating the reader / writer mode can be understood as turning on the reader / writer mode. Exemplarily, if the terminal device activates the reader / writer function, the terminal device determines to establish a first session for transmitting IoT service data according to the dedicated URSP rules.
[0172] In one possible implementation, the registration request message sent by the terminal device to the AMF includes the third indication information, and the registration acceptance message sent by the AMF to the terminal device includes the eighth information.
[0173] 720. The terminal device sends a session establishment request message to the SMF, where the session establishment request message is used to request the establishment of a first session for transmitting IoT service data. Correspondingly, the SMF receives the session establishment request message from the terminal device. The session establishment request message includes at least one of the request type, the identifier of the first session, the name of the data network requested by the terminal device, or slice information. Optionally, when the URSP rule included in the eighth information indicates that a new session needs to be established when transmitting IoT service data, the terminal device determines to establish a first session for transmitting IoT service data based on the eighth information, and then sends a session modification message to the SMF, where the session modification message is used to request the establishment of a first session for transmitting IoT service data. Specifically, the terminal device sends the session establishment request message to the AMF, and correspondingly, the AMF receives the session establishment request message from the terminal device; based on the session establishment request message, the AMF selects an SMF that supports IoT services, and the AMF sends the session establishment request message to the SMF; correspondingly, the SMF receives the session establishment request message sent by the AMF.
[0174] Exemplarily, one or more of the request type, the identifier of the first session, the name of the data network requested by the terminal device, or the slice information included in the session establishment request message is used to indicate that the first session requested to be established by the session establishment request message is used to transmit IoT service data. Exemplarily, the session establishment request message includes fourth indication information, and the fourth indication information is used to indicate that the first session is used to transmit IoT service data. Exemplarily, the fourth indication information can be IoT indication information, such as passive IoT indication information or ambient IoT indication information.
[0175] In one possible implementation, the request type may indicate that the first session is used to transmit IoT service data, or that the first session is a session established when the terminal device functions as a reader / writer. Exemplarily, the session type indicated by the request type may be an IoT session or a reader / writer session.
[0176] In another possible implementation, the first session identifier may indicate that the first session is used to transmit IoT service data, or may indicate that the first session is established when the terminal device functions as a reader / writer. For example, the first session identifier may be a specific session identifier indicating the transmission of IoT service data, such as a session identifier using a specific numeric value, string, or encoding format.
[0177] In another possible implementation, the data network name and / or slice information may indicate that the first session is used to transmit IoT service data, or may be used to indicate that the first session is a session established when the terminal device acts as a reader / writer. For example, the data network name and / or slice information may be a specific data network name and / or slice information indicating an IoT service.
[0178] Optionally, the AMF may send information about the access network device serving the terminal device to the SMF; for example, identification information of the access network device serving the terminal device, the identification information of the access network device including the global radio access network node identifier (global RAN node ID), the identifier of the non-3GPP interworking function (N3IWF), the identifier of the trusted non-3GPP access point (TNAP), the identifier of the trusted non-3GPP gateway function (TNGF), the identifier of the trusted WLAN interworking function (TWIF), or the identifier of the wireline access gateway function (W-AGF), etc. The information about the access network device serving the terminal device can be used to determine the location of the terminal device.
[0179] Optionally, the AMF may send the location information of the terminal device to the SMF. For example, the location information of the terminal device may include identification information of the access network device serving the terminal device, tracking area identifier (TAI), cell ID, longitude and latitude information or coordinate value information, etc.
[0180] In a possible implementation, the AMF may send information about the access network device serving the terminal device or the location information of the terminal device to the SMF through a service-based message. The service-based message may be a PDU session creation session context request (Nsmf_PDUSession_CreateSMContext Request) message or other service-based messages. The PDU session creation session context request message includes a session establishment request message and information about the access network device serving the terminal device / location information of the terminal device. Exemplarily, the session establishment request message sent by the AMF to the SMF includes information about the access network device serving the terminal device or the location information of the terminal device.
[0181] 730. SMF establishes an IoT service transmission path with UPF and TMF respectively according to the session establishment request message or the fourth indication information, where the IoT service transmission path is used to transmit IoT service data.
[0182] In one possible implementation, when the SMF determines that a transmission path needs to be established for transmitting IoT service data based on the session establishment request message or the fourth indication information, the SMF establishes the transmission path with the UFP and TMF respectively. Exemplarily, the SMF determines that a transmission path needs to be established for transmitting IoT service data based on information in the session establishment request message that may indicate that the first session is used to transmit IoT service data, such as one or more of the request type, session identifier, data network name, or slice information.
[0183] Optionally, the SMF sends a second request message to the UPF, requesting the establishment of an IoT service transmission path between the SMF and the UPF. The second request message includes an identifier for the IoT service transmission path between the SMF and the UPF and first indication information. The first indication information instructs the UPF to allocate an uplink destination address for the terminal device to transmit IoT service data. In one possible implementation, the first indication information may be the name or type of the second request message. Exemplarily, the name or type of the second request message may instruct the UPF to allocate an uplink destination address for the terminal device to transmit IoT service data. The UPF receives the second request message from the SMF. Based on the second request message, the UPF allocates an uplink destination address for the terminal device to transmit IoT service data. Exemplarily, the uplink destination address is the address information of the UPF. The UPF sends a second response message to the SMF, indicating that the IoT service transmission path between the SMF and the UPF is established. The second response message includes the uplink destination address / UPF address information for the terminal device to transmit IoT service data. The SMF receives the second response message from the UPF. When a terminal device needs to transmit IoT service data to the network, it can use the UPF's address information as the uplink destination address. When the UPF receives data whose uplink destination address is the UPF's address information, it can determine that the data is IoT service data, or that the data is IoT service data transmitted by the terminal device. The UPF then sends the data to the SMF. In this implementation, the SMF instructs the UPF to allocate the uplink destination address / UPF address information for the terminal device to transmit IoT service data.
[0184] Optionally, the SMF sends a second request message to the UPF, and the second request message is used to request the establishment of an IoT service transmission path between the SMF and the UPF. The second request message includes an identifier of the IoT service transmission path between the SMF and the UPF and the address information assigned by the SMF. In one possible implementation, the address information is the uplink destination address when the terminal device transmits IoT service data. The address information may be the address information used by the UPF; exemplarily, the address information is the address information of the UPF. The UPF receives the second request message from the SMF; based on the second request message, the UPF sends a second response message to the SMF, and the second response message indicates that the IoT service transmission path between the SMF and the UPF is established; the SMF receives the second response message from the UPF. In this implementation, the SMF assigns the address information of the uplink destination address / UPF used for the terminal device to transmit IoT service data, and sends the address information of the uplink destination address / UPF to the UPF.
[0185] Optionally, the SMF sends a second request message to the UPF, requesting establishment of a second session between the SMF and the UPF. The second request message includes an identifier for the second session and first indication information. The first indication information instructs the UPF to allocate an uplink destination address for the terminal device to transmit IoT service data. For example, the first indication information instructs the UPF to allocate an uplink destination address for the terminal device to transmit IoT service data. In one possible implementation, the first indication information may be the name or type of the second request message. Exemplarily, the name or type of the second request message may instruct the UPF to allocate an uplink destination address for the terminal device to transmit IoT service data. The UPF receives the second request message from the SMF. Based on the second request message, the UPF allocates an uplink destination address for the terminal device to transmit IoT service data. Exemplarily, the uplink destination address may be the address information of the UPF. The UPF sends a second response message to the SMF, indicating the completion of the second session establishment. The second response message includes the address information of the UPF. The SMF receives the second response message from the UPF. Establishing a second session between the SMF and the UPF is equivalent to establishing a transmission path for transmitting IoT service data between the SMF and the UPF. The second session may be a session established through the N4 interface, which may be referred to as an N4 session. In this implementation, the SMF instructs the UPF to allocate the uplink destination address / UPF address information for transmitting IoT service data to the terminal device.
[0186] Optionally, the SMF sends a second request message to the UPF, and the second request message is used to request the establishment of a second session between the SMF and the UPF. The second request message includes the identifier of the second session and the address information assigned by the SMF. In one possible implementation, the address information is the uplink destination address when the terminal device transmits IoT service data. The address information can be the address information used by the UPF; exemplarily, the address information is the address information of the UPF. The UPF receives the second request message from the SMF; based on the second request message, the UPF sends a second response message to the SMF, and the second response message indicates that the establishment of the second session is complete; the SMF receives the second response message from the UPF. In this implementation, the SMF allocates the uplink destination address / UPF address information for the terminal device to transmit IoT service data, and sends the uplink destination address / UPF address information to the UPF.
[0187] Optionally, before the SMF sends the second request message to the UPF, the SMF selects a UPF that supports the transmission of IoT service data based on the session establishment request message or the fourth indication information from the terminal device; the SMF sends the second request message to the UPF that supports the transmission of IoT service data. Optionally, the second request message sent by the SMF to the UPF also includes N4 rules, and the N4 rules include PDR, FAR and other rules. In one possible implementation, the first indication information may be included in the N4 rule. In another possible implementation, the address information assigned by the SMF / the address information of the UPF may be included in the N4 rule. Exemplarily, the address information of the UPF assigned by the SMF may be included in the PDR. Exemplarily, when the PDR includes the address information of the UPF assigned by the SMF, the FAR may also include information for instructing the UPF to forward the IoT service data whose uplink destination address is the address information of the UPF to the SMF.
[0188] Exemplarily, the address information of the UPF includes one or more of the following information: the IP address, MAC address, or port information of the UPF. The IP address may include one or more of the following information: an IPv4 address, an IPv6 address, or an IPv6 prefix.
[0189] In one possible implementation, the second request message may be an N4 message, such as an N4 session establishment request message or an N4 session modification request message; the second response message may be an N4 message, such as an N4 session establishment response message or an N4 session modification response message.
[0190] In one possible implementation, the IoT service transmission path between SMF and UPF is established or the second session is established. It can be understood that UPF has installed or configured the rules sent by SMF, such as the N4 rule.
[0191] Optionally, the SMF sends a first request message to the TMF, the first request message being used to request the establishment of an IoT service transmission path between the SMF and the TMF, the first request message including at least one of an identifier of the terminal device, address information of the terminal device, or an identifier of the first session; correspondingly, the TMF receives the first request message from the SMF; the TMF establishes the IoT service transmission path between the TMF and the SMF based on the first request message; the TMF sends a first response message to the SMF, the first response message indicating that the IoT service transmission path between the SMF and the TMF has been established; and the SMF receives the first response message from the TMF. The address information of the terminal device in the embodiments of the present application can be understood as the address information corresponding to the terminal device, for example, the address information of the UPF corresponding to the terminal device, or the address information of the SMF corresponding to the terminal device, or the address information of the terminal device. The address information of the UPF corresponding to the terminal device can be understood as the address information of the UPF serving the terminal device. The address information of the SMF corresponding to the terminal device can be understood as the address information of the SMF serving the terminal device.
[0192] In one possible implementation, the first request message may be a service message, such as Ntmf PDUSession_SMContext_Create Request or Nsmf PDUSession_SMContext_Create Request message; in another possible implementation, the first response message may be a service message, such as Ntmf PDUSession_SMContext_Create Response or Nsmf PDUSession_SMContext_Create Response message.
[0193] Optionally, the SMF may send one or more of the following to the TMF: the location information of the terminal device, the information of the mobile management device serving the terminal device, and the information of the access network device serving the terminal device. Exemplarily, the mobile management device serving the terminal device may be the AMF serving the terminal device. The information of the AMF serving the terminal device includes the identification information, domain name information, or address information of the AMF serving the terminal device. For example, the identification information of the AMF serving the terminal device may be the globally unique AMF identifier (GUAMI) of the AMF; the domain name information of the AMF may be the FQDN of the AMF; and the address information of the AMF may be the IP address or MAC address of the AMF.
[0194] Optionally, the first request message sent by SMF to TMF includes one or more of the location information of the terminal device, information of the mobile management device serving the terminal device, and information of the access network device serving the terminal device. Exemplarily, the first request message sent by SMF to TMF includes information of the AMF serving the terminal device and / or information of the RAN serving the terminal device, which can be used to determine the location of the terminal device. Exemplarily, the first request message sent by SMF to TMF includes the location information of the terminal device. In a possible implementation, SMF may send one or more of the information of the mobile management device serving the terminal device, information of the access network device, or location information of the terminal device to TMF via a service-based message, and the service-based message may be an Ntmf_PDUSession_SMContext_Create Request message.
[0195] 740. The SMF sends a Session Establishment Accept message to the terminal device. This Session Establishment Accept message includes the uplink destination address for the terminal device to transmit IoT service data, which includes the address information of the UPF. Correspondingly, the terminal device receives the Session Establishment Accept message from the SMF. Optionally, the Session Establishment Accept message includes the IP address allocated to the terminal device by the SMF or UPF, which is used as the source IP address for the terminal device's uplink transmission.
[0196] Exemplarily, the SMF sends an N1N2 message transfer message to the AMF, for example, the N1N2 message transfer message is a Namf_Communication_N1N2MessageTransfer message. Correspondingly, the AMF receives an N1N2 message transfer message from the SMF. The N1N2 message transfer message includes the identifier of the first session, N1 interface session management container information, and N2 interface session management information. The N1 interface session management container information includes a session establishment accept message. The N2 interface session management information needs to be sent to the RAN accessed by the terminal device via the AMF, and the N1 interface session management container information needs to be sent to the terminal device via the AMF. The N2 interface session management information includes the UPF's tunnel endpoint identifier information and / or the UPF's address information, which is used as the destination address when the RAN forwards the terminal device's uplink data. When the destination address of the uplink data received by the UPF is the UPF's tunnel endpoint identifier information or the UPF's address information, the UPF can determine which terminal device and which session the uplink data originates from.
[0197] The AMF sends an N2 PDU Session Request message to the RAN. The N2 PDU Session Request message includes N2 interface session management information and a NAS message to be sent to the terminal device. The NAS message includes the identifier of the first session and N1 interface session management container information. The RAN receives the N2 PDU Session Request message sent by the AMF and sends a NAS message including the identifier of the first session and N1 interface session management container information to the terminal device. The terminal device receives the NAS message sent by the RAN and obtains a session establishment accept message based on the NAS message. The RAN sends an N2 PDU Session Response message to the AMF. The N2 PDU Session Response message is used to indicate that the NAS message has been successfully sent to the terminal device.
[0198] Optionally, the N2 PDU session response message sent by the RAN to the AMF includes the tunnel endpoint identification information of the RAN and / or the address information of the RAN, which is used as the destination address when the UPF forwards the downlink data of the terminal device. When the RAN receives downlink data whose downlink destination address is the tunnel endpoint identification information of the RAN or the address information of the RAN, it can know which session of which terminal device the downlink data belongs to. After the AMF receives the N2 PDU session response message including the tunnel endpoint identification information of the RAN and / or the address information of the RAN, the AMF can send the tunnel endpoint identification information of the RAN and / or the address information of the RAN to the SMF via a PDU session update session context request message; the SMF sends the tunnel endpoint identification information of the RAN and / or the address information of the RAN to the UPF through the N4 session modification process; and the SMF sends a PDU session update session context response message to the AMF.
[0199] 750, SMF sends the first information to UPF, and the first information instructs UPF to send the IoT service data to SMF when the uplink destination address of the received IoT service data is the address of the UPF. Step 750 may be executed simultaneously with step 740, or may be executed before step 740, and there is no specific limitation on this. In one possible implementation, SMF may send the first information to UPF in step 730. In one possible implementation, the first information may be the N4 rule; the N4 rule instructs UPF to send the IoT service data to SMF when it receives the IoT service data whose uplink destination address is the address of the UPF. For example, the PDR in the N4 rule indicates the IoT service data whose uplink destination address is the address of the UPF, and the FAR corresponding to the PDR instructs UPF to report the IoT service data to SMF.
[0200] In the technical solution provided in the embodiments of the present application, a terminal device supporting reader / writer functionality can request the SMF to establish a first session for transmitting IoT service data. The SMF establishes an IoT service transmission path with the UPF and TMF, respectively, for transmitting IoT service data. The uplink destination address of the IoT service data transmitted by the terminal device is the address of the UPF. When the uplink destination address of the received IoT service data is the address of the UPF, the UPF sends the IoT service data to the SMF. The UPF sends the IoT service data to the SMF via the transmission path established in step 730. The SMF receives the IoT service data from the UPF via the transmission path established in step 730. The SMF sends the IoT service data to the functional device responsible for managing IoT terminals or the functional device responsible for managing IoT services, such as the TMF or AIMF. This solution enables a terminal device acting as a reader / writer to communicate with an IoT terminal and connect with the functional device responsible for managing IoT terminals in the core network. When acting as a reader / writer, the terminal device can transmit IoT service data to the TMF via the UPF and SMF. In addition, terminal devices have good mobility and wide distribution, and when terminal devices are used as readers, they are more flexible than when access network devices are used as readers.
[0201] Optionally, the service requester sends fourth information to the TMF, and the fourth information indicates that the IoT service instruction is to be executed in the target area; the TMF receives the fourth information from the service requester; and the TMF determines, based on the fourth information, the terminal device located in the target area to execute the IoT service instruction. In one possible implementation, the TMF determines, based on one or more of the location information of the terminal device sent by the SMF, the information of the mobile management device serving the terminal device, or the information of the access network device serving the terminal device, the terminal device is located in the target area to execute the IoT service instruction. Exemplarily, the TMF determines, based on one or more of the location information of the terminal device sent by the SMF, the information of the mobile management device serving the terminal device, or the information of the access network device serving the terminal device, and the target area, the terminal device is located in the target area or is located in the target area, and determines that the terminal device is to execute the IoT service instruction.
[0202] In another possible implementation, the TMF determines that the terminal device is within the target area by triggering the terminal device's positioning process, and determines that the terminal device is to execute the IoT service instruction. In another possible implementation, the TMF determines that the terminal device is within the target area based on the terminal device's location information obtained from the UDM or the location information of the terminal device supporting the reader / writer function, and determines that the terminal device is to execute the IoT service instruction.
[0203] The TMF sends a second message to the SMF serving the terminal device, where the second message instructs the terminal device to execute the IoT service instruction. The second message includes the identification information of the terminal device or the identification information corresponding to the terminal device. For example, the second message includes the SUPI, SUCI, general public subscription identifier (GPSI), reader ID, or identification information of the first session of the terminal device. The SMF serving the terminal device can be understood as the SMF that establishes the IoT service transmission path corresponding to the terminal device with the TMF, or the SMF that manages the first session established by the terminal device for transmitting IoT service data.
[0204] SMF receives the second information sent by TMF. SMF determines that the terminal device needs to execute the IoT service instruction based on the second information. Exemplarily, SMF determines to send the IoT instruction to the terminal device based on the identification information of the terminal device included in the second information or the identification information corresponding to the terminal device. SMF sends third information to the UPF serving the terminal device, and the third information instructs the terminal device to execute the IoT service instruction. The third information includes the identification information of the terminal device or the identification information corresponding to the terminal device. In one possible implementation, SMF sends the third information to the UPF through the transmission path corresponding to the terminal device or the second session. Among them, the UPF serving the terminal device can be understood as a UPF that establishes a transmission path with the terminal device for transmitting IoT service data.
[0205] The UPF receives the third information sent by the SMF, and based on the third information, the UPF sends a sixth information to the terminal device (via the access network device), instructing the terminal device to execute the IoT service instruction. The terminal device receives the sixth information sent by the UPF (via the access network device) and executes the IoT service instruction based on the sixth information. In this implementation, the TMF instructs the terminal device to execute the IoT service instruction through the SMF and UPF (user plane).
[0206] Optionally, the service requester sends fourth information to the TMF, the fourth information instructing to execute the IoT service instruction in the target area; the TMF receives the fourth information from the service requester; based on the fourth information, the TMF determines the terminal device located in the target area to execute the IoT service instruction; the TMF sends fifth information to the AMF serving the terminal device, the fifth information instructing the terminal device to execute the IoT service instruction; the AMF receives the fifth information sent by the TMF, and the AMF sends ninth information to the terminal device based on the fifth information, the ninth information instructing the terminal device to execute the IoT service instruction; the terminal device receives the ninth information sent by the AMF and executes the IoT service instruction based on the ninth information. In this implementation, the TMF instructs the terminal device to execute the IoT service instruction through the AMF (control plane).
[0207] In one possible implementation, the second information, third information, fourth information, fifth information, sixth information, and ninth information may be information in the same format or in different formats, and the messages carrying these information may be the same message or different messages, which is not limited in this application. In one possible implementation, the IoT instructions included in the second information, third information, fourth information, fifth information, sixth information, and ninth information have the same function.
[0208] For example, the TMF can determine the terminal device that executes the IoT service instruction based on the operation type indicated by the IoT service instruction and the target area information. For example, when the operation type indicated by the IoT service instruction is a short-range operation such as a read operation, a write operation, or a positioning operation, the TMF can determine that the terminal device located in the target area and capable of performing such operations will execute the IoT service instruction.
[0209] For example, when an IoT service instruction instructs to obtain target IoT service data from or write target IoT service data to a specific IoT terminal, the TMF can determine the terminal device that executes the IoT service instruction based on the IoT terminal's identification information and target area information included in the IoT service instruction. For example, based on historical operation records or inventory records, the TMF can determine the terminal device that is located in the target area and last obtained IoT service data from the IoT terminal to execute the IoT service instruction.
[0210] Exemplarily, when an IoT service instruction instructs obtaining target IoT service data from an IoT terminal, the terminal device receives the target IoT service data from the IoT terminal according to the IoT service instruction, wherein the second information, the third information, the fourth information, and the sixth information include identification information of the IoT terminal. The terminal device sends the target IoT service data to the UPF using the uplink destination address / the address information of the UPF. The UPF receives the target IoT service data from the terminal device. The UPF determines, based on the uplink destination address / the address information of the UPF, that the IoT service data is sent for the terminal device, and sends the target IoT service data to the SMF via the IoT service transmission path or the second session established with the SMF in step 730. The SMF receives the target IoT service data from the UPF via the IoT service transmission path or the second session established with the UPF in step 730. The SMF determines, based on the IoT service transmission path or the second session, that the target IoT service data is sent for the terminal device. The SMF sends the target IoT service data to the TMF via the IoT service transmission path corresponding to the terminal device / the IoT service transmission path between the SMF and the TMF established in step 730. The TMF receives the target IoT service data from the SMF and sends it to the service requester. After receiving the target IoT service data from the SMF, the TMF can either directly forward it to the service requester or process it and then send the processed data to the service requester.
[0211] For example, the fourth information sent by the service requester to the TMF may include the address information of the server corresponding to the service requester. The TMF then sends this server address information, along with the IoT service instruction, to the terminal device via the SMF and UPF, or AMF. When the IoT service instruction instructs the terminal device to obtain target IoT service data from the IoT terminal, the terminal device receives the target IoT service data from the IoT terminal in accordance with the IoT service instruction. The terminal device may use the server address information as the uplink destination address and transmit the target IoT service data to the server via the RAN and UPF corresponding to the terminal device. This approach enables faster transmission of uplink data to the server or reduces circuitous transmission, thereby improving the user experience.
[0212] The fourth information includes information about the target area for executing the IoT service instruction, and the information about the target area includes at least one of geographic location information, cell identification, tracking area identification, or operating area identification. The geographic location information includes information such as longitude and latitude, coordinate values, etc. The information about the target area may also be other information that can be used to characterize the location of the area, which is not limited in this application. In one possible implementation, the TMF may map or convert the information about the target area into information about the access network device, information about the mobile management device, or location information of the terminal device. The TMF may determine the terminal device located in the target area based on the location information of the terminal device, information about the mobile management device serving the terminal device, or information about the access network device serving the terminal device.
[0213] The fourth information may also include identification information of the IoT terminal. The IoT terminal identification may be a tag identification or an IoT terminal identification segment. The IoT terminal identification segment may be used to indicate one or more IoT terminals. The IoT service instructions in the embodiments of the present application may indicate any operation type including inventory operation / inventory operation, read operation, write operation, invalidation operation, obtaining tag information, message interaction operation with a tag (IoT terminal), sending a load to a tag (IoT terminal), or positioning operation.
[0214] In one possible implementation, the terminal device determined by the TMF to execute IoT service instructions may be a terminal device with an activated reader / writer function. In one scenario, a terminal device supporting the reader / writer function must activate the reader / writer function before it can be used as a reader / writer. In another scenario, the reader / writer function of a terminal device supporting the reader / writer function is already activated and can be used directly as a reader / writer. In this scenario, the terminal device supporting the reader / writer function can be understood as having activated the reader / writer function and can be used directly as a reader / writer.
[0215] Optionally, in the case where a terminal device supporting the reader / writer function needs to activate the reader / writer function before it can be used as a reader / writer, the TMF determines that the terminal device executing the IoT service instruction has activated the reader / writer function. Optionally, in the case where a terminal device supporting the reader / writer function needs to activate the reader / writer function before it can be used as a reader / writer, the TMF determines that the terminal device executing the IoT service instruction has activated the reader / writer function and is located within the target area.
[0216] Exemplarily, after the reader / writer function of the terminal device is activated, the terminal device sends a second indication message to the TMF through the AMF (control plane), or SMF and UPF (user plane), and the second indication message is used to indicate that the terminal device has activated the reader / writer function; correspondingly, the TMF receives the second indication message from the terminal device, and the TMF determines that the terminal device has activated the reader / writer function based on the second indication message.
[0217] Exemplarily, the TMF sends a subscription request message to the UDM, which is used to obtain information about terminal devices that support the reader / writer function. The UDM receives the subscription request message from the UDM. The UDM sends a subscription response message to the TMF, which includes at least one of the following: an identifier of the terminal device that supports the reader / writer function, location information of the terminal device that supports the reader / writer function, status information of the terminal device that supports the reader / writer function, and information about the core network device that serves the terminal device that supports the reader / writer function. The TMF receives a subscription response message / subscription notification message from the UDM and, based on the subscription response message / subscription notification message, determines that the terminal device has activated the reader / writer function. The status information of the terminal device that supports the reader / writer function includes at least one of a registered state, a deregistered state, a connected state, an inactive state, or an idle state. In this example, the reader / writer function of the terminal device that supports the reader / writer function can be considered to be activated.
[0218] Optionally, the AMF serving the terminal device sends a fifth indication message to the UDM, where the fifth indication message is used to indicate that the terminal device supports the reader / writer function; correspondingly, the UDM receives the fifth indication message from the AMF, and determines the terminal devices that support the reader / writer function / learns which terminal devices support the reader / writer function based on the fifth indication message.
[0219] Figure 8 is a schematic diagram of the protocol stack corresponding to a communication method provided by the present application. A transmission path for transmitting IoT service data is established between the SMF and the UPF, with a second session established via the N4 interface. A transmission path for transmitting IoT service data is also established between the SMF and the TMF. The SMF can communicate or transmit data with the TMF via a service-based interface, with the terminal device's uplink destination address being the UPF's address. The terminal device's data transmission path or IoT service data transmission path includes the following: terminal device-RAN-UPF-SMF-TMF.
[0220] The following describes the communication method provided by the embodiments of the present application with reference to specific examples. Figure 9 is a schematic diagram of the registration process for a terminal device in the communication method provided by the embodiments of the present application, and Figure 10 is a schematic diagram of the session establishment process for a terminal device in the communication method provided by the embodiments of the present application. Step 1001 in Figure 10 is performed after step 909 in Figure 9.
[0221] 901, TMF sends a subscription request message to UDM, where the subscription request message is used to obtain information about terminal devices that support the reader / writer function. It can be understood that the subscription request message is used by UDM to notify TMF when UDM determines that a terminal device supports the reader / writer function.
[0222] Optionally, the subscription request message can be used to obtain location information of terminal devices that support reader / writer functions. Optionally, the subscription request message can be used to obtain status information of terminal devices that support reader / writer functions, such as at least one of registration status, deregistration status, connection status, inactive status, or idle status. Optionally, the subscription request message can be used to obtain information about core network devices or access network devices that serve terminal devices that support reader / writer functions. The subscription request message may not include an identifier of the terminal device, but may also include an identifier of the terminal device. The identifier of the terminal device may be SUPI, GPSI, or SUCI, etc. When the subscription request message does not include an identifier of the terminal device, the subscription request message may indicate obtaining information about all terminal devices that support reader / writer functions; when the subscription request message includes an identifier of the terminal device, the subscription request message may indicate obtaining information about the terminal device that supports the reader / writer function corresponding to the identifier of the terminal device. The contract data of terminal devices stored in the UDM may include information about different terminal devices supporting reader / writer functions. When the information of different terminal devices supporting reader / writer functions is added, updated, or deleted, the UDM may send a subscription response message to the TMF. The subscription response message includes at least one of the following: the identification of the terminal device supporting the reader / writer function, the location information of the terminal device supporting the reader / writer function, the status information of the terminal device supporting the reader / writer function, and the information of the core network device serving the terminal device supporting the reader / writer function. The information of the core network device or access network device serving the terminal device supporting the reader / writer function may include the identification information, address information, or domain name information of core network devices such as AMF, SMF, and PCF, or the identification information, address information, or domain name information of RAN, TNGF, N3IWF, TNAP, TWIF, and W-AGF.
[0223] In one possible implementation, the UDM can be replaced with a UDR. The contract data can be stored in the UDR or UDM, and the TMF can subscribe to the UDR or UDM to obtain the contract data.
[0224] At 902, the terminal device sends a registration request message to the RAN. The RAN receives the registration request message from the terminal device. The RAN selects an appropriate AMF and forwards the registration request message sent by the terminal device to the AMF. The registration request message includes third indication information, the registration type, and identification information of the terminal device. The third indication information indicates that the terminal device supports reader / writer functionality. For example, the terminal device may indicate whether it supports user plane transmission when used as a reader / writer. In one possible implementation, the third indication information may indicate whether the terminal device supports user plane transmission when used as a reader / writer.
[0225] 903: The terminal device, AMF, and UDM interact to complete security processes such as authentication.
[0226] At 904, after receiving the registration request message from the terminal device, the AMF sends fifth indication information to the UDM based on the third indication information. The fifth indication information is used to indicate that the terminal device supports the reader / writer function. Correspondingly, the UDM receives the fifth indication information from the AMF and determines that the terminal device supports the reader / writer function based on the fifth indication information.
[0227] Optionally, if the registration request message sent by the terminal device does not include the third indication information, and the contract data stored in the UDM includes the contract data indicating that the terminal device supports the reader / writer function, the UDM may send an indication information to the AMF indicating that the terminal device supports the reader / writer function. It can be understood that the AMF can learn through the UDM that the terminal device supports the reader / writer function.
[0228] 905. The UDM sends a subscription response message to the TMF. The subscription response message includes at least one of the following: an identifier of the terminal device supporting the reader / writer function, location information of the terminal device supporting the reader / writer function, status information of the terminal device supporting the reader / writer function, and information about a core network device or access network device serving the terminal device supporting the reader / writer function. Exemplarily, the core network device may include an AMF, SMF, PCF, or other device.
[0229] 906, AMF establishes a policy association with PCF; AMF sends a third indication information to PCF, and the third indication information is used to indicate that the terminal device supports the reader / writer function. In one possible implementation, the format, structure, and message carrying the third indication information of the third indication information sent by AMF to PCF and the third indication information received by AMF from UE may be the same or different. PCF generates the eighth information based on the third indication information. The terminal device can establish a first session for transmitting IoT service data based on the eighth information. In one possible implementation, the eighth information is a dedicated URSP rule when the terminal device acts as a reader / writer.
[0230] In one possible implementation, the PCF may also learn from the contract data stored in the UDM that the terminal device supports the reader / writer function, and generate the eighth information for transmitting IoT service data.
[0231] 907. PCF sends the eighth information to AMF. Correspondingly, AMF receives the eighth information sent by PCF.
[0232] 908. The AMF sends a registration acceptance message to the terminal device, where the registration acceptance message includes the eighth information. Correspondingly, the terminal device receives the registration acceptance message from the AMF. In another possible implementation, the PCF sends the eighth information to the terminal device through a configuration update process or a policy update process.
[0233] Optionally, the terminal device sends the transmission result of the eighth information to AMF; AMF forwards the transmission result of the eighth information to PCF.
[0234] 909. The terminal device determines to establish a first session for transmitting IoT service data based on the eighth information / dedicated URSP rule. For example, if the terminal device has activated the reader / writer function, the terminal device determines to establish the first session for transmitting IoT service data based on the eighth information or the dedicated URSP rule.
[0235] 1001. The terminal device AMF sends a session establishment request message, requesting the establishment of a first session for transmitting IoT service data. The session establishment request message includes at least one of the request type, the identifier of the first session, the name of the data network requested by the terminal device, or slice information. Correspondingly, the AMF receives the session establishment request message from the terminal device.
[0236] Exemplarily, one or more of the request type, the identifier of the first session, the name of the data network requested by the terminal device, or slice information included in the session establishment request message is used to indicate that the first session requested by the session establishment request message is used to transmit IoT service data. Exemplarily, the session establishment request message includes fourth indication information, which is used to indicate that the first session is used to transmit IoT service data. The fourth indication information can be IoT indication information, such as passive IoT indication information or ambient IoT indication information.
[0237] 1002. AMF selects an SMF that supports the IoT service. In one possible implementation, the AMF selects an SMF that supports the IoT service based on one or more of the request type, the identifier of the first session, the name of the data network requested by the terminal device, or the slice information.
[0238] 1003. AMF sends a session establishment request message to the SMF. Correspondingly, SMF receives the session establishment request message sent by AMF.
[0239] Optionally, the AMF may send information about the access network device serving the terminal device or the location information of the terminal device to the SMF. The information about the access network device serving the terminal device may be used to determine the location of the terminal device. Exemplarily, the information about the access network device serving the terminal device includes identification information of the access network device. Exemplarily, the location information of the terminal device may include identification information of the access network device serving the terminal device, tracking area identification, cell identification, longitude and latitude information, or coordinate value information.
[0240] In one possible implementation, the AMF may send information about the access network device serving the terminal device or the location information of the terminal device to the SMF via a servicing message. Exemplarily, the servicing message is a PDU session creation session context request message, which includes a session establishment request message and information about the access network device serving the terminal device / location information of the terminal device. Exemplarily, the session establishment request message sent by the AMF to the SMF includes information about the access network device serving the terminal device or the location information of the terminal device.
[0241] According to the session establishment request message or the fourth indication information, the SMF determines that a transmission path for transmitting IoT service data needs to be established, and determines to establish the transmission path with the UFP and TMF respectively.
[0242] 1004. SMF selects the UPF that supports the Internet of Things service based on the session establishment request message or the fourth indication information.
[0243] 1005. The SMF and the UPF establish an IoT service transmission path, which is used to transmit IoT service data. Establishing the IoT service transmission path between the SMF and the UPF can be regarded as establishing an N4 connection between the SMF and the UPF.
[0244] Optionally, the SMF sends a second request message to the UPF, requesting the establishment of an IoT service transmission path between the SMF and the UPF. The second request message includes an identifier of the IoT service transmission path between the SMF and the UPF and first indication information, the first indication information instructing the UPF to assign an uplink destination address for the terminal device to transmit IoT service data. The UPF receives the second request message from the SMF. Based on the second request message, the UPF assigns an uplink destination address for the terminal device to transmit IoT service data. The uplink destination address is the address information of the UPF. The UPF sends a second response message to the SMF, indicating that the IoT service transmission path between the SMF and the UPF has been established. The second response message includes the address information of the UPF. The SMF receives the second response message from the UPF. When the terminal device needs to transmit IoT service data to the network, it can use the address information of the UPF as the uplink destination address. When the UPF receives data whose uplink destination address is the address information of the UPF, it can determine that the data is IoT service data, or can determine that the data is IoT service data transmitted by the terminal device. In this implementation, the SMF instructs the UPF to allocate the uplink destination address / UPF address information for the terminal device to transmit IoT service data.
[0245] Optionally, the SMF sends a second request message to the UPF, where the second request message is used to request the establishment of an IoT service transmission path between the SMF and the UPF. The second request message includes an identifier for the IoT service transmission path between the SMF and the UPF and address information assigned by the SMF. The address information is the uplink destination address when the terminal device transmits IoT service data. Exemplarily, the address information is the address information of the UPF. The UPF receives the second request message from the SMF. Based on the second request message, the UPF sends a second response message to the SMF, where the second response message indicates that the IoT service transmission path between the SMF and the UPF has been established. The SMF receives the second response message from the UPF. In this implementation, the SMF assigns the uplink destination address / UPF address information for the terminal device to transmit IoT service data, and sends the uplink destination address / UPF address information to the UPF.
[0246] Optionally, the SMF sends a second request message to the UPF, requesting the establishment of a second session between the SMF and the UPF. The second request message includes a second session identifier and first indication information, the first indication information instructing the UPF to allocate an uplink destination address for the terminal device to transmit IoT service data. The UPF receives the second request message from the SMF. Based on the second request message, the UPF allocates an uplink destination address for the terminal device to transmit IoT service data. The uplink destination address is the address information of the UPF. The UPF sends a second response message to the SMF, indicating that the second session has been established. The second response message includes the address information of the UPF. The SMF receives the second response message from the UPF. Establishing the second session between the SMF and the UPF is equivalent to establishing a transmission path between the SMF and the UPF for transmitting IoT service data. The second session may be established over the N4 interface and may be referred to as an N4 session. In this implementation, the SMF instructs the UPF to allocate the uplink destination address / UPF address information for the terminal device to transmit IoT service data.
[0247] Optionally, the SMF sends a second request message to the UPF, where the second request message is used to request the establishment of a second session between the SMF and the UPF. The second request message includes an identifier for the second session and address information assigned by the SMF. The address information is the uplink destination address when the terminal device transmits IoT service data. Exemplarily, the address information is the address information of the UPF. The UPF receives the second request message from the SMF. Based on the second request message, the UPF sends a second response message to the SMF, where the second response message indicates that the establishment of the second session is complete. The SMF receives the second response message from the UPF. In this implementation, the SMF assigns the uplink destination address / UPF address information for the terminal device to transmit IoT service data, and sends the uplink destination address / UPF address information to the UPF.
[0248] Optionally, the second request message sent by the SMF to the UPF also includes N4 rules, where the N4 rules include PDR, FAR, and other rules. Exemplarily, the address information of the UPF includes one or more of the following information: IP address, MAC address, and port information. The IP address may include one or more of the following information: IPv4 address, IPv6 address, or IPv6 prefix.
[0249] In one possible implementation, the IoT service transmission path between SMF and UPF is established or the second session is established. It can be understood that UPF has installed or configured the rules sent by SMF, such as the N4 rule.
[0250] 1006. SMF sends the first information to UPF, and the first information instructs UPF to send the IoT service data to SMF when the uplink destination address of the received IoT service data is the address of the UPF. In one possible implementation, SMF may send the first information to UPF through the second request message in step 1005; if SMF sends the first information to UPF in step 1005, there is no need to execute step 1006. Exemplarily, the first information may be the N4 rule; the N4 rule instructs UPF to send the IoT service data to SMF when it receives the IoT service data whose uplink destination address is the address of the UPF. For example, the PDR in the N4 rule indicates the IoT service data whose uplink destination address is the address of the UPF, and the FAR corresponding to the PDR instructs UPF to report the IoT service data to SMF.
[0251] 1007. SMF and TMF establish an IoT service transmission path, which is used to transmit IoT service data.
[0252] Optionally, SMF sends a first request message to TMF, where the first request message is used to request establishment of an IoT service transmission path between SMF and TMF, and the first request message includes at least one of the terminal device identifier, the terminal device address information, or the first session identifier; correspondingly, TMF receives the first request message from SMF; TMF establishes an IoT service transmission path between the TMF and SMF based on the first request message; TMF sends a first response message to SMF, where the first response message indicates that establishment of the IoT service transmission path between SMF and TMF is complete; SMF receives the first response message from TMF.
[0253] Optionally, the SMF may send one or more of the following information: the location information of the terminal device, the information of the mobile management device serving the terminal device, and the information of the access network device serving the terminal device to the TMF. Exemplarily, the mobile management device serving the terminal device may be the AMF serving the terminal device. The information of the AMF serving the terminal device includes the identification information, domain name information, or address information of the AMF serving the terminal device. For example, the GUAMI, FQDN, IP address, or MAC address of the AMF. Among them, the information of the mobile management device serving the terminal device and the information of the access network device serving the terminal device can be used to determine the location of the terminal device.
[0254] Optionally, the first request message sent by the SMF to the TMF also includes one or more of the following: location information of the terminal device, information of the mobility management device serving the terminal device, and information of the access network device serving the terminal device. Exemplarily, the first request message sent by the SMF to the TMF also includes information of the AMF serving the terminal device and / or information of the RAN serving the terminal device.
[0255] 1008. After the SMF establishes the IoT service transmission path with the UPF and TMF respectively based on the Session Establishment Request message, the SMF sends an N1N2 message transfer message to the AMF. The N1N2 message transfer message includes the identifier of the first session, N1 interface session management container information, and N2 interface session management information. The N1 interface session management container information includes a Session Establishment Accept message. The Session Establishment Accept message includes the uplink destination address for the terminal device to transmit IoT service data. The uplink destination address includes the address information of the UPF. Correspondingly, the AMF receives the N1N2 message transfer message from the SMF.
[0256] Optionally, the session establishment acceptance message includes the IP address allocated by the SMF to the terminal device, which is used as the source IP address for uplink transmission of the terminal device.
[0257] The N2 interface session management information needs to be sent to the RAN accessed by the terminal device through the AMF, and the N1 interface session management container information needs to be sent to the terminal device through the AMF. The N2 interface session management information includes core network tunnel information, which includes the UPF's tunnel endpoint identification information and / or the UPF's address information, which is used as the destination address when the RAN forwards the terminal device's uplink data. When the destination address of the uplink data received by the UPF is the UPF's tunnel endpoint identification information or the UPF's address information, the UPF can determine which terminal device and session the uplink data comes from.
[0258] 1009. The AMF sends an N2 PDU session request message to the RAN. The N2 PDU session request message includes N2 interface session management information and a NAS message to be sent to the terminal device. The NAS message includes the identifier of the first session and N1 interface session management container information. Correspondingly, the RAN receives the N2 PDU session request message sent by the AMF.
[0259] 1010. The RAN sends a NAS message including an identifier of the first session and N1 interface session management container information to the terminal device; the terminal device receives the NAS message sent by the RAN, and obtains a session establishment acceptance message according to the NAS message.
[0260] 1011. RAN sends an N2 PDU session response message to AMF. The N2 PDU session response message is used to indicate that the NAS message has been successfully sent to the terminal device.
[0261] Optionally, the N2 PDU session response message sent by the RAN to the AMF includes the tunnel endpoint identification information of the RAN and / or the address information of the RAN, which is used as the destination address when the UPF forwards the downlink data of the terminal device. When the RAN receives downlink data whose downlink destination address is the tunnel endpoint identification information of the RAN or the address information of the RAN, it can know which session of which terminal device the downlink data belongs to. After the AMF receives the N2 PDU session response message including the tunnel endpoint identification information of the RAN and / or the address information of the RAN, the AMF can send the tunnel endpoint identification information of the RAN and / or the address information of the RAN to the SMF via a PDU session update session context request message; the SMF sends the tunnel endpoint identification information of the RAN and / or the address information of the RAN to the UPF through the N4 session modification process; and the SMF sends a PDU session update session context response message to the AMF.
[0262] 1012. After the reader / writer function of the terminal device is activated, the terminal device sends a second indication message to the TMF via the AMF (control plane), or the SMF and UPF (user plane). The second indication message is used to indicate that the reader / writer function has been activated on the terminal device. Correspondingly, the TMF receives the second indication message from the terminal device and determines that the reader / writer function has been activated on the terminal device based on the second indication message. Optionally, the second indication message also indicates to the server the RAN identifier, cell identifier, or tracking area identifier of the terminal device, etc., for determining the location information of the terminal device. In this case, the terminal device supporting the reader / writer function needs to activate the reader / writer function before it can be used as a reader / writer.
[0263] Optionally, the TMF sends a confirmation message to the terminal device indicating that the second indication information has been successfully received. The confirmation message may include a reader / writer identifier allocated by the TMF to the terminal device, which is identification information used when the terminal device functions as a reader / writer.
[0264] Optionally, the terminal device supporting the reader / writer function has its reader / writer function activated and can be used directly as a reader / writer.
[0265] 1013. The service requester sends fourth information to the TMF, where the fourth information indicates to execute the IoT service instruction in the target area. Correspondingly, the TMF receives the fourth information from the service requester.
[0266] The fourth information may include at least one of information on the type of operation, identification information of the Internet of Things terminal, or information on the target area. The operation type includes any one of inventory operation / inventory operation, read operation, write operation, invalidation operation, obtaining tag information, message interaction operation with the tag (Internet of Things terminal), sending load to the tag (Internet of Things terminal), or positioning operation. The identifier of the Internet of Things terminal may be a tag identifier or an identification segment of the Internet of Things terminal, and the identification segment of the Internet of Things terminal may be used to indicate one or more Internet of Things terminals. The information on the target area includes at least one of geographic location information, cell identifier, tracking area identifier, or operation area identifier. The geographic location information includes information such as longitude and latitude, coordinate values, etc. The information on the target area may also be other information that can be used to characterize the location of the area, which is not limited in this application.
[0267] 1014. The TMF determines, based on the fourth information, a terminal device located within the target area to execute the IoT service instruction. For example, the TMF determines, based on one or more of the following: the location information of the terminal device sent by the SMF, information about the mobility management device serving the terminal device, or information about the access network device serving the terminal device, that the terminal device is located within the target area to execute the IoT service instruction.
[0268] Exemplarily, the TMF determines the terminal device that will execute the IoT service instruction based on the operation type indicated by the IoT service instruction and the target area information. For example, if the operation type indicated by the IoT service instruction is a short-range operation such as a read operation, a write operation, or a positioning operation, the TMF may determine that a terminal device located within the target area and capable of performing such operations will execute the IoT service instruction.
[0269] Exemplarily, the TMF determines the terminal device that executes the IoT service instruction based on the IoT terminal's identification information and the target area information. For example, based on historical operation records or inventory records, the terminal device located in the target area that last executed the IoT service instruction on the IoT terminal is determined as the terminal device that currently executes the IoT service instruction; wherein the reader / writer that last executed the IoT service instruction on the IoT terminal is a terminal device that supports reader / writer functions.
[0270] Exemplarily, the TMF determines the terminal device that executes the IoT service instruction based on the target area information. For example, when the TMF determines that the area indicated by the target area information includes one or more terminal devices that support reader / writer functions, the TMF may determine the one or more terminal devices that support reader / writer functions as the terminal devices that execute the IoT service instruction at that time.
[0271] At 1015, the TMF sends a second message to the SMF serving the terminal device. The second message instructs the terminal device to execute the IoT service instruction. The second message includes the identification information of the terminal device or identification information corresponding to the terminal device. For example, the second message includes the SUPI, SUCI, GPSI, reader ID, or identification information of the first session of the terminal device. In response, the SMF receives the second message from the TMF.
[0272] Specifically, the TMF obtains context information corresponding to the terminal device that executes the Internet of Things business instruction, determines the SMF corresponding to the terminal device or the SMF that serves the terminal device, and sends the second information to the SMF.
[0273] At 1016, the SMF sends third information to the UPF serving the terminal device, instructing the terminal device to execute the IoT service instruction. The third information includes the identification information of the terminal device or identification information corresponding to the terminal device. Correspondingly, the UPF receives the third information sent by the SMF. Specifically, the SMF obtains context information corresponding to the terminal device that executes the IoT service instruction, determines the UPF corresponding to the terminal device or the UPF serving the terminal device, and sends the third information to the UPF.
[0274] Exemplarily, the SMF sends the third information to the UPF through the transmission path corresponding to the terminal device or the second session / N4 session; the UPF receives the third information sent by the SMF.
[0275] Optionally, the fourth information also includes the address information of the server corresponding to the service requester. The TMF sends the address information of the server and the IoT service instruction to the terminal device through the SMF and UPF. The purpose of this server address information is that when the terminal device serving as a reader receives uplink data from the tag / IoT terminal, the uplink data can be sent directly to the server through the RAN and UPF (user plane). When the TMF does not need to process the uplink data, this method can enable the uplink data to be transmitted to the server faster / with less roundabouts, thereby improving the user experience.
[0276] 1017. The UPF determines, based on the context information corresponding to the transmission path established between the N4 session / the second session / the SMF and the UPF, to send sixth information to the terminal device. The sixth information instructs the terminal device to execute the IoT service instruction. Specifically, the UPF sends the sixth information to the terminal device via the RAN.
[0277] At 1018, the terminal device receives the sixth information sent by the UPF and executes the IoT service instruction according to the sixth information. For example, when the IoT service instruction instructs obtaining target IoT service data from the IoT terminal, the terminal device receives the target IoT service data from the IoT terminal according to the IoT service instruction, wherein the second information, the third information, the fourth information, and the sixth information include identification information of the IoT terminal.
[0278] Optionally, the TMF may also instruct the terminal device to execute the IoT service instruction through the AMF (control plane). Specifically, the TMF sends a fifth message to the AMF serving the terminal device, the fifth message instructing the terminal device to execute the IoT service instruction; the AMF receives the fifth message sent by the TMF, and the AMF sends a ninth message to the terminal device based on the fifth message, the ninth message instructing the terminal device to execute the IoT service instruction; the terminal device receives the ninth message sent by the AMF and executes the IoT service instruction based on the ninth message. This optional implementation method is interchangeable with the implementation methods of steps 1015 to 1018.
[0279] 1019. When the terminal device needs to transmit target IoT service data to the network, the terminal device uses the address information of the UPF as the uplink destination address and sends the target IoT service data to the UPF.
[0280] 1020. After receiving the target IoT service data from the terminal device, the UPF sends the target IoT service data to the SMF serving the terminal device, as the uplink destination address of the target IoT service data is the address information of the UPF. Correspondingly, the SMF receives the target IoT service data sent by the UPF.
[0281] 1021. After receiving the target IoT service data from the UPF, the SMF sends the target IoT service data to the TMF, which has established an IoT service transmission path with the SMF. The TMF receives the target IoT service data from the SMF and sends it to the service requester. After receiving the target IoT service data from the SMF, the TMF can either directly forward the target IoT service data to the service requester or process the target IoT service data before sending the processed data to the service requester.
[0282] Optionally, when the terminal device has obtained the address information of the server corresponding to the service requester, the terminal device can use the address information of the server as the uplink destination address and send the target IoT service data to the server through the RAN and UPF corresponding to the terminal device.
[0283] Exemplarily, an IoT service instruction instructs a terminal device to perform random access of an IoT terminal. The fourth information includes identification information or identification range information of the IoT terminal participating in the random access process. The identification range information of the IoT terminal can be understood as mask information. The terminal device initiates a random access process with the IoT terminal based on the sixth information. The IoT terminal that successfully performs random access sends its identification information to the terminal device. The identification information of the IoT terminal can be encapsulated via NAS signaling or an application layer protocol. The terminal device sends the identification information of the IoT terminal to the TMF via the UPF and SMF. In one implementation, the terminal device does not parse the identification information of the IoT terminal.
[0284] Optionally, after the random access of the IoT terminal is successful, the terminal device receives other IoT business instructions from the TMF, such as an IoT business instruction instructing to obtain target IoT business data from the IoT terminal; the terminal device obtains the data in the IoT terminal from the IoT terminal, and sends the obtained data to the TMF through the UPF and SMF.
[0285] Figure 11 is a schematic flow diagram of another communication method 1100 provided by the present application. In this method, the data transmission path of the terminal device includes: terminal device-RAN-UPF-TMF or terminal device-RAN-UPF-TMF-service requester.
[0286] 1110. The terminal device determines to establish a first session for transmitting IoT service data.
[0287] Exemplarily, a terminal device sends third indication information to the AMF, where the third indication information indicates that the terminal device supports the reader / writer function. The AMF receives the third indication information from the terminal device. The AMF sends the third indication information to the PCF, which receives the third indication information sent by the AMF. The PCF generates eighth information based on the third indication information, where the eighth information indicates session parameters for transmitting IoT service data, or the eighth information indicates that the terminal device establishes a session for transmitting IoT service data. The PCF sends the eighth information to the AMF, where the AMF receives the eighth information from the PCF. The AMF sends the eighth information to the terminal device, where the terminal device receives the eighth information from the AMF. The terminal device determines to establish a first session for transmitting IoT service data based on the eighth information. The third indication information may indicate whether the terminal device supports the reader / writer function. When the third indication information indicates that the terminal device supports the reader / writer function, the PCF generates the eighth information based on the third indication information, and the terminal device determines to establish the first session for transmitting IoT service data based on the eighth information.
[0288] In one possible implementation, the format, structure, message carrying the third indication information, etc. of the third indication information sent by the terminal device received by the AMF and the third indication information sent by the AMF to the PCF may be the same or different. Exemplarily, the AMF may forward the third indication information from the terminal device to the PCF. Exemplarily, the third indication information may be information such as reader indication, reader capability, or reader capable. This application does not limit the specific content of the third indication information sent by the terminal device to the AMF and the third indication information sent by the AMF to the PCF.
[0289] Optionally, the eighth information includes a URSP rule, which may be a dedicated URSP rule when the terminal device acts as a reader / writer, and the URSP rule indicates session parameters for transmitting IoT service data. Exemplarily, the session parameters include slice information or at least one of DNNs, and the slice information includes S-NSSAI. Optionally, the URSP rule indicates whether a new session needs to be established when transmitting IoT service data. When the URSP rule indicates that a new session needs to be established when transmitting IoT service data, the terminal device determines to establish a first session for transmitting IoT service data based on the URSP rule included in the eighth information.
[0290] For example, the service descriptor included in the URSP rule may indicate an IoT service or a reader / writer; alternatively, one or more of the service flow IP address, FQDN, or DNN included in the URSP rule may be used to indicate an IoT service; alternatively, the service descriptor may include a new IE to indicate an IoT service. In another possible implementation, the service descriptor included in the URSP rule includes indication information for indicating a reader / writer, such as "reader" or "reader mode" information, which indicates that when the terminal device functions as a reader / writer, a session is established according to the URSP rule.
[0291] Optionally, when the terminal device functions as a reader / writer, it can be configured to establish a session for transmitting IoT service data according to dedicated URSP rules. For example, the terminal device obtains configuration information that instructs the terminal device, when functioning as a reader / writer, to establish a session for transmitting IoT service data according to dedicated URSP rules. Exemplarily, if the terminal device activates the reader / writer function, the terminal device determines to establish a first session for transmitting IoT service data according to the dedicated URSP rules.
[0292] In one possible implementation, the registration request message sent by the terminal device to the AMF includes the third indication information, and the registration acceptance message sent by the AMF to the terminal device includes the eighth information.
[0293] 1120. The terminal device sends a session establishment request message to the SMF, where the session establishment request message is used to request the establishment of a first session for transmitting IoT service data. Correspondingly, the SMF receives a session establishment request message from the terminal device. The session establishment request message includes at least one of the request type, the identifier of the first session, the name of the data network requested by the terminal device, or slice information. Optionally, when the URSP rule included in the eighth information indicates that a new session needs to be established when transmitting IoT service data, the terminal device determines to establish the first session for transmitting IoT service data based on the eighth information, and then sends a session modification message to the SMF, where the session modification message is used to request the establishment of the first session for transmitting IoT service data.
[0294] Specifically, the terminal device sends the session establishment request message to the AMF, and correspondingly, the AMF receives the session establishment request message from the terminal device; the AMF selects the SMF that supports the IoT service based on the session establishment request message, and the AMF sends the session establishment request message to the SMF; correspondingly, the SMF receives the session establishment request message sent by the AMF.
[0295] Exemplarily, one or more of the request type, the identifier of the first session, the name of the data network requested by the terminal device, or the slice information included in the session establishment request message is used to indicate that the first session requested by the session establishment request message is used to transmit IoT service data. Exemplarily, the session establishment request message includes fourth indication information, which is used to indicate that the first session is used to transmit IoT service data. Exemplarily, the fourth indication information can be IoT indication information, such as passive IoT indication information or ambient IoT indication information.
[0296] In one possible implementation, the request type may indicate that the first session is used to transmit IoT service data, or that the first session is a session established when the terminal device functions as a reader / writer. Exemplarily, the session type indicated by the request type may be an IoT session or a reader session.
[0297] In another possible implementation, the first session identifier may indicate that the first session is used to transmit IoT service data, or may indicate that the first session is established when the terminal device functions as a reader / writer. For example, the first session identifier may be a specific session identifier used to indicate the transmission of IoT service data, such as a session identifier in a specific numeric value, string, or encoding format.
[0298] In another possible implementation, the data network name and / or slice information may indicate that the first session is used to transmit IoT service data, or may be used to indicate that the first session is a session established when the terminal device acts as a reader / writer. For example, the data network name and / or slice information may be a specific data network name and / or slice information used to indicate IoT services.
[0299] Optionally, the AMF may send information about the access network device serving the terminal device to the SMF; for example, identification information of the access network device serving the terminal device, where the identification information of the access network device includes a global RAN node ID, an N3IWF identifier, a TNAP identifier, a TNGF identifier, a TWIF identifier, or a W-AGF identifier. The information about the access network device serving the terminal device may be used to determine the location of the terminal device.
[0300] Optionally, the AMF may send information about the access network device serving the terminal device to the SMF; for example, identification information of the access network device serving the terminal device, where the identification information of the access network device includes a global RAN node ID, an N3IWF identifier, a TNAP identifier, a TNGF identifier, a TWIF identifier, or a W-AGF identifier. The information about the access network device serving the terminal device may be used to determine the location of the terminal device.
[0301] Optionally, the AMF may send the location information of the terminal device to the SMF. For example, the location information of the terminal device may include identification information of the access network device serving the terminal device, tracking area identification, cell identification, longitude and latitude information, or coordinate value information.
[0302] In one possible implementation, the AMF may send information about the access network device serving the terminal device or the location information of the terminal device to the SMF through a service-based message. The service-based message may be a PDU session creation session context request message or other service-based message. The PDU session creation session context request message includes a session establishment request message and information about the access network device serving the terminal device / location information of the terminal device. Exemplarily, the session establishment request message sent by the AMF to the SMF includes information about the access network device serving the terminal device or the location information of the terminal device.
[0303] At 1130, the SMF obtains address information of the TMF from the TMF based on the session establishment request message or the fourth indication information, wherein the TMF is used to transmit IoT service data corresponding to the first session. Exemplarily, the address information of the TMF includes one or more of the following information: the IP address, MAC address, or port information of the TMF. The IP address may include one or more of the following information: an IPv4 address, an IPv6 address, or an IPv6 prefix.
[0304] In one possible implementation, the SMF determines to obtain the address information of the TMF from the TMF based on the session establishment request message or the fourth indication information. Exemplarily, the SMF determines that the address information of the TMF needs to be obtained from the TMF based on information in the session establishment request message that may indicate that the first session is used to transmit IoT service data, such as one or more of the request type, session identifier, data network name, or slice information.
[0305] Optionally, SMF sends a third request message to TMF, where the third request message is used to request the address information of TMF, and the third request message includes the address information corresponding to the terminal device, where the address information corresponding to the terminal device includes the address information of the terminal device and / or the address information of the UPF corresponding to the terminal device. Correspondingly, TMF receives the third request message from SMF. TMF sends a third response message to SMF, where the third response message includes the address information of the TMF; correspondingly, SMF receives the third response message from TMF. The UPF corresponding to the terminal device can be understood as the UPF that serves the terminal device, and the UPF supports the transmission of IoT business data. The address information of UPF can be the address information of the N6 interface allocated by the SMF, or the address information of the N6 interface obtained by the SMF from the UPF.
[0306] Exemplarily, the third request message sent by the SMF to the TMF includes the address information of the terminal device. Optionally, the SMF sends sixth indication information to the UPF, which is used to instruct the UPF to directly forward the uplink IoT service data received from the terminal device without performing address conversion on the uplink IoT service data. After the TMF receives the uplink IoT service data forwarded by the UPF, it can determine which terminal device the uplink IoT service data comes from based on the source address information / the address information of the terminal device.
[0307] Exemplarily, the third request message sent by the SMF to the TMF includes the address information of the UPF corresponding to the terminal device. In this example, after the UPF receives the uplink IoT service data sent by the terminal device, the UPF performs address conversion on the uplink IoT service data, and the source address information of the uplink IoT service data after the address conversion is the address information of the UPF. For example, after the UPF receives the uplink IoT service data sent by the terminal device, the UPF performs address conversion on the uplink IoT service data, and converts the source address information of the uplink IoT service data into the address information of the UPF corresponding to the terminal device; after the TMF receives the uplink IoT service data after the address conversion, it can know which terminal device the uplink IoT service data comes from based on the source address information / the address information of the UPF. In addition, when the TMF needs to send downlink data to the terminal device, the TMF can send the downlink data to the terminal device through the UPF based on the address information of the UPF corresponding to the terminal device.
[0308] Exemplarily, the third request message sent by the SMF to the TMF includes the address information of the terminal device and the address information of the UPF corresponding to the terminal device. In this example, after the UPF receives the uplink IoT service data sent by the terminal device, the UPF may perform address translation on the uplink IoT service data or may not perform address translation.
[0309] In one possible implementation, the third request message may be a service message, such as Ntmf PDUSession_SMContext_Create Request or Nsmf PDUSession_SMContext_Create Request message; in another possible implementation, the third response message may be a service message, such as Ntmf PDUSession_SMContext_Create Response or Nsmf PDUSession_SMContext_Create Response message.
[0310] Optionally, the SMF may send one or more of the following to the TMF: location information of the terminal device, information about the mobility management device serving the terminal device, and information about the access network device serving the terminal device. For example, the mobility management device serving the terminal device may be the AMF serving the terminal device. The information of the AMF serving the terminal device includes identification information, domain name information, or address information of the AMF serving the terminal device.
[0311] Optionally, the third request message sent by SMF to TMF also includes one or more of the location information of the terminal device, information of the mobile management device serving the terminal device, and information of the access network device serving the terminal device. Exemplarily, the third request message sent by SMF to TMF also includes information of the AMF serving the terminal device, and / or information of the access network device serving the terminal device. The information of the AMF serving the terminal device, and / or information of the access network device serving the terminal device, can be used to determine the location of the terminal device. Exemplarily, the third request message sent by SMF to TMF also includes the location information of the terminal device. In a possible implementation, SMF may send one or more of the information of the mobile management device serving the terminal device, information of the access network device, or location information of the terminal device to TMF via a service-based message, and the service-based message may be an Ntmf_PDUSession_SMContext_Create Request message.
[0312] Optionally, before the SMF sends the third request message to the TMF, the SMF sends first indication information to the UPF, where the first indication information is used to instruct the UPF to allocate address information for the terminal device to transmit IoT service data; the UPF receives the first indication information from the SMF; based on the first indication information, the UPF allocates address information of the UPF for the terminal device to transmit IoT service data; the UPF sends the address information of the UPF to the SMF; and the SMF receives the address information of the UPF from the UPF. In this implementation, the SMF instructs the UPF to allocate address information of the UPF for the terminal device to transmit IoT service data.
[0313] Optionally, before the SMF sends the first indication information to the UPF, the SMF selects a UPF that supports the transmission of IoT service data based on the session establishment request message or the fourth indication information from the terminal device; the SMF then sends the first indication information to the UPF that supports the transmission of IoT service data. Optionally, the SMF also sends N4 rules to the UPF, where the N4 rules include PDR, FAR, and other rules. In one possible implementation, the first indication information may be included in the N4 rules.
[0314] Optionally, the address information of the UPF used for the terminal device to transmit IoT service data can also be allocated by the SMF and sent to the UPF.
[0315] 1140. The SMF sends a Session Establishment Accept message to the terminal device. This message includes the uplink destination address for the terminal device to transmit IoT service data, which includes the TMF address information. Correspondingly, the terminal device receives the Session Establishment Accept message from the SMF. Optionally, the Session Establishment Accept message includes the IP address allocated to the terminal device by the SMF or UPF, which is used as the source IP address for the terminal device's uplink transmission.
[0316] Exemplarily, the SMF sends an N1N2 message transfer message to the AMF, for example, the N1N2 message transfer message is a Namf_Communication_N1N2MessageTransfer message. Correspondingly, the AMF receives an N1N2 message transfer message from the SMF. The N1N2 message transfer message includes the identifier of the first session, N1 interface session management container information, and N2 interface session management information. The N1 interface session management container information includes a session establishment accept message. The N2 interface session management information needs to be sent to the RAN accessed by the terminal device through the AMF, and the N1 interface session management container information needs to be sent to the terminal device through the AMF.
[0317] The AMF sends an N2 PDU Session Request message to the RAN. The N2 PDU Session Request message includes N2 interface session management information and a NAS message to be sent to the terminal device. The NAS message includes the identifier of the first session and N1 interface session management container information. The RAN receives the N2 PDU Session Request message sent by the AMF and sends a NAS message including the identifier of the first session and N1 interface session management container information to the terminal device. The terminal device receives the NAS message sent by the RAN and obtains a session establishment accept message based on the NAS message. The RAN sends an N2 PDU Session Response message to the AMF. The N2 PDU Session Response message is used to indicate that the NAS message has been successfully sent to the terminal device.
[0318] Optionally, the N2 PDU session response message sent by the RAN to the AMF includes the tunnel endpoint identification information of the RAN and / or the address information of the RAN, which is used as the destination address when the UPF forwards the downlink data of the terminal device. When the RAN receives downlink data whose downlink destination address is the tunnel endpoint identification information of the RAN or the address information of the RAN, it can know which session of which terminal device the downlink data belongs to. After the AMF receives the N2 PDU session response message including the tunnel endpoint identification information of the RAN and / or the address information of the RAN, the AMF can send the tunnel endpoint identification information of the RAN and / or the address information of the RAN to the SMF via a PDU session update session context request message; the SMF sends the tunnel endpoint identification information of the RAN and / or the address information of the RAN to the UPF through the N4 session modification process; and the SMF sends a PDU session update session context response message to the AMF.
[0319] In the technical solution provided in the embodiment of the present application, a terminal device supporting a reader / writer function can request the SMF to establish a first session for transmitting IoT service data. The SMF obtains the address information of the TMF from the TMF, and the TMF is used to transmit the IoT service data corresponding to the first session. The uplink destination address of the IoT service data transmitted by the terminal device is the address of the TMF. When the uplink destination address of the received IoT service data is the address of the TMF, the UPF sends the IoT service data to the TMF. This solution enables the terminal device as a reader / writer to communicate with the IoT terminal, and enables the terminal device as a reader / writer to connect with the functional device responsible for managing the IoT terminal in the core network. When the terminal device acts as a reader / writer, it can transmit IoT service data to the TMF through the UPF. In addition, the terminal device has good mobility and wide distribution. When the terminal device acts as a reader / writer, it has better flexibility than when the access network device acts as a reader / writer.
[0320] Optionally, the service requester sends fourth information to the TMF, and the fourth information indicates that the IoT service instruction is to be executed in the target area; the TMF receives the fourth information from the service requester; and the TMF determines, based on the fourth information, the terminal device located in the target area to execute the IoT service instruction. In one possible implementation, the TMF determines, based on one or more of the location information of the terminal device sent by the SMF, the information of the mobile management device serving the terminal device, or the information of the access network device serving the terminal device, that the terminal device is located in the target area to execute the IoT service instruction. In another possible implementation, the TMF determines that the terminal device is located in the target area by triggering the positioning process of the terminal device, and determines that the terminal device is to execute the IoT service instruction. In another possible implementation, the TMF determines that the terminal device is located in the target area based on the location information of the terminal device obtained from the UDM or the location information of the terminal device supporting the reader / writer function, and determines that the terminal device is to execute the IoT service instruction.
[0321] The TMF sends seventh information to the UPF corresponding to the terminal device / the UPF serving the terminal device. The seventh information instructs the terminal device to execute the IoT service instruction. The seventh information includes identification information of the terminal device or identification information corresponding to the terminal device. For example, the seventh information includes the terminal device's SUPI, SUCI, GPSI, reader ID, or identification information of the first session. The TMF sending the seventh information to the UPF corresponding to the terminal device can be understood as the TMF sending the seventh information to the UPF based on the address information of the UPF corresponding to the terminal device.
[0322] The UPF receives the seventh information sent by the TMF. Based on the seventh information, the UPF sends the sixth information to the terminal device (via the access network device). The sixth information instructs the terminal device to execute the IoT service instruction. The terminal device receives the sixth information sent by the UPF (via the access network device) and executes the IoT service instruction based on the sixth information. In this implementation, the TMF instructs the terminal device to execute the IoT service instruction through the UPF (user plane).
[0323] Optionally, the service requester sends fourth information to the TMF, the fourth information instructing to execute the IoT service instruction in the target area; the TMF receives the fourth information from the service requester; based on the fourth information, the TMF determines the terminal device located in the target area to execute the IoT service instruction; the TMF sends fifth information to the AMF serving the terminal device, the fifth information instructing the terminal device to execute the IoT service instruction; the AMF receives the fifth information sent by the TMF, and the AMF sends ninth information to the terminal device based on the fifth information, the ninth information instructing the terminal device to execute the IoT service instruction; the terminal device receives the ninth information sent by the AMF and executes the IoT service instruction based on the ninth information. In this implementation, the TMF instructs the terminal device to execute the IoT service instruction through the AMF (control plane).
[0324] In one possible implementation, the fourth information, fifth information, sixth information, seventh information, and ninth information may be information in the same format or in different formats, and the messages carrying these information may be the same message or different messages, which is not limited in this application. In one possible implementation, the IoT instructions included in the fourth information, fifth information, sixth information, seventh information, and ninth information have the same function.
[0325] For example, the TMF can determine the terminal device that executes the IoT service instruction based on the operation type indicated by the IoT service instruction and the target area information. For example, when the operation type indicated by the IoT service instruction is a short-range operation such as a read operation, a write operation, or a positioning operation, the TMF determines that a terminal device located in the target area and capable of performing such operations will execute the IoT service instruction.
[0326] For example, when an IoT service instruction instructs to obtain target IoT service data from or write target IoT service data to a specific IoT terminal, the TMF can determine the terminal device that executes the IoT service instruction based on the IoT terminal's identification information and target area information included in the IoT service instruction. For example, based on historical operation records or inventory records, the TMF can determine the terminal device that is located in the target area and last obtained IoT service data from the IoT terminal to execute the IoT service instruction.
[0327] Exemplarily, when an IoT service instruction instructs an IoT terminal to obtain target IoT service data, the terminal device receives the target IoT service data from the IoT terminal according to the IoT service instruction, wherein the seventh information, the fourth information, and the sixth information include identification information of the IoT terminal. The terminal device uses the TMF address information as the uplink destination address and sends the target IoT service data to the TMF via the UPF. Specifically, the terminal device sends the target IoT service data and the uplink destination address of the target IoT service data (the TMF address information) to the UPF. The UPF receives the target IoT service data from the terminal device. The UPF sends the target IoT service data to the TMF based on the uplink destination address of the target IoT service data. The TMF receives the target IoT service data sent by the UPF and sends the target IoT service data to the service requester. After receiving the target IoT service data sent by the SMF, the TMF may directly forward the target IoT service data to the service requester, or may process the target IoT service data and then send the processed target IoT service data to the service requester.
[0328] For example, the fourth information sent by the service requester to the TMF may include the address information of the server corresponding to the service requester. The TMF then sends this server address information, along with the IoT service instruction, to the terminal device via the UPF or AMF. When the IoT service instruction instructs the terminal to obtain target IoT service data from the IoT terminal, the terminal device receives the target IoT service data from the IoT terminal in accordance with the IoT service instruction. The terminal device may use the server address information as the uplink destination address and transmit the target IoT service data to the server via the RAN and UPF corresponding to the terminal device. This approach enables faster transmission of uplink data to the server or reduces circuitous transmission, thereby improving the user experience.
[0329] The fourth information includes information about the target area for executing the IoT service instruction, and the information about the target area includes at least one of geographic location information, cell identification, tracking area identification, or operating area identification. The geographic location information includes information such as longitude and latitude, coordinate values, etc. The information about the target area may also be other information that can be used to characterize the location of the area, which is not limited in this application. In one possible implementation, the TMF may map or convert the information about the target area into information about the access network device, information about the mobile management device, or location information of the terminal device. The TMF may determine the terminal device located in the target area based on the location information of the terminal device, information about the mobile management device serving the terminal device, or information about the access network device serving the terminal device.
[0330] The fourth information may also include identification information of the IoT terminal. The IoT terminal identification may be a tag identification or an IoT terminal identification segment. The IoT terminal identification segment may be used to indicate one or more IoT terminals. The IoT service instructions in the embodiments of the present application may indicate any operation type including inventory operation / inventory operation, read operation, write operation, invalidation operation, obtaining tag information, message interaction operation with a tag (IoT terminal), sending a load to a tag (IoT terminal), or positioning operation.
[0331] In one possible implementation, the terminal device determined by the TMF to execute IoT service instructions may be a terminal device with an activated reader / writer function. In one scenario, a terminal device supporting the reader / writer function must activate the reader / writer function before it can be used as a reader / writer. In another scenario, the reader / writer function of a terminal device supporting the reader / writer function is already activated and can be used directly as a reader / writer. In this scenario, the terminal device supporting the reader / writer function can be understood as having activated the reader / writer function and can be used directly as a reader / writer.
[0332] Optionally, in the case where a terminal device that supports the reader / writer function needs to activate the reader / writer function before it can be used as a reader / writer, TMF determines that the terminal device that executes the IoT service instruction has activated the reader / writer function and that the terminal device is located in the target area.
[0333] Exemplarily, after the reader / writer function of the terminal device is activated, the terminal device sends a second indication message to the TMF through the AMF (control plane) or the UPF (user plane), and the second indication message is used to indicate that the terminal device has activated the reader / writer function; correspondingly, the TMF receives the second indication message from the terminal device, and the TMF determines that the terminal device has activated the reader / writer function based on the second indication message.
[0334] Exemplarily, the TMF sends a subscription request message to the UDM, which is used to obtain information about terminal devices that support the reader / writer function. The UDM receives the subscription request message from the UDM. The UDM sends a subscription response message to the TMF, which includes at least one of the following: an identifier of the terminal device that supports the reader / writer function, location information of the terminal device that supports the reader / writer function, status information of the terminal device that supports the reader / writer function, and information about the core network device that serves the terminal device that supports the reader / writer function. The TMF receives a subscription response message / subscription notification message from the UDM and, based on the subscription response message / subscription notification message, determines that the terminal device has activated the reader / writer function. The status information of the terminal device that supports the reader / writer function includes at least one of a registered state, a deregistered state, a connected state, an inactive state, or an idle state. In this example, the reader / writer function of the terminal device that supports the reader / writer function can be considered to be activated.
[0335] Optionally, the AMF serving the terminal device sends a fifth indication message to the UDM, where the fifth indication message is used to indicate that the terminal device supports the reader / writer function; correspondingly, the UDM receives the fifth indication message from the AMF, and determines the terminal devices that support the reader / writer function / learns which terminal devices support the reader / writer function based on the fifth indication message.
[0336] Figure 12 is a schematic diagram of the protocol stack corresponding to another communication method provided by an embodiment of this application. The SMF sends the terminal device's address information to the TMF. This address information includes the terminal device's address information and / or the address information of the UPF corresponding to the terminal device. The SMF obtains the TMF's address information from the TMF. The terminal device's uplink destination address is the TMF's address. The terminal device's data transmission path includes: terminal device-RAN-UPF-TMF.
[0337] The communication method provided in FIG11 is described below with reference to specific examples. The registration process interaction diagram of the terminal device in the communication method provided in FIG11 is shown in FIG9 , and FIG13 is a schematic diagram of the session establishment process of the terminal device in another communication method (the communication method provided in FIG11 ) provided in an embodiment of the present application. Step 1301 in FIG13 is executed after step 909 in FIG9 .
[0338] 1301: The terminal device AMF sends a session establishment request message, requesting the establishment of a first session for transmitting IoT service data. The session establishment request message includes at least one of the request type, the identifier of the first session, the name of the data network requested by the terminal device, or slice information. Correspondingly, the AMF receives the session establishment request message from the terminal device.
[0339] Exemplarily, one or more of the request type, the identifier of the first session, the name of the data network requested by the terminal device, or slice information included in the session establishment request message is used to indicate that the first session requested by the session establishment request message is used to transmit IoT service data. Exemplarily, the session establishment request message includes fourth indication information, which is used to indicate that the first session is used to transmit IoT service data. The fourth indication information can be IoT indication information, such as passive IoT indication information or ambient IoT indication information.
[0340] 1302. The AMF selects an SMF that supports the IoT service. In one possible implementation, the AMF selects an SMF that supports the IoT service based on one or more of the request type, the identifier of the first session, the name of the data network requested by the terminal device, or the slice information.
[0341] 1303. AMF sends a session establishment request message to the SMF. Correspondingly, SMF receives the session establishment request message sent by AMF.
[0342] Optionally, the AMF may send information about the access network device serving the terminal device or the location information of the terminal device, such as identification information of the access network device serving the terminal device, to the SMF. The information about the access network device serving the terminal device may be used to determine the location of the terminal device. Exemplarily, the information about the access network device serving the terminal device includes identification information of the access network device. Exemplarily, the location information of the terminal device may include identification information of the access network device serving the terminal device, tracking area identification, cell identification, longitude and latitude information, or coordinate value information.
[0343] In one possible implementation, the AMF may send information about the access network device serving the terminal device or the location information of the terminal device to the SMF via a servicing message. Exemplarily, the servicing message is a PDU session creation session context request message, which includes a session establishment request message and information about the access network device serving the terminal device / location information of the terminal device. Exemplarily, the session establishment request message sent by the AMF to the SMF includes information about the access network device serving the terminal device or the location information of the terminal device.
[0344] The SMF determines, based on the session establishment request message or the fourth indication information, that it needs to obtain the address information of the UPF and needs to obtain the address information of the TMF from the TMF. In one possible implementation, the SMF determines, based on the session establishment request message or the fourth indication information, that it needs to obtain the address information of the UPF. The UPF and the TMF are used to transmit IoT service data corresponding to the first session.
[0345] 1304. SMF selects a UPF that supports the transmission of IoT service data based on the session establishment request message or the fourth indication information.
[0346] 1305. SMF sends a first indication message to UPF, where the first indication message is used to instruct UPF to allocate address information for the terminal device to transmit IoT service data; UPF receives the first indication message from SMF.
[0347] Optionally, the SMF also sends N4 rules to the UPF, where the N4 rules include PDR, FAR and other rules.
[0348] 1306. The UPF allocates address information of the UPF for transmitting IoT service data to the terminal device based on the first instruction information. The UPF sends the address information of the UPF to the SMF. The SMF receives the address information of the UPF from the UPF. The SMF instructs the UPF to allocate address information of the UPF for transmitting IoT service data to the terminal device.
[0349] Optionally, the address information of the UPF used for the terminal device to transmit IoT service data can also be allocated by the SMF and sent to the UPF.
[0350] Exemplarily, the UPF address information includes one or more of the following information: IP address, MAC address, and port information. The IP address may include one or more of the following information: IPv4 address, IPv6 address, or IPv6 prefix.
[0351] 1307. The SMF obtains address information of the TMF from the TMF based on the session establishment request message or the fourth indication information. The TMF is used to transmit IoT service data corresponding to the first session. Exemplarily, the address information of the TMF includes one or more of the following information: the IP address, MAC address, or port information of the TMF. The IP address may include one or more of the following information: an IPv4 address, an IPv6 address, or an IPv6 prefix.
[0352] Optionally, the SMF sends a third request message to the TMF, requesting the TMF's address information. The third request message includes the address information corresponding to the terminal device, including the address information of the terminal device and / or the address information of the UPF corresponding to the terminal device. Correspondingly, the TMF receives the third request message from the SMF. The TMF sends a third response message to the SMF, including the TMF's address information. Correspondingly, the SMF receives the third response message from the TMF.
[0353] Exemplarily, the third request message sent by the SMF to the TMF includes the address information of the terminal device. Optionally, the SMF sends sixth indication information to the UPF, which is used to instruct the UPF to directly forward the uplink IoT service data received from the terminal device without performing address conversion on the uplink IoT service data. After the TMF receives the uplink IoT service data forwarded by the UPF, it can determine which terminal device the uplink IoT service data comes from based on the source address information / the address information of the terminal device.
[0354] Exemplarily, the third request message sent by the SMF to the TMF includes the address information of the UPF corresponding to the terminal device. In this example, after the UPF receives the uplink IoT service data sent by the terminal device, the UPF performs address conversion on the uplink IoT service data. For example, after the UPF receives the uplink IoT service data sent by the terminal device, the UPF performs address conversion on the uplink IoT service data, and converts the source address information of the uplink IoT service data into the address information of the UPF corresponding to the terminal device; after the TMF receives the uplink IoT service data after the address conversion, it can know which terminal device the uplink IoT service data comes from based on the source address information / the address information of the UPF. In addition, when the TMF needs to send downlink data to the terminal device, the TMF can send the downlink data to the terminal device through the UPF based on the address information of the UPF corresponding to the terminal device.
[0355] Exemplarily, the third request message sent by the SMF to the TMF includes the address information of the terminal device and the address information of the UPF corresponding to the terminal device. In this example, after the UPF receives the uplink IoT service data sent by the terminal device, the UPF may perform address translation on the uplink IoT service data or may not perform address translation.
[0356] Optionally, the SMF may send one or more of the following to the TMF: location information of the terminal device, information about the mobility management device serving the terminal device, and information about the access network device serving the terminal device. For example, the mobility management device serving the terminal device may be the AMF serving the terminal device. The information of the AMF serving the terminal device includes identification information, domain name information, or address information of the AMF serving the terminal device.
[0357] Optionally, the third request message sent by SMF to TMF also includes one or more of the location information of the terminal device, information of the mobile management device serving the terminal device, and information of the access network device serving the terminal device. Exemplarily, the third request message sent by SMF to TMF also includes information of the AMF serving the terminal device, and / or information of the access network device serving the terminal device. The information of the AMF serving the terminal device, and / or information of the access network device serving the terminal device, can be used to determine the location of the terminal device. Exemplarily, the third request message sent by SMF to TMF also includes the location information of the terminal device. In a possible implementation, SMF may send one or more of the information of the mobile management device serving the terminal device, information of the access network device, or location information of the terminal device to TMF via a service-based message, and the service-based message may be an Ntmf_PDUSession_SMContext_Create Request message.
[0358] 1308. The SMF sends an N1N2 message transmission message to the AMF. The N1N2 message transmission message includes the identifier of the first session, the N1 interface session management container information, and the N2 interface session management information. The N1 interface session management container information includes a session establishment acceptance message. The session establishment acceptance message includes the uplink destination address for the terminal device to transmit IoT service data. The uplink destination address includes the address information of the TMF. Correspondingly, the AMF receives the N1N2 message transmission message from the SMF. The N2 interface session management information needs to be sent to the RAN accessed by the terminal device via the AMF, and the N1 interface session management container information needs to be sent to the terminal device via the AMF.
[0359] Optionally, the session establishment acceptance message includes the IP address allocated by the SMF to the terminal device, which is used as the source IP address for uplink transmission of the terminal device.
[0360] 1309. The AMF sends an N2 PDU session request message to the RAN. The N2 PDU session request message includes N2 interface session management information and a NAS message to be sent to the terminal device. The NAS message includes the identifier of the first session and N1 interface session management container information. Correspondingly, the RAN receives the N2 PDU session request message sent by the AMF.
[0361] 1310. The RAN sends a NAS message including an identifier of the first session and N1 interface session management container information to the terminal device; the terminal device receives the NAS message sent by the RAN, and obtains a session establishment acceptance message according to the NAS message.
[0362] 1311. RAN sends an N2 PDU session response message to AMF. The N2 PDU session response message is used to indicate that the NAS message has been successfully sent to the terminal device.
[0363] Optionally, the N2 PDU session response message sent by the RAN to the AMF includes the tunnel endpoint identification information of the RAN and / or the address information of the RAN, which is used as the destination address when the UPF forwards the downlink data of the terminal device. When the RAN receives downlink data whose downlink destination address is the tunnel endpoint identification information of the RAN or the address information of the RAN, it can know which session of which terminal device the downlink data belongs to. After the AMF receives the N2 PDU session response message including the tunnel endpoint identification information of the RAN and / or the address information of the RAN, the AMF can send the tunnel endpoint identification information of the RAN and / or the address information of the RAN to the SMF via a PDU session update session context request message; the SMF sends the tunnel endpoint identification information of the RAN and / or the address information of the RAN to the UPF via the N4 session modification process; and the SMF sends a PDU session update session context response message to the AMF.
[0364] 1312. After the reader / writer function of the terminal device is activated, the terminal device sends a second indication message to the TMF via the AMF (control plane) or UPF (user plane). The second indication message is used to indicate that the reader / writer function has been activated on the terminal device. Correspondingly, the TMF receives the second indication message from the terminal device and determines that the reader / writer function has been activated on the terminal device based on the second indication message. Optionally, the second indication message also indicates to the server the RAN identifier, cell identifier, or tracking area identifier of the terminal device, etc., for determining the location information of the terminal device. In this case, the terminal device supporting the reader / writer function must activate the reader / writer function before it can be used as a reader / writer.
[0365] Optionally, the TMF sends a confirmation message to the terminal device indicating that the second indication information has been successfully received. The confirmation message may include a reader / writer identifier allocated by the TMF to the terminal device, which is identification information used when the terminal device functions as a reader / writer.
[0366] Optionally, the terminal device supporting the reader / writer function has its reader / writer function activated and can be used directly as a reader / writer.
[0367] 1313. The service requester sends fourth information to the TMF, where the fourth information indicates to execute the IoT service instruction in the target area. Correspondingly, the TMF receives the fourth information from the service requester.
[0368] The fourth information may include at least one of information on the type of operation, identification information of the Internet of Things terminal, or information on the target area. The operation type includes any one of inventory operation / inventory operation, read operation, write operation, invalidation operation, obtaining tag information, message interaction operation with the tag (Internet of Things terminal), sending load to the tag (Internet of Things terminal), or positioning operation. The identifier of the Internet of Things terminal may be a tag identifier or an identification segment of the Internet of Things terminal, and the identification segment of the Internet of Things terminal may be used to indicate one or more Internet of Things terminals. The information on the target area includes at least one of geographic location information, cell identifier, tracking area identifier, or operation area identifier. The geographic location information includes information such as longitude and latitude, coordinate values, etc. The information on the target area may also be other information that can be used to characterize the location of the area, which is not limited in this application.
[0369] 1314. The TMF determines, based on the fourth information, the terminal device located in the target area to execute the IoT service instruction. Exemplarily, the TMF determines, based on one or more of the location information of the terminal device sent by the SMF, the information of the mobile management device serving the terminal device, or the information of the access network device serving the terminal device, the terminal device is located in the target area to execute the IoT service instruction. In one possible implementation, the TMF may map or convert the information of the target area to the information of the access network device, the information of the mobile management device, or the location information of the terminal device. The TMF may determine the terminal device located in the target area based on the location information of the terminal device, the information of the mobile management device serving the terminal device, or the information of the access network device serving the terminal device.
[0370] Exemplarily, the TMF determines the terminal device that will execute the IoT service instruction based on the operation type indicated by the IoT service instruction and the target area information. For example, if the operation type indicated by the IoT service instruction is a short-range operation such as a read operation, a write operation, or a positioning operation, the TMF may determine that a terminal device located within the target area and capable of performing such operations will execute the IoT service instruction.
[0371] Exemplarily, the TMF determines the terminal device that executes the IoT service instruction based on the IoT terminal's identification information and the target area information. For example, based on historical operation records or inventory records, the terminal device located in the target area that last executed the IoT service instruction on the IoT terminal is determined as the terminal device that currently executes the IoT service instruction; wherein the reader / writer that last executed the IoT service instruction on the IoT terminal is a terminal device that supports reader / writer functions.
[0372] Exemplarily, the TMF determines the terminal device that executes the IoT service instruction based on the target area information. For example, when the TMF determines that the area indicated by the target area information includes one or more terminal devices that support reader / writer functions, the TMF may determine the one or more terminal devices that support reader / writer functions as the terminal devices that execute the IoT service instruction at that time.
[0373] 1315. The TMF sends seventh information to the UPF serving the terminal device / corresponding to the terminal device. The seventh information instructs the terminal device to execute the IoT service instruction. The seventh information includes identification information of the terminal device or identification information corresponding to the terminal device; for example, the seventh information includes the terminal device's SUPI, SUCI, GPSI, reader ID, or identification information of the first session. In response, the UPF receives the seventh information sent by the TMF.
[0374] Specifically, the TMF obtains the context information corresponding to the terminal device that executes the IoT service instruction, determines the UPF corresponding to the terminal device, and sends the seventh information to the UPF.
[0375] Optionally, the fourth information also includes the address information of the server corresponding to the service requester. The TMF sends the address information of the server and the IoT service instruction to the terminal device through the UPF. The purpose of this server address information is that when the terminal device acting as a reader receives uplink data from the tag / IoT terminal, the uplink data can be sent directly to the server through the RAN and UPF (user plane). When the TMF does not need to process the uplink data, this method can enable the uplink data to be transmitted to the server faster / with less roundabouts, thereby improving the user experience.
[0376] 1316. The UPF sends sixth information to the terminal device based on the seventh information. The sixth information instructs the terminal device to execute the IoT service instruction. The sixth information includes identification information of the terminal device or identification information corresponding to the terminal device. Specifically, the UPF sends the sixth information to the terminal device via the RAN.
[0377] 1317. The terminal device receives the sixth information sent by the UPF and executes the IoT service instruction according to the sixth information. For example, when the IoT service instruction instructs obtaining target IoT service data from the IoT terminal, the terminal device receives the target IoT service data from the IoT terminal according to the IoT service instruction. The seventh information, the fourth information, and the sixth information include identification information of the IoT terminal.
[0378] Optionally, the TMF may also instruct the terminal device to execute the IoT service instruction through the AMF (control plane). Specifically, the TMF sends a fifth message to the AMF serving the terminal device, the fifth message instructing the terminal device to execute the IoT service instruction; the AMF receives the fifth message sent by the TMF, and the AMF sends a ninth message to the terminal device based on the fifth message, the ninth message instructing the terminal device to execute the IoT service instruction; the terminal device receives the ninth message sent by the AMF and executes the IoT service instruction based on the ninth message. This optional implementation method is interchangeable with the implementation methods of steps 1315 to 1317.
[0379] 1318. When the terminal device needs to transmit target IoT service data to the network, the terminal device uses the address information of TMF as the uplink destination address and sends the target IoT service data to UPF.
[0380] 1319. After receiving the target IoT service data from the terminal device, the UPF sends the target IoT service data to the TMF because the uplink destination address of the target IoT service data is the TMF address information. The TMF receives the target IoT service data from the UPF and sends it to the service requester. After receiving the target IoT service data from the UPF, the TMF can either directly forward the target IoT service data to the service requester or process the target IoT service data and then send the processed target IoT service data to the service requester.
[0381] Optionally, when the terminal device has obtained the address information of the server corresponding to the service requester, the terminal device can use the address information of the server as the uplink destination address and send the target IoT service data to the server through the RAN and UPF corresponding to the terminal device.
[0382] Exemplarily, the IoT service instruction instructs the terminal device to perform random access of the IoT terminal. The fourth information includes identification information or identification range information of the IoT terminal participating in the random access process. The identification range information of the IoT terminal can be understood as mask information. The terminal device initiates a random access process to the IoT terminal based on the sixth information. The IoT terminal that successfully achieves random access sends its identification information to the terminal device. The identification information of the IoT terminal can be encapsulated via NAS signaling or application layer protocol. The terminal device sends the identification information of the IoT terminal to the TMF via the UPF. The terminal device does not parse the identification information of the IoT terminal.
[0383] Optionally, after the random access of the IoT terminal is successful, the terminal device receives other IoT business instructions from the TMF, such as an IoT business instruction instructing to obtain target IoT business data from the IoT terminal; the terminal device obtains the data in the IoT terminal from the IoT terminal, and sends the obtained data to the TMF through the UPF.
[0384] The above describes the communication method provided in the embodiment of the present application. The following describes the execution entity used to execute the above communication method.
[0385] FIG14 is a schematic block diagram of a communication device 1400 according to an embodiment of the present application. The device can be applied to the session management device of the method described in FIG7 or FIG10 according to an embodiment of the present application. The communication device 1400 includes:
[0386] The transceiver unit 1410 is configured to receive a session establishment request message from a terminal device, where the session establishment request message is used to request establishment of a first session for transmitting IoT service data;
[0387] The processing unit 1420 is configured to establish an IoT service transmission path with the user plane device and the IoT management device respectively according to the session establishment request message, wherein the IoT service transmission path is used to transmit the IoT service data;
[0388] The transceiver unit 1410 is further configured to send a session establishment acceptance message to the terminal device, where the session establishment acceptance message includes an uplink destination address for transmitting IoT service data by the terminal device, and the uplink destination address includes address information of the user plane device;
[0389] The transceiver unit 1410 is further configured to send first information to the user plane device, wherein the first information instructs the user plane device to send the IoT service data to the apparatus when the uplink destination address of the received IoT service data is the address of the user plane device.
[0390] FIG15 is a schematic block diagram of a communication device 1500 according to an embodiment of the present application. The device can be used in an IoT management device according to the method described in FIG7 , FIG9 , or FIG10 in the embodiments of the present application. The communication device 1500 includes a transceiver unit 1510 and a processing unit 1520 .
[0391] The transceiver unit 1510 is configured to receive a first request message from a session management device, the first request message being used to request establishment of an IoT service transmission path between the session management device and the apparatus, the first request message including at least one of an identifier of a terminal device, address information of the terminal device, or an identifier of a session requested to be established by the terminal device, wherein the IoT service transmission path is used to transmit IoT service data;
[0392] The transceiver unit 1510 is further configured to send a first response message to the session management device, where the first response message indicates that establishment of the IoT service transmission path between the session management device and the apparatus is complete.
[0393] Optionally, the transceiver unit 1510 is further configured to receive fourth information from the service requester, where the fourth information indicates executing the IoT service instruction in the target area;
[0394] The processing unit 1520 is configured to determine the terminal device located in the target area to execute the IoT service instruction;
[0395] The transceiver unit 1510 is further used to send second information to the session management device, where the second information instructs the terminal device to execute the IoT service instruction; or to send fifth information to the access and mobility management device, where the fifth information instructs the terminal device to execute the IoT service instruction.
[0396] FIG16 is a schematic block diagram of a communication device 1600 according to an embodiment of the present application. The device can be applied to the user plane device of the method described in FIG7 or FIG10 according to an embodiment of the present application. The communication device 1600 includes:
[0397] The transceiver unit 1610 is configured to receive a second request message from the session management device, the second request message being used to request establishment of an IoT service transmission path between the session management device and the apparatus, the second request message including an identifier of the IoT service transmission path and first indication information, the first indication information being used to instruct the apparatus to allocate an uplink destination address for the terminal device to transmit IoT service data, the IoT service transmission path being used to transmit the IoT service data;
[0398] The transceiver unit 1610 is further configured to send a second response message to the session management device, where the second response message indicates that establishment of the IoT service transmission path is complete, and the second response message includes address information of the device.
[0399] FIG17 is a schematic block diagram of a communication device 1700 according to an embodiment of the present application. The device can be applied to the session management device of the method described in FIG11 or FIG13 according to an embodiment of the present application. The communication device 1700 includes:
[0400] The transceiver unit 1710 is configured to receive a session establishment request message from a terminal device, wherein the session establishment request message is used to request establishment of a first session for transmitting IoT service data;
[0401] The processing unit 1720 is configured to obtain, from the Internet of Things management device, address information of the Internet of Things management device according to the session establishment request message, wherein the Internet of Things management device is used to transmit the Internet of Things service data corresponding to the first session;
[0402] The transceiver unit 1710 is further configured to send a session establishment acceptance message to the terminal device, wherein the session establishment acceptance message includes an uplink destination address for transmitting IoT service data by the terminal device, and the uplink destination address includes address information of the IoT management device.
[0403] FIG18 is a schematic block diagram of a communication device 1800 according to an embodiment of the present application. The device can be used in an IoT management device according to the method described in FIG11 , FIG9 , or FIG13 in the embodiments of the present application. The communication device 1800 includes a transceiver unit 1810 and a processing unit 1820 .
[0404] The transceiver unit 1810 is configured to receive a third request message from a session management device, the third request message being used to request acquisition of address information of the apparatus, the third request message including address information corresponding to a terminal device requesting establishment of a first session, the address information corresponding to the terminal device including address information of the terminal device and / or address information of a user-plane device corresponding to the terminal device, wherein the apparatus and the user-plane device are configured to transmit IoT service data corresponding to the first session;
[0405] The transceiver unit 1810 is further configured to send a third response message to the session management device, where the third response message includes the address information of the apparatus.
[0406] Optionally, the transceiver unit 1810 is further configured to receive fourth information from the service requester, where the fourth information indicates executing the IoT service instruction in the target area;
[0407] The processing unit 1820 is configured to determine the terminal device located in the target area to execute the IoT service instruction;
[0408] The transceiver unit 1810 is also used to send seventh information to the user plane device, where the seventh information instructs the terminal device to execute the Internet of Things service instruction; or to send fifth information to the access and mobility management device, where the fifth information instructs the terminal device to execute the Internet of Things service instruction.
[0409] FIG19 is a schematic block diagram of a communication device 1900 according to an embodiment of the present application. The device can be applied to a terminal device of the method described in FIG7, FIG9, FIG10, FIG11, or FIG13 according to an embodiment of the present application. The communication device 1900 includes:
[0410] The processing unit 1910 is configured to determine to establish a first session for transmitting IoT service data;
[0411] The transceiver unit 1920 is configured to send a session establishment request message to the session management device, where the session establishment request message is used to request establishment of the first session for transmitting IoT service data;
[0412] The transceiver unit 1920 is also used to receive a session establishment acceptance message from the session management device, wherein the session establishment acceptance message includes the uplink destination address for the device to transmit the Internet of Things service data, and the uplink destination address includes the address information of the user plane device or the address information of the Internet of Things management device, wherein the Internet of Things management device and the user plane device are used to transmit the Internet of Things service data corresponding to the first session.
[0413] Figure 20 is a schematic block diagram of a communication device 2000 according to an embodiment of the present application. The communication device 2000 includes: a processor 2010, a memory 2020, and a communication interface 2030;
[0414] The memory 2020 is used to store executable instructions;
[0415] The processor 2010 is coupled to the memory 2020 via the communication interface 2030. The processor 2010 is configured to call and execute the executable instructions in the memory 2020 to implement the method in the embodiment of the present application. The communication device may be the first device or the second device in the embodiment of the present application. Optionally, the processor 2010 and the memory 2020 are integrated together.
[0416] The processor 2010 described above may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above-described method embodiment may be completed by hardware integrated logic circuits in the processor or by software instructions. The processor described above may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. The methods, steps, and logic block diagrams disclosed in the embodiments of this application may be implemented or executed. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application may be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in a memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above-described method.
[0417] Optionally, an embodiment of the present application also provides a communication device, which includes an input and output interface and a logic circuit, wherein the input and output interface is used to obtain input information and / or output information; the logic circuit is used to execute the method in any of the above method embodiments, and process and / or generate output information based on the input information.
[0418] An embodiment of the present application also provides a communication system, including a session management device, an Internet of Things management device, a user plane device, and a terminal device. The session management device, the Internet of Things management device, the user plane device, and the terminal device are used to implement the method in the above method embodiment.
[0419] The present application also provides a computer-readable storage medium storing a computer program for implementing the method in the above method embodiment. When the computer program is executed on a computer, the computer can implement the method in the above method embodiment.
[0420] An embodiment of the present application further provides a computer program product, which includes computer program code. When the computer program code runs on a computer, the method in the above method embodiment is executed.
[0421] An embodiment of the present application also provides a chip, including a processor, wherein the processor is connected to a memory, the memory is used to store computer programs, and the processor is used to execute the computer programs stored in the memory, so that the chip executes the method in the above method embodiment.
[0422] It should be understood that in the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.
[0423] In the embodiment of the present application, the numbers "first", "second"... are only for distinguishing different objects, such as for distinguishing different information, and do not constitute a limitation on the scope of the embodiment of the present application, and the embodiment of the present application is not limited to this.
[0424] In addition, the term "and / or" in this application is merely a description of the association relationship between associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the previous and next associated objects are in an "or" relationship; the term "at least one" in this application can mean "one" and "two or more". For example, A, B and C can represent seven situations: A exists alone, B exists alone, C exists alone, A and B exist at the same time, A and C exist at the same time, C and B exist at the same time, and A, B and C exist at the same time.
[0425] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0426] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0427] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0428] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0429] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0430] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0431] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A communication method, characterized in that: include: The session management device receives a session establishment request message from the terminal device, where the session establishment request message is used to request establishment of a first session for transmitting IoT service data; The session management device establishes an IoT service transmission path with the user plane device and the IoT management device respectively according to the session establishment request message, wherein the IoT service transmission path is used to transmit the IoT service data; The session management device sends a session establishment acceptance message to the terminal device, wherein the session establishment acceptance message includes an uplink destination address for transmitting IoT service data by the terminal device, and the uplink destination address includes address information of the user plane device; The session management device sends first information to the user plane device, and the first information instructs the user plane device to send the Internet of Things service data to the session management device when the uplink destination address of the received Internet of Things service data is the address of the user plane device.
2. The method according to claim 1, characterized in that The session management device establishes an Internet of Things service transmission path with the Internet of Things management device according to the session establishment request message, including: The session management device sends a first request message to the Internet of Things management device, where the first request message is used to request to establish the Internet of Things service transmission path between the session management device and the Internet of Things management device, and the first request message includes at least one of an identifier of the terminal device, address information of the terminal device, or an identifier of the first session; The session management device receives a first response message from the Internet of Things management device, where the first response message indicates that establishment of the Internet of Things service transmission path between the session management device and the Internet of Things management device is complete.
3. The method according to claim 2, characterized in that The first request message also includes information of an access and mobility management device serving the terminal device and / or information of a wireless access network device serving the terminal device.
4. The method according to any one of claims 1 to 3, characterized in that The session management device establishes an Internet of Things service transmission path with the user plane device according to the session establishment request message, including: The session management device sends a second request message to the user plane device, where the second request message is used to request to establish an Internet of Things service transmission path between the session management device and the user plane device, and the second request message includes an identifier of the Internet of Things service transmission path between the session management device and the user plane device and first indication information, where the first indication information is used to instruct the user plane device to allocate the uplink destination address; The session management device receives a second response message from the user plane device, where the second response message indicates that establishment of an IoT service transmission path between the session management device and the user plane device is complete, and the second response message includes address information of the user plane device.
5. The method according to any one of claims 1 to 3, characterized in that The session management device establishes an Internet of Things service transmission path with the user plane device according to the session establishment request message, including: The session management device sends a second request message to the user plane device, where the second request message is used to request to establish a second session between the session management device and the user plane device, where the second request message includes an identifier of the second session and first indication information, where the first indication information is used to instruct the user plane device to allocate the uplink destination address; The session management device receives a second response message from the user plane device, where the second response message indicates that establishment of the second session is complete, and the second response message includes address information of the user plane device.
6. The method according to any one of claims 1 to 3, characterized in that The session management device establishes an Internet of Things service transmission path with the user plane device according to the session establishment request message, including: The session management device sends a second request message to the user plane device, where the second request message is used to request to establish the Internet of Things service transmission path between the session management device and the user plane device, and the second request message includes an identifier of the Internet of Things service transmission path between the session management device and the user plane device and address information of the user plane device; The session management device receives a second response message from the user plane device, where the second response message indicates that establishment of an Internet of Things service transmission path between the session management device and the user plane device is complete.
7. The method according to any one of claims 1 to 3, characterized in that The session management device establishes an Internet of Things service transmission path with the user plane device according to the session establishment request message, including: The session management device sends a second request message to the user plane device, where the second request message is used to request to establish the session a second session between the management device and the user plane device, wherein the second request message includes an identifier of the second session and address information of the user plane device; The session management device receives a second response message from the user plane device, where the second response message indicates that establishment of the second session is complete.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: The session management device receives second information sent by the Internet of Things management device, where the second information instructs the terminal device to execute an Internet of Things service instruction; The session management device sends third information to the user plane device, and the third information instructs the terminal device to execute the Internet of Things service instruction.
9. The method according to claim 8, characterized in that When the Internet of Things service instruction instructs obtaining target Internet of Things service data from the Internet of Things terminal, the method further includes: The session management device receives the target Internet of Things service data sent by the user plane device; The session management device sends the target Internet of Things service data to the Internet of Things management device.
10. A communication method, characterized in that: include: The Internet of Things management device receives a first request message from a session management device, wherein the first request message is used to request establishment of an Internet of Things service transmission path between the session management device and the Internet of Things management device, and the first request message includes at least one of an identifier of a terminal device, address information of the terminal device, or an identifier of a session requested to be established by the terminal device, wherein the Internet of Things service transmission path is used to transmit Internet of Things service data; The Internet of Things management device sends a first response message to the session management device, where the first response message indicates that the Internet of Things service transmission path between the session management device and the Internet of Things management device is established.
11. The method according to claim 10, characterized in that The first request message also includes information of an access and mobility management device serving the terminal device and / or information of a wireless access network device serving the terminal device.
12. The method according to claim 10 or 11, characterized in that: The method further comprises: The Internet of Things management device receives fourth information from the service requester, where the fourth information indicates executing the Internet of Things service instruction in the target area; The Internet of Things management device determines the terminal device located in the target area to execute the Internet of Things service instruction; The Internet of Things management device sends second information to the session management device, and the second information instructs the terminal device to execute the Internet of Things service instruction.
13. The method according to claim 11, characterized in that The method further comprises: The Internet of Things management device receives fourth information from the service requester, where the fourth information indicates executing the Internet of Things service instruction in the target area; The Internet of Things management device determines the terminal device located in the target area to execute the Internet of Things service instruction; The Internet of Things management device sends fifth information to the access and mobility management device, and the fifth information instructs the terminal device to execute the Internet of Things service instruction.
14. The method according to claim 12 or 13, characterized in that When the Internet of Things service instruction instructs obtaining target Internet of Things service data from the Internet of Things terminal, the method further includes: The Internet of Things management device receives the target Internet of Things service data sent by the session management device; The Internet of Things management device sends the target Internet of Things service data to the service requester.
15. The method according to any one of claims 12 to 14, characterized in that The Internet of Things management device determines the terminal device located in the target area to execute the Internet of Things service instruction, including: The Internet of Things management device determines that the terminal device has activated the reader / writer function and determines that the terminal device is located in the target area.
16. The method according to claim 15, characterized in that The Internet of Things management device determines that the terminal device is located in the target area, including: The Internet of Things management device determines that the terminal device is located in the target area according to the information of the access and mobility management device serving the terminal device and / or the information of the wireless access network device serving the terminal device; or The Internet of Things management device determines that the terminal device is located in the target area by triggering a positioning process of the terminal device; or, The Internet of Things management device determines that the terminal device is located in the target area based on the location information of the terminal device obtained from the unified data management device or the location information of the terminal device supporting the reader / writer function.
17. The method according to claim 15 or 16, characterized in that The Internet of Things management device determines that the terminal device has activated the reader / writer function, including: The Internet of Things management device sends a subscription request message to the unified data management device, where the subscription request message is used to obtain information of a terminal device that supports a reader / writer function; The Internet of Things management device receives a subscription response message from the unified data management device, wherein the subscription response message includes at least one of an identification of a terminal device supporting a reader / writer function, location information of the terminal device supporting a reader / writer function, status information of the terminal device supporting a reader / writer function, and information of a core network device serving the terminal device supporting a reader / writer function; The Internet of Things management device determines, based on the subscription response message, that the reader / writer function of the terminal device has been activated.
18. The method according to claim 15 or 16, characterized in that The Internet of Things management device determines that the terminal device has activated the reader / writer function, including: The Internet of Things management device receives second indication information from the terminal device, where the second indication information is used to indicate that the reader / writer function of the terminal device has been activated.
19. A method of communication, characterized in that: include: The user plane device receives a second request message from the session management device, where the second request message is used to request to establish an IoT service transmission path between the session management device and the user plane device, where the second request message includes an identifier of the IoT service transmission path and first indication information, where the first indication information is used to instruct the user plane device to allocate an uplink destination address for the terminal device to transmit IoT service data, and the IoT service transmission path is used to transmit the IoT service data; The user plane device sends a second response message to the session management device, where the second response message indicates that establishment of the IoT service transmission path is complete, and the second response message includes address information of the user plane device.
20. The method according to claim 19, characterized in that The method further comprises: The user plane device receives third information sent by the session management device, where the third information instructs the terminal device to execute an Internet of Things service instruction; The user plane device sends sixth information to the terminal device, and the sixth information instructs the terminal device to execute the Internet of Things service instruction.
21. The method according to claim 20, characterized in that When the Internet of Things service instruction instructs obtaining target Internet of Things service data from the Internet of Things terminal, the method further includes: The user plane device receives the target IoT service data from the terminal device; The user plane device sends the target Internet of Things service data to the session management device.
22. A method of communication, characterized in that: include: The session management device receives a session establishment request message from the terminal device, where the session establishment request message is used to request establishment of a first session for transmitting IoT service data; The session management device obtains address information of the Internet of Things management device from the Internet of Things management device according to the session establishment request message, wherein the Internet of Things management device is used to transmit the Internet of Things service data corresponding to the first session; The session management device sends a session establishment acceptance message to the terminal device, wherein the session establishment acceptance message includes an uplink destination address for transmitting IoT service data by the terminal device, and the uplink destination address includes address information of the IoT management device.
23. The method according to claim 22, characterized in that The session management device obtains address information of the Internet of Things management device from the Internet of Things management device according to the session establishment request message, including: The session management device sends a third request message to the Internet of Things management device, where the third request message is used to request to obtain address information of the Internet of Things management device, and the third request message includes address information corresponding to the terminal device, where the address information corresponding to the terminal device includes address information of the terminal device and / or address information of a user plane device corresponding to the terminal device; The session management device receives a third response message from the Internet of Things management device, where the third response message includes address information of the Internet of Things management device.
24. The method according to claim 23, characterized in that The third request message also includes information of an access and mobility management device serving the terminal device and / or information of a wireless access network device serving the terminal device.
25. The method according to claim 23 or 24, characterized in that The method further comprises: The session management device sends first indication information to the user plane device, where the first indication information is used to instruct the user plane device to allocate address information for the terminal device to transmit Internet of Things service data; The session management device receives address information of the user plane device from the user plane device.
26. The method according to any one of claims 23 to 25, characterized in that The method further comprises: The Internet of Things management device receives fourth information from the service requester, where the fourth information indicates executing the Internet of Things service instruction in the target area; The Internet of Things management device determines the terminal device located in the target area to execute the Internet of Things service instruction; The Internet of Things management device sends seventh information to the user plane device, and the seventh information instructs the terminal device to execute the Internet of Things service instruction.
27. The method according to claim 26, characterized in that When the Internet of Things service instruction instructs obtaining target Internet of Things service data from the Internet of Things terminal, the method further includes: The Internet of Things management device receives the target Internet of Things service data sent by the user plane device; The Internet of Things management device sends the target Internet of Things service data to the service requester.
28. A method of communication, characterized in that: include: The Internet of Things management device receives a third request message from the session management device, wherein the third request message is used to request to obtain address information of the Internet of Things management device, wherein the third request message includes address information corresponding to a terminal device for requesting to establish a first session, wherein the address information corresponding to the terminal device includes address information of the terminal device and / or address information of a user plane device corresponding to the terminal device, wherein the Internet of Things management device and the user plane device are used to transmit Internet of Things service data corresponding to the first session; The Internet of Things management device sends a third response message to the session management device, and the third response message includes address information of the Internet of Things management device.
29. The method according to claim 28, characterized in that The third request message also includes information of an access and mobility management device serving the terminal device and / or information of a wireless access network device serving the terminal device.
30. The method according to claim 28 or 29, characterized in that The method further comprises: The Internet of Things management device receives fourth information from the service requester, where the fourth information indicates executing the Internet of Things service instruction in the target area; The Internet of Things management device determines the terminal device located in the target area to execute the Internet of Things service instruction; The Internet of Things management device sends seventh information to the user plane device, and the seventh information instructs the terminal device to execute the Internet of Things service instruction.
31. The method according to claim 28 or 29, characterized in that The method further comprises: The Internet of Things management device receives fourth information from the service requester, where the fourth information indicates executing the Internet of Things service instruction in the target area; The Internet of Things management device determines the terminal device located in the target area to execute the Internet of Things service instruction; The Internet of Things management device sends fifth information to the access and mobility management device, and the fifth information instructs the terminal device to execute the Internet of Things service instruction.
32. The method according to claim 30 or 31, characterized in that When the Internet of Things service instruction instructs obtaining target Internet of Things service data from the Internet of Things terminal, the method further includes: The Internet of Things management device receives the target Internet of Things service data sent by the user plane device; The Internet of Things management device sends the target Internet of Things service data to the service requester.
33. The method according to any one of claims 30 to 32, characterized in that The Internet of Things management device determines the terminal device located in the target area to execute the Internet of Things service instruction, including: The Internet of Things management device determines that the terminal device has activated the reader / writer function and determines that the terminal device is located in the target area.
34. The method according to claim 33, characterized in that The Internet of Things management device determines that the terminal device is located in the target area, including: The Internet of Things management device determines that the terminal device is located in the target area according to the information of the access and mobility management device serving the terminal device and / or the information of the wireless access network device serving the terminal device; or The Internet of Things management device determines that the terminal device is located in the target area by triggering a positioning process of the terminal device; or, The Internet of Things management device determines that the terminal device is located in the target area based on the location information of the terminal device obtained from the unified data management device or the location information of the terminal device supporting the reader / writer function.
35. The method according to claim 33 or 34, characterized in that The Internet of Things management device determines that the terminal device has activated the reader / writer function, including: The Internet of Things management device sends a subscription request message to the unified data management device, where the subscription request message is used to obtain information about terminal devices that support the reader / writer function; The Internet of Things management device receives a subscription response message from the unified data management device, wherein the subscription response message includes at least one of an identification of a terminal device supporting a reader / writer function, location information of the terminal device supporting a reader / writer function, status information of the terminal device supporting a reader / writer function, and information of a core network device serving the terminal device supporting a reader / writer function; The Internet of Things management device determines, based on the subscription response message, that the reader / writer function of the terminal device has been activated.
36. The method according to claim 33 or 34, characterized in that The Internet of Things management device determines that the terminal device has activated the reader / writer function, including: The Internet of Things management device receives second indication information from the terminal device, where the second indication information is used to indicate that the reader / writer function of the terminal device has been activated.
37. A method of communication, characterized in that: include: The terminal device determines to establish a first session for transmitting IoT service data; The terminal device sends a session establishment request message to the session management device, where the session establishment request message is used to request establishment of the first session for transmitting IoT service data; The terminal device receives a session establishment acceptance message from the session management device, wherein the session establishment acceptance message includes an uplink destination address for the terminal device to transmit the Internet of Things service data, and the uplink destination address includes address information of a user plane device or address information of an Internet of Things management device, wherein the Internet of Things management device and the user plane device are used to transmit the Internet of Things service data corresponding to the first session.
38. The method according to claim 37, characterized in that The terminal device determines to establish a first session for transmitting IoT service data, including: The terminal device sends third indication information to the access and mobility management device, where the third indication information is used to indicate that the terminal device supports a reader / writer function; The terminal device receives eighth information from the access and mobility management device, where the eighth information indicates a session parameter for transmitting IoT service data; The terminal device determines to establish the first session for transmitting IoT service data based on the eighth information.
39. The method according to claim 37 or 38, characterized in that The method further comprises: The terminal device sends second indication information to the Internet of Things management device, where the second indication information is used to indicate that the reader / writer function of the terminal device has been activated.
40. The method according to any one of claims 37 to 39, characterized in that The method further comprises: The terminal device receives sixth information sent by the user plane device, where the sixth information instructs the terminal device to execute an Internet of Things service instruction; The terminal device executes the Internet of Things service instruction.
41. The method according to claim 40, characterized in that When the Internet of Things service instruction instructs the terminal device to obtain target Internet of Things service data from the Internet of Things terminal, the terminal device executes the Internet of Things service instruction, including: The terminal device receives the target Internet of Things service data from the Internet of Things terminal according to the Internet of Things service instruction; The terminal device uses the uplink destination address to send the target Internet of Things service data to the user plane device or the Internet of Things management device.
42. A communication device, characterized in that: Comprising a unit or module for performing the method as claimed in any one of claims 1 to 9, or 10 to 18, or 19 to 21, or 22 to 27, or 28 to 36, or 37 to 41.
43. A communication device, characterized in that: include: A processor and a memory, the memory being used to store a computer program, the processor being used to execute the computer program stored in the memory, so that the communication device executes the method according to any one of claims 1 to 41.
44. A communication device, characterized in that: include: Input-output interfaces and logic circuits; The input and output interface is used to obtain input information and / or output information; The logic circuit is used to execute the method according to any one of claims 1 to 41, and to process and / or generate the output information according to the input information.
45. A communication system, characterized in that: include: A session management device, an Internet of Things management device, a user plane device and a terminal device, wherein the session management device is used to implement the method described in any one of claims 1 to 9 or 22 to 27, the Internet of Things management device is used to implement the method described in any one of claims 10 to 18 or 28 to 36, the user plane device is used to implement the method described in any one of claims 19 to 21, and the terminal device is used to implement the method described in any one of claims 37 to 41.
46. A computer-readable storage medium, characterized in that include: The computer readable medium stores a computer program; When the computer program is executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 41.
Citation Information
Patent Citations
Group based context and security for massive internet of things devices
CN110476448A
Cross-referencing service delivery related applications for multi-user mobile terminals
CN114128335A
SMF and AMF Relocation During UE Registration
US20190098536A1
Tag management method and related apparatus
WO2022251993A1
Cited By
Apparatus and method for ambient internet of things communication in a wireless communication system
WO2025141553A1
Apparatus and method for ambient internet of things communication in a wireless communication system
WO2025150015A1
