Data packet filtering method and device, communication equipment, chip and storage medium

By unified identification of adding and replacing operations as the first operation code, the complexity problem of the terminal when modifying QoS rules is solved, and the processing efficiency and system stability of the terminal and network equipment are improved.

CN120343626AActive Publication Date: 2025-07-18BEIJING X RING TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410066561.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-16
Publication Date
2025-07-18
Estimated Expiration
2044-01-16

AI Technical Summary

Technical Problem

When the terminal recognizes and modifys the QoS rules configured by network equipment, the logic is complex, the stability and reliability are poor.

Method used

By receiving the modification instructions from the console, the terminal and network equipment uniformly recognize the addition and replacement operations as the first operation code, reducing the processing complexity of the terminal and network equipment, and realizing the filtering of uplink data packets.

Benefits of technology

It improves the processing efficiency of terminals and network equipment, and enhances the stability and reliability of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120343626A_ABST
    Figure CN120343626A_ABST
Patent Text Reader

Abstract

The invention provides a data packet filtering method and device, communication equipment, a chip and a storage medium, and the method comprises the steps: receiving a modification instruction sent by a console, the modification instruction is used for modifying a first filter in first filtering information, and the first filtering information comprises at least one first filter; a target filter list is determined according to the modification instruction, the target filter list comprises a first operation code, and the first operation code is used for instructing the network equipment to replace at least one first filter with a filter in the target filter list; and determining target filtering information, wherein the target filtering information is used for filtering the uplink data packet. The uplink data packet of the terminal can be filtered, and the network equipment is indicated through the first operation code, so that the complexity of the terminal code can be reduced, and the processing efficiency of the terminal and the stability and reliability of the terminal can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communications, and in particular, to a data packet filtering method, apparatus, communication device, chip, and storage medium. Background Art

[0002] In a communication system, a terminal can filter uplink data according to Quality of Service (QoS) rules configured by a network device. The terminal can also actively initiate a modification of the QoS rules. At this time, the terminal needs to identify specific operation types through traversal, and the implementation logic is relatively complex, and the stability and reliability are relatively poor. Summary of the Invention

[0003] The present disclosure provides a data packet filtering method, apparatus, communication device, chip, and storage medium to solve the problems in the related art.

[0004] In a first aspect embodiment of the present disclosure, a data packet filtering method is proposed. The method is executed by a terminal and includes: receiving a modification instruction sent by a console, where the modification instruction is used to modify a first filter in first filtering information, and the first filtering information includes at least one first filter; determining a target filter list according to the modification instruction, where the target filter list includes a first operation code, and the first operation code is used to instruct a network device to replace at least one first filter with a filter in the target filter list; and determining target filtering information, where the target filtering information is used to filter uplink data packets.

[0005] In some embodiments of the present disclosure, the modification instruction is used to indicate at least one of the following: at least one second filter; an identifier of the first filtering information; replacing at least one first filter; and adding a filter to the first filtering information.

[0006] In some embodiments of the present disclosure, the target filter list includes at least one first filter and / or at least one second filter.

[0007] In some embodiments of the present disclosure, the method further includes: establishing a PDU session; receiving at least one second filtering information sent by a network device; receiving an identifier of the first filtering information sent by a console; and determining the first filtering information from the at least one second filtering information according to the identifier of the first filtering information.

[0008] In some embodiments of the present disclosure, determining the target filtering information includes: sending the target filter list to a network device; receiving at least one third filtering information determined by the network device; receiving an identifier of the target filtering information sent by a console; and determining the target filtering information from the at least one third filtering information according to the identifier of the target filtering information.

[0009] In some embodiments of the present disclosure, determining a target filter list includes: when there is an identical identifier between a first filter and a second filter in the target filter list, deleting the first filter with the duplicate identifier.

[0010] An embodiment of the second aspect of the present disclosure provides a data packet filtering method, which is executed by a network device. The method includes: determining a first opcode according to a target filter list; and based on the first opcode, replacing at least one first filter with a filter in the target filter list.

[0011] In some embodiments of the present disclosure, the target filter list includes at least one first filter and / or at least one second filter.

[0012] In some embodiments of the present disclosure, the method further includes: sending second filtering information to a terminal, where the second filtering information is used for the terminal to determine first filtering information.

[0013] In some embodiments of the present disclosure, the method further includes: receiving a target filter list sent by the terminal, where the target filter list includes a first opcode; determining third filtering information according to the target filter list; and sending the third filtering information to the terminal.

