Strategy issuing method and related device

By configuring the corresponding relationship between terminal identification information and access control policies in the WAPI network, and issuing access control policies based on digital certificates, the problem of possible illegal access and occupation by legal terminals after access is solved, and the security and reasonableness of network resources are achieved. distribute.

CN118555572AInactive Publication Date: 2024-08-27HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310197009.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2024-08-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In a WAPI network, access by legitimate terminals may lead to illegal access and occupation of network resources, affecting the reasonable use of other legitimate terminals.

Method used

By preconfiguring the corresponding relationship between the terminal's identification information and the access control policy on the network controller, the WAPI server sends the identification information to the network controller based on the terminal's digital certificate, allowing the network controller to identify the terminal's identity and deliver the access control policy to the forwarding device. , to avoid illegal access and occupation.

Benefits of technology

It effectively prevents terminals from illegally accessing and occupying network resources, ensures the reasonable use of legitimate terminals, and improves the security and reliability of network resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555572A
    Figure CN118555572A
Patent Text Reader

Abstract

The embodiment of the invention discloses a policy issuing method and a related device, which are used for realizing issuing of an access control policy in a WAPI network and preventing a terminal from illegally accessing and occupying network resources. The method comprises the steps that the corresponding relation between identification information of a terminal and an access control strategy is obtained, identification information sent by a WAPI server is obtained, and the identification information is sent by the WAPI server to a network controller according to a digital certificate which comes from the terminal and is used for applying for network access. And sending an access control strategy to the forwarding equipment according to the identification information and the corresponding relationship, so that the forwarding equipment processes service data of the terminal according to the access control strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the computer field, and in particular to a policy delivery method and related devices. Background Art

[0002] With the advancement of smart grid construction and digital transformation, new services represented by robot inspection, mobile operation, and IoT data collection have emerged in substations. Traditional wired access methods can no longer meet the needs and need to rely on wireless access.

[0003] Wireless LAN is the world's most important wireless access method, with the characteristics of high bandwidth, low cost and easy deployment. WLAN authentication and privacy infrastructure (WAPI), as one of the WLAN standards, adopts a ternary peer-to-peer security architecture, digital certificate authentication and national encryption algorithm, complies with national laws and regulations, meets national strategic needs, and is safe, autonomous and controllable, and can meet the above needs.

[0004] However, in actual applications, although the WAPI server can ensure that the business data of legitimate terminals is released and block the business data of illegal terminals, after the legitimate terminals access the network, they may still illegally access and occupy network resources, affecting the reasonable occupation of network resources by other legitimate terminals. Summary of the invention

[0005] The embodiments of the present application provide a policy delivery method and related devices for implementing the delivery of access control policies in a WAPI network to prevent terminals from illegally accessing and occupying network resources.

[0006] The first aspect of the present application provides a policy delivery method, which is applied to a WAPI network:

[0007] The network controller obtains the correspondence between the terminal's identification information and the access control policy. The network controller obtains the identification information sent by the wireless local area network authentication and privacy infrastructure (WLAN authentication and privacy infrastructure, WAPI) server. The identification information is sent by the WAPI server to the network controller based on the digital certificate from the terminal for applying for network access. The network controller sends the access control policy to the forwarding device based on the identification information and the correspondence, so that the forwarding device processes the terminal's service data according to the access control policy.

[0008] In this application, the correspondence between the terminal's identification information and the access control policy is pre-configured in the network controller, and the WAPI server sends the terminal's identification information to the network controller based on the digital certificate used by the terminal to apply for network access, so that the network controller can identify the identity of the terminal and issue the corresponding access control policy to the forwarding device to prevent the terminal from illegally accessing and occupying network resources.

[0009] In a possible implementation manner, the network controller obtains a RADIUS message sent by the WAPI server, and the identification information is carried in an attribute in the RADIUS message.

[0010] In the present application, the network controller obtains the identification information of the terminal through a standard protocol, which improves the reliability of the solution and avoids additional overhead.

[0011] In a possible implementation, the identification information is sent to the network controller according to the digital certificate after the WAPI server determines that the digital certificate is legal.

[0012] In this application, the WAPI server will send identification information only when the digital certificate is legal, avoiding wasting unnecessary resources.

[0013] In a possible implementation, the forwarding device is a campus switch responsible for forwarding service data of the terminal.

[0014] In the present application, when the forwarding device is a campus switch, the network control device sends an access control policy to the campus switch, thereby covering the scenario where the business data of the terminal is directly forwarded through the campus switch.

[0015] In a possible implementation manner, the forwarding device is an access controller (AC) responsible for forwarding service data of the terminal.

[0016] In the present application, when the forwarding device is an AC, the network control device sends an access control policy to the AC, thereby covering the scenario in which the service data of the terminal is forwarded through a tunnel.

[0017] The second aspect of the present application provides a policy delivery method, which is applied to a WAPI network:

