Data processing rule configuration method, terminal and network side equipment

By instructing the second network function to configure or cancel data processing rules through the first network function, the problem that the network side cannot configure data arrival notification for the device is solved, and the terminal data reception activation is realized in non-3GPP air interface scenarios.

CN116567592BActive Publication Date: 2025-09-16VIVO MOBILE COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210313589.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-01-27
Filing Date
2022-03-28
Publication Date
2025-09-16
Estimated Expiration
2042-03-28

AI Technical Summary

Technical Problem

In non-3GPP air interface scenarios, the network side cannot configure data arrival notification for the device.

Method used

The first network function instructs the second network function to configure or cancel the configuration data processing rule according to the first indication information or the status information related to the second terminal, thereby realizing the status management of the first terminal.

Benefits of technology

In non-3GPP air interface scenarios, the network side can configure data arrival notifications based on the terminal status, ensuring that the terminal is activated to receive data when needed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116567592B_ABST
    Figure CN116567592B_ABST
Patent Text Reader

Abstract

The present application discloses a method for configuring data processing rules, a terminal, and a network-side device, and belongs to the field of communication technology. The method for configuring data processing rules in an embodiment of the present application includes: a first network function instructs a second network function to perform a first operation on the data processing rule based on first indication information or status information related to the second terminal, the first indication information is used to indicate the status of the first terminal, and the first terminal is connected to the network side through the second terminal; wherein the first operation includes any one of the following: configuring data processing rules; canceling the configuration of data processing rules.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a configuration method, terminal and network-side equipment for data processing rules. Background Art

[0002] In the related art, when a device communicates with the network side through a gateway, the network side cannot know the situation of the device behind the gateway, and it is difficult to configure the device behind the gateway. In the Personal Internet of Things (PIN) scenario, the Personal Internet of Things Gateway (PEGC) can be a gateway in a smart home scenario, or a mobile phone in a wearable device scenario, etc. The gateway can allow other devices to access, and other devices can communicate with the network side through the gateway after accessing the gateway. For the network side, the network side needs to configure data arrival notification for the device so that the device is notified to activate when the device is idle (idle) and data arrives. In the case where the network side cannot know the device behind the gateway, for example, in a scenario where the device only supports non-Third Generation Partnership Project (3GPP) air interface, the network side cannot configure data arrival notification for the device. Summary of the Invention

[0003] The embodiments of the present application provide a method for configuring data processing rules, a terminal, and a network-side device, which can solve the problem that the network side cannot configure data arrival notification for the device in scenarios such as non-3GPP air interfaces.

[0004] In a first aspect, a method for configuring data processing rules is provided, comprising:

[0005] The first network function instructs the second network function to perform a first operation on the data processing rule according to first indication information or status information related to the second terminal, where the first indication information is used to indicate the status of the first terminal, and the first terminal is connected to the network side through the second terminal;

[0006] The first operation includes any one of the following:

[0007] Configure data processing rules;

[0008] Unconfigure a data processing rule.

[0009] In a second aspect, a device for configuring data processing rules is provided, comprising:

[0010] an instruction module, configured to instruct the second network function to perform a first operation on the data processing rule according to first instruction information or status information related to the second terminal, wherein the first instruction information is used to indicate the status of the first terminal, and the first terminal is connected to the network side through the second terminal;

[0011] The first operation includes any one of the following:

[0012] Configure data processing rules;

[0013] Unconfigure a data processing rule.

[0014] A third aspect provides a method for configuring data processing rules, including:

[0015] The second terminal sends first indication information, where the first indication information is used by the first network function to instruct the second network function to perform a first operation on the data processing rule, and the first indication information is used to indicate a state of the first terminal, where the first terminal is connected to the network side through the second terminal;

[0016] The first operation includes any one of the following:

[0017] Configure data processing rules;

[0018] Unconfigure a data processing rule.

[0019] In a fourth aspect, a device for configuring data processing rules is provided, comprising:

[0020] a sending module, configured to send first indication information, where the first indication information is used by a first network function to instruct a second network function to perform a first operation on a data processing rule, the first indication information being used to indicate a state of a first terminal, where the first terminal is connected to a network side through the second terminal;

[0021] The first operation includes any one of the following:

[0022] Configure data processing rules;

[0023] Unconfigure a data processing rule.

[0024] In a fifth aspect, a terminal is provided, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the third aspect are implemented.

[0025] In a sixth aspect, a terminal is provided, comprising a processor and a communication interface, wherein the communication interface is used to send a first indication message, the first indication message is used by a first network function to instruct a second network function to perform a first operation on a data processing rule, the first indication message is used to indicate the status of a first terminal, and the first terminal is connected to the network side through the second terminal; wherein the first operation includes any one of the following: configuring data processing rules; canceling the configuration of data processing rules.

[0026] In the seventh aspect, a network side device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0027] In the eighth aspect, a network side device is provided, including a processor and a communication interface, wherein the communication interface is used to instruct the second network function to perform a first operation on the data processing rule based on the first indication information or the status information related to the second terminal, the first indication information is used to indicate the status of the first terminal, and the first terminal is connected to the network side through the second terminal; wherein the first operation includes any one of the following: configuring data processing rules; canceling the configuration of data processing rules.

[0028] In the ninth aspect, a data processing rule configuration system is provided, comprising: a terminal and a network side device, the terminal comprising at least one of a first terminal and a second terminal, the network side device comprising at least one of a first network function, a second network function, a third network function and a fourth network function, the terminal can be used to execute the steps of the data processing rule configuration method as described in the third aspect, and the network side device can be used to execute the steps of the data processing rule configuration method as described in the first aspect.

[0029] In the tenth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the third aspect are implemented.

[0030] In the eleventh aspect, a chip is provided, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method described in the first aspect, or to implement the method described in the third aspect.

[0031] In the twelfth aspect, a computer program / program product is provided, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method for configuring data processing rules as described in the first aspect, or to implement the steps of the method for configuring data processing rules as described in the third aspect.

[0032] In an embodiment of the present application, since the first network function can instruct the second network function to configure or cancel the configuration of data processing rules based on the status of the first terminal or status information related to the second terminal, when data arrives, the first network function can determine whether to activate the first terminal based on whether the second network function configures or cancels the configuration of data processing rules, thereby realizing the configuration of data arrival notification for the first terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a schematic diagram of a wireless communication system according to an embodiment of the present application;

[0034] Figure 2 is a schematic flowchart of a method for configuring data processing rules according to an embodiment of the present application;

[0035] Figure 3 is a schematic flowchart of a method for configuring data processing rules according to an embodiment of the present application;

[0036] Figure 4 is a schematic flowchart of a method for configuring data processing rules according to an embodiment of the present application;

[0037] Figure 5 is a structural diagram of a device for configuring data processing rules according to an embodiment of the present application;

[0038] Figure 6 is a structural diagram of a device for configuring data processing rules according to an embodiment of the present application;

[0039] Figure 7 is a structural diagram of a communication device according to an embodiment of the present application;

[0040] Figure 8 is a schematic structural diagram of a terminal according to an embodiment of the present application;