[0014] An embodiment of the third aspect of the present disclosure provides a terminal, which includes: a first transceiver unit, configured to receive a modification instruction sent by a console, where the modification instruction is used to modify a first filter in first filtering information, and the first filtering information includes at least one first filter; a first processing unit, configured to determine a target filter list according to the modification instruction, where the target filter list includes a first opcode, and the first opcode is used to instruct a network device to replace at least one first filter with a filter in the target filter list; and a second processing unit, configured to determine target filtering information, where the target filtering information is used to filter uplink data packets.

[0015] An embodiment of the fourth aspect of the present disclosure provides a network device, characterized in that the network device includes: a first processing unit, configured to determine a first opcode according to a target filter list; and a second processing unit, configured to, based on the first opcode, replace at least one first filter with a filter in the target filter list.

[0016] An embodiment of the fifth aspect of the present disclosure provides a communication device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in the embodiment of the first aspect of the present disclosure.

[0017] A sixth aspect embodiment of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause a computer to execute the methods described in the first aspect and second aspect embodiments of the present disclosure.

[0018] A seventh aspect embodiment of the present disclosure provides a communication system, which includes a terminal and a network device; wherein the terminal is used to implement the method described in the first aspect embodiment of the present disclosure, and the network device is used to implement the method described in the second aspect embodiment of the present disclosure.

[0019] An eighth aspect embodiment of the present disclosure provides a chip, which is characterized by including at least one processor and a communication interface; the communication interface is used to receive signals input to the chip or signals output from the chip, and the processor communicates with the communication interface and implements the method described in the first aspect embodiment of the present disclosure through logic circuits or by executing code instructions.

[0020] In summary, for the packet filtering method proposed by the present disclosure, the terminal can determine a target filtering list based on a modification instruction, and the network device can completely replace the filters in the first filtering information according to the first operation code included in the target filtering list, which can reduce the complexity of the terminal code and improve the stability and reliability of the terminal. By determining the target filtering information, the terminal can implement filtering of uplink packets based on the target filtering information.

[0021] It should be understood that the above general description and subsequent detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure and do not constitute an improper limitation of the present disclosure.

[0023] Figure 1 It is a flowchart showing a packet filtering method provided by an embodiment of the present disclosure;

[0024] Figure 2 It is a flowchart showing a packet filtering method provided by an embodiment of the present disclosure;

[0025] Figure 3 It is a flowchart showing a packet filtering method provided by an embodiment of the present disclosure;

[0026] Figure 4 It is a flowchart showing a packet filtering method provided by an embodiment of the present disclosure;

[0027] Figure 5 It is a flowchart showing a packet filtering method provided by an embodiment of the present disclosure;

[0028] Figure 6 Schematic diagram of a method for a terminal to initiate QoS rule modification provided by an embodiment of the present disclosure;

[0029] Figure 7 Schematic diagram of the structure of a terminal provided by an embodiment of the present disclosure;

[0030] Figure 8 Schematic diagram of the structure of a network device provided by an embodiment of the present disclosure;

[0031] Figure 9 Schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure;

[0032] Figure 10 Schematic diagram of the chip structure provided by an embodiment of the present disclosure. Detailed implementation manners

[0033] The embodiments of the present disclosure will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present disclosure, and should not be construed as a limitation to the present disclosure.

[0034] In a communication system, after a mobile terminal registers with the network, the terminal will establish a Protocol Data Unit Session (PDU Session) bearer for the service initiated by the user. At the same time, the network will allocate corresponding QoS rules to the terminal based on the PDU Session, and the terminal can perform packet filtering on the uplink data packets based on the allocated QoS rules. In the above background, the user can actively request to modify the existing QoS rule parameters through the console. Exemplarily, the process for the terminal to actively initiate the modification of the existing QoS rule parameters is as follows.

[0035] 1. The terminal completes initial registration with the network and establishes a PDU session for the user service, that is, a PDU Session. The network will allocate at least one corresponding QoS rule parameter to the terminal. Exemplarily, assume the parameters are: the identifier of the QoS rule is 1, and the QoS rule carries two packet filters, the identifier of one packet filter is 1, and the identifier of the other packet filter is 2.

[0036] 2. The terminal can initiate a modification operation on the QoS rule actively. By way of example, the above modification operation can be adding a new packet filter to the packet filter list of the existing QoS rule, or replacing the packet filter list of the existing QoS rule with a new packet filter list.

[0037] 3. When the terminal initiates a modification operation on the QoS rule, the terminal needs to compare the packet filter list of the QoS rule that is expected to be modified with the Packet filter list of the QoS rule previously issued by the network, and then determine whether to perform an addition operation or a replacement operation on the packet filter of the existing QoS rule.

