Method, device and storage medium for obtaining network address of MUD file

Automatically obtain the hardware information of the IoT terminal through the network device to obtain the network address of its MUD file, which solves the problem of upgrading and transforming the IoT terminal, reduces operating costs and improves efficiency, and realizes the smooth integration of the terminal into the MUD management framework.

CN113783823BActive Publication Date: 2024-09-17HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202010519677.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-09
Publication Date
2024-09-17
Estimated Expiration
2040-06-09

AI Technical Summary

Technical Problem

In the existing technology, IoT terminals need to be modified to carry the network address of the MUD file in the authentication message, which makes it difficult to upgrade and modify a large number of deployed terminals and increases operating costs.

Method used

Obtain the hardware information of the terminal through the network device and automatically obtain the network address of its MUD file, thereby eliminating the need for the terminal to send the network address and integrating it into the MUD management framework of the IETF RFC8520 standard to avoid terminal upgrades.

Benefits of technology

It achieves smooth integration of deployed terminals into the MUD management framework, reduces operating costs, and improves the efficiency and simplicity of obtaining MUD files.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113783823B
    Figure CN113783823B
Patent Text Reader

Abstract

Disclosed are a method, device and storage medium for obtaining the network address of a MUD file, and belong to the field of communication technology. In the method, a network device obtains the hardware information of a terminal that initiates authentication, and then obtains the network address of the MUD file of the terminal based on the hardware information of the terminal. The hardware information is one or more of the following information: an identifier of the access device of the terminal; an access port number of the terminal; or a terminal type. In this way, when the terminal initiates authentication, the network device can automatically obtain the network address of the MUD file of the terminal without the terminal sending the network address of the MUD file. In this way, the deployed terminals can be smoothly integrated into the MUD management framework of the IETF RFC8520 standard, avoiding the upgrade and transformation of the terminals and reducing operating costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device and storage medium for obtaining a network address of a manufacturer's usage description (MUD) file. Background Art

[0002] With the digital and intelligent transformation of enterprises, more and more Internet of Things (IoT) terminals have appeared in enterprise parks, including printers, cameras, light emitting diodes (LED) lamps, conference room projection screens, conference terminals, etc. Enterprises' demand for campus networks has also changed from simple access to office systems (such as laptops, desktop computers, etc.) to unified access to office systems and various IoT terminals.

[0003] The Internet Engineering Task Force (IETF) Request For Comments (RFC) 8520 standard defines a set of processes for collaboration between IoT terminal manufacturers and campus networks. The IETF RFC8520 standard uses the MUD file as the core to identify the manufacturer information and access permission requirements of the IoT terminal. Each manufacturer defines its own MUD file according to the requirements of the IoT terminal. The network address of the MUD file can be passed from the IoT terminal to the controller in the campus network with the help of the IoT terminal's authentication process. The controller can obtain the relevant MUD file from the MUD file server pointed to by the network address of the MUD file, and then complete the automatic mapping of the IoT terminal's access permission to the network policy based on the MUD file.

[0004] In the above solution, the IoT terminal needs to carry the network address of the MUD file in the authentication message so that the network address of the MUD file can be passed to the controller. If this solution is to be implemented, the IoT terminal needs to be modified so that the authentication message it sends can carry the network address of the MUD file. However, there are a large number of deployed IoT terminals in the enterprise campus, and it is very difficult to modify such a large number of IoT terminals. Summary of the invention

[0005] The present application provides a method, device and storage medium for obtaining the network address of a MUD file, which can avoid upgrading and modifying the terminal.

[0006] In a first aspect, a method for obtaining a network address of a MUD file is provided, wherein a network device obtains hardware information of a terminal that initiates authentication, and then obtains the network address of the MUD file of the terminal based on the hardware information of the terminal.

[0007] The hardware information of the terminal is one or more of the following information: the identification of the access device of the terminal; the access port number of the terminal; or the terminal type. Of course, the hardware information of the terminal can also be other information that can characterize the access characteristics or the attributes of the terminal.