[0041] Figure 9 It is a structural diagram of the network side device according to an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the accompanying drawings in the embodiments of this application to clearly describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0043] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first" and "second" are generally of the same type, and do not limit the number of objects. For example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0044] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the technology described can be used for the systems and radio technologies mentioned above, as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following description, but these technologies can also be applied to applications other than NR system applications, such as 6th generation (6G) systems. th Generation, 6G) communication system.

[0045] Personal IoT Network (PIN):

[0046] A PIN is a group of at least one PIN element (PINE), where at least one PIN element is a user equipment (UE). PIN elements communicate with each other. Two PIN elements can communicate directly between them or indirectly through a communication network.

[0047] A PIN element can be a 3GPP device (e.g., UE) or a non-3GPP device. A non-3GPP device is a device that does not use 3GPP-defined credentials, does not support the 3GPP-defined NAS protocol, or does not support 3GPP access technologies (e.g., 3G / 4G / 5G air interface technologies) but only supports non-3GPP access technologies (e.g., WiFi, fixed network, Bluetooth, etc.).

[0048] A PIN can contain one or more PIN elements with gateway capability (PIN Element With Gateway Capability, PEGC). The PIN elements in the PIN can communicate with each other directly or through the PEGC. The PIN elements in the PIN can communicate with other devices or application servers outside the PIN through the PEGC. The devices in the PEGC can be different types of devices. For example, the PEGC can be a gateway in a smart home scenario, or a mobile phone that acts as a gateway for wearable devices in a wearable device scenario.

[0049] It should be noted that, in this application, the network side may also be referred to as a network side device.