[0018] The WAPI server obtains the digital certificate used to apply for network access from the terminal, and obtains the identification information of the terminal based on the digital certificate. The WAPI server sends the identification information to the network controller, and the identification information is used by the network controller to send the access control policy to the forwarding device based on the identification information and the correspondence between the identification information and the access control policy, so that the forwarding device processes the service data of the terminal according to the access control policy.

[0019] In this application, the correspondence between the terminal's identification information and the access control policy is pre-configured in the network controller, and when the WAPI server receives the digital certificate used by the terminal to apply for network access, the terminal's identification information is sent to the network controller, so that the network controller can identify the identity of the terminal and issue the corresponding access control policy to the forwarding device, thereby preventing the terminal from illegally accessing and occupying network resources.

[0020] In a possible implementation manner, the WAPI server sends a RADIUS message to the network controller, and the identification information is carried in an attribute in the RADIUS message.

[0021] In the present application, the WAPI server sends the terminal identification information to the network controller through a standard protocol, which improves the reliability of the solution and avoids additional overhead.

[0022] In a possible implementation manner, if the WAPI server determines that the digital certificate is legal, the WAPI server obtains identification information according to the digital certificate.

[0023] In this application, the WAPI server will obtain identification information only when the digital certificate is legal, avoiding unnecessary waste of resources.

[0024] In a possible implementation, the forwarding device is a campus switch responsible for forwarding service data of the terminal.

[0025] In the present application, when the forwarding device is a campus switch, the network control device sends an access control policy to the campus switch, thereby covering the scenario where the business data of the terminal is directly forwarded through the campus switch.

[0026] In a possible implementation manner, the forwarding device is an AC responsible for forwarding service data of the terminal.

[0027] In the present application, when the forwarding device is an AC, the network control device sends an access control policy to the AC, thereby covering the scenario in which the service data of the terminal is forwarded through a tunnel.

[0028] The third aspect of the present application provides a policy delivery method, which is applied to a WAPI network:

[0029] The AC determines that the terminal accesses the network, and based on the terminal accessing the network, the AC obtains the identification information of the terminal. The AC sends the identification information to the network controller, and the identification information is used by the network controller to send the access control policy to the forwarding device according to the identification information and the corresponding relationship between the identification information and the access control policy, so that the forwarding device forwards the service data of the terminal according to the access control policy.

[0030] In this application, when the AC senses that a terminal has accessed the network, the AC sends the identification information of the terminal to the network controller. Since the network controller stores the correspondence between the identification information and the access control policy, the network controller can issue the corresponding access control policy to the forwarding device based on the identification information and the correspondence, thereby preventing the terminal from illegally accessing and occupying network resources.

[0031] In a possible implementation manner, the AC determines that the terminal accesses the network according to a trigger message from the terminal.

[0032] In this application, the AC can directly determine the terminal access network based on the trigger message, avoiding additional resource overhead.

[0033] In a possible implementation manner, the AC sends a RADIUS authentication request message to the network controller, and the identification information is carried in the RADIUS authentication request message.

[0034] In the present application, the AC sends identification information to the network controller via a message in a standard protocol, thereby improving the reliability of the solution and avoiding additional overhead.

[0035] The fourth aspect of the present application provides a policy delivery method, which is applied to a WAPI network:

[0036] The network controller obtains the correspondence between the terminal's identification information and the access control policy, and receives the identification information sent by the AC, which is sent by the AC because the AC determines that the terminal has accessed the network. The network controller sends the access control policy to the forwarding device based on the identification information and the correspondence, so that the forwarding device forwards the terminal's service data based on the access control policy.

[0037] In this application, when the AC senses that the terminal has successfully accessed the network, the AC sends the identification information of the terminal to the network controller. Since the network controller stores the correspondence between the identification information and the access control policy, the network controller can issue the corresponding access control policy to the forwarding device based on the identification information and the correspondence, thereby preventing the terminal from illegally accessing and occupying network resources.

[0038] In a possible implementation manner, the network controller obtains a RADIUS authentication request message sent by the AC, and the identification information is carried in the RADIUS authentication request message.

[0039] In the present application, the AC sends identification information to the network controller via a message in a standard protocol, thereby improving the reliability of the solution and avoiding additional overhead.

[0040] In a possible implementation, the forwarding device is a campus switch responsible for forwarding service data of the terminal.

[0041] In the present application, when the forwarding device is a campus switch, the network control device sends an access control policy to the campus switch, thereby covering the scenario where the business data of the terminal is directly forwarded through the campus switch.

[0042] In a possible implementation manner, the forwarding device is an AC.

[0043] In the present application, when the forwarding device is an AC, the network control device sends an access control policy to the AC, thereby covering the scenario in which the service data of the terminal is forwarded through a tunnel.

[0044] A fifth aspect of the present application provides a network controller, comprising a functional unit for implementing the method of the first aspect.

[0045] A sixth aspect of the present application provides a WAPI server, comprising a functional unit for implementing the method of the second aspect.

[0046] The seventh aspect of the present application provides an AC, comprising a functional unit for implementing the method of the third aspect.