[0008] The network address of the MUD file is used to indicate the network storage location of the MUD file, such as the network address of the MUD file can be the Uniform Resource Locator (URL) of the MUD file, etc. The network address of the MUD file points to the MUD file server storing the MUD file, and the MUD file can be obtained from the MUD file server according to the network address of the MUD file.

[0009] In this application, when the terminal initiates authentication, the network device can automatically obtain the network address of the MUD file of the terminal without the terminal sending the network address of the MUD file. This can smoothly integrate the deployed terminals into the MUD management framework of the IETF RFC8520 standard, avoid upgrading and remodeling the terminals, and reduce operating costs.

[0010] Optionally, when the network device obtains the network address of the MUD file of the terminal based on the hardware information of the terminal, the network device can obtain the network address corresponding to the hardware information of the terminal as the network address of the MUD file of the terminal from the correspondence between the hardware information and the network address.

[0011] The correspondence between the hardware information and the network address may be pre-configured in the network device. The network device can quickly obtain the network address corresponding to the hardware information of the terminal from the correspondence, and the acquisition method is simple and the acquisition efficiency is high.

[0012] In a possible manner, the network device is a controller. When the controller obtains the hardware information of the terminal that initiates the authentication, the controller may receive an authentication message sent by the access device, where the authentication message includes the hardware information of the terminal.

[0013] When the terminal needs to access the campus network, it can initiate authentication to the access device. After the terminal initiates authentication to the access device, the access device can obtain the hardware information of the terminal. Afterwards, the access device can send an authentication message carrying the hardware information of the terminal to the controller. The authentication message is used to request authentication of the terminal. In this way, when the terminal initiates authentication, the controller can quickly obtain the hardware information of the terminal through the access device.

[0014] In this case, after the controller obtains the network address of the MUD file of the terminal according to the hardware information of the terminal, it can also obtain the MUD file from the MUD file server according to the network address of the MUD file.

[0015] The MUD file can be defined by the manufacturer of the terminal according to the requirements of the terminal and stored in the MUD file server. The MUD file contains the abstract communication intention of the terminal, which can specifically contain the manufacturer information and requirement information of the terminal. In other words, the goal of the MUD file is to send a signal to the campus network for the terminal to indicate under which network configuration the functions required by the terminal can operate normally.

[0016] Furthermore, after the controller obtains the MUD file from the MUD file server according to the network address of the MUD file, it can also generate a network policy according to the MUD file. Specifically, the controller can generate a corresponding network policy according to each demand information carried in the MUD file to meet the service needs of the terminal.

[0017] After the controller generates the network policy, it can also send the network policy to the access device. The access device can perform corresponding network configuration according to the network policy. After completing the corresponding network configuration, the access device can notify the terminal of successful authentication. After that, the access device can control the network service of the terminal that has accessed the campus network according to the network configuration.

[0018] In another possible manner, the network device is an access device, which obtains the network address of the MUD file of the terminal according to the hardware information of the terminal, and can also send the network address of the MUD file to the controller. The controller obtains the MUD file from the MUD file server according to the network address of the MUD file, and generates a corresponding network policy to meet the service needs of the terminal.

[0019] In a second aspect, a device for obtaining the network address of a MUD file is provided, wherein the device for obtaining the network address of a MUD file has the function of implementing the method for obtaining the network address of a MUD file in the first aspect. The device for obtaining the network address of a MUD file includes at least one module, and the at least one module is used to implement the method for obtaining the network address of a MUD file provided in the first aspect.

[0020] In a third aspect, a device for obtaining a network address of a MUD file is provided, the device for obtaining a network address of a MUD file comprising a processor and a memory, the memory being used to store a program that supports the device for obtaining a network address of a MUD file to execute the method for obtaining a network address of a MUD file provided in the first aspect, and to store data involved in implementing the method for obtaining a network address of a MUD file described in the first aspect. The processor is configured to execute the program stored in the memory. The device for obtaining a network address of a MUD file may also include a communication bus, the communication bus being used to establish a connection between the processor and the memory.

