WO2024017167A1 - 规则处理方法、通信设备及网络侧设备 - Google Patents

规则处理方法、通信设备及网络侧设备 Download PDF

Info

Publication number
WO2024017167A1
WO2024017167A1 PCT/CN2023/107530 CN2023107530W WO2024017167A1 WO 2024017167 A1 WO2024017167 A1 WO 2024017167A1 CN 2023107530 W CN2023107530 W CN 2023107530W WO 2024017167 A1 WO2024017167 A1 WO 2024017167A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
address
mapping rule
rule
mapping
Prior art date
Application number
PCT/CN2023/107530
Other languages
English (en)
French (fr)
Inventor
王文
谢振华
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2024017167A1 publication Critical patent/WO2024017167A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Definitions

  • This application belongs to the field of wireless communication technology, and specifically relates to a rule processing method, communication equipment and network side equipment.
  • the first device that is not connected to the 3rd Generation Partnership Project (3GPP) can interact with the second device (which can be called a control gateway) through the non-3GPP access technology, thereby through the second device.
  • the device communicates with the network side.
  • personal Internet of Things devices taking home devices as examples, such as TVs, air conditioners, sweeping robots, etc.
  • personal Internet of Things devices can access the network through the control gateway in the Personal Internet of Things
  • personal Internet of Things devices can access the network through Bluetooth, WiFi, etc.
  • the technology accesses the control gateway, and the control gateway then accesses the network through 3GPP technology.
  • the control gateway in the personal Internet of Things can be a gateway in a smart home scenario, which can appear in the form of a user equipment (User Equipment, UE) certified by the operator.
  • User Equipment, UE User Equipment
  • This application considers the scenario where different first devices may access the network through the same second device.
  • audio, television, sweeping robots, etc. may access the network through the same UE.
  • the functions of different first devices may be different, and through the first device of the second device, relevant address information needs to be obtained and/or data of different functions need to be differentially processed to ensure that the data of the first device can be successfully Transmitted and processed through the personal Internet of Things, and currently there is no guarantee in the relevant technology that the data of the first device can be successfully transmitted and processed through the personal Internet of Things.
  • Embodiments of the present application provide a rule processing method, communication device and network-side device, which can solve the technical problem that the above-mentioned related technologies cannot guarantee that the first device can successfully realize data transmission and processing through the personal Internet of Things.
  • a rule processing method including: a first device receiving first information sent by a first network function, wherein the first information includes at least one of the following: a first mapping rule, a first allocation rule ; The first information is used for the first device to perform a first operation based on the first information, and the first operation includes at least one of the following: forwarding the data sent by the second device to the network side device; for the first The second device allocates an IP address; sends the IP address to the second device; wherein the second device interacts with the first device through a non-3GPP access technology.
  • a rule processing device applied to a first device.
  • the device includes: a first receiving module configured to receive first information sent by the network side, wherein the first information includes at least one of the following: Items: first mapping rule, first allocation rule; first execution module, configured to perform a first operation based on the first information, where the first operation includes at least one of the following: forwarding the second device to the network side device Send data; assign an IP address to the second device; send the IP address to the second device; wherein the second device interacts with the first device through a non-3GPP access technology.
  • a rule processing method including: a first network function sending first information to a first device, where the first information includes at least one of the following: a first mapping rule, a first allocation rule; wherein, The first mapping rule is used to instruct the first device to forward the data sent by the second device to the network side device based on the first mapping rule; the first allocation rule is used to instruct the first device to forward the data sent by the second device to the network side device based on the first mapping rule.
  • the first allocation rule allocates an IP address to the second device and/or sends the IP address to the second device; the second device interacts with the first device through non-3GPP access technology.
  • a rule processing device including: a first acquisition module, configured to acquire first information, where the first information includes at least one of the following: a first mapping rule, a first allocation rule; a first sending A module configured to send the first information to the first device; wherein the first mapping rule is used to instruct the first device to forward the data sent by the second device to the network side device based on the first mapping rule; the The first allocation rule is used to instruct the first device to allocate an IP address to the second device and/or send the IP address to the second device based on the first allocation rule; the second device uses a non-3GPP access technology Interact with the first device.
  • a rule processing method including: second information sent by a second network function to a first network function, where the second information includes at least one of the following: a mapping rule indication; a second mapping rule; An allocation rule; wherein the mapping rule indication is used to instruct the first network function to obtain the first mapping rule corresponding to the target identifier; the second mapping rule is used to instruct the first network function to obtain the first mapping rule based on the second
  • the mapping rule sends a first mapping rule to the first device; the first allocation rule is used by the first network function to instruct the first device to allocate an IP address to the second device based on the first allocation rule and/or to The second device sends an IP address; the second device interacts with the first device through non-3GPP access technology.
  • a rule processing device including: a second acquisition module for acquiring second information; Two sending modules, configured to send second information to the first network function, where the second information includes at least one of the following: mapping rule indication; second mapping rule; first allocation rule; wherein the mapping rule indication is The first network function is used to instruct the first network function to obtain the first mapping rule corresponding to the target identifier; the second mapping rule is used to instruct the first network function to send the first mapping to the first device based on the second mapping rule.
  • the first allocation rule is used by the first network function to instruct the first device to allocate an IP address to the second device and/or send the IP address to the second device based on the first allocation rule; the second device Interacting with the first device via a non-3GPP access technology.
  • a communication device in a seventh aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are implemented when executed by the processor. The steps of the method as described in the first aspect.
  • a communication device including a processor and a communication interface, wherein the processor is used to implement the steps of the method described in the first aspect, and the communication interface is used to communicate with an external device.
  • a network side device in a ninth aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are executed by the processor.
  • a network side device including a processor and a communication interface, wherein the processor is used to implement the steps of the method described in the third aspect, or to implement the steps of the method described in the fifth aspect.
  • the communication interface is used to communicate with external devices.
  • a rule processing system including: a communication device and a network side device.
  • the communication device can be used to perform the steps of the method described in the first aspect.
  • the network side device includes a first network side device. device and/or a second network side device, the first network side device may be used to perform the steps of the method described in the third aspect, and the second network side device may be used to perform the steps of the method described in the fifth aspect step.
  • a readable storage medium is provided. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method are implemented. The steps of the method as described in the third aspect, or the steps of implementing the method as described in the fifth aspect.
  • a chip in a thirteenth aspect, includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the method described in the first aspect. The steps of the method, or the steps of implementing the method as described in the third aspect, or the steps of implementing the method as described in the fifth aspect.
  • a computer program/program product is provided, 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 as described in the first aspect
  • the first device in a scenario where the second device interacts with the first device through a non-3GPP access technology, the first device receives first information from the network side, and the first information includes the first mapping rule and/or the first An allocation rule, the first device can forward the data sent by the second device to the network side device and/or allocate an IP address to the second device and/or send the IP address to the second device based on the first information.
  • the first device can route data sent by different second devices that are accessed and/or allocate IP addresses to different second devices that are accessed, so that the first device can effectively realize data transmission and transmission through the personal Internet of Things. deal with.
  • Figure 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable
  • Figure 2 shows a schematic diagram of a personal Internet of Things applicable to the embodiment of the present application
  • Figure 3 shows a schematic flowchart of a rule processing method provided by an embodiment of the present application
  • Figure 4 shows a schematic flowchart of another rule processing method provided by an embodiment of the present application.
  • Figure 5 shows a schematic flowchart of another rule processing method provided by an embodiment of the present application.
  • Figure 6 shows a schematic flow chart of a PIN mapping rule processing method in an embodiment of the present application
  • Figure 7 shows a schematic flowchart of an address allocation rule processing method in an embodiment of the present application
  • Figure 8 shows a schematic flow chart of another address allocation rule processing method in an embodiment of the present application.
  • Figure 9 shows a schematic flowchart of another address allocation rule processing method in an embodiment of the present application.
  • Figure 10 shows a schematic structural diagram of the rule processing device in the embodiment of the present application.
  • Figure 11 shows another schematic structural diagram of a rule processing device provided by an embodiment of the present application.
  • Figure 12 shows another schematic structural diagram of a rule processing device provided by an embodiment of the present application.
  • Figure 13 shows a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Figure 14 shows a schematic diagram of the hardware structure of a terminal provided by an embodiment of the present application.
  • Figure 15 shows a schematic hardware structure diagram of a network-side device provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects. It is not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and that "first" and “second” are distinguished objects It is usually one type, and the number of objects is not limited.
  • the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • LTE Long Term Evolution
  • LTE-Advanced, LTE-A Long Term Evolution
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • OFDMA Orthogonal Frequency Division Multiple Access
  • SC-FDMA Single-carrier Frequency Division Multiple Access
  • system and “network” in the embodiments of this application are often used interchangeably, and the described technology can be used not only for the above-mentioned systems and radio technologies, but also for other systems and radio technologies.
  • NR New Radio
  • the following description describes a New Radio (NR) system for example purposes, and uses NR terminology in much of the following description, but these techniques can also be applied to applications other than NR system applications, such as 6th Generation , 6G) communication system.
  • NR New Radio
  • FIG. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable.
  • the wireless communication system includes a terminal 11 and a network side device 12.
  • the terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, or a super mobile personal computer.
  • Tablet Personal Computer Tablet Personal Computer
  • laptop computer laptop computer
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • UMPC ultra-mobile personal computer
  • UMPC mobile Internet device
  • MID mobile Internet Device
  • AR augmented reality
  • VR virtual reality
  • robots wearable devices
  • WUE Vehicle User Equipment
  • PUE Pedestrian User Equipment
  • smart home home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.
  • game consoles personal computers (personal computer, PC), teller machine or self-service machine and other terminal-side devices.
  • Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets) bracelets, smart anklets, etc.), smart wristbands, smart clothing, etc.
  • the network side device 12 may include an access network device and/or a core network device, where the access network device 12 may also be called a radio access network device, a radio access network (Radio Access Network, RAN), or a radio access network. function or radio access network unit.
  • the access network device 12 may include a base station, a WLAN access point or a WiFi node, etc.
  • the base station may be called a Node B, an evolved Node B (evolved Node B, eNB), an access point, or a Base Transceiver Station (Base Transceiver Station).
  • the base station is not limited to specific technical terms. It should be noted that in the embodiment of this application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited. .
  • Core network equipment may include but is not limited to at least one of the following: core network nodes, core network functions, mobility management entities (Mobility Management Entity, MME), access mobility management functions (Access and Mobility Management Function, AMF), session management functions (Session Management Function, SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Service Discovery function (Edge Application Server Discovery Function, EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), centralized network configuration ( Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (Local NEF, or L-NEF), Binding Support Function (Binding Support Function, BSF), application function (Application Function, AF), etc.
  • MME mobility management entities
  • AMF Access and Mobility Management Function
  • SMF Session Management Function
  • UPF User Plane Function
  • PCF Policy Control Function
  • FIG. 2 shows a schematic architectural diagram of a personal Internet of Things applicable to the embodiment of the present application.
  • the Personal Internet of Things Personal IoT Network Equipment, PINE
  • the gateway PIN Element with Gateway Capability, PEGC
  • 5GS Fifth Generation System
  • personal IoT devices can be connected to the PEGC through technologies such as Bluetooth and wifi, and the PEGC is then connected to the PEGC through 3GPP technology. network.
  • Figure 3 shows a schematic flowchart of the rule processing method in the embodiment of the present application.
  • the method 300 can be executed by the first device.
  • the method may be performed by software or hardware installed on the first device.
  • the method may include the following steps.
  • the first device receives the first information sent by the first network function, where the first information includes at least one of the following: a first mapping rule and a first allocation rule.
  • the first information is used by the first device to perform a first operation based on the first information, and the first operation includes at least one of the following:
  • the data can be forwarded to the network-side device based on the first mapping rule.
  • the first device may transmit the data through a target protocol data unit (PDU) based on the first mapping rule, where the target PDU is a PDU determined based on the first mapping rule.
  • PDU target protocol data unit
  • the first mapping rule may include one or more.
  • the first network function may be a network element on the network side.
  • the first network function may be a PCF or a Personal IoT Network management function (PINMF).
  • PINMF Personal IoT Network management function
  • the first mapping rule may include first session description information, and the first device may obtain a target PDU matching the first session description information based on the first mapping rule.
  • the first session description information may include at least one of the following:
  • S-NSSAI Single Network Slice Selection Assistance Information
  • the first mapping rule may also include an association relationship between the first association information and the first session description information, where the first The associated information may include at least one of the following:
  • Source IP address when forwarding data sent by the second device, the first device can determine the corresponding first session description information based on the source IP address of the data, and then transmit it through the target PDU session corresponding to the first session description information. the data.
  • the first device when forwarding data sent by the second device, the first device can determine the corresponding first session description information based on the source IP address range matched by the source IP address of the data, and then use the determined The target PDU session corresponding to the first session description information transmits the data.
  • Target IP address when forwarding data sent by the second device, the first device can determine the corresponding first session description information based on the target IP address of the data, and then transmit it through the target PDU session corresponding to the first session description information. the data.
  • Target IP address range when the first device forwards the data sent by the second device, it can The target IP address range matched by the target IP address determines the corresponding first session description information, and then transmits the data through the target PDU session corresponding to the determined first session description information.
  • Source Media Access Control Medium Access Control, MAC
  • the first device when forwarding the data sent by the second device, the first device can determine the corresponding first session description information based on the source MAC address of the data, and then determine the The target PDU session corresponding to the first session description information transmits the data.
  • MAC Medium Access Control
  • Source MAC address range when forwarding data sent by the second device, the first device can determine the corresponding first session description information based on the source MAC address range matched by the source MAC address of the data, and then use the determined The target PDU session corresponding to the first session description information transmits the data.
  • Target MAC address when forwarding data sent by the second device, the first device can determine the corresponding first session description information based on the target MAC address of the data, and then transmit it through the target PDU session corresponding to the first session description information. the data.
  • Target MAC address range when forwarding data sent by the second device, the first device can determine the first session description information corresponding to the target MAC address range based on the target MAC address range matched by the target MAC address of the data. , and then transmit the data through the target PDU session corresponding to the determined first session description information;
  • SSID Service Set Identifier
  • AP Access Point
  • Bluetooth identification when forwarding the data sent by the second device, the first device determines the first session description information corresponding to the Bluetooth identification used by the second device to connect to the first device, and then passes the determined The target PDU session corresponding to the first session description information transmits the data.
  • Source port number when forwarding the data sent by the second device, the first device determines the first session description information corresponding to the source port number of the data, and then passes the target PDU session corresponding to the determined first session description information Transfer this data.
  • Source port range when forwarding data sent by the second device, the first device obtains the source port range that matches the source port number of the data, determines the first session description information corresponding to the obtained source port range, and then uses The target PDU session corresponding to the determined first session description information transmits the data.
  • Target port number when forwarding the data sent by the second device, the first device determines the first session description information corresponding to the target port number of the data, and then passes the target PDU session corresponding to the determined first session description information Transfer this data.
  • Target port range when the first device forwards the data sent by the second device, it obtains the target end of the data The target port range matching the slogan determines the first session description information corresponding to the obtained target port range, and then transmits the data through the target PDU session corresponding to the determined first session description information.
  • Protocol information of the data when forwarding the data sent by the second device, the first device determines the first session description information corresponding to the data protocol used by the data, and then passes the target corresponding to the determined first session description information The PDU session transmits this data.
  • Default indication used to indicate arbitrary data. For example, if the first mapping rule includes an association relationship between the default indication and the first session description information, it indicates that any data can be transmitted through the PDU session corresponding to the first session description information.
  • the first mapping rule may include an association between at least one of the above items and the first session description information.
  • the first device, based on the first mapping rule, transmitting the data through the target PDU session may include: the first device based on the first mapping rule and the data Data attribute information, the data is transmitted through the target PDU session, where the target PDU session corresponds to the first session description information.
  • the first device may obtain the first session description information that matches the data attribute information of the data according to the first mapping rule, and transmit the data through the target PDU session corresponding to the obtained first session description information. .
  • the data attribute information includes but is not limited to at least one of the following:
  • Source IP address that is, the source IP address of the data to be forwarded.
  • Target IP address that is, the target IP address of the data to be forwarded.
  • the SSID used by the second device to connect to the first device for example, both the first device and the second device can be hotspots or Bluetooth broadcasters, and the data attribute information of the data includes the SSID used by the second device to connect to the first device.
  • the SSID used when describing the first device when describing the first device.
  • Source MAC address that is, the source MAC address of the data to be forwarded.
  • Target MAC address that is, the target MAC address of the data to be forwarded.
  • Source port number that is, the source port number of the data to be forwarded.
  • Target port number that is, the target port number of the data to be forwarded.
  • the first mapping rule may also include priority information, where the priority information is used to indicate the priority of the first mapping rule.
  • the first device uses the first mapping rule based on the priority of each of the first mapping rules. For example, in the first mapping rule In the case of multiple ones, when forwarding the data of the second device, the first device can first select the first mapping rule with the highest priority in order from high to low priority. If the first mapping rule does not match the data to be If the first session description information associated with the data attribute information of the forwarded data is used, the first mapping rule with the next highest priority can be used to obtain the data attribute information associated with the data to be forwarded according to the first mapping rule with the next highest priority. The first session description information.
  • the corresponding relationship between the relevant information of the second device and the priority can also be set.
  • the first device can select the first mapping rule of the corresponding priority to forward based on the relevant information of the second device, such as connection mode, service type, etc. Data from the second device.
  • the target PDU session may be an established target PDU session or a newly created target PDU session. For example, when the first device forwards data from the second device, if a target PDU session corresponding to the first session description information has been established, the data to be forwarded will be transmitted through the target PDU session. If the session description information corresponds to the target PDU session, then the target PDU session is established, and the data to be forwarded is transmitted through the newly created target PDU session.
  • the IP address can be allocated to the second device based on the first allocation rule and/or to the third device.
  • the second device sends the IP address.
  • the first device may register with the Personal Internet of Things Management Function (PINMF), receive the first information, and then allocate an IP address to the second device that accesses the first device and/or send the IP address to the second device.
  • PINMF Personal Internet of Things Management Function
  • the first device can first allocate an IP address to the second device according to the first allocation rule and send it to the second device, or the first device can determine the IP address to send to the second device according to the first allocation rule, and sent to the second device.
  • the first allocation rule includes Dynamic Host Configuration Protocol DHCP service address information or at least one of the following:
  • the first device can allocate an IP address to the second device within the address range indicated by the address range information, and/or the first device can select an IP address from the address range and send it to the second device.
  • the first device can allocate an IP address to the second device within the address range indicated by the address range information, and/or the first device can select an IP address from the address range and send it to the second device.
  • the first device can allocate an IP address to the second device based on the address mapping information, and/or the first device can obtain the IP address sent to the second device based on the address mapping information and send it to Secondary device.
  • the address mapping information includes any of the following:
  • the first device can obtain the IP address corresponding to the MAC address of the second device based on the MAC address of the second device.
  • the first device can obtain an IP address within the IP address range corresponding to the MAC address of the second device based on the MAC address of the second device.
  • the first device can obtain the MAC address range that matches the MAC address of the second device based on the MAC address of the second device, and then obtain the MAC address that matches the obtained MAC address. IP addresses within the IP address range corresponding to the address range.
  • corresponding IP addresses can be allocated to different second devices and/or corresponding IP addresses can be sent based on the first allocation rule, so as to facilitate subsequent management of the second devices.
  • the first device performing the first operation based on the first allocation rule may include: the first device forwards The DHCP message sent by the second device is sent to the DHCP server indicated by the DHCP service address information, or the DHCP message sent by the DHCP server is forwarded to the second device.
  • the first device forwards the DHCP message to the DHCP server indicated by the DHCP service address information, and the DHCP server allocates an IP address to the second device and/or assigns the IP address to the second device.
  • the device sends the IP address.
  • the second device sends the DHCP message to the DHCP server.
  • the DHCP server After the DHCP server allocates an IP address to the second device, it returns the DHCP message to the first device.
  • the first device determines that the DHCP server sending the DHCP message is the DHCP service address information.
  • the instructed DHCP server forwards the DHCP message to the second device.
  • the DHCP server can allocate an IP address to the second device and/or send the IP address to the second device.
  • the first device can map the data of different second devices to corresponding PDU sessions to correctly route the data.
  • the first device can also implement the IP address of the second device. distribution and/or delivery.
  • the first information received by the first device may be sent by the first network function (for example, PCF or PINMF).
  • the first network function for example, PCF or PINMF.
  • the embodiment of the present application also provides another rule processing method.
  • Figure 4 shows a schematic flowchart of another rule processing method provided by an embodiment of the present application. As shown in Figure 4, the method 400 mainly includes the following steps.
  • the first network function sends first information to the first device, where the first information includes at least one of the following: a first mapping rule and a first allocation rule.
  • the first mapping rule is used to instruct the first device to forward the data sent by the second device to the network side device based on the first mapping rule;
  • the first allocation rule is used to instruct The first device allocates an IP address to the second device and/or sends the IP address to the second device based on the first allocation rule;
  • the second device interacts with the first device through non-3GPP access technology.
  • the first information is the same as the first information in method 300. For details, please refer to the relevant description in method 300.
  • the first allocation rule includes DHCP service address information or at least one of the following:
  • Address range information this information indicates that the first device is within the address range indicated by the address range information.
  • the second device assigns an IP address and/or sends an IP address within the address range to the second device.
  • the address mapping information instructs the first device to allocate an IP address to the second device and/or send the IP address to the second device based on the information.
  • the address mapping information includes any of the following:
  • the address mapping information instructs the first device to allocate and/or send the IP address corresponding to the MAC address to the second device based on the MAC address of the second device.
  • the address mapping information instructs the first device to allocate and/or send the IP address within the IP address range corresponding to the MAC address range to the second device according to the MAC address range to which the MAC address of the second device belongs.
  • the method when the first allocation rule includes DHCP service address information, the DHCP service address information is related to the first network function, and the method further includes: the first network The function performs a second operation based on the information related to the second device, and the second operation includes at least one of the following:
  • the first network function includes DHCP service address information in the first allocation rule, that is, instructs the first device to send the second device Forward the DHCP message to the DHCP server corresponding to the DHCP service address information (the first network function in this possible implementation) or forward the DHCP message sent by the DHCP server corresponding to the DHCP service address information to the second device, in addition , the first network function may allocate one or more items to the second device based on information related to the second device, such as the MAC address of the second device, supported service information, recommended QoS requirements, device type information, etc. IP address and/or transmit the IP address to the second device.
  • the first network function When the first network function does not have a DHCP server function or the first network function and the DHCP server are respectively configured on independent network elements, the first network function includes DHCP service address information in the first allocation rule, that is, instructs the first device to assign the second
  • the DHCP message sent by the device is forwarded to the DHCP server corresponding to the DHCP service address information or the DHCP message sent by the DHCP server corresponding to the DHCP service address information is forwarded to the second device.
  • the third network function DHCP server
  • the first network function allocates an IP address to the second device based on information related to the second device and returns it to the third network function.
  • the first network function can also be based on the information related to the second device and combined with the The first mapping rule performs the second operation.
  • the first network function can determine the first session description information corresponding to the data of the second device based on the information related to the second device and combined with the first mapping rule, and allocate an IP address and/or an IP address to the second device based on the first session description information. Or send the IP address to the second device.
  • the first network function may, after receiving a DHCP message from the PIN device, send a message based on the PIN device.
  • the MAC address determines the type of the PIN device, as well as one or more information in the corresponding DNN/network slice, IP range (range), etc., and then sends the IP address or IP range of the PIN device to based on these information.
  • the PIN device may, after receiving a DHCP message from the PIN device, send a message based on the PIN device.
  • the MAC address determines the type of the PIN device, as well as one or more information in the corresponding DNN/network slice, IP range (range), etc.
  • the first network function may receive the first address acquisition request of the third network function (DHCP server),
  • the first address acquisition request includes the MAC address of one or more PIN devices, and the first network function determines the type of the PIN device based on the MAC address, and at least one of the corresponding DNN/network slice, IP range, etc. information, and then sends a first address acquisition request reply to the third network function based on this information, where the reply message includes the IP address or IP range of the PIN device.
  • the first mapping rule may include first session description information, and the first session description information includes at least one of the following:
  • the first mapping rule also includes an association relationship between first association information and the first session description information, and the first association information includes at least one of the following:
  • the first mapping rule also includes priority information, and the priority information is used for the priority of the first mapping rule.
  • the first mapping rule includes multiple Next, the first device uses the first mapping rule according to the priority of each first mapping rule.
  • the first mapping rule in the embodiment of the present application is the same as the first mapping rule in method 300.
  • the method may further include: the first network function receiving second information from the second network function, where the second information includes at least one of the following:
  • mapping rule indication used to instruct the first network function to obtain the first mapping rule corresponding to the target identification
  • the mapping rule indication may include at least one of the following target identifications: terminal device identification, group identification ;
  • the mapping rule indication may include a PEGC identifier or a PEGC group identifier
  • the first network function may include a PEGC corresponding to the PEGC identifier or PEGC group identifier or a first mapping rule corresponding to the PEGC group according to the mapping rule indication.
  • the second mapping rule is used to instruct the first network function to send the first mapping rule to the first device based on the second mapping rule.
  • the second mapping rule may be the same as the first mapping rule, including the first session description information and/or the association relationship between the first session description information and the first association information.
  • the first allocation rule that is, the first allocation rule included in the above-mentioned first information.
  • the first network function may be PCF
  • the first network function may be PINMF
  • the first network function may send the first information to the first device according to the second information sent by the second network function.
  • the second mapping rule may include second session description information, where the second session description information includes one of the following:
  • First session description information that is, the second session description information included in the second mapping rule includes the first session description information in the first mapping rule.
  • External slice information indicates that the second session description information in the second mapping rule corresponds to the external slice information.
  • the second mapping rule further includes second association information and the second session description.
  • the second associated information includes at least one of the following:
  • the second mapping rule further includes priority information, the priority information is used to indicate the priority of the second mapping rule, and the first network function is configured according to each of the second mapping rules.
  • the priority of the mapping rule determines the priority of the corresponding first mapping rule. That is to say, a second mapping rule can determine a first mapping rule, and the priority of the first mapping rule corresponds to the priority of the corresponding second mapping rule.
  • the first network function when the second session description information includes a default value, sends the first mapping rule to the first device based on the second mapping rule, including: The first network function determines the first session description information corresponding to the second association information in the second information according to the local policy; the first network function sends the first session description information to the first device. Mapping rules, wherein the first mapping rule includes the determined first session description information and/or the first session description information and the first association information (in this possible implementation, the first association information is the second associated information in the second information).
  • the second session description information in the second mapping rule includes Default
  • the first network function can determine the DNN and/or network slice corresponding to the second association information in the second mapping rule (for example, S- NSSAI).
  • the first A network function when the second session description information includes external slice information, sends the first mapping rule to the first device based on the second mapping rule, including: the first network function obtains first session description information associated with the external slice information; the third A network function sends a first mapping rule to the first device, where the first mapping rule includes the obtained first session description information, and/or the obtained first session description information and the first association information (
  • the first associated information is the associated relationship of the second associated information (the second associated information in the second information).
  • the first network function may determine the first session description information (e.g., DNN and/or network slice (S-NSSAI)) using the DNN/S-NSSAI associated with the external slice ID, where the first network function
  • the association between the external slice ID and DNN/S-NSSAI can be pre-configured.
  • the first network function obtaining the first mapping rule corresponding to the target identifier may include: the first network function based on the first mapping rule.
  • the mapping rule indication in the second information sends a mapping rule acquisition request carrying the target identifier to the third network function, and obtains the mapping rule acquisition request reply sent by the third network function.
  • the mapping rule acquisition request reply carries The first mapping rule corresponding to the target identifier.
  • the first network function can send a PIN mapping rule acquisition request to the UDR.
  • the PIN mapping rule acquisition request includes a PEGC identifier, a PEMC identifier or a group identifier, and may also include an external slice ID.
  • the UDR receives the PIN mapping rule acquisition request and queries all Describe the contract information corresponding to the PEGC, PEMC or group, take into account the contract relationship previously mapped between the PEGC identifier or group identifier and the external slice ID, determine the PIN mapping rule or auxiliary information of the PIN mapping rule, and send a PIN mapping rule acquisition request reply;
  • the first network function receives a reply to the UDR's PIN mapping rule acquisition request, where the reply includes one or more PIN mapping rules or auxiliary information of the PIN mapping rules, where the auxiliary information includes DNN/S-NSSAI and associated information associated therewith.
  • the first network function may also obtain the first mapping rule corresponding to the target identifier according to local policy or preconfiguration information.
  • Figure 5 shows a schematic flowchart of yet another rule processing method provided by an embodiment of the present application.
  • the rule processing method 500 mainly includes the following steps.
  • the second network function sends the second information to the first network function.
  • the second information includes at least one of the following:
  • mapping rule indication wherein the mapping rule indication is used to instruct the first network function to obtain the first mapping rule corresponding to the target identifier
  • mapping rule is used to indicate that the first network function is based on the second mapping
  • the mapping rule sends the first mapping rule to the first device
  • a first allocation rule wherein the first allocation rule is used for the first network function to instruct the first device to allocate an IP address to the second device and/or send the IP address to the second device based on the first allocation rule;
  • the second device interacts with the first device through a non-3GPP access technology.
  • the second network function may include PINMF
  • the first network function may include PCF
  • the second information in the embodiment of the present application is the same as the second information in method 400.
  • the first allocation rule includes DHCP service address information or at least one of the following: address range information; address mapping information.
  • the address mapping information includes at least one of the following: a correspondence between a MAC address and an IP address, a correspondence between a MAC address and an IP address range, and a correspondence between a MAC address range and an IP address range.
  • mapping rule indication includes at least one of the following:
  • Terminal device identification Group identification.
  • the second mapping rule includes second session description information
  • the second session description information includes one of the following:
  • the second mapping rule also includes an association relationship between second association information and the second session description information, and the second association information includes at least one of the following:
  • the second mapping rule further includes priority information
  • the priority information is used to indicate the priority of the second mapping rule
  • the first network function is configured according to each of the second mapping rules. The priority of the mapping rule determines the priority of the corresponding first mapping rule.
  • the method may further include:
  • the second network function performs a third operation based on the information related to the second device, and the third operation includes at least one of the following:
  • the second network function includes DHCP service address information in the first allocation rule, that is, instructs the first device through the first network function Forward the DHCP message sent by the second device to the DHCP server corresponding to the DHCP service address information (in this possible implementation, the second network function) or forward the DHCP message sent by the DHCP server corresponding to the DHCP service address information to
  • the second network function can be based on one or more of the information related to the second device, such as the MAC address of the second device, supported service information, recommended QoS requirements, device type information, etc., Assigning an IP address to the second device and/or sending the IP address to the second device.
  • the second network function When the second network function does not have a DHCP server function or the second network function and the DHCP server are respectively set up on independent network elements, the second network function includes DHCP service address information in the first allocation rule, that is, the first network function indicates the third A device forwards the DHCP message sent by the second device to the DHCP server corresponding to the DHCP service address information or forwards the DHCP message sent by the DHCP server corresponding to the DHCP service address information to the second device.
  • the third network function When receiving a first address acquisition request from a DHCP server), the first network function allocates an IP address to the second device based on information related to the second device and returns it to the third network function.
  • the second network function may also perform the third operation based on the information related to the second device and in combination with the second mapping rule. For example, the second network function can determine the second session description information corresponding to the data of the second device based on the information related to the second device and combined with the second mapping rule, and allocate an IP address to the second device according to the second session description information. and/or transmit the IP address to the second device.
  • the second network function may, after receiving a DHCP message from the PIN device, send a message based on the PIN device.
  • the MAC address determines the type of the PIN device, as well as one or more information in the corresponding DNN/network slice, IP range (range), etc., and then sends the IP address or IP range of the PIN device to based on these information.
  • the PIN device may, after receiving a DHCP message from the PIN device, send a message based on the PIN device.
  • the MAC address determines the type of the PIN device, as well as one or more information in the corresponding DNN/network slice, IP range (range), etc.
  • the second network function can receive the first address acquisition request of the third network function (DHCP server),
  • the first address acquisition request includes the MAC address of one or more PIN devices
  • the second network function determines the type of the PIN device based on the MAC address, and at least one of the corresponding DNN/network slice, IP range, etc. information, and then sends a first address acquisition request reply to the third network function based on this information, where the reply message includes the IP address or IP range of the PIN device.
  • different second device data can be mapped to corresponding PDU sessions, that is, the second device data can be correctly processed; on the other hand, correct IP address allocation of the second device can also be achieved.
  • Figure 6 shows a schematic flow chart of a PIN mapping rule processing method in an embodiment of the present application. As shown in Figure 6, the method mainly includes the following steps:
  • Step 601 PEGC registers with PINMF.
  • Step 602 PINMF sends the first information to PCF.
  • the first information includes at least one of the following:
  • the PIN mapping rules are used by PEGC to determine the association between traffic accessing the PIN device and the PDU session.
  • the PIN mapping rules include any of the following: PDU session parameters ( DNN/S-NSSAI/SSC mode/PDU session type, etc.), Default, external slice, and may also include associated information corresponding to the above.
  • the associated information includes at least one of the following: Source IP range, SSIDs, BT IDs, Packet filters.
  • PIN mapping rule acquisition instructions which include PEGC identification, PIN Element with Management Capability (PEMC) identification or group identification.
  • PEMC PIN Element with Management Capability
  • the first information may include multiple PIN mapping rules
  • the multiple PIN mapping rules have priority.
  • the PIN mapping rule includes default information
  • the first information Contains only one PIN mapping rule.
  • Step 603 PCF sends PIN mapping rules to PEGC.
  • the PCF forwards the first information to the PEGC.
  • the PCF determines the PDU session parameters (DNN and slice ( S-NSSAI)), sends the determined PIN mapping rule to PEGC.
  • the PCF uses the DNN/S-NSSAI associated with the external slice ID to determine the PDU session parameters in the PIN mapping rule ( DNN and slice (S-NSSAI)), where the relationship between external slice ID and DNN/S-NSSAI can be pre-configured in PCF.
  • PCF sends the determined PIN mapping rules to PEGC.
  • the PCF when the first information includes a PIN mapping rule acquisition indication, in step 602, the PCF sends a PIN mapping rule acquisition request to the UDR, and the PIN mapping rule acquisition request includes the PEGC identifier, PEMC
  • the identification or group identification may also include an external slice ID, and then receive a UDR PIN mapping rule acquisition request reply.
  • the reply includes one or more PIN mapping rules or auxiliary information of the PIN mapping rules.
  • the auxiliary information includes DNN/S -NSSAI and associated information associated with it.
  • the PCF determines one or more PIN mapping rules based on the reply information and sends them to PEGC.
  • PCF can also determine one or more PIN mapping rules based on local policies or preconfigured information and send them to PEGC.
  • Step 604 PEGC receives the PIN mapping rule sent by the PCF, and maps the data of the PINE device to the corresponding matching PDU session according to the PIN mapping rule. If there is currently no matching PDU session, PEGC creates a new one based on the PIN mapping rule. PDU session.
  • Figure 7 shows a schematic flowchart of an address allocation rule processing method in an embodiment of the present application. As shown in Figure 7, the method 700 mainly includes the following steps.
  • Step 701 PEGC registers with PINMF.
  • Step 702 PINMF sends second information to PCF.
  • the first information includes PIN Address Allocation Information.
  • the PIN Address Allocation Information includes at least one of the following:
  • IP range which is used by PEGC to allocate IP addresses to connected PIN devices
  • the DHCP server address is used for the DHCP message of the PEGC relay PIN device.
  • Step 703a When the PIN address allocation information includes an IP range, PEGC allocates an IP address to the PINE device based on the IP range.
  • Step 703b When the PIN address allocation information includes the DHCP server address, PEGC forwards the PINE DHCP message to the corresponding DHCP service address according to the PIN address allocation information.
  • Figure 8 shows a schematic flowchart of another address allocation rule processing method in an embodiment of the present application. As shown in Figure 8, the method 800 mainly includes the following steps.
  • Step 801 PEGC registers with PINMF.
  • PINMF and DHCP server are co-located.
  • Step 802 PINMF receives the IP address request (carrying the MAC address) sent by PINE through the DHCP message.
  • Step 803 PINMF determines the type of the PIN device and the corresponding DNN/slice, IP range and other information based on the MAC address of the PIN device, and then sends the IP address or IP range of the PIN device to the PIN device.
  • Figure 9 shows a schematic flowchart of yet another address allocation rule processing method in an embodiment of the present application. As shown in Figure 9, the method 900 mainly includes the following steps.
  • Step 901 PEGC registers with PINMF.
  • the difference between this method and method 800 is that in this method, the PINMF and DHCP server are not co-located, but are independent network elements.
  • Step 902 The DHCP server receives PINE's IP address request, and the request carries the MAC address.
  • Step 903 The DHCP server sends a first address acquisition request to PINMF, and the request carries the MAC address of PINE.
  • Step 904 PINMF determines the type of the PIN device according to the MAC address of the PIN device, and the corresponding DNN/slice, IP range and other information, and then sends a first address acquisition request reply to the DHCP server, the reply carries The IP address or IP range of the device with said PIN.
  • Step 905 The DHCP server sends the IP address or IP address range of the PIN device to the PIN device.
  • the execution subject may be a rule processing device.
  • the rule processing device executing the rule processing method is taken as an example to illustrate the rule processing device provided by the embodiment of the present application.
  • Figure 10 shows a schematic structural diagram of the rule processing device in the embodiment of the present application.
  • the device can be applied to the first device.
  • the device 1000 mainly includes: a first receiving module 1001 and a first execution module 1002.
  • the first receiving module 1001 is used to receive the first information sent by the network side, where the first information includes at least one of the following: a first mapping rule, a first allocation rule; a first execution Module 1002 is configured to perform a first operation based on the first information.
  • the first operation includes at least one of the following: forwarding the data sent by the second device to the network side device; assigning an IP address to the second device; The second device sends an IP address; wherein the second device interacts with the first device through non-3GPP access technology.
  • the first execution module 1002 performs a first operation based on the first information, including at least one of the following: based on the first mapping rule, passing the data through the target protocol data unit PDU session transmission; based on the first allocation rule, allocate an IP address to the second device and/or send the IP address to the second device.
  • the first allocation rule includes Dynamic Host Configuration Protocol DHCP service address information or at least one of the following:
  • the address mapping information includes any of the following:
  • the first mapping rule includes first session description information, and the first session description information includes at least one of the following:
  • the first mapping rule also includes an association relationship between first association information and the first session description information, and the first association information includes at least one of the following:
  • the first execution module 1002 transmits the data through the target PDU session based on the first mapping rule, including:
  • the first mapping rule and the data attribute information of the data are used to transmit the data through the target PDU session, where the target PDU session corresponds to the first session description information.
  • the data attribute information includes at least one of the following:
  • the SSID used by the second device when connecting to the first device
  • the Bluetooth identifier used by the second device when connecting to the first device
  • Protocol information for the data is
  • the first mapping rule also includes priority information, the priority information is used to indicate the priority of the first mapping rule, where the first mapping rule includes multiple In this case, the first device uses the first mapping rule based on the priority of each first mapping rule.
  • the first execution module 1002 when the first allocation rule includes DHCP service address information, performs a first operation based on the first allocation rule, including: forwarding the first The DHCP message sent by the second device is sent to the DHCP server indicated by the DHCP service address information, or the DHCP message sent by the DHCP server is forwarded to the second device.
  • the target PDU session includes:
  • the rule processing device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or may be a component in the electronic device, such as an integrated circuit or chip.
  • the electronic device may be a terminal or other devices other than the terminal.
  • the terminal may include but is not limited to the types of terminal 11 listed above, which Other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., which are not specifically limited in the embodiments of this application.
  • the rule processing device provided by the embodiment of the present application can implement each process implemented by the method embodiment in Figure 3 and achieve the same technical effect. To avoid duplication, details will not be described here.
  • Figure 11 shows another schematic structural diagram of a rule processing device provided by an embodiment of the present application.
  • the device 1100 mainly includes: a first acquisition module 1101 and a first sending module 1102.
  • the first acquisition module 1101 is used to acquire first information, and the first information includes at least one of the following: a first mapping rule, a first allocation rule; a first sending module 1102 is used to send The first device sends the first information; wherein the first mapping rule is used to instruct the first device to forward the data sent by the second device to the network side device based on the first mapping rule; the first allocation rule Used to instruct the first device to allocate an IP address to the second device and/or send the IP address to the second device based on the first allocation rule; the second device communicates with the first device through a non-3GPP access technology. Device interaction.
  • the first allocation rule includes DHCP service address information or at least one of the following:
  • the address mapping information includes any of the following: a correspondence between a MAC address and an IP address, a correspondence between a MAC address and an IP address range, or a correspondence between a MAC address range and an IP address range.
  • the first mapping rule includes first session description information, and the first session description information includes at least one of the following:
  • the first mapping rule also includes an association relationship between first association information and the first session description information, and the first association information includes at least one of the following:
  • the first mapping rule also includes priority information, and the priority information is used for the priority of the first mapping rule.
  • the first mapping rule includes multiple Next, the first device uses the first mapping rule according to the priority of each first mapping rule.
  • the device may further include: a second receiving module 1103, configured to receive second information from the second network function, where the second information includes at least one of the following:
  • mapping rule indication is used to instruct the first network function to obtain the first mapping rule corresponding to the target identifier
  • the second mapping rule is used to instruct the first network function to send the first mapping rule to the first device based on the second mapping rule.
  • the mapping rule indication includes at least one of the following target identifiers: a terminal device identifier and a group identifier.
  • the second mapping rule includes second session description information
  • the second session description information includes one of the following:
  • the second mapping rule further includes second association information and the second session description.
  • the second associated information includes at least one of the following:
  • the second mapping rule further includes priority information
  • the priority information is used to indicate the priority of the second mapping rule
  • the first network function is configured according to each of the second mapping rules. The priority of the mapping rule determines the priority of the corresponding first mapping rule.
  • the device may also include a second execution module 1104, configured to, in the case where the first allocation rule includes DHCP service address information, based on the second device-related information, perform a second operation, and the second operation includes at least one of the following:
  • the second execution module 1104 performs a second operation based on the second device-related information, including: performing the second operation based on the second device-related information in combination with the first mapping rule. Describe the second operation.
  • the rule processing device provided by the embodiment of the present application can implement each process implemented by the method embodiment in Figure 4 and achieve the same technical effect. To avoid duplication, details will not be described here.
  • Figure 12 shows another schematic structural diagram of a rule processing device provided by an embodiment of the present application.
  • the device 1200 mainly includes: a second acquisition module 1201 and a second sending module 1202.
  • the second obtaining module 1201 is used to obtain the second information; the second sending module 1202 is used to send the second information to the first network function, where the second information includes at least one of the following: Mapping rule indication; second mapping rule; first allocation rule; wherein, the mapping rule indication is used to indicate that the first network function obtains the first mapping rule corresponding to the target identifier; the second mapping rule is used to indicate that the The first network function sends a first mapping rule to the first device based on the second mapping rule; the first allocation rule is used for the first network function to instruct the first device to be based on the first allocation rule.
  • the second device allocates an IP address and/or sends the IP address to the second device; the second device interacts with the first device through a non-3GPP access technology.
  • the first allocation rule includes DHCP service address information or at least one of the following:
  • the address mapping information includes at least one of the following: a correspondence between a MAC address and an IP address, a correspondence between a MAC address and an IP address range, and a correspondence between a MAC address range and an IP address range.
  • mapping rule indication includes at least one of the following:
  • Terminal device identification Group identification.
  • the second mapping rule includes second session description information
  • the second session description information includes one of the following:
  • the second mapping rule also includes an association relationship between second association information and the second session description information, and the second association information includes at least one of the following:
  • the second mapping rule further includes priority information
  • the priority information is used to indicate the priority of the second mapping rule
  • the first network function is configured according to each of the second mapping rules. The priority of the mapping rule determines the priority of the corresponding first mapping rule.
  • the device may also include a third execution module 1203, configured to, in the case where the first allocation rule includes DHCP service address information, based on the second device-related information, perform a third operation, and the third operation includes at least one of the following:
  • the third execution module 1203 performs a third operation based on the second device-related information, including: performing the third operation based on the second device-related information and combined with the second mapping rule. Describe the third operation.
  • the rule processing device provided by the embodiment of the present application can implement each process implemented by the method embodiment in Figure 5 and achieve the same technical effect. To avoid duplication, details will not be described here.
  • this embodiment of the present application also provides a communication device 1300, which includes a processor 1301 and a memory 1302.
  • the memory 1302 stores programs or instructions that can be run on the processor 1301, for example.
  • the communication device 1300 is a terminal, when the program or instruction is executed by the processor 1301, each step of the above embodiment of the rule processing method 300 is implemented, and the same technical effect can be achieved.
  • the communication device 1300 is a network-side device, when the program or instruction is executed by the processor 1301, each step of the above-mentioned rule processing method 400 or 500 embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, the details will not be repeated here. .
  • An embodiment of the present application also provides a terminal, which includes a processor and a communication interface.
  • the processor is used to implement each step of the above embodiment of the rule processing method 300, and the communication interface is used to communicate with external devices.
  • This terminal embodiment corresponds to the above-mentioned first device-side method embodiment, and each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this terminal. embodiment, and can achieve the same technical effect.
  • FIG. 14 is a schematic diagram of the hardware structure of a terminal that implements an embodiment of the present application.
  • the terminal 1400 includes but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409, a processor 1410, etc. At least some parts.
  • the terminal 1400 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 1410 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal structure shown in FIG. 14 does not constitute a limitation on the terminal.
  • the terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.
  • the input unit 1404 may include a graphics processing unit (Graphics Processing Unit, GPU) 14041 and a microphone 14042.
  • the GPU 14041 is used for recording data generated by an image capture device (such as a camera) in the video capture mode or the image capture mode. ) to process the image data of still pictures or videos obtained.
  • the display unit 1406 may include a display panel 14061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1407 includes at least one of a touch panel 14071 and other input devices 14072. Touch panel 14071, also known as touch screen.
  • the touch panel 14071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 14072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • the radio frequency unit 1401 after receiving downlink data from the network side device, the radio frequency unit 1401 can transmit it to the processor 1410 for processing; in addition, the radio frequency unit 1401 can send uplink data to the network side device.
  • the radio frequency unit 1401 includes, but is not limited to, an antenna, amplifier, transceiver, coupler, low noise amplifier, duplexer, etc.
  • Memory 1409 may be used to store software programs or instructions as well as various data.
  • the memory 1409 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
  • memory 1409 may include volatile memory or nonvolatile memory, or memory 1409 may include both volatile and nonvolatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, 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).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random Access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • ESDRAM enhanced synchronous dynamic random access memory
  • Synch link DRAM, SLDRAM synchronous link dynamic random access memory
  • Direct Rambus RAM Direct Rambus RAM
  • the processor 1410 may include one or more processing units; optionally, the processor 1410 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1410.
  • the radio frequency unit 1401 is configured to receive first information sent by the network side, where the first information includes at least one of the following: a first mapping rule and a first allocation rule. Wherein, the terminal performs a first operation based on the first information, and the first operation includes at least one of the following:
  • the second device interacts with the terminal through a non-3GPP access technology.
  • An embodiment of the present application also provides a network side device, including a processor and a communication interface.
  • the processor is used to implement each step of the above rule processing method 400 or 500 embodiment, and the communication interface is used to communicate with external devices.
  • This network-side device embodiment corresponds to the above-mentioned first network function or second network function method embodiment.
  • Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this network-side device embodiment, and can achieve the same technical effects.
  • the embodiment of the present application also provides a network side device.
  • the network side device 1500 includes: a processor 1501, a network interface 1502, and a memory 1503.
  • the network interface 1502 is, for example, a common public radio interface (CPRI).
  • CPRI common public radio interface
  • the network side device 1500 in this embodiment of the present invention also includes: instructions or programs stored in the memory 1503 and executable on the processor 1501.
  • the processor 1501 calls the instructions or programs in the memory 1503 to execute each step shown in Figure XX.
  • the method of module execution and achieving the same technical effect will not be described in detail here to avoid duplication.
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the above rule processing method embodiment is implemented, and the same can be achieved. The technical effects will not be repeated here to avoid repetition.
  • the processor is the processor in the terminal described in the above embodiment.
  • the readable storage medium may be non-volatile or non-transient.
  • Readable storage media may include computer-readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disks or optical disks.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above rule processing method embodiment. Each process can achieve the same technical effect. To avoid duplication, it will not be described again here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
  • Embodiments of the present application further provide a computer program/program product.
  • the computer program/program product is stored in a storage medium.
  • the computer program/program product is executed by at least one processor to implement the above rule processing method embodiment.
  • Each process can achieve the same technical effect. To avoid repetition, we will not go into details here.
  • the embodiment of the present application also provides a rule processing system, including: a terminal and a network side device.
  • the terminal can be used to perform the steps of the rule processing method 300 as described above.
  • the network side device includes a first network side device and a network side device. /or a second network side device, the first network side device may be configured to perform the steps of the rule processing method 400 as described above, and the second network side device may be configured to perform the steps of the rule processing method 500 as described above.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to related technologies.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of this application.