[0047] An eighth aspect of the present application provides a network controller, comprising a functional unit for implementing the method of the fourth aspect.

[0048] A ninth aspect of the present application provides a computer-readable storage medium having a computer program or instruction stored thereon. When the computer program or instruction is executed, the computer executes the method of any one of the aforementioned aspects.

[0049] In a tenth aspect, the present application provides a computer program product, including a computer program code. When the computer program code runs on a computer, the computer implements the method of any one of the aforementioned aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 A schematic diagram of a process for accessing a WAPI network;

[0051] Figure 2 is a schematic diagram of the system architecture used in this application;

[0052] Figure 3 A flowchart of the policy delivery method in this application;

[0053] Figure 4 Another flowchart of the policy delivery method in this application;

[0054] Figure 5 Another flowchart of the policy delivery method in this application;

[0055] Figure 6Another flowchart of the policy delivery method in this application;

[0056] Figure 7 Another flowchart of the policy delivery method in this application;

[0057] Figure 8 Another flowchart of the policy delivery method in this application;

[0058] Fig. 9 A schematic diagram of the structure of the network controller in this application;

[0059] Fig.10 A schematic diagram of the structure of the WAPI server in this application;

[0060] Fig.11 A schematic diagram of the structure of AC in this application;

[0061] Fig.12 is another structural schematic diagram of the network controller in this application;

[0062] Fig.13 It is a structural schematic diagram of the device in this application. DETAILED DESCRIPTION

[0063] The following describes the embodiments of the present application in conjunction with the accompanying drawings. Obviously, the described embodiments are only embodiments of a part of the present application, rather than all embodiments. It is known to those skilled in the art that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0064] The terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0065] With the advancement of smart grid construction and digital transformation, new services such as robot inspection, mobile operation, and IoT data collection have emerged in substations. These services generally present the characteristics of large bandwidth, mobility, and large connections. For example, robot inspection, video monitoring, and visual operation are services oriented to large bandwidth, substation mobile inspection, drone applications, and mobile operation are services oriented to mobility, and dynamic environment data collection services such as temperature and humidity, water immersion, and gas sensing are services oriented to large connections. Traditional wired access methods can no longer fully adapt to the diversification of services. Wired communication methods such as cables or optical cables can only carry traditional services such as real-time information and production processing of power grid production, and cannot meet the mobility requirements of terminals. Public network operators mainly cover urban areas, but a large number of substations in rural mountainous areas in the power grid cannot obtain effective coverage of operator signals. Even substations in urban areas have no signal or poor signal in the indoor part. In summary, power grid companies need to build a wireless access network in substations to form a full range of deep coverage of the outdoor and indoor parts of substations at a reasonable cost and investment, and meet the safe, ubiquitous, flexible, and broadband wireless access requirements of various services.

[0066] Wireless local area network (WLAN) is the world's most important wireless access method, with the characteristics of high bandwidth, low cost and easy deployment. As one of the WLAN standards, WAPI adopts a ternary peer-to-peer security architecture, digital certificate authentication and national encryption algorithm. It complies with national laws and regulations and meets national strategic needs. It is safe, autonomous and controllable, and can meet the above needs.

[0067] See also Figure 1 , the following describes the process of the terminal accessing the network:

[0068] 1. Before accessing the network, terminals and access devices need to apply for digital certificates on the WAPI server and install them locally. Access devices can refer to ACs or APs.

[0069] 2. The terminal sends the digital certificate of the terminal to the access device, and the access device sends the digital certificate of the terminal and the digital certificate of the access device to the WAPI server, which authenticates the two digital certificates. After that, the WAPI server returns the authentication result to the access device, and the access device returns the authentication result to the terminal.

[0070] 3. If the digital certificate of the terminal and the digital certificate of the access device are both legal, the encryption key will be negotiated between the access device and the terminal.

[0071] 4. The access device allows the terminal's business data to pass through, and the terminal's business data will be encrypted using the negotiated encryption key.

[0072] Based on the above process, the legitimate identity of the terminal and access device can be effectively prevented from being counterfeited, ensuring that only legitimate terminals can access the network, and at the same time ensuring the security of communication based on the key. However, there is a key problem that has not been solved, that is, although the WAPI server can allow the service data of legitimate terminals to pass and block the service data of illegal terminals, when legitimate terminals access the network, they may still illegally access and occupy network resources, affecting the reasonable occupation of network resources by other legitimate terminals.

[0073] The present application provides a policy delivery method and related devices for implementing the delivery of access control policies in a WAPI network to prevent terminals from illegally accessing and occupying network resources.

[0074] This application can be applied to Figure 2 The system architecture shown includes terminals, APs, switches, ACs, WAPI servers, and network controllers, which are introduced below:

[0075] AP: It is the access node of the wireless network, which can access various WLAN wireless terminals and supports WAPI.

[0076] AC: It can manage AP devices in the entire network, including device online and offline, device configuration distribution, alarm and log processing, etc.