[0021] In a fourth aspect, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes the method for obtaining the network address of a MUD file as described in the first aspect.

[0022] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the method for obtaining the network address of a MUD file as described in the first aspect.

[0023] The technical effects obtained by the above-mentioned second, third, fourth and fifth aspects are similar to the technical effects obtained by the corresponding technical means in the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;

[0025] Figure 2 It is a flow chart of a method for obtaining the network address of a MUD file provided in an embodiment of the present application;

[0026] Figure 3 is a flow chart of another method for obtaining the network address of a MUD file provided by an embodiment of the present application;

[0027] Figure 4 It is a flowchart of another method for obtaining the network address of a MUD file provided in an embodiment of the present application;

[0028] Figure 5 is a structural schematic diagram of a computer device provided in an embodiment of the present application;

[0029] Figure 6 is a structural schematic diagram of another computer device provided in an embodiment of the present application;

[0030] Figure 7 It is a structural diagram of a device for obtaining the network address of a MUD file provided in an embodiment of the present application. DETAILED DESCRIPTION

[0031] As described in the background technology, in order to implement the solution in the IETF RFC8520 standard, the IoT terminal needs to be modified so that the authentication message it sends can carry the network address of the MUD file. However, there are a large number of deployed IoT terminals in the enterprise campus, and it is very difficult to modify such a large number of IoT terminals. Therefore, there is a need for a method to smoothly integrate the existing IoT terminals into the existing IETF RFC8520 standard MUD management framework.

[0032] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0033] It should be understood that the "multiple" mentioned in this application refers to two or more. In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of this application, the words "first" and "second" are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not limit them to be different.

[0034] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Figure 1 , the implementation environment includes a terminal 101, an access device 102 and a controller 103.

[0035] The access device 102 and the controller 103 are in the campus network. The terminal 101 can access the campus network through the access device 102. The terminal 101 and the access device 102 can communicate through a wired connection or a wireless connection, and the access device 102 and the controller 103 can communicate through a wired connection or a wireless connection.

[0036] Terminal 101 may be an IoT terminal, including a printer, camera, LED light, conference room projection screen, conference terminal, etc. Terminal 101 is a terminal that needs to access the campus network to use the services provided by the campus network. Terminal 101 needs to initiate authentication when accessing the campus network.

[0037] The access device 102 provides a port for the terminal 101 to access the campus network. The port can be a physical port or a logical port. The access device 102 acts as a proxy between the terminal 101 and the controller 103. The terminal 101 can initiate authentication to the controller 103 through the access device 102.

[0038] The controller 103 may be an authentication, authorization, accounting (AAA) server, and the AAA server may be a remote authentication dial in user service (RADIUS) server, a terminal access controller access control system (TACACS), etc. The controller 103 may verify the identity of the terminal 101 to determine whether the terminal 101 is entitled to use the services provided by the campus network. After the terminal 101 passes the authentication, the controller 103 may feed back an authentication pass message to the terminal 101 through the access device 102.

[0039] The access device 102 and the controller 103 may be distributed in two different physical entities or may be concentrated in one physical entity. When the access device 102 and the controller 103 are concentrated in one physical entity, the physical entity independently completes the authentication of the terminal 101.

[0040] The following is a description of the method for obtaining the network address of a MUD file provided in an embodiment of the present application.

[0041] Figure 2 is a flowchart of a method for obtaining a network address of a MUD file provided by an embodiment of the present application. The method is applied to a network device, which may be Figure 1 The access device 102 or controller 103 is shown. Figure 2 , the method comprising:

[0042] Step 201: The network device obtains the hardware information of the terminal that initiates the authentication.

[0043] The network device may be in a campus network. If the terminal wants to access the campus network, it may initiate authentication to the network device. After the terminal initiates authentication to the network device, the network device may obtain the hardware information of the terminal.