Landscapes

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

Abstract

本申请公开了一种规则处理方法、通信设备及网络侧设备,属于无线通信领域,本申请实施例的规则处理方法,包括:第一设备接收第一网络功能发送的第一信息,其中,所述第一信息包括以下至少一项:第一映射规则、第一分配规则;所述第一信息用于所述第一设备基于所述第一信息,执行第一操作,所述第一操作包括以下至少一项:向网络侧设备转发第二设备发送的数据;为第二设备分配IP地址;向第二设备发送IP地址;其中,所述第二设备通过非3GPP接入技术与所述第一设备交互。

Description

规则处理方法、通信设备及网络侧设备
交叉引用
本申请要求在2022年07月20日提交中国专利局、申请号为202210862222.9、名称为“规则处理方法、通信设备及网络侧设备”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本申请属于无线通信技术领域,具体涉及一种规则处理方法、通信设备及网络侧设备。
背景技术
在相关技术中,非第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)接入的第一设备可以通过非3GPP接入技术与第二设备(可以称为控制网关)交互,从而通过第二设备与网络侧进行通信。例如,在个人物联网中,个人物联网设备(以家庭设备举例,如电视,空调,扫地机器人等)可以通过个人物联网中的控制网关接入网络,个人物联网设备通过如蓝牙、wifi等技术接入控制网关,控制网关再通过3GPP技术接入到网络。从而使得人个物联网设备可以通过控制网关接入到网络获取网络服务和数据。其中,个人物联网中的控制网关可以是智能家居场景中的网关,其可以以具有运营商的认证的用户设备(User Equipment,UE)的形态出现。
本申请考虑不同的第一设备可能通过同一个第二设备接入网络的场景,例如,在个人物联网中,音响、电视、扫地机器人等可以通过同一个UE接入网络。然而,不同的第一设备的功能可能不同,且通过第二设备的第一设备,需要获得相关的地址信息和/或对不同功能的数据进行差异化处理,以保证第一设备的数据能够成功通过个人物联网传输和处理,而目前在相关技术中无法保证第一设备的数据能够成功通过个人物联网传输和处理。
发明内容
本申请实施例提供一种规则处理方法、通信设备及网络侧设备,能够解决上述相关技术无法保证第一设备能够成功通过个人物联网实现数据传输和处理的技术问题。
第一方面,提供了一种规则处理方法,包括:第一设备接收第一网络功能发送的第一信息,其中,所述第一信息包括以下至少一项:第一映射规则、第一分配规则;所述第一信息用于所述第一设备基于所述第一信息,执行第一操作,所述第一操作包括以下至少一项:向网络侧设备转发第二设备发送的数据;为第二设备分配IP地址;向第二设备发送IP地址;其中,所述第二设备通过非3GPP接入技术与所述第一设备交互。
第二方面,提供了一种规则处理装置,应用于第一设备,所述装置包括:第一接收模块,用于接收网络侧发送的第一信息,其中,所述第一信息包括以下至少一项:第一映射规则、第一分配规则;第一执行模块,用于基于所述第一信息,执行第一操作,所述第一操作包括以下至少一项:向网络侧设备转发第二设备发送的数据;为第二设备分配IP地址;向第二设备发送IP地址;其中,所述第二设备通过非3GPP接入技术与所述第一设备交互。
第三方面,提供了一种规则处理方法,包括:第一网络功能向第一设备发送第一信息,所述第一信息包括以下至少一项:第一映射规则、第一分配规则;其中,所述第一映射规则用于指示所述第一设备基于所述第一映射规则,向网络侧设备转发第二设备发送的数据;所述第一分配规则用于指示所述第一设备基于所述第一分配规则,为第二设备分配IP地址和/或向第二设备发送IP地址;所述第二设备通过非3GPP接入技术与所述第一设备交互。
第四方面,提供了一种规则处理装置,包括:第一获取模块,用于获取第一信息,所述第一信息包括以下至少一项:第一映射规则、第一分配规则;第一发送模块,用于向第一设备发送第一信息;其中,所述第一映射规则用于指示所述第一设备基于所述第一映射规则,向网络侧设备转发第二设备发送的数据;所述第一分配规则用于指示所述第一设备基于所述第一分配规则,为第二设备分配IP地址和/或向第二设备发送IP地址;所述第二设备通过非3GPP接入技术与所述第一设备交互。
第五方面,提供了一种规则处理方法,包括:第二网络功能向第一网络功能发送的第二信息,所述第二信息包括以下至少一项:映射规则指示;第二映射规则;第一分配规则;其中,所述映射规则指示用于指示所述第一网络功能获取目标标识对应的第一映射规则;所述第二映射规则用于指示所述第一网络功能基于所述第二映射规则向所述第一设备发送第一映射规则;所述第一分配规则用于所述第一网络功能指示第一设备基于所述第一分配规则为第二设备分配IP地址和/或向第二设备发送IP地址;所述第二设备通过非3GPP接入技术与所述第一设备交互。
第六方面,提供了一种规则处理装置,包括:第二获取模块,用于获取第二信息;第 二发送模块,用于向第一网络功能发送的第二信息,所述第二信息包括以下至少一项:映射规则指示;第二映射规则;第一分配规则;其中,所述映射规则指示用于指示所述第一网络功能获取目标标识对应的第一映射规则;所述第二映射规则用于指示所述第一网络功能基于所述第二映射规则向所述第一设备发送第一映射规则;所述第一分配规则用于所述第一网络功能指示第一设备基于所述第一分配规则为第二设备分配IP地址和/或向第二设备发送IP地址;所述第二设备通过非3GPP接入技术与所述第一设备交互。
第七方面,提供了一种通信设备,该通信设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第八方面,提供了一种通信设备,包括处理器及通信接口,其中,所述处理器用于实现如第一方面所述的方法的步骤,所述通信接口用于与外部设备进行通信。
第九方面,提供了一种网络侧设备,该网络侧设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤。
第十方面,提供了一种网络侧设备,包括处理器及通信接口,其中,所述处理器用于实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤,所述通信接口用于与外部设备进行通信。
第十一方面,提供了一种规则处理系统,包括:通信设备及网络侧设备,所述通信设备可用于执行如第一方面所述的方法的步骤,所述网络侧设备包括第一网络侧设备和/或第二网络侧设备,所述第一网络侧设备可用于执行如第三方面所述的方法的步骤,所述第二网络侧设备可用于执行如第五方面所述的方法的步骤。
第十二方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤。
第十三方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法的步骤,或实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤。
第十四方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤,或实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤。
在本申请实施例中,在第二设备通过非3GPP接入技术与第一设备交互的场景中,第一设备从网络侧接收第一信息,该第一信息包括第一映射规则和/或第一分配规则,第一设备可以基于该第一信息,向网络侧设备转发第二设备发送的数据和/或为第二设备分配IP地址和/或向第二设备发送IP地址。从而使得第一设备可以路由接入的不同的第二设备发送的数据和/或为接入的不同的第二设备分配IP地址,从而使得第一设备能够有效地通过个人物联网实现数据传输和处理。
附图说明
图1示出本申请实施例可应用的一种无线通信系统的框图;
图2示出本申请实施例可应用的一种个人物联网的示意图;
图3示出了本申请实施例提供的一种规则处理方法的流程示意图;
图4示出了本申请实施例提供的另一种规则处理方法的流程示意图;
图5示出了本申请实施例提供的另一种规则处理方法的流程示意图;
图6示出本申请实施例中的一种PIN映射规则处理方法的流程示意图;
图7示出了本申请实施例中的一种地址分配规则处理方法的流程示意图;
图8示出本申请实施例中的另一种地址分配规则处理方法的流程示意图;
图9示出本申请实施例中的另一种地址分配规则处理方法的流程示意图;
图10示出本申请实施例中的规则处理装置的一种结构示意图;
图11示出本申请实施例提供的规则处理装置的另一种结构示意图;
图12示出本申请实施例提供的规则处理装置的另一种结构示意图;
图13示出本申请实施例提供的一种通信设备的结构示意图;
图14示出本申请实施例提供的一种终端的硬件结构示意图;
图15示出本申请实施例提供的一种网络侧设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象, 而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6th Generation,6G)通信系统。
图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括终端11和网络侧设备12。其中,终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、车载设备(Vehicle User Equipment,VUE)、行人终端(Pedestrian User Equipment,PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以包括接入网设备和/或核心网设备,其中,接入网设备12也可以称为无线接入网设备、无线接入网(Radio Access Network,RAN)、无线接入网功能或无线接入网单元。接入网设备12可以包括基站、WLAN接入点或WiFi节点等,基站可被称为节点B、演进节点B(evolved Node B,eNB)、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基 本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点、家用演进型B节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例进行介绍,并不限定基站的具体类型。核心网设备可以包含但不限于如下至少一项:核心网节点、核心网功能、移动管理实体(Mobility Management Entity,MME)、接入移动管理功能(Access and Mobility Management Function,AMF)、会话管理功能(Session Management Function,SMF)、用户平面功能(User Plane Function,UPF)、策略控制功能(Policy Control Function,PCF)、策略与计费规则功能单元(Policy and Charging Rules Function,PCRF)、边缘应用服务发现功能(Edge Application Server Discovery Function,EASDF)、统一数据管理(Unified Data Management,UDM),统一数据仓储(Unified Data Repository,UDR)、归属用户服务器(Home Subscriber Server,HSS)、集中式网络配置(Centralized network configuration,CNC)、网络存储功能(Network Repository Function,NRF),网络开放功能(Network Exposure Function,NEF)、本地NEF(Local NEF,或L-NEF)、绑定支持功能(Binding Support Function,BSF)、应用功能(Application Function,AF)等。需要说明的是,在本申请实施例中仅以NR系统中的核心网设备为例进行介绍,并不限定核心网设备的具体类型。
图2示出本申请实施例可应用的一种个人物联网的架构示意图,如图2所示,在个人物联网中,个人物联网(Personal IoT Network Equipment,PINE)通过个人物联网中的控制网关(PIN Element with Gateway Capability,PEGC)接入第五代(5th Generation System,5GS)网络,其中,个人物联网设备可以通过如蓝牙、wifi等技术接入PEGC,PEGC再通过3GPP技术接入到网络。
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的规则处理方案进行详细地说明。
图3示出本申请实施例中的规则处理方法的一种流程示意图,该方法300可以由第一设备执行。换言之,所述方法可以由安装在第一设备上的软件或硬件来执行。如图3所示,该方法可以包括以下步骤。
S310,第一设备接收第一网络功能发送的第一信息,其中,所述第一信息包括以下至少一项:第一映射规则、第一分配规则。
在本申请实施例中,所述第一信息用于所述第一设备基于所述第一信息,执行第一操作,所述第一操作包括以下至少一项:
向网络侧设备转发第二设备发送的数据,所述第二设备通过非3GPP接入技术与所述 第一设备交互;
为第二设备分配IP地址;
向第二设备发送IP地址。
在本申请实施例中,在第一设备接收到所述第一信息之后,在接收到第二设备发送给网络侧设备的数据时,可以基于第一映射规则,向网络侧设备转发该数据。例如,第一设备可以基于第一映射规则,将所述数据通过目标协议数据单元(Protocol Data Unit,PDU)传输,其中,所述目标PDU为基于所述第一映射规则确定的PDU。
在本申请实施例中,第一映射规则可以包括一个或多个。
在本申请实施例中,第一网络功能可以为网络侧的网元,例如,第一网络功能可以为PCF或个人物联网管理功能(Personal IoT Network management function,PINMF)。
例如,第一映射规则中可以包括第一会话描述信息,第一设备可以基于第一映射规则,获取与该第一会话描述信息匹配的目标PDU。
在一个可能的实现方式中,第一会话描述信息可以包括以下至少之一:
(1)数据网名称(DNN)。
(2)网络切片相关的信息,例如,单一网络切片选择辅助信息(Single Network Slice Selection Assistance Information,S-NSSAI)。
(3)业务连续性模式信息,例如,会话和服务连续性(Session and Service Continuity,SSC)模式。
在一个可能的实现方式中,为了将不同的第二设备发送的数据进行正确的路由,第一映射规则中还可以包括第一关联信息与所述第一会话描述信息关联关系,其中,第一关联信息可以包括以下至少一项:
(1)源IP地址;第一设备在转发第二设备发送的数据时,可以根据数据的源IP地址确定对应的第一会话描述信息,再通过与第一会话描述信息对应的目标PDU会话传输该数据。
(2)源IP地址范围;第一设备在转发第二设备发送的数据时,可以根据数据的源IP地址所匹配的源IP地址范围,确定对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据。
(3)目标IP地址;第一设备在转发第二设备发送的数据时,可以根据数据的目标IP地址确定对应的第一会话描述信息,再通过与第一会话描述信息对应的目标PDU会话传输该数据。
(4)目标IP地址范围;第一设备在转发第二设备发送的数据时,可以根据数据的 目标IP地址所匹配的目标IP地址范围,确定对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据。
(5)源媒体接入控制(Medium Access Control,MAC)地址;第一设备在转发第二设备发送的数据时,可以根据数据的源MAC地址确定对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据。
(6)源MAC地址范围;第一设备在转发第二设备发送的数据时,可以根据数据的源MAC地址所匹配的源MAC地址范围,确定对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据。
(7)目标MAC地址;第一设备在转发第二设备发送的数据时,可以根据数据的目标MAC地址确定对应的第一会话描述信息,再通过与第一会话描述信息对应的目标PDU会话传输该数据。
(8)目标MAC地址范围;第一设备在转发第二设备发送的数据时,可以根据数据的目标MAC地址所匹配的目标MAC地址范围,确定与该目标MAC地址范围对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据;
(9)服务集标识(Service Set Identifier,SSID);SSID用于标识不同的无线接入点(Access Point,AP),第一设备在转发第二设备发送的数据时,确定与所述第二设备连接所述第一设备时使用的SSID对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据。
(10)蓝牙标识;第一设备在转发第二设备发送的数据时,确定与所述第二设备连接所述第一设备时使用的蓝牙标识对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据。
(11)源端口号;第一设备在转发第二设备发送的数据时,确定与数据的源端口号对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据。
(12)源端口范围;第一设备在转发第二设备发送的数据时,获取数据的源端口号匹配的源端口范围,确定与获取的源端口范围对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据。
(13)目标端口号;第一设备在转发第二设备发送的数据时,确定与数据的目标端口号对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据。
(14)目标端口范围;第一设备在转发第二设备发送的数据时,获取数据的目标端 口号匹配的目标端口范围,确定与获取的目标端口范围对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据。
(15)数据的协议信息;第一设备在转发第二设备发送的数据时,确定与该数据使用的数据协议对应的第一会话描述信息,再通过与确定的第一会话描述信息对应的目标PDU会话传输该数据。
(16)缺省指示,用于指示任意数据。例如,第一映射规则中包括缺省指示与第一会话描述信息的关联关系,则指示任意数据均可以通过该第一会话描述信息对应的PDU会话传输。
其中,第一映射规则中可以包括上述至少一项与第一会话描述信息的关联关系。
在一个可能的实现方式中,所述第一设备基于所述第一映射规则,将所述数据通过目标PDU会话传输可以包括:所述第一设备基于所述第一映射规则和所述数据的数据属性信息,将所述数据通过所述目标PDU会话传输,其中,所述目标PDU会话与所述第一会话描述信息对应。例如,第一设备根据所述第一映射规则,可以获取与所述数据的数据属性信息匹配的第一会话描述信息,将所述数据通过与获取的第一会话描述信息对应的目标PDU会话传输。
在上述可能的实现方式中,与第一关联信息对应,所述数据属性信息包括但不限于以下至少一项:
(1)源IP地址;即待转发的数据的源IP地址。
(2)目标IP地址;即待转发的数据的目标IP地址。
(3)所述第二设备连接所述第一设备时使用的SSID;例如,第一设备和第二设备都可以是热点或蓝牙广播者,所述数据的数据属性信息包括第二设备连接所述第一设备时使用的SSID。
(4)所述第二设备连接所述第一设备时使用的蓝牙标识。
(5)源MAC地址;即待转发的数据的源MAC地址。
(6)目标MAC地址;即待转发的数据的目标MAC地址。
(7)源端口号;即待转发的数据的源端口号。
(8)目标端口号;即待转发的数据的目标端口号。
(9)数据的协议信息。即待转发的数据的使用的数据协议。
在一个可能的实现方式中,第一映射规则中还可以包括优先级信息,所述优先级信息用于指示第一映射规则的优先级,在所述第一映射规则包括多个的情况下,所述第一设备基于各个所述第一映射规则的优先级使用所述第一映射规则。例如,在所述第一映射规则 包括多个的情况下,在转发第二设备的数据时,第一设备可以按照优先级从高到低的顺序,先选择优先级最高的第一映射规则,如果第一映射规则中没有与待转发的数据的数据属性信息关联的第一会话描述信息,则可以使用优先级次高的第一映射规则,按照优先级次高的第一映射规则,获取与待转发的数据的数据属性信息关联的第一会话描述信息。或者,也可以设置第二设备的相关信息与优先级的对应关系,第一设备可以根据第二设备的相关信息,例如,连接方式、业务类型等,选择对应的优先级的第一映射规则转发第二设备的数据。
在上述一个或多个可能的实现方式中,目标PDU会话可以是已建立的目标PDU会话,也可以是新建的目标PDU会话。例如,第一设备在转发第二设备的数据时,如果当前已建立与第一会话描述信息对应的目标PDU会话,则通过该目标PDU会话传输该待转发的数据,如果当前未建立与第一会话描述信息对应的目标PDU会话,则建立目标PDU会话,通过新建的目标PDU会话传输该待转发的数据。
在本申请实施例中,在第一设备接收到所述第一信息之后,在需要为第二设备分配IP地址时,可以基于第一分配规则,为第二设备分配IP地址和/或向第二设备发送IP地址。例如,第一设备可以注册到个人物联网管理功能(PINMF)之后,接收到所述第一信息,然后为接入第一设备的第二设备分配IP地址和/或向第二设备发送IP地址。例如,第一设备可以先根据第一分配规则,为第二设备分配IP地址并发送给第二设备,或者,第一设备可以根据第一分配规则,确定向第二设备发送的IP地址,并发送给第二设备。
在一个可能的实现方式中,所述第一分配规则包括动态主机配置协议DHCP服务地址信息或以下至少一项:
(1)地址范围信息;第一设备可以在该地址范围信息所指示的地址范围内为第二设备分配IP地址,和/或,第一设备可以从该地址范围内选择一个IP地址发送给第二设备。
(2)地址映射信息;第一设备可以根据该地址映射信息,为第二设备分配IP地址,和/或第一设备根据该地址映射信息,获取向第二设备发送的IP地址,并发送给第二设备。
其中,所述地址映射信息包括以下任一项:
(1)MAC地址与IP地址的对应关系;第一设备可以根据第二设备的MAC地址,获取与第二设备的MAC地址对应的IP地址。
(2)MAC地址与IP地址范围的对应关系;第一设备可以根据第二设备的MAC地址,获取与第二设备的MAC地址对应的IP地址范围内的IP地址。
(3)MAC地址范围与IP地址范围的对应关系。第一设备可以根据第二设备的MAC地址,获取第二设备的MAC地址匹配的MAC地址范围,再获取与获取的MAC地 址范围对应的IP地址范围内的IP地址。
通过上述可能的实现方式,可以基于第一分配规则,为不同的第二设备分配对应的IP地址和/或发送对应的IP地址,便于后续对第二设备进行管理。
在一个可能的实现方式中,在所述第一分配规则包括DHCP服务地址信息的情况下,所述第一设备基于所述第一分配规则,执行第一操作可以包括:所述第一设备转发所述第二设备发送的DHCP消息给所述DHCP服务地址信息指示的DHCP服务器,或转发所述DHCP服务器发送的DHCP消息给所述第二设备。例如,第一设备在接收到第二设备发送的DHCP消息之后,将该DHCP消息转发给所述DHCP服务地址信息指示的DHCP服务器,由DHCP服务器为第二设备分配IP地址和/或向第二设备发送IP地址。或者,第二设备将DHCP消息发送给DHCP服务器,DHCP服务器为第二设备分配IP地址后,返回DHCP消息至第一设备,第一设备确定发送该DHCP消息的DHCP服务器是所述DHCP服务地址信息指示的DHCP服务器,将该DHCP消息转发给第二设备。通过该可能的实现方式,通过在第一分配规则中包括DHCP服务地址信息,可以由DHCP服务器为第二设备分配IP地址和/或向第二设备发送IP地址。
通过本申请实施例提供的技术方案,第一设备可以将不同的第二设备的数据映射到对应的PDU会话上,以正确的路由数据,另外,第一设备还可以实现第二设备的IP地址的分配和/或发送。
在本申请实施例中,第一设备接收到的第一信息可以是第一网络功能(例如,PCF或PINMF)发送的。基于本申请实施例的同一构思,本申请实施例还提供的另一种规则处理方法。
图4示出本申请实施例提供的另一种规则处理方法的流程示意图,如图4所示,该方法400主要包括以下步骤。
S410,第一网络功能向第一设备发送第一信息,所述第一信息包括以下至少一项:第一映射规则、第一分配规则。
在本申请实施例中,所述第一映射规则用于指示所述第一设备基于所述第一映射规则,向网络侧设备转发第二设备发送的数据;所述第一分配规则用于指示所述第一设备基于所述第一分配规则,为第二设备分配IP地址和/或向第二设备发送IP地址;所述第二设备通过非3GPP接入技术与所述第一设备交互。
其中,第一信息与方法300中的第一信息相同,具体可以参见方法300中的相关描述。
在一个可能实现方式中,第一分配规则包括DHCP服务地址信息或以下至少一项:
(1)地址范围信息;该信息指示第一设备在该地址范围信息指示的地址范围内为 第二设备分配IP地址,和/或将该地址范围内的IP地址发送给第二设备。
(2)地址映射信息;该地址映射信息指示第一设备根据该信息为第二设备分配IP地址和/或向第二设备发送IP地址。
其中,所述地址映射信息包括以下任一项:
(1)MAC地址与IP地址的对应关系;即地址映射信息指示第一设备根据第二设备的MAC地址,为第二设备分配和/或发送与该MAC地址对应的IP地址。
(2)MAC地址与IP地址范围的对应关系;即地址映射信息指示第一设备根据第二设备的MAC地址,为第二设备分配和/或发送与该MAC地址对应的IP地址范围内的IP地址。
(3)MAC地址范围与IP地址范围的对应关系。即地址映射信息指示第一设备根据第二设备的MAC地址所属的MAC地址范围,为第二设备分配和/或发送与该MAC地址范围对应的IP地址范围内的IP地址。
在一个可能的实现方式中,在所述第一分配规则包括DHCP服务地址信息的情况下,所述DHCP服务地址信息与所述第一网络功能相关,所述方法还包括:所述第一网络功能基于所述第二设备相关的信息,执行第二操作,所述第二操作包括以下至少一项:
为所述第二设备分配IP地址;
向所述第二设备发送IP地址。
例如,第一网络功能具有DHCP服务器功能或者第一网络功能与DHCP服务器同一合并网元,则第一网络功能在第一分配规则中包括DHCP服务地址信息,即指示第一设备将第二设备发送的DHCP消息转发给该DHCP服务地址信息对应的DHCP服务器(在该可能的实现方式中为第一网络功能)或将该DHCP服务地址信息对应的DHCP服务器发送的DHCP消息转发给第二设备,另外,第一网络功能可以根据第二设备相关的信息,例如,第二设备的MAC地址、支持的业务信息、推荐的QoS要求以及设备类型信息等中的一项或多项,为第二设备分配IP地址和/或向第二设备发送IP地址。
在第一网络功能不具有DHCP服务器功能或者第一网络功能与DHCP服务器分别设置在独立网元时,第一网络功能在第一分配规则中包括DHCP服务地址信息,即指示第一设备将第二设备发送的DHCP消息转发给该DHCP服务地址信息对应的DHCP服务器或将该DHCP服务地址信息对应的DHCP服务器发送的DHCP消息转发给第二设备,在接收到第三网络功能(DHCP服务器)的第一地址获取请求时,第一网络功能根据第二设备相关的信息为第二设备分配IP地址并返回给第三网络功能。
在一种可能的实现方式中,第一网络功能也可以基于第二设备相关的信息并结合所述 第一映射规则,执行所述第二操作。例如,第一网络功能可以基于第二设备相关的信息并结合第一映射规则,确定第二设备的数据对应的第一会话描述信息,根据第一会话描述信息为第二设备分配IP地址和/或向第二设备发送IP地址。
例如,在第一网络功能具有DHCP服务器功能或者第一网络功能与DHCP服务器同一合并网元的情况下,第一网络功能可以在接收到PIN设备的DHCP消息(message)后,根据所述PIN设备的MAC地址确定所述PIN设备的类型、以及对应的DNN/网络切片、IP范围(range)等中的一项或多项信息,然后根据这些信息发送所述PIN设备的IP地址或者IP range给所述PIN设备。
在第一网络功能不具有DHCP服务器功能或者第一网络功能与DHCP服务器分别设置在独立网元的情况下,第一网络功能可以在接收第三网络功能(DHCP server)的第一地址获取请求,所述第一地址获取请求包括一个或多个PIN device的MAC地址,第一网络功能基于所述MAC地址确定所述PIN设备的类型、以及对应的DNN/网络切片、IP range等中的至少一项信息,然后根据这些信息发送第一地址获取请求回复给第三网络功能,所述回复消息包括所述PIN设备的IP地址或者IP range。
在一个可能的实现方式中,所述第一映射规则中可以包括第一会话描述信息,所述第一会话描述信息包括以下至少之一:
DNN;
网络切片相关的信息;
业务连续性模式信息。
在一个可能的实现方式中,所述第一映射规则中还包括第一关联信息与所述第一会话描述信息的关联关系,所述第一关联信息包括以下至少一项:
源IP地址;
源IP地址范围;
目标IP地址;
目标IP地址范围;
源MAC地址;
源MAC地址范围;
目标MAC地址;
目标MAC地址范围;
服务集标识SSID;
蓝牙标识;
源端口号;
源端口范围;
目标端口号;
目标端口范围;
数据的协议信息;
缺省指示,用于表示任意数据。
在一个可能的实现方式中,所述第一映射规则中还包括优先级信息,所述优先级信息用于所述第一映射规则的优先级,在所述第一映射规则包括多个的情况下,所述第一设备按照各个所述第一映射规则的优先级使用所述第一映射规则。
本申请实施例中的第一映射规则与方法300的第一映射规则相同,具体可以参见方法300中的相关描述。
在一个可能的实现方式中,在S410之前,该方法还可以包括:所述第一网络功能从第二网络功能接收第二信息,所述第二信息包括以下至少一项:
(1)映射规则指示,用于指示所述第一网络功能获取目标标识对应的所述第一映射规则,其中,所述映射规则指示可以包括以下至少一项目标标识:终端设备标识、组标识;例如,映射规则指示可以包括PEGC标识或PEGC组标识,第一网络功能根据映射规则指示可以包括PEGC标识或PEGC组标识对应的PEGC或PEGC组对应的第一映射规则。
(2)第二映射规则;所述第二映射规则用于指示所述第一网络功能基于所述第二映射规则向所述第一设备发送所述第一映射规则。例如,第二映射规则可以与第一映射规则相同,包括第一会话描述信息和/或第一会话描述信息与第一关联信息的关联关系。
(3)所述第一分配规则;即上述第一信息中包括的第一分配规则。
例如,第一网络功能可以为PCF,第一网络功能可以为PINMF,第一网络功能可以根据第二网络功能的发送的第二信息向第一设备发送所述第一信息。
在一个可能的实现方式中,第二映射规则可以包括第二会话描述信息,所述第二会话描述信息包括以下之一:
(1)第一会话描述信息;即第二映射规则中包括第二会话描述信息包括第一映射规则中的第一会话描述信息。
(2)默认值;例如,第二映射规则中包括的第二会话描述信息为default。
(3)外部切片信息,例如,外部切片标识(external slice ID),指示第二映射规则中的第二会话描述信息与该外部切片信息对应。
在一个可能的实现方式中,所述第二映射规则还包括第二关联信息与所述第二会话描 述信息的关联关系,所述第二关联信息包括以下至少一项:
源IP地址;
源IP地址范围;
目标IP地址;
目标IP地址范围;
源MAC地址;
源MAC地址范围;
目标MAC地址;
目标MAC地址范围;
服务集标识SSID;
蓝牙标识;
源端口号;
源端口范围;
目标端口号;
目标端口范围;
数据的协议信息;
缺省指示,用于指示任意数据。
在一个可能的实现方式中,所述第二映射规则还包括优先级信息,所述优先级信息用于指示所述第二映射规则的优先级,所述第一网络功能按照各个所述第二映射规则的优先级确定对应的所述第一映射规则的优先级。也就是说,一个第二映射规则可以确定一个第一映射规则,第一映射规则的优先级与对应的第二映射规则的优先级相应。
在一个可能的实现方式中,在第二会话描述信息包括默认值的情况下,所述第一网络功能基于所述第二映射规则向所述第一设备发送所述第一映射规则,包括:所述第一网络功能根据本地策略,确定与所述第二信息中的所述第二关联信息对应的第一会话描述信息;所述第一网络功能向所述第一设备发送所述第一映射规则,其中,所述第一映射规则中包括确定的所述第一会话描述信息和/或第一会话描述信息与第一关联信息(在该可能的实现方式中,第一关联信息即是第二信息中的第二关联信息)的关联关系。
例如,在第二映射规则中的第二会话描述信息包含Default,第一网络功能可以根据本地策略确定与第二映射规则中的第二关联信息对应的DNN和/或网络切片(例如,S-NSSAI)。
在一个可能的实现方式中,在第二会话描述信息包括外部切片信息的情况下,所述第 一网络功能基于所述第二映射规则向所述第一设备发送所述第一映射规则,包括:所述第一网络功能获取与所述外部切片信息关联的第一会话描述信息;所述第一网络功能向第一设备发送第一映射规则,其中,第一映射规则中包括获取的所述第一会话描述信息,和/或,获取的所述第一会话描述信息与第一关联信息(在该可能的实现方式中,第一关联信息即是第二信息中的第二关联信息)的关联关系。
例如,第一网络功能可以使用关联所述external slice ID的DNN/S-NSSAI确定所述第一会话描述信息(例如,DNN和/或网络切片(S-NSSAI)),其中,第一网络功能中可以预配置外部切片ID与DNN/S-NSSAI的关联关系。
在一个可能的实现方式中,在第二信息包括映射规则指示的情况下,所述第一网络功能获取目标标识对应的所述第一映射规则可以包括:所述第一网络功能基于所述第二信息中的映射规则指示,向第三网络功能发送携带所述目标标识的映射规则获取请求,获取所述第三网络功能发送的映射规则获取请求回复,所述映射规则获取请求回复中携带有与所述目标标识对应的第一映射规则。
例如,第一网络功能可以发送PIN映射规则获取请求到UDR,所述PIN映射规则获取请求包括PEGC标识,PEMC标识或者组标识,还可以包括external slice ID,UDR接收PIN映射规则获取请求,查询所述PEGC,PEMC或者组对应的签约信息,兼顾考虑所述PEGC标识或者组标识与external slice ID之前映射的签约关系,确定PIN映射规则或者PIN映射规则的辅助信息,发送PIN映射规则获取请求回复;第一网络功能接收UDR的PIN映射规则获取请求回复,所述回复包括一个或多个PIN映射规则或者PIN映射规则的辅助信息,所述辅助信息包括DNN/S-NSSAI以及与其关联的关联信息。
或者,在第二信息包括映射规则指示的情况下,第一网络功能也可以根据本地策略或预配置信息,获取与所述目标标识对应的第一映射规则。
基于同一技术构思,本申请实施例还提供了另一种规则处理方法。图5示出了本申请实施例提供的又一种规则处理方法的流程示意图,如图5所示,该规则处理方法500主要包括以下步骤。
S510,第二网络功能向第一网络功能发送的第二信息。
其中,所述第二信息包括以下至少一项:
映射规则指示;其中,所述映射规则指示用于指示所述第一网络功能获取目标标识对应的第一映射规则;
第二映射规则;其中,所述第二映射规则用于指示所述第一网络功能基于所述第二映 射规则向所述第一设备发送第一映射规则;
第一分配规则;其中,所述第一分配规则用于所述第一网络功能指示第一设备基于所述第一分配规则为第二设备分配IP地址和/或向第二设备发送IP地址;所述第二设备通过非3GPP接入技术与所述第一设备交互。
在本申请实施例中,第二网络功能可以包括PINMF,第一网络功能可以包括PCF。
本申请实施例中的第二信息与方法400中的第二信息相同,具体可能参见方法400中的相关描述。
在一个可能的实现方式中,所述第一分配规则包括DHCP服务地址信息或以下至少一项:地址范围信息;地址映射信息。
其中,所述地址映射信息包括以下至少一项:MAC地址与IP地址的对应关系、MAC地址与IP地址范围的对应关系、MAC地址范围与IP地址范围的对应关系。
在一个可能的实现方式中,所述映射规则指示包括以下至少一项:
终端设备标识、组标识。
在一个可能的实现方式中,所述第二映射规则中包括第二会话描述信息,所述第二会话描述信息包括以下之一:
第一会话描述信息;
默认值;
外部切片信息。
在一个可能的实现方式中,所述第二映射规则中还包括第二关联信息与所述第二会话描述信息的关联关系,所述第二关联信息包括以下至少一项:
源IP地址;
源IP地址范围;
目标IP地址;
目标IP地址范围;
源MAC地址;
源MAC地址范围;
目标MAC地址;
目标MAC地址范围;
服务集标识SSID;
蓝牙标识;
源端口号;
源端口范围;
目标端口号;
目标端口范围;
数据的协议信息;
缺省指示,用于指示任意数据。
在一个可能的实现方式中,所述第二映射规则还包括优先级信息,所述优先级信息用于指示所述第二映射规则的优先级,所述第一网络功能按照各个所述第二映射规则的优先级确定对应的所述第一映射规则的优先级。
在一个可能的实现方式中,在所述第一分配规则包括DHCP服务地址信息的情况下,所述DHCP服务地址信息与所述第二网络功能相关,所述方法还可以包括:
所述第二网络功能基于所述第二设备相关的信息,执行第三操作,所述第三操作包括以下至少一项:
为所述第二设备分配IP地址;
向所述第二设备发送IP地址。
例如,第二网络功能具有DHCP服务器功能或者第二网络功能与DHCP服务器同一合并网元,则第二网络功能在第一分配规则中包括DHCP服务地址信息,即通过第一网络功能指示第一设备将第二设备发送的DHCP消息转发给该DHCP服务地址信息对应的DHCP服务器(在该可能的实现方式中为第二网络功能)或将该DHCP服务地址信息对应的DHCP服务器发送的DHCP消息转发给第二设备,另外,第二网络功能可以根据第二设备相关的信息,例如,第二设备的MAC地址、支持的业务信息、推荐的QoS要求以及设备类型信息等中的一项或多项,为第二设备分配IP地址和/或向第二设备发送IP地址。
在第二网络功能不具有DHCP服务器功能或者第二网络功能与DHCP服务器分别设置在独立网元时,第二网络功能在第一分配规则中包括DHCP服务地址信息,即通过第一网络功能指示第一设备将第二设备发送的DHCP消息转发给该DHCP服务地址信息对应的DHCP服务器或将该DHCP服务地址信息对应的DHCP服务器发送的DHCP消息转发给第二设备,在接收到第三网络功能(DHCP服务器)的第一地址获取请求时,第一网络功能根据第二设备相关的信息为第二设备分配IP地址并返回给第三网络功能。
在一种可能的实现方式,所述第二网络功能也可以基于所述第二设备相关的信息并结合所述第二映射规则,执行所述第三操作。例如,第二网络功能可以基于所述第二设备相关的信息并结合第二映射规则,确定第二设备的数据对应的第二会话描述信息,根据第二会话描述信息为第二设备分配IP地址和/或向第二设备发送IP地址。
例如,在第二网络功能具有DHCP服务器功能或者第二网络功能与DHCP服务器同一合并网元的情况下,第二网络功能可以在接收到PIN设备的DHCP消息(message)后,根据所述PIN设备的MAC地址确定所述PIN设备的类型、以及对应的DNN/网络切片、IP范围(range)等中的一项或多项信息,然后根据这些信息发送所述PIN设备的IP地址或者IP range给所述PIN设备。
在第二网络功能不具有DHCP服务器功能或者第二网络功能与DHCP服务器分别设置在独立网元的情况下,第二网络功能可以在接收第三网络功能(DHCP server)的第一地址获取请求,所述第一地址获取请求包括一个或多个PIN device的MAC地址,第二网络功能基于所述MAC地址确定所述PIN设备的类型、以及对应的DNN/网络切片、IP range等中的至少一项信息,然后根据这些信息发送第一地址获取请求回复给第三网络功能,所述回复消息包括所述PIN设备的IP地址或者IP range。
通过本申请实施例提供的技术方案,可以实现不同第二设备数据映射到对应的PDU会话上,即正确的处理第二设备数据;另一方面还可以实现第二设备的正确IP地址分配。
下面以个人物联网为例,对本申请实施例提供的技术方案进行说明。
图6示出本申请实施例中的一种PIN映射规则处理方法的流程示意图,如图6所示,该方法主要包括以下步骤:
步骤601,PEGC注册到PINMF。
步骤602,PINMF发送第一信息给PCF。
其中,所述第一信息包括以下至少一项:
(1)一个或多个PIN映射规则,所述PIN映射规则用于PEGC确定接入PIN设备的流量(traffic)与PDU会话的关联,所述PIN映射规则包括以下任一项:PDU会话参数(DNN/S-NSSAI/SSC mode/PDU session type等)、Default、external slice,还可以包括与以上其对应的关联信息,所述关联信息包括以下至少一项:Source IP range、SSIDs、BT IDs、包过滤器(Packet filters)。
(2)PIN映射规则获取指示,所述指示中包括PEGC标识,具有管理能力的PIN元素(PIN Element with Management Capability,PEMC)标识或者组标识。
在本申请实施例中,在第一信息中可以包括多个PIN映射规则时,多个PIN映射规则有优先级,另外,在PIN映射规则中包括的有default信息的情况下,第一信息中只包含一个PIN映射规则。
步骤603,PCF向PEGC发送PIN映射规则。
在一种实施方式中,在第一信息包括一个或多个PIN映射规则时,且PIN映射规则不包括Default指示时和external slice/业务标识指示时,PCF转发所述第一信息给PEGC。
在另一种实施方式中,在第一信息包括的PIN映射规则PIN映射规则中包含Default指示时(即只有一个PIN映射规则),PCF确定所述PIN映射规则的PDU会话参数(DNN和切片(S-NSSAI)),将确定的所述PIN映射规则发送给PEGC。
在又一种实施方式中,在第一信息包括的PIN映射规则中包含external slice指示时,PCF使用关联所述external slice ID的DNN/S-NSSAI确定所述PIN映射规则中的PDU会话参数(DNN和切片(S-NSSAI)),其中,external slice ID与DNN/S-NSSAI关联关系可以预配置在PCF中。PCF将确定的PIN映射规则发送给PEGC。
在又一种实施方式中,在所述第一信息中包括PIN映射规则获取指示时,在步骤602中,PCF发送PIN映射规则获取请求到UDR,所述PIN映射规则获取请求包括PEGC标识,PEMC标识或者组标识,还可以包括external slice ID,然后接收UDR的PIN映射规则获取请求回复,所述回复包括一个或多个PIN映射规则或者PIN映射规则的辅助信息,所述辅助信息包括DNN/S-NSSAI以及与其关联的关联信息。在步骤603中,PCF根据所述回复信息确定一个或多个PIN映射规则并发送给PEGC。或者,PCF也可以根据本地策略或预配置信息确定一个或多个PIN映射规则并发送给PEGC。
步骤604,PEGC接收PCF发送的PIN映射规则,根据所述PIN映射规则将PINE设备的数据映射到对应匹配的PDU session,如果当前没有匹配的PDU session,则PEGC基于所述PIN映射规则创建新的PDU session。
图7示出了本申请实施例中的一种地址分配规则处理方法的流程示意图,如图7所示,该方法700主要包括以下步骤。
步骤701:PEGC注册到PINMF。
步骤702:PINMF发送第二信息给PCF,所述第一信息包含PIN地址分配信息(PIN Address Allocation Info),所述PIN地址分配信息包括以下至少一项:
(1)IP range,所述IP range用于PEGC为接入的PIN设备分配IP地址;
(2)DHCP server地址,所述DHCP server地址用于PEGC中继PIN设备的DHCP消息。
步骤703a:在PIN地址分配信息中包括IP range时,PEGC基于所述IP范围为PINE设备分配IP地址。
步骤703b:在PIN地址分配信息中包括DHCP服务器地址时,PEGC根据所述PIN地址分配信息将PINE的DHCP消息转发到对应的DHCP服务其地址上。
图8示出本申请实施例中的另一种地址分配规则处理方法的流程示意图,如图8所示,该方法800主要包括以下步骤。
步骤801:PEGC注册到PINMF。
在本申请实施例中,PINMF与DHCP server合设。
步骤802:PINMF接收PINE通过DHCP消息发送的IP地址请求(携带MAC地址)。
步骤803:PINMF根据所述PIN设备的MAC地址确定所述PIN设备的类型、以及对应的DNN/切片、IP range等信息,然后发送所述PIN设备的IP地址或者IP range给所述PIN设备。
图9示出本申请实施例中的又一种地址分配规则处理方法的流程示意图,如图9所示,该方法900主要包括以下步骤。
步骤901:PEGC注册到PINMF。
该方法与方法800的区别在于,在该方法中,PINMF与DHCP server不是合设,而是各自独立的网元。
步骤902:DHCP server接收PINE的IP地址请求,该请求中携带有MAC地址。
步骤903:DHCP server发送第一地址获取请求给PINMF,所述请求携带PINE的MAC地址。
步骤904:PINMF根据所述PIN设备的MAC地址确定所述PIN设备的类型、以及对应的DNN/切片、IP range等信息,然后发送第一地址获取请求回复给所述DHCP server,该回复中携带有所述PIN设备的IP地址或者IP range。
步骤905:DHCP server发送的PIN设备的IP地址或者IP地址range给PIN设备。
本申请实施例提供的规则处理方法,执行主体可以为规则处理装置。本申请实施例中以规则处理装置执行规则处理方法为例,说明本申请实施例提供的规则处理装置。
图10示出本申请实施例中的规则处理装置的一种结构示意图,该装置可以应用于第一设备,如图10所示,该装置1000主要包括:第一接收模块1001和第一执行模块1002。
在本申请实施例中,第一接收模块1001,用于接收网络侧发送的第一信息,其中,所述第一信息包括以下至少一项:第一映射规则、第一分配规则;第一执行模块1002,用于基于所述第一信息,执行第一操作,所述第一操作包括以下至少一项:向网络侧设备转发第二设备发送的数据;为第二设备分配IP地址;向第二设备发送IP地址;其中,所述第二设备通过非3GPP接入技术与所述第一设备交互。
在一个可能的实现方式中,所述第一执行模块1002基于所述第一信息,执行第一操作,包括以下至少一项:基于所述第一映射规则,将所述数据通过目标协议数据单元PDU会话传输;基于所述第一分配规则,为所述第二设备分配IP地址和/或向第二设备发送IP地址。
在一个可能的实现方式中,所述第一分配规则包括动态主机配置协议DHCP服务地址信息或以下至少一项:
地址范围信息;
地址映射信息;
其中,所述地址映射信息包括以下任一项:
MAC地址与IP地址的对应关系;
MAC地址与IP地址范围的对应关系;
MAC地址范围与IP地址范围的对应关系。
在一个可能的实现方式中,所述第一映射规则中包括第一会话描述信息,所述第一会话描述信息包括以下至少之一:
数据网名称DNN;
网络切片相关的信息。
业务连续性模式信息。
在一个可能的实现方式中,所述第一映射规则中还包括第一关联信息与所述第一会话描述信息关联关系,所述第一关联信息包括以下至少一项:
源IP地址;
源IP地址范围;
目标IP地址;
目标IP地址范围;
源媒体接入控制MAC地址;
源MAC地址范围;
目标MAC地址;
目标MAC地址范围;
服务集标识SSID;
蓝牙标识;
源端口号;
源端口范围;
目标端口号;
目标端口范围;
数据的协议信息;
缺省指示,用于指示任意数据。
在一个可能的实现方式中,所述第一执行模块1002基于所述第一映射规则,将所述数据通过目标PDU会话传输,包括:
所述第一映射规则和所述数据的数据属性信息,将所述数据通过所述目标PDU会话传输,其中,所述目标PDU会话与所述第一会话描述信息对应。
在一个可能的实现方式中,所述数据属性信息包括以下至少一项:
源IP地址;
目标IP地址;
所述第二设备连接所述第一设备时使用的SSID;
所述第二设备连接所述第一设备时使用的蓝牙标识;
源MAC地址;
目标MAC地址;
源端口号;
目标端口号;
数据的协议信息。
在一个可能的实现方式中,所述第一映射规则中还包括优先级信息,所述优先级信息用于指示所述第一映射规则的优先级,在所述第一映射规则包括多个的情况下,所述第一设备基于各个所述第一映射规则的优先级使用所述第一映射规则。
在一个可能的实现方式中,在所述第一分配规则包括DHCP服务地址信息的情况下,所述第一执行模块1002基于所述第一分配规则,执行第一操作,包括:转发所述第二设备发送的DHCP消息给所述DHCP服务地址信息指示的DHCP服务器,或转发所述DHCP服务器发送的DHCP消息给所述第二设备。
在一个可能的实现方式中,所述目标PDU会话包括:
已建立的目标PDU会话;或者,
新建的目标PDU会话。
本申请实施例中的规则处理装置可以是电子设备,例如具有操作系统的电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,终端可以包括但不限于上述所列举的终端11的类型,其 他设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)等,本申请实施例不作具体限定。
本申请实施例提供的规则处理装置能够实现图3的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
图11示出本申请实施例提供的规则处理装置的又一种结构示意图,如图11所示,该装置1100主要包括:第一获取模块1101和第一发送模块1102。
在本申请实施例中,第一获取模块1101,用于获取第一信息,所述第一信息包括以下至少一项:第一映射规则、第一分配规则;第一发送模块1102,用于向第一设备发送第一信息;其中,所述第一映射规则用于指示所述第一设备基于所述第一映射规则,向网络侧设备转发第二设备发送的数据;所述第一分配规则用于指示所述第一设备基于所述第一分配规则,为第二设备分配IP地址和/或向第二设备发送IP地址;所述第二设备通过非3GPP接入技术与所述第一设备交互。
在一个可能的实现方式中,所述第一分配规则包括DHCP服务地址信息或以下至少一项:
地址范围信息;
地址映射信息;
其中,所述地址映射信息包括以下任一项:MAC地址与IP地址的对应关系、MAC地址与IP地址范围的对应关系、MAC地址范围与IP地址范围的对应关系。
在一个可能的实现方式中,所述第一映射规则中包括第一会话描述信息,所述第一会话描述信息包括以下至少之一:
数据网名称DNN;
网络切片相关的信息;
业务连续性模式信息。
在一个可能的实现方式中,所述第一映射规则中还包括第一关联信息与所述第一会话描述信息的关联关系,所述第一关联信息包括以下至少一项:
源IP地址;
源IP地址范围;
目标IP地址;
目标IP地址范围;
源MAC地址;
源MAC地址范围;
目标MAC地址;
目标MAC地址范围;
服务集标识SSID;
蓝牙标识;
源端口号;
源端口范围;
目标端口号;
目标端口范围;
数据的协议信息;
缺省指示,用于表示任意数据。
在一个可能的实现方式中,所述第一映射规则中还包括优先级信息,所述优先级信息用于所述第一映射规则的优先级,在所述第一映射规则包括多个的情况下,所述第一设备按照各个所述第一映射规则的优先级使用所述第一映射规则。
在一个可能的实现方式中,如图11所示,所述装置还可以包括:第二接收模块1103,用于从第二网络功能接收第二信息,所述第二信息包括以下至少一项:
映射规则指示;
第二映射规则;
所述第一分配规则;
其中,所述映射规则指示用于指示所述第一网络功能获取目标标识对应的所述第一映射规则;
所述第二映射规则用于指示所述第一网络功能基于所述第二映射规则向所述第一设备发送所述第一映射规则。
在一个可能的实现方式中,所述映射规则指示包括以下至少一项目标标识:终端设备标识、组标识。
在一个可能的实现方式中,所述第二映射规则包括第二会话描述信息,所述第二会话描述信息包括以下之一:
第一会话描述信息;
默认值;
外部切片信息。
在一个可能的实现方式中,所述第二映射规则还包括第二关联信息与所述第二会话描 述信息的关联关系,所述第二关联信息包括以下至少一项:
源IP地址;
源IP地址范围;
目标IP地址;
目标IP地址范围;
源MAC地址;
源MAC地址范围;
目标MAC地址;
目标MAC地址范围;
服务集标识SSID;
蓝牙标识;
源端口号;
源端口范围;
目标端口号;
目标端口范围;
数据的协议信息;
缺省指示,用于指示任意数据。
在一个可能的实现方式中,所述第二映射规则还包括优先级信息,所述优先级信息用于指示所述第二映射规则的优先级,所述第一网络功能按照各个所述第二映射规则的优先级确定对应的所述第一映射规则的优先级。
在一个可能的实现方式中,如图11所示,该装置还可以包括第二执行模块1104,用于在所述第一分配规则包括DHCP服务地址信息的情况下,基于所述第二设备相关的信息,执行第二操作,所述第二操作包括以下至少一项:
为所述第二设备分配IP地址;
向所述第二设备发送IP地址。
在一个可能的实现方式中,第二执行模块1104基于所述第二设备相关的信息,执行第二操作,包括:基于所述第二设备相关的信息并结合所述第一映射规则,执行所述第二操作。
本申请实施例提供的规则处理装置能够实现图4的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
图12示出本申请实施例提供的规则处理装置的又一种结构示意图,如图12所示,该装置1200主要包括:第二获取模块1201和第二发送模块1202。
在本申请实施例中,第二获取模块1201,用于获取第二信息;第二发送模块1202,用于向第一网络功能发送的第二信息,所述第二信息包括以下至少一项:映射规则指示;第二映射规则;第一分配规则;其中,所述映射规则指示用于指示所述第一网络功能获取目标标识对应的第一映射规则;所述第二映射规则用于指示所述第一网络功能基于所述第二映射规则向所述第一设备发送第一映射规则;所述第一分配规则用于所述第一网络功能指示第一设备基于所述第一分配规则为第二设备分配IP地址和/或向第二设备发送IP地址;所述第二设备通过非3GPP接入技术与所述第一设备交互。
在一个可能的实现方式中,所述第一分配规则包括DHCP服务地址信息或以下至少一项:
地址范围信息;
地址映射信息;
其中,所述地址映射信息包括以下至少一项:MAC地址与IP地址的对应关系、MAC地址与IP地址范围的对应关系、MAC地址范围与IP地址范围的对应关系。
在一个可能的实现方式中,所述映射规则指示包括以下至少一项:
终端设备标识、组标识。
在一个可能的实现方式中,所述第二映射规则中包括第二会话描述信息,所述第二会话描述信息包括以下之一:
第一会话描述信息;
默认值;
外部切片信息。
在一个可能的实现方式中,所述第二映射规则中还包括第二关联信息与所述第二会话描述信息的关联关系,所述第二关联信息包括以下至少一项:
源IP地址;
源IP地址范围;
目标IP地址;
目标IP地址范围;
源MAC地址;
源MAC地址范围;
目标MAC地址;
目标MAC地址范围;
服务集标识SSID;
蓝牙标识;
源端口号;
源端口范围;
目标端口号;
目标端口范围;
数据的协议信息;
缺省指示,用于指示任意数据。
在一个可能的实现方式中,所述第二映射规则还包括优先级信息,所述优先级信息用于指示所述第二映射规则的优先级,所述第一网络功能按照各个所述第二映射规则的优先级确定对应的所述第一映射规则的优先级。
在一个可能的实现方式中,如图12所示,该装置还可以包括第三执行模块1203,用于在所述第一分配规则包括DHCP服务地址信息的情况下,基于所述第二设备相关的信息,执行第三操作,所述第三操作包括以下至少一项:
为所述第二设备分配IP地址;
向所述第二设备发送IP地址。
在一个可能的实现方式中,第三执行模块1203基于所述第二设备相关的信息,执行第三操作,包括:基于所述第二设备相关的信息并结合所述第二映射规则,执行所述第三操作。
本申请实施例提供的规则处理装置能够实现图5的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。
可选的,如图13所示,本申请实施例还提供一种通信设备1300,包括处理器1301和存储器1302,存储器1302上存储有可在所述处理器1301上运行的程序或指令,例如,该通信设备1300为终端时,该程序或指令被处理器1301执行时实现上述规则处理方法300实施例的各个步骤,且能达到相同的技术效果。该通信设备1300为网络侧设备时,该程序或指令被处理器1301执行时实现上述规则处理方法400或500实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供一种终端,包括处理器和通信接口,处理器用于实现上述规则处理方法300实施例的各个步骤,通信接口用于外部设备进行通信。该终端实施例与上述第一设备侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该终端 实施例中,且能达到相同的技术效果。具体地,图14为实现本申请实施例的一种终端的硬件结构示意图。
该终端1400包括但不限于:射频单元1401、网络模块1402、音频输出单元1403、输入单元1404、传感器1405、显示单元1406、用户输入单元1407、接口单元1408、存储器1409以及处理器1410等中的至少部分部件。
本领域技术人员可以理解,终端1400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图14中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
应理解的是,本申请实施例中,输入单元1404可以包括图形处理单元(Graphics Processing Unit,GPU)14041和麦克风14042,GPU 14041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1406可包括显示面板14061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板14061。用户输入单元1407包括触控面板14071以及其他输入设备14072中的至少一种。触控面板14071,也称为触摸屏。触控面板14071可包括触摸检测装置和触摸控制器两个部分。其他输入设备14072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
本申请实施例中,射频单元1401接收来自网络侧设备的下行数据后,可以传输给处理器1410进行处理;另外,射频单元1401可以向网络侧设备发送上行数据。通常,射频单元1401包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。
存储器1409可用于存储软件程序或指令以及各种数据。存储器1409可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1409可以包括易失性存储器或非易失性存储器,或者,存储器1409可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机 存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1409包括但不限于这些和任意其它适合类型的存储器。
处理器1410可包括一个或多个处理单元;可选的,处理器1410集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1410中。
其中,射频单元1401,用于接收网络侧发送的第一信息,其中,所述第一信息包括以下至少一项:第一映射规则、第一分配规则。其中,所述终端基于所述第一信息,执行第一操作,所述第一操作包括以下至少一项:
向网络侧设备转发第二设备发送的数据;
为第二设备分配IP地址;
向第二设备发送IP地址;
其中,所述第二设备通过非3GPP接入技术与所述终端交互。
本申请实施例还提供一种网络侧设备,包括处理器和通信接口,处理器用于实现上述规则处理方法400或500实施例的各个步骤,通信接口用于与外部设备进行通信。该网络侧设备实施例与上述第一网络功能或第二网络功能方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该网络侧设备实施例中,且能达到相同的技术效果。
具体地,本申请实施例还提供了一种网络侧设备。如图15所示,该网络侧设备1500包括:处理器1501、网络接口1502和存储器1503。其中,网络接口1502例如为通用公共无线接口(common public radio interface,CPRI)。
具体地,本发明实施例的网络侧设备1500还包括:存储在存储器1503上并可在处理器1501上运行的指令或程序,处理器1501调用存储器1503中的指令或程序执行图XX所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述规则处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,可以是非易失性的,也可以是非瞬态的。可读存储介质,可以包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述规则处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述规则处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供了一种规则处理系统,包括:终端及网络侧设备,所述终端可用于执行如上所述的规则处理方法300的步骤,所述网络侧设备包括第一网络侧设备和/或第二网络侧设备,所述第一网络侧设备可用于执行如上所述的规则处理方法400的步骤,所述第二网络侧设备可用于执行如上所述的规则处理方法500的步骤。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (39)

  1. 一种规则处理方法,包括:
    第一设备接收第一网络功能发送的第一信息,其中,所述第一信息包括以下至少一项:第一映射规则、第一分配规则;
    所述第一信息用于所述第一设备基于所述第一信息,执行第一操作,所述第一操作包括以下至少一项:
    向网络侧设备转发第二设备发送的数据;
    为第二设备分配IP地址;
    向第二设备发送IP地址;
    所述第二设备通过非3GPP接入技术与所述第一设备交互。
  2. 根据权利要求1所述的方法,其中,所述第一信息至少包括所述第一映射规则,所述第一设备基于所述第一信息向所述网络侧设备转发第二设备的数据,包括;
    所述第一设备基于所述第一映射规则,将所述数据通过目标协议数据单元PDU会话传输。
  3. 根据权利要求1所述的方法,其中,所述第一信息至少包括所述第一分配规则,所述第一设备基于所述第一信息为第二设备分配IP地址和/或向第二设备发送IP地址,包括;
    所述第一设备基于所述第一分配规则,为所述第二设备分配IP地址和/或向第二设备发送IP地址。
  4. 根据权利要求3所述的方法,其中,所述第一分配规则包括动态主机配置协议DHCP服务地址信息或以下至少一项:
    地址范围信息;
    地址映射信息;
    其中,所述地址映射信息包括以下任一项:
    MAC地址与IP地址的对应关系;
    MAC地址与IP地址范围的对应关系;
    MAC地址范围与IP地址范围的对应关系。
  5. 根据权利要求2所述的方法,其中,所述第一映射规则中包括第一会话描述信息,所述第一会话描述信息包括以下至少之一:
    数据网名称DNN;
    网络切片相关的信息;
    业务连续性模式信息。
  6. 根据权利要求5所述的方法,其中,所述第一映射规则中还包括第一关联信息与所述第一会话描述信息关联关系,所述第一关联信息包括以下至少一项:
    源IP地址;
    源IP地址范围;
    目标IP地址;
    目标IP地址范围;
    源媒体接入控制MAC地址;
    源MAC地址范围;
    目标MAC地址;
    目标MAC地址范围;
    服务集标识SSID;
    蓝牙标识;
    源端口号;
    源端口范围;
    目标端口号;
    目标端口范围;
    数据的协议信息;
    缺省指示,用于指示任意数据。
  7. 根据权利要求5或6所述的方法,其中,所述第一设备基于所述第一映射规则,将所述数据通过目标PDU会话传输,包括:
    所述第一设备基于所述第一映射规则和所述数据的数据属性信息,将所述数据通过所述目标PDU会话传输,其中,所述目标PDU会话与所述第一会话描述信息对应。
  8. 根据权利要求7所述的方法,其中,所述数据属性信息包括以下至少一项:
    源IP地址;
    目标IP地址;
    所述第二设备连接所述第一设备时使用的SSID;
    所述第二设备连接所述第一设备时使用的蓝牙标识;
    源MAC地址;
    目标MAC地址;
    源端口号;
    目标端口号;
    数据的协议信息。
  9. 根据权利要求2所述的方法,其中,所述第一映射规则中还包括优先级信息,所述优先级信息用于指示所述第一映射规则的优先级,在所述第一映射规则包括多个的情况下,所述第一设备基于各个所述第一映射规则的优先级使用所述第一映射规则。
  10. 根据权利要求4所述的方法,其中,在所述第一分配规则包括DHCP服务地址信息的情况下,所述第一设备基于所述第一分配规则,执行第一操作,包括:
    所述第一设备转发所述第二设备发送的DHCP消息给所述DHCP服务地址信息指示的DHCP服务器,或转发所述DHCP服务器发送的DHCP消息给所述第二设备。
  11. 根据权利要求2或7所述的方法,其中,所述目标PDU会话包括:
    已建立的目标PDU会话;或者,
    新建的目标PDU会话。
  12. 一种规则处理方法,包括:
    第一网络功能向第一设备发送第一信息,所述第一信息包括以下至少一项:第一映射规则、第一分配规则;
    其中,所述第一映射规则用于指示所述第一设备基于所述第一映射规则,向网络侧设备转发第二设备发送的数据;
    所述第一分配规则用于指示所述第一设备基于所述第一分配规则,为第二设备分配IP地址和/或向第二设备发送IP地址;
    所述第二设备通过非3GPP接入技术与所述第一设备交互。
  13. 根据权利要求12所述的方法,其中,所述第一分配规则包括DHCP服务地址信息或以下至少一项:
    地址范围信息;
    地址映射信息;
    其中,所述地址映射信息包括以下任一项:MAC地址与IP地址的对应关系、MAC地址与IP地址范围的对应关系、MAC地址范围与IP地址范围的对应关系。
  14. 根据权利要求12所述的方法,其中,所述第一映射规则中包括第一会话描述信息,所述第一会话描述信息包括以下至少之一:
    数据网名称DNN;
    网络切片相关的信息;
    业务连续性模式信息。
  15. 根据权利要求14所述的方法,其中,所述第一映射规则中还包括第一关联信息与所述第一会话描述信息的关联关系,所述第一关联信息包括以下至少一项:
    源IP地址;
    源IP地址范围;
    目标IP地址;
    目标IP地址范围;
    源MAC地址;
    源MAC地址范围;
    目标MAC地址;
    目标MAC地址范围;
    服务集标识SSID;
    蓝牙标识;
    源端口号;
    源端口范围;
    目标端口号;
    目标端口范围;
    数据的协议信息;
    缺省指示,用于表示任意数据。
  16. 根据权利要求12或13所述的方法,其中,所述第一映射规则中还包括优先级信息,所述优先级信息用于所述第一映射规则的优先级,在所述第一映射规则包括多个的情况下,所述第一设备按照各个所述第一映射规则的优先级使用所述第一映射规则。
  17. 根据权利要求12至14中任一项所述的方法,其中,在所述第一网络功能向第一设备发送第一信息之前,所述方法还包括:
    所述第一网络功能从第二网络功能接收第二信息,所述第二信息包括以下至少一项:
    映射规则指示;
    第二映射规则;
    所述第一分配规则;
    其中,所述映射规则指示用于指示所述第一网络功能获取目标标识对应的所述第一映射规则;
    所述第二映射规则用于指示所述第一网络功能基于所述第二映射规则向所述第一设 备发送所述第一映射规则。
  18. 根据权利要求17所述的方法,其中,所述映射规则指示包括以下至少一项目标标识:
    终端设备标识、组标识。
  19. 根据权利要求17所述的方法,其中,所述第二映射规则包括第二会话描述信息,所述第二会话描述信息包括以下之一:
    第一会话描述信息;
    默认值;
    外部切片信息。
  20. 根据权利要求19所述的方法,其中,所述第二映射规则还包括第二关联信息与所述第二会话描述信息的关联关系,所述第二关联信息包括以下至少一项:
    源IP地址;
    源IP地址范围;
    目标IP地址;
    目标IP地址范围;
    源MAC地址;
    源MAC地址范围;
    目标MAC地址;
    目标MAC地址范围;
    服务集标识SSID;
    蓝牙标识;
    源端口号;
    源端口范围;
    目标端口号;
    目标端口范围;
    数据的协议信息;
    缺省指示,用于指示任意数据。
  21. 根据权利要求19所述的方法,其中,所述第二映射规则还包括优先级信息,所述优先级信息用于指示所述第二映射规则的优先级,所述第一网络功能按照各个所述第二映射规则的优先级确定对应的所述第一映射规则的优先级。
  22. 根据权利要求13所述的方法,其中,在所述第一分配规则包括DHCP服务地址 信息的情况下,所述DHCP服务地址信息与所述第一网络功能相关,所述方法还包括:
    所述第一网络功能基于所述第二设备相关的信息,执行第二操作,所述第二操作包括以下至少一项:
    为所述第二设备分配IP地址;
    向所述第二设备发送IP地址。
  23. 根据权利要求22所述的方法,其中,所述第一网络功能基于所述第二设备相关的信息,执行第二操作,包括:
    所述第一网络功能基于所述第二设备相关的信息并结合所述第一映射规则,执行所述第二操作。
  24. 一种规则处理方法,包括:
    第二网络功能向第一网络功能发送的第二信息,所述第二信息包括以下至少一项:
    映射规则指示;
    第二映射规则;
    第一分配规则;
    其中,所述映射规则指示用于指示所述第一网络功能获取目标标识对应的第一映射规则;
    所述第二映射规则用于指示所述第一网络功能基于所述第二映射规则向第一设备发送第一映射规则;
    所述第一分配规则用于所述第一网络功能指示第一设备基于所述第一分配规则为第二设备分配IP地址和/或向第二设备发送IP地址;
    所述第二设备通过非3GPP接入技术与所述第一设备交互。
  25. 根据权利要求24所述的方法,其中,所述第一分配规则包括DHCP服务地址信息或以下至少一项:
    地址范围信息;
    地址映射信息;
    其中,所述地址映射信息包括以下至少一项:MAC地址与IP地址的对应关系、MAC地址与IP地址范围的对应关系、MAC地址范围与IP地址范围的对应关系。
  26. 根据权利要求24或25所述的方法,其中,所述映射规则指示包括以下至少一项:
    终端设备标识、组标识。
  27. 根据权利要求24至26中任一项所述的方法,其中,所述第二映射规则中包括第二会话描述信息,所述第二会话描述信息包括以下之一:
    第一会话描述信息;
    默认值;
    外部切片信息。
  28. 根据权利要求27所述的方法,其中,所述第二映射规则中还包括第二关联信息与所述第二会话描述信息的关联关系,所述第二关联信息包括以下至少一项:
    源IP地址;
    源IP地址范围;
    目标IP地址;
    目标IP地址范围;
    源MAC地址;
    源MAC地址范围;
    目标MAC地址;
    目标MAC地址范围;
    服务集标识SSID;
    蓝牙标识;
    源端口号;
    源端口范围;
    目标端口号;
    目标端口范围;
    数据的协议信息;
    缺省指示,用于指示任意数据。
  29. 根据权利要求27所述的方法,其中,所述第二映射规则还包括优先级信息,所述优先级信息用于指示所述第二映射规则的优先级,所述第一网络功能按照各个所述第二映射规则的优先级确定对应的所述第一映射规则的优先级。
  30. 根据权利要求25所述的方法,其中,在所述第一分配规则包括DHCP服务地址信息的情况下,所述DHCP服务地址信息与所述第二网络功能相关,所述方法还包括:
    所述第二网络功能基于所述第二设备相关的信息,执行第三操作,所述第三操作包括以下至少一项:
    为所述第二设备分配IP地址;
    向所述第二设备发送IP地址。
  31. 根据权利要求30所述的方法,其中,所述第二网络功能基于所述第二设备相关 的信息,执行第三操作包括:
    所述第二网络功能基于所述第二设备相关的信息并结合所述第二映射规则,执行所述第三操作。
  32. 一种规则处理装置,应用于第一设备,所述装置包括:
    第一接收模块,用于接收网络侧发送的第一信息,其中,所述第一信息包括以下至少一项:第一映射规则、第一分配规则;
    第一执行模块,用于基于所述第一信息,执行第一操作,所述第一操作包括以下至少一项:
    向网络侧设备转发第二设备发送的数据;
    为第二设备分配IP地址;
    向第二设备发送IP地址;
    其中,所述第二设备通过非3GPP接入技术与所述第一设备交互。
  33. 根据权利要求32所述的装置,其中,所述第一执行模块基于所述第一信息,执行第一操作,包括以下至少一项:
    基于所述第一映射规则,将所述数据通过目标协议数据单元PDU会话传输;
    基于所述第一分配规则,为所述第二设备分配IP地址和/或向第二设备发送IP地址。
  34. 一种规则处理装置,包括:
    第一获取模块,用于获取第一信息,所述第一信息包括以下至少一项:第一映射规则、第一分配规则;
    第一发送模块,用于向第一设备发送第一信息;
    其中,所述第一映射规则用于指示所述第一设备基于所述第一映射规则,向网络侧设备转发第二设备发送的数据;
    所述第一分配规则用于指示所述第一设备基于所述第一分配规则,为第二设备分配IP地址和/或向第二设备发送IP地址;
    所述第二设备通过非3GPP接入技术与所述第一设备交互。
  35. 根据权利要求34所述的装置,其中,所述装置还包括:
    第二接收模块,用于从第二网络功能接收第二信息,所述第二信息包括以下至少一项:
    映射规则指示;
    第二映射规则;
    所述第一分配规则;
    其中,所述映射规则指示用于指示获取目标标识对应的所述第一映射规则;
    所述第二映射规则用于指示基于所述第二映射规则向所述第一设备发送所述第一映射规则。
  36. 一种规则处理装置,包括:
    第二获取模块,用于获取第二信息;
    第二发送模块,用于向第一网络功能发送的第二信息,所述第二信息包括以下至少一项:
    映射规则指示;
    第二映射规则;
    第一分配规则;
    其中,所述映射规则指示用于指示所述第一网络功能获取目标标识对应的第一映射规则;
    所述第二映射规则用于指示所述第一网络功能基于所述第二映射规则向第一设备发送第一映射规则;
    所述第一分配规则用于所述第一网络功能指示第一设备基于所述第一分配规则为第二设备分配IP地址和/或向第二设备发送IP地址;
    所述第二设备通过非3GPP接入技术与所述第一设备交互。
  37. 一种通信设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至11任一项所述的规则处理方法的步骤。
  38. 一种网络侧设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求12至31任一项所述的规则处理方法的步骤。
  39. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至31任一项所述的规则处理方法的步骤。