[0077] LSW: Campus switch, responsible for forwarding Layer 2 data packets.

[0078] WAPI server: responsible for providing certificate processing for devices and terminals in the WAPI network, including certificate issuance, certificate revocation, and certificate authentication.

[0079] Network controller: exchanges Radius authentication, authorization, and billing messages with the authentication node, issues authorization policies based on the terminal identity, and issues access control policies to the corresponding execution points.

[0080] Terminal: A device that needs to access the network, which can be a terminal running Windows operating system, Android operating system, Apple operating system, Hongmeng operating system, Linux operating system, or other common operating system, and supports WAPI.

[0081] See also Figure 3 , the following is an introduction to a process of the policy delivery method in this application:

[0082] 301. The network controller obtains the correspondence between the identification information of the terminal and the access control policy;

[0083] First, the network controller obtains the correspondence between the identification information of the terminal and the access control policy, for example, by a manual configuration method.

[0084] 302. The network controller obtains identification information sent by the WAPI server, where the identification information is sent by the WAPI server to the network controller according to a digital certificate from the terminal for applying for network access;

[0085] In a WAPI network, if a terminal needs to access the network, it needs to go through the following process: first, the terminal and AC need to apply for a digital certificate from the WAPI server and bind their own identification information with the applied digital certificate on the WAPI server. For example, the above identification information is a MAC address. After that, the terminal sends the terminal's data certificate to the AC, and the AC sends the terminal's digital certificate and the AC's digital certificate to the WAPI server. After receiving the above digital certificate, the WAPI server authenticates the above digital certificate and sends the authentication result to the AC, which then sends the authentication result to the terminal. If the data certificates of the terminal and AC are both legal, the terminal will negotiate the encryption key with the AC and successfully access the network.

[0086] In the above process, when the WAPI server receives the digital certificate of the terminal and determines that the digital certificate of the terminal is legal, since the WAPI server saves the correspondence between the identification information of the terminal and the digital certificate of the terminal, the WAPI server will obtain the identification information of the terminal based on the digital certificate of the terminal and the above correspondence. The WAPI server will send the identification information of the terminal to the network controller. In a possible implementation, the WAPI server will send a radius message to the network controller, and the attribute of the radius message will carry the above identification information. Correspondingly, the network controller obtains the identification information sent by the WAPI server.

[0087] 303. The network controller sends an access control policy to the forwarding device according to the identification information and the corresponding relationship, so that the forwarding device processes the service data of the terminal according to the access control policy.

[0088] After receiving the identification information of the terminal, the network controller obtains the access control policy according to the identification information of the terminal and the correspondence between the identification information of the terminal and the access control policy, and sends the access control policy to the forwarding device that provides business data forwarding services for the terminal. In this embodiment, the WAPI network belongs to the tunnel forwarding mode, so a CAPWAP tunnel will be established between the AC and the AP, and the business data of the terminal is encapsulated in the CAPWAP tunnel for forwarding. The LSW is not aware of the business data, so the forwarding device is the AC. After receiving the access control policy, the AC processes the business data of the terminal according to the access control policy and determines whether to release the business data, thereby preventing the terminal from illegally accessing and occupying network resources.

[0089] In another embodiment, another process of the policy delivery method in the present application is as follows:

[0090] A01. The network controller obtains the correspondence between the terminal identification information and the access control policy;

[0091] This step is similar to the aforementioned step 301 and will not be described again here.

[0092] A02. The network controller obtains identification information sent by the WAPI server, where the identification information is sent by the WAPI server to the network controller according to the digital certificate from the terminal for applying for network access;

[0093] This step is similar to the aforementioned step 302 and will not be described again here.

[0094] A03. The network controller sends an access control policy to the forwarding device according to the identification information and the corresponding relationship, so that the forwarding device processes the service data of the terminal according to the access control policy.

[0095] This step is similar to the above step 303, except that the WAPI network in this embodiment belongs to the direct forwarding mode, and the LSW forwards the service data of the terminal, so the forwarding device is the LSW. After receiving the access control policy, the LSW processes the service data of the terminal according to the access control policy and determines whether to allow the service data to pass, thereby preventing the terminal from illegally accessing and occupying network resources.

[0096] In this application, the correspondence between the terminal's identification information and the access control policy is pre-configured in the network controller, and when the WAPI server receives the digital certificate used by the terminal to apply for network access, the terminal's identification information is sent to the network controller, so that the network controller can identify the identity of the terminal and issue the corresponding access control policy to the forwarding device, thereby preventing the terminal from illegally accessing and occupying network resources.

[0097] See also Figure 4, the following is an introduction to another process of the policy delivery method in this application:

[0098] 401. The terminal and the AC apply for a digital certificate from the WAPI server and bind their own identification information with the applied digital certificate on the WAPI server. Exemplarily, the identification information is a MAC address.

[0099] 402. The terminal sends its digital certificate to the AC for accessing the network.