[0044] For example, the hardware information of the terminal may be one or more of the following information: the identifier of the access device of the terminal; the access port number of the terminal; or the terminal type, etc. Of course, the hardware information of the terminal may also be other information that can characterize the access characteristics or properties of the terminal.

[0045] Step 202: The network device obtains the network address of the MUD file of the terminal according to the hardware information of the terminal.

[0046] Specifically, the network device can obtain the network address corresponding to the hardware information of the terminal as the network address of the MUD file of the terminal from the corresponding relationship between the hardware information and the network address.

[0047] The network address of the MUD file is used to indicate the network storage location of the MUD file, such as the network address of the MUD file can be the URL of the MUD file, etc. The network address of the MUD file points to the MUD file server storing the MUD file, and the MUD file can be obtained from the MUD file server according to the network address of the MUD file.

[0048] The correspondence between the hardware information and the network address may be pre-configured in the network device. The network device can quickly obtain the network address corresponding to the hardware information of the terminal from the correspondence, and the acquisition method is simple and the acquisition efficiency is high.

[0049] For example, when the hardware information is the access port number of the terminal, the correspondence between the hardware information and the network address can be shown in Table 1 below; when the hardware information is the terminal type, the correspondence between the hardware information and the network address can be shown in Table 2 below.

[0050] Table 1

[0051] Access port number Network Address interface 1 / 0 / 1 http: / / zyx.com / ledlight interface 1 / 0 / 2 http: / / zyx.com / printer …… ……

[0052] Table 2

[0053] Terminal Type Network Address Ledlight http: / / zyx.com / ledlight Printer http: / / zyx.com / printer …… ……

[0054] It should be noted that the embodiment of the present application is only illustrated by taking the correspondence between the hardware information and the network address shown in Table 1 and Table 2 as an example, and does not constitute a limitation on the embodiment of the present application.

[0055] In the embodiment of the present application, the network device obtains the hardware information of the terminal that initiates the authentication, and then obtains the network address of the MUD file of the terminal based on the hardware information of the terminal. In this way, when the terminal initiates the authentication, the network device can automatically obtain the network address of the MUD file of the terminal without the terminal sending the network address of the MUD file. In this way, the deployed terminals can be smoothly integrated into the MUD management framework of the IETF RFC8520 standard, avoiding the upgrading and transformation of the terminals and reducing the operating costs.

[0056] The following describes the case where the network device is an access device:

[0057] Figure 3 This is a flowchart of a method for obtaining the network address of a MUD file provided by an embodiment of the present application. The method is applied to Figure 1 In the implementation environment shown. Figure 3 , the method comprising:

[0058] Step 301: The terminal initiates authentication to the access device.

[0059] When a terminal needs to access a campus network, it can initiate authentication to an access device in the campus network. The authentication initiated by the terminal can be 802.1X authentication, media access control (MAC) authentication, or Portal authentication. Each authentication uses different protocol messages, such as 802.1X authentication can use Extensible Authentication Protocol (EAP) messages, MAC authentication can use Dynamic Host Configuration Protocol (DHCP) messages, and Portal authentication can use Link Layer Discovery Protocol (LLDP) messages.

[0060] Step 302: The access device obtains the hardware information of the terminal, and obtains the network address of the MUD file of the terminal according to the hardware information of the terminal.

[0061] After the terminal initiates authentication to the access device, the access device can obtain the hardware information of the terminal. For example, the hardware information can be the identifier of the access device, the access port number of the terminal, or the terminal type. Of course, the hardware information can also be other information that can characterize the access characteristics or properties of the terminal.

[0062] Among them, the operation of the access device obtaining the network address of the MUD file of the terminal according to the hardware information of the terminal can be: the access device obtains the network address corresponding to the hardware information of the terminal as the network address of the MUD file of the terminal from the correspondence between the hardware information and the network address.

[0063] The corresponding relationship between the hardware information and the network address may be pre-configured in the access device. For example, the corresponding relationship between the hardware information and the network address may be as shown in Table 1 or Table 2 above.