[0038] 4. After the terminal identifies the corresponding operation, it can encode the corresponding operation code request information according to the protocol and send it to the network.

[0039] However, there are still some problems in the above solution. When the terminal identifies the specific operation, it needs to traverse and compare the expected Packet filter list with the list previously issued by the network device to determine. The code is relatively complex and prone to code exception scenarios, which is not conducive to the stability and reliability of the communication system.

[0040] To solve the problems existing in the related art, the present disclosure proposes a data packet filtering method. By unifying the operation codes of the addition operation and the replacement operation into a first operation code, the complexity of the terminal logic implementation can be reduced, the terminal efficiency can be improved, and the stability and reliability of the terminal can be improved. The specific content of this method is as follows.

[0041] Figure 1 It is a schematic flowchart of a data packet filtering method provided by an embodiment of the present disclosure. As Figure 1 shown, this method can be executed by a communication device. Optionally, this method can be executed by a terminal. Optionally, this method can be executed by a chip of the terminal, such as a baseband chip. This method can include the following steps.

[0042] Step 101, receive a modification instruction sent by a console.

[0043] In some embodiments, the modification instruction can be used to modify the first filter in the first filtering information.

[0044] In some embodiments, the first filtering information can include at least one first filter, and the first filtering information can determine the uplink data packet filtering rule when the terminal performs uplink transmission.

[0045] In some embodiments, the first filtering information may be a QoS rule, and the name of the first filtering information may be "Quality of Service Rule", "Filtering Rule", etc., and the present disclosure is not limited thereto.

[0046] In some embodiments, the first filter may be a packet filter, and the terminal may use the packet filter to filter the uplink data.

[0047] In some embodiments, when there are multiple first filters, the uplink data of the terminal may be filtered by multiple first filters. At this time, the filtering rules of the multiple filters may be different.

[0048] In some embodiments, the first filtering information may include multiple parameters. For example, the parameters of the first filtering information may include the identifier of the first filtering information (i.e., the QoS rule identifier). The first filtering information may include at least one packet filter. For example, each packet filter may have its own identifier, i.e., the packet filter identifier, and different packet filter identifiers are different. For example, the identifier of one packet filter is 1, and the identifier of another packet filter may be 2.

[0049] In some embodiments, the terminal may establish a PDU session and receive at least one second filtering information sent by the network device based on the PDU session bearer.

[0050] In some embodiments, the second filtering information may be a QoS rule, and the parameters included in the second filtering information are the same as those of the first filtering information. That is, the parameters included in the second filtering information may include the identifier of the second filtering information. The second filtering information may include at least one packet filter. For example, each packet filter may have its own identifier, i.e., the packet filter identifier, and different packet filter identifiers are different. For example, the identifier of one packet filter is 1, and the identifier of another packet filter may be 2.

[0051] In other words, the second filtering information can be regarded as candidate first filtering information, and the name of the second filtering information may be "Candidate Quality of Service Rule", "Candidate Filtering Rule", etc., and the present disclosure is not limited thereto.

[0052] In some embodiments, the terminal may receive the identifier of the first filtering information sent by the console, that is, the console may indicate the identifier of the first filtering information adopted by the terminal.

[0053] In some embodiments, the terminal may determine the first filtering information from at least one second filtering information according to the identifier of the first filtering information, that is, the console may determine the specific first filtering information adopted from the second filtering information configured by the network device for the terminal.

[0054] In some embodiments, the name of the modification instruction may be "replacement instruction", "new instruction", etc., and the present disclosure is not limited thereto.

[0055] In some embodiments, the modification instruction may be used to indicate at least one of the following:

[0056] At least one second filter;

[0057] The identifier of the first filtering information;

[0058] Replace at least one first filter; or,

[0059] Add a filter to the first filtering information.

[0060] In the above embodiments, the modification instruction may indicate at least one second filter, where the second filter is a packet filter that needs to be newly added as indicated by the console, or a packet filter that needs to replace the first filter.

[0061] In the above embodiments, the modification instruction may carry the identifier of the first filtering information, that is, the console may instruct the terminal to initiate modification of a specific one of the multiple filtering information of the network configuration, and the console may determine the first filtering information according to the identifier of the first filtering information.

[0062] Step 102, determine the target filter list according to the modification instruction.

[0063] In some embodiments, the name of the target filtering list may be "update list", "reference list", etc., and the present disclosure is not limited thereto.

