WO2024152608A1 - Acl管理方法、装置、通信设备及存储介质 - Google Patents
Acl管理方法、装置、通信设备及存储介质 Download PDFInfo
- Publication number
- WO2024152608A1 WO2024152608A1 PCT/CN2023/121775 CN2023121775W WO2024152608A1 WO 2024152608 A1 WO2024152608 A1 WO 2024152608A1 CN 2023121775 W CN2023121775 W CN 2023121775W WO 2024152608 A1 WO2024152608 A1 WO 2024152608A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- acl
- target
- chip
- entry
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
- H04L49/111—Switch interfaces, e.g. port details
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present application relates to the field of computer technology, and in particular to an ACL management method, apparatus, communication device, and non-volatile readable storage medium.
- Access Control List is a commonly used function of switches. It can control various behaviors of messages and plays an important role in the message processing pipeline of switching chips. From the chip perspective, ACL resources are divided into several chip tables, each of which contains many chip entries. Each chip table and its chip entry can only be configured with one attribute. Therefore, the ACL table and ACL entry issued by the user and the chip table and chip entry in the chip can correspond one to one.
- the ACL table and ACL entry sent by the user will be copied to the chip table and chip entry of the chip as is. Therefore, the number of ACL tables will be limited by the number of chip tables, resulting in a small number of ACL tables that can be configured by the user, which is inconvenient for users to use.
- the purpose of the embodiments of the present application is to provide an ACL management method, apparatus, communication device and non-volatile readable storage medium to solve the problem that the number of ACL tables that can be configured by the user is very small due to the limitation of the number of chip tables, so as to achieve flexible and reliable ACL management.
- the specific technical solution is as follows:
- a method for managing an ACL comprising:
- the target ACL management instruction is a target ACL table creation instruction
- the target chip table corresponding to the target ACL table is determined according to the target ACL table creation instruction, and the mapping relationship between the target ACL table and the target chip table is stored in the pre-acquired ACL table linked list.
- the pre-acquired ACL table linked list includes the ACL table number, the chip table number corresponding to the ACL table, and the ACL table type.
- the pre-acquired ACL table linked list also includes: a preset pointer, the preset pointer is used to point to the ACL entry linked list in the ACL table.
- the target ACL table creation instruction includes a target ACL table type.
- determining a target chip table corresponding to the target ACL table according to the target ACL table creation instruction includes:
- obtaining a target chip table in a preset chip table array according to a target ACL table creation instruction includes:
- the target ACL table creation instruction determine whether there is a target chip table that meets the preset conditions in the preset chip table array
- the preset chip table array contains a target chip table that meets the preset conditions, obtain the target chip table from the preset chip table array.
- the target ACL table creation instruction includes a target ACL table type
- the method includes:
- the preset chip table array does not contain a target chip table that meets the preset conditions, when it is detected that the number of entries corresponding to the first chip table and the number of ACL tables are 0, the type of the first chip table is changed to the type corresponding to the ACL table;
- the preset conditions include that the target chip table and the target ACL table are of the same type, and the number of remaining entries in the target chip table is greater than zero.
- the method includes:
- the target ACL management instruction is a target ACL table deletion instruction
- the target ACL table is deleted from the pre-acquired ACL table linked list according to the target ACL table deletion instruction.
- deleting the target ACL table in the pre-acquired ACL table linked list according to the target ACL table deletion instruction includes:
- the target ACL table corresponding to the target ACL table deletion instruction contains the target ACL entry, when it is detected that all chip entries in the linked list corresponding to the target ACL entry are deleted and the linked list corresponding to the target ACL entry is deleted, the target ACL table is deleted from the pre-acquired ACL table linked list.
- the method includes:
- the method includes:
- the target ACL table is determined in the pre-acquired ACL table linked list according to the target ACL table number;
- an instruction is added according to the target ACL entry to create a target chip entry corresponding to the target ACL entry.
- the method includes:
- the method includes:
- the method includes:
- the target ACL management instruction is a target ACL entry deletion instruction
- the target ACL entry is deleted according to the target ACL entry deletion instruction.
- deleting the target ACL entry according to the target ACL entry deletion instruction includes:
- the method includes:
- the method further comprises:
- the number of references corresponding to the chip table in the preset chip table array is stored as a reference count.
- an ACL management device comprising:
- a receiving module used for receiving a target ACL management instruction sent by a user
- the management module is used to determine the target chip table corresponding to the target ACL table according to the target ACL table creation instruction when it is detected that the target ACL management instruction is a target ACL table creation instruction, and store the mapping relationship between the target ACL table and the target chip table in a pre-acquired ACL table linked list.
- a communication device comprising: a transceiver, a memory, a processor, and a program stored in the memory and executable on the processor;
- the processor is used to read the program in the memory to implement any ACL management method as described in the first aspect.
- a computer non-volatile readable storage medium stores instructions. When the instructions are executed on a computer, the computer implements any ACL management method of the first aspect.
- the ACL management method provided in the embodiment of the present application receives a target ACL management instruction sent by a user; when it is detected that the target ACL management instruction is a target ACL table creation instruction, the target chip table corresponding to the target ACL table is determined according to the target ACL table creation instruction, and the mapping relationship between the target ACL table and the target chip table is stored in the pre-acquired ACL table linked list.
- mapping from the ACL table to the chip table is set, the one-to-one correspondence between the ACL table and the chip table is decoupled, and the mapping relationship between the ACL table configured by the user and the chip table of the chip is recorded, thereby increasing the number of ACL tables that can be configured by the user, making full use of hardware resources, and realizing an increase in the number of configurable ACL tables in software.
- FIG1 is a flowchart of the steps of the ACL management method provided in an embodiment of the present application.
- FIG2 is a flowchart of the steps of the ACL management method provided in an embodiment of the present application.
- FIG3 is a flowchart of the steps of the ACL management method provided in an embodiment of the present application.
- FIG4 is a flowchart of the steps of the ACL management method provided in an embodiment of the present application.
- FIG5 is a flowchart of the steps of the ACL management method provided in an embodiment of the present application.
- FIG6 is a schematic diagram of the structure of an ACL management device provided in an embodiment of the present application.
- FIG. 7 is a schematic diagram of a communication device provided in an embodiment of the present application.
- the method may include:
- Step 101 Receive a target ACL management instruction sent by a user.
- ACL Access Control List
- the so-called rules refer to judgment statements that describe the message matching conditions. These conditions can be the source address, destination address, port number, etc. of the message.
- ACL is essentially a message filter. The rules are the filter element of the filter. The device matches messages based on these rules, can filter out specific messages, and allow or block the message from passing according to the processing strategy of the business module to which the ACL is applied.
- ACL consists of a series of rules. By matching messages with ACL rules, the device can filter out specific messages.
- ACL is also a commonly used function of switches. It can control various behaviors of messages and plays an important role in the message processing pipeline of the switching chip.
- ACL entry refers to the basic unit specified by ACL. Users can configure ACL entry to match the message fields that users want to match and specify the actions to be performed after matching. For users, depending on the type of messages to be matched, ACL entries can be divided into different types such as MAC ACL, IPv6ACL, IPv4ACL, etc.
- ACL table refers to a collection of ACL entries of the same type. The type of ACL table is consistent with the type of ACL entry it contains. Therefore, an ACL table can include multiple ACL entries of the same type.
- ACL resources are divided into several blocks (usually 8 blocks), each of which can be called a chip table, containing many entries (usually 1024), each of which can be called a chip entry, where chip refers to the chip, and each chip table and its chip entry can only be configured with one attribute. Therefore, the ACL table and ACL entry issued by the user can correspond one to one with the chip table and chip entry in the chip.
- an ACL management method is provided in an embodiment of the present application, which can decouple the one-to-one correspondence between the ACL table and the chip table by resetting the mapping from the ACL table to the chip table.
- the user can configure the ACL entry to match the message field the user wants to match and specify the action to be performed after the match. Therefore, the user can issue the target ACL management instruction to implement the configuration management of the ACL table and ACL entry.
- the target ACL management instructions may include target ACL table creation instructions, target ACL table deletion instructions, target ACL entry addition instructions, and target ACL entry deletion instructions, and corresponding actions are performed according to the target ACL management instructions.
- Step 102 when it is detected that the target ACL management instruction is a target ACL table creation instruction, the target chip table corresponding to the target ACL table is determined according to the target ACL table creation instruction, and the mapping relationship between the target ACL table and the target chip table is stored in the pre-acquired ACL table linked list.
- the target ACL management instruction is a target ACL table creation instruction
- the target chip table corresponding to the target ACL table that the user wants to configure on the chip can be determined according to the target ACL table creation instruction.
- the pre-acquired ACL table linked list includes the ACL table number, the chip table number corresponding to the ACL table, and the ACL table type.
- the pre-acquired ACL table linked list also includes: a preset pointer, the preset pointer is used to point to the ACL entry linked list in the ACL table.
- a linked list is a linked list created for the user's ACL table.
- a linked list is a non-continuous and non-sequential storage structure on a physical storage unit. The logical order of data elements is realized through the pointer link order in the linked list.
- a linked list consists of a series of nodes (each element in the linked list is called a node), and nodes can be generated dynamically at runtime. Each node consists of two parts: one is the data field for storing data elements, and the other is the pointer field for storing the address of the next node.
- each node on the ACL table linked list is an ACL table structure, which records the ACL table number and chip table number corresponding to the structure, as well as the type of the ACL table.
- a pointer is used to point to the ACL entry linked list it contains.
- the basic member of the ACL entry list is a structure that records ACL entries and chip entries. At the same time, the use of the chip table must be recorded globally, for example, the reference count of the global preset chip table array is performed.
- Reference counting is a memory management technology in computer programming languages. It refers to the process of saving the number of references to resources (which can be objects, memory or disk space, etc.) and releasing them when the number of references becomes zero.
- the user when the user configures the creation of an ACL table, that is, after receiving the user's ACL table creation instruction, it is necessary to first search for a chip table in the preset chip table array that is consistent with the type of the ACL table and has a number of remaining entries greater than zero. If there is no chip table, find an unused chip table.
- the unused chip table may include a chip table in the global preset chip table array whose number of entries and ACL table numbers are both 0, and change the type of the chip table to the required type. After finding an available chip table, record the chip table number, add a new ACL table member to the linked list of the ACL table, and increase the reference count of the chip table at the corresponding position in the preset chip table array.
- determining a target chip table corresponding to a target ACL table according to a target ACL table creation instruction includes: obtaining a target chip table in a preset chip table array according to the target ACL table creation instruction; obtaining a chip table number corresponding to the target chip table, and storing the chip table number in a pre-acquired ACL table linked list; writing the target ACL table in the pre-acquired ACL table linked list, and increasing a reference count of the target chip table at a position corresponding to the preset chip table array.
- the user configures the creation of the ACL table, that is, after receiving the user's ACL table creation instruction, it is necessary to determine the chip table that meets the preset conditions. After finding an available chip table, the chip table number is recorded, and a new ACL table member is added to the linked list of the ACL table, and the reference count of the chip table is increased at the corresponding position of the preset chip table array.
- obtaining the target chip table in the preset chip table array according to the target ACL table creation instruction includes: judging whether there is a target chip table that meets the preset conditions in the preset chip table array according to the target ACL table creation instruction; if there is a target chip table that meets the preset conditions in the preset chip table array, obtaining the target chip table in the preset chip table array.
- the chip table it is determined whether there is a target chip table that meets the preset conditions in the preset chip table array. If there is a chip table that meets the preset conditions, the chip table can be directly used as the target chip table.
- the preset conditions include that the target chip table and the target ACL table are of the same type, and the number of remaining entries in the target chip table is greater than zero.
- the preset condition is to search for a chip table in the preset chip table array that has the same type as the target ACL table and has a number of remaining entries greater than zero.
- the target ACL table creation instruction includes a target ACL table type.
- the method includes: if there is no target chip table that meets the preset conditions in the preset chip table array, when it is detected that the number of entries corresponding to the first chip table and the number of ACL tables are zero, changing the first chip table type to a type corresponding to the target ACL table type; and using the first chip table as the target chip table.
- an unused chip table can be processed and used as the target chip table. Specifically, whether a chip table is used is determined based on the number of entries and the number of ACL tables in the preset chip table array. If the number of entries and the number of ACL tables in the preset chip table array are both 0, it means that the chip table has not been used. Then the type of the chip table is changed to the required type, that is, the first chip table type is changed to the type corresponding to the target ACL table type. Finally, the first chip table can be used as the target chip table, thereby establishing a new mapping relationship between the target ACL table and the target chip table, and the ACL table linked list will store the mapping relationship.
- the ACL management method provided in the embodiment of the present application receives a target ACL management instruction sent by a user; when it is detected that the target ACL management instruction is a target ACL table creation instruction, the target chip table corresponding to the target ACL table is determined according to the target ACL table creation instruction, and the mapping relationship between the target ACL table and the target chip table is stored in the pre-acquired ACL table linked list.
- mapping from the ACL table to the chip table is set, the one-to-one correspondence between the ACL table and the chip table is decoupled, and the mapping relationship between the ACL table configured by the user and the chip table of the chip is recorded, thereby increasing the number of ACL tables that can be configured by the user, making full use of hardware resources, and realizing an increase in the number of configurable ACL tables in software.
- the method may include:
- Step 201 Receive a target ACL management instruction sent by a user.
- step 201 can refer to the previous discussion and will not be repeated here.
- Step 202 if it is detected that the target ACL management instruction is a target ACL table deletion instruction, The ACL table delete instruction deletes the target ACL table from the pre-obtained ACL table linked list.
- the target ACL table after the ACL table is created according to the user configuration management, the target ACL table can also be deleted according to user needs. Therefore, when it is detected that the target ACL management instruction is a target ACL table deletion instruction, the target ACL table can be deleted from the pre-acquired ACL table linked list according to the target ACL table deletion instruction.
- deleting the target ACL table from the pre-acquired ACL table linked list according to the target ACL table deletion instruction includes: determining whether the target ACL table corresponding to the target ACL table deletion instruction contains the target ACL entry; if the target ACL table corresponding to the target ACL table deletion instruction contains the target ACL entry, upon detecting that all chip entries in the linked list corresponding to the target ACL entry are deleted and deleting the linked list corresponding to the target ACL entry, the target ACL table is deleted from the pre-acquired ACL table linked list.
- the reference count corresponding to the target chip table can be removed from the preset chip table array.
- the ACL management method provided in the embodiment of the present application changes the original mapping relationship between the target ACL table and the target chip table in the prior art.
- a mapping from the ACL table to the chip table is set, the one-to-one correspondence between the ACL table and the chip table is decoupled, and the mapping relationship between the ACL table configured by the user and the chip table of the chip is recorded, thereby increasing the number of ACL tables that can be configured by the user, making full use of hardware resources, and realizing an increase in the number of configurable ACL tables in software.
- the method may include:
- Step 301 Receive a target ACL management instruction sent by a user.
- step 301 can refer to the previous discussion and will not be repeated here.
- Step 302 when it is detected that the target ACL management instruction is a target ACL entry add instruction, the target ACL table is determined in the pre-acquired ACL table linked list according to the target ACL table number.
- Step 303 obtain the target chip table number according to the mapping relationship between the ACL table and the chip table in the pre-acquired ACL table linked list.
- Step 304 determine the target chip table according to the target chip table number.
- Step 305 when it is detected that the number of remaining entries in the target chip table is greater than zero, create a target chip entry corresponding to the target ACL entry according to the target ACL entry adding instruction.
- the user can configure the ACL entry, and after creating the ACL table, add the ACL entry.
- the corresponding target ACL table can be found in the linked list of the ACL table according to the ACL table number, and then the number of the target chip table can be found.
- each node is an ACL table structure of a preset type, and the ACL table corresponding to the structure is recorded in the structure.
- the chip table number where the number and hardware location are located, as well as the type of ACL table, in addition, a pointer is used to point to the ACL entry linked list it contains.
- the basic member of the ACL entry linked list is a structure that records ACL entry and chip entry. Therefore, the target chip table number can be determined based on the ACL table linked list that records the mapping relationship between the user-configured ACL table and the chip table of the chip, thereby determining the target chip table. At this time, it is determined whether the number of remaining chip entries in the chip table is zero. If it is greater than zero, a chip entry is created in the chip table, the chip entry id is recorded and recorded, and the reference count in the preset chip table array is increased.
- the pre-acquired ACL table linked list that is, the linked list created for the user's ACL table, records the ACL table number and the chip table number where it is located. These numbers are pre-set or set by the user according to actual needs.
- ACL entry linked list is used to record the correspondence between ACL entries and chip entries each time the user configures ACL entries. This can solve the problem of not fully utilizing chip resources.
- the one-to-one correspondence between ACL tables and chip tables is decoupled through mapping from ACL tables to chip tables, and the mapping relationship between the ACL table configured by the user and the chip table of the chip is recorded. The correspondence between ACL entries and chip entries is recorded each time the user configures ACL entries.
- the target chip entry code can be written into the pre-acquired ACL table linked list record, and the reference count of the target chip entry in the preset chip table array can be increased.
- step 304 when it is detected that the number of remaining entries in the target chip table is zero, an ACL resource shortage prompt may be returned to the user.
- the ACL management method provided in the embodiment of the present application changes the original mapping relationship between the target ACL table and the target chip table in the prior art.
- a mapping from the ACL table to the chip table is set, the one-to-one correspondence between the ACL table and the chip table is decoupled, and the mapping relationship between the ACL table configured by the user and the chip table of the chip is recorded, thereby increasing the number of ACL tables that can be configured by the user, making full use of hardware resources, and realizing an increase in the number of configurable ACL tables in software.
- the method may include:
- Step 401 Receive a target ACL management instruction sent by a user.
- step 401 can refer to the previous discussion and will not be repeated here.
- Step 402 when it is detected that the target ACL management instruction is a target ACL entry deletion instruction, delete the target ACL entry according to the target ACL entry deletion instruction.
- the user can configure the ACL entry and also delete the ACL entry. Therefore, when it is detected that the target ACL management instruction is a target ACL entry deletion instruction, the target ACL entry can be deleted according to the target ACL entry deletion instruction.
- deleting the target ACL entry according to the target ACL entry deletion instruction includes: determining the target ACL table in the pre-acquired ACL table linked list according to the target ACL entry deletion instruction; determining the corresponding target ACL table according to the target ACL table.
- ACL entry obtain the target chip entry number corresponding to the target ACL entry in the pre-obtained ACL table linked list; delete the target chip entry according to the target chip entry number, and delete the target ACL entry in the pre-obtained ACL table linked list.
- to delete an ACL entry in the ACL table for example, to delete the newly added target ACL entry in the newly created target ACL table, it is first necessary to find the corresponding target ACL table in the pre-acquired ACL table linked list, and then determine the corresponding target ACL entry according to the target ACL table, delete the target chip entry according to the recorded target chip entry number, and then delete the target ACL entry member from the linked list, and finally subtract the reference count of the entry in the global preset chip table array.
- the reference count corresponding to the target chip entry in the preset chip table array may be removed.
- a linked list can be created for ACL entries.
- the ACL entry linked list is used to record each time a user configures an ACL entry and the correspondence between the ACL entry and the chip entry. This can solve the problem of not fully utilizing chip resources.
- the one-to-one correspondence between the ACL table and the chip table is decoupled through mapping from the ACL table to the chip table, and the mapping relationship between the ACL table configured by the user and the chip table of the chip is recorded.
- the correspondence between the ACL entry and the chip entry is recorded.
- the ACL management method provided in the embodiment of the present application changes the original mapping relationship between the target ACL table and the target chip table in the prior art.
- a mapping from the ACL table to the chip table is set, the one-to-one correspondence between the ACL table and the chip table is decoupled, and the mapping relationship between the ACL table configured by the user and the chip table of the chip is recorded, thereby increasing the number of ACL tables that can be configured by the user, making full use of hardware resources, and realizing an increase in the number of configurable ACL tables in software.
- the method may include:
- Step 501 Receive a target ACL management instruction sent by a user.
- Step 502 when it is detected that the target ACL management instruction is a target ACL table creation instruction, the target chip table corresponding to the target ACL table is determined according to the target ACL table creation instruction, and the mapping relationship between the target ACL table and the target chip table is stored in the pre-acquired ACL table linked list.
- Step 503 during the management of the target ACL resources according to the target ACL management instructions, the number of references corresponding to the chip table in the preset chip table array is stored as a reference count.
- a linked list is a linked list created for the user's ACL table.
- a linked list is a non-continuous and non-sequential storage structure on a physical storage unit. The logical order of data elements is realized through the pointer link order in the linked list.
- a linked list consists of a series of nodes (each element in the linked list is called a node), and nodes can be generated dynamically at runtime. Each node consists of two parts: one is the data field for storing data elements, and the other is the pointer field for storing the address of the next node.
- each node on the ACL table linked list is an ACL table structure, which records the ACL table number and chip table number corresponding to the structure, as well as the type of the ACL table.
- a pointer is used to point to the ACL entry linked list it contains.
- the basic member of the ACL entry linked list is a structure that records the ACL entry and chip entry.
- the pre-acquired ACL table chain table also globally records the usage of the chip table.
- reference counting is performed on the global preset chip table array.
- Reference counting is a memory management technology in computer programming languages. It refers to the process of saving the number of times a resource (which can be an object, memory, or disk space, etc.) is referenced and releasing it when the number of references becomes zero.
- the first step is to configure multiple ACL tables of the same type on the switch (the number must exceed the maximum value of the chip table of the chip), and create an ACL entry for each ACL table.
- the second step is to verify that all these ACL entries can take effect, proving that this application is effective in increasing the number of users who can configure the same ACL table.
- the first step is to delete all ACL tables based on scenario 1, and create multiple ACL tables of different types (the sum of different ACL table types should be less than the number of chip tables of the chip, but multiple tables can be created for each type).
- the second step is to verify that all these ACL entries can take effect, proving that this application can effectively increase the number of configurable ACL tables when configuring different ACL tables.
- the ACL management method provided in the embodiment of the present application receives a target ACL management instruction sent by a user; when it is detected that the target ACL management instruction is a target ACL table creation instruction, the target chip table corresponding to the target ACL table is determined according to the target ACL table creation instruction, and the mapping relationship between the target ACL table and the target chip table is stored in the pre-acquired ACL table linked list.
- mapping from the ACL table to the chip table is set, the one-to-one correspondence between the ACL table and the chip table is decoupled, and the mapping relationship between the ACL table configured by the user and the chip table of the chip is recorded, thereby increasing the number of ACL tables that can be configured by the user, making full use of hardware resources, and realizing an increase in the number of configurable ACL tables in software.
- FIG. 6 a schematic diagram of the structure of an ACL management device provided in an embodiment of the present application is shown, and the device may include:
- Receiving module 601 used to receive a target ACL management instruction sent by a user
- the management module 602 is used to determine the target chip table corresponding to the target ACL table according to the target ACL table creation instruction when it is detected that the target ACL management instruction is a target ACL table creation instruction, and store the mapping relationship between the target ACL table and the target chip table in a pre-acquired ACL table linked list.
- mapping from the ACL table to the chip table is set, the one-to-one correspondence between the ACL table and the chip table is decoupled, and the mapping relationship between the ACL table configured by the user and the chip table of the chip is recorded, thereby increasing the number of ACL tables that can be configured by the user, making full use of hardware resources, and realizing an increase in the number of configurable ACL tables in software.
- An embodiment of the present application also provides a communication device, as shown in FIG. 7 , including a processor 701 , a communication interface 702 , a memory 703 and a communication bus 704 , wherein the processor 701 , the communication interface 702 , and the memory 703 communicate with each other via the communication bus 704 .
- Memory 703 used for storing computer programs
- the processor 701 when used to execute the program stored in the memory 703, can implement the following steps:
- the target ACL management instruction is a target ACL table creation instruction
- the target chip table corresponding to the target ACL table is determined according to the target ACL table creation instruction, and the mapping relationship between the target ACL table and the target chip table is stored in the pre-acquired ACL table linked list.
- the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together.
- the bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits together, which are all well known in the art, so this article will not further describe them.
- the bus interface provides an interface between the bus and the transceiver.
- the transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium.
- the data processed by the processor can be transmitted on a wired medium or on a wireless medium through an antenna. Further, the antenna also receives data and transmits the data to the processor.
- the processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions.
- the memory can be used to store data used by the processor when performing operations.
- the communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus.
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- the communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
- the communication interface is used for communication between the above terminal and other devices.
- the memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk storage.
- the memory may also be at least one storage device located away from the aforementioned processor.
- processors can be general-purpose processors, including central processing units (CPU), network processors (NP), etc.; they can also be digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
- CPU central processing units
- NP network processors
- DSP digital signal processors
- ASIC application specific integrated circuits
- FPGA field programmable gate arrays
- a computer non-volatile readable storage medium stores instructions. When the instructions are executed on a computer, the computer executes any of the ACL management methods in the above embodiments.
- a computer program product including instructions is also provided.
- the computer program product is run on a computer, the computer is enabled to execute any one of the ACL management methods in the above embodiments.
- the computer program product includes one or more computer instructions.
- the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
- Computer instructions can be stored in a computer non-volatile readable storage medium, or transmitted from one computer non-volatile readable storage medium to another computer non-volatile readable storage medium.
- Computer instructions can be transmitted from one website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) to another website site, computer, server or Data center for transmission.
- Computer non-volatile readable storage media can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. Available media can be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid state disks (SSDs)).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本申请实施例提供了一种ACL管理方法、装置、通信设备及存储介质,涉及计算机技术领域,该方法包括:通过接收用户发送的目标ACL管理指令;在检测到目标ACL管理指令为目标ACL table创建指令的情况下,根据目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储目标ACL table和目标chip table之间的映射关系。通过设置从ACL table到chip table的映射,将ACL table和chip table一一对应的情况解耦,增加了用户可以配置的ACL table的数目,使得硬件资源得以充分利用。
Description
相关申请的交叉引用
本申请要求于2023年01月20日提交中国专利局,申请号为202310070499.2,申请名称为“ACL管理方法、装置、通信设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及计算机技术领域,特别涉及一种ACL管理方法、装置、通信设备及非易失性可读存储介质。
访问控制列表(Access Control List,ACL)是交换机常用的一种功能,它可以控制报文的各种行为,在交换芯片的报文处理流水线上有很重要的地位,从芯片角度看,ACL资源被分成了几块chip table(芯片表),每块包含很多个表项chip entry(芯片项),每个chip table连同其上的chip entry只能配置一个属性,故而用户所下发的ACL table(ACL表)和ACL entry(ACL项)和芯片中的chip table和chip entry是可以一一对应的。
在现有的技术方案中,用户下发的ACL table和ACL entry会被原样照搬到芯片的chip table和chip entry中,因此ACL table的数目会受到chip table数目的限制,从而导致用户可以配置的ACL table数目很少,不便于用户使用。
发明内容
本申请实施例的目的在于提供一种ACL管理方法、装置、通信设备及非易失性可读存储介质,解决因chip table数目的限制,导致用户可以配置的ACL table数目很少的问题,以实现灵活可靠的ACL管理,具体技术方案如下:
在本申请实施的第一方面,首先提供了一种ACL管理方法,方法包括:
接收用户发送的目标ACL管理指令;
在检测到目标ACL管理指令为目标ACL table创建指令的情况下,根据目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储目标ACL table和目标chip table之间的映射关系。
可选地,预先获取的ACL table链表包括ACL table编号,ACL table对应的chip table编号,以及ACL table类型。
可选地,预先获取的ACL table链表还包括:预设指针,预设指针用于指向ACL table中的ACL entry链表。
可选地,目标ACL table创建指令包括目标ACL table类型,在检测到目标ACL管理指令为目标ACL table创建指令的情况下,根据目标ACL table创建指令确定目标ACL table对应的目标chip table包括:
根据目标ACL table创建指令在预设chip table数组中获取目标chip table;
获取目标chip table对应的chip table编号,将chip table编号存储于预先获取的ACL table链表;
在预先获取的ACL table链表中写入目标ACL table,并在预设chip table数组对应的位置增加目标chip table的引用计数。
可选地,根据目标ACL table创建指令在预设chip table数组中获取目标chip table包括:
根据目标ACL table创建指令判断预设chip table数组是否存在满足预设条件的目标chip table;
若预设chip table数组存在满足预设条件的目标chip table,在预设chip table数组中获取目标chip table。
可选地,目标ACL table创建指令包括目标ACL table类型,在根据目标ACL table创建指令判断预设chip table数组是否存在满足预设条件的目标chip table的步骤之后,方法包括:
若预设chip table数组不存在满足预设条件的目标chip table,在检测到第一chip table对应的entry数目以及ACL table数目为0的情况下,将第一chip table类型更为ACL table对应的类型;
将第一chip table作为目标chip table。
可选地,预设条件包括目标chip table和目标ACL table类型一致,以及目标chip table中剩余entry数目大于零。
可选地,在接收用户发送的目标ACL管理指令的步骤之后,方法包括:
在检测到目标ACL管理指令为目标ACL table删除指令的情况下,根据目标ACL table删除指令在预先获取的ACL table链表中删除目标ACL table。
可选地,根据目标ACL table删除指令在预先获取的ACL table链表中删除目标ACL table包括:
判断目标ACL table删除指令对应的目标ACL table是否包含目标ACL entry;
若目标ACL table删除指令对应的目标ACL table包含目标ACL entry,在检测到删除目标ACL entry对应的链表中全部chip entry,删除目标ACL entry对应的链表的情况下,在预先获取的ACL table链表中删除目标ACL table。
可选地,在在检测到删除目标ACL entry对应的链表中全部chip entry,删除目标ACL entry对应的链表的情况下,在预先获取的ACL table链表中删除目标ACL table的步骤之后,方法包括:
在预设chip table数组中去除目标chip table对应的引用计数。
可选地,在接收用户发送的目标ACL管理指令的步骤之后,方法包括:
在检测到目标ACL管理指令为目标ACL entry添加指令的情况下,根据目标ACL table编号在预先获取的ACL table链表中确定目标ACL table;
根据预先获取的ACL table链表中ACL table和chip table的映射关系,获取目标chip table编号;
根据目标chip table编号确定目标chip table;
在检测到目标chip table中剩余entry数目大于零的情况下,根据目标ACL entry添加指令创建目标ACL entry对应的目标chip entry。
可选地,在在检测到目标chip table中剩余entry数目大于零的情况下,根据目标ACL entry添加指令创建目标ACL entry对应的目标chip entry的步骤之后,方法包括:
在预先获取的ACL table链表记录写入目标chip entry编码,并增加预设chip table数组
中目标chip entry的引用计数。
可选地,在根据目标chip table编号确定目标chip table的步骤之后,方法包括:
在检测到目标chip table中剩余entry数目为零的情况下,向用户返回ACL资源不足提示。
可选地,在接收用户发送的目标ACL管理指令的步骤之后,方法包括:
在检测到目标ACL管理指令为目标ACL entry删除指令的情况下,根据目标ACL entry删除指令删除目标ACL entry。
可选地,其特征在于,根据目标ACL entry删除指令删除目标ACL entry包括:
根据目标ACL entry删除指令在预先获取的ACL table链表中确定目标ACL table;
根据目标ACL table确定对应的目标ACL entry;
在预先获取的ACL table链表中获取目标ACL entry对应的目标chip entry编号;
根据目标chip entry编号删除目标chip entry,并在预先获取的ACL table链表中删除目标ACL entry。
可选地,在根据目标chip entry编号删除目标chip entry,并在预先获取的ACL table链表中删除目标ACL entry的步骤之后,方法包括:
在预设chip table数组里去除目标chip entry对应的引用计数。
可选地,方法还包括:
在根据目标ACL管理指令对目标ACL资源管理期间,将预设chip table数组中chip table对应的引用次数作为引用计数存储。
在本申请实施的第二方面,还提供了一种ACL管理装置,装置包括:
接收模块,用于接收用户发送的目标ACL管理指令;
管理模块,用于在检测到目标ACL管理指令为目标ACL table创建指令的情况下,根据目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储目标ACL table和目标chip table之间的映射关系。
在本申请实施的第三方面,还提供了一种通信设备,包括:收发机、存储器、处理器及存储在存储器上并可在处理器上运行的程序;
处理器,用于读取存储器中的程序实现如第一方面任一的ACL管理方法。
在本申请实施的第四方面,还提供了一种计算机非易失性可读存储介质,计算机非易失性可读存储介质中存储有指令,当其在计算机上运行时,使得计算机实现如第一方面任一的ACL管理方法。
本申请实施例提供的ACL管理方法,通过接收用户发送的目标ACL管理指令;在检测到目标ACL管理指令为目标ACL table创建指令的情况下,根据目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储目标ACL table和目标chip table之间的映射关系。本申请实施例中,通过改变现有技术中目标ACL table和目标chip table之间的原始映射关系,为了提高用户可以配置的ACL table的数量,设置从ACL table到chip table的映射,将ACL table和chip table一一对应的情况解耦,并且记录用户配置的ACL table和芯片的chip table之间的映射关系,增加了用户可以配置的ACL table的数目,使得硬件资源得以充分利用,实现软件上增加可以配置的ACL table的数目。
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。
图1为本申请实施例提供的ACL管理方法的步骤流程图一;
图2是本申请实施例提供的ACL管理方法的步骤流程图二;
图3是本申请实施例提供的ACL管理方法的步骤流程图三;
图4是本申请实施例提供的ACL管理方法的步骤流程图四;
图5是本申请实施例提供的ACL管理方法的步骤流程图五;
图6是本申请实施例提供的一种ACL管理装置的结构示意图;
图7是本申请实施例提供的一种通信设备示意图。
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本申请各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本申请的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合相互引用。
参照图1,示出了本申请实施例提供的ACL管理方法的步骤流程图一,方法可以包括:
步骤101,接收用户发送的目标ACL管理指令。
需要说明的是,访问控制列表(Access Control List,ACL)是由一条或多条规则组成的集合。所谓规则,是指描述报文匹配条件的判断语句,这些条件可以是报文的源地址、目的地址、端口号等,ACL本质上是一种报文过滤器,规则是过滤器的滤芯,设备基于这些规则进行报文匹配,可以过滤出特定的报文,并根据应用ACL的业务模块的处理策略来允许或阻止该报文通过。ACL由一系列规则组成,通过将报文与ACL规则进行匹配,设备可以过滤出特定的报文。
在本申请实施例中,ACL也是交换机常用的一种功能,它可以控制报文的各种行为,在交换芯片的报文处理流水线上有很重要的地位,其中,ACL entry是指ACL指定下发的基本单位,用户可以通过配置ACL entry来匹配用户想匹配的报文字段并指定匹配到之后所要执行的动作,对于用户来说,依据所要匹配报文种类的不同,ACL entry可以分为MAC ACL、IPv6ACL、IPv4ACL等不同类型,ACL table是指相同类型ACL entry的集合,ACL table的类型和它所包含的ACL entry的类型是一致的,因此,一个ACL table可以包括多个相同类型ACL entry。
从芯片角度看,ACL资源被分成了几块(通常为8块),每块可以被称为chip table,包含很多个表项(通常为1024),每个表项可以被称为chip entry,其中,chip即为芯片,每个chip table连同其上的chip entry只能配置一个属性。故而用户所下发的ACL table和ACL entry和芯片中的chip table和chip entry是可以一一对应的。
然而为了提高用户可以配置的ACL table的数量,本申请实施例中提供了一种ACL管理方法,可以通过重新设置从ACL table到chip table的映射,将ACL table和chip table一一对应的情况解耦。
首先,接收用户发送的目标ACL管理指令,用户可以通过配置ACL entry来匹配用户想匹配的报文字段并指定匹配到之后所要执行的动作,因此,用户可以下发目标ACL管理指令来实现对ACL table和ACL entry的配置管理。
具体的,目标ACL管理指令可以包括目标ACL table创建指令,目标ACL table删除指令,目标ACL entry添加指令以及目标ACL entry删除指令,根据目标ACL管理指令具体执行对应动作。
步骤102,在检测到目标ACL管理指令为目标ACL table创建指令的情况下,根据目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储目标ACL table和目标chip table之间的映射关系。
需要说明的是,在本申请实施例中,当目标ACL管理指令为目标ACL table创建指令时,可以根据目标ACL table创建指令确定用户想要配置的目标ACL table在芯片上对应的目标chip table。
进一步地,预先获取的ACL table链表包括ACL table编号,ACL table对应的chip table编号,以及ACL table类型。预先获取的ACL table链表还包括:预设指针,预设指针用于指向ACL table中的ACL entry链表。
需要说明的是,预先获取的ACL table链表是为用户的ACL table创建一个链表,链表是一种物理存储单元上非连续、非顺序的存储结构,数据元素的逻辑顺序是通过链表中的指针链接次序实现的。链表由一系列结点(链表中每一个元素称为结点)组成,结点可以在运行时动态生成。每个结点包括两个部分:一个是存储数据元素的数据域,另一个是存储下一个结点地址的指针域。
在本申请实施例中,ACL table链表链表上的每个结点就是一个ACL table结构体,结构体内记录这个结构体对应的ACL table的编号和所在chip table编号,以及ACL table的类型,此外,还会用一个指针来指向它所包含的ACL entry链表。
其中,ACL entry链表的基本成员是一个记录ACL entry和chip entry的结构体。同时,还要全局记录chip table的使用情况,例如,对全局预设chip table数组进行引用计数,引用计数是计算机编程语言中的一种内存管理技术,是指将资源(可以是对象、内存或磁盘空间等等)的被引用次数保存起来,当被引用次数变为零时就将其释放的过程。
需要说明的是,在本申请实施例中,用户配置创建ACL table,即接收用户ACL table创建指令之后,需要先在预设chip table数组中寻找和这个ACL table类型一致而且剩余entry数目大于零的chip table,没有的话找一个没有被使用的chip table,没有被使用的chip table可以包括全局预设chip table数组中entry数目和ACL table数目都是0的chip table,并把chip table的类型改成所需要的类型。在找到可用的chip table之后,把chip table的编号记录下来,并在ACL table的链表中加上新的ACL table成员,在预设chip table数组对应的位置增加chip table的引用计数。
具体的,根据目标ACL table创建指令确定目标ACL table对应的目标chip table包括:根据目标ACL table创建指令在预设chip table数组中获取目标chip table;获取目标chip table对应的chip table编号,将chip table编号存储于预先获取的ACL table链表;在预先获取的ACL table链表中写入目标ACL table,并在预设chip table数组对应的位置增加目标chip table的引用计数。
需要说明的是,在本申请实施例中,用户配置创建ACL table,即接收用户ACL table创建指令之后,要确定符合预设条件的chip table,在找到可用的chip table之后,把chip table的编号记录下来,并在ACL table的链表中加上新的ACL table成员,在预设chip table数组对应的位置增加chip table的引用计数。
具体的,根据目标ACL table创建指令在预设chip table数组中获取目标chip table包括:根据目标ACL table创建指令判断预设chip table数组是否存在满足预设条件的目标chip table;若预设chip table数组存在满足预设条件的目标chip table,在预设chip table数组中获取目标chip table。
需要说明的是,在本申请实施例中,判断预设chip table数组是否存在满足预设条件的目标chip table,如果存在满足预设条件的chip table,则可以直接将该chip table作为目标chip table。
进一步地,预设条件包括目标chip table和目标ACL table类型一致,以及目标chip table中剩余entry数目大于零。
其中,预设条件是在预设chip table数组中寻找和目标ACL table类型一致而且剩余entry数目大于零的chip table。
进一步地,目标ACL table创建指令包括目标ACL table类型,在根据目标ACL table创建指令判断预设chip table数组是否存在满足预设条件的目标chip table的步骤之后,方法包括:若预设chip table数组不存在满足预设条件的目标chip table,在检测到第一chip table对应的entry数目以及ACL table数目为零的情况下,将第一chip table类型更改为目标ACL table类型对应的类型;将第一chip table作为目标chip table。
需要说明的是,在本申请实施例中,如果不存在满足预设条件的chip table,可以将一个没有被使用的chip table进行处理后作为目标chip table,具体的,判断一个chip table是否被使用,是基于预设chip table数组中entry数目和ACL table数目确定的,如果预设chip table数组中entry数目和ACL table数目均为0,则说明该chip table没有使用过,再将chip table的类型更改为所需要的类型,即将第一chip table类型更改为目标ACL table类型对应的类型,最后可以将第一chip table作为目标chip table,从而建立目标ACL table和目标chip table之间的新的映射关系,并且,ACL table链表会存储该映射关系。
本申请实施例提供的ACL管理方法,通过接收用户发送的目标ACL管理指令;在检测到目标ACL管理指令为目标ACL table创建指令的情况下,根据目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储目标ACL table和目标chip table之间的映射关系。本申请实施例中,通过改变现有技术中目标ACL table和目标chip table之间的原始映射关系,为了提高用户可以配置的ACL table的数量,设置从ACL table到chip table的映射,将ACL table和chip table一一对应的情况解耦,并且记录用户配置的ACL table和芯片的chip table之间的映射关系,增加了用户可以配置的ACL table的数目,使得硬件资源得以充分利用,实现软件上增加可以配置的ACL table的数目。
参照图2,示出了本申请实施例提供的ACL管理方法的步骤流程图二,方法可以包括:
步骤201,接收用户发送的目标ACL管理指令。
需要说明的是,上述步骤201可以参照前序论述,在此不再赘述。
步骤202,在检测到目标ACL管理指令为目标ACL table删除指令的情况下,根据目标
ACL table删除指令在预先获取的ACL table链表中删除目标ACL table。
需要说明的是,在本申请实施例中,根据用户配置管理创建ACL table之后,也可以根据用户需求对目标ACL table删除,因此,在检测到目标ACL管理指令为目标ACL table删除指令的情况下,可以根据目标ACL table删除指令在预先获取的ACL table链表中删除目标ACL table。
具体的,在步骤202中,根据目标ACL table删除指令在预先获取的ACL table链表中删除目标ACL table包括:判断目标ACL table删除指令对应的目标ACL table是否包含目标ACL entry;若目标ACL table删除指令对应的目标ACL table包含目标ACL entry,在检测到删除目标ACL entry对应的链表中全部chip entry,删除目标ACL entry对应的链表的情况下,在预先获取的ACL table链表中删除目标ACL table。
进一步地,在完成删除目标ACL table之后,还可以在预设chip table数组中去除目标chip table对应的引用计数。
需要说明的是,在本申请实施例中,删除ACL table首先需要在ACL table的链表中找到对应的ACL table,然后看ACL table是否包含ACL entry,如果包含,那么需要先删除对应的ACL entry链表中所有chip entry,删除ACL entry链表,然后再从ACL table链表中删除ACL table,并且在这个过程中要为预设chip table数组中减计数。
本申请实施例提供的ACL管理方法,通过改变现有技术中目标ACL table和目标chip table之间的原始映射关系,为了提高用户可以配置的ACL table的数量,设置从ACL table到chip table的映射,将ACL table和chip table一一对应的情况解耦,并且记录用户配置的ACL table和芯片的chip table之间的映射关系,增加了用户可以配置的ACL table的数目,使得硬件资源得以充分利用,实现软件上增加可以配置的ACL table的数目。
参照图3,示出了本申请实施例提供的ACL管理方法的步骤流程图三,方法可以包括:
步骤301,接收用户发送的目标ACL管理指令。
需要说明的是,上述步骤301可以参照前序论述,在此不再赘述。
步骤302,在检测到目标ACL管理指令为目标ACL entry添加指令的情况下,根据目标ACL table编号在预先获取的ACL table链表中确定目标ACL table。
步骤303,根据预先获取的ACL table链表中ACL table和chip table的映射关系,获取目标chip table编号。
步骤304,根据目标chip table编号确定目标chip table。
步骤305,在检测到目标chip table中剩余entry数目大于零的情况下,根据目标ACL entry添加指令创建目标ACL entry对应的目标chip entry。
需要说明的是,现有技术中,除了因为ACL table的数目会受到chip table数目的限制,而chip table的数目往往很小,导致用户可以配置的ACL table数目很少,不便于用户使用之外,还存在不能充分利用芯片资源的问题,例如,即使ACL table只包含1条ACL entry,此时ACL table也要占用一个chip table,导致该chip table内剩下的chip entry全都闲置。
因此,在本申请实施例中,上述步骤302-305,用户可以对ACL entry进行配置,创建ACL table之后添加ACL entry,可以先根据ACL table编号在ACL table的链表里找到对应的目标ACL table,进而找到目标chip table的编号,具体的,为用户的ACL table创建的链表,每个节点就是一个预设类型的ACL table结构体,结构体内记录这个结构体对应的ACL table的
编号和硬件位置所在chip table编号,以及ACL table的类型,此外,还会用一个指针来指向它所包含的ACL entry链表。ACL entry链表的基本成员是一个记录ACL entry和chip entry的结构体,因此,可以根据记录用户配置的ACL table和芯片的chip table之间映射关系的ACL table链表确定目标chip table编号,从而确定目标chip table,此时判断chip table中剩余chip entry的数量是否为零,如果大于零,就在chip table创建一个chip entry,记录chip entry的id并记录,同时增加预设chip table数组中的引用计数。
另外,需要说明的是,预先获取的ACL table链表,即为用户的ACL table创建的链表中,记录的ACL table的编号和所在chip table编号,其中这些编号是预先设置的或者用户根据实际需求自己设置的。
另外,通过用户可以对ACL entry进行配置,可以对ACL entry创建一个链表,例如,ACL entry链表,用于对每次用户配置ACL entry时记录ACL entry和chip entry的对应关系,可以解决不能充分利用芯片资源的问题,为了提高用户可以配置的ACL table的数量,通过从ACL table到chip table的映射,将ACL table和chip table一一对应的情况解耦,记录用户配置的ACL table和芯片的chip table之间的映射关系,对每次用户配置ACL entry时记录以及ACL entry和chip entry的对应关系。
进一步地,在创建好目标ACL entry对应的目标chip entry之后,还可以在预先获取的ACL table链表记录写入目标chip entry编码,并增加预设chip table数组中目标chip entry的引用计数。
进一步地,在步骤304之后,还可以在检测到目标chip table中剩余entry数目为零的情况下,向用户返回ACL资源不足提示。
需要说明的是,在本申请实施例中,如果检测到目标chip table中剩余的chip entry数目为零的情况下,此时说明该chip table已经无法再添加新的entry,即无法接收用户新的配置,因此,此时会向用户进行提示,即发送ACL资源不足提示,具体的,可以是通过用户管理软件上进行弹窗显示,或者直接显示资源不足指示灯,具体的本申请不做具体限定。
本申请实施例提供的ACL管理方法,通过改变现有技术中目标ACL table和目标chip table之间的原始映射关系,为了提高用户可以配置的ACL table的数量,设置从ACL table到chip table的映射,将ACL table和chip table一一对应的情况解耦,并且记录用户配置的ACL table和芯片的chip table之间的映射关系,增加了用户可以配置的ACL table的数目,使得硬件资源得以充分利用,实现软件上增加可以配置的ACL table的数目。
参照图4,示出了本申请实施例提供的ACL管理方法的步骤流程图四,方法可以包括:
步骤401,接收用户发送的目标ACL管理指令。
需要说明的是,上述步骤401可以参照前序论述,在此不再赘述。
步骤402,在检测到目标ACL管理指令为目标ACL entry删除指令的情况下,根据目标ACL entry删除指令删除目标ACL entry。
需要说明的是,在本申请实施例中,用户可以配置ACL entry,同样可以删除ACL entry,因此,在检测到目标ACL管理指令为目标ACL entry删除指令的情况下,可以根据目标ACL entry删除指令删除目标ACL entry。
具体的,根据目标ACL entry删除指令删除目标ACL entry包括:根据目标ACL entry删除指令在预先获取的ACL table链表中确定目标ACL table;根据目标ACL table确定对应的目标
ACL entry;在预先获取的ACL table链表中获取目标ACL entry对应的目标chip entry编号;根据目标chip entry编号删除目标chip entry,并在预先获取的ACL table链表中删除目标ACL entry。
需要说明的是,在本申请实施例中,删除ACL table内的某一个ACL entry,例如,删除新创建的目标ACL table中新添加的目标ACL entry,首先需要在预先获取的ACL table链表中找到对应的目标ACL table,然后根据目标ACL table确定对应的目标ACL entry,根据记录的目标chip entry编号,删除目标chip entry,然后从链表中删除目标ACL entry成员,最后在全局预设chip table数组里减去entry的引用计数。
进一步地,在删除目标ACL entry之后,还可以在预设chip table数组里去除目标chip entry对应的引用计数。
另外,通过用户可以对ACL entry进行配置,可以对ACL entry创建一个链表,例如,ACL entry链表,用于对每次用户配置ACL entry时记录以及ACL entry和chip entry的对应关系,可以解决不能充分利用芯片资源的问题,为了提高用户可以配置的ACL table的数量,通过从ACL table到chip table的映射,将ACL table和chip table一一对应的情况解耦,记录用户配置的ACL table和芯片的chip table之间的映射关系,对每次用户配置ACL entry时记录以及ACL entry和chip entry的对应关系。
本申请实施例提供的ACL管理方法,通过改变现有技术中目标ACL table和目标chip table之间的原始映射关系,为了提高用户可以配置的ACL table的数量,设置从ACL table到chip table的映射,将ACL table和chip table一一对应的情况解耦,并且记录用户配置的ACL table和芯片的chip table之间的映射关系,增加了用户可以配置的ACL table的数目,使得硬件资源得以充分利用,实现软件上增加可以配置的ACL table的数目。
参照图5,示出了本申请实施例提供的ACL管理方法的步骤流程图五,方法可以包括:
步骤501,接收用户发送的目标ACL管理指令。
步骤502,在检测到目标ACL管理指令为目标ACL table创建指令的情况下,根据目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储目标ACL table和目标chip table之间的映射关系。
需要说明的是,在本申请实施例中,上述步骤501-502参照前序论述,在此不再赘述。
步骤503,在根据目标ACL管理指令对目标ACL资源管理期间,将预设chip table数组中chip table对应的引用次数作为引用计数存储。
需要说明的是,预先获取的ACL table链表是为用户的ACL table创建一个链表,链表是一种物理存储单元上非连续、非顺序的存储结构,数据元素的逻辑顺序是通过链表中的指针链接次序实现的。链表由一系列结点(链表中每一个元素称为结点)组成,结点可以在运行时动态生成。每个结点包括两个部分:一个是存储数据元素的数据域,另一个是存储下一个结点地址的指针域。
在本申请实施例中,ACL table链表链表上的每个结点就是一个ACL table结构体,结构体内记录这个结构体对应的ACL table的编号和所在chip table编号,以及ACL table的类型,此外,还会用一个指针来指向它所包含的ACL entry链表。其中,ACL entry链表的基本成员是一个记录ACL entry和chip entry的结构体。
在本申请实施例中,预先获取的ACL table链表还要全局记录chip table的使用情况,例
如,对全局预设chip table数组进行引用计数,引用计数是计算机编程语言中的一种内存管理技术,是指将资源(可以是对象、内存或磁盘空间等等)的被引用次数保存起来,当被引用次数变为零时就将其释放的过程。
另外,本申请另一个实施例中,本申请实施例在实际应用到交换机的代码中,可以得知的是,用户对ACL table和ACL entry的配置有如下几个可能的场景,一是创建ACL table;二是创建ACL table之后添加ACL entry;三是删除ACL table内的某一个ACL entry;四是删除ACL table,因此,设置多个场景进行验证。
具体的,对于场景一,第一步,在交换机上配置多个相同类型的ACL table(数量要超过芯片的chip table的最大值),并为每一个ACL table创建ACL entry。第二步,经过验证,这些ACL entry全部都可以生效,证明了本申请在增加用户可配相同ACL table数目上是有效的。
具体的,对于场景二,第一步,在场景一的基础上,删除所有ACL table,并创建多个不同类型的ACL table(不同的ACL table的种类之和要小于芯片的chip table数量,但是每一种可以创建多个table)第二步,经过验证,这些ACL entry全部都可以生效,证明了本申请在配不同ACL table的时候也可以有效的增加可配ACL table的数目。
本申请实施例提供的ACL管理方法,通过接收用户发送的目标ACL管理指令;在检测到目标ACL管理指令为目标ACL table创建指令的情况下,根据目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储目标ACL table和目标chip table之间的映射关系。本申请实施例中,通过改变现有技术中目标ACL table和目标chip table之间的原始映射关系,为了提高用户可以配置的ACL table的数量,设置从ACL table到chip table的映射,将ACL table和chip table一一对应的情况解耦,并且记录用户配置的ACL table和芯片的chip table之间的映射关系,增加了用户可以配置的ACL table的数目,使得硬件资源得以充分利用,实现软件上增加可以配置的ACL table的数目。
参照图6,示出了本申请实施例提供的一种ACL管理装置的结构示意图,装置可以包括:
接收模块601,用于接收用户发送的目标ACL管理指令;
管理模块602,用于在检测到目标ACL管理指令为目标ACL table创建指令的情况下,根据目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储目标ACL table和目标chip table之间的映射关系。
本申请实施例中,通过改变现有技术中目标ACL table和目标chip table之间的原始映射关系,为了提高用户可以配置的ACL table的数量,设置从ACL table到chip table的映射,将ACL table和chip table一一对应的情况解耦,并且记录用户配置的ACL table和芯片的chip table之间的映射关系,增加了用户可以配置的ACL table的数目,使得硬件资源得以充分利用,实现软件上增加可以配置的ACL table的数目。
本申请实施例还提供了一种通信设备,如图7所示,包括处理器701、通信接口702、存储器703和通信总线704,其中,处理器701,通信接口702,存储器703通过通信总线704完成相互间的通信。
存储器703,用于存放计算机程序;
处理器701,用于执行存储器703上所存放的程序时,可以实现如下步骤:
接收用户发送的目标ACL管理指令;
在检测到目标ACL管理指令为目标ACL table创建指令的情况下,根据目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储目标ACL table和目标chip table之间的映射关系。
其中,存储器和处理器采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器和存储器的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器处理的数据可以有线介质进行传输或者通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器。处理器负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器可以被用于存储处理器在执行操作时所使用的数据。
上述终端提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
通信接口用于上述终端与其他设备之间的通信。
存储器可以包括随机存取存储器(Random Access Memory,简称RAM),也可以包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(Digital Signal Processing,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。
在本申请提供的又一实施例中,还提供了一种计算机非易失性可读存储介质,该计算机非易失性可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述实施例中任一的ACL管理方法。
在本申请提供的又一实施例中,还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例中任一的ACL管理方法。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机非易失性可读存储介质中,或者从一个计算机非易失性可读存储介质向另一个计算机非易失性可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或
数据中心进行传输。计算机非易失性可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。
Claims (20)
- 一种ACL管理方法,其特征在于,所述方法包括:接收用户发送的目标ACL管理指令;在检测到所述目标ACL管理指令为目标ACL table创建指令的情况下,根据所述目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储所述目标ACL table和所述目标chip table之间的映射关系。
- 根据权利要求1所述的ACL管理方法,其特征在于,所述预先获取的ACL table链表包括ACL table编号,所述ACL table对应的chip table编号,以及所述ACL table类型。
- 根据权利要求1所述的ACL管理方法,其特征在于,所述预先获取的ACL table链表还包括:预设指针,所述预设指针用于指向所述ACL table中的ACL entry链表。
- 根据权利要求1所述的ACL管理方法,其特征在于,所述根据所述目标ACL table创建指令确定目标ACL table对应的目标chip table包括:根据所述目标ACL table创建指令在预设chip table数组中获取目标chip table;获取所述目标chip table对应的chip table编号,将所述chip table编号存储于所述预先获取的ACL table链表;在所述预先获取的ACL table链表中写入所述目标ACL table,并在所述预设chip table数组对应的位置增加所述目标chip table的引用计数。
- 根据权利要求4所述的ACL管理方法,其特征在于,所述根据所述目标ACL table创建指令在预设chip table数组中获取目标chip table包括:根据所述目标ACL table创建指令判断所述预设chip table数组是否存在满足预设条件的目标chip table;若所述预设chip table数组存在满足预设条件的目标chip table,在预设chip table数组中获取目标chip table。
- 根据权利要求5所述的ACL管理方法,其特征在于,所述目标ACL table创建指令包括目标ACL table类型,在所述根据所述目标ACL table创建指令判断所述预设chip table数组是否存在满足预设条件的目标chip table的步骤之后,所述方法包括:若所述预设chip table数组不存在满足预设条件的目标chip table,在检测到第一chip table对应的entry数目以及ACL table数目为零的情况下,将所述第一chip table类型更改为所述目标ACL table类型对应的类型;将所述第一chip table作为所述目标chip table。
- 根据权利要求5或6所述的ACL管理方法,其特征在于,所述预设条件包括所述目标chip table和所述目标ACL table类型一致,以及所述目标chip table中剩余entry数目大于零。
- 根据权利要求1所述的ACL管理方法,其特征在于,在所述接收用户发送的目标ACL管理指令的步骤之后,所述方法包括:在检测到所述目标ACL管理指令为目标ACL table删除指令的情况下,根据所述目标ACL table删除指令在预先获取的ACL table链表中删除目标ACL table。
- 根据权利要求8所述的ACL管理方法,其特征在于,所述根据所述目标ACL table删除指令在预先获取的ACL table链表中删除目标ACL table包括:判断所述目标ACL table删除指令对应的目标ACL table是否包含目标ACL entry;若所述目标ACL table删除指令对应的目标ACL table包含目标ACL entry,在检测到删除所述目标ACL entry对应的链表中全部chip entry,删除所述目标ACL entry对应的链表的情况下,在预先获取的ACL table链表中删除目标ACL table。
- 根据权利要求9所述的ACL管理方法,其特征在于,在所述在检测到删除所述目标ACL entry对应的链表中全部chip entry,删除所述目标ACL entry对应的链表的情况下,在预先获取的ACL table链表中删除目标ACL table的步骤之后,所述方法包括:在预设chip table数组中去除所述目标chip table对应的引用计数。
- 根据权利要求1所述的ACL管理方法,其特征在于,在所述接收用户发送的目标ACL管理指令的步骤之后,所述方法包括:在检测到所述目标ACL管理指令为目标ACL entry添加指令的情况下,根据所述目标ACL table编号在预先获取的ACL table链表中确定目标ACL table;根据所述预先获取的ACL table链表中ACL table和chip table的映射关系,获取目标chip table编号;根据所述目标chip table编号确定目标chip table;在检测到所述目标chip table中剩余entry数目大于零的情况下,根据所述目标ACL entry添加指令创建目标ACL entry对应的目标chip entry。
- 根据权利要求10所述的ACL管理方法,其特征在于,在所述在检测到所述目标chip table中剩余entry数目大于零的情况下,根据所述目标ACL entry添加指令创建目标ACL entry对应的目标chip entry的步骤之后,所述方法包括:在所述预先获取的ACL table链表记录写入目标chip entry编码,并增加预设chip table数组中所述目标chip entry的引用计数。
- 根据权利要求11所述的ACL管理方法,其特征在于,在所述根据所述目标chip table编号确定目标chip table的步骤之后,所述方法包括:在检测到所述目标chip table中剩余entry数目为零的情况下,向用户返回ACL资源不足提示。
- 根据权利要求1所述的ACL管理方法,其特征在于,在所述接收用户发送的目标ACL管理指令的步骤之后,所述方法包括:在检测到所述目标ACL管理指令为目标ACL entry删除指令的情况下,根据所述目标ACL entry删除指令删除目标ACL entry。
- 根据权利要求14所述的ACL管理方法,其特征在于,所述根据所述目标ACL entry删除指令删除目标ACL entry包括:根据所述目标ACL entry删除指令在预先获取的ACL table链表中确定目标ACL table;根据所述目标ACL table确定对应的目标ACL entry;在所述预先获取的ACL table链表中获取所述目标ACL entry对应的目标chip entry编号;根据所述目标chip entry编号删除目标chip entry,并在预先获取的ACL table链表中删除所述目标ACL entry。
- 根据权利要求15所述的ACL管理方法,其特征在于,在所述根据所述目标chip entry编号删除目标chip entry,并在预先获取的ACL table链表中删除所述目标ACL entry的步骤之后,所述方法包括:在预设chip table数组里去除所述目标chip entry对应的引用计数。
- 根据权利要求1所述的ACL管理方法,其特征在于,所述方法还包括:在根据所述目标ACL管理指令对目标ACL资源管理期间,将预设chip table数组中chip table对应的引用次数作为引用计数存储。
- 一种ACL管理装置,其特征在于,所述装置包括:接收模块,用于接收用户发送的目标ACL管理指令;管理模块,用于在检测到所述目标ACL管理指令为目标ACL table创建指令的情况下,根据所述目标ACL table创建指令确定目标ACL table对应的目标chip table,并在预先获取的ACL table链表中存储所述目标ACL table和所述目标chip table之间的映射关系。
- 一种通信设备,其特征在于,包括:收发机、存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序;所述处理器,用于读取存储器中的程序实现如权利要求1-17中任意一项所述ACL管理方法。
- 一种非易失性可读存储介质,用于存储程序,其特征在于,所述程序被处理器执行时实现如权利要求1-17中任意一项所述ACL管理方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310070499.2A CN115865839B (zh) | 2023-01-20 | 2023-01-20 | Acl管理方法、装置、通信设备及存储介质 |
| CN202310070499.2 | 2023-01-20 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024152608A1 true WO2024152608A1 (zh) | 2024-07-25 |
Family
ID=85657680
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/121775 Ceased WO2024152608A1 (zh) | 2023-01-20 | 2023-09-26 | Acl管理方法、装置、通信设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN115865839B (zh) |
| WO (1) | WO2024152608A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115865839B (zh) * | 2023-01-20 | 2023-05-23 | 苏州浪潮智能科技有限公司 | Acl管理方法、装置、通信设备及存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070208948A1 (en) * | 2006-02-24 | 2007-09-06 | Nokia Corporation | System and method for configuring security in a plug-and-play architecture |
| CN101197675A (zh) * | 2007-11-14 | 2008-06-11 | 杭州华三通信技术有限公司 | 访问控制列表配置方法及装置 |
| CN104361296A (zh) * | 2014-11-14 | 2015-02-18 | 武汉烽火网络有限责任公司 | 一种并行的大容量访问控制列表的查找方法 |
| CN115589389A (zh) * | 2022-09-23 | 2023-01-10 | 苏州浪潮智能科技有限公司 | 一种处理acl的方法、系统、设备和存储介质 |
| CN115865839A (zh) * | 2023-01-20 | 2023-03-28 | 苏州浪潮智能科技有限公司 | Acl管理方法、装置、通信设备及存储介质 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5701458A (en) * | 1995-09-20 | 1997-12-23 | International Business Machines Corporation | System and method for managing arbitrary subsets of access control lists in a computer network |
| CN100479436C (zh) * | 2005-11-28 | 2009-04-15 | 华为技术有限公司 | 静态多接口范围匹配表的管理维护方法 |
| CN102857510B (zh) * | 2012-09-18 | 2015-04-22 | 杭州华三通信技术有限公司 | 访问控制列表acl表项下发方法和装置 |
| CN105763437A (zh) * | 2014-12-17 | 2016-07-13 | 中兴通讯股份有限公司 | 报文转发的方法及网络设备 |
| CN106603302B (zh) * | 2016-12-29 | 2019-11-12 | 杭州迪普科技股份有限公司 | 一种acl表项管理的方法和装置 |
| CN107896169B (zh) * | 2017-12-28 | 2021-12-24 | 杭州迪普科技股份有限公司 | 一种acl的管理方法及装置 |
| CN109150686B (zh) * | 2018-09-07 | 2020-12-22 | 迈普通信技术股份有限公司 | Acl表项下发方法、装置及网络设备 |
| CN112187740B (zh) * | 2020-09-14 | 2022-09-16 | 锐捷网络股份有限公司 | 一种网络接入控制方法、装置、电子设备及存储介质 |
-
2023
- 2023-01-20 CN CN202310070499.2A patent/CN115865839B/zh active Active
- 2023-09-26 WO PCT/CN2023/121775 patent/WO2024152608A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070208948A1 (en) * | 2006-02-24 | 2007-09-06 | Nokia Corporation | System and method for configuring security in a plug-and-play architecture |
| CN101197675A (zh) * | 2007-11-14 | 2008-06-11 | 杭州华三通信技术有限公司 | 访问控制列表配置方法及装置 |
| CN104361296A (zh) * | 2014-11-14 | 2015-02-18 | 武汉烽火网络有限责任公司 | 一种并行的大容量访问控制列表的查找方法 |
| CN115589389A (zh) * | 2022-09-23 | 2023-01-10 | 苏州浪潮智能科技有限公司 | 一种处理acl的方法、系统、设备和存储介质 |
| CN115865839A (zh) * | 2023-01-20 | 2023-03-28 | 苏州浪潮智能科技有限公司 | Acl管理方法、装置、通信设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115865839A (zh) | 2023-03-28 |
| CN115865839B (zh) | 2023-05-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111352902B (zh) | 日志处理方法、装置、终端设备及存储介质 | |
| CN110162512B (zh) | 一种日志检索方法、装置及存储介质 | |
| WO2021017422A1 (zh) | 一种块链式账本中的索引创建方法、装置及设备 | |
| CN109213604B (zh) | 一种数据源的管理方法和装置 | |
| CN108563694A (zh) | 对逻辑删除的sql执行方法、装置、计算机设备和存储介质 | |
| US12340114B2 (en) | Append-only data access method and apparatus | |
| CN109815141B (zh) | 一种测试方法和装置 | |
| CN113760845A (zh) | 一种日志处理方法、系统、装置、客户端及存储介质 | |
| CN113641628B (zh) | 数据质量检测方法、装置、设备及存储介质 | |
| WO2024152608A1 (zh) | Acl管理方法、装置、通信设备及存储介质 | |
| CN111966867A (zh) | 对象删除方法、数据处理方法及装置 | |
| CN109254855B (zh) | 一种参数传输协议的注册方法、装置及电子设备 | |
| CN111522626B (zh) | 一种虚拟机列表生成方法、装置及电子设备 | |
| CN110019014A (zh) | 向文件系统写入数据记录的方法和装置 | |
| WO2025139872A1 (zh) | 一种参数检测方法、电子设备及存储介质 | |
| CN110119351B (zh) | 一种测试用例执行方法及装置 | |
| CN111782661A (zh) | 一种数据存储方法、数据查询方法和装置 | |
| CN110018844A (zh) | 决策触发方案的管理方法、装置和电子设备 | |
| CN112882659B (zh) | 一种信息获得方法、装置、电子设备及存储介质 | |
| CN111124771B (zh) | 一种定位故障的方法、设备及介质 | |
| CN112579605A (zh) | 一种数据存储方法、装置、存储介质及服务器 | |
| CN115480705B (zh) | 一种数据处理方法、装置、电子设备和存储介质 | |
| CN113992566B (zh) | 一种报文广播方法及装置 | |
| WO2024103886A1 (zh) | 文件存储方法、数据加载方法及相关设备 | |
| CN110597763B (zh) | 一种函数索引表的生成方法及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23917076 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23917076 Country of ref document: EP Kind code of ref document: A1 |