PCT/CN2023/107530 2022-07-20 2023-07-14 规则处理方法、通信设备及网络侧设备 WO2024017167A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210862222.9 2022-07-20
CN202210862222.9A CN117478639A (zh) 2022-07-20 2022-07-20 规则处理方法、通信设备及网络侧设备

Publications (1)

Publication Number Publication Date
WO2024017167A1 true WO2024017167A1 (zh) 2024-01-25

Family

ID=89617136

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/107530 WO2024017167A1 (zh) 2022-07-20 2023-07-14 规则处理方法、通信设备及网络侧设备

Country Status (2)

Country Link
CN (1) CN117478639A (zh)
WO (1) WO2024017167A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210368341A1 (en) * 2020-08-10 2021-11-25 Ching-Yu LIAO Secure access for 5g iot devices and services
CN113746876A (zh) * 2020-05-27 2021-12-03 维沃移动通信有限公司 通信代理的建立方法、装置及终端
WO2022133505A2 (en) * 2021-04-16 2022-06-23 Futurewei Technologies, Inc. Methods and apparatus for service assurance for time-restricted short-lived networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113746876A (zh) * 2020-05-27 2021-12-03 维沃移动通信有限公司 通信代理的建立方法、装置及终端
US20210368341A1 (en) * 2020-08-10 2021-11-25 Ching-Yu LIAO Secure access for 5g iot devices and services
WO2022133505A2 (en) * 2021-04-16 2022-06-23 Futurewei Technologies, Inc. Methods and apparatus for service assurance for time-restricted short-lived networks

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
QUALCOMM INCORPORATED: "Solution of authorization and management of PIN and PIN Elements", 3GPP TSG-SA WG2#150E E-MEETING S2-2202028, 29 March 2022 (2022-03-29), XP052132882 *
QUALCOMM INCORPORATED: "Solution of authorization and management of PIN and PIN Elements", 3GPP TSG-SA WG2#150E E-MEETING S2-2203520, 12 April 2022 (2022-04-12), XP052135602 *