[0064] In some embodiments, the target filter list may include a first opcode, and the first opcode may be used to instruct the network device to replace at least one first filter with the filter in the target filter list.

[0065] Exemplarily, the first opcode may be "Modify existing QoS rule and replace all packet filiters", that is, the terminal will recognize both the newly added operation and the replacement operation as replacing the packet filters in all QoS rules, clear all the packet filters in the existing QoS rules, and use the filters in the target filter list as the packet filters of the QoS rule.

[0066] In some embodiments, the target filter list may include at least one first filter and / or at least one second filter. Exemplarily, the terminal may integrate all the first filters originally included in the first filter information and all the second filters included in the modification instruction into a new filter list, i.e., the target filter list.

[0067] In some embodiments, when the modification instruction indicates to replace at least one first filter, it is possible that the identifier of the first filter in the target filter list is the same as the identifier of the second filter. In this case, the terminal may delete the first filter with the duplicate identifier, that is, when there is a duplication with the filter included in the first filter information as indicated by the console, the terminal takes the filter indicated by the console as the standard, so as to obtain the target filter list.

[0068] Exemplarily, when the operation indicated by the console is to add a filter to the first filter information, for example, the parameter of the first filter information is that the QoS rule identifier is 1, and the first filter information carries two packet filters, one with a packet filter identifier of 1 and the other with a packet filter identifier of 2; the QoS rule parameter requested by the console to be modified is: the QoS rule identifier is 1, and the newly added packet filter identifier is 3. Based on the first opcode, the terminal will recognize this operation as an all-replacement operation for this QoS rule. At this time, the terminal encodes packet filter identifier 1, packet filter identifier 2, and packet filter identifier 3 and sends them to the network device, waiting for the network device to reassign the QoS rule.

[0069] Exemplarily, when the operation indicated by the console is to replace at least one first filter, for example, the parameter of the first filtering information is that the QoS rule identifier is 1, and the first filtering information carries two packet filters, one with a packet filter identifier of 1 and the other with a packet filter identifier of 2; the QoS rule parameters requested by the console to be modified are: the QoS rule identifier is 1, and there are two packet filter identifiers, 2 and 3. Then, for this QoS rule, a full replacement operation will be initiated. First, replace the packet filter of QoS rule identifier 1 issued by the network with the packet filter of QoS rule identifier 1 issued by the console, and then encode all of the packet filter identifier 1, packet filter identifier 2, and packet filter identifier 3 and send them to the network, waiting for the network to re-allocate the QoS rule.

[0070] Step 103, determine the target filtering information.

[0071] In some embodiments, the target filtering information can be used to filter uplink data packets.

[0072] In some embodiments, the target filtering information is the filtering information re-allocated by the network device for the terminal according to the target filter list reported by the terminal. The target filtering information can include the identifier of the target filtering information, and the target filtering information can include at least one packet filter. Exemplarily, each packet filter can have its own identifier, that is, the packet filter identifier, and different packet filter identifiers are different. It includes at least one packet filter for filtering the uplink data of the terminal.

[0073] In summary, in the above embodiments of the present disclosure, the terminal receives a modification instruction and initiates a modification operation on the first filtering information according to the modification instruction, and recognizes both the replacement and addition operations as full replacement operations, which can reduce the processing matters of the terminal, eliminate the need for traversal and recognition operations, reduce the complexity of the terminal code, and improve the terminal efficiency; sending the target filter list and the first operation code to the network device facilitates the network device to determine the target filtering information and can implement the filtering of the terminal's uplink data.

[0074] Figure 2 It is a schematic flowchart of a data packet filtering method provided by an embodiment of the present disclosure. As Figure 2 shown, based on Figure 1In the illustrated embodiment, the method may further include the following steps.

[0075] Step 201, send the target filter list to the network device.

[0076] In some embodiments, the terminal may encode the target filter list and send it to the network device, which may facilitate the network device to determine the target filtering information based on the target filter list.

[0077] Step 202, receive at least one third filtering information determined by the network device.

[0078] In some embodiments, the third filtering information is the filtering information re-allocated by the network device for the terminal based on the target filter list. The third filtering information also includes at least one packet filter. The packet filters included in the third filtering information may be the same as or different from the target filter list.

[0079] Step 203, receive the identifier of the target filtering information sent by the console.

[0080] In some embodiments, the terminal may receive the identifier of the target filtering information sent by the console, that is, the console may indicate the identifier of the target filtering information that the terminal needs to use.

[0081] Step 204, determine the target filtering information from at least one third filtering information according to the identifier of the target filtering information.