[0100] 403. The AC sends the digital certificate for the terminal and the digital certificate of the AC to the WAPI server.

[0101] 404. The WAPI server authenticates the digital certificate.

[0102] 405. The WAPI server returns the authentication result to the AC.

[0103] 406. The AC returns the authentication result to the terminal.

[0104] 407. If the authentication result indicates that the digital certificates of the terminal and the AC are both legal, the terminal negotiates an encryption key with the AC and successfully accesses the network.

[0105] 408. In the above step 404, if the WAPI server determines that the digital certificate of the terminal is legal, since the WAPI server saves the correspondence between the terminal's identification information and the terminal's digital certificate, the WAPI server will obtain the terminal's identification information based on the terminal's digital certificate and the above correspondence. The WAPI server will send the terminal's identification information to the network controller. In a possible implementation, the WAPI server will send a radius message to the network controller, and the attribute of the radius message will carry the above identification information. Of course, step 408 does not have to be executed after steps 406 and 407, it only needs to be executed after step 404.

[0106] 409. The network controller has already acquired the correspondence between the terminal identification information and the access control policy in advance, for example, by a manual configuration method. After receiving the terminal identification information, the network controller acquires the access control policy according to the terminal identification information and the correspondence between the terminal identification information and the access control policy, and sends the access control policy to the forwarding device that provides service data forwarding service for the terminal. In this embodiment, the WAPI network belongs to the tunnel forwarding mode, so a CAPWAP tunnel will be established between the AC and the AP, and the terminal service data will be encapsulated in the CAPWAP tunnel for forwarding. The LSW is not aware of the service data, so the forwarding device is the AC.

[0107] 410. After receiving the access control policy, the AC processes the service data of the terminal according to the access control policy and determines whether to allow the service data to pass, thereby preventing the terminal from illegally accessing and occupying network resources.

[0108] See also Figure 5 , the following is an introduction to another process of the policy delivery method in this application:

[0109] In this embodiment, steps 501 to 508 are similar to the aforementioned steps 401 to 408 and are not described again here.

[0110] 509. The network controller has already acquired the correspondence between the identification information of the terminal and the access control policy in advance, for example, by a manual configuration method. After receiving the identification information of the terminal, the network controller acquires the access control policy according to the identification information of the terminal and the correspondence between the identification information of the terminal and the access control policy, and sends the access control policy to the forwarding device that provides service data forwarding service for the terminal. In this embodiment, the WAPI network belongs to the direct forwarding mode, and the LSW forwards the service data of the terminal, so the forwarding device is the LSW.

[0111] 510. After receiving the access control policy, the LSW processes the service data of the terminal according to the access control policy and determines whether to allow the service data to pass, thereby preventing the terminal from illegally accessing and occupying network resources.

[0112] See also Figure 6 , the following is an introduction to another process of the policy delivery method in this application:

[0113] 601. AC determines that the terminal accesses the network;

[0114] In a WAPI network, if a terminal needs to access the network, it needs to go through the following process: first, the terminal and AC need to apply for a digital certificate from the WAPI server and bind their own identification information with the applied digital certificate on the WAPI server. For example, the above identification information is a MAC address. After that, the terminal sends the terminal's data certificate to the AC, and the AC sends the terminal's digital certificate and the WAPI server's digital certificate to the WAPI server. After receiving the above digital certificate, the WAPI server authenticates the above digital certificate and sends the authentication result to the AC, which then sends the authentication result to the terminal. If the data certificates of the terminal and AC are both legal, the terminal will negotiate the encryption key with the AC and successfully access the network.

[0115] The AC can determine the terminal's access network in two ways, which are introduced below:

[0116] Method 1: After the terminal accesses the network, the terminal sends a trigger message to the AC. The trigger message may be, for example, an arp message, a dhcp message, a dhcpv6 message or an nd message. After the AC receives the trigger message, it can determine that the terminal accesses the network.

[0117] Method 2: After the AC and the terminal complete the negotiation of the encryption key, the AC can determine that the terminal can access the network.

[0118] 602. The AC obtains identification information of the terminal based on the terminal accessing the network;

[0119] After the AC determines that the terminal has accessed the network, it obtains identification information of the terminal, which is illustratively a MAC address.

[0120] 603. The AC sends identification information to the network controller. The identification information is used by the network controller to send the access control policy to the forwarding device according to the identification information and the corresponding relationship between the identification information and the access control policy, so that the forwarding device processes the service data of the terminal according to the access control policy.

[0121] After the AC obtains the identification information of the terminal, it sends the identification information to the network controller. In a possible implementation, the AC sends a radius authentication request message to the network controller, and the radius authentication request message carries the identification information of the terminal. The network controller obtains the correspondence between the identification information of the terminal and the access control policy in advance, for example, through a manual configuration method. Therefore, after receiving the identification of the terminal, the network controller obtains the access control policy according to the identification of the terminal and the above-mentioned correspondence. After that, the network controller sends the access control policy to the forwarding device that provides business data forwarding services for the terminal. In this embodiment, the WAPI network belongs to the tunnel forwarding mode, so a CAPWAP tunnel will be established between the AC and the AP, and the business data of the terminal is encapsulated in the CAPWAP tunnel for forwarding. The LSW is not aware of the business data, so the forwarding device is the AC. After receiving the access control policy, the AC processes the business data of the terminal according to the access control policy and determines whether to release the business data, thereby preventing the terminal from illegally accessing and occupying network resources.

