Communication method and device
By establishing an IoT service transmission path between the session management device, the user plane device and the IoT management device in the passive IoT system, the problem of terminal devices being communicated as readers and writers is solved, and the flexibility of terminal devices is improved. Mobility enables effective connection with the core network.
Patent Information
- Application Number
- CN202310478575.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-27
- Publication Date
- 2024-11-01
AI Technical Summary
The existing passive IoT technology mainly considers access network devices as readers and writers, and it is difficult to support terminal devices to communicate as readers and writers, which limits the flexibility and mobility of terminal devices.
The IoT service transmission path is established between the session management device and the terminal device, user plane device and the IoT management device, so as to realize the communication between the terminal device as a reader and the IoT terminal, and the core network is responsible for managing the IoT terminal. Functional equipment docking.
It realizes effective communication between terminal devices as readers and IoT terminals, improves the flexibility and mobility of terminal devices, supports the docking of terminal devices with the core network when they are reader and writers, and enhances the flexibility and efficiency of data transmission. .
Smart Images

Figure CN118890712A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and more specifically, to a communication method and device. Background Art
[0002] At present, passive IoT technology is widely used in various industries. The passive IoT architecture can include IoT terminals, readers and writers, and servers. IoT terminals can be in the form of tags or any other terminal forms. Readers and writers can be access network devices, such as base stations, pole stations, micro base stations, macro stations, etc. Readers and writers use wireless radio frequency to perform non-contact two-way data communication, and use wireless radio frequency to read and write electronic tags or radio frequency cards, so as to achieve the purpose of identifying targets and exchanging data.
[0003] The current passive IoT technology mainly considers the scenario where the access network device acts as a reader / writer, and how to support the terminal device as a reader / writer is also something that needs to be considered. Summary of the invention
[0004] The present application provides a communication method and apparatus, which can enable a terminal device as a reader / writer to communicate with an Internet of Things terminal.
[0005] 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 is used to request the 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 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, 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 user plane device; the session management device sends a first message to the user plane device, the first message 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.
[0006] Based on the above technical solution, a terminal device supporting the reader / writer function 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; 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 sends the IoT service data to the IoT management device. 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 is a reader / writer, it can transmit IoT service data to the IoT management device through the user plane device and the session management device. In addition, the terminal device has good mobility and wide distribution, and the terminal device is more flexible when it is used as a reader / writer than when the access network device is used as a reader / writer.
[0007] 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 to establish 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 Internet of Things service transmission path between the session management device and the Internet of Things management device is established.
[0008] In combination with the first aspect, in some 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 wireless access network device serving the terminal device. The information about the access and mobility management device serving the terminal device and / or information about the wireless access network device serving the terminal device can be used to determine the location of the terminal device.
[0009] 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 according to 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 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 between the session management device and the user plane device 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 IoT service transmission path between the session management device and the user plane device is established, and the second response message includes the address information of the user plane device. In this implementation, the session management device instructs the user plane device to allocate an uplink destination address / address information of the user plane device for the terminal device to transmit IoT service data.
[0010] In combination with the first aspect, in some implementations of the first aspect, the session management device establishes an IoT 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, the second request message is used to request the 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 establishment of the second session is complete, and the second response message includes the address information of the user plane device. Among them, 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 can be a session established through the N4 interface, which can be called an N4 session.
[0011] In combination 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 according to 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 the 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 the 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 IoT service transmission path between the session management device and the user plane device is established. In this implementation, the session management device allocates an uplink destination address / address information of the user plane device for the terminal device to transmit IoT service data, and sends the uplink destination address / address information of the user plane device to the user plane device.
[0012] In combination 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 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 establishment of the second session is complete.
[0013] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the session management device receives second information sent by the Internet of Things management device, the second information instructing the terminal device to execute the Internet of Things service instruction; the session management device sends third information to the user plane device, the third information instructing the terminal device to execute the Internet of Things service instruction. The Internet of Things management device can send information instructing the terminal device to execute the Internet of Things service instruction to the terminal device through the user plane / session management device and the user plane device.
[0014] In combination with the first aspect, in certain implementations of the first aspect, when the IoT service instruction indicates obtaining target IoT service data from the IoT terminal, the method further includes: the session management device receiving the target IoT service data sent by the user plane device; the session management device sending the target IoT service data to the IoT management device. The terminal device can send the target IoT service data to the IoT management device through the user plane / user plane device and the session management device.
[0015] 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 the identifier of the terminal device, the address information of the terminal device, or the identifier of the 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 indicates that the Internet of Things service transmission path between the session management device and the Internet of Things management device is established.
[0016] The method provided in the second aspect is a method on the IoT management device side corresponding to the first aspect, and its beneficial effects can refer to the first aspect.
[0017] In combination with the second aspect, in certain implementations of the second aspect, 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.
[0018] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the Internet of Things management device receives fourth information from the service requester, the fourth information indicating that the Internet of Things service instruction is executed 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, the second information indicating that the terminal device executes the Internet of Things service instruction. The Internet of Things management device can send information to the terminal device through the user plane / session management device and the user plane device to instruct the terminal device to execute the Internet of Things service instruction.
[0019] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the Internet of Things management device receives fourth information from the service requester, the fourth information indicating that the Internet of Things service instruction is executed 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, the fifth information instructing the terminal device to execute the Internet of Things service instruction. The Internet of Things management device can send information to the terminal device through the control plane / access and mobility management device to instruct the terminal device to execute the Internet of Things service instruction.
[0020] Among them, 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, the terminal device supporting the reader / writer function needs to 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 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.
[0021] In combination with the second aspect, in certain implementations of the second aspect, when the IoT business instruction instructs 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 session management device; and the IoT management device sends the target IoT business data to the business requester.
[0022] In combination with the second aspect, in certain implementations of the second aspect, the Internet of Things management device determines the terminal device 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.
[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, including: the Internet of Things management device determines that the terminal device is located in the target area based on information of the access and mobility management device that serves the terminal device and / or information of the wireless access network device that serves 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 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.
[0024] In combination with the second aspect, in some 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 sends a subscription request message to a unified data management device, 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, the subscription response message includes at least one of an identifier of a 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. In this example, it can be considered that the reader / writer function of the terminal device that supports the reader / writer function is activated.
[0025] 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.
[0026] In 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 Internet of Things service transmission path between the session management device and the user plane device, the second request message includes an identifier of the Internet of Things service transmission path and first indication information, the first indication information is used to indicate that the user plane device allocates an uplink destination address for the terminal device to transmit Internet of Things service data, and the Internet of Things service transmission path is used to transmit the Internet of Things service data; the user plane device sends a second response message to the session management device, the second response message indicates that the Internet of Things service transmission path is established, and the second response message includes the address information of the user plane device.
[0027] 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.
[0028] 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 business 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 business instruction.
[0029] 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 also 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.
[0030] In a fourth 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 to establish 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 user plane device sends a second response message to the session management 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.
[0031] In a fifth 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 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 the address information of the user plane device; the user plane device sends a second response message to the session management device, and the second response message indicates that the Internet of Things service transmission path between the session management device and the user plane device is established.
[0032] In a sixth 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 to establish a second session between the session management device and the user plane device, and the second request message includes an identifier of the second session and address information of the user plane device; the user plane device sends a second response message to the session management device, and the second response message indicates that the establishment of the second session is complete.
[0033] 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, and 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 the address information of the IoT management device from the IoT management device according to the session establishment request message, wherein the IoT management device is used to transmit the IoT service data corresponding to the first session; the session management device sends a session establishment acceptance message to the terminal device, and the session establishment acceptance message includes the uplink destination address of the terminal device for transmitting IoT service data, and the uplink destination address includes the address information of the IoT management device.
[0034] Based on the above technical solution, a terminal device supporting a reader / writer function 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, and the IoT management device is used to transmit 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 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 is a reader / writer, it can transmit IoT service data to the IoT management device through the user plane device. In addition, the terminal device has good mobility and wide distribution, and the terminal device is more flexible when it is used as a reader / writer than when the access network device is used as a reader / writer.
[0035] 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 plane 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.
[0036] In conjunction with the seventh aspect, in some 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 wireless access network device serving the terminal device. The information about the access and mobility management device of the terminal device, and / or information about the wireless access network device serving the terminal device, can be used to determine the location of the terminal device.
[0037] In combination with the seventh aspect, in certain implementations of the seventh aspect, the method further includes: the session management device sends first indication information to the user plane device, the first indication information is used to instruct the user plane device to allocate address information for the terminal device to transmit IoT service data; the session management device receives 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 used 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.
[0038] In combination with the seventh aspect, in some implementations of the seventh aspect, the method further includes: the Internet of Things management device receives fourth information from the service requester, the fourth information indicating that the Internet of Things service instruction is executed 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, the seventh information indicating that the terminal device executes the Internet of Things service instruction. The Internet of Things management device may send information indicating the execution of the Internet of Things service instruction to the terminal device through the user plane device.
[0039] In conjunction with the seventh aspect, in certain implementations of the seventh aspect, when the IoT service instruction indicates obtaining target IoT service data from an IoT terminal, the method further includes: the IoT management device receiving the target IoT service data sent by the user plane device; the IoT management device sending 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.
[0040] 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.
[0041] 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.
[0042] In combination with the eighth aspect, in certain implementations of the eighth aspect, 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.
[0043] In combination with the eighth aspect, in certain implementations of the eighth aspect, the method further includes: the Internet of Things management device receives fourth information from the service requester, the fourth information indicating that the Internet of Things service instruction is executed 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, the seventh information indicating that the terminal device executes the Internet of Things service instruction. The Internet of Things management device can send information indicating the execution of the Internet of Things service instruction to the terminal device through the user plane / user plane device.
[0044] In combination with the eighth aspect, in certain implementations of the eighth aspect, the method further includes: the Internet of Things management device receives fourth information from the service requester, the fourth information indicating execution of 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, the fifth information indicating the terminal device to execute the Internet of Things service instruction. The Internet of Things management device may send information indicating execution of the Internet of Things service instruction to the terminal device via the control plane / access and mobility management device.
[0045] Among them, 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, the terminal device supporting the reader / writer function needs to 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 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.
[0046] In combination with the eighth aspect, in certain implementations of the eighth aspect, when the IoT service instruction instructs obtaining target IoT service data from the IoT terminal, the method also includes: the IoT management device receives the target IoT service data sent by the user plane device; and the IoT management device sends the target IoT service data to the service requester.
[0047] In combination with the eighth aspect, in certain implementations of the eighth aspect, the Internet of Things management device determines the terminal device 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.
[0048] In conjunction with the eighth aspect, in some implementations of the eighth aspect, the Internet of Things management device determines that the terminal device is located in the target area, including:
[0049] 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 that serves the terminal device and / or the information of the wireless access network device that serves 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 that supports the reader / writer function.
[0050] 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 identification 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.
[0051] In combination with the eighth aspect, in certain implementations of the eighth aspect, the Internet of Things management device determines that the reader / writer function of the terminal device has been activated, 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.
[0052] In a ninth 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 first indication information from a session management device, the first indication information is used to indicate the user plane device to allocate address information for a terminal device to transmit IoT service data; the user plane device sends the address information of the user plane device to the session management device.
[0053] 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.
[0054] In combination with the ninth aspect, in certain implementations of the ninth aspect, the method further includes: the user plane 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 instructions; 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 business instructions.
[0055] 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 also 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.
[0056] 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, and the session establishment request message is used to request to establish the first session for transmitting IoT service data; the terminal device receives a session establishment acceptance message from the session management device, and the session establishment acceptance message includes an uplink destination address for the terminal device to transmit the IoT service data, and the uplink destination address includes the address information of the user plane device, or the address information of the 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.
[0057] Based on the above technical solution, a terminal device supporting a reader / writer function can request a session management device to establish a first session for transmitting IoT service data, and the session management device respectively establishes an IoT service transmission path for transmitting IoT service data with a user plane device and an IoT management device, or 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; or, 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 as a reader / writer to communicate with an IoT terminal, and enables a terminal device as a reader / writer to connect with a functional device in the core network responsible for managing IoT terminals. When the terminal device is a reader / writer, it can transmit IoT service data to the IoT management device through a user plane device, or a user plane device and a session management device. In addition, the terminal devices have good mobility and wide distribution, and the terminal devices are more flexible when used as readers than when the access network devices are used as readers.
[0058] 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 a 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.
[0059] In combination with the tenth aspect, in certain implementations of the tenth aspect, the method further includes: the terminal device sends second indication information to the Internet of Things management device, and the second indication information is used to indicate that the terminal device has activated the reader / writer function.
[0060] 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 an Internet of Things service instruction; the terminal device executes the Internet of Things service instruction.
[0061] In combination with the tenth aspect, in certain implementation methods of the tenth aspect, when the Internet of Things business instruction instructs to obtain target Internet of Things business data from the Internet of Things terminal, the terminal device executes the Internet of Things business instruction, including: the terminal device receives the target Internet of Things business data from the Internet of Things terminal according to the Internet of Things business instruction; the terminal device uses the uplink destination address to send the target Internet of Things business data to the user plane device or the Internet of Things management device.
[0062] 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 Internet of Things service transmission path with the user plane device and the Internet of Things management device respectively in the method described in the first aspect, or, used to implement the function of obtaining the address information of the Internet of Things management device from the Internet of Things management device in the method described in the seventh aspect.
[0063] 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 determining the terminal device located in the target area to execute the Internet of Things business instructions of the method described in the second aspect or the eighth aspect.
[0064] 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, and 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.
[0065] 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.
[0066] In a 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 manner of the first to tenth aspects.
[0067] In the sixteenth aspect, a communication device is provided, including: an input-output interface and a logic circuit, wherein the input-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 processes and / or generates output information according to the input information.
[0068] 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.
[0069] In the eighteenth aspect, a computer-readable storage medium is provided, wherein the computer-readable medium 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 manner of the first to tenth aspects.
[0070] In a nineteenth aspect, a computer program product comprising instructions is provided, wherein when the instructions are executed by a computer, a communication device implements the method in the above-mentioned first to tenth aspects and any possible implementation method of the first to tenth aspects.
[0071] 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
[0072] Figure 1 It is a schematic diagram of passive IoT service transmission.
[0073] Figure 2 It is a schematic diagram of the IoT terminal protocol stack.
[0074] Figure 3 It is a schematic process interaction diagram of the registration process of the terminal device.
[0075] Figure 4 It is a schematic flow interaction diagram of the session establishment process of the terminal device.
[0076] Figure 5 It is a schematic diagram of a system architecture applicable to an embodiment of the present application.
[0077] Figure 6 It is a schematic diagram of the access network device acting as a reader / writer and the terminal device acting as a reader / writer.
[0078] Figure 7 It is a schematic flow chart of a communication method provided by the present application.
[0079] Figure 8 It is a schematic diagram of a protocol stack corresponding to a communication method provided by the present application.
[0080] Fig. 9 It is a schematic diagram of the registration process of a terminal device in the communication method provided in an embodiment of the present application.
[0081] Fig.10 It is a schematic diagram of the session establishment process of a terminal device in the communication method provided in an embodiment of the present application.
[0082] Fig.11 It is a schematic flow chart of another communication method provided by the present application.
[0083] Fig.12 It is a schematic diagram of a protocol stack corresponding to another communication method provided by the implementation of the present application.
[0084] Fig.13 It 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.
[0085] Figures 14 to 20 It is a schematic block diagram of a communication device according to an embodiment of the present application. DETAILED DESCRIPTION
[0086] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0087] 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.
[0088] The communication system applicable to the present application includes one or more transmitting ends and one or more receiving ends, wherein the signal transmission between the transmitting end and the receiving end can be transmitted through radio waves, or through transmission media such as visible light, laser, infrared, and optical fiber.
[0089] 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.
[0090] 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, a user equipment (UE), a cellular phone, a smart phone, a wireless data card, a personal digital assistant (PDA) computer, 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, etc. Among them, the user equipment includes a vehicle user equipment.
[0091] 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., 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 The network device may be a distributed unit (BBU) or a distributed unit (DU), or a vehicle-mounted device, a wearable device, a network device in a 5G network, a network device in an evolved public land mobile network (PLMN), or a network device deployed on a satellite, without limitation.
[0092] The product forms of network equipment are very rich. For example, in 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 through a cable (for example, 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 by 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.
[0093] In addition, the BBU can be further decomposed into multiple parts. For example, the BBU can be further subdivided into a centralized unit (CU) and a distributed unit (DU) according to the real-time nature of the services being processed. The CU is responsible for processing non-real-time protocols and services, and the DU is responsible for processing 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.
[0094] In order to facilitate the understanding of the embodiments of the present application, the technical solutions related to the embodiments of the present application are briefly introduced below.
[0095] 1. Introduction to Passive Internet of Things (P-IoT) Technology
[0096] In the passive Internet of Things, some network nodes can be passive, semi-passive, semi-active or active. For example, the Internet of Things terminal has a capacitor that can store electrical energy, and can store energy in the environment such as solar energy, radio power, etc. in the capacitor. They can obtain energy through solar energy, radio frequency, wind energy, water energy or tidal energy, and there is no restriction on the way of obtaining energy. These network nodes themselves are not equipped with or do not rely on power devices such as batteries, but obtain energy from the environment to support data perception, transmission and distributed computing. These network nodes can also store the obtained energy. Passive Internet of Things technology can be understood as ambient power-enabled IoT (A-IoT) technology.
[0097] 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, so as to achieve the purpose of identifying targets and exchanging data. There are two working modes of the reader / writer. One is that when the tag enters the effective identification range of the reader / writer, it receives the radio frequency signal sent by the reader / writer, and sends out the information stored in the chip by means of energy obtained by induced current (corresponding to passive tags); the other is that the tag can store part of the electrical energy through solar energy and other means, so that it can actively send a signal of a certain frequency (corresponding to semi-passive tags or semi-active tags). After the reader / writer receives and decodes the information, it sends it to the central information system for relevant data processing.
[0098] Passive IoT technology is widely used in various industries. Here are two application scenarios:
[0099] 1. Warehouse / Transportation / Material: Passive or semi-passive tags are embedded or affixed to the goods. During the logistics process of goods stored in warehouses and shopping malls, the goods-related information 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 anti-counterfeiting;
[0100] 2. Fixed asset management: Some places with huge 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 valuables, the administrator will be reminded in the system at the first time to deal with the relevant situation.
[0101] Figure 1 The figure is a schematic diagram of the transmission of passive IoT services. Its feature is that the core network equipment executes the processes related to the passive IoT services, such as tag access management, security authentication, instruction transmission, tag management and other functions. 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 Figure 1The newly added functions shown are used to perform IoT terminal (such as tags) management or IoT data transmission, such as IoT management function (IoT management funciton, IMF) or IoT terminal management function (IoT device management function, IDMF), which can be called ambient IoT management function (ambient IoT management function, AIMF), ambient IoT terminal management function (ambient IoT device management function, AIDMF), passive IoT management function (passive IoT management function, PIMF), passive IoT terminal management function (passive IoT device management function, PIDMF) or tag management function (tag management function, TMF), and the newly added function can be connected to the access network device, and the connection mode includes 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 operations of the IoT terminal, such as reading, writing, inventorying, positioning, failure and other operations, which are described in detail below. In this application, unless otherwise specified, the IoT management function can be interchangeable with the IoT management device.
[0102] 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 interaction operation with the tag, sending a load (playload) to the tag, or positioning operation. The operation instruction may include regional location information, identification information of the tag, etc. The base station sends an access instruction to the tag. When the tag is successfully randomly accessed, 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 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 storage area of the tag. 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, and the base station receives the positioning signal and sends the positioning signal to a device performing a positioning function to perform the positioning operation, for example, the device performing the positioning function is a location management function (LMF). 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.
[0103] The server can send instructions through the control plane channel, such as Figure 1 As shown, the server sends instructions to AMF or other core network devices with management tags or execution tag instructions or supporting passive IoT, for example, the server sends instructions to TMF; at this time, 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 a possible implementation, P-IoT AF or A-IoT AF sends instructions to AMF or TMF through a network exposure function (NEF).
[0104] 2. Label operation types
[0105] 1. The inventory operation / inventory operation of tags is as described above. In one possible implementation, the inventory operation may also include a full-tag inventory operation, that is, obtaining the identification of tags within the coverage range of the reader. It is understandable that this type of operation may be named differently to distinguish the above-mentioned inventory operation, such as a full-tag inventory operation or an unrestricted inventory operation; or, when the tag identification range in the above-mentioned inventory operation is not limited, it can be understood that the inventory operation is to obtain the identification of tags within the coverage range of the reader.
[0106] 2. Read operation, read data from the tag. The tag can have a storage function, and its storage area can store data. If the operation requester wants to read the tag, it will send a read instruction to the reader. The reader performs a read operation on the tag according to the instruction, reads the data from the tag storage area, and sends the data to the server.
[0107] 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 and writes data to the tag's storage area.
[0108] 4. Invalidation operation, invalidating the tag. The operation requester can send an invalidation instruction to the reader / writer, which can include a tag identifier, which is the identifier of the tag that the operation requester wants to invalidate. The reader / writer performs an invalidation operation on the tag according to the invalidation instruction. After the operation is completed, the tag will be invalidated and cannot be counted or subjected to other operations.
[0109] 5. Obtain tag information. In one possible implementation, the reader / writer obtains or receives tag information sent by the tag. The reader / writer sends the tag information to the operation requester or the core network device. In one possible implementation, before the reader / writer obtains the tag information sent by the tag, the reader / writer 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 limit this. In one possible implementation, the tag information may include tag identification information and / or information stored in the tag.
[0110] 6. Interaction of messages with tags. In one possible implementation, the reader sends a message from an operation requester / server / application function to the tag. In another possible implementation, the reader receives a message from the tag and sends a message from the tag to the operation requester / server / application function. In another possible implementation, the reader may exchange messages with the tag, such as exchanging random numbers, before receiving the message from the tag.
[0111] 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.
[0112] 8. Positioning operation, positioning the tag or obtaining the location information of the tag. In one possible implementation, the acquired location information of the tag 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 position calculation of the tag according to the signal.
[0113] 3. IoT Terminal Protocol Stack and IoT Terminal Capabilities
[0114] Figure 2 The schematic diagram of the IoT terminal protocol stack is shown in Figure 1. The protocol stack supported by the IoT terminal is mainly the control plane protocol stack, which includes the non-access stratum (NAS) protocol stack, which is used for the IoT terminal to interact with the core network; the RRC (radio resource control) protocol stack, which is used for interacting with access network equipment; the medium access control (MAC) layer and the physical layer (PHY) protocol stack, which are used for data transmission.
[0115] The IoT terminal in the embodiment of the present application may be a low-power, low-complexity IoT terminal, which may not have a battery or the ability to actively communicate, and needs to be stimulated by the network to transmit data. At the same time, if the IoT terminal is not stimulated, the IoT terminal may not be able to record temporary information, and the temporary information will be erased after power failure.
[0116] 4. Terminal device registration process and terminal device session establishment process
[0117] 1. Registration process of terminal equipment
[0118] Figure 3 The following is a schematic diagram of the registration process of the terminal device. The specific steps are as follows.
[0119] 310, the terminal device sends a registration request message to the radio access network (RAN), the registration request message carries the registration type and identification information of the terminal device, wherein the access network device includes the RAN. The registration types include the following:
[0120] (1) Initial registration: The registration process initiated when the terminal device is in the unregistered state;
[0121] (2) Mobility registration update: The registration process that needs to be initiated when the terminal device moves;
[0122] (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;
[0123] (4) Emergency registration: A registration process initiated when the terminal device is in a service-restricted state.
[0124] 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 has no SUCI or subscription permanent identifier (SUPI), and SUCI is an encrypted SUPI, the permanent equipment identifier (PEI) is carried in the registration request message.
[0125] 320, RAN selects a suitable AMF.
[0126] 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.
[0127] 340, AMF selects an 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 authentication and other security processes; for the 3rd Generation Partnership Project (3GPP), rd For terminal devices in the 3GPP (3rd Generation Partnership Project), the authentication process is a two-way authentication between the terminal device and the network side.
[0128] 350. After the terminal device is successfully authenticated with the network side, AMF interacts with UDM to obtain the contract data of the terminal device.
[0129] 360. AMF sends a NAS message to RAN, which needs to be forwarded by RAN to the terminal device. The NAS message includes a registration acceptance message sent by AMF to the terminal device.
[0130] 370. RAN forwards the registration acceptance message (NAS message) sent by AMF to the terminal device.
[0131] 2. Session establishment process of terminal device
[0132] Figure 4 A schematic flow chart of the process of establishing a session for a terminal device. The specific steps are as follows.
[0133] 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. The PDU session establishment request message 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 (single network slice selection assistance information, S-NSSAI). The single network slice selection assistance information is used to identify a network slice.
[0134] 402: AMF selects an appropriate session management function (SMF).
[0135] 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.
[0136] 404, SMF obtains session management contract data from UDM. This step is optional.
[0137] 405. SMF sends a PDU session creation session context response message to AMF.
[0138] 406, execute the PDU session authentication or authorization process, which is an optional step.
[0139] 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.
[0140] 408. SMF selects an appropriate user plane function (UPF).
[0141] 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.
[0142] 410, SMF establishes N4 connection with UPF. Specifically, SMF sends N4 rules to UPF, and N4 rules include packet detection rule (PDR), forwarding action rule (FAR) and other rules.
[0143] 411, SMF sends an N1N2 message transfer message to AMF, and the N1N2 message transfer message includes information such as the PDU session identifier, N2 interface session management information (N2 session management information, N2 SM information) and N1 interface session management container (N1 session management container, N1 SM container); wherein, N2 SM information is sent from SMF to RAN via AMF, and the information in N1 SM container is sent from SMF to the terminal device via AMF, and subsequently AMF sends it to the terminal device via NAS message. 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 of the terminal device when sending uplink messages. N2 SM Container includes core network tunnel information, which includes the tunnel endpoint identifier of the UPF end and / or the address information of the UPF end; it is used as the destination address of RAN when forwarding uplink data. UPF can determine which terminal device and which session the data comes from through the core network tunnel information.
[0144] 412. AMF sends an N2 PDU session request message to RAN, which carries the N2 SM information and a NAS message to be sent to the terminal device. The NAS message includes a session identifier and an N1 SM Container.
[0145] 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 acceptance message.
[0146] 414, RAN sends an N2 PDU session response message to AMF, which may include the access network tunnel information allocated by RAN, the access network tunnel information includes the tunnel endpoint identifier of the RAN end and / or the address information of the RAN end, the address information may be an IP address; it is used as the destination address when the UPF forwards downlink data. RAN can determine which session the data is from which terminal device through the access network tunnel information.
[0147] 415. AMF sends the message sent by RAN to SMF via a PDU session update session context request message.
[0148] 416. 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.
[0149] 417, SMF sends a PDU session update session context response message to AMF. The subsequent steps are optional and not very relevant to the embodiment of the present application, and will not be repeated here.
[0150] Figure 5 This 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 terminals, and the IoT terminals include terminals that communicate through reflected carriers, terminals that support active carrier generation, and terminals that support active carrier recovery. In one possible implementation, the IoT terminal may 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, and the service requester may be referred to as an operation requester or a third party. The functions of each device are introduced below.
[0151] (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 kind of core network equipment. The AMF can be used to manage the access control and mobility of terminal equipment. In practical applications, it includes the access and mobility management function 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 of terminal equipment, mobility management, tracking area update process, reachability detection, selection of session management network element, mobile state transition management, etc. 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.
[0152] (2) IoT management function, used to perform IoT terminal or environmental energy acquisition IoT terminal management, IoT terminal data processing, IoT terminal data routing, reader management and other functions; IoT management function can be called environmental energy acquisition IoT management function (such as AIMF) or passive IoT management function (such as PassiveIoT management function); IoT management function can also be called IoT terminal management function (IoTdevice management function) or IoT terminal management device; for example, it can be called environmental energy acquisition terminal management function (such as AIDMF) or tag management function (such as TMF). It can parse instructions from the service requester or application function, determine the reader to execute the instruction according to the instruction, instruct the reader to execute the IoT terminal operation or instruct the reader to execute the random access process of the IoT terminal; receive data from the IoT terminal through the reader; optionally, perform data processing of the IoT terminal and send the data of the IoT terminal to the service requester.
[0153] (3) User plane equipment (such as UPF) is a type of core network equipment. This equipment can be 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 that provide services to the terminal device in the user plane function network element are managed and controlled by the session management function network element.
[0154] (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 device, 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 device, 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.
[0155] (5) Unified data management equipment (such as UDM) can be called unified data management network element, data management equipment, or unified data management entity. Among them, the unified data management network element is used to process terminal equipment identification, access authentication, registration and mobility management, etc. In the 5G communication system, the unified data management can be UDM or unified data management equipment. 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 the present application. The unified data management device can be a core network device, and the unified data management device can also be a control plane device.
[0156] (6) User database equipment (such as UDR), which can be called user database entity or user database network element, can be understood as the naming of unified data storage network element in 5G architecture. Among them, the user database mainly includes the following functions: access functions of contract data, policy data, application data and other types of data.
[0157] (7) Terminal equipment, 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 networks (NTN), etc. It can also be an end device, a logical entity, an intelligent device, such as a mobile phone, an intelligent terminal and other terminal devices, or a server, a gateway, a base station, a controller and other communication devices, or an Internet of Things device, such as a tag, a passive tag, an active tag, a semi-active tag, a sensor, an electric meter, a 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 a semi-active terminal or tag, it can receive or send data by obtaining energy. The energy can be obtained by radio, solar energy, light energy, wind energy, water energy, thermal energy, kinetic energy, etc. This application does not limit the passive or semi-active terminal to obtain energy. It should be noted that the tag involved in this application can be a tag form, or it can also be any terminal form.
[0158] (8) The operation requester may be referred to as a service requester or a third party, and may be a server, application function, or other device that instructs the execution of an operation instruction. In the embodiment of the present application, the operation requester may be understood as a device that sends an operation instruction, for example, the operation requester may be a server / P-IoT server / AF / other device that sends an operation instruction. The operation requester may correspond to a certain type of user, and such user may 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 may be understood as the operation requester belonging to such user and being managed by such user.
[0159] (9) Reader / writer, which interacts with the tag through radio frequency signals or wireless signals. It should be understood that the present 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 titles of reader / writer and reader can be interchangeable. The reader / writer here has the functions involved in the reader / writer in the present application, such as the reader / writer has the function of performing the operations described in the present application on the IoT terminal (obtaining tag information, inventory operation, read operation, write operation, or invalidation operation or message interaction operation with the tag), has the function of obtaining billing-related information and / or billing information, and sending billing information to the charging function (CHF). In a 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 a 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, if it is a read operation, the reader / writer reads the data in the tag storage area. Optionally, in some occasions where the information stored in the tag needs to be rewritten, the reader / writer may also have a write function, for example, if it is a write operation, the reader / writer writes the data into the tag storage area. In addition, the reader / writer may also perform an invalidation operation on the tag. After the invalidation operation is performed, the tag becomes invalid and cannot be used to obtain tag information, inventory operations, read operations, message interaction operations with the tag, or write operations. In one possible implementation, the tag cannot be used to obtain tag information when it is invalid, which can be understood as, after the tag is invalid, the reader / writer cannot obtain the tag information of the invalid tag. In another possible implementation, the tag cannot be used to interact with the tag when it is invalid, which can be understood as, after the tag is invalid, the reader / writer cannot interact with the invalid tag. In this application, the reader / writer may be a terminal device, such as UE, mobile phone, handheld terminal, etc.; the reader / writer may also be an access network device, such as a pole station, eNodeB, gNodeB, IAB node, etc. This application does not limit the form of the reader / writer.
[0160] (10) Policy control equipment (such as PCF), which is mainly responsible for providing a unified policy framework for network behavior management, providing 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 access authentication, security encryption, and location registration for terminal devices, as well as session management functions such as establishment, release, and change of user plane transmission paths.
[0161] The current passive IoT technology mainly considers the scenario where the access network device is used as a reader / writer. It mainly considers the situation where the reader / writer is the access network device. How to support the terminal device as a reader / writer also needs to be considered. At present, a communication method is urgently needed to enable the terminal device to communicate with the IoT terminal as a reader / writer. Figure 6 The figure is a schematic diagram of the access network device as a reader and the terminal device as a reader. When the access network device is used as a reader, the IoT terminal communicates with the reader through the Uu interface; when the terminal device is used as a reader, the IoT terminal communicates with the reader through the sidelink (SL) or Uu interface.
[0162] 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 terminal devices, 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.
[0163] The embodiment of the present application proposes a communication method, which can realize the communication between the terminal device as a reader and the IoT terminal. In the embodiment of the present application, the IoT management device takes TMF as an example, the session management device takes SMF as an example, the user plane device takes UPF as an example, the access and mobility management device takes AMF as an example, and the unified data management device takes UDM as an example; the IoT terminal in the embodiment of the present application may include a tag or an ambient energy acquisition device (ambient IoT device).
[0164] Figure 7A schematic flow chart of a communication method 700 provided for the implementation of the present application. In the 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.
[0165] 710. The terminal device determines to establish a first session for transmitting IoT service data.
[0166] Exemplarily, the terminal device sends a third indication information to AMF, and the third indication information is used to indicate that the terminal device supports the reader / writer function, and AMF receives the third indication information from the terminal device; AMF sends the third indication information to PCF, and PCF receives the third indication information sent by AMF; PCF generates the eighth information according to the third indication information, and the eighth information indicates the session parameters for transmitting IoT service data, or the eighth information is used to instruct the terminal device to establish a session for transmitting IoT service data; PCF sends the eighth information to AMF, and AMF receives the eighth information from PCF; AMF sends the eighth information to the terminal device, and the terminal device receives the eighth information from AMF; the terminal device determines to establish a first session for transmitting IoT service data according to the eighth information. Among them, the third indication information can be used to 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, PCF generates the eighth information according to the third indication information, and the terminal device determines to establish a first session for transmitting IoT service data according to the eighth information.
[0167] 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.
[0168] Optionally, the eighth information includes a terminal device route selection policy (UE 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 slice information or at least one of a data network name (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 according to the URSP rule included in the eighth information.
[0169] 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 service descriptor adds an information element (IE) to indicate the IoT service. In another possible implementation, the service 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.
[0170] Optionally, when the terminal device is configured as a reader / writer, a session for transmitting IoT service data is 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 is established according to dedicated URSP rules. Among them, the terminal device as a reader / writer 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.
[0171] 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.
[0172] 720, the terminal device sends a session establishment request message to the SMF, and 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 the 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 according to the eighth information, and then sends a session modification message to the SMF, and 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; the AMF selects the SMF that supports IoT services according to 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.
[0173] 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.
[0174] In a possible implementation, the request type may indicate that the first session is used to transmit IoT service data, or indicate that the first session is a session established when the terminal device acts as a reader. Exemplarily, the session type indicated by the request type may be an IoT session or a reader session.
[0175] In another possible implementation, the identifier of the first session 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. Exemplarily, the identifier of the first session may be a specific session identifier indicating the transmission of IoT service data, for example, the identifier of the first session may be a session identifier in a specific value, character string, or encoding format.
[0176] 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.
[0177] Optionally, AMF may send information about the access network device serving the terminal device to 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 RAN node ID, the identification of the non-3GPP interworking function (N3IWF), the identification of the trusted non-3GPP access point (TNAP), the identification of the trusted non-3GPP gateway function (TNGF), the identification of the trusted WLAN interworking function (TWIF), or the identification 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.
[0178] Optionally, the AMF may send the location information of the terminal device to the SMF. Exemplarily, 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.
[0179] In a possible implementation, AMF may send information about the access network device that serves the terminal device or the location information of the terminal device to 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 that serves the terminal device / location information of the terminal device. Exemplarily, the session establishment request message sent by AMF to SMF includes information about the access network device that serves the terminal device or the location information of the terminal device.
[0180] 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, wherein the IoT service transmission path is used to transmit IoT service data.
[0181] In one possible implementation, when SMF determines that a transmission path for transmitting IoT service data needs to be established based on a session establishment request message or a fourth indication information, the SMF establishes the transmission path with UFP and TMF respectively. Exemplarily, SMF determines that a transmission path for transmitting IoT service data needs to be established based on information in a 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.
[0182] Optionally, SMF sends a second request message to UPF, the second request message is used to request the establishment of an IoT service transmission path between SMF and UPF, and the second request message includes an identifier of the IoT service transmission path between SMF and UPF and first indication information, and the first indication information is used to indicate UPF to allocate an uplink destination address for the terminal device to transmit IoT service data. In a 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 indicate that UPF allocates an uplink destination address for the terminal device to transmit IoT service data. UPF receives the second request message from SMF; UPF allocates an uplink destination address for the terminal device to transmit IoT service data according to the second request message, and exemplarily, the uplink destination address is the address information of UPF; UPF sends a second response message to SMF, the second response message indicates that the IoT service transmission path between SMF and UPF is established, and the second response message includes the uplink destination address / UPF address information for the terminal device to transmit IoT service data; SMF receives the second response message from UPF. When the terminal device needs to transmit IoT service data to the network, the address information of the UPF can be used as the uplink destination address; when the UPF receives data whose uplink destination address is the address information of the UPF, it can be known that the data is IoT service data, or it can be determined that the data is IoT service data transmitted by the terminal device; the UPF 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.
[0183] Optionally, SMF sends a second request message to UPF, and the second request message is used to request the establishment of an IoT service transmission path between SMF and UPF, and the second request message includes an identifier of the IoT service transmission path between SMF and UPF and address information assigned by 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 UPF; exemplarily, the address information is the address information of the UPF. UPF receives the second request message from SMF; UPF sends a second response message to SMF based on the second request message, and the second response message indicates that the IoT service transmission path between SMF and UPF is established; SMF receives the second response message from UPF. In this implementation, SMF allocates 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 UPF.
[0184] Optionally, SMF sends a second request message to UPF, the second request message is used to request the establishment of a second session between SMF and UPF, the second request message includes the identifier of the second session and the first indication information, the first indication information is used to indicate UPF to allocate an uplink destination address for the terminal device to transmit IoT service data, for example, the first indication information is used to indicate UPF to allocate an uplink destination address for the terminal device to transmit IoT service data. In a 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 indicate the uplink destination address allocated by UPF for the terminal device to transmit IoT service data. UPF receives the second request message from SMF; UPF allocates an uplink destination address for the terminal device to transmit IoT service data according to the second request message; exemplarily, the uplink destination address may be the address information of the UPF. UPF sends a second response message to SMF, the second response message indicates that the establishment of the second session is complete, and the second response message includes the address information of UPF; SMF receives the second response message from UPF. Among them, establishing the second session between SMF and UPF is equivalent to establishing a transmission path for transmitting IoT service data between SMF and UPF; the second session can be a session established through the N4 interface, which can be called an N4 session. In this implementation, SMF instructs UPF to allocate the uplink destination address / UPF address information for the terminal device to transmit IoT service data.
[0185] Optionally, SMF sends a second request message to UPF, and the second request message is used to request the establishment of a second session between SMF and UPF, and the second request message includes the identifier of the second session and the address information assigned by 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 UPF; exemplarily, the address information is the address information of the UPF. UPF receives the second request message from SMF; UPF sends a second response message to SMF based on the second request message, and the second response message indicates that the establishment of the second session is complete; SMF receives the second response message from UPF. In this implementation, SMF allocates 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 UPF.
[0186] 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 the N4 rule, and the N4 rule includes 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.
[0187] Exemplarily, the address information of the UPF includes one or more of the following information: an IP address, a 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.
[0188] 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.
[0189] In one possible implementation, the IoT service transmission path between SMF and UPF is established or the second session is established, which can be understood as UPF has installed or configured the rules sent by SMF, such as the N4 rule.
[0190] Optionally, SMF sends a first request message to TMF, the first request message is used to request the establishment of an Internet of Things 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 the Internet of Things service transmission path between TMF and SMF according to the first request message; TMF sends a first response message to SMF, and the first response message indicates that the Internet of Things service transmission path between SMF and TMF is established; SMF receives the first response message from TMF. The address information of the terminal device in the embodiment 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.
[0191] In one possible implementation, the first request message may be a service message, such as NtmfPDUSession_SMContext_Create Request or Nsmf PDUSession_SMContext_CreateRequest message; in another possible implementation, the first response message may be a service message, such as NtmfPDUSession_SMContext_Create Response or Nsmf PDUSession_SMContext_CreateResponse message.
[0192] Optionally, SMF may send one or more of 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 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 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.
[0193] Optionally, the first request message sent by SMF to TMF includes one or more of 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 first request message sent by SMF to TMF includes the information of the AMF serving the terminal device and / or the 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, the information of the access network device, or the 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.
[0194] 740, SMF sends a session establishment acceptance message to the terminal device, and the session establishment acceptance message includes the uplink destination address for the terminal device to transmit IoT service data, and the uplink destination address includes the address information of UPF. Correspondingly, the terminal device receives the session establishment acceptance message from SMF. Optionally, the session establishment acceptance message includes the IP address allocated by SMF or UPF to the terminal device, which is used as the source IP address of the terminal device during uplink transmission.
[0195] Exemplarily, SMF sends an N1N2 message transfer message to AMF, for example, the N1N2 message transfer message is a Namf_Communication_N1N2MessageTransfer message; correspondingly, AMF receives an N1N2 message transfer message from SMF; the N1N2 message transfer message includes the identifier of the first session, the N1 interface session management container information and the N2 interface session management information, and the N1 interface session management container information includes a session establishment acceptance 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. Among them, the N2 interface session management information includes the tunnel endpoint identification information of the UPF and / or the address information of the UPF, which is used for the destination address of the RAN when forwarding the uplink data of the terminal device. When the destination address of the uplink data received by the UPF is the tunnel endpoint identification information of the UPF or the address information of the UPF, the UPF can determine which session of which terminal device the uplink data comes from.
[0196] AMF sends an N2 PDU session request message to RAN, which includes N2 interface session management information and a NAS message to be sent to the terminal device, which includes the identifier of the first session and N1 interface session management container information; RAN receives the N2 PDU session request message sent by 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 RAN, and obtains a session establishment acceptance message according to the NAS message. RAN sends an N2 PDU session response message to AMF, which is used to indicate that the NAS message has been successfully sent to the terminal device.
[0197] 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 the downlink data whose downlink destination address is the tunnel endpoint identification information of the RAN or the address information of the RAN, it can be known 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.
[0198] 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. Wherein, step 750 may be executed simultaneously with step 740, and step 750 may also be executed before step 740, and there is no specific limitation on this. In a possible implementation, SMF may send the first information to UPF in step 730. In a possible implementation, the first information may be the N4 rule; the N4 rule indicates that when UPF receives IoT service data whose uplink destination address is the address of the UPF, the IoT service data is sent to SMF. 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 indicates that UPF reports the IoT service data to SMF.
[0199] In the technical solution provided in the embodiment of the present application, the terminal device supporting the reader / writer function can request SMF to establish a first session for transmitting IoT service data, and SMF establishes an IoT service transmission path for transmitting IoT service data with UPF and TMF respectively; the uplink destination address of the terminal device for transmitting IoT service data is the address of UPF; when the uplink destination address of the received IoT service data is the address of the UPF, UPF sends the IoT service data to SMF. UPF sends the IoT service data to SMF through the transmission path established in step 730. SMF receives the IoT service data from UPF through the transmission path established in step 730. 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 TMF, or AIMF, etc. This solution can realize the communication between the terminal device as a reader / writer and the IoT terminal, and can realize the docking between the terminal device as a reader / writer and the functional device responsible for managing IoT terminals in the core network, and the terminal device as a reader / writer can transmit IoT service data to TMF through UPF and SMF. In addition, the terminal devices have good mobility and wide distribution, and the terminal devices are more flexible when used as readers than when the access network devices are used as readers.
[0200] Optionally, the service requester sends fourth information to TMF, and the fourth information indicates that the IoT service instruction is to be executed in the target area; TMF receives the fourth information from the service requester; 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, TMF determines, based on one or more of the location information of the terminal device sent by 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 located in the target area to execute the IoT service instruction. Exemplarily, TMF determines, based on one or more of the location information of the terminal device sent by 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 located in the target area or determines that the terminal device is located in the target area, and determines that the terminal device executes the IoT service instruction.
[0201] In another possible implementation, 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 executes the IoT service instruction. In another possible implementation, TMF determines that the terminal device is located in the target area based on the location information of the terminal device obtained from UDM or the location information of the terminal device supporting the reader / writer function, and determines that the terminal device executes the IoT service instruction.
[0202] The TMF sends a second message to the SMF serving the terminal device, the second message instructing the terminal device to execute the IoT service instruction, and the second message includes the identification information of the terminal device or the identification information corresponding to the terminal device. For example, the second information includes the SUPI, SUCI, generic public subscription identifier (GPSI), reader ID or identification information of the first session of the terminal device. Among them, 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.
[0203] 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 a 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.
[0204] UPF receives the third information sent by SMF, and UPF sends the sixth information to the terminal device according to the third information (through the access network device), and the sixth information instructs the terminal device to execute the IoT service instruction; the terminal device receives the sixth information sent by UPF (through the access network device), and executes the IoT service instruction according to the sixth information. In this implementation, TMF instructs the terminal device to execute the IoT service instruction through SMF and UPF (user plane).
[0205] Optionally, the service requester sends fourth information to TMF, and the fourth information indicates that the IoT service instruction is executed in the target area; TMF receives the fourth information from the service requester; TMF determines the terminal device located in the target area to execute the IoT service instruction based on the fourth information; TMF sends fifth information to AMF serving the terminal device, and the fifth information indicates that the terminal device executes the IoT service instruction; AMF receives the fifth information sent by TMF, and AMF sends ninth information to the terminal device based on the fifth information, and the ninth information indicates that the terminal device executes the IoT service instruction; the terminal device receives the ninth information sent by AMF, and executes the IoT service instruction based on the ninth information. In this implementation, TMF instructs the terminal device to execute the IoT service instruction through AMF (control plane).
[0206] In a possible implementation, the second information, the third information, the fourth information, the fifth information, the sixth information, and the ninth information may be information in the same format or information in different formats, and the messages carrying the information may be the same message or different messages, which is not limited in this application. In a possible implementation, the Internet of Things instructions included in the second information, the third information, the fourth information, the fifth information, the sixth information, and the ninth information have the same function.
[0207] Exemplarily, 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 information of the target area. For example, when the operation type indicated by the IoT service instruction is a close-range operation such as a read operation, a write operation, or a positioning operation, TMF can determine the terminal device that is located in the target area and can perform such operations to execute the IoT service instruction.
[0208] Exemplarily, when an IoT service instruction instructs to obtain target IoT service data from a specific IoT terminal or to write target IoT service data to a specific IoT terminal, TMF can determine the terminal device that executes the IoT service instruction based on the identification information of the IoT terminal and the information of the target area included in the IoT service instruction. For example, TMF determines 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 based on historical operation records or inventory records.
[0209] Exemplarily, when the IoT service instruction indicates to obtain the 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 the identification information of the IoT terminal; the terminal device uses the uplink destination address / the address information of the UPF to send the target IoT service data to the UPF; the UPF receives the target IoT service data from the terminal device; the UPF determines the IoT service data sent for the terminal device according to the uplink destination address / the address information of the UPF, and sends the target IoT service data to the SMF through 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 through the IoT service transmission path or the second session established with the UPF in step 730. The SMF determines the target IoT service data sent for the terminal device according to the IoT service transmission path or the second session; the SMF sends the target IoT service data to the TMF through 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. TMF receives the target IoT service data sent by SMF, and TMF sends the target IoT service data to the service requester. After TMF receives the target IoT service data sent by SMF, it can directly forward the target IoT service data to the service requester, or it can process the target IoT service data and then send the processed target IoT service data to the service requester.
[0210] Exemplarily, the fourth information sent by the service requester to TMF may include the address information of the server corresponding to the service requester, and TMF sends the address information of the server and the IoT service instruction to the terminal device through SMF and UPF, or AMF. When the IoT service instruction instructs to obtain the 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 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. In this way, the uplink data can be transmitted to the server faster / with less detours, thereby improving the user experience.
[0211] 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, and 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, and this application does not limit this. 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.
[0212] The fourth information may also include identification information of the IoT terminal, the identification of the IoT terminal may be a tag identification, or an IoT terminal identification segment, and the IoT terminal identification segment may be used to indicate one or more IoT terminals. The IoT service instruction in the embodiment of the present application may indicate any operation type in an inventory operation / inventory operation, a read operation, a write operation, an invalidation operation, obtaining tag information, a message interaction operation with a tag (IoT terminal), sending a load to a tag (IoT terminal), or a positioning operation.
[0213] In one possible implementation, the terminal device determined by TMF to execute the IoT service instruction may be a terminal device with an activated reader / writer function. In one 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. In another case, the reader / writer function of the terminal device supporting the reader / writer function is 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.
[0214] Optionally, in the case where a terminal device supporting a 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 executing the IoT service instruction has activated the reader / writer function. Optionally, in the case where a terminal device supporting a 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 executing the IoT service instruction has activated the reader / writer function and the terminal device is located in the target area.
[0215] 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 SMF and 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 reader / writer function of the terminal device has been activated based on the second indication message.
[0216] Exemplarily, TMF sends a subscription request message to UDM, and the subscription request message is used to obtain information about terminal devices that support reader / writer functions; UDM receives the subscription request message from UDM; UDM sends a subscription response message to TMF, and the subscription response message includes at least one of the identification of the terminal device that supports the reader / writer function, the location information of the terminal device that supports the reader / writer function, the status information of the terminal device that supports the reader / writer function, and the information of the core network device that serves the terminal device that supports the reader / writer function; TMF receives a subscription response message / subscription notification message from UDM, and determines that the terminal device has activated the reader / writer function according to the subscription response message / subscription notification message. Among them, the status information of the terminal device that supports the reader / writer function includes at least one of the registration state, the deregistration state, the connection state, the inactive state, or the idle state. In this example, it can be considered that the reader / writer function of the terminal device that supports the reader / writer function is activated.
[0217] 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.
[0218] Figure 8 A schematic diagram of a protocol stack corresponding to a communication method provided for the implementation of the present application. A transmission path for transmitting IoT service data is established between SMF and UPF / a second session is established through the N4 interface; a transmission path for transmitting IoT service data is also established between SMF and TMF. SMF can communicate or transmit data with TMF through a service-based interface, and the uplink destination address of the terminal device is the address of UPF. The data transmission path of the terminal device or the transmission path of IoT service data includes: terminal device-RAN-UPF-SMF-TMF.
[0219] The communication method provided in the embodiments of the present application is described below with reference to specific examples. Fig. 9 A schematic diagram of the registration process of a terminal device in the communication method provided in an embodiment of the present application, Fig.10 A schematic diagram of the session establishment process of a terminal device in the communication method provided in an embodiment of the present application. Fig.10 Step 1001 in Fig. 9 Execute after step 909.
[0220] 901, TMF sends a subscription request message to UDM, where the subscription request message is used to obtain information about terminal devices supporting the reader / writer function. It can be understood that the subscription request message is used for UDM to notify TMF when UDM determines that a terminal device supports the reader / writer function.
[0221] Optionally, the subscription request message can be used to obtain the location information of the terminal device supporting the reader / writer function. Optionally, the subscription request message can be used to obtain the status information of the terminal device supporting the reader / writer function, such as at least one of the registration status, deregistration status, connection status, inactive status or idle status. Optionally, the subscription request message can be used to obtain the information of the core network device or access network device serving the terminal device supporting the reader / writer function. The subscription request message may not include the identifier of the terminal device, and the subscription request message may also include the 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 the identifier of the terminal device, the subscription request message may indicate to obtain the information of all terminal devices supporting the reader / writer function; when the subscription request message includes the identifier of the terminal device, the subscription request message may indicate to obtain the information of the terminal device supporting the reader / writer function corresponding to the identifier of the terminal device. The contract data of the terminal device stored in the UDM may include information about the reader / writer function supported by different terminal devices; when the information of the different terminal devices supporting the reader / writer function is added, updated, or deleted, the UDM may send a subscription response message to the TMF, and the subscription response message includes at least one of 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. Among them, 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 the core network devices such as AMF, SMF, PCF, or the identification information, address information, or domain name information of RAN, TNGF, N3IWF, TNAP, TWIF, W-AGF.
[0222] In a possible implementation, the above UDM can be replaced by UDR. The contract data can be stored in UDR or UDM, and TMF can subscribe to the UDR or UDM to obtain the contract data.
[0223] 902, the terminal device sends a registration request message to the RAN, and correspondingly, the RAN receives the registration request message from the terminal device; the RAN selects an appropriate AMF and sends the registration request message sent by the terminal device to the AMF. The registration request message includes third indication information, the registration type, and the identification information of the terminal device, and the third indication information is used to indicate that the terminal device supports the reader / writer function. Exemplarily, the terminal device can indicate whether the terminal device supports user plane transmission when used as a reader / writer. In a possible implementation, the third indication information can indicate whether the terminal device supports user plane transmission when used as a reader / writer.
[0224] 903: The terminal device, AMF, and UDM interact with each other to complete security processes such as authentication.
[0225] 904. After receiving the registration request message from the terminal device, the AMF sends the fifth indication information to the UDM according to the third indication information, and 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 according to the fifth indication information.
[0226] 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 that the terminal device supports the reader / writer function, the UDM can send indication information to the AMF to indicate 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.
[0227] 905, UDM sends a subscription response message to TMF, the subscription response message includes at least one of 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 or access network device serving the terminal device supporting the reader / writer function. Exemplarily, the core network device may include AMF, SMF, PCF and other devices.
[0228] 906, AMF establishes a policy association with PCF; AMF sends 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 is used as a reader / writer.
[0229] In a 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.
[0230] 907. PCF sends the eighth information to AMF, and correspondingly, AMF receives the eighth information sent by PCF.
[0231] 908, AMF sends a registration acceptance message to the terminal device, the registration acceptance message includes the eighth information; correspondingly, the terminal device receives the registration acceptance message from 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.
[0232] 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.
[0233] 909, the terminal device determines to establish a first session for transmitting IoT service data according to the eighth information / dedicated URSP rule. 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 eighth information or the dedicated URSP rule.
[0234] 1001, the terminal device AMF sends a session establishment request message, which is used to request the establishment of a first session for transmitting IoT service data, and the session establishment request message includes at least one of the request type, the identifier of the first session, the data network name requested by the terminal device, or the slice information. Correspondingly, the AMF receives the session establishment request message from the terminal device.
[0235] 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. The fourth indication information can be IoT indication information, such as passive IoT indication information or environmental IoT indication information.
[0236] 1002, AMF selects an SMF that supports the IoT service. In one possible implementation, 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.
[0237] 1003, AMF sends a session establishment request message to the SMF, and correspondingly, SMF receives the session establishment request message sent by AMF.
[0238] Optionally, the AMF may send information about the access network device serving the terminal device or 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.
[0239] In a possible implementation, AMF may send information about the access network device that serves the terminal device or the location information of the terminal device to SMF via a serviced message. Exemplarily, the serviced message is a PDU session creation session context request message, and the PDU session creation session context request message includes a session establishment request message, and information about the access network device that serves the terminal device / location information of the terminal device. Exemplarily, the session establishment request message sent by AMF to SMF includes information about the access network device that serves the terminal device or the location information of the terminal device.
[0240] 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.
[0241] 1004. SMF selects the UPF that supports the IoT service based on the session establishment request message or the fourth indication information.
[0242] 1005, SMF and UPF establish an IoT service transmission path, which is used to transmit IoT service data. The establishment of an IoT service transmission path between SMF and UPF can be regarded as the establishment of an N4 connection between SMF and UPF.
[0243] Optionally, SMF sends a second request message to UPF, the second request message is used to request the establishment of an IoT service transmission path between SMF and UPF, the second request message includes an identifier of the IoT service transmission path between SMF and UPF and first indication information, the first indication information is used to indicate UPF to allocate an uplink destination address for the terminal device to transmit IoT service data; UPF receives the second request message from SMF; UPF allocates an uplink destination address for the terminal device to transmit IoT service data according to the second request message, the uplink destination address is the address information of UPF; UPF sends a second response message to SMF, the second response message indicates that the IoT service transmission path between SMF and UPF is established, the second response message includes the address information of UPF; SMF receives the second response message from UPF. When the terminal device needs to transmit IoT service data to the network, the address information of UPF can be used as the uplink destination address; when UPF receives data whose uplink destination address is the address information of UPF, it can be known that the data is IoT service data, or it can be determined that the data is IoT service data transmitted through 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.
[0244] Optionally, SMF sends a second request message to UPF, the second request message is used to request the establishment of an IoT service transmission path between SMF and UPF, the second request message includes an identifier of the IoT service transmission path between SMF and UPF and address information assigned by SMF, the address information is the uplink destination address when the terminal device transmits IoT service data, illustratively, the address information is the address information of the UPF; UPF receives the second request message from SMF; UPF sends a second response message to SMF according to the second request message, the second response message indicates that the IoT service transmission path between SMF and UPF is established; SMF receives the second response message from UPF. In this implementation, 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 UPF.
[0245] Optionally, SMF sends a second request message to UPF, the second request message is used to request the establishment of a second session between SMF and UPF, the second request message includes the identifier of the second session and the first indication information, the first indication information is used to instruct UPF to allocate an uplink destination address for the terminal device to transmit IoT service data; UPF receives the second request message from SMF; UPF allocates an uplink destination address for the terminal device to transmit IoT service data according to the second request message, the uplink destination address is the address information of UPF; UPF sends a second response message to SMF, the second response message indicates that the establishment of the second session is complete, the second response message includes the address information of UPF; SMF receives the second response message from UPF. Among them, establishing the second session between SMF and UPF is equivalent to establishing a transmission path for transmitting IoT service data between SMF and UPF; the second session can be a session established through the N4 interface, which can be called an N4 session. In this implementation, SMF instructs UPF to allocate an uplink destination address / UPF address information for the terminal device to transmit IoT service data.
[0246] Optionally, the SMF sends a second request message to the UPF, 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, the address information is the uplink destination address when the terminal device transmits IoT service data, illustratively, the address information is the address information of the UPF; the UPF receives the second request message from the SMF; the UPF sends a second response message to the SMF according to the second request message, 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 address information of the uplink destination address / UPF for the terminal device to transmit IoT service data, and sends the address information of the uplink destination address / UPF to the UPF.
[0247] Optionally, the second request message sent by the SMF to the UPF also includes an N4 rule, and the N4 rule includes rules such as PDR and FAR. Exemplarily, the address information of the UPF includes one or more of the following information: an IP address, a MAC address, and port information. Among them, the IP address may include one or more of the following information: an IPv4 address, an IPv6 address, or an IPv6 prefix.
[0248] In one possible implementation, the IoT service transmission path between SMF and UPF is established or the second session is established, which can be understood as UPF has installed or configured the rules sent by SMF, such as the N4 rule.
[0249] 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 a 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 indicates that when UPF receives IoT service data whose uplink destination address is the address of the UPF, it sends the IoT service data to SMF. 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 indicates that UPF reports the IoT service data to SMF.
[0250] 1007, SMF and TMF establish an IoT service transmission path, and the IoT service transmission path is used to transmit IoT service data.
[0251] 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 an identifier of a terminal device, address information of a terminal device, or an identifier of a first session; 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.
[0252] Optionally, SMF may send one or more of 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 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 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.
[0253] Optionally, the first request message sent by the SMF to the TMF also includes one or more of 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 first request message sent by the SMF to the TMF also includes the information of the AMF serving the terminal device and / or the information of the RAN serving the terminal device.
[0254] 1008. After SMF establishes the IoT service transmission path with UPF and TMF respectively according to the session establishment request message, SMF sends an N1N2 message transmission message to AMF, and 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, and the session establishment acceptance message includes the uplink destination address of the terminal device transmitting IoT service data, and the uplink destination address includes the address information of UPF. Correspondingly, AMF receives the N1N2 message transmission message from SMF.
[0255] 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 by the terminal device.
[0256] 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. Among them, the N2 interface session management information includes core network tunnel information, and the core network tunnel information includes the tunnel endpoint identification information of the UPF and / or the address information of the UPF, which is used for the destination address of the RAN when forwarding the uplink data of the terminal device. When the destination address of the uplink data received by the UPF is the tunnel endpoint identification information of the UPF or the address information of the UPF, the UPF can determine which session of which terminal device the uplink data comes from.
[0257] 1009. AMF sends an N2 PDU session request message to RAN, where the N2 PDU session request message includes N2 interface session management information and a NAS message that needs to be sent to the terminal device, where the NAS message includes an identifier of the first session and N1 interface session management container information. Correspondingly, RAN receives the N2 PDU session request message sent by AMF.
[0258] 1010. 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.
[0259] 1011. RAN sends an N2 PDU session response message to AMF, where the N2 PDU session response message is used to indicate that the NAS message has been successfully sent to the terminal device.
[0260] 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 the downlink data whose downlink destination address is the tunnel endpoint identification information of the RAN or the address information of the RAN, it can be known 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.
[0261] 1012. After the reader / writer function of the terminal device is activated, the terminal device sends a second indication message to TMF through 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, TMF receives the second indication message from the terminal device, and TMF determines that the terminal device has activated the reader / writer function according to 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.
[0262] 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 assigned by the TMF to the terminal device, which is used as identification information when the terminal device is used as a reader / writer.
[0263] Optionally, the reader / writer function of the terminal device supporting the reader / writer function is activated and can be used directly as a reader / writer.
[0264] 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.
[0265] The fourth information may include at least one of information on the type of operation, identification information of the IoT terminal, or information on the target area. The operation type includes 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 any type of positioning operation. The identifier of the IoT terminal may be a tag identifier or an identification segment of the IoT terminal, and the identification segment of the IoT terminal may be used to indicate one or more IoT terminals. The information on the target area includes at least one of geographic location information, a cell identifier, a tracking area identifier, or an operating area identifier, and 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, and this application does not limit this.
[0266] 1014. The TMF determines, based on the fourth information, a 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, a terminal device located in the target area to execute the IoT service instruction.
[0267] Exemplarily, TMF determines the terminal device that executes the IoT service instruction based on the operation type indicated by the IoT service instruction and the information of the target area. For example, when the operation type indicated by the IoT service instruction is a close-range operation such as a read operation, a write operation, or a positioning operation, TMF can determine the terminal device that is located in the target area and can perform such operations to execute the IoT service instruction.
[0268] Exemplarily, TMF determines the terminal device that executes the IoT service instruction based on the identification information of the IoT terminal and the information of the target area. For example, based on the historical operation records or inventory records, the terminal device located in the target area and that last executed the IoT service instruction on the IoT terminal is determined as the terminal device that executes the IoT service instruction at the current time; wherein the reader / writer that last executed the IoT service instruction on the IoT terminal is a terminal device that supports the reader / writer function.
[0269] Exemplarily, TMF determines the terminal device that executes the IoT service instruction based on the information of the target area. For example, when TMF determines that the area indicated by the information of the target area includes one or more terminal devices that support reader / writer functions, TMF can 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.
[0270] 1015. The TMF sends second information to the SMF serving the terminal device, the second information instructing the terminal device to execute the IoT service instruction, the second information including the identification information of the terminal device or the identification information corresponding to the terminal device; for example, the second information includes the SUPI, SUCI, GPSI, reader ID of the terminal device or the identification information of the first session. Correspondingly, the SMF receives the second information from the TMF.
[0271] Specifically, the TMF obtains context information corresponding to the terminal device that executes the IoT service 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.
[0272] 1016, SMF sends third information to the UPF serving the terminal device, the third information instructing 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; correspondingly, the UPF receives the third information sent by the SMF. Specifically, the SMF obtains the 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.
[0273] Exemplarily, SMF sends the third information to UPF through the transmission path corresponding to the terminal device or the second session / N4 session; UPF receives the third information sent by SMF.
[0274] Optionally, the fourth information also includes the address information of the server corresponding to the service requester, and TMF sends the address information of the server and the IoT service instruction to the terminal device through SMF and UPF. The role of the server address information is that when the terminal device as a reader receives the uplink data from the tag / IoT terminal, the uplink data can be sent directly to the server through RAN and UPF (user plane). When TMF does not need to process the uplink data, this method can make the uplink data faster / less circuitous to be transmitted to the server, thereby improving the user experience.
[0275] 1017. The UPF determines to send sixth information to the terminal device based on the context information corresponding to the transmission path established between the N4 session / the second session / the SMF and the UPF, where the sixth information instructs the terminal device to execute the IoT service instruction. Specifically, the UPF sends the sixth information to the terminal device through the RAN.
[0276] 1018. The terminal device receives the sixth information sent by the UPF, and executes the IoT service instruction according to the sixth information. Exemplarily, when the IoT service instruction instructs to obtain 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 the identification information of the IoT terminal.
[0277] Optionally, TMF can also instruct the terminal device to execute the IoT service instruction through AMF (control plane). Specifically, TMF sends fifth information to the AMF serving the terminal device, and the fifth information instructs the terminal device to execute the IoT service instruction; AMF receives the fifth information sent by TMF, and AMF sends ninth information to the terminal device based on the fifth information, and the ninth information instructs the terminal device to execute the IoT service instruction; the terminal device receives the ninth information sent by AMF, and executes the IoT service instruction based on the ninth information. This optional implementation method is interchangeable with the implementation methods of steps 1015 to 1018.
[0278] 1019. When the terminal device needs to transmit target IoT service data to the network, the terminal device uses the address information of UPF as the uplink destination address and sends the target IoT service data to UPF.
[0279] 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 because 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.
[0280] 1021. After receiving the target IoT service data sent by UPF, SMF sends the target IoT service data to TMF which establishes IoT service transmission path with SMF; TMF receives the target IoT service data sent by SMF, and TMF sends the target IoT service data to the service requester. After receiving the target IoT service data sent by SMF, TMF can 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.
[0281] 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.
[0282] Exemplarily, the IoT service instruction instructs the terminal device to perform random access of the IoT terminal, and the fourth information includes the identification information or identification range information of the IoT terminal participating in the random access process, and 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 according to the sixth information; the IoT terminal that has successfully accessed the random access sends the identification information of the IoT terminal to the terminal device, and the identification information of the IoT terminal can be encapsulated through NAS signaling or application layer protocol; the terminal device sends the identification information of the IoT terminal to TMF through UPF and SMF. In one implementation, the terminal device does not parse the identification information of the IoT terminal.
[0283] 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 UPF and SMF.
[0284] Fig.11 A schematic flow chart of another communication method 1100 provided for the implementation of the present application. In the method, the data transmission path of the terminal device includes: terminal device-RAN-UPF-TMF or terminal device-RAN-UPF-TMF-service requester.
[0285] 1110. The terminal device determines to establish a first session for transmitting IoT service data.
[0286] Exemplarily, the terminal device sends the third indication information to AMF, and the third indication information is used to indicate that the terminal device supports the reader / writer function, and AMF receives the third indication information from the terminal device; AMF sends the third indication information to PCF, and PCF receives the third indication information sent by AMF; PCF generates the eighth information according to the third indication information, and the eighth information indicates the session parameters for transmitting IoT service data, or the eighth information is used to instruct the terminal device to establish a session for transmitting IoT service data; PCF sends the eighth information to AMF, and AMF receives the eighth information from PCF; AMF sends the eighth information to the terminal device, and the terminal device receives the eighth information from AMF; the terminal device determines to establish a first session for transmitting IoT service data according to the eighth information. Among them, the third indication information can be used to 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, PCF generates the eighth information according to the third indication information, and the terminal device determines to establish a first session for transmitting IoT service data according to the eighth information.
[0287] In a 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.
[0288] 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 a session parameter for transmitting IoT service data. Exemplarily, the session parameter includes 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 according to the URSP rule included in the eighth information.
[0289] Exemplarily, the service descriptor included in the URSP rule may indicate an IoT service or a reader / writer; or, one or more of the service flow IP address, FQDN or DNN included in the URSP rule is used to indicate an IoT service; or, the service descriptor adds an 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, for example, the indication information is "reader" or "readermode" 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.
[0290] Optionally, when the terminal device is configured as a reader / writer, a session for transmitting IoT service data can be established according to a dedicated URSP rule. 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 a dedicated URSP rule. 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 rule.
[0291] 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.
[0292] 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 the 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 according to 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.
[0293] Specifically, the terminal device sends the session establishment request message to AMF, and correspondingly, AMF receives the session establishment request message from the terminal device; AMF selects the SMF that supports the IoT service based on the session establishment request message, and AMF sends the session establishment request message to the SMF; correspondingly, SMF receives the session establishment request message sent by AMF.
[0294] 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.
[0295] In a possible implementation, the request type may indicate that the first session is used to transmit IoT service data, or indicate that the first session is a session established when the terminal device acts as a reader / writer. Exemplarily, the session type indicated by the request type may be an IoT session or a reader session.
[0296] In another possible implementation, the identifier of the first session 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. Exemplarily, the identifier of the first session may be a specific session identifier used to indicate the transmission of IoT service data, for example, the identifier of the first session may be a session identifier in a specific value, character string, or encoding format.
[0297] 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.
[0298] Optionally, AMF may send information about the access network device serving the terminal device to SMF; for example, identification information of the access network device serving the terminal device, the identification information of the access network device including global RAN node ID, N3IWF identification, TNAP identification, TNGF identification, TWIF identification, or W-AGF identification, etc. The information about the access network device serving the terminal device may be used to determine the location of the terminal device.
[0299] Optionally, AMF may send information about the access network device serving the terminal device to SMF; for example, identification information of the access network device serving the terminal device, the identification information of the access network device including global RAN node ID, N3IWF identification, TNAP identification, TNGF identification, TWIF identification, or W-AGF identification, etc. 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 the location information of the terminal device to the SMF. 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.
[0301] In a possible implementation, AMF may send information about the access network device that serves the terminal device or the location information of the terminal device to SMF through a serviced message, and the serviced message may be a PDU session creation session context request message or other serviced messages, and the PDU session creation session context request message includes a session establishment request message, and information about the access network device that serves the terminal device / location information of the terminal device. Exemplarily, the session establishment request message sent by AMF to SMF includes information about the access network device that serves the terminal device or the location information of the terminal device.
[0302] 1130. The SMF obtains the address information of the TMF from the TMF according to the session establishment request message or the fourth indication information, wherein the TMF is used to transmit the 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.
[0303] In a possible implementation, the SMF determines to obtain the address information of the TMF from the TMF according to 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 according to 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.
[0304] 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. Among them, 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 assigned by the SMF, or the address information of the N6 interface obtained by the SMF from the UPF.
[0305] Exemplarily, the third request message sent by SMF to TMF includes the address information of the terminal device. Optionally, SMF sends sixth indication information to UPF, and the sixth indication information is used to indicate that after receiving the uplink IoT service data from the terminal device, the UPF does not need to perform address conversion on the uplink IoT service data, and directly forwards the uplink IoT service data. After TMF receives the uplink IoT service data forwarded by the UPF, it can know which terminal device the uplink IoT service data comes from based on the source address information / address information of the terminal device.
[0306] Exemplarily, the third request message sent by SMF to TMF includes the address information of the UPF corresponding to the terminal device. In this example, after 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 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 TMF receives the uplink IoT service data after the address conversion, it can know which terminal device the uplink IoT service data comes from according to the source address information / the address information of the UPF. In addition, when TMF needs to send downlink data to the terminal device, TMF can send the downlink data to the terminal device through the UPF according to the address information of the UPF corresponding to the terminal device.
[0307] Exemplarily, the third request message sent by SMF to 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 conversion on the uplink IoT service data or may not perform address conversion.
[0308] In one possible implementation, the third request message may be a service message, such as NtmfPDUSession_SMContext_Create Request or Nsmf PDUSession_SMContext_CreateRequest message; in another possible implementation, the third response message may be a service message, such as NtmfPDUSession_SMContext_Create Response or Nsmf PDUSession_SMContext_CreateResponse message.
[0309] Optionally, the SMF may send one or more of 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.
[0310] Optionally, the third request message sent by SMF to TMF also includes one or more of 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 third request message sent by SMF to TMF also includes the information of the AMF serving the terminal device, and / or the information of the access network device serving the terminal device. The information of the AMF serving the terminal device, and / or the 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, the information of the access network device, or the 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.
[0311] 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; the UPF allocates address information of the UPF for the terminal device to transmit IoT service data according to the first indication 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. In this implementation, the SMF instructs the UPF to allocate address information of the UPF for the terminal device to transmit IoT service data.
[0312] 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 according to a session establishment request message or a fourth indication information from the terminal device; the SMF sends the first indication information to the UPF that supports the transmission of IoT service data. Optionally, the SMF also sends an N4 rule to the UPF, and the N4 rule includes rules such as PDR and FAR. In a possible implementation, the first indication information may be included in the N4 rule.
[0313] 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.
[0314] 1140, SMF sends a session establishment acceptance message to the terminal device, and the session establishment acceptance message includes the uplink destination address for the terminal device to transmit IoT service data, and the uplink destination address includes the address information of TMF. Correspondingly, the terminal device receives the session establishment acceptance message from SMF. Optionally, the session establishment acceptance message includes the IP address allocated by SMF or UPF to the terminal device, which is used as the source IP address of the terminal device during uplink transmission.
[0315] Exemplarily, SMF sends an N1N2 message transfer message to AMF, for example, the N1N2 message transfer message is a Namf_Communication_N1N2MessageTransfer message; correspondingly, AMF receives an N1N2 message transfer message from SMF; the N1N2 message transfer message includes an identifier of the first session, N1 interface session management container information and N2 interface session management information, and the N1 interface session management container information includes a session establishment acceptance 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.
[0316] AMF sends an N2 PDU session request message to RAN, which includes N2 interface session management information and a NAS message to be sent to the terminal device, which includes the identifier of the first session and N1 interface session management container information; RAN receives the N2 PDU session request message sent by 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 RAN, and obtains a session establishment acceptance message according to the NAS message. RAN sends an N2 PDU session response message to AMF, which is used to indicate that the NAS message has been successfully sent to the terminal device.
[0317] 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 the downlink data whose downlink destination address is the tunnel endpoint identification information of the RAN or the address information of the RAN, it can be known 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.
[0318] In the technical solution provided in the embodiment of the present application, the terminal device supporting the reader / writer function can request SMF to establish the first session for transmitting IoT service data. SMF obtains the address information of the TMF from TMF, and the TMF is used to transmit the IoT service data corresponding to the first session; the uplink destination address of the terminal device transmitting the IoT service data is the address of TMF; when the uplink destination address of the received IoT service data is the address of TMF, UPF sends the IoT service data to 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 is a reader / writer, it can transmit IoT service data to TMF through UPF. In addition, the terminal device has good mobility and wide distribution, and the terminal device is more flexible when it is used as a reader / writer than when the access network device is used as a reader / writer.
[0319] Optionally, the service requester sends fourth information to TMF, and the fourth information indicates that the IoT service instruction is to be executed in the target area; TMF receives the fourth information from the service requester; TMF determines the terminal device located in the target area to execute the IoT service instruction based on the fourth information. In one possible implementation, TMF determines the terminal device located in the target area to execute the IoT service instruction based on one or more of the location information of the terminal device sent by SMF, the information of the mobile management device serving the terminal device, or the information of the access network device serving the terminal device. In another possible implementation, 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, TMF determines that the terminal device is located in the target area based on the location information of the terminal device obtained from 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.
[0320] The TMF sends the seventh information to the UPF corresponding to the terminal device / UPF serving the terminal device, and the seventh information instructs the terminal device to execute the IoT service instruction, and the seventh information includes the identification information of the terminal device or the identification information corresponding to the terminal device. For example, the seventh information includes the SUPI, SUCI, GPSI, reader ID or identification information of the first session of the terminal device. Among them, the TMF sends the seventh information to the UPF corresponding to the terminal device, which can be understood as that the TMF sends the seventh information to the UPF according to the address information of the UPF corresponding to the terminal device.
[0321] The UPF receives the seventh information sent by the TMF, and the UPF sends the sixth information to the terminal device according to the seventh information (through the access network device), and the sixth information instructs the terminal device to execute the IoT service instruction; the terminal device receives the sixth information sent by the UPF (through the access network device), and executes the IoT service instruction according to the sixth information. In this implementation, the TMF instructs the terminal device to execute the IoT service instruction through the UPF (user plane).
[0322] Optionally, the service requester sends fourth information to TMF, and the fourth information indicates that the IoT service instruction is executed in the target area; TMF receives the fourth information from the service requester; TMF determines the terminal device located in the target area to execute the IoT service instruction based on the fourth information; TMF sends fifth information to AMF serving the terminal device, and the fifth information indicates that the terminal device executes the IoT service instruction; AMF receives the fifth information sent by TMF, and AMF sends ninth information to the terminal device based on the fifth information, and the ninth information indicates that the terminal device executes the IoT service instruction; the terminal device receives the ninth information sent by AMF, and executes the IoT service instruction based on the ninth information. In this implementation, TMF instructs the terminal device to execute the IoT service instruction through AMF (control plane).
[0323] In a possible implementation, the fourth information, the fifth information, the sixth information, the seventh information, and the ninth information may be information in the same format or information 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 a possible implementation, the Internet of Things instructions included in the fourth information, the fifth information, the sixth information, the seventh information, and the ninth information have the same function.
[0324] Exemplarily, 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 information of the target area. For example, when the operation type indicated by the IoT service instruction is a close-range operation such as a read operation, a write operation, or a positioning operation, TMF determines that the terminal device that is located in the target area and can perform such operations executes the IoT service instruction.
[0325] Exemplarily, when an IoT service instruction instructs to obtain target IoT service data from a specific IoT terminal or to write target IoT service data to a specific IoT terminal, TMF can determine the terminal device that executes the IoT service instruction based on the identification information of the IoT terminal and the information of the target area included in the IoT service instruction. For example, TMF determines 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 based on historical operation records or inventory records.
[0326] Exemplarily, when the IoT service instruction instructs to obtain the 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 seventh information, the fourth information and the sixth information include the identification information of the IoT terminal; the terminal device uses the address information of TMF as the uplink destination address, and sends the target IoT service data to TMF through UPF. Specifically, the terminal device sends the target IoT service data and the uplink destination address (address information of TMF) of the target IoT service data to UPF, and UPF receives the target IoT service data from the terminal device; UPF sends the target IoT service data to TMF according to the uplink destination address of the target IoT service data; TMF receives the target IoT service data sent by UPF, and TMF sends the target IoT service data to the service requester. After receiving the target IoT service data sent by SMF, TMF can 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.
[0327] Exemplarily, the fourth information sent by the service requester to TMF may include the address information of the server corresponding to the service requester, and TMF sends the address information of the server and the IoT service instruction to the terminal device through UPF or AMF. When the IoT service instruction instructs to obtain the 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 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. In this way, the uplink data can be transmitted to the server faster / with less detours, thereby improving the user experience.
[0328] 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, and 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, and this application does not limit this. 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.
[0329] The fourth information may also include identification information of the IoT terminal, the identification of the IoT terminal may be a tag identification, or an IoT terminal identification segment, and the IoT terminal identification segment may be used to indicate one or more IoT terminals. The IoT service instruction in the embodiment of the present application may indicate any operation type in an inventory operation / inventory operation, a read operation, a write operation, an invalidation operation, obtaining tag information, a message interaction operation with a tag (IoT terminal), sending a load to a tag (IoT terminal), or a positioning operation.
[0330] In one possible implementation, the terminal device determined by TMF to execute the IoT service instruction may be a terminal device with an activated reader / writer function. In one 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. In another case, the reader / writer function of the terminal device supporting the reader / writer function is 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.
[0331] Optionally, in the case where a terminal device supporting a 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 executing the IoT service instruction has activated the reader / writer function and that the terminal device is located in the target area.
[0332] 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 reader / writer function of the terminal device has been activated based on the second indication message.
[0333] Exemplarily, TMF sends a subscription request message to UDM, and the subscription request message is used to obtain information about terminal devices that support reader / writer functions; UDM receives the subscription request message from UDM; UDM sends a subscription response message to TMF, and the subscription response message includes at least one of the identification of the terminal device that supports the reader / writer function, the location information of the terminal device that supports the reader / writer function, the status information of the terminal device that supports the reader / writer function, and the information of the core network device that serves the terminal device that supports the reader / writer function; TMF receives a subscription response message / subscription notification message from UDM, and determines that the terminal device has activated the reader / writer function according to the subscription response message / subscription notification message. Among them, the status information of the terminal device that supports the reader / writer function includes at least one of the registration state, the deregistration state, the connection state, the inactive state, or the idle state. In this example, it can be considered that the reader / writer function of the terminal device that supports the reader / writer function is activated.
[0334] 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.
[0335] Fig.12 A schematic diagram of a protocol stack corresponding to another communication method provided for the implementation of the present application. SMF sends address information corresponding to a terminal device to TMF, 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; SMF obtains the address information of the TMF from TMF, where the uplink destination address of the terminal device is the address of the TMF. The data transmission path of the terminal device includes: terminal device-RAN-UPF-TMF.
[0336] The following is a description of the specific examples Fig.11 Provides a method of communication. Fig.11 The registration process interaction diagram of the terminal device in the communication method provided is as follows Fig. 9 , Fig.13 Another communication method provided in an embodiment of the present application ( Fig.11 A schematic diagram of a session establishment process of a terminal device in a communication method provided, Fig.13 Step 1301 in Fig. 9 Execute after step 909.
[0337] 1301, the terminal device AMF sends a session establishment request message, the session establishment request message is used to request the establishment of a first session for transmitting IoT service data, and the session establishment request message includes at least one of the request type, the identifier of the first session, the data network name requested by the terminal device, or the slice information. Correspondingly, the AMF receives the session establishment request message from the terminal device.
[0338] 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. The fourth indication information can be IoT indication information, such as passive IoT indication information or environmental IoT indication information.
[0339] 1302, AMF selects an SMF that supports the IoT service. In one possible implementation, 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.
[0340] 1303. AMF sends a session establishment request message to the SMF. Correspondingly, SMF receives the session establishment request message sent by AMF.
[0341] Optionally, the AMF may send information about the access network device that serves the terminal device or the location information of the terminal device, such as identification information of the access network device that serves the terminal device, to the SMF. The information about the access network device that serves the terminal device may be used to determine the location of the terminal device. Exemplarily, the information about the access network device that serves 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 that serves the terminal device, a tracking area identifier, a cell identifier, longitude and latitude information, or coordinate value information.
[0342] In a possible implementation, AMF may send information about the access network device that serves the terminal device or the location information of the terminal device to SMF via a serviced message. Exemplarily, the serviced message is a PDU session creation session context request message, and the PDU session creation session context request message includes a session establishment request message, and information about the access network device that serves the terminal device / location information of the terminal device. Exemplarily, the session establishment request message sent by AMF to SMF includes information about the access network device that serves the terminal device or the location information of the terminal device.
[0343] The SMF determines that the address information of the UPF needs to be obtained according to the session establishment request message or the fourth indication information, and needs to obtain the address information of the TMF from the TMF. In a possible implementation, the SMF determines that the address information of the UPF needs to be obtained according to the session establishment request message or the fourth indication information. The UPF and the TMF are used to transmit the IoT service data corresponding to the first session.
[0344] 1304. SMF selects a UPF that supports the transmission of IoT service data according to the session establishment request message or the fourth indication information.
[0345] 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.
[0346] Optionally, SMF also sends N4 rules to UPF, where the N4 rules include PDR, FAR and other rules.
[0347] 1306. The UPF allocates address information of the UPF for the terminal device to transmit IoT service data according to the first indication information; 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. The SMF instructs the UPF to allocate address information of the UPF for the terminal device to transmit IoT service data.
[0348] 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.
[0349] Exemplarily, the address information of the UPF includes one or more of the following information: IP address, MAC address, port information. The IP address may include one or more of the following information: IPv4 address, IPv6 address, or IPv6 prefix.
[0350] 1307, SMF obtains the address information of the TMF from the TMF according to the session establishment request message or the fourth indication information, wherein the TMF is used to transmit the 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.
[0351] 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.
[0352] Exemplarily, the third request message sent by SMF to TMF includes the address information of the terminal device. Optionally, SMF sends sixth indication information to UPF, and the sixth indication information is used to indicate that after receiving the uplink IoT service data from the terminal device, the UPF does not need to perform address conversion on the uplink IoT service data, and directly forwards the uplink IoT service data. After TMF receives the uplink IoT service data forwarded by the UPF, it can know which terminal device the uplink IoT service data comes from based on the source address information / address information of the terminal device.
[0353] Exemplarily, the third request message sent by SMF to TMF includes the address information of the UPF corresponding to the terminal device. In this example, after 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 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 TMF receives the uplink IoT service data after the address conversion, it can know which terminal device the uplink IoT service data comes from according to the source address information / address information of the UPF. In addition, when TMF needs to send downlink data to the terminal device, TMF can send the downlink data to the terminal device through the UPF according to the address information of the UPF corresponding to the terminal device.
[0354] Exemplarily, the third request message sent by SMF to 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 conversion on the uplink IoT service data or may not perform address conversion.
[0355] Optionally, the SMF may send one or more of 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.
[0356] Optionally, the third request message sent by SMF to TMF also includes one or more of 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 third request message sent by SMF to TMF also includes the information of the AMF serving the terminal device, and / or the information of the access network device serving the terminal device. The information of the AMF serving the terminal device, and / or the 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, the information of the access network device, or the 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.
[0357] 1308, SMF sends an N1N2 message transmission message to AMF, and 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, and the session establishment acceptance message includes the uplink destination address for the terminal device to transmit IoT service data, and the uplink destination address includes the address information of TMF. Correspondingly, AMF receives the N1N2 message transmission message from SMF. The N2 interface session management information needs to be sent to the RAN accessed by the terminal device through AMF, and the N1 interface session management container information needs to be sent to the terminal device through AMF.
[0358] 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 by the terminal device.
[0359] 1309. AMF sends an N2 PDU session request message to RAN. The N2 PDU session request message includes N2 interface session management information and a NAS message that needs 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, RAN receives the N2 PDU session request message sent by AMF.
[0360] 1310. 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.
[0361] 1311. RAN sends an N2 PDU session response message to AMF, where the N2 PDU session response message is used to indicate that the NAS message has been successfully sent to the terminal device.
[0362] 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 the downlink data whose downlink destination address is the tunnel endpoint identification information of the RAN or the address information of the RAN, it can be known 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.
[0363] 1312, after the reader / writer function of the terminal device is activated, the terminal device sends a second indication message to TMF through AMF (control plane) or UPF (user plane), and the second indication message is used to indicate that the terminal device has activated the reader / writer function; correspondingly, TMF receives the second indication message from the terminal device, and TMF determines that the terminal device has activated the reader / writer function according to 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., which is used to determine 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.
[0364] 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 assigned by the TMF to the terminal device, which is used as identification information when the terminal device is used as a reader / writer.
[0365] Optionally, the reader / writer function of the terminal device supporting the reader / writer function is activated and can be used directly as a reader / writer.
[0366] 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.
[0367] The fourth information may include at least one of information on the type of operation, identification information of the IoT terminal, or information on the target area. The operation type includes 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 any type of positioning operation. The identifier of the IoT terminal may be a tag identifier or an identification segment of the IoT terminal, and the identification segment of the IoT terminal may be used to indicate one or more IoT terminals. The information on the target area includes at least one of geographic location information, a cell identifier, a tracking area identifier, or an operating area identifier, and 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, and this application does not limit this.
[0368] 1314. TMF determines the terminal devices located in the target area to execute the IoT service instructions based on the fourth information. Exemplarily, TMF determines the terminal devices located in the target area to execute the IoT service instructions based on one or more of the location information of the terminal devices sent by SMF, the information of the mobile management device serving the terminal devices, or the information of the access network devices serving the terminal devices. In one possible implementation, TMF may map or convert the information of the target area into the information of the access network devices, the information of the mobile management device, or the location information of the terminal devices. TMF may determine the terminal devices located in the target area based on the location information of the terminal devices, the information of the mobile management device serving the terminal devices, or the information of the access network devices serving the terminal devices.
[0369] Exemplarily, TMF determines the terminal device that executes the IoT service instruction based on the operation type indicated by the IoT service instruction and the information of the target area. For example, when the operation type indicated by the IoT service instruction is a close-range operation such as a read operation, a write operation, or a positioning operation, TMF can determine the terminal device that is located in the target area and can perform such operations to execute the IoT service instruction.
[0370] Exemplarily, TMF determines the terminal device that executes the IoT service instruction based on the identification information of the IoT terminal and the information of the target area. For example, based on the historical operation records or inventory records, the terminal device located in the target area and that last executed the IoT service instruction on the IoT terminal is determined as the terminal device that executes the IoT service instruction at the current time; wherein the reader / writer that last executed the IoT service instruction on the IoT terminal is a terminal device that supports the reader / writer function.
[0371] Exemplarily, TMF determines the terminal device that executes the IoT service instruction based on the information of the target area. For example, when TMF determines that the area indicated by the information of the target area includes one or more terminal devices that support reader / writer functions, TMF can 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.
[0372] 1315. The TMF sends seventh information to the UPF serving the terminal device / corresponding to the terminal device, where the seventh information instructs the terminal device to execute the IoT service instruction, and 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 SUPI, SUCI, GPSI, reader ID of the terminal device or identification information of the first session. Correspondingly, the UPF receives the seventh information sent by the TMF.
[0373] 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.
[0374] Optionally, the fourth information also includes the address information of the server corresponding to the service requester, and TMF sends the address information of the server and the IoT service instruction to the terminal device through UPF. The purpose of the server address information is that when the terminal device as a reader receives the uplink data from the tag / IoT terminal, the uplink data can be sent directly to the server through RAN and UPF (user plane). When TMF does not need to process the uplink data, this method can make the uplink data faster / less circuitous to be transmitted to the server, thereby improving the user experience.
[0375] 1316. The UPF sends sixth information to the terminal device according to the seventh information, where the sixth information instructs the terminal device to execute the IoT service instruction, and 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 through the RAN.
[0376] 1317. The terminal device receives the sixth information sent by the UPF, and executes the IoT service instruction according to the sixth information. Exemplarily, when the IoT service instruction instructs to obtain 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 seventh information, the fourth information, and the sixth information include the identification information of the IoT terminal.
[0377] Optionally, TMF can also instruct the terminal device to execute the IoT service instruction through AMF (control plane). Specifically, TMF sends fifth information to the AMF serving the terminal device, and the fifth information instructs the terminal device to execute the IoT service instruction; AMF receives the fifth information sent by TMF, and AMF sends ninth information to the terminal device based on the fifth information, and the ninth information instructs the terminal device to execute the IoT service instruction; the terminal device receives the ninth information sent by AMF, and executes the IoT service instruction based on the ninth information. This optional implementation method is interchangeable with the implementation methods of steps 1315 to 1317.
[0378] 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.
[0379] 1319. After UPF receives the target IoT service data from the terminal device, since the uplink destination address of the target IoT service data is the address information of TMF, it sends the target IoT service data to TMF; TMF receives the target IoT service data sent by UPF, and TMF sends the target IoT service data to the service requester. After TMF receives the target IoT service data sent by UPF, it can directly forward the target IoT service data to the service requester, or it can process the target IoT service data and then send the processed target IoT service data to the service requester.
[0380] 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.
[0381] Exemplarily, the IoT service instruction instructs the terminal device to perform random access of the IoT terminal, and the fourth information includes the identification information or identification range information of the IoT terminal participating in the random access process, and 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 according to the sixth information; the IoT terminal that has successfully accessed the random access sends the identification information of the IoT terminal to the terminal device, and the identification information of the IoT terminal can be encapsulated through NAS signaling or application layer protocol; the terminal device sends the identification information of the IoT terminal to the TMF through the UPF, and the terminal device does not parse the identification information of the IoT terminal.
[0382] 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 TMF through UPF.
[0383] The above introduces the communication method provided in the embodiment of the present application, and the execution subject used to execute the above communication method will be introduced below.
[0384] Fig.14 1400 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 embodiment of the present application. Figure 7 ,or Fig.10 The communication device 1400 includes:
[0385] The transceiver unit 1410 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;
[0386] 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;
[0387] The transceiver unit 1410 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 user plane device;
[0388] The transceiver unit 1410 is also used to send first information to the user plane device, wherein the first information instructs the user plane device to send the Internet of Things service data to the apparatus when the uplink destination address of the received Internet of Things service data is the address of the user plane device.
[0389] Fig.15 1 is a schematic block diagram of a communication device 1500 according to an embodiment of the present application. The device can be applied to the embodiment of the present application. Figure 7 , Fig. 9 or Fig.10 In the Internet of Things management device of the method, the communication device 1500 includes: a transceiver unit 1510 and a processing unit 1520.
[0390] The transceiver unit 1510 is configured to receive a first request message from a session management device, wherein the first request message is used to request establishment of an IoT service transmission path between the session management device and the apparatus, wherein 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 IoT service transmission path is used to transmit IoT service data;
[0391] The transceiver unit 1510 is further configured to send a first response message to the session management device, wherein the first response message indicates that establishment of an IoT service transmission path between the session management device and the apparatus is complete.
[0392] Optionally, the transceiver unit 1510 is further configured to receive fourth information from a service requester, where the fourth information indicates executing an Internet of Things service instruction in a target area;
[0393] The processing unit 1520 is used to determine the terminal device located in the target area to execute the Internet of Things service instruction;
[0394] The transceiver unit 1510 is also used to send second information to the session management device, wherein the second 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, wherein the fifth information instructs the terminal device to execute the Internet of Things service instruction.
[0395] Fig.16 1 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 embodiment of the present application. Figure 7 ,or Fig.10 The user plane device of the method. The communication device 1600 includes:
[0396] The transceiver unit 1610 is configured to receive a second request message from a 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 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 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;
[0397] The transceiver unit 1610 is further used to send a second response message to the session management device, where the second response message indicates that the IoT service transmission path is established, and the second response message includes address information of the device.
[0398] Fig.171700 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 embodiment of the present application. Fig.11 ,or Fig.13 The communication device 1700 includes:
[0399] 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;
[0400] The processing unit 1720 is configured to obtain 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;
[0401] The transceiver unit 1710 is further used to send a session establishment acceptance message to the terminal device, wherein the session establishment acceptance message includes an uplink destination address for the terminal device to transmit IoT service data, and the uplink destination address includes address information of the IoT management device.
[0402] Fig.18 1800 is a schematic block diagram of a communication device 1800 according to an embodiment of the present application. The device can be applied to the embodiment of the present application. Fig.11 , Fig. 9 or Fig.13 In the Internet of Things management device of the method, the communication device 1800 includes: a transceiver unit 1810 and a processing unit 1820.
[0403] The transceiver unit 1810 is configured to receive a third request message from a session management device, wherein the third request message is used to request to obtain address information of the 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 device and the user plane device are used to transmit IoT service data corresponding to the first session;
[0404] The transceiver unit 1810 is further configured to send a third response message to the session management device, wherein the third response message includes address information of the apparatus.
[0405] Optionally, the transceiver unit 1810 is further configured to receive fourth information from the service requester, where the fourth information indicates executing the Internet of Things service instruction in the target area;
[0406] The processing unit 1820 is used to determine the terminal device located in the target area to execute the Internet of Things service instruction;
[0407] 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.
[0408] Fig.19 1900 is a schematic block diagram of a communication device 1900 according to an embodiment of the present application. The device can be applied to the embodiment of the present application. Figure 7 , Fig. 9 , Fig.10 , Fig.11 ,or Fig.13 The communication device 1900 includes:
[0409] The processing unit 1910 is configured to determine to establish a first session for transmitting IoT service data;
[0410] 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 to establish the first session for transmitting IoT service data;
[0411] 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 an uplink destination address for the device to transmit the IoT service data, and 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.
[0412] Fig. 20 This 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;
[0413] The memory 2020 is used to store executable instructions;
[0414] The processor 2010 is coupled to the memory 2020 via the communication interface 2030, and the processor 2010 is used to call and run the executable instructions in the memory 2020 to implement the method in the embodiment of the present application. The communication device can 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.
[0415] The processor 2010 described above may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor 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 devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0416] 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.
[0417] 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, wherein 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.
[0418] The present application also provides a computer-readable storage medium on which a computer program for implementing the method in the above method embodiment is stored. When the computer program is run on a computer, the computer can implement the method in the above method embodiment.
[0419] An embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the method in the above method embodiment is executed.
[0420] 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 a computer program, and the processor is used to execute the computer program stored in the memory, so that the chip executes the method in the above method embodiment.
[0421] 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.
[0422] In the embodiment of the present application, the numbers "first", "second"... are only for distinguishing different objects, such as 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.
[0423] In addition, the term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there may be three relationships. 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 objects associated before and after 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.
[0424] Those of ordinary skill 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 to be beyond the scope of this application.
[0425] Those skilled in the art can 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.
[0426] In the several embodiments provided in the present 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 only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, 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.
[0427] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0428] 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.
[0429] 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 can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0430] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope 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 a second session between the session management device and the user plane device, and 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
Cited By
Communication method, communication apparatus, and computer-readable storage medium
WO2026174920A1
Communication registration method, communication apparatus, and computer-readable storage medium
WO2026194352A1