[0082] In some things, the terminal may determine the target filtering information according to the above identifier of the target filtering information, that is, the terminal may autonomously determine the QoS rule to be adopted.

[0083] In summary, in the above embodiments of the present application, the terminal determines the specific QoS rule to be used by receiving the identification information sent by the console, which facilitates filtering the uplink data based on the QoS rule.

[0084] Figure 3 It is a schematic flowchart of a data packet filtering method provided by an embodiment of the present disclosure. As Figure 3 shown, this method can be executed by an electronic device. Optionally, this method can be executed by a network device. The method may include the following steps.

[0085] Step 301, determine the first opcode according to the target filter list.

[0086] In some embodiments, the network device may determine the first opcode by receiving the target filter list. The target filter list includes the first opcode, and this opcode instructs the network device to replace all the first filters in the first filtering information with the filters in the target filter list.

[0087] Step 302: Replace at least one first filter with a filter in the target filter list based on the first opcode.

[0088] In some embodiments, the network device may or may not replace the first filter in the first filter information according to the first opcode, that is, the network device may not execute the instruction of the first opcode.

[0089] In summary, in the above embodiments of the present application, the network device can determine the filtering information requirements of the terminal by receiving the target filter list sent by the terminal and the carried first opcode. By recognizing both the replacement operation and the addition operation as full replacement operations, the code complexity of the terminal is reduced, and the processing logic of the network device is relatively simple, which can improve system efficiency, as well as the stability and reliability of communication.

[0090] Figure 4 It is a schematic flowchart of a data packet filtering method provided by an embodiment of the present disclosure. As Figure 4 shown, based on Figure 3 the embodiment shown, the method may further include the following steps.

[0091] Step 401: Send second filtering information to the terminal.

[0092] In some embodiments, the second filtering information may be used by the terminal to determine the first filtering information.

[0093] In summary, in the above embodiments of the present application, the network device can configure the filtering parameters of the terminal's uplink data by sending the second filtering information to the terminal.

[0094] Figure 5 It is a schematic flowchart of a data packet filtering method provided by an embodiment of the present disclosure. As Figure 5 shown, based on Figure 3 the embodiment shown, the method may further include the following steps.

[0095] Step 501: Receive the target filter list sent by the terminal.

[0096] In some embodiments, the target filter list contains a first opcode.

[0097] Step 502: Determine third filtering information according to the target filter list.

[0098] In some embodiments, the network device may determine third filtering information according to a target filter list, that is, the network device may reconfigure the filtering information for the terminal based on the target filter list. The packet filters included in the third filtering information may be the same as the filters in the target filter list. In this case, the network device executes the first operation code to replace the first filter in the first filtering information; the packet filters included in the third filtering information may also be different from the filters in the target filter list. In this case, the network device does not execute the first operation code, and the packet filters in the third filtering information are determined by the network device itself.

[0099] Step 503: Send the third filtering information to the terminal.

[0100] In some embodiments, the network device may send the third filtering information to the terminal to facilitate the terminal to determine the target filtering information based on the third filtering information.

[0101] In summary, in the above embodiments of the present application, the network device can facilitate the terminal to determine the target filtering information based on the third filtering information by determining and sending the third filtering information to the terminal, so as to implement the filtering of uplink data. When the network device determines the third filtering information based on the first operation code, it can meet the modification requirements initiated by the terminal actively. By recognizing both the addition operation and the replacement operation as full replacement operations through the first operation code, the code complexity of the terminal can be reduced, the processing logic of the network device is relatively simple, and the system efficiency, as well as the stability and reliability of communication, can be improved.

[0102] The technical solution of the present disclosure will be further described in detail below in combination with specific application embodiments.

[0103] The following is the specific content of an optimized solution for a terminal to initiate a QoS rule modification operation provided by the embodiments of the present disclosure.

[0104] Figure 6 It is a flowchart of an implementation method for a terminal to initiate a QoS rule modification, and its main steps are as follows:

[0105] 1. The terminal completes initial registration in the network and establishes a PDU session for the user service, that is, a PDU SESSION. The network will allocate at least one corresponding QoS rule parameter to the terminal. By way of example, assume the parameters are: the identifier of the QoS rule is 1, and the QoS rule carries two packet filters, one with an identifier of 1 and the other with an identifier of 2.

