Traffic routing methods, devices, and equipment

The traffic routing method in PINs addresses the challenge of varying QoS requirements by establishing differentiated data transmission channels for PINEs, enhancing network service efficiency and quality through PDU session optimization.

JP7896164B2Active Publication Date: 2026-07-28VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
VIVO MOBILE COMM CO LTD
Filing Date
2023-07-28
Publication Date
2026-07-28

AI Technical Summary

Technical Problem

The challenge in Personal IoT Networks (PINs) is to efficiently route traffic to Personal IoT Network Elements (PINEs) with varying Quality of Service (QoS) requirements through a Personal IoT Network Gateway (PEGC), as existing methods fail to differentiate and optimize data transmission channels for diverse PINE functions.

Method used

A traffic routing method and device that acquires and applies rules to establish same or different data transmission channels for PINEs within a PIN, utilizing Protocol Data Unit (PDU) sessions based on PIN descriptors and QoS parameters, ensuring efficient and differentiated network service utilization.

Benefits of technology

Ensures that PINEs within a PIN network use network services more efficiently and with higher quality by differentiating traffic routing based on PINE types, optimizing data transmission channels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007896164000007
    Figure 0007896164000007
  • Figure 0007896164000008
    Figure 0007896164000008
  • Figure 0007896164000009
    Figure 0007896164000009
Patent Text Reader

Abstract

The present application discloses a traffic routing method, apparatus and device, belonging to the field of communication technology. An embodiment of the method of the present application includes: a first communication device obtaining a first rule, where the first rule is used to establish the same or different data transmission channels for one or more PIN elements PINE of a personal IoT network PIN, the first communication device and the one or more PINEs being located within the same PIN; and the first communication device establishing a data transmission channel based on the first rule.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] (Cross - reference to related applications) This application claims the priority of Chinese Patent Application No. 202210929468.3, filed in China on August 3, 2022, and the entire content of the said application is incorporated herein by reference.

[0002] This application belongs to the field of communication technology, and specifically relates to a traffic routing method, device and equipment.

Background Art

[0003] With the development of science and technology, the Internet of Things is becoming increasingly popular, and the concept of a Personal IoT Network (PIN) is provided. In a PIN, a Personal IoT Network Element (PINE) accesses a PIN Gateway (PIN Element with Gateway Capability, PEGC) through non - 3GPP technologies (such as mobile hotspot WiFi, Bluetooth (registered trademark), etc.), and then the PEGC accesses the network through 3rd Generation Partnership Project (3GPP (registered trademark)) technologies. Here, the PEGC is a PIN element with gateway capabilities.

[0004] Since the functions of PINEs are different (such as air conditioners, printers, etc.), the requirements for the Quality of Service (QoS) of the transmitted data are also different, which means that the PEGC needs to provide differentiated QoS streams to PINEs. Therefore, how the PEGC routes the traffic in PINEs to appropriate PDU sessions is an urgent problem to be solved.

Summary of the Invention

Problems to be Solved by the Invention

[0005] Embodiments of this application provide a traffic routing method, apparatus, and device that can route traffic in PINE to appropriate PDU sessions. [Means for solving the problem]

[0006] According to the first aspect, a traffic routing method is provided, and this method is The first communication device acquires a first rule, wherein the first rule is used to establish the same or different data transmission channels for one or more PIN elements (PINEs) of a personal IoT network PIN, and the first communication device and the one or more PINEs are located within the same PIN. This includes the first communication device establishing a data transmission channel based on the first rule.

[0007] According to a second aspect, a traffic routing device is provided, which is An acquisition module used to acquire a first rule, wherein the first rule is used to establish the same or different data transmission channels for one or more PINEs of a PIN, and the first communication device and the one or more PINEs are located within the same PIN as the acquisition module. It includes a processing module for establishing a data transmission channel based on the first rule mentioned above.

[0008] According to a third aspect, a traffic routing method is provided, and this method is The second communication device determines the first rule, which is used to establish the same or different data transmission channels for one or more PINEs of a single PIN. This includes the second communication device transmitting the first rule.

[0009] According to the fourth aspect, a traffic routing device is provided, which is A decision module for determining a first rule, wherein the first rule is a decision module used to establish the same or different data transmission channels for one or more PINEs of a single PIN. It includes a first transmission module for transmitting the first rule.

[0010] According to the fifth aspect, a traffic routing method is provided, which is: The fifth communication device is connected to the second communication device. The aforementioned second communication device uses the first information to determine the UE Route Selection Policy (URSP) rules, The second communication device transmits at least one of the following: the second piece of information for determining the PIN routing rule. Here, the URSP rule and / or the PIN routing rule are designated as the first rule and are used to establish the same or different data transmission channels for one or more PINs of a single PIN.

[0011] According to the sixth aspect, a traffic routing device is provided, which is It includes a second transmitting module, and the second transmitting module is connected to the second communication device. The second communication device uses the first information to determine the URSP rule, The second communication device is used to transmit at least one of the following: a second piece of information for determining a PIN routing rule. Here, the URSP rule and / or the PIN routing rule are designated as the first rule and are used to establish the same or different data transmission channels for one or more PINs of a single PIN.

[0012] According to the seventh aspect, a terminal is provided which includes a processor and memory, the memory storing a program or instruction that can be executed on the processor, and when the program or instruction is executed by the processor, the steps of the method of the first aspect are realized.

[0013] According to the eighth aspect, a terminal is provided, which includes a processor and a communication interface, wherein the processor is used to acquire a first rule, wherein the first rule is used to establish the same or different data transmission channels for one or more PINEs of a PIN, and the first communication device and the one or more PINEs are located within the same PIN and establish data transmission channels based on the first rule.

[0014] According to the ninth aspect, a network-side device is provided, which includes a processor and memory, the memory storing a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method according to the third aspect and the fifth aspect are realized.

[0015] According to the tenth aspect, a network-side device is provided which includes a processor and a communication interface, The processor is used to determine a first rule, which is used to establish the same or different data transmission channels for one or more PINEs of a single PIN, and the communication interface is used to transmit the first rule. Alternatively, the communication interface may be connected to a second communication device. The second communication device uses the first information to determine the URSP rule, The second communication device is used to transmit at least one of the following: a second piece of information for determining a PIN routing rule. Here, the URSP rule and / or the PIN routing rule are designated as the first rule and are used to establish the same or different data transmission channels for one or more PINs of a single PIN.

[0016] According to the eleventh embodiment, a traffic routing system is provided including a terminal and network-side equipment, wherein the terminal may be used to perform the steps of the traffic routing method described in the first embodiment, and the network-side equipment may be used to perform the steps of the traffic routing method described in the third or fifth embodiment.

[0017] According to the twelfth aspect, a readable storage medium is provided, the readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the traffic routing method described in the first aspect, or the steps of the traffic routing method described in the third aspect, or the steps of the traffic routing method described in the fifth aspect are realized.

[0018] According to the thirteenth aspect, a chip is provided, the chip including a processor and a communication interface, the communication interface being coupled with the processor, the processor being used to run programs or instructions and to implement the traffic routing method described in the first aspect, or the traffic routing method described in the third aspect, or the traffic routing method described in the fifth aspect.

[0019] According to a fourteenth aspect, there is provided a computer program / program product, the computer program / program product being stored in a storage medium, the computer program / program product being executed by at least one processor to implement the steps of the traffic routing method described in the first aspect, or to implement the steps of the traffic routing method described in the third aspect, or to implement the steps of the traffic routing method described in the fifth aspect.

Advantages of the Invention

[0020] In the embodiments of the present application, after the first communication device obtains the first rule, it can establish the same or different data transmission channels for one or more PINE(s) within the PIN where it is located based on this first rule, realizing traffic routing that differentiates for different types of PINE, and ensuring that elements within the PIN network use network services more efficiently and with higher quality.

Brief Description of the Drawings

[0021] [Figure 1] It is a block diagram of a wireless communication system. [Figure 2] It is one of the method flowcharts of the embodiments of the present application. [Figure 3] It is a schematic diagram of the 5GS PIN feature support IE of the embodiments of the present application. [Figure 4] It is a schematic diagram of the 5GS update type IE of the embodiments of the present application. [Figure 5] It is a schematic diagram of the PIN container IE of the embodiments of the present application. [Figure 6] It is a schematic diagram that the PIN container content of the embodiments of the present application includes one or more PIN parameters. [Figure 7] It is one of the method application flowcharts of the embodiments of the present application. [Figure 8]This is the second method application flowchart of the embodiment of this application. [Figure 9] This is the third method application flowchart of the embodiment of this application. [Figure 10] This is the fourth flowchart illustrating the method application of the embodiment of this application. [Figure 11] This is the second method flowchart of the embodiment of this application. [Figure 12] This is the third method flowchart of the embodiment of this application. [Figure 13] This is one of the schematic module diagrams of the apparatus according to the embodiment of this application. [Figure 14] This is the second schematic diagram of the module of the apparatus according to the embodiment of this application. [Figure 15] This is the third schematic diagram of the module of the apparatus according to the embodiment of this application. [Figure 16] This is a schematic diagram of the structure of the communication device according to the embodiment of this application. [Figure 17] This is a schematic diagram of the structure of the terminal of the embodiment of this application. [Figure 18] This is a schematic diagram of the network-side equipment structure of the embodiment of this application. [Modes for carrying out the invention]