[0050] Figure 1A block diagram of a wireless communication system applicable to the embodiments of the present application is shown. 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 (PDA), a handheld computer, a netbook, an ultra-mobile personal computer (UMPC), a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device (Wearable Device), a vehicle-mounted device (VUE), a pedestrian terminal (PUE), a smart home (home appliances with wireless communication functions, such as refrigerators, televisions, washing machines, or furniture), a game console, a personal computer (PC), an ATM or a 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, smart anklets, etc.), smart wristbands, smart clothing, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiments of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device 12 may also be referred to as a radio access network device, a radio access network (RAN), a radio access network function, or a 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 referred to as a node B, an evolved node B (eNB), an access point, a base transceiver station (BTS), a radio base station, a radio transceiver, a basic service set (BSS), an extended service set (ESS), a home B node, a home evolved B node, a transmitting and receiving point (TRP), or other appropriate terms in the field. As long as the same technical effect is achieved, the base station is not limited to a specific technical vocabulary. It should be noted that in the embodiment of the present 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.The core network equipment may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (MME), access mobility management function (AMF), session management function (SMF), user plane function (UPF), policy control function (PCF), policy and charging rules function unit (PCRF), edge application server discovery function (EASDF), unified data management (UDM), unified data repository (UDR), home user server (HSS), centralized network configuration (CNC), network storage function (NRF), network exposure function (NEF), local NEF (L-NEF), binding support function (BSF), application function ( It should be noted that in the embodiments of the present application, only the core network device in the NR system is introduced as an example, and the specific type of the core network device is not limited.

[0051] The following, in conjunction with the accompanying drawings, describes in detail the configuration method, terminal, and network-side device of the data processing rules provided in the embodiments of the present application through some embodiments and their application scenarios.

[0052] like Figure 2 As shown, an embodiment of the present application provides a method 200 for configuring data processing rules. The method for configuring data processing rules can be executed by a network-side device. In other words, the method for configuring data processing rules can be executed by software or hardware installed on the network-side device. The method for configuring data processing rules includes the following steps.

[0053] S202: The first network function instructs the second network function to perform a first operation on the data processing rule based on the first indication information or the status information related to the second terminal, where the first indication information is used to indicate the status of the first terminal, and the first terminal is connected to the network side through the second terminal; wherein the first operation includes any one of the following: configuring the data processing rule; canceling the configuration of the data processing rule.

[0054] The second terminal may be a terminal with network capabilities, and at least one first terminal may communicate with the network side through the second terminal. For example, the second terminal may serve as a personal Internet of Things gateway (PEGC), and one or more other first terminals may communicate with the network side through the second terminal.

[0055] The first network function can be an access and mobility management function (AMF), a session management function (SMF), a policy control function (PCF), a unified data management (UDM), a unified data repository (UDR), an application function (AF), a network exposure function (NEF), etc.

[0056] The second network function may be a user plane function (UPF).

[0057] The first indication information may be sent by the second terminal to the first network function, and the first indication information may be used to indicate the state of the first terminal. Optionally, the first indication information may be used to indicate the connection state between the first terminal and the second terminal, and the connection state may be any of the following:

[0058] Idle state; Connection lost; Connected; Connected state.

[0059] The idle state may be the state in which the first terminal is idle, the connection lost may be the state in which the first terminal loses connection with the second terminal, the connected state may be the state in which the first terminal enters the connected state from the idle state, and the connected state may be the state in which the first terminal is connected to the second terminal.

[0060] The state information related to the second terminal may be determined by the first network function, and the state information related to the second terminal may include one of the following:

[0061] The status of the second terminal;

[0062] The status of the protocol data unit (PDU) session of the second terminal.

[0063] The state of the second terminal may be a connection state between the second terminal and the network side. The connection state may be an idle state or a connected state. The idle state may be a state in which the second terminal is not connected to the network side. The connected state may be a state in which the second terminal is connected to the network side.

[0064] The PDU session of the second terminal can be used to forward data packets between the first terminal and the network side, and the status of the PDU session can be active or inactive. In the scenario where the PDU session forwards data packets between the first terminal and the network side, the first terminal can use the IP address of the second terminal, and different first terminals correspond to different ports, or the first terminal can use a different IP address or a different Mandatory Access Control (MAC) transport address from the second terminal.

[0065] Optionally, the first network function instructs the second network function to perform the first operation based on the type of the first terminal.

[0066] The type of the first terminal may be any one of the following: first type, second type.

[0067] The first type is used to indicate that the terminal supports connecting to the first network through an access network device, or that the terminal has the conditions for receiving information (such as the presence of other functions in connecting to the access network), or that the terminal is in a state of monitoring a direct air interface and can therefore receive direct air interface connection requests initiated by other terminals. When the type of the first terminal is the first type, the first network function may instruct the second network function to perform the first operation.

[0068] The second type is used to indicate that the terminal does not support connecting to the first network through the access network device, or does not have the conditions to receive information (for example, the function of only connecting to the access network exists), or the terminal is not in the state of monitoring the direct air interface, and therefore cannot receive direct air interface connection requests initiated by other terminals.

[0069] In an embodiment of the present application, the first network function may instruct the second network function to perform a first operation on the data processing rule based on the first indication information or information related to the second terminal. The first operation may be to configure the data processing rule or to cancel the configuration of the data processing rule. That is, the first network function may instruct the second network function to configure or cancel the configuration of the data processing rule based on the first indication information or information related to the second terminal. Optionally, the data processing rule may include a data reporting rule. In the case where the second network function configures the data processing rule, when data sent to the first terminal / second terminal arrives, the second network function may report the data to the first network function so that the first network function can activate the first terminal / second terminal so that the first terminal / second terminal can receive the data. In the case where the second network function cancels the configuration of the data processing rule, when data sent to the first terminal / second terminal arrives, the second network function may cancel reporting the data to the first network function.

[0070] The following will provide detailed explanations based on specific application scenarios.

[0071] In a first implementation, when the second terminal is in a connected state or the PDU session is in an active state, the first network function may instruct the second network function to configure or cancel the configuration of data processing rules for multiple first terminals. The multiple first terminals may be all first terminals related to the second terminal, and the multiple first terminals may communicate with the network side through the second terminal. The first network function instructs the second network function to perform a first operation on the data processing rule based on the first indication information or the status information related to the second terminal, which may include:

[0072] In case the first indication information indicates an idle state or a connection loss, instructing the second network function to configure a data processing rule; or,

[0073] When the first indication information indicates that the device is connected or in a connected state, the second network function is instructed to cancel the configuration data processing rule.

[0074] The first indication information here may indicate the status of all first terminals related to the second terminal. When the first indication information indicates that the status of all first terminals is idle or the connection is lost, the first network function may instruct the second network function to configure data processing rules. For example, when the second terminal does not turn on the WiFi hotspot, the first indication information may indicate that the status of all first terminals is idle. In this case, the first network function may instruct the second network function to configure data processing rules. For another example, after the second terminal turns on the WiFi hotspot and connects to multiple first terminals, the second terminal turns off the WiFi hotspot. In this case, the first network function may instruct the second network function to configure data processing rules.

[0075] When the first network function instructs the second network function to configure a data processing rule, the data processing rule may include a first data reporting rule or a second data reporting rule. The first data reporting rule is used by the second network function to report the received data message sent to the transmission address of the second terminal, and the second data reporting rule is used by the second network function to report the received data message sent to the transmission address of all first terminals related to the second terminal.

[0076] Optionally, when the first terminal uses the IP address of the second terminal, the first network function instructs the second network function to configure a data processing rule, which may be to instruct the second network function to configure a first data reporting rule. The first data reporting rule may include the port numbers of all first terminals or the port number range corresponding to the port numbers of all first terminals. The port number or port number range is used to identify the first terminal. When the IP address or MAC address of the first terminal is different from the IP address or MAC address of the second terminal, the first network function instructs the second network function to configure a data processing rule, which may be to instruct the second network function to configure the above-mentioned first data reporting rule and the second data reporting rule. The second data reporting rule may include the transmission addresses of all first terminals or the transmission address range corresponding to the transmission addresses of all first terminals. The transmission address or transmission address range is used to identify the first terminal. The transmission address may be an IP address, a MAC address, an IP address, and a port number, etc.

[0077] When the first indication information indicates that the status of all first terminals is connected or in a connected state, the first network function may instruct the second network function to cancel the configured data processing rules. For example, if the second terminal turns off the WiFi hotspot and then turns on the WiFi hotspot and connects to multiple first terminals, the first indication information may indicate that the status of all first terminals is connected. In this case, the first network function may instruct the second network function to cancel the previously configured data processing rules. For another example, if the second terminal turns on the WiFi hotspot and has connected to multiple first terminals, the first indication information may indicate that the status of all first terminals is connected. In this case, the first network function may instruct the second network function to cancel the previously configured data processing rules.

[0078] When the first network function instructs the second network function to cancel the configuration of data processing rules, the data processing rules may include the above-mentioned first data reporting rule or the second data reporting rule. Optionally, when the first terminal uses the IP address of the second terminal, the first network function instructs the second network function to cancel the configuration of data processing rules, which may be to instruct the second network function to cancel the previously configured first data reporting rule. When the IP address or MAC address of the first terminal is different from the IP address or MAC address of the second terminal, the first network function instructs the second network function to cancel the configuration of data processing rules, which may be to instruct the second network function to cancel the previously configured first data reporting rule and the second data reporting rule.

[0079] In a second implementation, when the second terminal is in a connected state or the PDU session is in an activated state, the first network function may instruct the second network function to configure or cancel the configuration of a data processing rule for a first terminal. In this case, the first indication information may also include information related to the first terminal, and the information related to the first terminal may be terminal information of the first terminal (such as the device identifier of the first terminal), session information of the first terminal (such as the PDU session identifier of the first terminal), connection information of the first terminal (such as the IP of the first terminal), data transmission port information (such as the port number or transmission address of the first terminal), etc. The first network function instructs the second network function to perform the first operation on the data processing rule based on the first indication information or the status information related to the second terminal, which may include:

[0080] In case the first indication information indicates an idle state or a connection loss, instructing the second network function to configure a data processing rule; or,

[0081] When the first indication information indicates that the device is connected or in a connected state, the second network function is instructed to cancel the configuration data processing rule.

[0082] The first indication information here can indicate the status of a first terminal. When the first indication information indicates that the status of the first terminal is idle or the connection is lost, the first network function can instruct the second network function to configure the data processing rules. For example, when the first terminal is not connected to the WiFi hotspot of the second terminal, the first indication information can indicate that the status of the first terminal is idle. In this case, the first network function can instruct the second network function to configure the data processing rules. For another example, after the first terminal is connected to the WiFi hotspot of the second terminal, the WiFi connection with the second terminal is lost due to sleep or other reasons of the first terminal, the first indication information can indicate that the status of the first terminal is connection loss. In this case, the first network function can instruct the second network function to configure the data processing rules.

[0083] When the first network function instructs the second network function to configure data processing rules, the data processing rules may include a third data reporting rule, which can be used by the second network function to report the received data packet sent to the transmission address of the first terminal. The third data reporting rule may include the transmission address, port number, or port number range of the first terminal. The transmission address, port number or port number range can be used to identify the first terminal. The transmission address can be an IP address, a MAC address, or an IP address and port number, etc.

[0084] When the first indication information indicates that the first terminal is in a connected or connected state, the first network function may instruct the second network function to cancel the configured data processing rules. For example, when the first terminal changes from being connected to a WiFi hotspot of the second terminal to being connected to a WiFi hotspot of the second terminal, the first indication information may indicate that the first terminal is in a connected state. In this case, the first network function may instruct the second network function to cancel the previously configured data processing rules. For another example, when the first terminal remains connected to the WiFi hotspot of the second terminal, the first indication information may indicate that the first terminal is in a connected state. In this case, the first network function may instruct the second network function to cancel the previously configured data processing rules.

[0085] When the first network function instructs the second network function to cancel the configured data processing rule, the data processing rule may include the above-mentioned third data reporting rule, that is, the first network function instructs the second network function to cancel the previously configured third data reporting rule.

[0086] In a third implementation, when the second terminal is in a connected state or the PDU session state is in an activated state, after multiple first terminals (all first terminals related to the second terminal can communicate with the network side through the second terminal) are in an idle state or lose connection with the second terminal, when a first terminal is connected to the second terminal, the first network function can instruct the second network function to configure or cancel the data processing rules for the first terminal.

[0087] Specifically, when the first indication information indicates that the status of multiple first terminals connected to the second terminal is idle or connection lost, when a first terminal connects to the second terminal, the first network function may receive second indication information from the second terminal. This second indication information may indicate which of all first terminals has established a connection with the second terminal and / or which first terminals are not connected to the second terminal and are still in an idle state or connection lost state. Optionally, the second indication information may include information related to the first terminal and third indication information. The information related to the first terminal may be related information about the first terminal connected to the second terminal, and may include terminal information of the first terminal, session information of the first terminal, connection information of the first terminal, data transmission port information, etc. The third indication information may be used to indicate the connection status between at least some of the first terminals and the second terminal. The at least some of the first terminals may include first terminals connected to the second terminal and / or first terminals not connected to the second terminal. The connection status may include any of the following: idle state; connection lost; connected; connected state.

[0088] After receiving the third indication information, if the third indication information indicates that a first terminal is connected or in a connected state, the first network function instructs the second network function to perform a first operation on the data processing rule based on the first indication information or status information related to the second terminal, which may include any one of the following three operations:

[0089] Operation 1: Cancel the configuration of the first data reporting rule or the second data reporting rule, and configure the fourth data reporting rule;

[0090] Operation 2: Cancel the configuration of the third data reporting rule;

[0091] Operation 3: Configure to stop reporting data packets sent to the transmission address of the first terminal.

[0092] In operation 1, the first data reporting rule and the second data reporting rule may be the first data reporting rule and the second data reporting rule in the first implementation method described above. If the first network function previously instructed the second network function to configure the first data reporting rule or the second data reporting rule when the status of all first terminals was idle or the connection was lost, then when the status of a certain first terminal changes from idle or connection lost to connected or connected, the first network function may instruct the second network function to cancel the previously configured first data reporting rule or the second data reporting rule, and may also instruct the second network function to configure the fourth data reporting rule. The fourth data reporting rule may be used by the second network function to report the received data packets of the transmission addresses of other first terminals related to the second terminal except the first terminal (i.e., the first terminal whose connection status changes from idle or connection lost to connected or connected), and the fourth data reporting rule includes the transmission address or transmission address interval of the other first terminal.

[0093] Optionally, when the first network function instructs the second network function to cancel the configuration of the first data reporting rule, the first data reporting rule may include a port number interval, and the port number interval may include the port of the first terminal connected to the second terminal. In other words, when the first network function instructs the second network function to cancel the configuration of the first data reporting rule, it may be to instruct the second network function to cancel the first data reporting rule previously applied to all first terminals.

[0094] Optionally, when the first network function instructs the second network function to cancel the configuration of the second data reporting rule, the second data reporting rule may include a transmission address interval, and the transmission address interval may include the transmission address of the first terminal connected to the second terminal. In other words, when the first network function instructs the second network function to cancel the configuration of the second data reporting rule, it may be to instruct the second network function to cancel the second data reporting rule previously applied to all first terminals.

[0095] In operation 2, only the data processing rules previously configured for the first terminal (the first terminal whose connection state changes from idle state or connection loss to connected or connected state) can be canceled, that is, if the data processing rules were previously configured for the first terminal, the data processing rules previously configured for the first terminal can be canceled. For example, when the state of the first terminal before the first terminal was idle state or connection loss, the first network function instructed the second network function to configure the third data reporting rule for the first terminal, then, when the state of the first terminal changes from idle state or connection loss to connected state or connected, the first network function can instruct the second network function to cancel the third data reporting rule previously configured for the first terminal. The third data reporting rule is used for the second network function to report the received data message sent to the transmission address of the first terminal, and the third data reporting rule includes the port number or transmission address of the first terminal.

[0096] In operation 3, when the first terminal changes from an idle state or a connection loss state to a connected or connected state, the first network function may not cancel the data reporting rule previously configured for all first terminals when the state of all first terminals is an idle state or the connection is lost, but may perform a separate configuration for the first terminal, specifically configuring to stop reporting data packets sent to the transmission address of the first terminal. Optionally, a lower priority may be set for the previously configured data reporting rule for all first terminals, and a higher priority may be set for the data reporting rule subsequently configured for the first terminal alone (i.e., stop reporting data packets sent to the transmission address of the first terminal). In this way, when the two rules coexist, the second network function may give priority to executing the rule with a higher priority, i.e., configuring to stop reporting data packets sent to the transmission address of the first terminal, to avoid errors.

[0097] In a fourth implementation, when the second terminal is in an idle state or the PDU session is in an inactive state, all first terminals associated with the second terminal are unreachable. In this case, the first network function may instruct the second network device to configure or cancel the configuration of data processing rules for all first terminals. Specifically, the first network function instructs the second network function to perform a first operation on the data processing rule based on the first instruction information or the status information related to the second terminal, which may include:

[0098] According to the first indication information or the status information related to the second terminal, the second network function is instructed to configure the data processing rule.

[0099] If the first terminal and the second terminal use different IP addresses or MAC addresses, the first network function needs to instruct the second network function to configure a second data reporting rule for all first terminals. The second data reporting rule is used by the second network function to report received data packets sent to the transmission address of the first terminal associated with the second terminal. The second data reporting rule may include the transmission addresses of all first terminals or the transmission address range corresponding to the transmission addresses of all first terminals. The transmission address or transmission address range is used to identify the first terminal. The transmission address can be an IP address, MAC address, IP address, port number, etc.

[0100] Through the above four implementation methods, the first network function can, in different application scenarios, instruct the second network function to configure or cancel the configuration of data processing rules for the first terminal or all first terminals based on the status of the first terminal or status information related to the second terminal. Therefore, when data arrives, the first network function can determine whether to activate the first terminal or all first terminals based on whether the second network function configures or cancels the configuration of data processing rules, thereby realizing the configuration of data arrival notification for the first terminal.

[0101] Optionally, after instructing the second network function to configure or cancel a data processing rule, the first network function may perform a second operation upon receiving a data arrival notification from the second network function. The second operation may include at least one of the following: notifying a third network function; notifying the first terminal; or notifying the second terminal. The third network function may be a network function other than the first and second network functions, such as an AF.

[0102] When the first network function performs the second operation, the second operation may be performed according to the type of the first terminal. The type of the first terminal includes a first type or a second type, where the first type indicates that the first terminal is a terminal that supports direct connection to the 3GPP network (can be connected through a base station), and the second type indicates that the first terminal is a terminal that does not support direct connection to the 3GPP network.

[0103] If the second operation includes notifying a third network function, the first network function performing the second operation may include: if the type of the first terminal is the first type, sending a data arrival notification for the first terminal to the third network function, or sending a data arrival notification for the first terminal to the third network function via a fourth network function. The fourth network function may be a network function other than the first to third network functions, such as an NEF.

[0104] When the second operation includes notifying the first terminal, the first network function performs the second operation, which may include: if the first terminal type is the first type, sending an indication to the first terminal via the second network function or the third network function; if the first terminal type is the second type, the first terminal may wait for an indication from the second terminal for the first terminal. Optionally, the second network function may be a UPF or an SMF and a UPF; sending the indication to the first terminal via the second network function may be sending an application layer message carrying the indication to the first terminal. The third network function may be an AMF; sending the indication to the first terminal via the third network function may be sending a non-access stratum (NAS) message carrying the indication to the first terminal. The indication sent to the first terminal is used to notify the first terminal to connect to the second terminal, receive data, send data, or open a direct air interface. The direct air interface includes at least one of the following: Bluetooth, WiFi, a non-3GPP air interface, or a PC5 / Sidelink air interface.

[0105] In the case where the second operation includes notifying the first terminal, the first network function performing the second operation may include: when the second terminal is in an idle state or the PDU session is in an inactive state, instructing the second terminal to open a direct air interface and / or enter a connected state and / or activate a PDU session. The PDU session is used to transmit data related to the first terminal.

[0106] In a possible application scenario, the configuration method of the data processing rules provided in the embodiment of the present application can be as follows: Figure 3 shown. Figure 3 In the figure, PEGC is the second terminal with gateway capability, Device is the first terminal, the first terminal communicates with the network side through the second terminal, NG-RAN is the radio access network, AMF / SMF can be the first network function, UPF can be the second network function, and AF / NEF can be the third network function. Figure 3 The data processing rule configuration method shown may include the following steps.

[0107] Step 0: PEGC sends the first indication information and / or the type of Device to AMF / SMF; or, AF / NEF sends the first indication information and / or the type of Device to AMF / SMF.

[0108] The first indication information is used to indicate the state of the Device, and can specifically be used to indicate that the connection state between the PEGC and the Device is one of the following: idle state; connection lost; connected; connected state.

[0109] Among them, the type of Device includes a first type and a second type; the first type is used to indicate that the terminal supports connecting to the first network through the access network device, or has the conditions for receiving information (such as the existence of other functions in the connection access network), or the terminal is in a state of monitoring the direct air interface, so it can receive direct air interface connection requests initiated by other terminals;

[0110] The second type is used to indicate that the terminal does not support connecting to the first network through the access network device, or does not have the conditions to receive information (for example, the function of only connecting to the access network exists), or the terminal is not in the state of monitoring the direct air interface, and therefore cannot receive direct air interface connection requests initiated by other terminals.

[0111] Step 1: AMF / SMF instructs UPF to configure or cancel the configuration of data processing rules based on the first indication information or PEGC-related status information, or instructs UPF to configure or cancel the configuration of data processing rules based on the first indication information or PEGC-related status information and based on the type of Device. For example, when the type of Device is the first type, instruct UPF to configure or cancel the configuration of data processing rules.

[0112] PEGC-related status information includes one of the following:

[0113] PEGC state, the PEGC state is one of the following: idle state, connected state;

[0114] The status of the PEGC PDU session. The PDU session is used to forward data packets between the device and the network. The PDU session status can be one of the following: active or inactive.

[0115] The data processing rules may include a first data reporting rule, a second data reporting rule, a third data reporting rule, or a fourth data reporting rule. For details, please refer to the description of the corresponding content above, which will not be repeated here. The specific implementation method of the AMF / SMF instructing the UPF to configure or cancel the configuration of the data processing rules based on the first indication information or PEGC-related status information can be referred to the specific implementation of the above corresponding steps, which will not be described in detail here.

[0116] Step 2: The data packet sent to PEGC / Device arrives at the UPF.

[0117] Step 3: UPF reports the data message to AMF / SMF.

[0118] Step 4: AMF / SMF sends data arrival notification.

[0119] The AMF / SMF sending a data arrival notification may include at least one of the following steps 4a and 4b:

[0120] Step 4a: AMF / SMF sends a data arrival notification for the Device to AF / NEF.

[0121] Specifically, when the type of the Device is the first type, the AMF / SMF sends a data arrival notification for the Device to the AF / NEF. The first type can characterize the Device as a terminal that supports direct connection to the 3GPP network.

[0122] Optionally, after the AF / NEF receives the data arrival notification for the Device, the following may also be included:

[0123] Step 5a: The AF / NEF sends an indication to the Device via NG-RAN.

[0124] This indication is used to notify the device to connect to the PEGC, receive data, send data, or open a direct air interface. The direct air interface can be Bluetooth, WiFi, non-3GPP air interface, or PC5 / Sidelink air interface.

[0125] Step 4b: AMF / SMF sends an indication to the Device via NG-RAN.

[0126] Step 4c: AMF / SMF instructs PEGC to open the direct air interface and / or enter the connected state and / or activate the PDU session.

[0127] Optionally, the PEGC opens a direct air interface and / or enters a connected state and / or activates a PDU session, which may further include:

[0128] Step 5c: PEGC sends an indication to Device.

[0129] This indication is used to notify the device to connect to the PEGC, receive data, send data, or open a direct air interface. The direct air interface can be Bluetooth, WiFi, non-3GPP air interface, or PC5 / Sidelink air interface.

[0130] In an embodiment of the present application, since the first network function can instruct the second network function to configure or cancel the configuration of data processing rules based on the status of the first terminal or status information related to the second terminal, when data arrives, the first network function can determine whether to activate the first terminal based on whether the second network function configures or cancels the configuration of data processing rules, thereby realizing the configuration of data arrival notification for the first terminal.

[0131] like Figure 4As shown, an embodiment of the present application provides a method 400 for configuring data processing rules. The method for configuring data processing rules can be executed by a terminal. In other words, the method for configuring data processing rules can be executed by software or hardware installed on the terminal. The method for configuring data processing rules includes the following steps.

[0132] S402: The second terminal sends a first indication message, where the first indication message is used by the first network function to instruct the second network function to perform a first operation on the data processing rule. The first indication message is used to indicate the status of the first terminal, and the first terminal is connected to the network side through the second terminal; wherein the first operation includes any one of the following: configuring the data processing rule; canceling the configuration of the data processing rule.

[0133] The second terminal may be a terminal with network capabilities, and at least one first terminal may communicate with the network side through the second terminal. For example, the second terminal may serve as a personal Internet of Things gateway (PEGC), and one or more other first terminals may communicate with the network side through the second terminal.

[0134] The first network function may be AMF, SMF, PCF, UDM, UDR, AF, NEF, etc. The second network function may be UPF.

[0135] The first indication information is used to indicate that the connection state between the second terminal and the first terminal is one of the following: idle state; connection lost; connected; and connected state. The idle state may be when the first terminal is idle; the connection lost may be when the first terminal loses connection with the second terminal; the connected state may be when the first terminal enters the connected state from the idle state; and the connected state may be when the first terminal is connected to the second terminal.

[0136] When the first network function receives the first indication information, it can instruct the second network function to configure or cancel the configuration data processing rule according to the first indication information or the state information related to the second terminal. For specific implementation methods, please refer to Figure 2 The specific implementation of the corresponding steps in the illustrated embodiment will not be repeated here.

[0137] In an embodiment of the present application, since the first network function can instruct the second network function to configure or cancel the configuration of data processing rules based on the status of the first terminal or status information related to the second terminal, when data arrives, the first network function can determine whether to activate the first terminal based on whether the second network function configures or cancels the configuration of data processing rules, thereby realizing the configuration of data arrival notification for the first terminal.

[0138] The data processing rule configuration method provided in the embodiment of the present application can be executed by a data processing rule configuration device. In the embodiment of the present application, the method of executing the configuration of the data processing rule by the data processing rule configuration device is taken as an example to illustrate the data processing rule configuration device provided in the embodiment of the present application.

[0139] Figure 5 1 is a schematic diagram of a configuration device for data processing rules according to an embodiment of the present application, which may correspond to the first network function in other embodiments. Figure 5 As shown, the apparatus 500 includes the following modules.

[0140] an instruction module, configured to instruct the second network function to perform a first operation on the data processing rule according to first instruction information or status information related to the second terminal, wherein the first instruction information is used to indicate the status of the first terminal, and the first terminal is connected to the network side through the second terminal;

[0141] The first operation includes any one of the following:

[0142] Configure data processing rules;

[0143] Unconfigure a data processing rule.

[0144] Optionally, as an embodiment, the first indication information is used to indicate that the connection state between the second terminal and the first terminal is one of the following: idle state; connection lost; connected; connected state;

[0145] The status information related to the second terminal includes one of the following:

[0146] The state of the second terminal is one of the following: idle state and connected state;

[0147] The status of the protocol data unit PDU session of the second terminal, the PDU session is used to forward data messages between the first terminal and the network side, and the status of the PDU session is one of the following: active state and inactive state.

[0148] Optionally, as an embodiment, when the second terminal is in a connected state or the state of the PDU session is an activated state, the data processing rule includes any one of the following: a first data reporting rule, a second data reporting rule;

[0149] The indication module 501 is used to:

[0150] In case the first indication information indicates an idle state or a connection loss, instructing the second network function to configure the data processing rule; or

[0151] In a case where the first indication information indicates connected or connected state, instructing the second network function to cancel the configuration of the data processing rule;

[0152] Among them, the first data reporting rule is used by the second network function to report the received data packets sent to the transmission address of the second terminal, and the second data reporting rule is used by the second network function to report the received data packets sent to the transmission addresses of all first terminals related to the second terminal.

[0153] Optionally, as an embodiment, the first indication information further includes information related to the first terminal, and when the second terminal is in a connected state or the state of the PDU session is an activated state, the data processing rule includes a third data reporting rule, and the third data reporting rule is used for the second network function to report the received data message sent to the transmission address of the first terminal;

[0154] The indication module 501 is used to:

[0155] In case the first indication information indicates an idle state or a connection loss, instructing the second network function to configure the data processing rule; or

[0156] When the first indication information indicates connected or connected state, instruct the second network function to cancel the configuration of the data processing rule.

[0157] Optionally, as an embodiment, when the first indication information indicates an idle state or a connection loss, the apparatus further includes a receiving module, the receiving module being configured to:

[0158] receiving second indication information, where the second indication information includes information related to the first terminal and third indication information;

[0159] The third indication information is used to indicate that the connection status between at least some of the first terminals and the second terminals is one of the following: idle state; connection lost; connected; connected state.

[0160] Optionally, as an embodiment, when the third indication information indicates connected or connected state, the indication module is used for any of the following:

[0161] Unconfiguring the first data reporting rule or the second data reporting rule, and configuring a fourth data reporting rule;

[0162] Cancel the configuration of the third data reporting rule;

[0163] Configuring to stop reporting data packets sent to the transmission address of the first terminal;

[0164] Among them, the third data reporting rule is used by the second network function to report the received data message sent to the transmission address of the first terminal, and the fourth data reporting rule is used by the second network function to report the received data message sent to the transmission address of other first terminals related to the second terminal except the first terminal.

[0165] Optionally, as an embodiment, when the second terminal is in an idle state or the state of the PDU session is in an inactive state, the data processing rule includes a second data reporting rule;

[0166] The indication module 501 is used to:

[0167] Instructing the second network function to configure the data processing rule according to the first indication information or the status information related to the second terminal;

[0168] The second data reporting rule is used by the second network function to report received data packets sent to the transmission addresses of all first terminals related to the second terminal.

[0169] Optionally, as an embodiment, the first data reporting rule includes a port number or a port number range;

[0170] The second data reporting rule includes a transmission address or a transmission address range;

[0171] The third data reporting rule includes a transmission address, or a port number, or a port number range;

[0172] The fourth data reporting rule includes a transmission address or a transmission address range.

[0173] Optionally, as an embodiment, the indication module 501 is further configured to:

[0174] Based on the type of the first terminal, instruct the second network function to perform the first operation.

[0175] Among them, the type of the first terminal includes a first type and a second type; the first type is used to indicate that the terminal supports connecting to the first network through an access network device, or has the conditions for receiving information (such as the existence of functions in other connection access networks), or the terminal is in a state of monitoring direct air interfaces, so it can receive direct air interface connection requests initiated by other terminals; the second type is used to indicate that the terminal does not support connecting to the first network through an access network device, or does not have the conditions for receiving information (such as only the existence of functions in this connection access network), or the terminal is not in a state of monitoring direct air interfaces, so it cannot receive direct air interface connection requests initiated by other terminals.

[0176] Optionally, the instructing module 501 is configured to instruct the second network function to perform the first operation when the type of the first terminal is the first type.

[0177] According to the device 500 of the embodiment of the present application, the process of the method 200 corresponding to the embodiment of the present application can be referred to, and the various units / modules in the device 500 and the above-mentioned other operations and / or functions are respectively for implementing the corresponding processes in the method 200, and can achieve the same or equivalent technical effects. For the sake of brevity, they will not be repeated here.

[0178] Figure 6 1 is a schematic diagram of a configuration device for data processing rules according to an embodiment of the present application, which may correspond to the second terminal in other embodiments. Figure 6 As shown, the apparatus 600 includes the following modules.

[0179] A sending module 601 is configured to send first indication information, where the first indication information is used by a first network function to instruct a second network function to perform a first operation on a data processing rule, and the first indication information is used to indicate a state of a first terminal, where the first terminal is connected to the network side through the second terminal;

[0180] The first operation includes any one of the following:

[0181] Configure data processing rules;

[0182] Unconfigure a data processing rule.

[0183] Optionally, as an embodiment, the first indication information is used to indicate that the connection status between the second terminal and the first terminal is one of the following:

[0184] Idle state; Connection lost; Connected; Connected state.

[0185] According to the device 600 of the embodiment of the present application, the process of the method 400 corresponding to the embodiment of the present application can be referred to, and the various units / modules in the device 600 and the above-mentioned other operations and / or functions are respectively for implementing the corresponding processes in the method 400, and can achieve the same or equivalent technical effects. For the sake of brevity, they will not be repeated here.

[0186] The configuration device for data processing rules in the embodiments of the present application can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal, or it can be other devices other than a terminal. For example, the terminal can include but is not limited to the types of terminal 11 listed above, and other devices can be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiments of the present application.

[0187] The configuration device of data processing rules provided in the embodiment of the present application can realize Figures 2 to 4 The various processes implemented by the method embodiment achieve the same technical effect and are not described here again to avoid repetition.

[0188] Optional, such as Figure 7 As shown, an embodiment of the present application further provides a communication device 700, including a processor 701 and a memory 702, wherein the memory 702 stores a program or instruction that can be run on the processor 701. For example, when the communication device 700 is a terminal, the program or instruction, when executed by the processor 701, implements the various steps of the above-mentioned method embodiment 400 and can achieve the same technical effect. When the communication device 700 is a network-side device, the program or instruction, when executed by the processor 701, implements the various steps of the above-mentioned method embodiment 200 and can achieve the same technical effect. To avoid repetition, they are not described here.

[0189] An embodiment of the present application also provides a terminal, including a processor and a communication interface, the communication interface is used to send a first indication information, the first indication information is used by the first network function to instruct the second network function to perform a first operation on the data processing rule, the first indication information is used to indicate the state of the first terminal, and the first terminal is connected to the network side through the second terminal; wherein, the first operation includes any one of the following: configuring data processing rules; canceling the configuration of data processing rules. This terminal embodiment corresponds to the above-mentioned terminal side method embodiment, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this terminal embodiment and can achieve the same technical effect. Specifically, Figure 8 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0190] The terminal 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809 and at least some of the components of the processor 810.