[0106] 2. The console can send a modification instruction to the terminal, and the terminal initiates the modification operation of the existing QoS rule. Exemplarily, this operation can be adding a packet filter in the existing QoS rule. After receiving the instruction, the mobile terminal will recognize this operation as replacing the packet filter in all QoS rules. The terminal encodes and sends the previously network - issued packet filter list and the packet filter list requested by the console to the network, and informs the network that the operation code is "modify the existing QoS rule and replace all packet filters". For example, the QoS rule parameters requested by the console to be modified are: the QoS rule identifier is 1, and the newly added packet filter identifier is 3. Then, for this QoS rule, a full - replacement operation will be initiated, encoding packet filter identifier 1, packet filter identifier 2, and packet filter identifier 3 and sending them all to the network, waiting for the network to re - allocate the QoS rule.

[0107] 3. The console can send a modification instruction to the terminal, and the terminal initiates the modification operation of the existing QoS rule. By way of example, this operation can be to replace all the packet filters in the existing QoS rule. After receiving the instruction, the mobile terminal will recognize this operation as replacing all the packet filters in the QoS rule. The terminal encodes and distributes the previously network - issued packet filter list and the packet filter list requested by the console to the network, and informs the network that the operation code is "modify the existing QoS rule and replace all the packet filters". If there are packet filters with duplicate packet filter identifiers, the packet filters issued by the console can replace the packet filters issued by the network. For example, the QoS rule parameters requested by the console for modification are: the QoS rule identifier is 1, and there are two packet filter identifiers, 2 and 3. Then, for this QoS rule, a full - replacement operation will be initiated. First, replace the packet filter of QoS rule identifier 1 issued by the network with the packet filter of QoS rule identifier 1 issued by the console, and then encode and send all of packet filter identifier 1, packet filter identifier 2, and packet filter identifier 3 to the network, waiting for the network to re - allocate the QoS Rule.

[0108] 4. The network processes the modification operation of the QoS rule initiated by the terminal and finally re - allocates new QoS rule parameters to the terminal.

[0109] In summary, in the above example of the present disclosure, by recognizing both the replacement and addition operations as full - replacement operations, the terminal can reduce the complexity of processing. The terminal does not need to distinguish between new addition operations and replacement operations through traversal, which can improve the processing speed and stability of the terminal.

[0110] Figure 7 FIG. is a schematic structural diagram of a terminal 700 provided by an embodiment of the present disclosure. As Figure 7 shown, the terminal includes:

[0111] The first transceiver unit 710 is configured to receive a modification instruction sent by a console, where the modification instruction is used to modify a first filter in first filtering information; the first processing unit 720 is configured to determine a target filter list according to the modification instruction, and the target filter list includes a first operation code, where the first operation code is used to instruct a network device to replace at least one first filter with a filter in the target filter list; the second processing unit 730 is configured to determine target filtering information, where the target filtering information is used to filter uplink data packets.

[0112] In some embodiments, the modification instruction is used to indicate at least one of the following: at least one second filter; an identifier of the first filtering information; replacing at least one first filter; adding a filter to the first filtering information.

[0113] In some embodiments, the target filter list includes at least one first filter and / or at least one second filter.

[0114] In some embodiments, the first processing unit 710 may further be configured to: establish a PDU session; determine the first filtering information from at least one second filtering information according to the identifier of the first filtering information.

[0115] In some embodiments, the first processing unit 710 further includes a transceiver module, configured to: receive at least one second filtering information sent by the network device; receive an identifier of the first filtering information sent by the console.

[0116] In some embodiments, the first processing unit 710 may further be configured to: when there is an identical identifier between a first filter and a second filter in the target filter list, delete the first filter with the repeated identifier.

[0117] In some embodiments, the second processing unit 730 further includes a transceiver module, configured to receive at least one third filtering information determined by the network device; receive an identifier of the target filtering information sent by the console.

[0118] In some embodiments, the second processing unit 730 may further be configured to: determine the target filtering information from at least one third filtering information according to the identifier of the target filtering information.

[0119] In summary, the terminal 700 receives a modification instruction sent by the console, and includes the first operation code in the target filter list according to the modification instruction and sends it to the network device, so that the terminal does not need to identify the operation indicated by the modification instruction, thereby reducing the complexity of the terminal code and improving the stability and reliability of the terminal.

[0120] Figure 8 The following is a schematic structural diagram of a network device 800 provided by an embodiment of the present disclosure. As Figure 8As shown, the network device includes:

[0121] A first processing unit 810, configured to receive a target filter list sent by a terminal, where the target filter list includes a first operation code; a second processing unit 820, configured to determine the first operation code according to the target filter list.

[0122] In some embodiments, the target filter list includes at least one first filter and / or at least one second filter.