[0064] Step 303: The access device sends an authentication message to the controller, where the authentication message includes the network address of the MUD file.

[0065] The authentication message sent by the access device to the controller is used to request authentication of the terminal. For example, the authentication message may be a Radius message.

[0066] Step 304: After receiving the authentication message sent by the access device, the controller obtains the MUD file from the MUD file server according to the network address of the MUD file.

[0067] The MUD file can be defined by the manufacturer of the terminal according to the requirements of the terminal and stored in the MUD file server. The MUD file contains the abstract communication intention of the terminal, which can specifically contain the manufacturer information and requirement information of the terminal. In other words, the goal of the MUD file is to send a signal to the campus network for the terminal to indicate under which network configuration the functions required by the terminal can operate normally.

[0068] The controller can obtain the MUD file defined by the manufacturer for the terminal from the MUD file server through Hyper Text Transfer Protocol over Secure (Https) according to the network address of the MUD file.

[0069] Step 305: The controller generates a network policy based on the MUD file and sends it to the access device.

[0070] Specifically, the controller may generate corresponding network policies according to various demand information carried in the MUD file to meet the service requirements of the terminal.

[0071] For example, the MUD file includes fields related to access rights, and the fields related to access rights contain information related to the access rights requirements of the terminal. The controller can then configure access control lists (ACLs) and the like based on the fields related to access rights in the MUD file. ACLs are used to control messages. If a message matches a rule in the ACL with a permit action, the message is allowed to pass; if a message matches a rule in the ACL with a deny action, the message is discarded.

[0072] Step 306: After completing the corresponding network configuration according to the network policy, the access device notifies the terminal that the authentication is successful.

[0073] The access device can perform corresponding network configuration (including but not limited to interface configuration, protocol configuration, service configuration, etc.) according to the network policy. After completing the corresponding network configuration, the access device can notify the terminal of successful authentication. After that, the access device can control the network service of the terminal that has accessed the campus network according to the network configuration to meet the service needs of the terminal.

[0074] The following describes the case where the network device is a controller:

[0075] Figure 4 This is a flowchart of a method for obtaining the network address of a MUD file provided by an embodiment of the present application. The method is applied to Figure 1 In the implementation environment shown. Figure 4 , the method comprising:

[0076] Step 401: The terminal initiates authentication to the access device.

[0077] When a terminal needs to access a campus network, it can initiate authentication to an access device in the campus network. The authentication initiated by the terminal can be 802.1X authentication, MAC authentication, or Portal authentication. Each authentication uses different protocol messages, such as 802.1X authentication can use EAP messages, MAC authentication can use DHCP messages, and Portal authentication can use LLDP messages.

[0078] Step 402: The access device obtains the hardware information of the terminal.

[0079] After the terminal initiates authentication to the access device, the access device can obtain the hardware information of the terminal. For example, the hardware information can be the identifier of the access device, the access port number of the terminal, or the terminal type. Of course, the hardware information can also be other information that can characterize the access characteristics or properties of the terminal.

[0080] Step 403: The access device sends an authentication message to the controller, where the authentication message includes the hardware information of the terminal.

[0081] The authentication message sent by the access device to the controller is used to request authentication of the terminal. For example, the authentication message may be a Radius message, etc. The authentication message may include the hardware information of the terminal. In this way, when the terminal initiates authentication, the controller can quickly obtain the hardware information of the terminal through the access device.

[0082] Step 404: After receiving the authentication message sent by the access device, the controller obtains the network address of the MUD file of the terminal according to the hardware information of the terminal.

[0083] Specifically, the controller may obtain, from the correspondence between the hardware information and the network address, the network address corresponding to the hardware information of the terminal as the network address of the MUD file of the terminal.

[0084] The corresponding relationship between the hardware information and the network address may be pre-configured in the controller. For example, the corresponding relationship between the hardware information and the network address may be as shown in Table 1 or Table 2 above.