[0191] Those skilled in the art will understand that the terminal 800 may also include a power supply (such as a battery) to power each component, and the power supply may be logically connected to the processor 810 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 8 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.

[0192] It should be understood that in an embodiment of the present application, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0193] In the embodiment of the present application, after receiving downlink data from a network-side device, the radio frequency unit 801 may transmit the data to the processor 810 for processing. Furthermore, the radio frequency unit 801 may send uplink data to the network-side device. Typically, the radio frequency unit 801 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like.

[0194] The memory 809 can be used to store software programs or instructions and various data. The memory 809 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, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct RAM bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0195] Processor 810 may include one or more processing units. Optionally, processor 810 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 810.

[0196] Among them, the radio frequency unit 801 is used to send a first indication information, and the first indication information is used by the first network function to instruct the second network function to perform a first operation on the data processing rule. The first indication information is used to indicate the status of the first terminal, and the first terminal is connected to the network side through the second terminal; wherein the first operation includes any one of the following: configuring data processing rules; canceling the configuration of data processing rules.

[0197] In an embodiment of the present application, since the first network function can instruct the second network function to configure or cancel the configuration of data processing rules based on the status of the first terminal or status information related to the second terminal, when data arrives, the first network function can determine whether to activate the first terminal based on whether the second network function configures or cancels the configuration of data processing rules, thereby realizing the configuration of data arrival notification for the first terminal.