[0123] In some embodiments, the first processing unit 810 further includes a transceiver module, which can be used to: send second filtering information to the terminal, where the second filtering information is used for the terminal to determine first filtering information.

[0124] In some embodiments, the second processing unit 820 can also be used to: determine third filtering information according to the target filter list.

[0125] In some embodiments, the second processing unit 820 further includes a transceiver module, configured to: send the third filtering information to the terminal.

[0126] In summary, the network device 800 receives the target filter list sent by the terminal, determines the third filtering information based on the target filter list, and sends the third filtering information to the terminal, which can facilitate the terminal to determine the target filtering information based on the third filtering information, and can implement the network device to indicate the filtering of the terminal uplink data.

[0127] In the above embodiments provided by the present application, the methods and devices provided by the embodiments of the present application are introduced. To implement the various functions in the methods provided by the above embodiments of the present application, the electronic device may include a hardware structure and software modules, and implement the above various functions in the form of a hardware structure, software module, or a combination of a hardware structure and a software module. A certain function among the above various functions may be executed in the form of a hardware structure, software module, or a combination of a hardware structure and a software module.

[0128] Figure 9 It is a block diagram of a communication device 900 for implementing the above method shown according to an exemplary embodiment. For example, the communication device 900 may be a mobile phone, a computer, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0129] Referring to Figure 9 , the communication device 900 may include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.

[0130] The processing component 902 generally controls the overall operation of the communication device 900, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above - mentioned methods. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.

[0131] The memory 904 is configured to store various types of data to support the operation of the communication device 900. Examples of such data include instructions for any application or method operating on the communication device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non - volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read - only memory (EEPROM), erasable programmable read - only memory (EPROM), programmable read - only memory (PROM), read - only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0132] The power component 906 provides power to various components of the communication device 900. The power component 906 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the communication device 900.

[0133] The multimedia component 908 includes a screen that provides an output interface between the communication device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of touch or swipe actions but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 908 includes a front - facing camera and / or a rear - facing camera. When the communication device 900 is in an operating mode, such as a shooting mode or a video mode, the front - facing camera and / or the rear - facing camera can receive external multimedia data. Each front - facing camera and rear - facing camera can be a fixed optical lens system or have focal length and optical zoom capabilities.

[0134] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC) that is configured to receive external audio signals when the communication device 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 904 or transmitted via the communication component 916. In some embodiments, the audio component 910 further includes a speaker for outputting audio signals.

[0135] The I / O interface 912 provides an interface between the processing component 902 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons can include, but are not limited to: a home button, a volume button, a power button, and a lock button.

[0136] The sensor component 914 includes one or more sensors for providing an assessment of various aspects of the state of the communication device 900. For example, the sensor component 914 can detect the on / off state of the communication device 900, the relative positioning of components, such as the display and keypad of the communication device 900. The sensor component 914 can also detect a change in the position of the communication device 900 or a component of the communication device 900, the presence or absence of user contact with the communication device 900, the orientation or acceleration / deceleration of the communication device 900, and a change in the temperature of the communication device 900. The sensor component 914 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 914 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 914 can further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0137] The communication component 916 is configured to facilitate communication between the communication device 900 and other devices in a wired or wireless manner. The communication device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR (New Radio), or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0138] In an exemplary embodiment, the communication device 900 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above method.

[0139] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 904 including instructions, is also provided. The above instructions may be executed by a processor 920 of the communication device 900 to complete the above method. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0140] An embodiment of the present disclosure also proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method described in the above embodiments of the present disclosure.

[0141] An embodiment of the present disclosure also proposes a communication system. The communication system includes a terminal and a network device. The terminal is used to implement the method described in the embodiment of the first aspect of the present disclosure, and the network device may be used to implement the method described in the embodiment of the second aspect of the present disclosure.

[0142] In some embodiments, the above communication system further includes a console, and the console may send a modification instruction to the terminal to control the filtering information adopted by the terminal, etc.

[0143] Figure 10 FIG. is a schematic structural diagram of a chip 900 for implementing the above method shown according to an exemplary embodiment. Referring to Figure 10 , the chip 1000 includes a communication interface 1001 and at least one processor 1002. The communication interface 1001 is used to receive a signal input to the chip 1000 or a signal output from the above chip 1000, and the processor 1002 communicates with the communication interface 801 and implements the method described in the above embodiments of the present disclosure through a logic circuit or by executing code instructions.

[0144] It should be noted that the terms "first", "second", etc. in the description of the present disclosure, the claims and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0145] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "schematic embodiments", "examples", "specific examples" or "some examples", etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any at least one embodiment or example in a suitable manner.