[0122] The following is an introduction to another process of the policy delivery method in this application:

[0123] B01, AC determines that the terminal accesses the network;

[0124] This step is similar to the aforementioned step 601 and will not be repeated here.

[0125] B02. AC obtains identification information of the terminal according to the terminal accessing the network;

[0126] This step is similar to the aforementioned step 602 and will not be described again here.

[0127] B03. The AC sends identification information to the network controller. The identification information is used by the network controller to send the access control policy to the forwarding device according to the identification information and the correspondence between the identification information and the access control policy, so that the forwarding device processes the service data of the terminal according to the access control policy.

[0128] This step is similar to the aforementioned step 603, except that the WAPI network in this embodiment belongs to the direct forwarding mode, and the LSW forwards the service data of the terminal, so the forwarding device is the LSW. After receiving the access control policy, the LSW processes the service data of the terminal according to the access control policy and determines whether to allow the service data to pass, thereby preventing the terminal from illegally accessing and occupying network resources.

[0129] In this application, when the AC senses that the terminal has accessed the network based on the trigger message sent by the terminal, the AC sends the identification information of the terminal to the network controller. Since the network controller stores the correspondence between the identification information and the access control policy, the network controller can send the corresponding access control policy to the forwarding device based on the identification information and the correspondence, thereby preventing the terminal from illegally accessing and occupying network resources.

[0130] See also Figure 7 , the following is an introduction to another process of the policy delivery method in this application:

[0131] 701. The terminal and the AC apply for a digital certificate from the WAPI server and bind their own identification information with the applied digital certificate on the WAPI server. Exemplarily, the identification information is a MAC address.

[0132] 702. The terminal sends its digital certificate to the AC for accessing the network.

[0133] 703. The AC sends the digital certificate for the terminal and the digital certificate of the AC to the WAPI server.

[0134] 704. The WAPI server authenticates the digital certificate.

[0135] 705. The WAPI server returns the authentication result to the AC.

[0136] 706. The AC returns the authentication result to the terminal.

[0137] 707. If the authentication result indicates that the digital certificates of the terminal and the AC are both legal, the terminal negotiates an encryption key with the AC and successfully accesses the network.

[0138] 708. After accessing the network, the terminal sends a trigger message to the AC. The trigger message may be, for example, an arp message, a dhcp message, a dhcpv6 message, or an nd message.

[0139] 709. After receiving the trigger message, the AC determines that the terminal has accessed the network, thereby acquiring identification information of the terminal. Exemplarily, the identification information is a MAC address.

[0140] 710. The AC sends a RADIUS authentication request message to the network controller, and the RADIUS authentication request message carries identification information of the terminal.

[0141] 711. The network controller returns a RADIUS authentication acceptance message to the AC.

[0142] 712. The network controller obtains the correspondence between the terminal identification information and the access control policy in advance, for example, by a manual configuration method. Therefore, after receiving the terminal identification, the network controller obtains the access control policy according to the terminal identification and the above correspondence. The access control policy is sent to the forwarding device that provides service data forwarding service for the terminal. In this embodiment, the WAPI network belongs to the tunnel forwarding mode, so a CAPWAP tunnel is established between the AC and the AP, and the service data of the terminal is encapsulated in the CAPWAP tunnel for forwarding. The LSW is not aware of the service data, so the forwarding device is the AC.

[0143] 713. After receiving the access control policy, the AC processes the service data of the terminal according to the access control policy and determines whether to allow the service data to pass, thereby preventing the terminal from illegally accessing and occupying network resources.

[0144] See also Figure 8 , the following is an introduction to another process of the policy delivery method in this application:

[0145] Steps 801 to 811 are similar to steps 701 to 711 and are not described again here.

[0146] 812. The network controller has already acquired the correspondence between the identification information of the terminal and the access control policy in advance, for example, by a manual configuration method. After receiving the identification information of the terminal, the network controller acquires the access control policy according to the identification information of the terminal and the correspondence between the identification information of the terminal and the access control policy, and sends the access control policy to a forwarding device that provides a service data forwarding service for the terminal. In this embodiment, the WAPI network belongs to a direct forwarding mode, and the LSW forwards the service data of the terminal, so the forwarding device is the LSW.

[0147] 813. After receiving the access control policy, the LSW processes the service data of the terminal according to the access control policy and determines whether to allow the service data to pass, thereby preventing the terminal from illegally accessing and occupying network resources.

[0148] The method in this application is introduced above, and the device in this application is introduced below:

