A method, device, equipment and storage medium for networking terminal of Internet of Things
By obtaining the network traffic of the IoT terminal, determining the equipment attributes and functions, and automatically generating network permission rules, the problems of cumbersome and inaccurate Internet of Things terminals in the existing technology are solved, and efficiency and security are improved.
Patent Information
- Application Number
- CN202110937890.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-16
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-08-16
AI Technical Summary
In the prior art, the Internet of Things terminal networking process requires manual configuration, which reduces convenience, and controls networking behavior through machine learning methods takes a long time and is not accurate enough.
By obtaining the network traffic of the target terminal, determining its device attribute information, determining the application functions and device types based on the device attribute information, building a connection policy, and automatically generating networking permission rules so that the terminal can access other devices in the intranet.
It improves the efficiency and accuracy of Internet of Things terminal networking, simplifies the networking process, reduces manual intervention, and ensures the security and accuracy of networking.
Smart Images

Figure CN113645079B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an Internet of Things terminal networking method, device, equipment and storage medium. Background Art
[0002] At present, for the management of IoT terminal access to the network, including protocol access, device identification, etc., in the existing technology, terminal networking is achieved through manual configuration, but the convenience of IoT terminal networking is reduced. The existing technology also uses machine learning methods to control the networking behavior of IoT terminals, but it takes a long time and cannot guarantee accuracy. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide an Internet of Things terminal networking method, device, equipment and medium, which can improve the efficiency of Internet of Things terminal networking. The specific scheme is as follows:
[0004] In a first aspect, the present application discloses a method for connecting an IoT terminal to a network, comprising:
[0005] Acquire network traffic of a target terminal, and determine device attribute information of the target terminal based on the network traffic;
[0006] Determine the application function and device type of the target terminal according to the device attribute information;
[0007] Determining a connection strategy for the target terminal according to the application function and the device type;
[0008] A networking permission rule for the target terminal is generated based on the connection strategy so that the target terminal can access other devices in the intranet according to the networking permission rule.
[0009] Optionally, the determining the device attribute information of the target terminal based on the network traffic includes:
[0010] Extracting the terminal IP address of the target terminal from the network traffic, scanning the target terminal according to the terminal IP address to determine the device attribute information of the target terminal; the device attribute information includes the manufacturer, device name and model;
[0011] The determining of the device attribute information of the target terminal further includes:
[0012] The terminal MAC address of the target terminal is extracted from the network traffic, and the terminal MAC address is compared with a MAC address manufacturer allocation table to determine the manufacturer corresponding to the target terminal.
[0013] Optionally, determining the application function and device type of the target terminal according to the device attribute information includes:
[0014] Determining the application function and device type of the target terminal according to the device attribute information and a pre-constructed terminal function type table;
[0015] The terminal function type table is a list constructed based on device attribute information, application functions and device types of various devices obtained from the manufacturer's official website through a crawler.
[0016] Optionally, determining the connection strategy of the target terminal according to the application function and the device type includes:
[0017] Searching a pre-built connection strategy table according to the application function and the device type to determine the connection strategy of the target terminal;
[0018] The process of constructing the connection strategy table includes:
[0019] Access control policies, access protocols and access ports corresponding to various types of devices are constructed according to device types and application functions to obtain the connection policy table; wherein the access control policies include the types of devices allowed to be accessed.
[0020] Optionally, the generating a network access permission rule for the target terminal based on the connection strategy includes:
[0021] According to the connection strategy and parameter information of the current network device, the network access permission rules of the target terminal are determined; the network access permission rules include the target IP address, the target MAC address, the target port and the ACL control rules.
[0022] Optionally, before generating the network access permission rule of the target terminal based on the connection strategy, the method further includes:
[0023] Obtaining traffic data of the target terminal accessing the external network server;
[0024] Determine the manufacturer information of the device accessed by the target terminal according to the traffic data;
[0025] Determine whether the manufacturer information matches the intranet device manufacturer information, and if so, initiate the step of generating the network permission rule for the target terminal based on the connection policy.
[0026] Optionally, the determining whether the manufacturer information matches the intranet device manufacturer information includes:
[0027] According to the uniform resource locator in the traffic data, determining the registered manufacturer of the domain name in the uniform resource locator through a domain name query system to obtain the manufacturer information;
[0028] Or, according to the IP address in the traffic data, the manufacturer to which the IP address belongs is obtained through an IP library to obtain the manufacturer information.
[0029] In a second aspect, the present application discloses an Internet of Things terminal networking device, comprising:
[0030] An attribute determination module, used to obtain network traffic of a target terminal and determine device attribute information of the target terminal based on the network traffic;
[0031] A function and type determination module, used to determine the application function and device type of the target terminal according to the device attribute information;
[0032] A connection strategy determination module, used to determine a connection strategy for the target terminal according to the application function and the device type;
[0033] A rule determination module is used to generate a networking permission rule for the target terminal based on the connection strategy, so that the target terminal can access other devices in the intranet according to the networking permission rule.
[0034] In a third aspect, the present application discloses an electronic device, comprising:
[0035] Memory, used to store computer programs;
[0036] The processor is used to execute the computer program to implement the aforementioned Internet of Things terminal networking method.
[0037] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the aforementioned Internet of Things terminal networking method.
[0038] In the present application, the network traffic of the target terminal is obtained, and the device attribute information of the target terminal is determined based on the network traffic; the application function and device type of the target terminal are determined based on the device attribute information; the connection strategy of the target terminal is determined based on the application function and the device type; and the networking permission rules of the target terminal are generated based on the connection strategy, so that the target terminal can access the rest of the intranet devices according to the networking permission rules. It can be seen that through the network traffic of the target terminal, the device attribute information of the target terminal is first determined, and then the application function and device type of the target terminal are determined based on the attribute information, and then the matching connection strategy is determined based on the application function and device type of the target terminal, and finally the networking permission rules of the intranet are automatically generated based on the connection strategy, so that the target terminal can access the rest of the intranet devices according to the networking permission rules, thereby improving the networking efficiency of the IoT terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0040] Figure 1 A flow chart of an Internet of Things terminal networking method provided by this application;
[0041] Figure 2 A flow chart of a specific method for connecting to the Internet of Things terminal provided by this application;
[0042] Figure 3 A schematic diagram of the structure of an Internet of Things terminal networking device provided for this application;
[0043] Figure 4 A structural diagram of an electronic device provided for this application. DETAILED DESCRIPTION
[0044] In the prior art, the terminal is connected to the Internet through manual configuration, but the convenience of the Internet of Things terminal is reduced. In the prior art, the Internet of Things terminal's networking behavior is also controlled by machine learning methods, but it takes a long time and cannot guarantee accuracy. In order to overcome the above technical problems, this application proposes an Internet of Things terminal networking method, which can automatically generate Internet of Things terminal device networking permission rules, so that the target terminal can access other devices in the intranet according to the networking permission rules, thereby improving the efficiency of Internet of Things terminal networking.
[0045] The present application embodiment discloses a method for connecting an IoT terminal to a network. Figure 1 As shown, the method may include the following steps:
[0046] Step S11: Acquire the network traffic of the target terminal, and determine the device attribute information of the target terminal based on the network traffic.
[0047] In this embodiment, the network traffic of the target terminal is first obtained, and then the device attribute information of the target terminal is determined based on the network traffic. Specifically, the network traffic of the target terminal can be captured by traffic devices such as gateways or firewalls, and then the captured traffic is analyzed to identify the target terminal device. The above-mentioned target terminal can be a terminal newly connected to the current local area network or all terminals in the current local area network.
[0048] In this embodiment, the device attribute information of the target terminal determined based on the network traffic may include: extracting the terminal IP address of the target terminal from the network traffic, scanning the target terminal according to the terminal IP address to determine the device attribute information of the target terminal; the device attribute information includes the manufacturer, device name and model. In this embodiment, the device attribute information of the target terminal may also include: extracting the terminal MAC address of the target terminal from the network traffic, comparing the terminal MAC address with the MAC address manufacturer allocation table to determine the manufacturer corresponding to the target terminal. It can be understood that the terminal can be actively scanned to identify the manufacturer, device name and model of the terminal through the extracted terminal IP address. When the manufacturer of the terminal cannot be accurately identified by active scanning, the manufacturer name of the target terminal can be obtained by comparing the first three digits of the terminal MAC address with the MAC address manufacturer allocation table. After obtaining all the device attribute information of the target terminal, a list of current LAN IoT terminal devices can be formed, which may include but is not limited to attributes such as terminal IP address, terminal MAC address, manufacturer, device name, model, etc.
[0049] Step S12: Determine the application function and device type of the target terminal according to the device attribute information.
[0050] In this embodiment, after obtaining the above device attribute information, the application function and device type of the target terminal are determined according to the device attribute information, such as determining that the application function is access control and the device type is a camera.
[0051] In this embodiment, determining the application function and device type of the target terminal according to the device attribute information may include: determining the application function and device type of the target terminal according to the device attribute information and a pre-constructed terminal function type table; wherein the terminal function type table is a list constructed based on the device attribute information, application function and device type of various types of devices obtained from the manufacturer's official website through a crawler. That is, the device attribute information, application function and device type of various types of devices obtained from the manufacturer's official website through a crawler in advance can be used to construct a terminal function type table. After determining the device attribute information, the application function and device type of the target terminal are determined by querying the terminal function type table. Of course, it is also possible to directly query through the official website after determining the device attribute information.
[0052] Step S13: Determine the connection strategy of the target terminal according to the application function and the device type.
[0053] In this embodiment, after determining the above application function and device type, the connection strategy corresponding to the target terminal is determined according to the application function and device type. It is understandable that different terminal devices correspond to different connection strategies, such as a camera monitoring device, the device type is camera, and the application function is access control, then the connection strategy of this camera is to only allow access to the access control device, and not to allow access to other terminal devices.
[0054] In this embodiment, the connection strategy of the target terminal determined according to the application function and the device type may include: searching a pre-constructed connection strategy table according to the application function and the device type to determine the connection strategy of the target terminal; wherein the construction process of the connection strategy table may include: constructing access control policies, access protocols and access ports corresponding to various types of devices according to the device type and application function to obtain the connection strategy table; wherein the access control policy includes the type of device allowed to access. That is, the connection strategy of each functional type of IoT terminal device can be pre-constructed and stored, and the pre-constructed connection strategy table can be searched according to the determined application function and device type to determine the connection strategy of the target terminal, and the connection strategy may specifically include the access control policy, access protocol and access port corresponding to the target terminal.
[0055] Step S14: Generate a networking permission rule for the target terminal based on the connection strategy, so that the target terminal can access other devices in the intranet according to the networking permission rule.
[0056] In this embodiment, the network permission rules for the target terminal generated based on the connection strategy may include: determining the network permission rules for the target terminal according to the connection strategy and parameter information of the current devices in the network; the network permission rules include the target IP address, target MAC address, target port and ACL control rules. That is, based on the determined connection strategy combined with the types and functions of all devices in the current intranet, the network permission rules for the target terminal are generated. The network permission rules include but are not limited to the target IP address, target MAC address, target port and ACL (Access Control List) control rules, so that the target terminal can access other devices in the intranet according to the network permission rules.
[0057] As can be seen from the above, in this embodiment, the network traffic of the target terminal is obtained, and the device attribute information of the target terminal is determined based on the network traffic; the application function and device type of the target terminal are determined based on the device attribute information; the connection strategy of the target terminal is determined based on the application function and the device type; and the networking permission rules of the target terminal are generated based on the connection strategy, so that the target terminal can access the rest of the intranet devices according to the networking permission rules. It can be seen that, through the network traffic of the target terminal, the device attribute information of the target terminal is first determined, and then the application function and device type of the target terminal are determined based on the attribute information, and then the matching connection strategy is determined based on the application function and device type of the target terminal, and finally the networking permission rules of the intranet are automatically generated based on the link strategy, so that the target terminal can access the rest of the intranet devices according to the networking permission rules, thereby improving the networking efficiency of the IoT terminals.
[0058] The present application embodiment discloses a specific method for connecting an IoT terminal to a network. Figure 2 As shown, the method may include the following steps:
[0059] Step S21: Acquire the network traffic of the target terminal, and determine the device attribute information of the target terminal based on the network traffic.
[0060] Step S22: Determine the application function and device type of the target terminal according to the device attribute information.
[0061] Step S23: Determine the connection strategy of the target terminal according to the application function and the device type.
[0062] Step S24: Obtaining traffic data of the target terminal accessing the external network server.
[0063] Step S25: Determine the manufacturer information of the device accessed by the target terminal according to the traffic data.
[0064] In this embodiment, the flow data of the target terminal accessing the external network server is obtained, and the manufacturer information of the device accessed by the target terminal is determined through analysis based on the flow data.
[0065] In this embodiment, the manufacturer information can be obtained by: determining the registered manufacturer of the domain name in the uniform resource locator through a domain name query system according to the uniform resource locator in the traffic data; or obtaining the manufacturer to which the IP address belongs through an IP library according to the IP address in the traffic data. That is, the address of the external network server accessed by the terminal is obtained through traffic analysis. If the uniform resource locator is obtained, the manufacturer registered for the domain name can be obtained through the whois domain name query system. If the address obtained is an IP address, the manufacturer to which the IP belongs can be obtained through the IP library.
[0066] Step S26: Determine whether the manufacturer information matches the intranet device manufacturer information. If they match, generate a networking permission rule for the target terminal based on the connection strategy so that the target terminal can access other intranet devices according to the networking permission rule.
[0067] In this embodiment, after determining the manufacturer information of the device accessed by the target device, the manufacturer information is compared with the manufacturer information of the intranet device. If there is a match, the network permission rules for the target terminal are generated based on the connection policy. Otherwise, a blocking ACL control rule is generated or a corresponding service alarm is generated.
[0068] Among them, the specific process of the above steps S21 to S23 can refer to the corresponding content disclosed in the above embodiments, and will not be repeated here.
[0069] As can be seen from the above, in this embodiment, the traffic data of the target terminal accessing the external network server is obtained, and then the manufacturer information of the device accessed by the target terminal is determined according to the traffic data, and then it is determined whether the manufacturer information matches the manufacturer information of the intranet device. If they match, the network permission rules of the target terminal are generated based on the connection strategy, so that the target terminal can access the remaining intranet devices according to the network permission rules. In this way, the accuracy and security of the target terminal device's network access can be further guaranteed.
[0070] Correspondingly, the present application embodiment also discloses an Internet of Things terminal networking device, see Figure 3 As shown, the device comprises:
[0071] The attribute determination module 11 is used to obtain the network traffic of the target terminal and determine the device attribute information of the target terminal based on the network traffic;
[0072] A function and type determination module 12, configured to determine the application function and device type of the target terminal according to the device attribute information;
[0073] A connection strategy determination module 13, configured to determine a connection strategy for the target terminal according to the application function and the device type;
[0074] The rule determination module 14 is used to generate a networking permission rule for the target terminal based on the connection strategy, so that the target terminal can access other devices in the intranet according to the networking permission rule.
[0075] As can be seen from the above, in this embodiment, the network traffic of the target terminal is obtained, and the device attribute information of the target terminal is determined based on the network traffic; the application function and device type of the target terminal are determined based on the device attribute information; the connection strategy of the target terminal is determined based on the application function and the device type; and the networking permission rules of the target terminal are generated based on the connection strategy, so that the target terminal can access the rest of the intranet devices according to the networking permission rules. It can be seen that, through the network traffic of the target terminal, the device attribute information of the target terminal is first determined, and then the application function and device type of the target terminal are determined based on the attribute information, and then the matching connection strategy is determined based on the application function and device type of the target terminal, and finally the networking permission rules of the intranet are automatically generated based on the link strategy, so that the target terminal can access the rest of the intranet devices according to the networking permission rules, thereby improving the networking efficiency of the IoT terminals.
[0076] In some specific embodiments, the attribute determination module 11 may specifically include:
[0077] A scanning unit, configured to extract the terminal IP address of the target terminal from the network traffic, and scan the target terminal according to the terminal IP address to determine device attribute information of the target terminal; the device attribute information includes manufacturer, device name and model;
[0078] The MAC comparison unit is used to extract the terminal MAC address of the target terminal from the network traffic, and compare the terminal MAC address with the MAC address manufacturer allocation table to determine the manufacturer corresponding to the target terminal.
[0079] In some specific embodiments, the function and type determination module 12 may specifically include:
[0080] A function and type determination unit, configured to determine the application function and device type of the target terminal according to the device attribute information and a pre-constructed terminal function type table;
[0081] The terminal function type table is a list constructed based on device attribute information, application functions and device types of various devices obtained from the manufacturer's official website through a crawler.
[0082] In some specific embodiments, the connection strategy determination module 13 may specifically include:
[0083] A connection strategy determination unit, configured to search a pre-built connection strategy table according to the application function and the device type to determine a connection strategy for the target terminal;
[0084] The process of constructing the connection strategy table includes:
[0085] Access control policies, access protocols and access ports corresponding to various types of devices are constructed according to device types and application functions to obtain the connection policy table; wherein the access control policies include the types of devices allowed to be accessed.
[0086] In some specific embodiments, the rule determination module 14 may specifically include:
[0087] A rule determination unit is used to determine the network access permission rules of the target terminal according to the connection strategy and parameter information of the current network device; the network access permission rules include target IP address, target MAC address, target port and ACL control rules.
[0088] In some specific embodiments, the Internet of Things terminal networking device may specifically include:
[0089] A flow data acquisition unit, used to acquire flow data of the target terminal accessing the external network server;
[0090] a manufacturer information determining unit, configured to determine the manufacturer information of the device accessed by the target terminal according to the flow data;
[0091] The judgment unit is used to judge whether the manufacturer information matches the manufacturer information of the intranet device, and if so, start the step of generating the networking permission rules of the target terminal based on the connection strategy.
[0092] In some specific embodiments, the judging unit may specifically include:
[0093] A first judgment subunit is used to determine the registered manufacturer of the domain name in the uniform resource locator through a domain name query system according to the uniform resource locator in the traffic data to obtain the manufacturer information;
[0094] The second judgment subunit is used to obtain the manufacturer to which the IP address belongs through the IP library according to the IP address in the traffic data, so as to obtain the manufacturer information.
[0095] Furthermore, the present application also discloses an electronic device, see Figure 4 As shown, the contents in the figure cannot be considered as any limitation on the scope of use of the present application.
[0096] Figure 4The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the IoT terminal networking method disclosed in any of the aforementioned embodiments.
[0097] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0098] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222, and data 223 including network traffic, etc. The storage method can be temporary storage or permanent storage.
[0099] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, and it can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the Internet of Things terminal networking method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.
[0100] Furthermore, an embodiment of the present application also discloses a computer storage medium, in which computer executable instructions are stored. When the computer executable instructions are loaded and executed by a processor, the steps of the Internet of Things terminal networking method disclosed in any of the aforementioned embodiments are implemented.
[0101] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0102] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0103] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0104] The above is a detailed introduction to an Internet of Things terminal networking method, device, equipment and medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for networking an Internet of Things terminal, characterized in that: include: Acquire network traffic of a target terminal, and determine device attribute information of the target terminal based on the network traffic; Determine the application function and device type of the target terminal according to the device attribute information; Determining a connection strategy for the target terminal according to the application function and the device type; Generate a networking permission rule for the target terminal based on the connection strategy, so that the target terminal can access other devices in the intranet according to the networking permission rule; Wherein, before generating the networking permission rule of the target terminal based on the connection strategy, the method further includes: Obtaining traffic data of the target terminal accessing the external network server; Determine the manufacturer information of the device accessed by the target terminal according to the traffic data; Determine whether the manufacturer information matches the intranet device manufacturer information, and if so, initiate the step of generating the network permission rule for the target terminal based on the connection policy.
2. The method for connecting an Internet of Things terminal to a network according to claim 1, characterized in that: The determining the device attribute information of the target terminal based on the network traffic includes: Extracting the terminal IP address of the target terminal from the network traffic, scanning the target terminal according to the terminal IP address to determine the device attribute information of the target terminal; the device attribute information includes the manufacturer, device name and model; The determining of the device attribute information of the target terminal further includes: The terminal MAC address of the target terminal is extracted from the network traffic, and the terminal MAC address is compared with a MAC address manufacturer allocation table to determine the manufacturer corresponding to the target terminal.
3. The method for connecting an Internet of Things terminal to a network according to claim 1, characterized in that: Determining the application function and device type of the target terminal according to the device attribute information includes: Determining the application function and device type of the target terminal according to the device attribute information and a pre-constructed terminal function type table; The terminal function type table is a list constructed based on device attribute information, application functions and device types of various devices obtained from the manufacturer's official website through a crawler.
4. The method for connecting an Internet of Things terminal to a network according to claim 1, characterized in that: The determining the connection strategy of the target terminal according to the application function and the device type includes: Searching a pre-built connection strategy table according to the application function and the device type to determine the connection strategy of the target terminal; The process of constructing the connection strategy table includes: Access control policies, access protocols and access ports corresponding to various types of devices are constructed according to device types and application functions to obtain the connection policy table; wherein the access control policies include the types of devices allowed to be accessed.
5. The method for connecting an Internet of Things terminal to a network according to claim 1, characterized in that: The generating the networking permission rule of the target terminal based on the connection strategy includes: According to the connection strategy and parameter information of the current network device, the network access permission rules of the target terminal are determined; the network access permission rules include the target IP address, the target MAC address, the target port and the ACL control rules.
6. The method for connecting an Internet of Things terminal to a network according to claim 1, characterized in that: The determining whether the manufacturer information matches the intranet device manufacturer information includes: According to the uniform resource locator in the traffic data, determining the registered manufacturer of the domain name in the uniform resource locator through a domain name query system to obtain the manufacturer information; Or, according to the IP address in the traffic data, the manufacturer to which the IP address belongs is obtained through an IP library to obtain the manufacturer information.
7. An Internet of Things terminal networking device, characterized in that: include: An attribute determination module, used to obtain network traffic of a target terminal and determine device attribute information of the target terminal based on the network traffic; A function and type determination module, used to determine the application function and device type of the target terminal according to the device attribute information; A connection strategy determination module, used to determine a connection strategy for the target terminal according to the application function and the device type; A rule determination module, configured to generate a network permission rule for the target terminal based on the connection strategy, so that the target terminal can access other devices in the intranet according to the network permission rule; Among them, the Internet of Things terminal networking device is also used to obtain the traffic data of the target terminal accessing the external network server before generating the networking permission rules of the target terminal based on the connection strategy; determine the manufacturer information of the device accessed by the target terminal according to the traffic data; judge whether the manufacturer information matches the manufacturer information of the intranet device, and if so, start the step of generating the networking permission rules of the target terminal based on the connection policy.
8. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the Internet of Things terminal networking method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein when the computer program is executed by a processor, the Internet of Things terminal networking method as described in any one of claims 1 to 6 is implemented.