[0085] Step 405: The controller obtains the MUD file from the MUD file server according to the network address of the MUD file.

[0086] The MUD file can be defined by the manufacturer of the terminal according to the requirements of the terminal and stored in the MUD file server. The MUD file contains the abstract communication intention of the terminal, which can specifically contain the manufacturer information and requirement information of the terminal. In other words, the goal of the MUD file is to send a signal to the campus network for the terminal to indicate under which network configuration the functions required by the terminal can operate normally.

[0087] The controller can obtain the MUD file defined by the manufacturer for the terminal from the MUD file server through Https according to the network address of the MUD file.

[0088] Step 406: The controller generates a network policy based on the MUD file and sends it to the access device.

[0089] Specifically, the controller may generate corresponding network policies according to various demand information carried in the MUD file to meet the service requirements of the terminal.

[0090] For example, the MUD file includes fields related to access rights, and the fields related to access rights contain information related to the access rights requirements of the terminal. The controller can configure ACL and the like based on the fields related to access rights in the MUD file. ACL is used to control messages. If a message matches a rule with a permit action in the ACL, the message is allowed to pass; if a message matches a rule with a deny action in the ACL, the message is discarded.

[0091] Step 407: After completing the corresponding network configuration according to the network policy, the access device notifies the terminal that the authentication is successful.

[0092] The access device can perform corresponding network configuration (including but not limited to interface configuration, protocol configuration, service configuration, etc.) according to the network policy. After completing the corresponding network configuration, the access device can notify the terminal of successful authentication. After that, the access device can control the network service of the terminal that has accessed the campus network according to the network configuration to meet the service needs of the terminal.

[0093] Figure 5 is a schematic diagram of a computer device provided in an embodiment of the present application. The computer device may be Figure 1 The access device 102 shown in FIG. Figure 5 The computer device includes at least one processor 501 , a communication bus 502 , a memory 503 and at least one communication interface 504 .

[0094] The processor 501 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or may be one or more integrated circuits for controlling the execution of the program of the present application.

[0095] Communication bus 502 may include a pathway for transmitting information between the above-mentioned components.

[0096] The memory 503 may be a read-only memory (ROM), a random access memory (RAM), an electrically erasable programmable read-only memory (EEPROM), an optical disc (including a compact disc read-only memory (CD-ROM), a compressed optical disc, a laser disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 503 may exist independently and be connected to the processor 501 via the communication bus 502. The memory 503 may also be integrated with the processor 501.

[0097] The communication interface 504 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.

[0098] In a specific implementation, as an embodiment, the processor 501 may include one or more CPUs, such as Figure 5 CPU0 and CPU1 are shown in the figure.

[0099] In a specific implementation, as an embodiment, a computer device may include multiple processors, such as Figure 5 501 and processor 505 are shown in FIG. Each of these processors may be a single-core processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).

[0100] In a specific implementation, as an embodiment, the computer device may further include an output device 506 and an input device 507. The output device 506 communicates with the processor 501 and may display information in a variety of ways. For example, the output device 506 may be a liquid crystal display (LCD), an LED display device, a cathode ray tube (CRT) display device, or a projector. The input device 507 communicates with the processor 501 and may receive user input in a variety of ways. For example, the input device 507 may be a mouse, a keyboard, a touch screen device, or a sensor device.

[0101] The above-mentioned computer device can be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device can be a desktop computer, a portable computer, a network server, a handheld computer, a mobile phone, a tablet computer, a wireless terminal device, a communication device or an embedded device. The embodiment of the present application does not limit the type of computer device.

[0102] The memory 503 is used to store the program code 510 for executing the solution of the present application, and the processor 501 is used to execute the program code 510 stored in the memory 503. The computer device can implement the above by the processor 501 and the program code 510 in the memory 503. Figure 2 The method for obtaining the network address of the MUD file provided in the embodiment, or the method for implementing the above Figure 3 The operation performed by the access device in the method for obtaining the network address of the MUD file provided in the embodiment.