[0149] See also Fig. 9 , the network controller 900 in the present application includes an acquisition unit 901 and a sending unit 902 .

[0150] The acquisition unit 901 is used to acquire the correspondence between the identification information of the terminal and the access control policy.

[0151] The acquisition unit 901 is further used to acquire identification information sent by the WAPI server, where the identification information is sent by the WAPI server to the network controller according to the digital certificate from the terminal for applying for network access.

[0152] The sending unit 902 is used to send the access control policy to the forwarding device according to the identification information and the corresponding relationship, so that the forwarding device processes the service data of the terminal according to the access control policy.

[0153] In a possible implementation, the acquiring unit 901 is specifically configured to acquire a RADIUS message sent by a WAPI server, and the identification information is carried in an attribute in the RADIUS message.

[0154] In a possible implementation, the identification information is sent to the network controller according to the digital certificate after the WAPI server determines that the digital certificate is legal.

[0155] In a possible implementation, the forwarding device is a campus switch responsible for forwarding service data of the terminal.

[0156] In a possible implementation manner, the forwarding device is an AC responsible for forwarding service data of the terminal.

[0157] See also Fig.10 , the WAPI server 1000 in the present application includes an acquisition unit 1001 and a sending unit 1002.

[0158] The acquisition unit 1001 is used to acquire a digital certificate from a terminal for applying for network access.

[0159] The acquisition unit 1001 is further configured to acquire identification information of the terminal according to the digital certificate.

[0160] The sending unit 1002 is used to send identification information to the network controller. The identification information is used by the network controller to send the access control policy to the forwarding device according to the identification information and the correspondence between the identification information and the access control policy, so that the forwarding device processes the service data of the terminal according to the access control policy.

[0161] In a possible implementation manner, the sending unit 1002 is specifically configured to send a RADIUS message to the network controller, and the identification information is carried in an attribute in the RADIUS message.

[0162] In a possible implementation, the acquisition unit 1001 is specifically configured to acquire identification information according to the digital certificate if it is determined that the digital certificate is legal.

[0163] In a possible implementation, the forwarding device is a campus switch responsible for forwarding service data of the terminal.

[0164] In a possible implementation manner, the forwarding device is an AC responsible for forwarding service data of the terminal.

[0165] See also Fig.11 , AC1100 in this application includes a determining unit 1101 , an acquiring unit 1102 and a sending unit 1103 .

[0166] The determining unit 1101 is configured to determine whether a terminal accesses a network.

[0167] The acquisition unit 1102 is used to acquire identification information of the terminal according to the terminal accessing the network.

[0168] The sending unit 1103 is used to send identification information to the network controller. The identification information is used by the network controller to send the access control policy to the forwarding device according to the identification information and the correspondence between the identification information and the access control policy, so that the forwarding device processes the service data of the terminal according to the access control policy.

[0169] In a possible implementation manner, the determining unit 1101 is specifically configured to determine whether the terminal accesses the network according to a trigger message from the terminal.

[0170] In a possible implementation manner, the sending unit 1103 is specifically configured to send a RADIUS authentication request message to the network controller, and the identification information is carried in the RADIUS authentication request message.

[0171] See also Fig.12 , the network controller 1200 in the present application includes an acquisition unit 1201 and a sending unit 1202 .

[0172] The acquisition unit 1201 is used to acquire the correspondence between the identification information of the terminal and the access control policy.

[0173] The acquisition unit 1201 is further configured to acquire identification information sent by the AC, where the identification information is sent by the AC due to determining that the terminal has accessed the network.

[0174] The sending unit 1202 is used to send the access control policy to the forwarding device according to the identification information and the corresponding relationship, so that the forwarding device forwards the service data of the terminal according to the access control policy.

[0175] In a possible implementation manner, the obtaining unit 1201 is specifically configured to obtain a RADIUS authentication request message sent by the AC, and the identification information is carried in the RADIUS authentication request message.

[0176] In a possible implementation, the forwarding device is a campus switch responsible for forwarding service data of the terminal.

[0177] In a possible implementation manner, the forwarding device is an AC.

[0178] Fig.13 It is a structural diagram of a device provided in the present application, which may be a network controller, AC or WAPI server, which may include one or more central processing units (CPU) 1301 and a memory 1305, in which one or more applications or data are stored.

[0179] The memory 1305 may be a volatile storage or a persistent storage. The program stored in the memory 1305 may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the central processor 1301 may be configured to communicate with the memory 1305 and execute a series of instruction operations in the memory 1305 on the device 1300.

[0180] The device 1300 may further include one or more power supplies 1302 , one or more wired or wireless network interfaces 1303 , one or more input and output interfaces 1304 , and / or one or more operating systems.

[0181] The central processor 1301 can execute the operations of the network controller, AC or WAPI server in the aforementioned embodiments, and the details are not repeated here.

[0182] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0183] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0184] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0185] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0186] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

Claims