Also Published As

Publication number Publication date
CN117478639A (zh) 2024-01-30

Similar Documents

Publication Publication Date Title
US11612013B2 (en) Data transmission method, device, and system
US11812484B2 (en) Data transmission method, device, and data transmission system
CN109151950B (zh) 一种接入控制的方法、网络设备以及终端设备
WO2015110080A1 (zh) 一种数据处理的方法、装置及系统
WO2024017167A1 (zh) 规则处理方法、通信设备及网络侧设备
WO2018014708A1 (zh) 数据传输方法及装置
WO2024037515A1 (zh) 消息发送方法、通信设备及存储介质
WO2023143412A1 (zh) Ip地址分配方法、设备及可读存储介质
WO2024022182A1 (zh) 信息查询方法、装置、终端及网络侧设备
WO2024001954A1 (zh) 标识配置方法、装置、终端及存储介质
WO2024032499A1 (zh) Dns查询方法及通信设备
WO2024017191A1 (zh) 交互方法、装置、设备及存储介质
WO2023005898A1 (zh) 多终端联合会话管理方法、网络侧设备及终端
WO2023143414A1 (zh) 数据传输、配置方法、装置、终端及网络侧设备
WO2023001109A1 (zh) 多路径数据发送方法、装置及设备
WO2024027578A1 (zh) 流量路由方法、装置及设备
WO2023143411A1 (zh) 设备鉴权方法、装置及通信设备
WO2024061205A1 (zh) 参数获取方法、装置、第一网络功能及第二网络功能
WO2023143423A1 (zh) 信息获取与存储、上报方法、装置、终端及网络功能
WO2023109894A1 (zh) Rsc确定方法、终端及网络侧设备
WO2024022370A1 (zh) 信息获取和发送方法、服务器访问和会话建立方法及设备
WO2024022161A1 (zh) Pin设备的注册方法、装置及通信设备
US20240187977A1 (en) Method for Transmitting Service Flow by Means of Multiple Ues, and Device
WO2023126004A1 (zh) 数据传输方法、装置及终端
WO2024061145A1 (zh) 网关信息的使用方法、装置、终端及网络侧设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23842230

Country of ref document: EP

Kind code of ref document: A1