[0198] The terminal 800 provided in the embodiment of the present application can also implement the various processes of the above-mentioned embodiment of the method 400 and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0199] The embodiment of the present application also provides a network-side device, including a processor and a communication interface, wherein the communication interface is used to instruct a second network function to perform a first operation on a data processing rule based on first indication information or status information related to a second terminal, wherein the first indication information is used to indicate the status of a first terminal, and the first terminal is connected to the network side through the second terminal; wherein the first operation includes any one of the following: configuring a data processing rule; canceling the configuration of a data processing rule. This network-side device embodiment corresponds to the above-mentioned network-side device method embodiment, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this network-side device embodiment and can achieve the same technical effect.

[0200] Specifically, the embodiment of the present application also provides a network side device. Figure 9 As shown, the network side device 900 includes: a processor 901, a network interface 902 and a memory 903. The network interface 902 is, for example, a common public radio interface (CPRI).

[0201] Specifically, the network side device 900 of the embodiment of the present invention further includes: instructions or programs stored in the memory 903 and executable on the processor 901, and the processor 901 calls the instructions or programs in the memory 903 to execute. Figure 5 The methods executed by the modules shown achieve the same technical effects, so they will not be described here to avoid repetition.

[0202] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the embodiment of the configuration method of the above-mentioned data processing rules are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0204] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the embodiment of the configuration method of the above-mentioned data processing rules, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0205] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0206] An embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the various processes of the embodiment of the configuration method of the above-mentioned data processing rules, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0207] An embodiment of the present application also provides a data processing rule configuration system, including: a terminal and a network-side device, the terminal including at least one of a first terminal and a second terminal, the network-side device including at least one of a first network function, a second network function, a third network function, and a fourth network function, the terminal can be used to execute the steps of the data processing rule configuration method described above, and the network-side device can be used to execute the steps of the data processing rule configuration method described above.