[0022] The following clearly and completely describes the technical concepts in the embodiments of this application, linking them to the drawings of the embodiments. Clearly, the embodiments described are only some, and not all, embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are all within the scope of protection of this application.

[0023] The terms "first," "second," etc., used in the specification and claims of this application are intended to distinguish similar subjects and not to describe a specific order or sequence. It should be understood that these terms are interchangeable where appropriate, so that the embodiments of this application may be carried out in an order other than those illustrated or described herein, and that the subjects distinguished by "first" and "second" are generally of the same kind and do not limit the number of subjects; for example, the first subject may be one or more. Furthermore, "and / or" in the specification and claims indicates at least one of the connected subjects, and the letter " / " generally indicates that the preceding and succeeding related subjects are in an "or" relationship.

[0024] It should be noted that the technologies described in the embodiments of this application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but are also applicable to other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA), and other systems. The terms "system" and "network" in the embodiments of this application are always used interchangeably, and the technologies described may be used for the systems and radio technologies mentioned above, or for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and uses NR terminology in most of the following descriptions, but these technologies are also applicable to applications other than NR system applications, such as sixth-generation (6) radio.th It may be applied to 6G (Generation 1) communication systems.

[0025] Figure 1 shows a block diagram of a wireless communication system to which an embodiment of this application can be applied. The wireless communication system includes a terminal 11 and a network-side device 12. Here, the terminal 11 is a mobile phone, tablet personal computer, laptop computer (or notebook computer), personal digital assistant (PDA), palmtop computer, netbook, ultra-mobile personal computer (UMPC), mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, vehicle user equipment (VUE), pedestrian user equipment (PUE), smart home (home appliances with wireless communication capabilities, such as refrigerators, televisions, washing machines or furniture), game console, personal computer (Personal The terminal-side equipment may be a computer (PC), a deposit machine or self-service machine, and the wearable device includes smartwatches, smart bands, smart earphones, smart glasses, smart accessories (smart bracelets, smart rings, smart necklaces, smart anklets, etc.), smart wristbands, smart clothing, etc. It should be noted that the embodiments of this application do not limit the specific type of terminal 11. The network-side equipment 12 may include access network equipment or core network equipment, where access network equipment may be called radio access network equipment, radio access network (RAN), radio access network function or radio access network unit.Access network equipment may include base stations, WLAN access points, or WiFi nodes, and base stations may also be called node B, evolutionary node B (eNB), access point, base transceiver station (BTS), radio base station, radio transceiver, basic service set (BSS), extended service set (ESS), home B node, home evolutionary B node, transmitting and receiving point (TRP), or any other appropriate term in the art, and the base station is not limited to any particular technical term as long as the same technical effect is achieved. For the purposes of this explanation, only base stations in NR systems are given as examples in the embodiments of this application, but this does not limit the specific types of base stations.The core network equipment includes core network nodes, core network functions, Mobility Management Entity (MME), Access and Mobility Management Function (AMF), Session Management Function (SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Server Discovery Function (EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (or L-NEF), Binding Support Function (BSF), and Application Function (Application It may include, but is not limited to, at least one of the following: Function (AF), Management Function (MF), etc. For illustrative purposes, the embodiments of this application only use core network equipment in an NR system as an example, but this does not limit the specific type of core network equipment.

[0026] To facilitate understanding, the following describes some aspects of the embodiments of this application.

[0027] A PIN is a group consisting of at least one PIN element, of which at least one PIN element is a terminal. There are three types of PIN elements: PINE, PEGC, and PIN Element with Management Capability (PEMC). A single PINE is either a terminal or a non-3GPP device. A non-3GPP device is a device that does not use certificates defined by 3GPP, does not support Non-Access Stratum (NAS) protocols defined by 3GPP, or does not support 3GPP access technologies (e.g., 3G / 4G / 5G Air Interface technologies) and only supports non-3GPP access technologies (e.g., WiFi, fixed networks, Bluetooth®, etc.).

[0028] PINEs can use network services and data via the PEGC access network. However, PINEs have different functions (e.g., air conditioners, printers, etc.), different QoS requirements for transmitted data, and at the same time, PINEs may belong to different PINs. Considering that PINEs cannot communicate directly with the network, this requires PEGC to identify the traffic of different PINEs and provide differentiated traffic transmission to different PINEs.

[0029] In the following sections, the traffic routing method, apparatus, and equipment according to the embodiments of this application will be described in detail with reference to several embodiments and their application scenarios, accompanied by drawings.

[0030] As shown in Figure 2, the traffic routing method of the embodiment of this application includes the following:

[0031] In step 201, the first communication device acquires a first rule, where the first rule is used to establish the same or different data transmission channels for one or more PIN elements PINE of a personal IoT network PIN, and the first communication device and the one or more PINEs are located within the same PIN. In step 202, the first communication device establishes a data transmission channel based on the first rule.

[0032] In this way, after obtaining the first rule by step 201, the first communication device can perform step 202, establishing the same or different data transmission channels for one or more PINE(s) within the PIN where it is located based on this first rule, achieving differentiated traffic routing for different types of PINEs, and ensuring that elements within the PIN network use network services more efficiently and with higher quality.

[0033] It should be explained that in the embodiments of this application, the first communication device may be a PEGC. Furthermore, the data transmission channel is realized by a Protocol Data Unit (PDU) session, and the establishment of the data transmission channel may be established by establishing a new PDU session, or it may be understood as establishing the data transmission channel by selecting an appropriate PDU session from existing PDU sessions.

[0034] In some embodiments, the first rule selectively includes a mapping relationship between PIN descriptors and protocol data unit (PDU) session parameters.

[0035] Here, the PIN description information is used when the first communication device performs step 202 to match a first rule that fits one or more PINE(s) of the data transmission channel to be established. After matching with the first rule to be used, the first communication device retrieves the corresponding PDU session parameters by their mapping relationships and establishes the data transmission channel.

[0036] PDU session parameters may include data network name (DNN), single network slice selection assistance information (S-NSSAI), and other information.

[0037] In some embodiments, if the first rule is selectively used to establish the same data transmission channel for one or more PINE(s) of a single PIN, the PIN description information is: PIN type, Service type and PIN identifier and It includes at least one of the following: first instruction information for instructing one or more PINE(s) to use network services via a PIN gateway within a single PIN.

[0038] Thus, according to the first rule, The PIN type of the aforementioned PIN is a PIN type included in the aforementioned PIN description information, The service type of PINE is a service type included in the PIN description information, The aforementioned PIN has conditions corresponding to the PIN identifier included in the PIN description information, It is possible to establish the same data transmission channel for one or more PINE(s) that satisfy at least one of the conditions of being a PINE indicated by the first instruction information of the PIN description information.

[0039] Here, PIN type is used to identify a type of PIN, and this type may be a broad category such as personal entertainment, smart home, or sports health, or a subcategory such as sensor type, augmented reality (AR) / virtual reality (VR), smart lighting fixtures, sockets, or screen projection equipment. Service type is used to identify a service category, and different service types require different QoS levels, such as game type, office type, or home type. PIN identifier (ID) is used to identify a PIN or a group of PINs, and a PIN identifier may also be called a PIN group identifier.

[0040] The first instruction information may be indicated by a PINE identifier, and the PINE identifier is It may also include at least one of the following: Source Internet Protocol range (Source IP range), Service Set IDs (SSIDs), Bluetooth IDs (BT IDs), Packet filters, Port range, Media Access Control address (MAC address), and Application IDs (APP IDs).

[0041] In some embodiments, if the first rule is selectively used to establish different data transmission channels for one or more PINE(s) of a single PIN, the PIN description information is: Service type and Second instruction information to indicate whether PINE is an internal or external device, It includes at least one of the following: a third piece of information that points to one or more PINEs in the same group.

[0042] Thus, according to the first rule, Based on the service type included in the aforementioned PIN description information, different data transmission channels are established for PINEs with different service types. Based on the second instruction information contained in the aforementioned PIN description information, different data transmission channels are established for the internal PINE and the external PINE. Based on the third instruction information contained in the PIN description information, at least one of the following can be achieved: establishing different data transmission channels for different groups of PINEs.

[0043] Here, the second instruction indicates that a PINE is an internal device (also called an internal PINE), meaning that this PINE will be configured to the current PIN. The second instruction indicates that a PINE is an external device (also called an external PINE), meaning that this PINE will not be configured to the current PIN, and that this PINE will be temporarily added to the current PIN. One or more PINEs in the same group indicated by the third instruction satisfy the grouping requirement that they have similar service types and the same QoS requirements.

[0044] The second and third instruction information may also be indicated by PINE identifiers, and the specific implementations of PINE identifiers are as described above and will not be listed one by one here.

[0045] Selectively, the first rule is, URSP rules and, It is at least one of the PIN routing rules.

[0046] In other words, the URSP rule may be the primary rule, or the PIN routing rule may be the primary rule.

[0047] Selectively, the traffic description information of the URSP rule includes PIN description information.

[0048] In other words, the URSP rule should be the primary rule, and its traffic description information should include PIN description information (the specific implementation of this PIN description information is as described above and will not be explained further here). For example, as shown in Table 1 below:

[0049] [Table 1-A] [Table 1-B]

[0050] In some embodiments, the URSP rule is selectively used by the first communication device to establish or select an appropriate PDU session for the traffic of one or more PINE(s) having the same QoS requirements.

[0051] For example, the URSP rule is as shown in Table 2:

[0052] [Table 2]

[0053] It should be explained that the first rule may be pre-configured and stored in the first communication device, which performs step 201, i.e., extracts the locally stored first rule.

[0054] Alternatively, the first rule is comprised of other communication devices, and therefore, selectively, step 201 is, Receiving the URSP rule transmitted by the second communication device, Receiving PIN routing rules transmitted by a third communication device, This includes at least one of the following: receiving a PIN routing rule transmitted by a fourth communication device.

[0055] Here, the second communication device may be a PCF, the third communication device may be an AMF, and the fourth communication device may be an SMF.

[0056] Selectively, the above method, The first communication device further includes transmitting related information of the first communication device, wherein the related information of the first communication device is: Capability information (PEGC capability) of the first communication device for indicating that the first communication device has gateway capability, The instruction information for the first communication device includes the instruction information for the first communication device (PEGC indication) for identifying the first communication device, The policy container of the first communication device (PEGC UE policy request) is used to request URSP rules.

[0057] Here, the first communication device transmits relevant information of the first communication device to the second communication device, thereby enabling the second communication device to determine and transmit URSP rules to the first communication device (for example, by providing URSP rules to PEGC through a terminal configuration update process).

[0058] In response, the second communication device acquires relevant information from the first communication device and determines a URSP rule based on the relevant information from the first communication device. As a result, the first communication device can complete the establishment of a data transmission channel using the URSP rule as the first rule.

[0059] Selectively, the first communication device transmits a registration request, which carries relevant information of the first communication device.

[0060] At this time, the second communication device is a PCF, which can obtain relevant information of the first communication device by receiving the first message, and the first message includes relevant information of the first communication device being carried in this registration request. The first message is transmitted by an AMF.

[0061] In some embodiments, if the registration request optionally includes capability information for the first communication device, the capability information for the first communication device is included in the PIN gateway capability information field of the third information element, where the third information element includes at least one of a 5GS mobility management information element, a PIN gateway capability information element, and a 5GS update type information element. If the registration request includes the policy container of the first communication device, the policy container of the first communication device is included in the payload container information element, where the payload container type of the payload container information element is set to either a terminal policy container or a PIN gateway policy container.

[0062] Selectively, a PEGC capability bit is added to the 5GS mobility management information element (5GMM capability IE), for example, to create a PIN element with gateway capability (octet X, bit Y), where "0" indicates that the PIN element does not have gateway capability (PIN element with gateway capability not supported) and "1" indicates that the PIN element has gateway capability (PIN element with gateway capability supported). Selectively, the PIN element with gateway capability IE may be a 5GS PIN feature support IE, whose purpose is to indicate whether the UE supports a particular PIN feature. The encoding of the 5GS PIN feature support IE is as shown in Figure 3, and the 5GS PIN feature support IE is a fourth type of information element with a length of 3 octets. The PIN gateway capability IE may be as shown in Table 3 below:

[0063] [Table 3]

[0064] The purpose of the 5GS update type IE is to allow the terminal to provide additional information to the network when performing the registration process. The encoding of the 5GS update type IE is as shown in Figure 4, and the 5GS update type IE is a fourth type of information element with a length of 3 octets. The 5GS update type IE may also be as shown in Table 4 below:

[0065] [Table 4]

[0066] The PEGC UE policy request is included in the payload container information element, and the payload container information element, for example, Payload container IE, may be a Payload container IE with the Payload container type set to terminal policy container (UE policy container), or it may be a Payload container IE with the Payload container type set to PIN gateway policy container (e.g., PEGC UE policy container, PIN policy container, etc.). The PIN gateway policy container is a newly added payload container type.

[0067] In some embodiments, the registration request is selectively made if the payload container type of the payload container information element is set to terminal policy container. The capability information of the first communication device, It includes at least one of the instruction information of the first communication device.

[0068] If the Payload container type IE of the registration request is set to "UE policy container" and the Payload container IE includes the terminal policy container of the first communication device, the registration request may further include the PEGC indication and / or PEGC capability as described above.

[0069] Selectively, the registration request is made if the payload container type of the payload container information element is set to a PIN gateway policy container. The status instruction message of the first communication device, The first communication device includes at least one of the following: a status indication message for the PIN where the first communication device is located.

[0070] That is, if the Payload container type IE of the registration request is set to "PEGC UE policy container" or "PIN policy container" and the Payload container IE includes the terminal policy container of the first communication device, the registration request may further include a PEGC UE STATE INDICATION message and / or a PIN STATE INDICATION message for the PIN on which the first communication device is located.

[0071] Selectively, after receiving a PEGC indication, the PCF can retrieve subscription information corresponding to the PEGC based on the PEGC indication. The implementation method of the PEGC indication may be one of the following: a Generic Public Subscription Identifier (GPSI), a Subscription Permanent Identifier (SUPI), or a PEGC ID. The PEGC indication may further include a PIN identifier.

[0072] In some embodiments, selectively, the PCF receives relevant information of the first communication device, which includes only the instruction information of the first communication device transmitted by the PIN AF, and then determines a URSP rule based on this instruction information of the first communication device.

[0073] In some embodiments, the second communication device selectively acquires the first information and determines a URSP rule based on this first information. It then transmits this URSP rule to the first communication device (for example, by providing the URSP rule to the PEGC through a terminal configuration update process), thereby enabling the first communication device to complete the establishment of the data transmission channel with the URSP rule as the first rule.

[0074] Selectively, the second communication device receives the first information transmitted by the fifth communication device. Here, the fifth communication device may be a PIN MF.

[0075] Selectively, the first information is One or more PIN routing rules, The second communication device includes at least one of the following: a sixth instruction information for instructing the UDM to obtain subscription information for the first communication device from the UDM and determine the URSP rule.

[0076] In this way, the PCF can determine a URSP rule based on one or more PIN routing rules in this first information. For example, a relationship may be pre-established between PIN routing rules and URSP rules, and after knowing one or more PIN routing rules, the PCF can retrieve the corresponding URSP rule from this relationship. The PCF may query the UDM for subscription information of the first communication device based on the sixth instruction information in this first information, and determine a URSP rule based on the subscription information of the first communication device. Here, the subscription information may include URSP rules, or a relationship may be pre-established between the subscription information and URSP rules, and after knowing the subscription information, the PCF can retrieve the corresponding URSP rule from this relationship.

[0077] Here, the sixth instruction information may include a PEGC identifier, and may further include a PEMC identifier or a PIN identifier.

[0078] In some embodiments, the second communication device selectively acquires second information and determines a PIN routing rule based on that information. It then transmits this PIN routing rule to the first communication device, which can then use this PIN routing rule as the first rule to complete the establishment of the data transmission channel.

[0079] Selectively, the second communication device acquires the second information transmitted by the fifth communication device, which may be a PIN MF.

[0080] Selectively, the second piece of information is One or more PIN routing rules, A seventh instruction information for instructing the second communication device to obtain subscription information for the first communication device from the UDM and determine PIN routing rules, This includes at least one of the following: an eighth instructional piece of information indicating that the second communication device does not provide URSP rules.

[0081] In this way, the PCF may determine one or more PIN routing rules in this second information as PIN routing rules to be transmitted to the first communication device. Based on the seventh instruction information in this second information, the PCF may query the UDM for subscription information of the first communication device and determine PIN routing rules based on the subscription information of the first communication device. Here, the subscription information may include PIN routing rules, or a relationship may be pre-established between the subscription information and the PIN routing rules, and the PCF may retrieve the corresponding PIN routing rules from this relationship after knowing the subscription information.

[0082] The second information may further include an eighth instruction to indicate that the second communication device does not provide instruction information for URSP rules. In this way, after receiving the second information, the second communication device can determine a PIN routing rule based on the eighth instruction and transmit the determined PIN routing rule to the first communication device, without having to determine a URSP rule.

[0083] If, selectively, at least one of the first information and the second information does not include one or more PIN routing rules, the fifth communication device acquires PIN-related information. The fifth communication device determines one or more PIN routing rules based on the PIN-related information.

[0084] PIN-related information includes the PIN ID, list of services, PIN class, and time window. PIN MF generates PIN routing rules based on this PIN-related information and local configuration. Here, the local configuration is used as the PIN routing rule generation policy to generate PIN routing rules based on the PIN-related information.

[0085] Selectively, the PIN-related information may be transmitted when PEGC or PEMC registers it in IN MF.

[0086] In some embodiments, the second communication device selectively determines the URSP rule and then transmits the URSP rule to the first communication device, for example, the first communication device transmits the URSP rule via a terminal configuration update flow.

[0087] In some embodiments, the second communication device may optionally, after determining the PIN routing rule, transmit the PIN routing rule to a third and / or fourth communication device, which then transmits the PIN routing rule to the first communication device.

[0088] In some embodiments, selectively receiving the PIN routing rules transmitted by the third communication device is: The process includes receiving the PIN routing rule transmitted by a downlink non-access layer transmission message, wherein the PIN routing rule is included in a first information element of the downlink non-access layer transmission message, where the first information element is: A payload container information element where the payload container type is set as a terminal policy container, A payload container information element where the payload container type is set to PIN gateway policy container, It includes at least one of the following: PIN routing rule information element.

[0089] In other words, the first communication device receives the PIN routing rule obtained by the AMF via a downlink non-access layer (DL NAS transport) message. This DL NAS transport message may carry the PIN routing rule by at least one of the information elements described above and may transparently transmit the PIN routing rule to the first communication device.

[0090] Here, the payload container type is configured to allow multiplexing of the payload container information element of the terminal policy container, which carries PIN routing rules, or a PIN gateway policy container (representing the policy for the IE to carry the PEGC UE, e.g., PEGC UE policy container, PIN policy container, etc.) is added to the payload container type, and the payload container type is configured so that the payload container information element of the PIN gateway policy container carries PIN routing rules, or the newly added PIN routing rule information element (PIN policy container IE) carries PIN routing rules.

[0091] The PIN policy container IE, for example, is as shown in Figure 5. The PIN container content contains one or more PIN parameters, whose encoding is as shown in Figures 6, 7, and Table 5 below:

[0092] [Table 5]

[0093] In some embodiments, selectively receiving the PIN routing rules transmitted by the fourth communication device is: The process includes receiving the PIN routing rule transmitted by the PDU session modification command, wherein the PIN routing rule is included in a second information element of the PDU session modification command, where the second information element is: Service public land mobility network PLMN rate control information element, Extended protocol configuration option information element, It includes at least one of the following: PIN routing rule information element.

[0094] In some embodiments, the first communication device may optionally receive PIN routing rules transmitted by a fourth communication device, which are determined by the SMF based on local configuration and PIN information.

[0095] The PIN routing rule information element is as described above and will not be explained further here.

[0096] In some embodiments, the first communication device may optionally further receive PIN routing rules transmitted by the PEMC, which are obtained by the PEMC from the PINMF. The PEMC transmits the PIN routing rules according to a pre-configured transmission scheme, which is: Transmission via a non-3GPP connection, Transmission via the application layer, This includes at least one of the following: transmitting via the PIN protocol layer.

[0097] In some embodiments, selectively, the first communication device establishes a data transmission channel based on the first rule. The first communication device determines a candidate rule that matches the first PINE based on the PINE description information of the first PINE, wherein the candidate rule includes one or more of the first rules. If the candidate rule includes one of the first rules, the data transmission channel of the first PINE is established using the first rule, If the candidate rule includes a plurality of the first rules, the method includes establishing the data transmission channel of the first PINE using the first rule with the highest priority.

[0098] That is, when establishing a data transmission channel for a first PINE, first, based on the PINE description information of the first PINE, a candidate rule that matches the first PINE is determined, and then, based on the candidate rule, if this candidate rule includes one of the first rules, the data transmission channel for the first PINE is established using that first rule; if this candidate rule includes multiple of the first rules, the data transmission channel for the first PINE is established using the first rule with the highest priority. Here, priority is a pre-configured rule priority.

[0099] Selectively, the above method, Transmitted by the fifth communication device, A fourth instruction information for indicating that the second communication device does not provide URSP rules, The further includes receiving at least one of a fifth directive piece of information that indicates that traffic with the same PIN should be matched to the same PDU session.

[0100] Here, the first communication device does not receive the fourth instruction information from the fifth communication device and subsequently establish a data transmission channel by matching URSP rules based on this fourth instruction information, but rather receives the fifth instruction information from the fifth communication device and subsequently matches traffic of the same PIN to the same PDU session based on this fifth instruction information. Selectively, the first communication device receives the fourth instruction information and / or the fifth instruction information before or after receiving the second information.

[0101] The following describes the application of the method of the embodiment of this application with reference to specific scenarios.

[0102] Scenario 1: As shown in Figure 7, the first communication device (PEGC) receives a URSP rule transmitted by the second communication device (PCF) or PIN AF, and establishes a data transmission channel based on this URSP rule.

[0103] In 1a, PEGC registers with 5GC and sends a registration request to AMF. Here, the registration request is: - PEGC capability and, - PEGC indication and, - Includes at least one of the following: PEGC UE policy request.

[0104] The AMF sends a first message to the PCF, and the first message is carried to the registration request, which includes at least one of these.

[0105] In 1b, PIN AF notifies PCF of the PEGC indication via the Service-Specific Parameter Provisioning flow.

[0106] 2. The PCF determines the URSP rules.

[0107] Specifically, the PCF may determine the URSP rule based on at least one of the PEGC capability, PEGC indication, and PEGC UE policy request included in the received registration request, or the PCF may determine the URSP rule based on the PEGC indication sent by the PIN AF.

[0108] 3. PCF provides URSP rules to PEGC through the UE configuration update process.

[0109] 4. PINE sends a relay request to PEGC.

[0110] 5. PEGC matches an appropriate URSP rule based on the PINE information, selects an appropriate PDU session based on the PDU session parameters in the matched URSP rule, and if no PDU session is already established, PEGC establishes a new PDU session based on the PDU session parameters in the matched URSP rule.

[0111] Scenario 2: As shown in Figure 8, the first communication device (PEGC) receives the URSP rule transmitted by the second communication device (PCF) and establishes a data transmission channel based on this URSP rule.

[0112] 0. PEGC is registered with PINMF. During the registration process, PINMF may provide PEGC with PIN-related information, including PIN ID, list of PINEs, and PEGC ID.

[0113] 1. PINMF transmits the first information to the PCF, and the first information is One or more PIN routing rules, It includes at least one of the sixth instruction information, also known as PIN routing rule acquisition instruction information.

[0114] 2. If the first piece of information includes the sixth instruction information, the PCF needs to query the UDM for PEGC subscription information in order to determine the URSP rule.

[0115] 3. PCF determines the URSP rule based on the initial information received and provides the URSP rule to PEGC through the UE configuration update process.

[0116] 4. PINE sends a relay request to PEGC.

[0117] 5. PEGC matches the appropriate URSP rule based on the PINE traffic, selects an appropriate PDU session based on the PDU session parameters in the matched URSP rule, and if no established PDU session exists, PEGC establishes a new PDU session based on the PDU session parameters in the matched URSP rule.

[0118] Scenario 3: As shown in Figure 9, the first communication device (PEGC) receives the PIN routing rule transmitted by the second communication device (PCF) and establishes a data transmission channel based on this URSP rule.

[0119] 0. PEGC is registered with PINMF. Selectively, during the registration process, PINMF registers PEGC with PEGC. The fourth instruction information is an instruction that does not match the URSP rule, The system may transmit at least one of the following: PIN group traffic, a fifth instruction information which is an instruction to match the PDU session to the same PDU session.

[0120] 1. PINMF transmits the second information to PCF, and the second information is One or more PIN routing rules, The seventh instruction information, also called PIN routing rule acquisition instruction information, It includes at least one of the eighth instruction information, also known as an instruction that does not match the URSP rule.

[0121] 2. If the second piece of information includes the seventh instruction information, the PCF needs to query the UDM for PEGC subscription information in order to determine the PIN routing rule.

[0122] 3. The PCF determines the PIN routing rule based on the second piece of information it receives and sends the determined PIN routing rule to the AMF by calling Namf_Communication_N1N2MessageTransfer.

[0123] 4. If the PEGC is connected, the AMF transparently transmits the PIN routing rule to the PEGC in a DL NAS transport message, and the PEGC stores it.

[0124] 5. PINE sends a relay request to PEGC.

[0125] 6. PEGC matches PINE traffic to an appropriate PDU session based on the stored PIN routing rules. If no PDU session is established, PEGC establishes a new PDU session based on the PDU session parameters in the matched routing rule.

[0126] Scenario 4: As shown in Figure 10, the first communication device (PEGC) receives the PIN routing rule transmitted by the second communication device (PCF) and establishes a data transmission channel based on this URSP rule.

[0127] 0. PEGC is registered with PINMF. Selectively, during the registration process, PINMF registers PEGC with PEGC. The fourth instruction information is an instruction that does not match the URSP rule, The system may transmit at least one of the following: PIN group traffic, a fifth instruction information which is an instruction to match the PDU session to the same PDU session.

[0128] 1. When PINE requests to join, PEMC sends a relay activate request or a relay deactivate request to PINMF.

[0129] 2. PINMF sends a relay activate request to PCF, and the relay activate request carries second information, and the second information is One or more PIN routing rules, The seventh instruction information, also called PIN routing rule acquisition instruction information, It includes at least one of the eighth instruction information, also known as an instruction that does not match the URSP rule.

[0130] 3. If the relay activate request contains seventh instruction information, the PCF needs to query the UDM for PEGC subscription information to determine the PIN routing rule. The PCF determines the PIN routing rule based on the second piece of information received and sends a relay activate request containing the determined PIN routing rule to the SMF.

[0131] 4. SMF generates corresponding QoS rules based on the received PIN routing rules and starts the PDU session modification program. It also distributes the PIN routing rules to PEGC via PDU session modification commands, and PEGC stores the PIN routing rules.

[0132] 5. PINE sends a relay request to PEGC.

[0133] 6. PEGC matches PINE traffic to an appropriate PDU session based on stored PIN routing rules. If no PDU session is established, PEGC establishes a new PDU session based on the PDU session parameters in the matched routing rule.

[0134] In summary, the method of the embodiment of this application is applied to a first communication device and enables differentiated processing of PINE data with different functions, thereby improving transmission efficiency and optimizing transmission resources.

[0135] As shown in Figure 11, the traffic routing method of the embodiment of this application includes the following:

[0136] In step 1101, the second communication device determines a first rule, which is used to establish the same or different data transmission channels for one or more PINEs of a single PIN. In step 1102, the second communication device transmits the first rule.

[0137] In this way, the second communication device determines and transmits the first rule, allowing the first communication device to obtain the first rule, establish the same or different data transmission channels for one or more PINE(s) within the PIN where it is located based on the first rule, achieve differentiated traffic routing for different types of PINEs, and ensure that elements within the PIN network use network services more efficiently and with higher quality.

[0138] Selectively, the first rule includes a mapping relationship between PIN description information and PDU session parameters.

[0139] If the first rule is selectively used to establish the same data transmission channel for one or more PINEs of a single PIN, the PIN description information is: PIN type, Service type and PIN identifier and It includes at least one of the following: first instruction information for instructing one or more PINEs to use network services via a PIN gateway within a single PIN.

[0140] If the first rule is selectively used to establish different data transmission channels for one or more PINEs of a single PIN, the PIN description information is: Service type and Second instruction information to indicate whether PINE is an internal or external device, It includes at least one of the following: a third piece of information that points to one or more PINEs in the same group.

[0141] Selectively, the first rule is, URSP rules and, It is at least one of the PIN routing rules.

[0142] Selectively, the traffic description information of the URSP rule includes the PIN description information.

[0143] Selectively, the second communication device determines the first rule. To acquire relevant information of the first communication device and to determine the URSP rule based on the relevant information of the first communication device, To obtain the first piece of information and to determine the URSP rule based on the first piece of information, This includes at least one of obtaining a second piece of information and determining the PIN routing rule based on the second piece of information.

[0144] Selectively, the information relating to the first communication device is: Capability information of the first communication device for indicating that the first communication device has gateway capability, Instruction information for the first communication device for identifying the first communication device, This includes at least one of the following: the policy container of the first communication device for requesting URSP rules.

[0145] Selectively acquiring the relevant information of the first communication device is: This includes the second communication device receiving a first message, the first message including relevant information of the first communication device being carried in a registration request.

[0146] Selectively, if the registration request includes capability information of the first communication device, the capability information of the first communication device is included in the PIN gateway capability information field of the third information element, where the third information element includes at least one of the 5GS mobility management information element, the PIN gateway capability information element, and the 5GS update type information element. If the registration request includes the policy container of the first communication device, the policy container of the first communication device is included in the payload container information element, where the payload container type of the payload container information element is set to either a terminal policy container or a PIN gateway policy container.

[0147] Selectively, the registration request is made if the payload container type of the payload container information element is set to terminal policy container. The capability information of the first communication device, It includes at least one of the instruction information of the first communication device.

[0148] Selectively, the registration request is made if the payload container type of the payload container information element is set to a PIN gateway policy container. The status instruction message of the first communication device, The first communication device includes at least one of the following: a status indication message for the PIN where the first communication device is located.

[0149] Selectively acquiring the relevant information of the first communication device is: If the information relating to the first communication device includes only the instruction information of the first communication device, the instruction information of the first communication device is provided by the application function of the PIN.

[0150] Selectively obtaining the aforementioned first information is The second communication device receives the first information transmitted by the fifth communication device, wherein the first information is: One or more PIN routing rules, The second communication device includes at least one of the following: a sixth set of instructional information for instructing the UDM to obtain subscription information for the first communication device from the UDM and determine the URSP rule.

[0151] Selectively acquiring the second information includes the second communication device receiving the second information transmitted by the fifth communication device, wherein the second information is: One or more PIN routing rules, A seventh instruction information for instructing the second communication device to obtain subscription information for the first communication device from the UDM and determine PIN routing rules, This includes at least one of the following: an eighth instructional piece of information indicating that the second communication device does not provide URSP rules.

[0152] Selectively, the second communication device transmits the first rule. The second communication device transmits the URSP rule to the first communication device, The second communication device transmits the PIN routing rule to the third communication device, The second communication device includes at least one of the following: transmitting the PIN routing rule to the fourth communication device.

[0153] It should be noted that the method of the embodiment of this application is implemented in combination with the method performed by the first communication device described above, and the implementation of the embodiment of the above method can be applied to this method and achieve the same technical effects.

[0154] As shown in Figure 12, the traffic routing method of the embodiment of this application includes the following:

[0155] In step 1201, the fifth communication device connects to the second communication device. The second communication device uses the first information to determine the URSP rule, The second communication device transmits at least one of the following: the second piece of information for determining the PIN routing rule. Here, the URSP rule and / or the PIN routing rule are designated as the first rule and are used to establish the same or different data transmission channels for a single PIN.

[0156] In this way, the fifth communication device transmits at least one of the first and second pieces of information, causing the second communication device to determine the first rule, thereby ensuring that the first communication device establishes the same or different data transmission channels for one or more PINE(s) within the PIN where it is located based on this first rule, achieving differentiated traffic routing for different types of PINEs, and ensuring that elements within the PIN network use network services more efficiently and with higher quality.

[0157] Selectively, the first information is One or more PIN routing rules, The second communication device includes at least one of the following: a sixth set of instructional information for instructing the UDM to obtain subscription information for the first communication device from the UDM and determine the URSP rule.

[0158] Selectively, the second piece of information is One or more PIN routing rules, A seventh instruction information for instructing the second communication device to obtain subscription information for the first communication device from the UDM and determine PIN routing rules, This includes at least one of the following: an eighth instructional piece of information indicating that the second communication device does not provide URSP rules.

[0159] Selectively, the above method, If at least one of the first piece of information and the second piece of information includes one or more PIN routing rules, the fifth communication device shall acquire the PIN-related information and The fifth communication device further includes determining one or more PIN routing rules based on the PIN-related information.

[0160] Selectively, the above method, A fourth instruction information for indicating that the second communication device does not provide URSP rules, The further includes transmitting at least one of a fifth instructional piece of information that instructs that traffic with the same PIN be matched to the same PDU session.

[0161] It should be explained that the methods of the embodiments of this application are implemented in combination with the methods performed by the first communication device or the methods performed by the second communication device, and the implementation methods of the embodiments of the above methods can be applied to this method and achieve the same technical effects.

[0162] In the embodiment of the present application, the traffic routing method may be implemented by a traffic routing device. In the embodiment of the present application, the traffic routing device will be described as an example in which the traffic routing device implements the traffic routing method.

[0163] As shown in Figure 13, the traffic routing device 1300 of the embodiment of this application is An acquisition module 1310 for acquiring a first rule, wherein the first rule is used to establish the same or different data transmission channels for one or more PIN elements PINE of a personal IoT network PIN, and the first communication device and the one or more PINEs are located within the same PIN as the acquisition module 1310. It includes a processing module 1320 for establishing a data transmission channel based on the first rule mentioned above.

[0164] Selectively, the first rule includes a mapping relationship between PIN description information and protocol data unit (PDU) session parameters.

[0165] If the first rule is selectively used to establish the same data transmission channel for one or more PINEs of a single PIN, the PIN description information is: PIN type, Service type and PIN identifier and It includes at least one of the following: first instruction information for instructing one or more PINEs to use network services via a PIN gateway within a single PIN.

[0166] If the first rule is selectively used to establish different data transmission channels for one or more PINEs of a single PIN, the PIN description information is: Service type and Second instruction information to indicate whether PINE is an internal or external device, It includes at least one of the following: a third piece of information that points to one or more PINEs in the same group.

[0167] Selectively, the first rule is, URSP rules and, It is at least one of the PIN routing rules.

[0168] Selectively, the traffic description information of the URSP rule includes PIN description information.

[0169] Selectively, the acquisition module further, Receiving the URSP rule transmitted by the second communication device, Receiving PIN routing rules transmitted by a third communication device, This includes at least one of the following: receiving a PIN routing rule transmitted by a fourth communication device.

[0170] Selectively, the acquisition module further, Used to receive the PIN routing rule transmitted by the downlink non-access layer transmission message, the PIN routing rule is included in the first information element of the downlink non-access layer transmission message, where the first information element is: A payload container information element where the payload container type is set as a terminal policy container, A payload container information element where the payload container type is set to PIN gateway policy container, It includes at least one of the following: PIN routing rule information element.

[0171] Selectively, the acquisition module further, Used to receive the PIN routing rule transmitted by the PDU session modification command, wherein the PIN routing rule is included in the second information element of the PDU session modification command, where the second information element is: Service public land mobility network PLMN rate control information element, Extended protocol configuration option information element, It includes at least one of the following: PIN routing rule information element.

[0172] Selectively, the apparatus, Further including a first receiving module, the first receiving module transmits via a fifth communication device. A fourth instruction information for indicating that the second communication device does not provide URSP rules, It is used to receive at least one of a fifth set of directives that instructs that traffic with the same PIN be matched to the same PDU session.

[0173] Selectively, the apparatus, The system further includes a third transmission module for transmitting information relating to the first communication device, wherein the information relating to the first communication device is: Capability information of the first communication device for indicating that the first communication device has gateway capability, Instruction information for the first communication device for identifying the first communication device, This includes at least one of the following: the policy container of the first communication device for requesting URSP rules.

[0174] Selectively, the processing module further, Based on the PINE description information of the first PINE, a candidate rule is determined that matches the first PINE, wherein the candidate rule includes one or more of the first rules. If the candidate rule includes one of the first rules, the data transmission channel of the first PINE is established using the first rule, If the candidate rule includes a plurality of the first rules, the method includes establishing the data transmission channel of the first PINE using the first rule with the highest priority.

[0175] After acquiring a first rule, this device can establish the same or different data transmission channels for one or more PINE(s) within the PIN where it is located based on this first rule, thereby achieving differentiated traffic routing for different types of PINEs and ensuring that elements within the PIN network use network services more efficiently and with higher quality.

[0176] The traffic routing device in the embodiments of this application may be an electronic device, such as an electronic device having an operating system, or a component of an electronic device, such as an integrated circuit or a chip. This electronic device may be a terminal or other device. Exemplarily, a terminal may include, but is not limited to, the types of terminals 11 listed above, and other devices may be servers, network-attached storage (NAS), etc., and the embodiments of this application are not specifically limited.

[0177] The traffic routing device according to the embodiment of this application can implement each process realized by the embodiment of the method shown in Figures 2 to 10 and achieve the same technical effects, and to avoid repetition of the explanation, it will not be explained further here.

[0178] As shown in Figure 14, the traffic routing device 1400 of the embodiment of this application is A decision module 1410 for determining a first rule, wherein the first rule is used to establish the same or different data transmission channels for one or more PINEs of a single PIN. It includes a first transmission module 1420 for transmitting the first rule.

[0179] Selectively, the first rule includes a mapping relationship between PIN description information and PDU session parameters.

[0180] If the first rule is selectively used to establish the same data transmission channel for one or more PINEs of a single PIN, the PIN description information is: PIN type, Service type and PIN identifier and It includes at least one of the following: first instruction information for instructing one or more PINEs to use network services via a PIN gateway within a single PIN.

[0181] If the first rule is selectively used to establish different data transmission channels for one or more PINEs of a single PIN, the PIN description information is: Service type and Second instruction information to indicate whether PINE is an internal or external device, It includes at least one of the following: a third piece of information that points to one or more PINEs in the same group.

[0182] Selectively, the first rule is, URSP rules and, It is at least one of the PIN routing rules.

[0183] Selectively, the traffic description information of the URSP rule includes PIN description information.

[0184] Selectively, the decision module further, To acquire relevant information of the first communication device and to determine the URSP rule based on the relevant information of the first communication device, To obtain the first piece of information and to determine the URSP rule based on the first piece of information, It is used for at least one of the following: obtaining a second piece of information, and determining the PIN routing rule based on the second piece of information.

[0185] Selectively, the information relating to the first communication device is: Capability information of the first communication device for indicating that the first communication device has gateway capability, Instruction information for the first communication device for identifying the first communication device, This includes at least one of the following: the policy container of the first communication device for requesting URSP rules.

[0186] Selectively, the decision module further, It is used to receive a first message containing relevant information of the first communication device that is carried in a registration request.

[0187] Selectively, if the registration request includes capability information of the first communication device, the capability information of the first communication device is included in the PIN gateway capability information field of the third information element, where the third information element includes at least one of the 5GS mobility management information element, the PIN gateway capability information element, and the 5GS update type information element. If the registration request includes the policy container of the first communication device, the policy container of the first communication device is included in the payload container information element, where the payload container type of the payload container information element is set to either a terminal policy container or a PIN gateway policy container.

[0188] Selectively, the registration request is made if the payload container type of the payload container information element is set to terminal policy container. The capability information of the first communication device, It includes at least one of the instruction information of the first communication device.

[0189] Selectively, the registration request is made if the payload container type of the payload container information element is set to a PIN gateway policy container. The status instruction message of the first communication device, The first communication device includes at least one of the following: a status indication message for the PIN where the first communication device is located.

[0190] If, selectively, the information relating to the first communication device includes only the instruction information of the first communication device, the instruction information of the first communication device is provided by the application function of the PIN.

[0191] Selectively, the decision module further, Used to receive the first information transmitted by the fifth communication device, wherein the first information is One or more PIN routing rules, The second communication device includes at least one of the following: a sixth set of instructional information for instructing the UDM to obtain subscription information for the first communication device from the UDM and determine the URSP rule.

[0192] Selectively, the decision module further, The second communication device is used to receive the second information transmitted by the fifth communication device, where the second information is: One or more PIN routing rules, A seventh instruction information for instructing the second communication device to obtain subscription information for the first communication device from the UDM and determine PIN routing rules, This includes at least one of the following: an eighth instructional piece of information indicating that the second communication device does not provide URSP rules.

[0193] Selectively, the first transmitting module further, Transmitting the URSP rule to the first communication device, Transmitting the PIN routing rule to a third communication device, It is used for at least one of the following: transmitting the PIN routing rule to a fourth communication device.

[0194] This device determines a first rule and transmits this first rule, thereby enabling a first communication device to acquire this first rule. Based on this first rule, it establishes the same or different data transmission channels for one or more PINE(s) within the PIN where it is located, achieving differentiated traffic routing for different types of PINEs, and ensuring that elements within the PIN network use network services more efficiently and with higher quality.

[0195] The traffic routing device according to the embodiment of this application can implement each process realized by the embodiment of the method shown in Figure 11 and achieve the same technical effects, and to avoid repetition of the explanation, it will not be explained further here.

[0196] As shown in Figure 15, the traffic routing device 1500 of the embodiment of this application is The second transmitting module 1510 is included, and the second transmitting module 1510 is connected to the second communication device. The second communication device uses the first information to determine the URSP rule, The second communication device is used to transmit at least one of the following: a second piece of information for determining a PIN routing rule. Here, the URSP rule and / or the PIN routing rule are designated as the first rule and are used to establish the same or different data transmission channels for a single PIN.

[0197] Selectively, the first information is One or more PIN routing rules, The second communication device includes at least one of the following: a sixth set of instructional information for instructing the UDM to obtain subscription information for the first communication device from the UDM and determine the URSP rule.

[0198] Selectively, the second piece of information is One or more PIN routing rules, A seventh instruction information for instructing the second communication device to obtain subscription information for the first communication device from the UDM and determine PIN routing rules, This includes at least one of the following: an eighth instructional piece of information indicating that the second communication device does not provide URSP rules.

[0199] Selectively, the apparatus, If at least one of the first information and the second information includes one or more PIN routing rules, the fifth communication device includes a PIN-related information acquisition module for acquiring PIN-related information, The system further includes a PIN routing rule determination module for determining one or more PIN routing rules based on the aforementioned PIN-related information.

[0200] Selectively, the apparatus, It further includes a fourth transmitting module, the fourth transmitting module is A fourth instruction information for indicating that the second communication device does not provide URSP rules, It is used to transmit at least one of a fifth instruction piece of information that instructs that traffic with the same PIN be matched to the same PDU session.

[0201] This device transmits at least one of the first and second pieces of information, causing a second communication device to determine the first rule, thereby ensuring that the first communication device establishes the same or different data transmission channels for one or more PINE(s) within the PIN where it is located based on this first rule, thereby achieving differentiated traffic routing for different types of PINEs, and ensuring that elements within the PIN network use network services more efficiently and with higher quality.

[0202] The traffic routing device according to the embodiment of the present application realizes each process realized by the embodiment of the method in FIG. 12 and can achieve the same technical effect, and for the sake of avoiding repeated description, it will not be described further here.

[0203] Optionally, as shown in FIG. 16, the embodiment of the present application further provides a communication device 1600, which includes a processor 1601 and a memory 1602, and a program or instruction executable on the processor 1601 is stored in the memory 1602. For example, when this communication device 1600 is a terminal, when this program or instruction is executed by the processor 1601, each step of the embodiment of the traffic routing method executed by the above first communication device is realized and the same technical effect can be achieved. When this communication device 1600 is a network-side device, when this program or instruction is executed by the processor 1601, each step of the embodiment of the traffic routing method executed by the above second communication device or the fifth communication device is realized and the same technical effect can be achieved. For the sake of avoiding repeated description, it will not be described further here.

[0204] The embodiment of the present application further provides a terminal including a processor and a communication interface. The processor is used to obtain a first rule. Here, the first rule is used to establish the same or different data transmission channels for one or more PINEs of one PIN. The first communication device and the one or more PINEs are located within the same PIN, and a data transmission channel is established based on the first rule. The embodiment of this terminal corresponds to the embodiment of the method on the side of the above first communication device. Each implementation process and implementation method of the embodiment of the above method can be applied to the embodiment of this terminal, and the same technical effect can be achieved. Specifically, FIG. 17 is a schematic hardware structure diagram for realizing the terminal of the embodiment of the present application.

[0205] This terminal 1700 includes at least some of the members such as a radio frequency unit 1701, a network module 1702, an audio output unit 1703, an input unit 1704, a sensor 1705, a display unit 1706, a user input unit 1707, an interface unit 1708, a memory 1709, and a processor 1710, but is not limited thereto.

[0206] As can be understood by those skilled in the art, the terminal 1700 may further include a power source (e.g., a battery) for supplying power to each member, and the power source may be logically connected to the processor 1710 by a power management system, whereby functions such as charge and discharge management and power consumption management can be realized by the power management system. The terminal structure shown in FIG. 17 does not constitute a limitation on the terminal, and the terminal may include more or fewer members than the members shown in the figure, or a combination of some members, or a combination of some members, or an arrangement of different members, which will not be further described herein.

[0207] It should be understood that in the embodiments of the present application, the input unit 1704 may include a graphics processing unit (GPU) 17041 and a microphone 17042. The graphics processor 17041 processes the image data of a still image or a video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 1706 may include a display panel 17061, and the display panel 17061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1707 includes at least one of a touch panel 17071 and other input devices 17072. The touch panel 17071 is also called a touch screen. The touch panel 17071 may include two parts, a touch detection device and a touch controller. The other input devices 17072 may include a physical keyboard, function keys (e.g., volume control buttons, switch buttons, etc.), a trackball, a mouse, an operation lever, but are not limited thereto, which will not be further described herein.

[0208] In the embodiments of this application, the radio frequency unit 1701 can receive downlink data from network-side equipment and transmit it to the processor 1710 for processing, and the radio frequency unit 1701 can also transmit uplink data to network-side equipment. Generally, the radio frequency unit 1701 includes, but is not limited to, an antenna, amplifier, transceiver, coupler, low-noise amplifier, duplexer, etc.

[0209] Memory 1709 may be used to store software programs or instructions and various types of data. Memory 1709 may include a first storage area mainly for storing programs or instructions and a second storage area for storing data, where the first storage area can store an operating system, an application program or instructions necessary for at least one function (e.g., audio playback function, image playback function, etc.), etc. Memory 1709 may also include volatile memory or non-volatile memory, or memory 1709 may include both volatile and non-volatile memory. Here, non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), or flash memory. Volatile memory may be random access memory (RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM, SLDRAM), and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 1709 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0210] The processor 1710 may include one or more processing units, and optionally, the processor 1710 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface and application programs, and the modem processor mainly handles wireless communication signals, such as a baseband processor. To be clear, the above modem processor does not have to be integrated into the processor 1710.

[0211] Here, the processor 1710 is used to acquire a first rule, which is used to establish the same or different data transmission channels for one or more PIN elements PINE of a personal IoT network PIN, the first communication device and the one or more PINEs are located within the same PIN and establish data transmission channels based on the first rule.

[0212] Selectively, the first rule includes a mapping relationship between PIN description information and protocol data unit (PDU) session parameters.

[0213] If the first rule is selectively used to establish the same data transmission channel for one or more PINEs of a single PIN, the PIN description information is: PIN type, Service type and PIN identifier and It includes at least one of the following: first instruction information for instructing one or more PINEs to use network services via a PIN gateway within a single PIN.

[0214] If the first rule is selectively used to establish different data transmission channels for one or more PINEs of a single PIN, the PIN description information is: Service type and Second instruction information to indicate whether PINE is an internal or external device, It includes at least one of the following: a third piece of information that points to one or more PINEs in the same group.

[0215] Selectively, the first rule is, URSP rules and, PIN routing rules.

[0216] Selectively, the traffic description information of the URSP rule includes PIN description information.

[0217] Selectively, the radio frequency unit 1701 is Receiving the URSP rule transmitted by the second communication device, Receiving PIN routing rules transmitted by a third communication device, It is used for at least one of the following: receiving PIN routing rules transmitted by a fourth communication device.

[0218] Selectively, the radio frequency unit 1701 is Used to receive the PIN routing rule transmitted by the downlink non-access layer transmission message, the PIN routing rule is included in the first information element of the downlink non-access layer transmission message, where the first information element is: A payload container information element where the payload container type is set as a terminal policy container, A payload container information element where the payload container type is set to PIN gateway policy container, It includes at least one of the following: PIN routing rule information element.

[0219] Selectively, the radio frequency unit 1701 is It is used to receive the PIN routing rule transmitted by the PDU session modification command, and the PIN routing rule is included in the second information element of the PDU session modification command, where the second information element is a service public land mobile network PLMN rate control information element, and an extended protocol configuration option information element, and includes at least one of a PIN routing rule information element.

[0220] Optionally, the radio frequency unit 1701 is transmitted by a fifth communication device, and further includes transmitting at least one of fourth indication information for instructing that the second communication device does not provide a URSP rule and fifth indication information for instructing that traffic of the same PIN matches the same PDU session.

[0221] Optionally, the radio frequency unit 1701 is used to transmit related information of the first communication device, where the related information of the first communication device includes at least one of the capability information of the first communication device for instructing that the first communication device has gateway capabilities, the indication information of the first communication device for identifying the first communication device, and the policy container of the first communication device for requesting a URSP rule.

[0222] Optionally, the processor 1710 is to determine a candidate rule that matches the first PINE based on the PINE description information of the first PINE, where the candidate rule includes one or more of the first rules, and If the candidate rule includes one of the first rules, the data transmission channel of the first PINE is established using the first rule, If the candidate rule includes multiple first rules, the first rule with the highest priority is used to establish the data transmission channel of the first PINE.

[0223] After a terminal acquires a first rule, it can establish the same or different data transmission channels for one or more PINE(s) within the PIN where it is located based on this first rule, enabling differentiated traffic routing for different types of PINEs and ensuring that elements within the PIN network use network services more efficiently and with higher quality.

[0224] Specifically, embodiments of this application further provide network-side equipment. As shown in Figure 18, this network-side equipment 1800 includes a processor 1801, a network interface 1802, and a memory 1803. Here, the network interface 1802 is, for example, a common public radio interface (CPRI).

[0225] Specifically, the network-side device 1800 of the embodiment of this application further includes instructions or programs stored in memory 1803 and operable on processor 1801, the processor 1801 can call instructions or programs in memory 1803 and perform the same technical effects as those performed by the modules shown in Figure 14 or Figure 15, and will not be described further here to avoid repetition.

[0226] Embodiments of this application further provide a readable storage medium on which a program or instruction is stored, and when this program or instruction is executed by a processor, each process of the embodiments of the traffic routing method performed by the first communication device, the traffic routing method performed by the second communication device, or the traffic routing method performed by the fifth communication device can be realized, and the same technical effects can be achieved. To avoid repetition, no further explanation is provided here.

[0227] Here, the processor is the processor in the terminal in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, random access memory RAM, magnetic disk, or optical disk.

[0228] Embodiments of this application further provide a chip comprising a processor and a communication interface, the communication interface being coupled with the processor, the processor executing a program or instructions, and used to implement each process of the embodiment of the traffic routing method performed by the first communication device, or the traffic routing method performed by the second communication device, or the traffic routing method performed by the fifth communication device, and achieving the same technical effects. To avoid repetition, no further explanation is provided here.

[0229] It should be understood that the chips referred to in the embodiments of this application may also be called system-level chips, system chips, chip systems, or system-on-a-chip, etc.

[0230] Embodiments of this application further provide a computer program / program product in which the computer program / program product is stored in a storage medium, and the computer program / program product is executed by at least one processor to implement each process of the embodiment of the traffic routing method executed by the first communication device, or the traffic routing method executed by the second communication device, or the traffic routing method executed by the fifth communication device, and can achieve the same technical effects. To avoid repetition, no further explanation is provided here.

[0231] Embodiments of the present application further provide a traffic routing system including a terminal and network-side equipment, wherein the terminal may be used to perform steps of the above-described traffic routing method performed by a first communication device, and the network-side equipment may be used to perform steps of the above-described traffic routing method performed by a second communication device, or by a fifth communication device.

[0232] It should be noted that, in this specification, the terms “including,” “contains,” or any other variation thereof are intended to cover the non-exclusive “including,” thereby including not only those elements but also other elements not explicitly listed, or elements specific to such process, method, article, or apparatus. Unless otherwise specified, the phrase “including one of…” does not preclude the presence of other identical elements in a process, method, article, or apparatus containing that element. It should also be noted that the scope of methods and apparatus in embodiments of this application is not limited to performing functions in the order shown or discussed, but may include performing functions in a manner that is essentially simultaneous or in reverse order based on the functions involved, for example, performing methods described in a different procedure than that described, and adding, omitting, or combining various steps. Furthermore, features described by reference to some examples may be combined with other examples.

[0233] As will be readily apparent to those skilled in the art from the above description of the embodiments, the methods of the above embodiments can be implemented in the form of software and a necessary general-purpose hardware platform. Of course, they may also be implemented in hardware, but in many cases the former is a more preferred embodiment. With this understanding in mind, the technical proposal of this application may be embodied in the form of a computer software product, either substantially or in part with respect to the prior art. This computer software product is stored on a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) and contains some instructions for causing a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to perform the methods of each embodiment of this application.

[0234] The above describes embodiments of this application, accompanied by drawings; however, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can, by the suggestion of this application, make many forms, as long as they do not deviate from the spirit of this application and the scope protected by the claims, and all of these fall within the scope of protection of this application.

Claims

1. A traffic routing method, The first communication device acquires a first rule, wherein the first communication device is a PEGC (PIN Element with Gateway Capability), the first rule is used to establish the same or different data transmission channels for one or more PIN elements PINE of a personal IoT network PIN, and the first communication device and the one or more PINEs are located within the same PIN. This includes the first communication device establishing a data transmission channel based on the first rule, The first rule mentioned above is a traffic routing method that includes a mapping relationship between PIN description information and protocol data unit PDU session parameters.

2. When the first rule is used to establish the same data transmission channel for one or more PINEs of a single PIN, the PIN description information is: PIN type and Service type and PIN identifier and The method according to claim 1, comprising at least one of first instruction information for instructing one or more PINEs to use network services via a PIN gateway within a single PIN.

3. When the first rule is used to establish different data transmission channels for one or more PINs of a single PIN, the PIN description information is: Service type and Second instruction information to indicate whether PINE is an internal or external device, The method according to claim 1, comprising at least one of the following: a third instruction information for indicating one or more PINs in the same group.

4. The first rule mentioned above is, URSP rules and, The method according to claim 1, wherein at least one of the PIN routing rules.

5. The method according to claim 4, wherein the traffic description information of the URSP rule includes the PIN description information.

6. The acquisition of the first rule by the aforementioned first communication device means that Receiving URSP rules transmitted by a second communication device, Receiving PIN routing rules transmitted by a third communication device, This includes at least one of the following: receiving PIN routing rules transmitted by a fourth communication device; The method according to claim 4, wherein the second communication device is a PCF (Policy Control Function), the third communication device is an AMF (Access and Mobility Management Function), and the fourth communication device is an SMF (Session Management Function).

7. Receiving the PIN routing rules transmitted by the aforementioned third communication device means that The process includes receiving the PIN routing rule transmitted by a downlink non-access layer transmission message, wherein the PIN routing rule is included in a first information element of the downlink non-access layer transmission message, where the first information element is: A payload container information element where the payload container type is set as a terminal policy container, A payload container information element where the payload container type is set to PIN gateway policy container, The method according to claim 6, comprising at least one of the following: a PIN routing rule information element.

8. Receiving the PIN routing rules transmitted by the aforementioned fourth communication device means that The process includes receiving the PIN routing rule transmitted by the PDU session modification command, wherein the PIN routing rule is included in a second information element of the PDU session modification command, where the second information element is: Service public land mobility network (PLMN) rate control information element, Extended protocol configuration option information element, The method according to claim 6, comprising at least one of the following: a PIN routing rule information element.

9. Transmitted by the fifth communication device, A fourth instructional piece of information to instruct the second communication device not to provide URSP rules, The further includes receiving at least one of a fifth instructional piece of information that instructs that traffic of the same PIN be matched to the same PDU session, The method according to claim 1, wherein the fifth communication device is a PIN (Personal IoT Network) MF (Management Function), and the second communication device is a PCF.

10. The aforementioned method, The first communication device further includes transmitting related information of the first communication device, wherein the related information of the first communication device is: Capability information of the first communication device for indicating that the first communication device has gateway capability, Instruction information for the first communication device for identifying the first communication device, The method according to claim 1, further comprising at least one of the following: a policy container of the first communication device for requesting URSP rules.

11. The first communication device establishes a data transmission channel based on the first rule, The first communication device determines a candidate rule that matches the first PINE based on the PINE description information of the first PINE, wherein the candidate rule includes one or more of the first rules. If the candidate rule includes one of the first rules, the first rule is used to establish the data transmission channel of the first PINE, The method according to claim 1, wherein if the candidate rule includes a plurality of the first rules, the first rule having the highest priority is used to establish the data transmission channel for the first PINE.

12. A traffic routing method, The second communication device determines the first rule, wherein the second communication device is a PCF, and the first rule is used to establish the same or different data transmission channels for one or more PINs of a single PIN. This includes the second communication device transmitting the first rule, The first rule mentioned above is a traffic routing method that includes a mapping relationship between PIN description information and PDU session parameters.

13. When the first rule is used to establish the same data transmission channel for one or more PINEs of a single PIN, the PIN description information is: PIN type and Service type and PIN identifier and Includes at least one of the following: first instruction information for instructing one or more PINEs to use network services via a PIN gateway within a single PIN; Or, When the first rule is used to establish different data transmission channels for one or more PINs of a single PIN, the PIN description information is: Service type and Second instruction information to indicate whether PINE is an internal or external device, The method according to claim 12, comprising at least one of the following: a third instruction information for indicating one or more pines in the same group.

14. The first rule mentioned above is, URSP rules and, The method according to claim 12, wherein at least one of the PIN routing rules.

15. The method according to claim 14, wherein the traffic description information of the URSP rule includes the PIN description information.

16. The second communication device determines the first rule, To acquire relevant information of the first communication device and to determine the URSP rule based on the relevant information of the first communication device, To obtain the first information and to determine the URSP rule based on the said first information, This includes at least one of obtaining a second piece of information and determining the PIN routing rule based on the second piece of information, The method according to claim 14, wherein the first communication device is PEGC.

17. A traffic routing method, The fifth communication device is connected to the second communication device. The second communication device uses the first information for determining the URSP rule, The second communication device transmits at least one of the following: a second piece of information for determining PIN routing rules. Here, the fifth communication device is a PIN MF, and the second communication device is a PCF, and the URSP rule and / or the PIN routing rule are used as the first rule to establish the same or different data transmission channels for a single PIN's PINE. The first rule mentioned above is a traffic routing method that includes a mapping relationship between PIN description information and PDU session parameters.

18. The first piece of information mentioned above is, One or more PIN routing rules, The second communication device includes at least one of the following: a sixth instruction information for instructing the second communication device to obtain subscription information for the first communication device from the UDM and determine the URSP rule, The method according to claim 17, wherein the first communication device is PEGC.

19. A terminal comprising a processor and memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, a step of the traffic routing method according to any one of claims 1 to 11 is realized.

20. A network-side device comprising a processor and memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, it realizes the traffic routing method according to any one of claims 12 to 16.

21. A network-side device comprising a processor and memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, it realizes a step of the traffic routing method according to claim 17 or 18.