[0103] Figure 6 is a schematic diagram of a computer device provided in an embodiment of the present application. The computer device may be Figure 1 Controller 103 shown in FIG. Figure 6 The computer device includes at least one processor 601 , a communication bus 602 , a memory 603 and at least one communication interface 604 .

[0104] The processor 601 may be a microprocessor (including a CPU, etc.), an ASIC, or may be one or more integrated circuits for controlling the execution of the program of the present application.

[0105] Communication bus 602 may include a pathway for transmitting information between the above-mentioned components.

[0106] The memory 603 may be a ROM, RAM, EEPROM, optical disk (including CD-ROM, compact disk, laser disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by the computer, but is not limited thereto. The memory 603 may exist independently and be connected to the processor 601 via the communication bus 602. The memory 603 may also be integrated with the processor 601.

[0107] The communication interface 604 uses any transceiver or other device to communicate with other devices or communication networks, such as Ethernet, RAN, WLAN, etc.

[0108] In a specific implementation, as an embodiment, the processor 601 may include one or more CPUs, such as Figure 6CPU0 and CPU1 are shown in the figure.

[0109] In a specific implementation, as an embodiment, a computer device may include multiple processors, such as Figure 6 601 and processor 605 shown in FIG. Each of these processors may be a single-core processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (such as computer program instructions).

[0110] In a specific implementation, as an embodiment, the computer device may further include an output device 606 and an input device 607. The output device 606 communicates with the processor 601 and may display information in a variety of ways. For example, the output device 606 may be an LCD, LED display device, CRT display device, or projector. The input device 607 communicates with the processor 601 and may receive user input in a variety of ways. For example, the input device 607 may be a mouse, keyboard, touch screen device, or sensor device.

[0111] The above-mentioned computer device can be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device can be a desktop computer, a portable computer, a network server, a handheld computer, a mobile phone, a tablet computer, a wireless terminal device, a communication device or an embedded device. The embodiment of the present application does not limit the type of computer device.

[0112] The memory 603 is used to store the program code 610 for executing the solution of the present application, and the processor 601 is used to execute the program code 610 stored in the memory 603. The computer device can implement the above by the processor 601 and the program code 610 in the memory 603. Figure 2 The method for obtaining the network address of the MUD file provided in the embodiment, or the method for implementing the above Figure 4 The operation performed by the controller in the method for obtaining the network address of a MUD file provided in the embodiment.

[0113] Figure 7 It is a structural diagram of a device for obtaining the network address of a MUD file provided in an embodiment of the present application. The device can be implemented by software, hardware, or a combination of both to become part or all of a computer device.

[0114] See also Figure 7 The device includes: a first acquisition module 701 and a second acquisition module 702.

[0115] The first acquisition module 701 is used to execute the above Figure 2 Step 201 in the embodiment;

[0116] The second acquisition module is used to execute the above Figure 2 Step 202 in the embodiment.

[0117] Optionally, the network device is a controller, and the apparatus further includes:

[0118] The third acquisition module is used to acquire the MUD file from the MUD file server according to the network address of the MUD file.

[0119] Optionally, the first acquisition module 701 is used to:

[0120] An authentication message sent by the access device is received. The authentication message includes the hardware information of the terminal. The hardware information of the terminal is obtained by the access device when the terminal initiates authentication to the access device.

[0121] Optionally, the device further comprises:

[0122] The generation module is used to generate network policies based on MUD files.

[0123] Optionally, the network device is an access device, and the apparatus further includes:

[0124] The sending module is used to send the network address of the MUD file to the controller, and the controller obtains the MUD file from the MUD file server according to the network address of the MUD file.

[0125] In the embodiment of the present application, the hardware information of the terminal that initiates the authentication is obtained, and then the network address of the MUD file of the terminal is obtained according to the hardware information of the terminal. In this way, when the terminal initiates the authentication, the network address of the MUD file of the terminal can be automatically obtained without the terminal sending the network address of the MUD file. In this way, the deployed terminals can be smoothly integrated into the MUD management framework of the IETF RFC8520 standard, avoiding the upgrading and transformation of the terminals and reducing the operating costs.

[0126] It should be noted that: the device for obtaining the network address of a MUD file provided in the above embodiment only uses the division of the above functional modules as an example when obtaining the network address of a MUD file. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device for obtaining the network address of a MUD file provided in the above embodiment and the method embodiment for obtaining the network address of a MUD file belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0127] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, data subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0128] The above-mentioned embodiments are provided for the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for obtaining the network address of a manufacturer's instruction MUD file, characterized in that: The method comprises: The network device obtains the hardware information of the terminal that initiates the authentication; The network device obtains the network address of the MUD file of the terminal according to the hardware information of the terminal; The hardware information is used to characterize the access characteristics or the attributes of the terminal. The hardware information is one or more of the following information: the identifier of the access device of the terminal; the access port number of the terminal; or the terminal type; The network device obtains the network address of the MUD file of the terminal according to the hardware information of the terminal, including: Based on the correspondence between hardware information and network addresses, the network device obtains the network address corresponding to the hardware information of the terminal, and uses the network address corresponding to the hardware information of the terminal as the network address of the MUD file of the terminal. The correspondence between the hardware information and the network address is pre-configured in the network device.