[0208] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0209] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0210] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A method for configuring data processing rules, characterized in that: include: The first network function instructs the second network function to perform a first operation on the data processing rule according to first indication information or status information related to the second terminal, where the first indication information is used to indicate a connection status between the second terminal and the first terminal, and the first terminal is connected to the network side through the second terminal; The state related to the second terminal includes a state of a protocol data unit (PDU) session of the second terminal, where the PDU session is used to forward data packets between the first terminal and the network side; The first operation includes any one of the following: Configure data processing rules; Unconfigure a data processing rule.

2. The method according to claim 1, characterized in that The connection state between the second terminal and the first terminal is one of the following: idle state; connection lost; connected; connected state; The state of the PDU session is one of the following: active state and inactive state.

3. The method according to claim 2, characterized in that When the state of the PDU session is active, the data processing rule includes any one of the following: a first data reporting rule, a second data reporting rule; The first network function instructs the second network function to perform a first operation on the data processing rule according to the first indication information or the status information related to the second terminal, including: In case the first indication information indicates an idle state or a connection loss, instructing the second network function to configure the data processing rule; or When the first indication information indicates that the network is connected or in a connected state, instruct the second network function to cancel the configuration of the data processing rule; Among them, the first data reporting rule is used by the second network function to report the received data packets sent to the transmission address of the second terminal, and the second data reporting rule is used by the second network function to report the received data packets sent to the transmission addresses of all first terminals related to the second terminal.

