Information processing method and device and storage medium
By mapping data streams and QoS streams based on device address information in 5GS systems, the problem of poor data stream routing accuracy when multi-device connection is solved, and more efficient data transmission is achieved.
Patent Information
- Application Number
- CN202311497247.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-10
- Publication Date
- 2025-05-13
AI Technical Summary
In the fifth generation mobile communication system (5GS), when multiple devices are connected to the same terminal device (UE), the data flow routing accuracy of the device is poor.
By mapping the data stream and the QoS stream based on the address information of at least one first device, the data stream is accurately identified and routed. The specific method includes receiving the QoS stream parameters sent by the session management function SMF, establishing a mapping relationship, and mapping the data stream and the QoS stream based on this relationship.
It realizes the accurate mapping and routing of the data stream and QoS stream of the device, and improves the data transmission performance and accuracy of the communication system.
Smart Images

Figure CN119997145A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an information processing method, device and storage medium. Background Art
[0002] Quality of Service (QoS) refers to a network's ability to use various basic technologies to provide better service capabilities for specified network communications. It is a network security mechanism and a technology used to solve problems such as network delays and congestion. QoS flow is the finest QoS differentiation granularity in a protocol data unit (PDU) session.
[0003] During the uplink process, the terminal device analyzes the uplink data flow (which can also be understood as the uplink data packet) and maps the uplink data flow to the QoS flow for transmission. During the downlink process, the user-side core network element can use a similar method to the terminal device side to map the downlink data flow (which can also be understood as the downlink data packet) to the QoS flow for transmission to the terminal device.
[0004] At present, in the fifth generation mobile communication system (5GS), for scenarios where multiple devices (for example, but not limited to smart glasses, smart watches, etc.) are connected to the same terminal device (UE) to access the network, since multiple devices are connected to the same terminal device to access the network, it is easy to cause poor accuracy in the routing of device data flows. Summary of the invention
[0005] Embodiments of the present application provide an information processing method, a device, and a storage medium to solve the problem of poor accuracy in data flow routing of a device.
[0006] The present application provides an information processing method, which is applied to a terminal device, and the method includes:
[0007] Based on the address information of at least one first device, mapping is performed between the data flow of the at least one first device and the quality of service QoS flow.
[0008] In one embodiment, mapping the data flow of the at least one first device to the quality of service QoS flow based on the address information of the at least one first device includes:
[0009] Receive at least one quality of service QoS flow parameter sent by a session management function SMF, wherein the at least one QoS flow parameter corresponds to at least one QoS flow, each QoS flow parameter includes a QoS rule, each QoS rule includes an identifier QFI of a corresponding QoS flow, and the at least one QoS flow is a QoS flow established by the SMF;
[0010] Establishing a first mapping relationship according to the QFI in the at least one QoS flow parameter, the identifier of the at least one first device, and the address information of the at least one first device;
[0011] Based on the first mapping relationship, mapping is performed between the data flow of the at least one first device and the quality of service QoS flow.
[0012] In one embodiment, before receiving at least one quality of service QoS flow parameter sent by the session management function SMF, the method further includes:
[0013] Sending first information to the SMF;
[0014] The first information includes capability information of each first device in the at least one first device, and the capability information of the at least one first device is used for: the SMF to establish the at least one QoS flow.
[0015] In one embodiment, the capability information of the first device includes an identification of the first device and a communication protocol used by the first device.
[0016] In one embodiment, identifiers of different first devices in the at least one first device correspond to different QoS flows, and a QFI of at least one QoS flow corresponds one-to-one to the identifier of the at least one first device.
[0017] In one embodiment, before sending the first information to the SMF, the method further includes:
[0018] receiving service request information sent by the at least one first device, where the service request information of the first device includes a communication capability supported by the first device;
[0019] Determine a protocol data unit PDU session type according to the communication capabilities supported by the at least one first device and / or the communication capabilities supported by the terminal device itself;
[0020] The first information also includes first indication information, and the first indication information is used to indicate the PDU session type.
[0021] In one embodiment, before sending the first information to the SMF, the method further includes:
[0022] Determine capability information of the at least one first device according to a communication mode between the at least one first device and the terminal device.
[0023] In one embodiment, the PDU session type is used by the SMF to allocate a first IP address or IP prefix to the terminal device according to the PDU session type;
[0024] After sending the first information to the SMF, the method further includes:
[0025] Receiving second information sent by the SMF based on the PDU session type, where the second information includes the first IP address or the IP prefix;
[0026] Corresponding address information is determined for each first device according to the second information.
[0027] In one embodiment, the mapping between the data flow of the at least one first device and the quality of service QoS flow based on the first mapping relationship includes:
[0028] receiving a first downlink data packet;
[0029] Determine a first target address corresponding to the QFI in the first downlink data packet from the first mapping relationship, where the first target address corresponds to a first target device in the at least one first device;
[0030] The first downlink data packet is sent to the first target device with the first target address as the destination address.
[0031] In one embodiment, the mapping between the data flow of the at least one first device and the quality of service QoS flow based on the first mapping relationship includes:
[0032] receiving a first uplink data packet sent by a second target device, where the second target device is any one of the at least one first device;
[0033] Determine a corresponding first QFI from the first mapping relationship according to the address information of the second target device in the first uplink data packet;
[0034] The first uplink data packet is mapped to the QoS flow corresponding to the first QFI for transmission.
[0035] In one embodiment, the sending the first information to the SMF includes:
[0036] A PDU session establishment or modification request is sent to the AMF, wherein the PDU session establishment or modification request is used by the AMF to send a request to establish or modify a session management context to the SMF, and both the session establishment or modification request and the establishment or modification session management context request include the first information.
[0037] In one embodiment, mapping the data flow of the at least one first device to the quality of service QoS flow based on the address information of the at least one first device includes:
[0038] Sending a second Internet Protocol IP address of each first device in at least one first device to an application server AS, the second IP address of the third target device is used by the AS to send a second downlink data packet to the user plane function UPF, the second downlink data packet is a data packet to be sent to the third target device, the third target device is any device in the at least one first device, the destination address in the second downlink data packet is the second IP address of the third target device, and the second downlink data packet is used by the UPF to map it to the QoS flow corresponding to the third target device for transmission;
[0039] Receiving the second downlink data packet sent by the UPF mapped on the QoS flow corresponding to the third target device;
[0040] The second downlink data packet is sent to the third target device.
[0041] In one embodiment, before sending the second Internet Protocol IP address of each first device in at least one first device to the application server AS, the method further includes:
[0042] In the case where the PDU session has been established, determining a corresponding second IP address for each first device based on the third IP address allocated to the terminal device during the PDU session establishment process;
[0043] Sending a corresponding second IP address to each first device in the at least one first device, so that each first device sends the corresponding second IP address to the AS.
[0044] In one embodiment, the capability information of the first device also includes a port number allocated by the terminal device to the first device.
[0045] In one embodiment, each QoS rule further includes at least one of an uplink data packet filter set and a downlink data packet filter set;
[0046] The downlink data packet filter set includes a downlink filtering direction and at least one of the following:
[0047] Destination IP address: the destination IP address is the IP address of the terminal device;
[0048] The IP prefix of the terminal device;
[0049] Destination port number: the destination port number is the port number of the terminal device or the port number of the first device;
[0050] Destination MAC address: the destination MAC address is the MAC address of the terminal device;
[0051] The uplink data packet filter set includes an uplink filtering direction and at least one of the following:
[0052] Source IP address: the source IP address is the IP address of the terminal device;
[0053] The IP prefix of the terminal device;
[0054] Source port number: the source port number is the port number of the terminal device or the port number of the first device;
[0055] Source MAC address: The source MAC address is the MAC address of the terminal device.
[0056] In one embodiment, the downlink data packet filter set includes the destination port number, and the destination port number is the port number of the first device;
[0057] The method further comprises:
[0058] receiving a third downlink data packet, wherein the destination port number in the third downlink data packet is the port number of a fourth target device, and the fourth target device is any device among the at least one first device;
[0059] The third downlink data packet is sent to the fourth target device.
[0060] In one embodiment, the uplink data packet filter set includes the source port number, and the source port number is the port number of the first device; the address information of the at least one first device includes the port number of the at least one first device;
[0061] The mapping between the data flow of the at least one first device and the quality of service QoS flow based on the first mapping relationship includes:
[0062] receiving a second uplink data packet sent by a fifth target device, wherein the fifth target device is any one of the at least one first device;
[0063] Determine a corresponding second QFI from the first mapping relationship according to the port number of the fifth target device in the second uplink data packet;
[0064] The second uplink data packet is mapped to the QoS flow corresponding to the second QFI for transmission.
[0065] The present application embodiment provides an information processing method, which is applied to SMF, and the method includes:
[0066] A quality of service (QoS) flow is established, where the QoS flow is used to map data flows with the at least one first device based on an address of the at least one first device.
[0067] In one embodiment, the number of the established QoS flows is at least one, and after establishing the quality of service QoS flow, the method further includes:
[0068] At least one QoS flow parameter is sent to a terminal device, wherein the at least one QoS flow parameter corresponds to at least one QoS flow one by one, each QoS flow parameter includes a QoS rule, each QoS rule includes a QFI of a corresponding QoS flow, and the at least one QoS flow parameter is used to establish a first mapping relationship with the terminal device, wherein the first mapping relationship includes the QFI in the at least one QoS flow parameter, the identifier of the at least one first device, and the address information of the at least one first device, and the first mapping relationship is used to map the data flow of the at least one first device to the quality of service QoS flow.
[0069] In one embodiment, before establishing the quality of service QoS flow, the method further includes:
[0070] Receiving first information sent by a terminal device, where the first information includes capability information of each first device in at least one first device;
[0071] The establishing of the quality of service QoS flow includes: establishing the QoS flow for the terminal device based on the capability information of the at least one first device.
[0072] In one embodiment, the capability information of the first device includes an identification of the first device and a communication protocol used by the first device.
[0073] In one embodiment, identifiers of different first devices in the at least one first device correspond to different QoS flows, and an identifier QFI of the at least one QoS flow corresponds one-to-one with an identifier of the at least one first device.
[0074] In one embodiment, the first information also includes first indication information, and the first indication information is used to indicate the PDU session type determined by the terminal device according to the communication capabilities supported by the at least one first device and / or the communication capabilities supported by the terminal device itself.
[0075] In one embodiment, the method further comprises:
[0076] Allocate a first IP address or IP prefix to the terminal device according to the PDU session type;
[0077] Sending second information to the terminal device, wherein the second information includes the first IP address or the IP prefix.
[0078] In one embodiment, the capability information of the first device also includes a port number allocated by the terminal device to the first device.
[0079] In one embodiment, each QOS rule further includes at least one of an upstream data packet filter set and a downstream data packet filter set;
[0080] The downlink data packet filter set includes a downlink filtering direction and at least one of the following:
[0081] Destination IP address: the destination IP address is the IP address of the terminal device;
[0082] The IP prefix of the terminal device;
[0083] Destination port number: the destination port number is the port number of the terminal device or the port number of the first device;
[0084] Destination MAC address: the destination MAC address is the MAC address of the terminal device;
[0085] The uplink data packet filter set includes an uplink filtering direction and at least one of the following:
[0086] Source IP address: the source IP address is the IP address of the terminal device;
[0087] The IP prefix of the terminal device;
[0088] Source port number: the source port number is the port number of the terminal device or the port number of the first device;
[0089] Source MAC address: The source MAC address is the MAC address of the terminal device.
[0090] The present application embodiment provides an information processing method, which is applied to a user function plane UPF, and the method includes:
[0091] Receive a target downlink data packet sent by the AS, where the destination port number in the target downlink data packet is the port number of the target device, or the destination address in the target downlink data packet is the second IP address of the target device, and the target device is any device in the at least one first device;
[0092] Determine the target QoS flow according to the destination port number of the target device in the target downlink data packet, and map the target downlink data to the target QoS flow for transmission; or determine the terminal device according to the IP prefix in the second IP address of the target device, map the target downlink data to the QoS flow corresponding to the target device and send it to the terminal device, so that the terminal device sends the target downlink data to the target device.
[0093] An embodiment of the present application provides a communication device, including: a memory, a transceiver, and a processor, wherein:
[0094] The memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations:
[0095] Based on the address information of at least one first device, mapping is performed between the data flow of the at least one first device and the quality of service QoS flow.
[0096] An embodiment of the present application provides a communication device, including: a memory, a transceiver, and a processor, wherein:
[0097] The memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations:
[0098] A quality of service (QoS) flow is established, where the QoS flow is used to map data flows with the at least one first device based on an address of the at least one first device.
[0099] An embodiment of the present application provides a communication device, including: a memory, a transceiver, and a processor, wherein:
[0100] The memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations:
[0101] Receive a target downlink data packet sent by the AS, where the destination port number in the target downlink data packet is the port number of the target device, or the destination address in the target downlink data packet is the second IP address of the target device, and the target device is any device in the at least one first device;
[0102] Determine the target QoS flow according to the destination port number of the target device in the target downlink data packet, and map the target downlink data to the target QoS flow for transmission; or determine the terminal device according to the IP prefix in the second IP address of the target device, map the target downlink data to the QoS flow corresponding to the target device and send it to the terminal device, so that the terminal device sends the target downlink data to the target device.
[0103] An embodiment of the present application provides a communication device, including:
[0104] The first processing module is used to map the data flow of the at least one first device to the quality of service QoS flow based on the address information of the at least one first device.
[0105] An embodiment of the present application provides a communication device, including:
[0106] The QoS flow establishment module is used to establish a quality of service QoS flow, and the QoS flow is used to map with the data flow of the at least one first device based on the address of the at least one first device.
[0107] An embodiment of the present application provides a communication device, including:
[0108] a seventh receiving module, configured to receive a target downlink data packet sent by the AS, wherein the destination port number in the target downlink data packet is the port number of the target device, or the destination address in the target downlink data packet is the second IP address of the target device, and the target device is any one of the at least one first device;
[0109] Determine the target QoS flow according to the destination port number of the target device in the target downlink data packet, and map the target downlink data to the target QoS flow for transmission; or determine the terminal device according to the IP prefix in the second IP address of the target device, map the target downlink data to the QoS flow corresponding to the target device and send it to the terminal device, so that the terminal device sends the target downlink data to the target device.
[0110] An embodiment of the present application provides a processor-readable storage medium, which stores a computer program. The computer program is used to enable the processor to execute the information processing method provided by the embodiment of the present application, or the computer program is used to enable the processor to execute the information processing method provided by the embodiment of the present application.
[0111] In an embodiment of the present application, for a scenario in which at least one first device is connected to a terminal device to access a network, mapping between the data flow of at least one first device and the QoS flow can be performed based on the address information of the at least one first device, so as to realize mapping between the data flow of the first device and the QoS flow, that is, the data flow of each first device in the at least one first device can be mapped to the corresponding QoS flow for transmission, so as to realize accurate identification and routing of the data flow of the first device. BRIEF DESCRIPTION OF THE DRAWINGS
[0112] Figure 1 It is a schematic diagram of the structure of the network architecture applicable to the implementation of this application;
[0113] Figure 2 It is one of the schematic diagrams of an information processing method provided in an embodiment of the present application;
[0114] Figure 3 This is a second schematic diagram of an information processing method provided in an embodiment of the present application;
[0115] Figure 4 This is a third schematic diagram of an information processing method provided in an embodiment of the present application;
[0116] Figure 5 It is a schematic diagram of a 5G system architecture;
[0117] Figure 6 It is an application scenario diagram of an information processing method provided by an embodiment of the present application;
[0118] Figure 7 It is a DS-TT deployment architecture provided in an embodiment of the present application;
[0119] Figure 8 It is one of the interactive principle diagrams of an information processing method provided in an embodiment of the present application;
[0120] Fig. 9 This is the second interactive principle diagram of an information processing method provided in an embodiment of the present application;
[0121] Fig.10 This is the third interactive principle diagram of an information processing method provided in an embodiment of the present application;
[0122] Fig.11 is a structural diagram of a communication device provided in an embodiment of the present application;
[0123] Fig.12 is a structural diagram of another communication device provided in an embodiment of the present application;
[0124] Fig.13 is a structural diagram of another communication device provided in an embodiment of the present application;
[0125] Fig.14 It is a module schematic diagram of a communication device provided in an embodiment of the present application;
[0126] Fig.15 is a module schematic diagram of another communication device provided in an embodiment of the present application;
[0127] Fig.16 It is a module schematic diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0128] In order to make the technical problems, technical solutions and advantages to be solved by the present application clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0129] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0130] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.
[0131] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0132] The embodiments of the present application provide an information processing method, device and storage medium to solve the problem of poor transmission performance.
[0133] Among them, the method and the device are based on the same application concept. Since the method and the device solve the problem in a similar principle, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.
[0134] The technical solution provided in the embodiment of the present application can be applicable to a variety of systems, especially 6G systems. For example, the applicable system can be a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) general packet radio service (GPRS) system, a long term evolution (LTE) system, a LTE frequency division duplex (FDD) system, a LTE time division duplex (TDD) system, an advanced long term evolution (LTE-A) system, a universal mobile telecommunication system (UMTS), a world-wide interoperability for microwave access (WiMAX) system, a 5G new radio (NR) system, a 6G system, etc. These various systems include terminal equipment and network equipment. The system may also include a core network part, such as an evolved packet system (EPS), a 5G system (5GS), etc.
[0135] See also Figure 1 , Figure 1 It is a schematic diagram of the network architecture applicable to the implementation of this application, such as Figure 1 As shown, it includes a terminal 11 and a network device 12.
[0136] Among them, the terminal involved in the embodiment of the present application may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. In different systems, the name of the terminal device may also be different. For example, in a 5G system, the terminal device may be called a user equipment (UE). The wireless terminal device can communicate with one or more core networks (CN) via a radio access network (RAN). The wireless terminal device can be a mobile terminal device, such as a mobile phone (or a "cellular" phone) and a computer with a mobile terminal device. For example, it can be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device, which exchanges language and / or data with the radio access network. For example, Personal Communication Service (PCS) phones, cordless phones, Session Initiated Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDA), Redcap terminals, Low power wide area (LPWA) terminals, etc. Wireless terminal devices may also be referred to as systems, subscriber units, subscriber stations, mobile stations, mobile stations, remote stations, access points, remote terminal devices, access terminal devices, user terminal devices, user agents, and user devices, which are not limited in the embodiments of the present application.
[0137] The network device involved in the embodiment of the present application may be a base station, which may include multiple cells providing services for the terminal. Depending on the specific application scenario, the base station may also be called an access point, or may be a device in the access network that communicates with the wireless terminal device through one or more sectors on the air interface, or other names. The network device may be used to interchange received air frames with Internet Protocol (IP) packets, and serve as a router between the wireless terminal device and the rest of the access network, wherein the rest of the access network may include an Internet Protocol (IP) communication network. The network device may also coordinate the attribute management of the air interface. For example, the network device involved in the embodiments of the present application may be a network device (Base Transceiver Station, BTS) in the Global System for Mobile communications (Global System for Mobile communications, GSM) or Code Division Multiple Access (Code Division Multiple Access, CDMA), or a network device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or an evolutionary network device (evolutional Node B, eNB or e-NodeB) in the long term evolution (long term evolution, LTE) system, a 5G base station (gNB) in the 5G network architecture (next generation system), a base station in 6G, or a home evolved Node B (Home evolved Node B, HeNB), a relay node, a home base station (femto), a pico base station (pico), etc., which is not limited in the embodiments of the present application. In some network structures, the network device may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be arranged geographically separately.
[0138] Network devices and terminals can each use one or more antennas for multiple-input multiple-output (MIMO) transmission. MIMO transmission can be single-user MIMO (SU-MIMO) or multi-user MIMO (MU-MIMO). Depending on the form and number of antenna combinations, MIMO transmission can be 2D-MIMO, 3D-MIMO, FD-MIMO or massive-MIMO, or it can be diversity transmission, precoded transmission or beamforming transmission, etc.
[0139] See also Figure 2 , Figure 2 is a flowchart of an information processing method provided by an embodiment of the present application, which is applied to a terminal device, such as Figure 2 As shown, the following steps are included:
[0140] Step 201: Based on the address information of at least one first device, mapping is performed between a data flow of at least one first device and a quality of service QoS flow.
[0141] It can be understood that the number of the at least one first device is N, that is, N is at least one, and mapping between the data flows of the N first devices and the quality of service QoS flows can be performed based on the address information of the N first devices.
[0142] In this embodiment, at least one first device can be connected to the terminal device for communication, at least one first device can be connected to the terminal device through different communication protocols, and at least one first device can also contain a device that uses the same communication protocol to connect to the terminal device. The terminal device can be connected between the first device and a network element in the network (for example, a base station, a core network element, etc.), and at least one first device can access the network by connecting to the same terminal device. Each first device has corresponding address information. The terminal device can map the data stream (which can be understood as a data packet) of at least one first device to the quality of service QoS stream based on the address information of at least one first device, that is, to map the data stream of the first device to the QoS stream. In this way, the data stream of the first device can be transmitted on its mapped QoS stream, so as to realize accurate identification and routing of the data stream of the first device. It should be noted that the data stream of the first device here can be a data stream sent to the first device, or it can be a data stream sent by the first device.
[0143] It should be noted that the terminal device can obtain the address information of at least one first device. Exemplarily, the terminal device can determine the address information of at least one first device, or other network elements such as a session management function (SMF) determine the address information of at least one first device, and the terminal device receives the address information of at least one first device sent by other network elements to obtain the address information of at least one first device. In addition, exemplarily, the above-mentioned address information may include but is not limited to at least one of the following: Internet Protocol (IP) address (i.e., IP address), port number (port number), Media Access Control (Media Access Control, MAC) address (i.e., MAC address), serial port number (com port), etc.
[0144] In an embodiment of the present application, for a scenario in which at least one first device is connected to a terminal device to access a network, mapping between the data flow of at least one first device and the QoS flow can be performed based on the address information of the at least one first device, so as to realize mapping of the data flow of the first device and the QoS flow, that is, the data flow of each first device in the at least one first device can be mapped to the corresponding QoS flow for transmission, so as to accurately identify and route the data flow of the first device.
[0145] In one embodiment, mapping between a data flow of at least one first device and a quality of service QoS flow is performed based on address information of at least one first device, including:
[0146] receiving at least one quality of service QoS flow parameter sent by a session management function SMF, wherein the at least one QoS flow parameter corresponds to at least one QoS flow, each QoS flow parameter includes a QoS rule, each QoS rule includes an identifier QFI of a corresponding QoS flow, and the at least one QoS flow is a QoS flow established by the SMF;
[0147] Establishing a first mapping relationship according to the QFI in at least one QoS flow parameter, the identifier of at least one first device, and the address information of at least one first device;
[0148] Based on the first mapping relationship, mapping is performed between the data flow of at least one first device and the quality of service QoS flow.
[0149] It should be understood that the SMF can establish a corresponding QoS flow for each first device in at least one first device, that is, different QoS flows can be established for different first devices, so that at least one QoS flow can be established (for example, if the number of at least one first device is N, then N QoS flows can be established), and at least one QoS flow corresponds to at least one first device one by one. After establishing the QoS flow, the SMF can send at least one QoS flow parameter to the terminal device, for example, it can send N QoS flow parameters to the terminal device. In this way, after the terminal device receives at least one QoS flow parameter, it can establish a first mapping relationship according to the QoS flow identifier (QFI) in the at least one QoS flow parameter, the identifier of at least one first device, and the address information of at least one first device. In one example, the identifiers of different first devices in at least one first device correspond to different QoS flows, and the QFI of at least one QoS flow corresponds one by one to the identifier of at least one first device.
[0150] In addition, it should be noted that the terminal device can obtain the identification of at least one first device. Exemplarily, each of the above-mentioned QoS flow parameters can also include the identification of the corresponding first device. After the terminal device receives at least one QoS flow parameter, it can obtain the identification of at least one first device. In another example, at least one first device can send its own identification to the terminal device, that is, the terminal device can obtain the corresponding identification from at least one first device to obtain the identification of at least one first device, etc. In addition, exemplarily, the SMF can send the above-mentioned at least one QoS flow parameter to the terminal device through the Access and Mobility Management Function (AMF), so that the terminal device can receive at least one QoS flow parameter sent by the SMF through the AMF.
[0151] In this embodiment, the terminal device can receive QoS flow parameters corresponding to at least one QoS flow established by the SMF, that is, receive at least one QoS flow parameter, and can use the QFI in the at least one QoS flow parameter, the identifier of at least one first device, and the address information of at least one first device to establish a first mapping relationship. Based on the first mapping relationship, mapping can be performed between the data flow of at least one first device and the quality of service QoS flow. In this way, the data flows of different first devices can be mapped to different QoS flows for transmission to improve data transmission performance.
[0152] In one embodiment, before receiving at least one quality of service QoS flow parameter sent by the session management function SMF, the method further includes:
[0153] Sending a first message to the SMF;
[0154] The first information includes capability information of each first device in at least one first device, and the capability information of at least one first device is used for: SMF to establish at least one QoS flow.
[0155] It should be understood that the terminal device may report the capability information of at least one first device to the SMF, and the SMF may establish a corresponding QoS flow according to the capability information of at least one first device reported. For example, for N first devices, the SMF may establish N QoS flows. In this way, the terminal device may receive the QoS flow parameters of the QoS flow established by the SMF according to the capability information of at least one first device reported, so as to establish a first mapping relationship, so as to facilitate the subsequent QoS flow mapping according to the first mapping relationship.
[0156] In one embodiment, the capability information of the first device includes an identifier of the first device and a communication protocol used by the first device.
[0157] It should be noted that the communication protocol used by the first device can be understood as the communication protocol currently used by the first device to communicate with the terminal device. For example, the communication protocol can be but is not limited to WiFi 6, WiFi 7, Bluetooth 5.0, Bluetooth 5.2, ZigBee 2.0, ZigBee 3.0, etc. In this embodiment, the capability information reported by the terminal device may include the identifier of the first device (used to identify the first device) and the communication protocol used by the first device. In this way, after receiving the capability information, the SMF can distinguish different first devices according to the identifier of the first device, use the communication protocols of different first devices, and recommend corresponding QoS flows, so that the established QoS flows correspond to the identifier of the corresponding first device. In addition, in one embodiment, the capability information of the first device also includes the port number assigned by the terminal device to the first device.
[0158] In one embodiment, before sending the first information to the SMF, the method further includes:
[0159] receiving service request information sent by at least one first device, where the service request information of the first device includes communication capabilities supported by the first device;
[0160] Determine a protocol data unit PDU session type according to a communication capability supported by at least one first device and / or a communication capability supported by the terminal device itself;
[0161] The first information also includes first indication information, and the first indication information is used to indicate the PDU session type.
[0162] It should be understood that the communication capabilities supported by the first device are carried in the service request information and sent to the terminal device. The terminal device can report the first information after receiving the service request information and determining the type of the requested PDU session (i.e., the PDU session type). The first information includes not only the capability information of the first device, but also the first indication information for indicating the PDU session type. Exemplarily, the communication capabilities supported by the first device may be the Internet Protocol (IP protocol) supported by the first device, which may include but is not limited to at least one of the Internet Protocol version 4 (IPv4) protocol and the Internet Protocol version 6 (IPv6) protocol. If IPv4 and IPv6 are supported, it can be understood as supporting IPv4v6. The communication capabilities supported by the terminal device itself may be the Internet Protocol (IP protocol) supported by the terminal device, which may include but is not limited to at least one of the IPv4 protocol and the IPv6 protocol. Exemplarily, the PDU session type may be IPv4 or IPv6 or IPv4v6.
[0163] In one embodiment, before sending the first information to the SMF, the method further includes:
[0164] Determine capability information of at least one first device according to a communication mode between the at least one first device and the terminal device.
[0165] The communication mode between the first device and the terminal device should be understood as the communication mode currently used by the first device and the terminal device. Exemplarily, the communication mode may be, but is not limited to, WiFi 6, WiFi 7, Bluetooth 5.0, Bluetooth 5.2, ZigBee 2.0, ZigBee 3.0, etc. In this embodiment, the terminal device may determine the capability information of the first device based on the communication mode between the first device and the terminal device, that is, the communication capability information of the first device may be determined and reported so that the SMF can establish a corresponding QoS flow.
[0166] In one embodiment, the PDU session type is used by the SMF to allocate a first IP address or IP prefix to the terminal device according to the PDU session type;
[0167] After sending the first information to the SMF, the method further includes:
[0168] Receiving second information sent by the SMF based on the PDU session type, where the second information includes the first IP address or IP prefix;
[0169] Corresponding address information is determined for each first device according to the second information.
[0170] It should be understood that after receiving the first information reported by the terminal device, the SMF can allocate a first IP address or IP prefix to the PDU session according to the PDU session type indicated by the first indication information. It can also be understood that the first IP address or IP prefix is allocated to the terminal device. In this embodiment, the address information includes an IP address, so that the terminal device can determine the corresponding IP address for each first device according to the first IP address or IP prefix sent by the SMF. Other types of address information, such as port number, media access control (Media Access Control, MAC) address (ie, MAC address), serial port number (com port), etc., can be determined by other means. For example, other network elements such as session management function (SMF) can determine these address information, and the terminal device can receive the address information sent by other network elements. It can also be that the terminal device allocates corresponding address information to each first device, etc., or it can be the address information sent by the first device to the terminal device. This is not specifically limited in this embodiment.
[0171] In one embodiment, mapping between a data flow of at least one first device and a quality of service QoS flow is performed based on the first mapping relationship, including:
[0172] receiving a first downlink data packet;
[0173] Determine a first target address corresponding to the QFI in the first downlink data packet from the first mapping relationship, where the first target address corresponds to a first target device in the at least one first device;
[0174] The first downlink data packet is sent to the first target device with the first target address as the destination address.
[0175] It should be understood that the first downlink data packet mentioned above may also be referred to as the first downlink data flow, which may be sent by the application server through the user plane function (UPF) and the like, and the first downlink data packet may be understood as a data packet to be sent to the first device. The QFI in the first downlink data packet may be understood as the identifier of the QoS flow to which the first downlink data packet is mapped, that is, the first downlink data packet is mapped to the QOS flow corresponding to the QFI and transmitted to the terminal device. After receiving the first downlink data packet, the terminal device may determine the corresponding first target address from the first mapping relationship according to the QFI, the first target address being the address of the first target device, the first target device being a device in at least one first device, and the first downlink data packet is sent to the first target device corresponding to the first target address with the first target address as the destination address, thereby realizing the routing of the downlink data flow.
[0176] In one embodiment, mapping between a data flow of at least one first device and a quality of service QoS flow is performed based on the first mapping relationship, including:
[0177] receiving a first uplink data packet sent by a second target device, where the second target device is any one of the at least one first device;
[0178] Determine a corresponding first QFI from a first mapping relationship according to the address information of the second target device in the first uplink data packet;
[0179] The first uplink data packet is mapped to the QoS flow corresponding to the first QFI for transmission.
[0180] It should be understood that the first uplink data packet can also be called the first uplink data flow. The source address in the first uplink data packet is the address information of the second target device. After the terminal device receives the first uplink data packet, it can determine the first QFI corresponding to the address information of the second target device from the first mapping relationship, thereby mapping the first uplink data packet to the QoS flow corresponding to the first QFI for transmission, thereby realizing the mapping and transmission of the uplink data flow and the QoS flow. It should be noted that the terminal device can map the first uplink data packet to the QoS flow corresponding to the first QFI and transmit it to the UPF.
[0181] In one embodiment, sending first information to the SMF includes:
[0182] A PDU session establishment or modification request is sent to AMF, and the PDU session establishment or modification request is used by AMF to send a request to establish or modify a session management context to SMF. Both the session establishment or modification request and the establishment or modification session management context request include the first information.
[0183] In this embodiment, the terminal device may carry the first information in a PDU session establishment or modification request and send it to the AMF, and the AMF may carry the first information in a session management context establishment or modification request and send it to the SMF, so that the terminal device transmits the first information to the SMF, so that the SMF establishes at least one QoS flow according to the capability information of at least one first device in the first information. In one example, the first information may be carried in a non-access stratum (NAS) message of the PDU session establishment or modification request. For example, the first information may be included in the NAS message, or in the Protocol Configuration Options (PCO) of the NAS message, or in the 5G Session Management (5GSM) core network capability information (CoreNetwork capability) of the NAS message.
[0184] In one embodiment, mapping between a data flow of at least one first device and a quality of service QoS flow is performed based on address information of at least one first device, including:
[0185] Sending a second Internet Protocol IP address of each first device in at least one first device to an application server AS, the second IP address of the third target device is used by the AS to send a second downlink data packet to the user plane function UPF, the second downlink data packet is a data packet to be sent to the third target device, the third target device is any device in the at least one first device, the destination address in the second downlink data packet is the second IP address of the third target device, and the second downlink data packet is used by the UPF to map it to the QoS flow corresponding to the third target device for transmission;
[0186] Receive a second downlink data packet sent by the UPF mapping on the QoS flow corresponding to the third target device;
[0187] A second downlink data packet is sent to the third target device.
[0188] In this embodiment, the terminal device can send the second IP address of at least one first device to the application server (Application Server, AS), so that the AS can use the second IP of the first device as the destination address for downlink transmission during the process of sending downlink data. For example, for the third target device, the AS sends a second downlink data packet, and the destination address can be set to the second IP address of the third target device. The second downlink data packet is first sent to the UPF. After the UPF receives it, the UPF can determine the terminal device receiving the data according to the prefix of the second IP address of the third target device. The UPF maps the second downlink data packet to the QoS flow corresponding to the third target device and sends it to the terminal device. After the terminal device receives the second downlink data packet sent by the UPF, according to the second IP address of the third target device in the second downlink data packet, the second downlink data packet is sent to the third target device, so as to realize the mapping and transmission of the downlink data flow and the QoS flow. In addition, exemplarily, the IP address in this embodiment can be an IPv6 address, that is, the second IP address is a second IPv6 address, and the prefix is an IPv6 prefix. Optionally, the second IPv6 address can be a full IPv6 address (full IPv6 address), which can include an IPv6 prefix and a host bit (Host).
[0189] In one embodiment, before sending the second Internet Protocol IP address of each first device in at least one first device to the application server AS, the method further includes:
[0190] In the case where the PDU session has been established, determining a corresponding second IP address for each first device based on the third IP address allocated to the terminal device during the PDU session establishment process;
[0191] A corresponding second IP address is sent to each first device in the at least one first device, so that each first device sends the corresponding second IP address to the AS.
[0192] It should be understood that in this embodiment, when a PDU session is established, a third IP address may be allocated to the terminal device. In one example, the IP address may be an IPv6 address, that is, the third IP address may be a third IPv6 address. The terminal device may determine a corresponding second IP address for each first device based on the allocated third IP address, and each first device in at least one first device sends a corresponding second IP address, so that each first device may receive a corresponding second IP address, and each first device may send its corresponding second IP address to the AS through the application layer, so that the second IP address of each first device is reported to the AS, so that the AS sends a downlink data packet using the second IP address as the destination address.
[0193] In one embodiment, each QoS rule further includes at least one of an uplink data packet filter set and a downlink data packet filter set;
[0194] The downstream packet filter set includes a downstream filtering direction and at least one of the following:
[0195] Destination IP address: The destination IP address is the IP address of the terminal device;
[0196] The IP prefix of the terminal device;
[0197] Destination port number: the destination port number is the port number of the terminal device or the port number of the first device;
[0198] Destination MAC address: The destination MAC address is the MAC address of the terminal device;
[0199] The upstream packet filter set includes an upstream filtering direction and at least one of the following:
[0200] Source IP address: The source IP address is the IP address of the terminal device;
[0201] The IP prefix of the terminal device;
[0202] Source port number: the source port number is the port number of the terminal device or the port number of the first device;
[0203] Source MAC address: The source MAC address is the MAC address of the terminal device.
[0204] It can be understood that each QoS rule has a corresponding first device, that is, N QoS rules correspond to N first devices one by one, so that if the destination port number in the downlink packet filter set of any QoS rule is the port number of the first device, it is the port number of the first device corresponding to the QoS rule. If the source port number in the uplink packet filter set of any QoS rule is the port number of the first device, it is the port number of the first device corresponding to the QoS rule.
[0205] In one embodiment, the downlink data packet filter set includes a destination port number, and the destination port number is a port number of the first device;
[0206] The method also includes:
[0207] receiving a third downlink data packet, wherein the destination port number in the third downlink data packet is the port number of a fourth target device, and the fourth target device is any device of the at least one first device;
[0208] A third downlink data packet is sent to a fourth target device.
[0209] The third downlink data packet mentioned above may be sent by UPF. It should be noted that UPF can receive the third downlink data packet from AS. UPF can determine the corresponding fourth target device according to the destination port number therein. UPF can map the third downlink data packet to the QoS flow corresponding to the fourth target device and send it to the terminal device. After the terminal device receives the third downlink data packet sent by UPF, it can determine the corresponding fourth target device according to the destination port number in the third downlink data packet and send the third downlink data packet to the fourth target device to achieve the mapping and transmission of the downlink data flow and the QoS flow. It should be noted that the first mapping relationship mentioned above can also be maintained in UPF. UPF can map the data flow and the QoS flow according to the first mapping relationship to achieve data transmission.
[0210] In one embodiment, the uplink data packet filter set includes a source port number, and the source port number is a port number of the first device; at least one first device determines that the corresponding address information includes the port number of at least one first device;
[0211] Based on the first mapping relationship, mapping between a data flow of at least one first device and a quality of service QoS flow includes:
[0212] receiving a second uplink data packet sent by a fifth target device, where the fifth target device is any one of the at least one first device;
[0213] Determine a corresponding second QFI from the first mapping relationship according to the port number of the fifth target device in the second uplink data packet;
[0214] The second uplink data packet is mapped to the QoS flow corresponding to the second QFI for transmission.
[0215] It should be understood that the second uplink data packet can also be called the second uplink data flow, and the source port in the second uplink data packet is the port number of the fifth target device. After the terminal device receives the second uplink data packet, it can determine the second QFI corresponding to the port number of the fifth target device from the first mapping relationship, thereby mapping the second uplink data packet to the QoS flow corresponding to the second QFI for transmission, thereby realizing the mapping and transmission of the uplink data flow and the QoS flow. It should be noted that the terminal device can map the second uplink data packet to the QoS flow corresponding to the second QFI for transmission to the UPF.
[0216] See also Figure 3 , Figure 3 is a flowchart of an information processing method provided in an embodiment of the present application, which is applied to SMF, such as Figure 3 As shown, the following steps are included:
[0217] Step 301: Establish a quality of service QoS flow, where the QoS flow is used to map data flows with at least one first device based on an address of at least one first device.
[0218] For example, the QoS flow can be used by the terminal device to map the data flow of at least one first device to the QoS flow based on the address of at least one first device, and can also be used by the UPF to map the data flow to the QoS flow.
[0219] In one embodiment, the number of established QoS flows is at least one, and after establishing the quality of service QoS flow, the method further includes:
[0220] At least one QoS flow parameter is sent to the terminal device, the at least one QoS flow parameter corresponds to at least one QoS flow, each QoS flow parameter includes a QoS rule, each QoS rule includes a QFI of the corresponding QoS flow, and the at least one QoS flow parameter is used for the terminal device to establish a first mapping relationship, the first mapping relationship includes the QFI in the at least one QoS flow parameter, the identification of at least one first device and the address information of at least one first device, and the first mapping relationship is used to map the data flow of at least one first device to the quality of service QoS flow.
[0221] In one embodiment, before establishing the quality of service QoS flow, the method further includes:
[0222] receiving first information sent by a terminal device, where the first information includes capability information of each first device in at least one first device;
[0223] Establishing a quality of service QoS flow includes: establishing a QoS flow for a terminal device based on capability information of at least one first device.
[0224] In one embodiment, the capability information of the first device includes an identifier of the first device and a communication protocol used by the first device.
[0225] In one embodiment, identifiers of different first devices in the at least one first device correspond to different QoS flows, and an identifier QFI of at least one QoS flow corresponds one-to-one to an identifier of the at least one first device.
[0226] In one embodiment, the first information also includes first indication information, and the first indication information is used to indicate the PDU session type determined by the terminal device according to the communication capabilities supported by at least one first device and / or the communication capabilities supported by the terminal device itself.
[0227] In one embodiment, the method further comprises:
[0228] Allocate a first IP address or IP prefix to the terminal device according to the PDU session type;
[0229] Sending second information to the terminal device, where the second information includes the first IP address or IP prefix.
[0230] In one embodiment, the capability information of the first device also includes a port number allocated by the terminal device to the first device.
[0231] In one embodiment, each QOS rule further includes at least one of an upstream data packet filter set and a downstream data packet filter set;
[0232] The downstream packet filter set includes a downstream filtering direction and at least one of the following:
[0233] Destination IP address: The destination IP address is the IP address of the terminal device;
[0234] The IP prefix of the terminal device;
[0235] Destination port number: the destination port number is the port number of the terminal device or the port number of the first device;
[0236] Destination MAC address: The destination MAC address is the MAC address of the terminal device;
[0237] The upstream packet filter set includes an upstream filtering direction and at least one of the following:
[0238] Source IP address: The source IP address is the IP address of the terminal device;
[0239] The IP prefix of the terminal device;
[0240] Source port number: the source port number is the port number of the terminal device or the port number of the first device;
[0241] Source MAC address: The source MAC address is the MAC address of the terminal device.
[0242] See also Figure 4 , Figure 4 is a flowchart of an information processing method provided in an embodiment of the present application, which is applied to a user function plane UPF, such as Figure 4 As shown, the following steps are included:
[0243] Step 401: Receive a target downlink data packet sent by an AS;
[0244] The destination port number in the target downlink data packet is the port number of the target device, or the destination address in the target downlink data packet is the second IP address of the target device, and the target device is any device of the at least one first device;
[0245] Step 402: Determine the target QoS flow according to the destination port number of the target device in the target downlink data packet, and map the target downlink data to the target QoS flow for transmission; or determine the terminal device according to the IP prefix in the second IP address of the target device, map the target downlink data to the QoS flow corresponding to the target device and send it to the terminal device, so that the terminal device sends the target downlink data to the target device.
[0246] The process of the above method is described in detail below with reference to some specific embodiments.
[0247] like Figure 5As shown, a 5G system (5GS) architecture is shown, in which AMF: Access and Mobility Management Function, access and mobility management function: mainly registration, connection management, etc. UPF: User Plan Function, user plane function: mainly responsible for external PDU session nodes interconnected with the data network, message routing and forwarding. SMF: Session Management Function, session management function: mainly responsible for session establishment, deletion, user plane selection and control, UE IP allocation, etc. AF: Application Function, application function: mainly responsible for interacting with the 3GPP core network to provide services. Based on the operator deployment, the trusted AF can interact directly with the relevant NF, while the untrusted AF cannot interact directly with the NF, but should use the external open framework through NEF. PCF: Policy Control Function, policy control function: supports a unified policy framework to manage network behavior and provide policy rules for control plane NF execution. NEF: Network Exposure Function, network exposure function: provides functions related to securely exposing the services and capabilities provided by the 3GPP network to external networks. (R)AN: (Radio) Access Network.
[0248] like Figure 6 , is an example application scenario of the embodiment of the present application. A terminal device (also called user equipment, UE) can connect to a first device (Tethered Device) using a different communication protocol and access a 5G network. Figure 6 In the application scenario, UE is connected to three Tethered Devices. Tethered Device 1 + UE is T-UE1, Tethered Device 2 + UE is T-UE2, and Tethered Device 3 + UE is T-UE3. The communication protocol is not limited to Figure 6 There are three scenarios listed in the above, and there can be multiple Tethered Devices connected to the UE using the same communication protocol.
[0249] For 5GS QoS flows:
[0250] QoS flow is the smallest granularity for QoS differentiation within 5GC, which is identified by QFI (QoS Flow ID) and can include two types: GBR QoS flow and Non-GBR QoS flow. In 5GS, QoS flow is controlled by SMF, which can be pre-configured or established through PDU session establishment and modification process. SMF performs SDF and QoS binding according to QoS and service requirements. SMF assigns QFI to the new QoS flow and derives its QoS profile, corresponding UPF instructions and QoS rules from PCC rules and other information provided by PCF. When establishing a PDU session, SMF will configure the corresponding QoS parameters for AN, UPF, and UE. The QoS configuration on the AN side is provided by SMF to AN through AMF or is pre-configured on AN; the QoS rules and optional QoS flow-level QoS parameters on the UE side are provided to UE by SMF through AMF during the PDU establishment or modification process or derived by UE through the reflective QoS mechanism; the uplink and downlink PDR(s) on the UPF side are configured by SMF, and SMF provides one or more uplink and downlink PDRs to PDF. Among them, the QoS rules configured on the UE side may include: QFI, PacketFilter Set (packet filter set), priority, etc. of the associated QoS flow. A QoS flow (with the same QFI) can have multiple QoS rules.
[0251] In order to support TSC and time synchronization, 5GS introduces the functional entity Device-side Time-Sensitive Networking (TSN) Translator (DS-TT). The DS-TT deployment architecture is as follows: Figure 7 As shown, DS-TT can be co-located with UE or deployed independently (one DS-TT for each UE). 5GS supports transparent transmission of standardized and specifically deployed port management information (including parameters for UE / DS-TT side supporting time synchronization and TSC-related capabilities) between DS-TT and TSN AF / TSCTSF through PMIC (Port Management Information Container). UE provides PMIC to the network during PDU session establishment and session modification.
[0252] The current 5GS does not consider how to map the device's data flow and QoS flow for the scenario where multiple devices (Tethered Device) are connected to the same UE to access the network, and cannot accurately map the device's data flow and QoS flow and route the data flow, affecting communication performance. The solution provided in the embodiment of the present application supports the scenario where the UE is connected to multiple devices through different communication protocols and accesses the 5G network. By supporting the reporting of device-side (T-UE) capability information, the SMF establishes a QoS flow based on the T-UE capability information, or the UE provides the IP address to the AS, the device's data flow and QoS flow are mapped and the data flow is accurately identified and routed. The specific embodiments are as follows.
[0253] Embodiment 1:
[0254] like Figure 8 As shown, in this embodiment, the UE reports the capability information of the first device (Tethered Device) to the SMF during the PDU session establishment process, and the SMF establishes a QoS flow accordingly based on the reported capability information of the first device. The specific process is as follows:
[0255] 0. The Tethered Device sends service request information to the UE. The service request information may include the communication capabilities supported by the Tethered Device. For example, the Tethered Device supports IPv4 or IPv6 or IPv4v6 communication protocols. The UE may determine the capability information of the T-UE, that is, determine the capability information of the first device based on the communication method with the Tethered Device.
[0256] 1. The UE sends a PDU Session Establishment Request to the AMF (for example, when the UE receives the service request information of the Tethered Device, it triggers the UE to initiate a PDU session establishment request). The capability information of the T-UE is carried in the NAS message of the PDU session establishment request. Specifically, the capability information may be included in the NAS message, or in the PCO of the NAS message, or in the 5GSM CoreNetwork capability of the NAS message. The T-UE capability information includes one or more of the following:
[0257] Tethered Device Identification (ID): used to identify each Tethered Device;
[0258] Protocol Description: Used to indicate the communication protocol used by the Tethered Device (for example, WiFi 6, WiFi 7, Bluetooth 5.0, Bluetooth 5.2, ZigBee 2.0, ZigBee 3.0).
[0259] For example, when the UE is connected to three Tethered Devices (Tethered Device 1, Tethered Device 2, Tethered Device 3), the reported capability information may include the following:
[0260] T-UE1 (Tethered Device 1+UE): Tethered Device ID = 01, Protocol Description = WiFi 6;
[0261] T-UE2 (Tethered Device 2+UE): Tethered Device ID = 02, protocol description = Bluetooth 5.2;
[0262] T-UE3 (Tethered Device 3+UE): Tethered Device ID = 03, protocol description = WiFi 6.
[0263] The UE may also indicate the Requested PDUSession Type through the first indication information in the PDU session establishment request information. The UE determines the Requested PDU Session Type based on the IP protocol supported by itself and the IP protocol supported by the Tethered Device. For example, if the UE supports IPv4v6 and the Tethered Device supports IPv4, the UE sets the Requested PDU Session Type to IPv4. It should be noted that the above-mentioned first information may include the first indication information and the above-mentioned capability information. The first information may be carried in the PDU session establishment request and transmitted to the AMF. The first information may be transmitted to the SMF through the AMF, so that the SMF may subsequently establish a QoS flow based on the capability information. For example, the AMF may carry the first information in the PDU session_establishment session management context request and transmit it to the SMF, or the AMF may transmit the first information to the SMF through other means (for example, through other signaling), without specific limitation.
[0264] 2. AMF sends a PDU session_establish session management context request (Nsmf_PDUSession_CreateSMContext Request) to SMF. If the currently established QoS flow does not meet the requirements, a corresponding QoS flow is established. SMF can establish QoS flows for different T-UEs, that is, each QFI corresponds to only one Tethered DeviceID, so that the data flows of multiple T-UEs can be avoided from being mapped to the same QoS flow.
[0265] For example, QoS flow1 is established for T-UE1, and QFI=001 is allocated; QoS flow2 is established for T-UE2, and QFI=002 is allocated; QoS flow3 is established for T-UE3, and QFI=003 is allocated.
[0266] In addition, based on the requested PDU Session Type being IPv4 or IPv6 or IPv4v6, the SMF can allocate an IP address or IP prefix to this PDU session accordingly, that is, the SMF can allocate an IP address or IP prefix to the UE.
[0267] 3. SMF configures the uplink (UL) and downlink (DL) packet detection rules (Packet Detection Rule, PDR) to UPF. The PDR may include a packet filter set (Packet Filter Set).
[0268] For downlink, Packet Filter Set: Packet Filter direction = DL, destination IP address = UE IP address or IPv6 prefix = UE IP prefix or destination port number = UE port number or destination MAC address = UE MAC address.
[0269] For uplink, Packet Filter Set: Packet Filter direction = UL, source IP address = UE IP address or IPv6 prefix = UE IP prefix or source port number = UE port number or source MAC address = UE MAC address.
[0270] 4. SMF generates a QoS profile based on the QoS parameters, and SMF sends an N2 message to the RAN device through AMF to provide the QoS profile and the assigned QFI. For example, specifically, SMF may send a PDU session_establish session management context response (Nsmf_PDUSession_CreateSMContext Response) to AMF, and AMF sends an N2message to the RAN device.
[0271] 5a. SMF sends a PDU Session Establishment Accept message containing one or more QoS Flow parameters corresponding to the Tethered Device to the UE through AMF. Each QoS Flow parameter contains QoS rules (QFI, Packet Filter Set, priority (optional)) and QoS parameters. Optionally, it may also contain the Tethered Device ID.
[0272] For downlink, Packet Filter Set: Packet Filter direction = DL, destination IP address = UE IPv4 address or UE IPv6 prefix or destination port number = UE port number or destination MAC address = UE MAC address.
[0273] For uplink, Packet Filter Set: Packet Filter direction = UL, source IP address = UE IP address or IPv6 prefix = UE IP prefix or source port number = UE port number or source MAC address = UE MAC address.
[0274] In addition, the SMF may provide the above-allocated IP address / IP prefix (and port number) to the UE through the PDU session establishment process or after the PDU session is established.
[0275] 5b. The UE maps the data flow of the Tethered Device to the corresponding QoS flow:
[0276] If the Tethered Device address is an IP address, the UE determines the corresponding IP address for each Tethered Device according to the above UE IP address provided by the SMF. The Tethered Device address may include one or more of IP address, port number, MAC address, com port, etc. The UE may obtain the address information (address) of each Tethered Device;
[0277] The UE establishes a first mapping relationship between the QFI, the Tethered Device address, and the Tethered Device ID based on the information received from the SMF (e.g., QFI, Tethered Device ID) and the determined Tethered Device address (e.g., the IP address of the Tethered Device). For example, the number of Tethered Devices may be N, and the UE may obtain the QoS flow parameters corresponding to each of the N Tethered Devices from the SMF, and may establish a first mapping relationship based on the QFI in the QoS flow parameters of the N Tethered Devices, the identifiers of the N Tethered Devices, and the address information of the Tethered Device;
[0278] When the UE receives a downlink data stream, the UE determines the corresponding Tethered Device according to the QFI and / or the IP quintuple information (e.g., source port number, destination port number, source IP address, destination IP address, and protocol information) in the downlink data stream (e.g., determined according to the mapping relationship between the QFI and the Tethered Device address), and sends the downlink data stream to the corresponding Tethered Device using the Tethered Device address as the layer 2 destination address;
[0279] When the UE receives an uplink data flow, it associates the uplink data flow with the corresponding QoS flow for transmission. Specifically, the UE determines the corresponding QoS flow according to the Tethered Device address (for example, according to the mapping relationship between the QFI and the Tethered Device address).
[0280] Embodiment 2:
[0281] like Fig. 9As shown, in this embodiment, after the PDU session is established, the UE reports the capability information of the T-UE to the SMF or updates the provided capability information through the PDU session modification process, and the SMF establishes or updates the QoS flow accordingly based on the capability information of the T-UE. The specific process is as follows:
[0282] 0. The UE has established a PDU session. The UE can determine the capability information of the T-UE based on the capability of the Tethered Device (for example, the Tethered Device supports IPv4 or IPv6 or IPv4v6 protocol) and the communication method with the Tethered Device.
[0283] 1. The UE sends a PDU session modification request (PDU Session Modification Request) to the AMF. The PDU session modification request may include the PDU session ID, and the T-UE capability information may be carried in the NAS message of the PDU session modification request. Specifically, the capability information may be included in the NAS message, or in the PCO of the NAS message, or in the 5GSM Core Network capability of the NAS message. The PDU session modification request may provide new T-UE capability information or update the capability information that has been provided. The capability information of the T-UE includes one or more of the following: Tethered Device ID; protocol description.
[0284] The specific definitions of the above parameters in Example 2 are the same as those in Example 1 and are not repeated here. For example: T-UE1 (Device1+UE): Tethered Device ID=01, Protocol Description=WiFi 6.
[0285] 2. SMF receives the PDU session_modify session management context request (Nsmf_PDUSession_UpdateSMContext Request) sent by AMF. If the currently established QoS flow does not meet the requirements, the corresponding QoS flow is established. SMF establishes QoS flows for different T-UEs respectively, that is, each QFI corresponds to only one Tethered Device ID, so that the data flows of multiple T-UEs can be avoided from being mapped to the same QoS flow.
[0286] 3. SMF updates the N4 rule of UPF to create or modify QoS flow. Configure UL and DL PDR to UPF, which contains Packet Filter Set:
[0287] For downlink, Packet Filter Set: Packet Filter direction = DL, destination IP address = UE IPv4 address or UE IPv6 prefix or destination port number = UE port number or destination MAC address = UE MAC address;
[0288] For uplink, Packet Filter Set: Packet Filter direction = UL, source IP address = UE IPv4 address or UE IPv6 prefix or source port number = UE port number or source MAC address = UE MAC address.
[0289] 4. SMF generates a QoS profile or updates an existing QoS profile, and SMF sends an N2 message to the RAN device through the AMF to provide the QoS profile and the assigned QFI. For example, specifically, the SMF may send a PDU session_modify session management context response (Nsmf_PDUSession_UpdateSMContext Response) to the AMF, and the AMF sends an N2message to the RAN device.
[0290] 5a. SMF sends a PDU Session Modification Command (PDU Session Modification Command) containing one or more QoS Flow parameters corresponding to the Tethered Device to the UE through AMF. The QoS Flow parameters include QoS rules (QFI, Packet Filter Set, priority (optional)) and QoS parameters. And optionally, it can also include the TetheredDevice ID.
[0291] For downlink, Packet Filter Set: Packet Filter direction = DL, destination IP address = UE IPv4 address or IPv6 prefix = UE IP prefix or destination port number = UE port number or destination MAC address = UE MAC address.
[0292] For uplink, Packet Filter Set: Packet Filter direction = UL, source IP address = UE IP address or IPv6 prefix = UE IP prefix or source port number = UE port number or source MAC address = UE MAC address.
[0293] 5b. The UE maps the data flow of the Tethered Device to the corresponding QoS flow:
[0294] The UE saves the mapping relationship between QFI, Tethered Device address, and Tethered Device ID (optional);
[0295] When the UE receives a downlink data stream, the UE determines the corresponding Tethered Device according to the QFI and / or IP quintuple information (for example, determined according to the mapping relationship between the QFI and the Tethered Device address), and sends the downlink data stream to the corresponding Tethered Device using the Tethered Device address as the layer 2 destination address;
[0296] When the UE receives an uplink data flow, it associates the uplink data flow with the corresponding QoS flow. Specifically, the UE determines the corresponding QoS flow according to the Tethered Device address (for example, according to the mapping relationship between the QFI and the Tethered Device address).
[0297] Embodiment three:
[0298] like Fig.10As shown, this embodiment is for the scenario where the PDU Session Type is IPv6. The Tethered Device sends the full IPv6 address of the Tethered Device to the AS through the application layer, so that the AS uses the full IPv6 address of the Tethered Device as the target address. The UPF and the UE can accurately send data to the corresponding Tethered Device based on the target address. The specific process is as follows:
[0299] 0. The UE has established a PDU session and an IPv6 address is allocated to the UE.
[0300] 1. Based on the allocated IPv6, the UE determines the full IPv6 address (IPv6 prefix + Host) for each Tethered device and assigns it to the Tethered device.
[0301] 2. Each Tethered device sends its corresponding full IPv6 address to the AS through the application layer.
[0302] 3. SMF updates the N4 rule of UPF to create or modify the QoS flow and configures the UL and DL PDR to UPF. The PDR contains the Packet Filter Set.
[0303] 4. When the AS sends downlink data, the destination address is set to the fullIPv6address of the corresponding Tethered device.
[0304] For downlink, Packet Filter Set: Packet Filter direction = DL, destination IP address = UE IPv6 prefix;
[0305] For uplink, Packet Filter Set: Packet Filter direction = UL, source IP address = UE IPv6 prefix.
[0306] 5. UPF determines the target UE to receive the downlink data based on the IPv6 prefix in the full IPv6 address, and maps the data to the corresponding QoS flow and sends it to the UE.
[0307] 6. After receiving the downlink data, the UE determines the target Tethered device for receiving the downlink data according to the destination address full IPv6 address, and sends the downlink data to the corresponding Tethered device. It can be understood that in this third embodiment, the destination address in the downlink data is directly set to the full IPv6 address of the Tethered device. In this way, after receiving the downlink data, the UE can transmit the downlink data to the corresponding Tethered device according to the destination address.
[0308] Embodiment 4:
[0309] This embodiment is based on the second embodiment, and the specific process is as follows:
[0310] 0. After the UE establishes a PDU session, the UE allocates different port numbers to each tethered device. The port number is selected by the UE from the address pool, which can be a list or range of port numbers.
[0311] 1. The capability information of T-UE reported by the UE may not only include the identification of the first device and at least one of the capability information of the first device, but also include the Tethered device address (for example, the port number of the Tethered device), for example: T-UE1 (device1+UE): Tethered device ID=01, Tethered device address=port number / 001, protocol description=WiFi 6.
[0312] 2-4. Same as the second embodiment.
[0313] 5a. The Packet Filter Set sent by SMF includes:
[0314] For downlink, Packet Filter Set: Packet Filter direction = DL, destination IP address = UE IP address or IPv6 prefix = UE IP prefix or destination port number = Tethered device port number or destination MAC address = UE MAC address. ;
[0315] For uplink, Packet Filter Set: Packet Filter direction = UL, source IP address = UE IP address or IPv6 prefix = UE IP prefix or source port number = Tethered device port number or source MAC address = UE MAC address.
[0316] 6. When UPF receives downlink data, it maps the downlink data flow to the corresponding QoS flow for transmission according to destination port number = Tethered device port number. It can be understood that the first mapping relationship can be maintained in UPF. After receiving the downlink data flow, the corresponding QoS flow can be determined according to the Tethered device port number, and the downlink data flow can be mapped to the corresponding QoS flow for transmission to the UE.
[0317] 7. When the UE receives the downlink data flow, the UE determines the corresponding Tethered device according to the destination port number = Tethered device port number, and sends the downlink data flow to the corresponding Tethered device with the Tethered device address as the layer 2 destination address.
[0318] When the UE receives the uplink data flow, the UE maps the uplink data flow to the corresponding QoS flow according to source port number=Tethered device port number. It can be understood that after receiving the uplink data flow, the UE can determine the QoS flow corresponding to the Tethered device port number according to the first mapping relationship, and map the uplink data flow to the corresponding QoS flow for transmission.
[0319] The solution provided by the embodiment of the present application can, on the UE side, report capability information to the core network element; associate the data flow of the tethered device with the corresponding QoS flow based on the received QoS rules; save the mapping relationship between QFI, Tethered device address, and Tethered device ID; and provide the tethered device IP address to AS through the application side. On the SMF side, based on the T-UE capability information, and / or the locally configured operator policy, and / or the policy provided by the PCF, the SMF can generate QoS rules, QoS profile, PDR accordingly, and send the corresponding Tethered device ID, and provide Packet Filter Set, setting the destination / source port number to the Tethered device port number, etc. On the UPF side, the data flow can be mapped to the corresponding QoS flow for transmission according to the IPv6 prefix or destination port number.
[0320] That is, this application proposes a method to support multiple devices accessing the network, supports scenarios in which UE is connected to multiple devices through different communication protocols and accesses the 5G network, realizes accurate mapping of the device's data flow and QoS flow, and accurate identification and routing of data flow, etc.
[0321] See also Fig.11 , Fig.11 is a structural diagram of a communication device provided by an embodiment of the present invention, such as Fig.11 As shown, it includes a memory 1120, a transceiver 1100 and a processor 1110:
[0322] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of a processor; and a processor for reading the computer program in the memory and performing the following operations:
[0323] Based on the address information of the at least one first device, mapping is performed between the data flow of the at least one first device and the quality of service QoS flow.
[0324] Among them, Fig.11In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1110 and various circuits of memory represented by memory 1120 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1100 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, including wireless channels, wired channels, optical cables, and other transmission media. For different user devices, the user interface 1130 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
[0325] The processor 1110 is responsible for managing the bus architecture and general processing, and the memory 1120 can store data used by the processor 1110 when performing operations.
[0326] Optionally, the processor 1110 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.
[0327] The processor calls the computer program stored in the memory to execute any method provided by the embodiment of the present invention according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.
[0328] In one embodiment, the processor is configured to read the computer program in the memory and specifically perform the following operations:
[0329] receiving at least one quality of service QoS flow parameter sent by a session management function SMF, wherein the at least one QoS flow parameter corresponds to at least one QoS flow, each QoS flow parameter includes a QoS rule, each QoS rule includes an identifier QFI of a corresponding QoS flow, and the at least one QoS flow is a QoS flow established by the SMF;
[0330] Establishing a first mapping relationship according to the QFI in at least one QoS flow parameter, the identifier of at least one first device, and the address information of at least one first device;
[0331] Based on the first mapping relationship, mapping is performed between the data flow of at least one first device and the quality of service QoS flow.
[0332] In one embodiment, the processor is further configured to read the computer program in the memory and perform the following operations:
[0333] Sending first information to SMF;
[0334] The first information includes capability information of each first device in at least one first device, and the capability information of at least one first device is used for: SMF to establish at least one QoS flow.
[0335] In one embodiment, the capability information of the first device includes an identifier of the first device and a communication protocol used by the first device.
[0336] In one embodiment, identifiers of different first devices in the at least one first device correspond to different QoS flows, and a QFI of at least one QoS flow corresponds one-to-one to the identifier of the at least one first device.
[0337] In one embodiment, the processor is further configured to read the computer program in the memory and perform the following operations:
[0338] receiving service request information sent by at least one first device, where the service request information of the first device includes communication capabilities supported by the first device;
[0339] Determine a protocol data unit PDU session type according to a communication capability supported by at least one first device and / or a communication capability supported by the terminal device itself;
[0340] The first information also includes first indication information, and the first indication information is used to indicate the PDU session type.
[0341] In one embodiment, the processor is further configured to read the computer program in the memory and perform the following operations:
[0342] Determine capability information of at least one first device according to a communication mode between the at least one first device and the terminal device.
[0343] In one embodiment, the PDU session type is used by the SMF to allocate a first IP address or IP prefix to the terminal device according to the PDU session type;
[0344] The processor is also used to read the computer program in the memory and perform the following operations:
[0345] Receiving second information sent by the SMF based on the PDU session type, where the second information includes the first IP address or IP prefix;
[0346] Corresponding address information is determined for each first device according to the second information.
[0347] In one embodiment, the processor is configured to read the computer program in the memory and specifically perform the following operations:
[0348] receiving a first downlink data packet;
[0349] Determine a first target address corresponding to the QFI in the first downlink data packet from the first mapping relationship, where the first target address corresponds to a first target device in the at least one first device;
[0350] The first downlink data packet is sent to the first target device with the first target address as the destination address.
[0351] In one embodiment, the processor is configured to read the computer program in the memory and specifically perform the following operations:
[0352] receiving a first uplink data packet sent by a second target device, where the second target device is any one of the at least one first device;
[0353] Determine a corresponding first QFI from a first mapping relationship according to the address information of the second target device in the first uplink data packet;
[0354] The first uplink data packet is mapped to the QoS flow corresponding to the first QFI for transmission.
[0355] In one embodiment, the processor is configured to read the computer program in the memory and specifically perform the following operations:
[0356] A PDU session establishment or modification request is sent to AMF, and the PDU session establishment or modification request is used by AMF to send a request to establish or modify a session management context to SMF. Both the session establishment or modification request and the establishment or modification session management context request include the first information.
[0357] In one embodiment, the processor is configured to read the computer program in the memory and specifically perform the following operations:
[0358] Sending a second Internet Protocol IP address of each first device in at least one first device to an application server AS, the second IP address of the third target device is used by the AS to send a second downlink data packet to the user plane function UPF, the second downlink data packet is a data packet to be sent to the third target device, the third target device is any device in the at least one first device, the destination address in the second downlink data packet is the second IP address of the third target device, and the second downlink data packet is used by the UPF to map it to the QoS flow corresponding to the third target device for transmission;
[0359] Receive a second downlink data packet sent by the UPF mapping on the QoS flow corresponding to the third target device;
[0360] A second downlink data packet is sent to the third target device.
[0361] In one embodiment, the processor is further configured to read the computer program in the memory and perform the following operations:
[0362] In the case where the PDU session has been established, determining a corresponding second IP address for each first device based on the third IP address allocated to the terminal device during the PDU session establishment process;
[0363] A corresponding second IP address is sent to each first device in the at least one first device, so that each first device sends the corresponding second IP address to the AS.
[0364] In one embodiment, the capability information of the first device also includes a port number allocated by the terminal device to the first device.
[0365] In one embodiment, each QoS rule further includes at least one of an uplink data packet filter set and a downlink data packet filter set;
[0366] The downstream packet filter set includes a downstream filtering direction and at least one of the following:
[0367] Destination IP address: The destination IP address is the IP address of the terminal device;
[0368] The IP prefix of the terminal device;
[0369] Destination port number: the destination port number is the port number of the terminal device or the port number of the first device;
[0370] Destination MAC address: The destination MAC address is the MAC address of the terminal device;
[0371] The upstream packet filter set includes an upstream filtering direction and at least one of the following:
[0372] Source IP address: The source IP address is the IP address of the terminal device;
[0373] The IP prefix of the terminal device;
[0374] Source port number: the source port number is the port number of the terminal device or the port number of the first device;
[0375] Source MAC address: The source MAC address is the MAC address of the terminal device.
[0376] In one embodiment, the downlink data packet filter set includes a destination port number, and the destination port number is a port number of the first device;
[0377] The processor is also used to read the computer program in the memory and perform the following operations:
[0378] receiving a third downlink data packet, wherein the destination port number in the third downlink data packet is the port number of a fourth target device, and the fourth target device is any device of the at least one first device;
[0379] A third downlink data packet is sent to a fourth target device.
[0380] In one embodiment, the uplink data packet filter set includes a source port number, and the source port number is a port number of the first device; the address information of at least one first device includes a port number of at least one first device;
[0381] The processor is used to read the computer program in the memory and perform the following operations:
[0382] receiving a second uplink data packet sent by a fifth target device, where the fifth target device is any one of the at least one first device;
[0383] Determine a corresponding second QFI from the first mapping relationship according to the port number of the fifth target device in the second uplink data packet;
[0384] The second uplink data packet is mapped to the QoS flow corresponding to the second QFI for transmission.
[0385] It should be noted here that the above-mentioned communication device provided by the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment applied to the terminal device, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0386] See also Fig.12 , Fig.12 is a structural diagram of a communication device provided by an embodiment of the present invention, such as Fig.12 As shown, it includes a memory 1220, a transceiver 1200 and a processor 1210:
[0387] The memory is used to store the computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations:
[0388] A quality of service QoS flow is established, where the QoS flow is used to map data flows with at least one first device based on an address of at least one first device.
[0389] Among them, Fig.12In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1210 and various circuits of memory represented by memory 1220 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1200 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, including wireless channels, wired channels, optical cables, and other transmission media. For different user devices, the user interface 1230 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
[0390] The processor 1210 is responsible for managing the bus architecture and general processing, and the memory 1220 can store data used by the processor 1210 when performing operations.
[0391] Optionally, the processor 1210 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.
[0392] The processor calls the computer program stored in the memory to execute any method provided by the embodiment of the present invention according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.
[0393] In one embodiment, the processor is further configured to read the computer program in the memory and perform the following operations:
[0394] At least one QoS flow parameter is sent to the terminal device, the at least one QoS flow parameter corresponds to at least one QoS flow, each QoS flow parameter includes a QoS rule, each QoS rule includes a QFI of the corresponding QoS flow, and the at least one QoS flow parameter is used for the terminal device to establish a first mapping relationship, the first mapping relationship includes the QFI in the at least one QoS flow parameter, the identification of at least one first device and the address information of at least one first device, and the first mapping relationship is used to map the data flow of at least one first device to the quality of service QoS flow.
[0395] In one embodiment, the processor is further configured to read the computer program in the memory and perform the following operations:
[0396] receiving first information sent by a terminal device, where the first information includes capability information of each first device in at least one first device;
[0397] The processor is used to read the computer program in the memory and perform the following operations:
[0398] A QoS flow is established for a terminal device based on capability information of at least one first device.
[0399] In one embodiment, the capability information of the first device includes an identifier of the first device and a communication protocol used by the first device.
[0400] In one embodiment, identifiers of different first devices in the at least one first device correspond to different QoS flows, and an identifier QFI of at least one QoS flow corresponds one-to-one to an identifier of the at least one first device.
[0401] In one embodiment, the first information also includes first indication information, and the first indication information is used to indicate the PDU session type determined by the terminal device according to the communication capabilities supported by at least one first device and / or the communication capabilities supported by the terminal device itself.
[0402] In one embodiment, the processor is further configured to read the computer program in the memory and perform the following operations:
[0403] Allocate a first IP address or IP prefix to the terminal device according to the PDU session type;
[0404] Sending second information to the terminal device, where the second information includes the first IP address or IP prefix.
[0405] In one embodiment, the capability information of the first device also includes a port number allocated by the terminal device to the first device.
[0406] In one embodiment, each QOS rule further includes at least one of an upstream data packet filter set and a downstream data packet filter set;
[0407] The downstream packet filter set includes a downstream filtering direction and at least one of the following:
[0408] Destination IP address: The destination IP address is the IP address of the terminal device;
[0409] The IP prefix of the terminal device;
[0410] Destination port number: the destination port number is the port number of the terminal device or the port number of the first device;
[0411] Destination MAC address: The destination MAC address is the MAC address of the terminal device;
[0412] The upstream packet filter set includes an upstream filtering direction and at least one of the following:
[0413] Source IP address: The source IP address is the IP address of the terminal device;
[0414] The IP prefix of the terminal device;
[0415] Source port number: the source port number is the port number of the terminal device or the port number of the first device;
[0416] Source MAC address: The source MAC address is the MAC address of the terminal device.
[0417] It should be noted here that the above-mentioned communication equipment provided by the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment applied to SMF, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0418] See also Fig.13 , Fig.13 is a structural diagram of a communication device provided by an embodiment of the present invention, such as Fig.13 As shown, it includes a memory 1320, a transceiver 1300 and a processor 1310:
[0419] The memory is used to store the computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations:
[0420] Receive a target downlink data packet sent by the AS, where the destination port number in the target downlink data packet is the port number of the target device, or the destination address in the target downlink data packet is the second IP address of the target device, and the target device is any device of the at least one first device;
[0421] Determine the target QoS flow according to the destination port number of the target device in the target downlink data packet, and map the target downlink data to the target QoS flow for transmission; or determine the terminal device according to the IP prefix in the second IP address of the target device, map the target downlink data to the QoS flow corresponding to the target device and send it to the terminal device, so that the terminal device sends the target downlink data to the target device.
[0422] Among them, Fig.13In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1310 and various circuits of memory represented by memory 1320 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1300 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, including wireless channels, wired channels, optical cables, and other transmission media. For different user devices, the user interface 1330 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
[0423] The processor 1310 is responsible for managing the bus architecture and general processing, and the memory 1320 can store data used by the processor 1310 when performing operations.
[0424] Optionally, the processor 1310 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.
[0425] The processor calls the computer program stored in the memory to execute any method provided by the embodiment of the present invention according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.
[0426] It should be noted here that the above-mentioned communication equipment provided by the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment applied to UPF, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0427] See also Fig.14 , Fig.14 is a structural diagram of another communication device provided by an embodiment of the present invention, such as Fig.14 As shown, the communication device 1400 may be a terminal device, including:
[0428] The first processing module 1401 is configured to map a data flow of at least one first device to a quality of service (QoS) flow based on address information of at least one first device.
[0429] In one embodiment, the first processing module 1401 includes:
[0430] A first receiving module is used to receive at least one quality of service QoS flow parameter sent by a session management function SMF, wherein the at least one QoS flow parameter corresponds to at least one QoS flow, each QoS flow parameter includes a QoS rule, each QoS rule includes an identifier QFI of a corresponding QoS flow, and the at least one QoS flow is a QoS flow established by the SMF;
[0431] A relationship establishing module, configured to establish a first mapping relationship according to a QFI in at least one QoS flow parameter, an identifier of at least one first device, and address information of at least one first device;
[0432] The first mapping module is used to map the data flow of at least one first device to the quality of service QoS flow based on the first mapping relationship.
[0433] In one embodiment, the communication device 1400 further includes:
[0434] A first sending module, used for sending first information to the SMF;
[0435] The first information includes capability information of each first device in at least one first device, and the capability information of at least one first device is used for: SMF to establish at least one QoS flow.
[0436] In one embodiment, the capability information of the first device includes an identifier of the first device and a communication protocol used by the first device.
[0437] In one embodiment, identifiers of different first devices in the at least one first device correspond to different QoS flows, and a QFI of at least one QoS flow corresponds one-to-one to the identifier of the at least one first device.
[0438] In one embodiment, in one embodiment, the communication device 1400 further includes:
[0439] A second receiving module, configured to receive service request information sent by at least one first device, where the service request information of the first device includes a communication capability supported by the first device;
[0440] A first determination module, configured to determine a protocol data unit PDU session type according to a communication capability supported by at least one first device and / or a communication capability supported by the terminal device itself;
[0441] The first information also includes first indication information, and the first indication information is used to indicate the PDU session type.
[0442] In one embodiment, in one embodiment, the communication device 1400 further includes:
[0443] The second determination module is used to determine the capability information of at least one first device according to the communication mode between the at least one first device and the terminal device.
[0444] In one embodiment, the PDU session type is used by the SMF to allocate a first IP address or IP prefix to the terminal device according to the PDU session type;
[0445] The communication device 1400 further includes:
[0446] A third receiving module is used to receive second information sent by the SMF based on the PDU session type, where the second information includes the first IP address or IP prefix;
[0447] The third determining module is used to determine corresponding address information for each first device according to the second information.
[0448] In one embodiment, the first mapping module:
[0449] A first receiving unit, configured to receive a first downlink data packet;
[0450] A first determining unit, configured to determine a first target address corresponding to the QFI in the first downlink data packet from a first mapping relationship, wherein the first target address corresponds to a first target device in at least one first device;
[0451] The first sending unit is used to send a first downlink data packet to a first target device with a first target address as a destination address.
[0452] In one embodiment, the first mapping module:
[0453] A second receiving unit, configured to receive a first uplink data packet sent by a second target device, where the second target device is any one of the at least one first device;
[0454] A second determining unit, configured to determine a corresponding first QFI from a first mapping relationship according to the address information of a second target device in the first uplink data packet;
[0455] The first mapping unit is used to map the first uplink data packet to the QoS flow corresponding to the first QFI for transmission.
[0456] In one embodiment, the first sending module is specifically configured to:
[0457] A PDU session establishment or modification request is sent to AMF, and the PDU session establishment or modification request is used by AMF to send a request to establish or modify a session management context to SMF. Both the session establishment or modification request and the establishment or modification session management context request include the first information.
[0458] In one embodiment, the first processing module 1401 includes:
[0459] A second sending module is used to send a second Internet Protocol IP address of each first device in at least one first device to the application server AS, the second IP address of the third target device is used by the AS to send a second downlink data packet to the user plane function UPF, the second downlink data packet is a data packet to be sent to the third target device, the third target device is any device in the at least one first device, the destination address in the second downlink data packet is the second IP address of the third target device, and the second downlink data packet is used by the UPF to map it to the QoS flow corresponding to the third target device for transmission;
[0460] A fourth receiving module, used to receive a second downlink data packet sent by the UPF mapped on the QoS flow corresponding to the third target device;
[0461] The third sending module is used to send a second downlink data packet to a third target device.
[0462] In one embodiment, the communication device 1400 further includes:
[0463] a fourth determination module, configured to determine, when the PDU session has been established, a corresponding second IP address for each first device based on a third IP address allocated to the terminal device during the PDU session establishment process;
[0464] The fourth sending module is used to send the corresponding second IP address to each first device in the at least one first device, so that each first device sends the corresponding second IP address to the AS.
[0465] In one embodiment, the capability information of the first device also includes a port number allocated by the terminal device to the first device.
[0466] In one embodiment, each QoS rule further includes at least one of an uplink data packet filter set and a downlink data packet filter set;
[0467] The downstream packet filter set includes a downstream filtering direction and at least one of the following:
[0468] Destination IP address: The destination IP address is the IP address of the terminal device;
[0469] The IP prefix of the terminal device;
[0470] Destination port number: the destination port number is the port number of the terminal device or the port number of the first device;
[0471] Destination MAC address: The destination MAC address is the MAC address of the terminal device;
[0472] The upstream packet filter set includes an upstream filtering direction and at least one of the following:
[0473] Source IP address: The source IP address is the IP address of the terminal device;
[0474] The IP prefix of the terminal device;
[0475] Source port number: the source port number is the port number of the terminal device or the port number of the first device;
[0476] Source MAC address: The source MAC address is the MAC address of the terminal device.
[0477] In one embodiment, the downlink data packet filter set includes a destination port number, and the destination port number is a port number of the first device;
[0478] The communication device 1400 further includes:
[0479] a fifth receiving module, configured to receive a third downlink data packet, wherein the destination port number in the third downlink data packet is a port number of a fourth target device, and the fourth target device is any device of the at least one first device;
[0480] The fifth sending module is used to send a third downlink data packet to a fourth target device.
[0481] In one embodiment, the uplink data packet filter set includes a source port number, and the source port number is a port number of the first device; the address information of at least one first device includes a port number of at least one first device;
[0482] The first mapping module comprises:
[0483] A third receiving unit, configured to receive a second uplink data packet sent by a fifth target device, where the fifth target device is any one of the at least one first device;
[0484] A third determining unit, configured to determine a corresponding second QFI from the first mapping relationship according to the port number of the fifth target device in the second uplink data packet;
[0485] The second mapping unit is used to map the second uplink data packet to the QoS flow corresponding to the second QFI for transmission.
[0486] It should be noted here that the above-mentioned communication device provided by the embodiment of the present invention can implement all the method steps implemented by the above-mentioned method embodiment applied to the terminal device, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0487] It should be noted here that the above-mentioned communication device provided in the embodiment of the present invention can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0488] See also Fig.15 , Fig.15 is a structural diagram of another communication device provided by an embodiment of the present invention, such as Fig.15 As shown, the communication device 1500 may be a SMF, including:
[0489] The QoS flow establishing module 1501 is used to establish a quality of service QoS flow, and the QoS flow is used to map with the data flow of at least one first device based on the address of at least one first device.
[0490] In one embodiment, the communication device 1500 further includes:
[0491] The sixth sending module is used to send at least one QoS flow parameter to the terminal device, the at least one QoS flow parameter corresponds to at least one QoS flow, each QoS flow parameter includes a QoS rule, each QoS rule includes a QFI of the corresponding QoS flow, and the at least one QoS flow parameter is used for the terminal device to establish a first mapping relationship, the first mapping relationship includes the QFI in the at least one QoS flow parameter, the identifier of at least one first device and the address information of at least one first device, and the first mapping relationship is used to map the data flow of at least one first device to the quality of service QoS flow.
[0492] In one embodiment, the communication device 1500 further includes:
[0493] A sixth receiving module, configured to receive first information sent by a terminal device, where the first information includes capability information of each first device in at least one first device;
[0494] Establishing a quality of service QoS flow includes: establishing a QoS flow for a terminal device based on capability information of at least one first device.
[0495] In one embodiment, the capability information of the first device includes an identifier of the first device and a communication protocol used by the first device.
[0496] In one embodiment, identifiers of different first devices in the at least one first device correspond to different QoS flows, and an identifier QFI of at least one QoS flow corresponds one-to-one to an identifier of the at least one first device.
[0497] In one embodiment, the first information also includes first indication information, and the first indication information is used to indicate the PDU session type determined by the terminal device according to the communication capabilities supported by at least one first device and / or the communication capabilities supported by the terminal device itself.
[0498] In one embodiment, the communication device 1500 further includes:
[0499] An allocation module, configured to allocate a first IP address or an IP prefix to a terminal device according to a PDU session type;
[0500] The seventh sending module is used to send second information to the terminal device, where the second information includes the first IP address or IP prefix.
[0501] In one embodiment, the capability information of the first device also includes a port number allocated by the terminal device to the first device.
[0502] In one embodiment, each QOS rule further includes at least one of an upstream data packet filter set and a downstream data packet filter set;
[0503] The downstream packet filter set includes a downstream filtering direction and at least one of the following:
[0504] Destination IP address: The destination IP address is the IP address of the terminal device;
[0505] The IP prefix of the terminal device;
[0506] Destination port number: the destination port number is the port number of the terminal device or the port number of the first device;
[0507] Destination MAC address: The destination MAC address is the MAC address of the terminal device;
[0508] The upstream packet filter set includes an upstream filtering direction and at least one of the following:
[0509] Source IP address: The source IP address is the IP address of the terminal device;
[0510] The IP prefix of the terminal device;
[0511] Source port number: the source port number is the port number of the terminal device or the port number of the first device;
[0512] Source MAC address: The source MAC address is the MAC address of the terminal device.
[0513] It should be noted here that the above-mentioned communication device provided in the embodiment of the present invention can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0514] See also Fig.16 , Fig.16 is a structural diagram of another communication device provided by an embodiment of the present invention, such as Fig.16 As shown, the communication device 1600 may be a UPF, including:
[0515] The seventh receiving module 1601 is used to receive a target downlink data packet sent by the AS, where the destination port number in the target downlink data packet is the port number of the target device, or the destination address in the target downlink data packet is the second IP address of the target device, and the target device is any device in the at least one first device;
[0516] The second mapping module is used to determine the target QoS flow according to the destination port number of the target device in the target downlink data packet, and map the target downlink data to the target QoS flow for transmission; or determine the terminal device according to the IP prefix in the second IP address of the target device, map the target downlink data to the QoS flow corresponding to the target device and send it to the terminal device, so that the terminal device sends the target downlink data to the target device.
[0517] It should be noted here that the above-mentioned communication device provided in the embodiment of the present invention can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0518] It should be noted that the division of units in the embodiments of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0519] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0520] An embodiment of the present application provides a processor-readable storage medium, which stores a computer program. The computer program is used to enable the processor to execute the information processing method provided by the embodiment of the present application, or the computer program is used to enable the processor to execute the information processing method provided by the embodiment of the present application.
[0521] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0522] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0523] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0524] These processor executable instructions may also be stored in a processor readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0525] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0526] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. An information processing method, characterized in that: Applied to a terminal device, the method comprises: Based on the address information of at least one first device, mapping is performed between the data flow of the at least one first device and the quality of service QoS flow.
2. The method according to claim 1, characterized in that The mapping between the data flow of the at least one first device and the quality of service QoS flow based on the address information of the at least one first device includes: Receive at least one quality of service QoS flow parameter sent by a session management function SMF, wherein the at least one QoS flow parameter corresponds to at least one QoS flow, each QoS flow parameter includes a QoS rule, each QoS rule includes an identifier QFI of a corresponding QoS flow, and the at least one QoS flow is a QoS flow established by the SMF; Establishing a first mapping relationship according to the QFI in the at least one QoS flow parameter, the identifier of the at least one first device, and the address information of the at least one first device; Based on the first mapping relationship, mapping is performed between the data flow of the at least one first device and the quality of service QoS flow.
3. The method according to claim 2, characterized in that Before receiving at least one quality of service QoS flow parameter sent by the session management function SMF, the method further includes: Sending first information to the SMF; The first information includes capability information of each first device in the at least one first device, and the capability information of the at least one first device is used for: the SMF to establish the at least one QoS flow.
4. The method according to claim 2, characterized in that: The capability information of the first device includes an identifier of the first device and a communication protocol used by the first device.
5. The method according to claim 2, characterized in that: The identifiers of different first devices in the at least one first device correspond to different QoS flows, and the QFI of at least one QoS flow corresponds one-to-one to the identifier of the at least one first device.
6. The method according to claim 3, characterized in that Before sending the first information to the SMF, the method further includes: receiving service request information sent by the at least one first device, where the service request information of the first device includes a communication capability supported by the first device; Determine a protocol data unit PDU session type according to the communication capabilities supported by the at least one first device and / or the communication capabilities supported by the terminal device itself; The first information also includes first indication information, and the first indication information is used to indicate the PDU session type.
7. The method according to claim 3 or 6, characterized in that: Before sending the first information to the SMF, the method further includes: Determine capability information of the at least one first device according to a communication mode between the at least one first device and the terminal device.
8. The method according to claim 6, characterized in that The PDU session type is used by the SMF to allocate a first IP address or IP prefix to the terminal device according to the PDU session type; After sending the first information to the SMF, the method further includes: Receiving second information sent by the SMF based on the PDU session type, where the second information includes the first IP address or the IP prefix; Corresponding address information is determined for each first device according to the second information.
9. The method according to claim 2, characterized in that: The mapping between the data flow of the at least one first device and the quality of service QoS flow based on the first mapping relationship includes: receiving a first downlink data packet; Determine a first target address corresponding to the QFI in the first downlink data packet from the first mapping relationship, where the first target address corresponds to a first target device in the at least one first device; The first downlink data packet is sent to the first target device with the first target address as the destination address.
10. The method according to claim 2, characterized in that The mapping between the data flow of the at least one first device and the quality of service QoS flow based on the first mapping relationship includes: receiving a first uplink data packet sent by a second target device, where the second target device is any one of the at least one first device; Determine a corresponding first QFI from the first mapping relationship according to the address information of the second target device in the first uplink data packet; The first uplink data packet is mapped to the QoS flow corresponding to the first QFI for transmission.
11. The method according to claim 3, characterized in that The sending the first information to the SMF includes: A PDU session establishment or modification request is sent to the AMF, wherein the PDU session establishment or modification request is used by the AMF to send a request to establish or modify a session management context to the SMF, and both the session establishment or modification request and the establishment or modification session management context request include the first information.
12. The method according to claim 1, characterized in that The mapping between the data flow of the at least one first device and the quality of service QoS flow based on the address information of the at least one first device includes: Sending a second Internet Protocol IP address of each first device in at least one first device to an application server AS, the second IP address of the third target device is used by the AS to send a second downlink data packet to the user plane function UPF, the second downlink data packet is a data packet to be sent to the third target device, the third target device is any device in the at least one first device, the destination address in the second downlink data packet is the second IP address of the third target device, and the second downlink data packet is used by the UPF to map it to the QoS flow corresponding to the third target device for transmission; Receiving the second downlink data packet sent by the UPF mapped on the QoS flow corresponding to the third target device; The second downlink data packet is sent to the third target device.
13. The method according to claim 12, characterized in that Before sending the second Internet Protocol IP address of each first device in at least one first device to the application server AS, the method further includes: In the case where the PDU session has been established, determining a corresponding second IP address for each first device based on the third IP address allocated to the terminal device during the PDU session establishment process; Sending a corresponding second IP address to each first device in the at least one first device, so that each first device sends the corresponding second IP address to the AS.
14. The method according to claim 4, characterized in that The capability information of the first device also includes a port number allocated by the terminal device to the first device.
15. The method according to claim 2, characterized in that Each QoS rule also includes at least one item from an upstream packet filter set and a downstream packet filter set; The downlink data packet filter set includes a downlink filtering direction and at least one of the following: Destination IP address: the destination IP address is the IP address of the terminal device; The IP prefix of the terminal device; Destination port number: the destination port number is the port number of the terminal device or the port number of the first device; Destination MAC address: the destination MAC address is the MAC address of the terminal device; The uplink data packet filter set includes an uplink filtering direction and at least one of the following: Source IP address: the source IP address is the IP address of the terminal device; The IP prefix of the terminal device; Source port number: the source port number is the port number of the terminal device or the port number of the first device; Source MAC address: The source MAC address is the MAC address of the terminal device.
16. The method according to claim 15, characterized in that The downlink data packet filter set includes the destination port number, and the destination port number is the port number of the first device; The method further comprises: receiving a third downlink data packet, wherein the destination port number in the third downlink data packet is the port number of a fourth target device, and the fourth target device is any device among the at least one first device; The third downlink data packet is sent to the fourth target device.
17. The method according to claim 15, characterized in that The uplink data packet filter set includes the source port number, and the source port number is the port number of the first device; the address information of the at least one first device includes the port number of the at least one first device; The mapping between the data flow of the at least one first device and the quality of service QoS flow based on the first mapping relationship includes: receiving a second uplink data packet sent by a fifth target device, wherein the fifth target device is any one of the at least one first device; Determine a corresponding second QFI from the first mapping relationship according to the port number of the fifth target device in the second uplink data packet; The second uplink data packet is mapped to the QoS flow corresponding to the second QFI for transmission.
18. An information processing method, characterized in that: Applied to SMF, the method comprises: A quality of service (QoS) flow is established, where the QoS flow is used to map data flows with the at least one first device based on an address of the at least one first device.
19. The method according to claim 18, characterized in that The number of the established QoS flows is at least one, and after establishing the quality of service QoS flow, the method further includes: At least one QoS flow parameter is sent to a terminal device, wherein the at least one QoS flow parameter corresponds to at least one QoS flow one by one, each QoS flow parameter includes a QoS rule, each QoS rule includes a QFI of a corresponding QoS flow, and the at least one QoS flow parameter is used to establish a first mapping relationship with the terminal device, wherein the first mapping relationship includes the QFI in the at least one QoS flow parameter, the identifier of the at least one first device, and the address information of the at least one first device, and the first mapping relationship is used to map the data flow of the at least one first device to the quality of service QoS flow.
20. The method according to claim 18, characterized in that Before establishing the quality of service QoS flow, the method further includes: Receiving first information sent by a terminal device, where the first information includes capability information of each first device in at least one first device; The establishing of the quality of service QoS flow includes: establishing the QoS flow for the terminal device based on the capability information of the at least one first device.
21. The method according to claim 20, characterized in that The capability information of the first device includes an identifier of the first device and a communication protocol used by the first device.
22. The method according to claim 19, characterized in that The identifiers of different first devices in the at least one first device correspond to different QoS flows, and the identifier QFI of the at least one QoS flow corresponds one-to-one with the identifier of the at least one first device.
23. The method according to claim 20, characterized in that The first information also includes first indication information, and the first indication information is used to indicate the PDU session type determined by the terminal device according to the communication capabilities supported by the at least one first device and / or the communication capabilities supported by the terminal device itself.
24. The method according to claim 23, characterized in that The method further comprises: Allocate a first IP address or IP prefix to the terminal device according to the PDU session type; Sending second information to the terminal device, wherein the second information includes the first IP address or the IP prefix.
25. The method according to claim 20, characterized in that The capability information of the first device also includes a port number allocated by the terminal device to the first device.
26. The method according to claim 19, characterized in that Each QOS rule also includes at least one item from an upstream data packet filter set and a downstream data packet filter set; The downlink data packet filter set includes a downlink filtering direction and at least one of the following: Destination IP address: the destination IP address is the IP address of the terminal device; The IP prefix of the terminal device; Destination port number: the destination port number is the port number of the terminal device or the port number of the first device; Destination MAC address: the destination MAC address is the MAC address of the terminal device; The uplink data packet filter set includes an uplink filtering direction and at least one of the following: Source IP address: the source IP address is the IP address of the terminal device; The IP prefix of the terminal device; Source port number: the source port number is the port number of the terminal device or the port number of the first device; Source MAC address: The source MAC address is the MAC address of the terminal device.
27. An information processing method, characterized in that: Applied to the user function plane UPF, the method includes: Receive a target downlink data packet sent by the AS, where the destination port number in the target downlink data packet is the port number of the target device, or the destination address in the target downlink data packet is the second IP address of the target device, and the target device is any device in the at least one first device; Determine the target QoS flow according to the destination port number of the target device in the target downlink data packet, and map the target downlink data to the target QoS flow for transmission; or determine the terminal device according to the IP prefix in the second IP address of the target device, map the target downlink data to the QoS flow corresponding to the target device and send it to the terminal device, so that the terminal device sends the target downlink data to the target device.
28. A communication device, characterized in that: include: A memory, a transceiver, and a processor, wherein: The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; The processor is configured to read the computer program in the memory and perform the following operations: Based on the address information of at least one first device, mapping is performed between the data flow of the at least one first device and the quality of service QoS flow.
29. A communication device, characterized in that: include: A memory, a transceiver, and a processor, wherein: The memory is used to store computer programs; the transceiver is used to send and receive data under the control of the processor; The processor is configured to read the computer program in the memory and perform the following operations: A quality of service (QoS) flow is established, where the QoS flow is used to map data flows with the at least one first device based on an address of the at least one first device.
30. A communication device, characterized in that: include: A memory, a transceiver, and a processor, wherein: The memory is used to store a computer program; the transceiver is used to send and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations: Receive a target downlink data packet sent by the AS, where the destination port number in the target downlink data packet is the port number of the target device, or the destination address in the target downlink data packet is the second IP address of the target device, and the target device is any device in the at least one first device; Determine the target QoS flow according to the destination port number of the target device in the target downlink data packet, and map the target downlink data to the target QoS flow for transmission; or determine the terminal device according to the IP prefix in the second IP address of the target device, map the target downlink data to the QoS flow corresponding to the target device and send it to the terminal device, so that the terminal device sends the target downlink data to the target device.
31. A processor-readable storage medium, characterized in that: The processor-readable storage medium stores a computer program, and the computer program is used to cause the processor to execute the information processing method described in any one of claims 1 to 17, or the computer program is used to cause the processor to execute the information processing method described in any one of claims 18 to 26, or the computer program is used to cause the processor to execute the information processing method described in claim 27.