[0146] Any process or method description, whether in a flowchart or otherwise described herein, can be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a specific logical function or process. The scope of the preferred embodiments of the present invention includes additional implementations, where the functions can be executed in a manner that is not shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention pertain.

[0147] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a definite sequence list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processing module, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or used in combination with these instruction execution systems, apparatus, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection portion having at least one wiring (control method), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, a computer-readable medium can even be paper or other suitable media on which a program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or other suitable processing as necessary, and then stored in a computer memory.

[0148] It should be understood that various parts of the embodiments of the present invention can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application-specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

[0149] Those of ordinary skill in the art of this technology can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0150] In addition, each functional unit in various embodiments of the present invention may be integrated into one processing module, may exist separately as individual units physically, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. When the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.

[0151] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.

Claims

1. A data packet filtering method, characterized in that, The method includes: Receiving a modification instruction sent by a console, the modification instruction being used to modify a first filter in first filtering information, the first filtering information including at least one first filter; Determining a target filter list according to the modification instruction, the target filter list including a first operation code, the first operation code being used to instruct a network device to replace the at least one first filter with a filter in the target filter list; Determining target filtering information for filtering uplink data packets.

2. The method according to claim 1, wherein The modification instruction is used to indicate at least one of the following: At least one second filter; The identifier of the first filtering information; Replacing the at least one first filter; Adding a filter to the first filtering information.

3. The method according to claim 2, wherein The target filter list includes the at least one first filter and / or the at least one second filter.

4. The method according to claim 2, wherein The method further includes: Establishing a PDU session; Receiving at least one second filtering information sent by the network device; Receiving the identifier of the first filtering information sent by the console; Determining the first filtering information from the at least one second filtering information according to the identifier of the first filtering information.

5. The method according to claim 2, characterized in that, The determining the target filtering information includes: Sending the target filter list to the network device; Receiving at least one third filtering information determined by the network device; Receiving the identifier of the target filtering information sent by the console; Determining the target filtering information from the at least one third filtering information according to the identifier of the target filtering information.

6. The method according to claim 3, wherein The determining the target filter list includes: When there is an identical identifier between the first filter and the second filter in the target filter list, deleting the first filter with the repeated identifier.

7. A data packet filtering method, characterized in that, The method is executed by a network device, and the method includes: Determining a first operation code according to the target filter list; Based on the first operation code, replacing the at least one first filter with a filter in the target filter list.

8. The method according to claim 7, wherein The target filter list includes the at least one first filter and / or the at least one second filter.

9. The method according to claim 7 or 8, characterized in that, The method further includes: sending second filtering information to the terminal, the second filtering information being used for the terminal to determine first filtering information.

10. The method according to any one of claims 7 to 9, characterized in that The method further includes: receiving a target filter list sent by the terminal, the target filter list including a first operation code; Determining third filtering information according to the target filter list; Sending the third filtering information to the terminal.

11. A terminal, characterized in that, The terminal includes: A first transceiver unit for receiving a modification instruction sent by a console, the modification instruction being used to modify a first filter in first filtering information, the first filtering information including at least one first filter; A first processing unit for determining a target filter list according to the modification instruction, the target filter list including a first operation code, the first operation code being used to instruct a network device to replace the at least one first filter with a filter in the target filter list; A second processing unit, configured to determine target filtering information for filtering uplink data packets.

12. A network device, characterized in that, The network device includes: A first processing unit, configured to determine a first operation code according to a target filter list; A second processing unit, configured to replace the at least one first filter with a filter in the target filter list based on the first operation code.

13. A communication device, characterized in that, Comprising: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method according to any one of claims 1-6.

14. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-10.

15. A communication system, characterized in that, The communication system includes a terminal and a network device; the terminal is configured to execute the method according to any one of claims 1-6, and the network device is configured to execute the method according to any one of claims 7-10.

16. The communication system according to claim 15, characterized in that, The communication system further includes a console.

17. A chip, characterized in that, Comprising at least one processor and a communication interface; the communication interface is configured to receive signals input to the chip or signals output from the chip, and the processor communicates with the communication interface and implements the method according to any one of claims 1 to 6 through logic circuits or by executing code instructions.

Citation Information

Patent Citations

  • PCC rule processing method and apparatus

    CN106789117A

  • Strategy control method, device and system

    CN111565422A

  • Service flow identification method and device

    CN115277583A

  • Enhanced Handling on 5G QoS Operations

    US20200008106A1

  • Policy Control Method, Apparatus, and System

    US20200296221A1