4. The method according to claim 2, characterized in that The first indication information further includes information related to the first terminal. When the state of the PDU session is active, the data processing rule includes a third data reporting rule, and the third data reporting rule is used for the second network function to report the received data message sent to the transmission address of the first terminal; The first network function instructs the second network function to perform a first operation on the data processing rule according to the first indication information or the status information related to the second terminal, including: In case the first indication information indicates an idle state or a connection loss, instructing the second network function to configure the data processing rule; or When the first indication information indicates connected or connected state, instruct the second network function to cancel the configuration of the data processing rule.

5. The method according to claim 3, characterized in that When the first indication information indicates an idle state or a connection loss, the method further includes: receiving second indication information, where the second indication information includes information related to the first terminal and third indication information; The third indication information is used to indicate that the connection status between at least some of the first terminals and the second terminals is one of the following: idle state; connection lost; connected; connected state.

6. The method according to claim 5, characterized in that When the third indication information indicates connected or connected state, instruct the second network function to perform any one of the following: Unconfiguring the first data reporting rule or the second data reporting rule, and configuring a fourth data reporting rule; Cancel the configuration of the third data reporting rule; Configuring to stop reporting data packets sent to the transmission address of the first terminal; Among them, the third data reporting rule is used by the second network function to report the received data message sent to the transmission address of the first terminal, and the fourth data reporting rule is used by the second network function to report the received data message sent to the transmission address of other first terminals related to the second terminal except the first terminal.