2. The method according to claim 1, wherein The network device is a controller. After obtaining the network address of the MUD file of the terminal according to the hardware information of the terminal, the network device further includes: The controller obtains the MUD file from the MUD file server according to the network address of the MUD file.

3. The method according to claim 2, wherein The network device obtains hardware information of the terminal that initiates authentication, including: The controller receives an authentication message sent by an access device, where the authentication message includes hardware information of the terminal. The hardware information of the terminal is acquired by the access device when the terminal initiates authentication to the access device.

4. The method according to claim 2 or 3, wherein: After the controller obtains the MUD file from the MUD file server according to the network address of the MUD file, the controller further includes: The controller generates a network policy according to the MUD file.

5. The method according to claim 1, wherein The network device is an access device. After obtaining the network address of the MUD file of the terminal according to the hardware information of the terminal, the network device further includes: The access device sends the network address of the MUD file to the controller, and the controller obtains the MUD file from the MUD file server according to the network address of the MUD file.

6. A device for obtaining the network address of a manufacturer's instruction manual MUD file, applied to a network device, characterized in that: The device comprises: A first acquisition module is used to obtain hardware information of the terminal that initiates authentication; A second acquisition module is used to acquire the network address of the MUD file of the terminal according to the hardware information of the terminal; The hardware information is used to characterize the access characteristics or the attributes of the terminal. The hardware information is one or more of the following information: the identifier of the access device of the terminal; the access port number of the terminal; or the terminal type; Among them, the second acquisition module is specifically used to obtain the network address corresponding to the hardware information of the terminal based on the correspondence between the hardware information and the network address, and use the network address corresponding to the hardware information of the terminal as the network address of the MUD file of the terminal. The correspondence between the hardware information and the network address is pre-configured in the network device.

7. The device according to claim 6, characterized in that The network device is a controller, and the apparatus further includes: The third acquisition module is used to obtain the MUD file from the MUD file server according to the network address of the MUD file.

8. The device according to claim 7, wherein The first acquisition module is used for: An authentication message sent by an access device is received, where the authentication message includes hardware information of the terminal, and the hardware information of the terminal is obtained by the access device when the terminal initiates authentication to the access device.

9. The device according to claim 7 or 8, characterized in that The device further comprises: A generation module is used to generate a network policy according to the MUD file.

10. The device according to claim 6, wherein The network device is an access device, and the apparatus further includes: The sending module is used to send the network address of the MUD file to the controller, and the controller obtains the MUD file from the MUD file server according to the network address of the MUD file.

11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 5.

Citation Information

Cited By

  • Method and apparatus for acquiring network address of mud file, and storage medium

    WO2021249135A1