1. A strategy delivery method. It is characterized in that Applied to wireless LAN authentication and privacy infrastructure WAPI network, including: The network controller obtains the corresponding relationship between the terminal identification information and the access control policy; The network controller acquires the identification information sent by the WAPI server, where the identification information is sent by the WAPI server to the network controller according to the digital certificate from the terminal for applying for network access; The network controller sends the access control policy to the forwarding device according to the identification information and the corresponding relationship, so that the forwarding device processes the service data of the terminal according to the access control policy.

2. The method according to claim 1, It is characterized in that The network controller acquiring the identification information sent by the WAPI server includes: The network controller obtains a radius message sent by the WAPI server, and the identification information is carried in an attribute in the radius message.

3. The method according to claim 2, It is characterized in that The identification information is sent by the WAPI server to the network controller according to the digital certificate from the terminal for applying for network access, and includes: The identification information is sent to the network controller according to the digital certificate after the WAPI server determines that the digital certificate is legal.

4. The method according to any one of claims 1 to 3, It is characterized in that The forwarding device is a campus switch responsible for forwarding the service data of the terminal.

5. The method according to any one of claims 1 to 3, It is characterized in that The forwarding device is an access controller responsible for forwarding the service data of the terminal.

6. A strategy delivery method, It is characterized in that Applied to wireless LAN authentication and privacy infrastructure WAPI network, including: The WAPI server obtains the digital certificate from the terminal for applying for network access; The WAPI server obtains identification information of the terminal according to the digital certificate; The WAPI server sends the identification information to the network controller, and the identification information is used by the network controller to send the access control policy to the forwarding device according to the identification information and the correspondence between the identification information and the access control policy, so that the forwarding device processes the service data of the terminal according to the access control policy.

7. The method according to claim 6, It is characterized in that The WAPI server sending the identification information of the terminal to the network controller includes: The WAPI server sends a radius message to the network controller, and the identification information is carried in an attribute in the radius message.

8. The method according to claim 7, It is characterized in that The WAPI server acquiring the identification information of the terminal according to the digital certificate includes: If the WAPI server determines that the digital certificate is legal, the WAPI server obtains the identification information according to the digital certificate.

9. The method according to any one of claims 6 to 8, It is characterized in that The forwarding device is a campus switch responsible for forwarding the service data of the terminal.

10. The method according to any one of claims 6 to 8, It is characterized in that The forwarding device is an access controller responsible for forwarding the service data of the terminal.

11. A strategy delivery method, It is characterized in that Applied to wireless LAN authentication and privacy infrastructure WAPI network, including: The access controller AC determines that the terminal accesses the network; The AC acquires identification information of the terminal based on the terminal accessing the network; The AC sends the identification information to the network controller, and the identification information is used by the network controller to send the access control policy to the forwarding device according to the identification information and the correspondence between the identification information and the access control policy, so that the forwarding device processes the service data of the terminal according to the access control policy.

12. The method according to claim 11, It is characterized in that The AC determining that the terminal accesses the network includes: The AC determines, according to a trigger message from the terminal, that the terminal accesses a network.

13. The method according to claim 11 or 12, It is characterized in that The AC sending the identification information to the network controller includes: The AC sends a RADIUS authentication request message to the network controller, and the identification information is carried in the RADIUS authentication request message.

14. A strategy delivery method, It is characterized in that Applied to wireless LAN authentication and privacy infrastructure WAPI network, including: The network controller obtains the corresponding relationship between the terminal identification information and the access control policy; The network controller acquires the identification information sent by the access controller AC, where the identification information is sent by the AC due to determining that the terminal accesses the network; The network controller sends the access control policy to the forwarding device according to the identification information and the corresponding relationship, so that the forwarding device processes the service data of the terminal according to the access control policy.

15. The method according to claim 14, It is characterized in that The network controller acquiring the identification information sent by the access controller AC includes: The network controller obtains the RADIUS authentication request message sent by the AC, where the identification information is carried in the RADIUS authentication request message.

16. The method according to claim 14 or 15, It is characterized in that The forwarding device is a campus switch responsible for forwarding the service data of the terminal.

17. The method according to claim 14 or 15, It is characterized in that The forwarding device is the AC.

18. A network controller, It is characterized in that The method comprises a functional unit for implementing the method according to any one of claims 1 to 5.

19. A wireless local area network authentication and privacy infrastructure WAPI server, It is characterized in that The method comprises a functional unit for implementing the method according to any one of claims 6 to 10.

20. An access controller AC, It is characterized in that The method comprises a functional unit for implementing the method according to any one of claims 11 to 13.

21. A network controller, It is characterized in that The method comprises a functional unit for implementing the method according to any one of claims 14 to 17.

22. A computer-readable storage medium having a computer program or instruction stored thereon, It is characterized in that When the computer program or instruction is executed, the computer is caused to perform the method according to any one of claims 1 to 17.

23. A computer program product, comprising computer program code, It is characterized in that When the computer program code is executed on a computer, the computer is caused to implement the method according to any one of claims 1 to 17.