7. The method according to claim 2, characterized in that When the state of the PDU session is in an inactive state, the data processing rule includes a second data reporting rule; The first network function instructs the second network function to perform a first operation on the data processing rule according to the first indication information or the status information related to the second terminal, including: Instructing the second network function to configure the data processing rule according to the first indication information or the status information related to the second terminal; The second data reporting rule is used by the second network function to report received data packets sent to the transmission addresses of all first terminals related to the second terminal.

8. The method according to any one of claims 3 to 7, characterized in that The first data reporting rule includes a port number or a port number range; The second data reporting rule includes a transmission address or a transmission address range; The third data reporting rule includes a transmission address, or a port number, or a port number range; The fourth data reporting rule includes a transmission address or a transmission address range.

9. The method according to claim 1, characterized in that The method further comprises: The first network function instructs the second network function to perform the first operation based on the type of the first terminal.

10. The method according to claim 9, characterized in that The first network function instructing the second network function to perform the first operation based on the type of the first terminal, including: In a case where the type of the first terminal is a first type, the first network function instructs the second network function to perform the first operation.

11. The method according to any one of claims 9 to 10, characterized in that The type of the first terminal includes a first type and a second type; The first type is used to indicate any one of the following: the terminal supports connecting to the first network through the access network device; the terminal is capable of receiving information; or the terminal is in a state of monitoring a directly connected air interface; The second type is used to indicate any one of the following: the terminal does not support connection to the first network through the access network device; the terminal does not have the conditions to receive information; or the terminal is not in a state of monitoring the direct air interface.

12. A method for configuring data processing rules, characterized in that: include: The second terminal sends first indication information, where the first indication information is used by the first network function to instruct the second network function to perform a first operation on the data processing rule, and the first indication information is used to indicate a connection status between the second terminal and the first terminal, where the first terminal is connected to the network side through the second terminal; The first operation includes any one of the following: Configure data processing rules; Unconfigure a data processing rule.

13. The method according to claim 12, characterized in that The connection status between the second terminal and the first terminal is one of the following: Idle state; Connection lost; Connected; Connected state.

14. A data processing rule configuration device, characterized in that: include: an indication module, configured to instruct the second network function to perform a first operation on the data processing rule based on first indication information or status information related to the second terminal, wherein the first indication information is used to indicate a connection status between the second terminal and the first terminal, and the first terminal is connected to the network side through the second terminal; The state information related to the second terminal includes a state of a protocol data unit (PDU) session of the second terminal, where the PDU session is used to forward data packets between the first terminal and the network side; The first operation includes any one of the following: Configure data processing rules; Unconfigure a data processing rule.

15. The device according to claim 14, characterized in that The connection state between the second terminal and the first terminal is one of the following: idle state; connection lost; connected; connected state; The state of the PDU session is one of the following: active state and inactive state.

16. The device according to claim 15, characterized in that When the state of the PDU session is active, the data processing rule includes any one of the following: a first data reporting rule, a second data reporting rule; The indication module is used to: In case the first indication information indicates an idle state or a connection loss, instructing the second network function to configure the data processing rule; or When the first indication information indicates that the network is connected or in a connected state, instruct the second network function to cancel the configuration of the data processing rule; Among them, the first data reporting rule is used by the second network function to report the received data packets sent to the transmission address of the second terminal, and the second data reporting rule is used by the second network function to report the received data packets sent to the transmission addresses of all first terminals related to the second terminal.

17. The device according to claim 15, characterized in that The first indication information further includes information related to the first terminal. When the state of the PDU session is active, the data processing rule includes a third data reporting rule, and the third data reporting rule is used for the second network function to report the received data message sent to the transmission address of the first terminal; Wherein, the indication module is used to: In case the first indication information indicates an idle state or a connection loss, instructing the second network function to configure the data processing rule; or When the first indication information indicates connected or connected state, instruct the second network function to cancel the configuration of the data processing rule.

18. The device according to claim 16, characterized in that When the first indication information indicates an idle state or a connection loss, the apparatus further includes a receiving module, the receiving module being configured to: receiving second indication information, where the second indication information includes information related to the first terminal and third indication information; The third indication information is used to indicate that the connection status between at least some of the first terminals and the second terminals is one of the following: idle state; connection lost; connected; connected state.

19. The device according to claim 18, characterized in that When the third indication information indicates connected or connected state, the indication module is configured to: Unconfiguring the first data reporting rule or the second data reporting rule, and configuring a fourth data reporting rule; Cancel the configuration of the third data reporting rule; Configuring to stop reporting data packets sent to the transmission address of the first terminal; Among them, the third data reporting rule is used by the second network function to report the received data message sent to the transmission address of the first terminal, and the fourth data reporting rule is used by the second network function to report the received data message sent to the transmission address of other first terminals related to the second terminal except the first terminal.

20. The device according to claim 15, characterized in that When the state of the PDU session is in an inactive state, the data processing rule includes a second data reporting rule; The indication module is used to: Instructing the second network function to configure the data processing rule according to the first indication information or the status information related to the second terminal; The second data reporting rule is used by the second network function to report received data packets sent to the transmission addresses of all first terminals related to the second terminal.

21. The device according to any one of claims 16 to 20, characterized in that The first data reporting rule includes a port number or a port number range; The second data reporting rule includes a transmission address or a transmission address range; The third data reporting rule includes a transmission address, or a port number, or a port number range; The fourth data reporting rule includes a transmission address or a transmission address range.

22. The device according to claim 14, characterized in that The instructing module is further configured to instruct the second network function to perform the first operation based on the type of the first terminal.

23. The device according to claim 22, characterized in that When the type of the first terminal is the first type, the instructing module is used to instruct the second network function to perform the first operation.

24. The device according to any one of claims 22 to 23, characterized in that The type of the first terminal includes a first type and a second type; The first type is used to indicate any one of the following: the terminal supports connecting to the first network through the access network device; the terminal has the conditions to receive information; or the terminal is in a state of monitoring the direct air interface; The second type is used to indicate any one of the following: the terminal does not support connection to the first network through the access network device; the terminal does not have the conditions to receive information; or the terminal is not in a state of monitoring the direct air interface.

25. A data processing rule configuration device, characterized in that: include: a sending module, configured to send first indication information, where the first indication information is used by a first network function to instruct a second network function to perform a first operation on a data processing rule, the first indication information being used to indicate a connection status between the second terminal and the first terminal, where the first terminal is connected to the network side through the second terminal; The first operation includes any one of the following: Configure data processing rules; Unconfigure a data processing rule.

26. The device according to claim 25, characterized in that The connection status between the second terminal and the first terminal is one of the following: Idle state; Connection lost; Connected; Connected state.

27. A terminal, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for configuring data processing rules according to any one of claims 12 to 13 are implemented.

28. A network side device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method for configuring data processing rules according to any one of claims 1 to 11 are implemented.

29. A readable storage medium, characterized in that The readable storage medium stores a program or instruction, which, when executed by a processor, implements the steps of the method for configuring data processing rules as described in any one of claims 1 to 11, or implements the steps of the method for configuring data processing rules as described in any one of claims 12 to 13.

Citation Information

Patent Citations

  • Strategy control method for multi-anchor protocol data unit session and communication device

    CN110048873A

  • Communication method and equipment in non-public network

    CN112437456A

  • Information transmission method and apparatus, and network device

    WO2020223907A1