Large-scale equipment access method and device, equipment and storage medium
By processing the original data of IoT devices, determining whether there are associated devices in the device, and accessing them based on associated devices or edge nodes, the problem of low access efficiency when the number of IoT devices is large, and access efficiency is improved.
Patent Information
- Application Number
- CN202411790937.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2044-12-06
AI Technical Summary
When the number of IoT devices is huge, the device access efficiency is low, resulting in a sharp increase in access pressure, affecting the promotion of IoT applications.
By collecting the original equipment data of the target device, performing data processing to obtain the processed equipment data, and determining whether there are associated equipment in the device. If it exists, access to the Internet of Things based on the associated device data; if it does not exist, access to the Internet of Things based on the target edge node.
It improves the access efficiency of large-scale equipment and solves the problem of sharp increase in access pressure when the number of IoT devices is huge.
Smart Images

Figure CN119728733A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet of Things, and in particular to a large-scale device access method, apparatus, device and storage medium. Background Art
[0002] With the rapid development of Internet of Things (IoT) technology, more and more IoT devices are being deployed in various fields, such as smart cities, smart homes, industrial IoT, etc. These IoT devices have achieved a deep integration of the physical world and the digital world through technical means such as sensors, actuators, and wireless communications, bringing great convenience to people's lives and work.
[0003] However, when there are large-scale IoT devices connected to the IoT, the access efficiency problem gradually becomes prominent and becomes one of the key factors restricting the promotion of IoT applications. In particular, in IoT systems, device access usually involves multiple links such as device authentication, connection establishment, and data exchange. When the number of IoT devices is large, the processing pressure of these links will increase sharply, resulting in low access efficiency. Therefore, the industry is in urgent need of a method to improve access efficiency when facing large-scale IoT device access scenarios. Summary of the invention
[0004] The main purpose of this application is to provide a large-scale device access method, apparatus, device and storage medium, aiming to solve the technical problem of low access efficiency in the existing technology when facing large-scale IoT device access scenarios.
[0005] To achieve the above object, the present application provides a large-scale device access method, the method comprising the following steps:
[0006] Collecting original device data of the target device, and performing data processing on the original device data to obtain processed device data;
[0007] Determine whether the target device has an associated device in the Internet of Things according to the processed device data, wherein the associated device represents a device that has a dependency relationship with the target device;
[0008] If so, obtaining associated device data corresponding to the associated device, and connecting the target device to the Internet of Things based on the associated device data;
[0009] If not, a target edge node is selected according to the processed device data, and the target device is connected to the Internet of Things based on the target edge node.
[0010] In one embodiment, before the step of collecting the original device data of the target device and performing data processing on the original device data to obtain the processed device data, the step further includes:
[0011] When receiving an access request from a target device, performing access qualification authentication on the target device according to the access request;
[0012] If the target device passes the authentication, the steps of collecting original device data of the target device and performing data processing on the original device data to obtain processed device data are executed;
[0013] If the target device fails to pass the authentication, the target device is denied access to the Internet of Things, and an abnormal access alarm is issued to the management personnel.
[0014] In one embodiment, the step of collecting original device data of the target device and performing data processing on the original device data to obtain processed device data includes:
[0015] Collecting original device data of the target device and writing the original device data into the main database;
[0016] The processed device data is obtained by reading the original device data in the main database from a database and performing data cleaning and data screening on the original device data.
[0017] In one embodiment, the step of determining whether the target device has an associated device in the Internet of Things according to the processed device data includes:
[0018] Determine the historical topology data and historical communication data of the target device according to the processed device data;
[0019] If the historical topology data contains the topological relationship between the target device and other devices in the Internet of Things, or the historical communication data contains the communication record between the target device and other devices in the Internet of Things, it is determined that the target device has an associated device in the Internet of Things;
[0020] If the historical topology data does not include the topological relationship between the target device and other devices in the Internet of Things, and the historical communication data does not include the communication record between the target device and other devices in the Internet of Things, it is determined that the target device has no associated device in the Internet of Things.
[0021] In one embodiment, the step of connecting the target device to the Internet of Things based on the associated device data includes:
[0022] Determine whether the associated devices are connected to the same Internet of Things network access interface according to the associated device data;
[0023] If yes, connecting the target device to the same Internet of Things access interface as the associated device, so that the target device is connected to the Internet of Things;
[0024] If not, a target associated device with the highest interaction frequency with the target device is selected from the associated devices according to the associated device data, and the target device is connected to the same Internet of Things access interface as the target associated device, so that the target device is connected to the Internet of Things.
[0025] In one embodiment, the step of selecting a target edge node according to the processed device data, and connecting the target device to the Internet of Things based on the target edge node includes:
[0026] Determine the IP address of the target device according to the processed device data, and simultaneously obtain node information of available edge nodes;
[0027] A target edge node is selected from the available edge nodes based on the IP address and the node information, and the target device is connected to the Internet of Things based on the target edge node.
[0028] In addition, to achieve the above-mentioned purpose, the present application also proposes a large-scale device access device, the large-scale device access device comprising:
[0029] A data processing module is used to collect original device data of the target device and perform data processing on the original device data to obtain processed device data;
[0030] An association determination module, used to determine whether the target device has an associated device in the Internet of Things according to the processed device data, wherein the associated device indicates a device that has a dependency relationship with the target device;
[0031] A first access module, configured to obtain associated device data corresponding to the associated device, and access the target device to the Internet of Things based on the associated device data;
[0032] The second access module is used to select a target edge node according to the processed device data if no, and access the target device to the Internet of Things based on the target edge node.
[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes a large-scale device access device, which includes: a memory, a processor, and a large-scale device access program stored on the memory and executable on the processor, and the large-scale device access program is configured to implement the steps of the large-scale device access method described above.
[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a large-scale device access program is stored on the storage medium. When the large-scale device access program is executed by the processor, the steps of the large-scale device access method described above are implemented.
[0035] In addition, to achieve the above objectives, the present invention also provides a computer program product, which includes a large-scale device access program, and when the large-scale device access program is executed by a processor, it implements the steps of the large-scale device access method described above.
[0036] This application collects the original device data of the target device and processes the original device data to obtain processed device data; determines whether the target device has an associated device in the Internet of Things based on the processed device data, and the associated device represents a device that has a dependency relationship with the target device; if so, obtains the associated device data corresponding to the associated device, and connects the target device to the Internet of Things based on the associated device data; if not, selects a target edge node based on the processed device data, and connects the target device to the Internet of Things based on the target edge node. Compared with the traditional device access method, the above method of this application connects the target device to the Internet of Things based on the associated device data when there is an associated device corresponding to the target device in the Internet of Things, and connects the target device to the Internet of Things based on the target edge node when there is no associated device corresponding to the target device in the Internet of Things, thereby solving the technical problem of a sharp increase in access pressure when the number of Internet of Things devices is large, thereby improving the access efficiency of this application for large-scale devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 A schematic diagram of the structure of a large-scale device access device in a hardware operating environment involved in an embodiment of the present application;
[0038] Figure 2 This is a flow chart of the first embodiment of the large-scale device access method of the present application;
[0039] Figure 3 This is a flow chart of the second embodiment of the large-scale device access method of the present application;
[0040] Figure 4 This is a flow chart of the third embodiment of the large-scale device access method of the present application;
[0041] Figure 5 This is a structural block diagram of the first embodiment of the large-scale device access apparatus of the present application.
[0042] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0043] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a large-scale device access device in the hardware operating environment involved in the embodiment of the present application.
[0045] like Figure 1 As shown, the large-scale device access device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0046] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the large-scale device access device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0047] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a large-scale device access program.
[0048] exist Figure 1In the large-scale device access device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the large-scale device access device of the present application can be set in the large-scale device access device, and the large-scale device access device calls the large-scale device access program stored in the memory 1005 through the processor 1001, and executes the large-scale device access method provided in the embodiment of the present application.
[0049] The present application embodiment provides a large-scale device access method, referring to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the large-scale device access method of the present application.
[0050] In this embodiment, the large-scale device access method includes the following steps:
[0051] Step S10: collecting original device data of the target device, and performing data processing on the original device data to obtain processed device data.
[0052] It should be noted that the execution subject of the method of this embodiment can be a terminal device with data collection, data processing and program running functions, such as a smart cloud, a computer, etc., or an electronic device with the same or similar functions, such as the above-mentioned large-scale device access device. The following takes the large-scale device access device as an example to illustrate this embodiment and the following embodiments.
[0053] It is understandable that the above-mentioned target device can be a device that connects various physical devices to the Internet of Things through network connection and communication technology, such as communication equipment (such as Internet of Things gateways, routers, data collectors, etc.), industrial automation equipment (such as industrial robots, controllers arranged on automated production lines), sensor equipment (such as light sensors, pressure sensors, etc.), etc., and this embodiment does not limit this.
[0054] It should be understood that the above-mentioned original device data is the original data corresponding to the target device, such as operation data, status data, topology data, communication data, etc.
[0055] In a specific implementation, since the original device data has not been processed, it will more or less contain some data that is not required to be applied in the large-scale device access method mentioned in this embodiment. Therefore, the original device data can be processed to obtain processed device data, which is the data that needs to be applied in this embodiment.
[0056] Step S20: judging whether the target device has an associated device in the Internet of Things according to the processed device data, wherein the associated device represents a device having a dependency relationship with the target device.
[0057] It should be noted that the above dependencies may include device connection dependency, data processing dependency, functional collaborative dependency, etc. Specifically, the target device can establish a connection with other IoT devices through communication technology to achieve data transmission and exchange. These communication technologies include various wireless communication technologies such as Wi-Fi, Bluetooth, Zigbee, LoRa, and wired communication technologies such as Ethernet. The connection dependency between devices ensures that data can flow between devices, thereby achieving information sharing and collaborative processing. At the same time, IoT devices are usually equipped with hardware resources such as processors and memory to process and analyze the collected data. However, the data processing capacity of a single device may be limited, so it often needs to rely on other devices or cloud servers for data processing. For example, some devices may be responsible for collecting raw data, while others are responsible for data preprocessing, analysis, and storage. In addition, there is often functional collaborative dependency between IoT devices. For example, in a smart home system, smart bulbs need to rely on devices such as smart switches or smart speakers to control switches and brightness.
[0058] It should be understood that, based on the above discussion, it is possible to determine whether the target device has device connection dependency, data processing dependency or functional collaboration dependency in the Internet of Things based on the processed device data, thereby determining whether the target device has associated devices in the Internet of Things.
[0059] Step S30: If yes, then obtain the associated device data corresponding to the associated device, and connect the target device to the Internet of Things based on the associated device data.
[0060] It should be noted that the above-mentioned associated device data may include the Internet of Things access protocol, the Internet of Things access interface, the Internet of Things access request, etc. in the above-mentioned associated devices.
[0061] In a specific implementation, the access method corresponding to the target device can be determined according to the associated device data, and then the target device can be connected to the Internet of Things based on the access method.
[0062] Step S40: If not, selecting a target edge node according to the processed device data, and connecting the target device to the Internet of Things based on the target edge node.
[0063] It should be noted that the above-mentioned target edge node can be an edge node with edge-side real-time data analysis, local data storage, and real-time network connection capabilities, such as an edge gateway, edge controller, edge server, etc., and this embodiment does not limit this.
[0064] In a specific implementation, the matching degree between each edge node and the target device can be determined based on the processed device data, and then the edge node with the highest matching degree is selected as the above-mentioned target edge node, so that the target device can be connected to the Internet of Things based on the target edge node.
[0065] This embodiment collects the original device data of the target device and processes the original device data to obtain processed device data; determines whether the target device has an associated device in the Internet of Things based on the processed device data, and the associated device represents a device that has a dependency relationship with the target device; if so, obtains the associated device data corresponding to the associated device, and connects the target device to the Internet of Things based on the associated device data; if not, selects a target edge node based on the processed device data, and connects the target device to the Internet of Things based on the target edge node. Compared with the traditional device access method, the above method of this embodiment connects the target device to the Internet of Things based on the associated device data when there is an associated device corresponding to the target device in the Internet of Things, and connects the target device to the Internet of Things based on the target edge node when there is no associated device corresponding to the target device in the Internet of Things, thereby solving the technical problem of a sharp increase in access pressure when the number of Internet of Things devices is large, thereby improving the access efficiency of this embodiment for large-scale devices.
[0066] refer to Figure 3 , Figure 3 This is a flow chart of the second embodiment of the large-scale device access method of the present application.
[0067] In a feasible implementation manner, before step S10, the following may also be included:
[0068] Step S1: When an access request from a target device is received, access qualification authentication is performed on the target device according to the access request.
[0069] Step S2: If the target device passes the authentication, the steps of collecting the original device data of the target device and performing data processing on the original device data to obtain processed device data are executed.
[0070] Step S3: If the target device fails to pass the authentication, the target device is denied access to the Internet of Things, and an abnormal access alarm is issued to the administrator.
[0071] In a specific implementation, when an access request is received from a target device, it is possible to check whether the device serial number of the target device matches a known device list, check whether the operating system version of the target device meets the access requirements, and check whether the user identity and permissions meet the access conditions based on the access request. If all of them match / comply / satisfy, it can be determined that the target device has passed the authentication; if there is one mismatch / mismatch / dissatisfaction, it can be determined that the target device has failed the authentication.
[0072] In a feasible implementation manner, the step S10 may include:
[0073] Step S101: collecting original device data of a target device, and writing the original device data into a master database.
[0074] Step S102: The original device data in the master database is read from a database, and the original device data is cleaned and screened to obtain processed device data.
[0075] It should be noted that the above-mentioned master database is the database responsible for processing all write operations (such as insert, update, delete, etc.) and some or most of the read operations. It usually contains the latest and most complete original device data; the above-mentioned slave database is a copy of the master database, responsible for processing read operations and providing data redundancy and fault tolerance. It copies data from the master database and maintains data consistency with the master database.
[0076] In a feasible implementation manner, the step S20 may include:
[0077] Step S201: determining the historical topology data and historical communication data of the target device according to the processed device data.
[0078] It should be noted that the above-mentioned historical topology data represents the connection status and layout of the target device in the network. It records the connection relationship between devices, changes in the network structure, and the physical or logical location of the devices. The above-mentioned historical communication data represents the communication behavior and communication content between the target devices. It reflects the interaction process between devices, communication frequency, and the type and size of communication data.
[0079] Step S202: If the historical topology data contains the topological relationship between the target device and other devices in the Internet of Things, or the historical communication data contains the communication record between the target device and other devices in the Internet of Things, it is determined that the target device has an associated device in the Internet of Things.
[0080] Step S203: If the historical topology data does not include the topological relationship between the target device and other devices in the Internet of Things, and the historical communication data does not include the communication record between the target device and other devices in the Internet of Things, it is determined that the target device has no associated device in the Internet of Things.
[0081] It should be understood that if the historical topology data does not contain the topological relationship between the target device and other devices in the Internet of Things, and the historical communication data does not contain the communication records between the target device and other devices in the Internet of Things, it means that the target device did not have a dependency relationship with other devices before the current moment, so it can be determined that the target device has no associated devices in the Internet of Things.
[0082] In this embodiment, when receiving an access request sent by a target device, the target device is authenticated for access qualification according to the access request; if the target device passes the authentication, the original device data of the target device is collected, and the original device data is processed to obtain the processed device data; if the target device fails the authentication, the target device is denied access to the Internet of Things, and an abnormal access alarm is issued to the management personnel; the original device data of the target device is collected, and the original device data is written into a main database; the original device data in the main database is read from the database, and the original device data is cleaned and screened to obtain the processed device data; the historical topology data and historical communication data of the target device are determined according to the processed device data; if the historical topology data contains the topological relationship between the target device and other devices in the Internet of Things, or the historical communication data contains the communication record between the target device and other devices in the Internet of Things, it is determined that the target device has an associated device in the Internet of Things; if the historical topology data does not contain the topological relationship between the target device and other devices in the Internet of Things, and the historical communication data does not contain the communication record between the target device and other devices in the Internet of Things, it is determined that the target device has no associated device in the Internet of Things. Compared with the traditional device access method, the above method of this embodiment writes the original device data of the target device through the main database, and reads the original device data in the main database from the database, thereby reducing the burden of the main database and achieving load balancing; at the same time, this embodiment also determines the topological relationship and communication record between the target device and other devices in the Internet of Things based on the historical topological data and historical communication data of the target device, thereby achieving more accurate judgment of whether the target device has associated devices in the Internet of Things.
[0083] refer to Figure 4 , Figure 4 This is a flow chart of the third embodiment of the large-scale device access method of the present application.
[0084] In a feasible implementation manner, the step S30 may include:
[0085] Step S301: Determine whether the associated devices are connected to the same Internet of Things network access interface based on the associated device data.
[0086] Step S302: If yes, the target device is connected to the same Internet of Things access interface as the associated device, so that the target device is connected to the Internet of Things.
[0087] In a specific implementation, if all associated devices are connected to the same IoT network access interface, in order to maximize the interaction efficiency between the target device and each associated device, the target device and all associated devices can be connected to the same IoT network access interface.
[0088] Step S303: If not, select a target associated device with the highest interaction frequency with the target device from the associated devices according to the associated device data, and connect the target device to the same IoT access interface as the target associated device, so that the target device is connected to the IoT.
[0089] In a feasible implementation manner, the step S40 may include:
[0090] Step S401: Determine the IP address of the target device according to the processed device data, and simultaneously obtain node information of available edge nodes.
[0091] Step S402: selecting a target edge node from the available edge nodes based on the IP address and the node information, and connecting the target device to the Internet of Things based on the target edge node.
[0092] In a specific implementation, the data transmission efficiency of each available edge node corresponding to the target device can be determined based on the above-mentioned IP address and the above-mentioned node information, and then the available edge node with the highest data transmission efficiency is determined as the above-mentioned target edge node, so that the target device can be connected to the Internet of Things based on the target edge node.
[0093] In addition, the above method of this embodiment can also be compatible with the device protocols of various IoT devices, such as Wi-Fi, Ethernet, NFC, Zigbee, Bluetooth, GPRS and other protocols, which are not limited in this embodiment. Based on these device protocols, this embodiment can clean or otherwise process massive amounts of data for subsequent analysis and decision-making.
[0094] In another feasible embodiment, during the access process of large-scale devices, all data (including but not limited to the above-mentioned original device data, associated device data, processed device data, historical topology data, historical communication data, etc.) can be stored and managed through a preset data management system. The preset data management system is a large-scale data storage and processing system designed to store and process data of various types and formats, including structured data, semi-structured data and unstructured data. The preset data management system usually adopts distributed computing and storage technologies, such as Hadoop, Spark, etc., which can process massive amounts of data and provide high reliability and high scalability. Enterprises can expand storage and computing resources at any time as needed to adapt to the growing amount of data and analysis needs. Unlike traditional data warehouses, the preset data management system does not need to pre-process and format the data, but stores all data in its original state for subsequent data analysis and mining. The preset data management system provides a flexible data access method, and various data processing tools and programming languages can be used for data analysis and mining. Enterprises can choose appropriate tools and technologies according to specific needs to better utilize the data in the preset data management system. The preset data management system supports real-time data processing and streaming data analysis, and can quickly respond to the data needs of enterprises. Enterprises can monitor and analyze data in real time and make timely decisions and adjustments.
[0095] Furthermore, when data extraction requests from other systems are received to the preset data management system, it is possible to determine whether the data extraction requests from other systems are compliant based on the data extraction rules in the preset data management system: if so, the target data can be transmitted to other systems through the data bus set up inside the preset data management system; if not, the data extraction requests from other systems can be refused to be processed.
[0096] This embodiment determines whether the associated device is connected to the same Internet of Things access interface according to the associated device data; if so, the target device is connected to the same Internet of Things access interface as the associated device, so that the target device is connected to the Internet of Things; if not, the target associated device with the highest interaction frequency with the target device is selected from the associated devices according to the associated device data, and the target device is connected to the same Internet of Things access interface as the target associated device, so that the target device is connected to the Internet of Things; the IP address of the target device is determined according to the processed device data, and the node information of the available edge nodes is obtained at the same time; the target edge node is selected from the available edge nodes based on the IP address and the node information, and the target device is connected to the Internet of Things based on the target edge node. Compared with the traditional device access method, the above method of this embodiment determines the Internet of Things access interface corresponding to the target device according to the associated device data, thereby maximizing the interaction efficiency between the target device and each associated device; at the same time, the target edge node with the highest data transmission efficiency is selected from the available edge nodes according to the IP address of the target device and the node information of the available edge nodes, thereby further improving the access efficiency of the target device in the Internet of Things.
[0097] In addition, an embodiment of the present application further proposes a storage medium, on which a large-scale device access program is stored. When the large-scale device access program is executed by a processor, the steps of the large-scale device access method described above are implemented.
[0098] Reference Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the large-scale device access apparatus of the present application.
[0099] like Figure 5 As shown, the large-scale device access device proposed in the embodiment of the present application includes:
[0100] The data processing module 501 is used to collect the original device data of the target device and perform data processing on the original device data to obtain processed device data;
[0101] An association determination module 502 is used to determine whether the target device has an associated device in the Internet of Things according to the processed device data, wherein the associated device indicates a device that has a dependency relationship with the target device;
[0102] A first access module 503, configured to obtain associated device data corresponding to the associated device, and access the target device to the Internet of Things based on the associated device data;
[0103] The second access module 504 is configured to, if not, select a target edge node according to the processed device data, and access the target device to the Internet of Things based on the target edge node.
[0104] This embodiment collects the original device data of the target device and processes the original device data to obtain processed device data; determines whether the target device has an associated device in the Internet of Things based on the processed device data, and the associated device represents a device that has a dependency relationship with the target device; if so, obtains the associated device data corresponding to the associated device, and connects the target device to the Internet of Things based on the associated device data; if not, selects a target edge node based on the processed device data, and connects the target device to the Internet of Things based on the target edge node. Compared with the traditional device access method, the above method of this embodiment connects the target device to the Internet of Things based on the associated device data when there is an associated device corresponding to the target device in the Internet of Things, and connects the target device to the Internet of Things based on the target edge node when there is no associated device corresponding to the target device in the Internet of Things, thereby solving the technical problem of a sharp increase in access pressure when the number of Internet of Things devices is large, thereby improving the access efficiency of this embodiment for large-scale devices.
[0105] Based on the first embodiment of the large-scale device access apparatus of the present application, a second embodiment of the large-scale device access apparatus of the present application is proposed.
[0106] In this embodiment, the data processing module 501 is also used to, when receiving an access request from a target device, perform access qualification authentication on the target device according to the access request; if the target device passes the authentication, execute the steps of collecting original device data of the target device, and performing data processing on the original device data to obtain processed device data; if the target device fails the authentication, denying the target device access to the Internet of Things, and issuing an abnormal access alarm to the management personnel.
[0107] Furthermore, the data processing module 501 is also used to collect original device data of the target device and write the original device data into the main database; by reading the original device data in the main database from the database, and performing data cleaning and data screening on the original device data, the processed device data is obtained.
[0108] Furthermore, the association judgment module 502 is also used to determine the historical topology data and historical communication data of the target device based on the processed device data; if the historical topology data contains the topological relationship between the target device and other devices in the Internet of Things, or the historical communication data contains the communication record between the target device and other devices in the Internet of Things, then it is determined that the target device has an associated device in the Internet of Things; if the historical topology data does not contain the topological relationship between the target device and other devices in the Internet of Things, and the historical communication data does not contain the communication record between the target device and other devices in the Internet of Things, then it is determined that the target device has no associated device in the Internet of Things.
[0109] Furthermore, the first access module 503 is also used to determine whether the associated devices are connected to the same Internet of Things network access interface based on the associated device data; if so, the target device is connected to the same Internet of Things network access interface as the associated device, so that the target device is connected to the Internet of Things; if not, the target associated device with the highest interaction frequency with the target device is selected from the associated devices based on the associated device data, and the target device is connected to the same Internet of Things network access interface as the target associated device, so that the target device is connected to the Internet of Things.
[0110] Furthermore, the second access module 504 is also used to determine the IP address of the target device based on the processed device data, and obtain the node information of the available edge nodes; select the target edge node from the available edge nodes based on the IP address and the node information, and connect the target device to the Internet of Things based on the target edge node.
[0111] Other embodiments or specific implementations of the large-scale device access device of the present application can refer to the above-mentioned method embodiments and will not be repeated here.
[0112] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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 system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0113] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0114] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0115] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A large-scale device access method, characterized in that: The method comprises the following steps: Collecting original device data of the target device, and performing data processing on the original device data to obtain processed device data; Determine whether the target device has an associated device in the Internet of Things according to the processed device data, wherein the associated device represents a device that has a dependency relationship with the target device; If so, obtaining associated device data corresponding to the associated device, and connecting the target device to the Internet of Things based on the associated device data; If not, a target edge node is selected according to the processed device data, and the target device is connected to the Internet of Things based on the target edge node.
2. The large-scale device access method according to claim 1, characterized in that: Before the step of collecting the original device data of the target device and performing data processing on the original device data to obtain the processed device data, the step further includes: When receiving an access request from a target device, performing access qualification authentication on the target device according to the access request; If the target device passes the authentication, the steps of collecting original device data of the target device and performing data processing on the original device data to obtain processed device data are executed; If the target device fails to pass the authentication, the target device is denied access to the Internet of Things, and an abnormal access alarm is issued to the management personnel.
3. The large-scale device access method according to claim 1, characterized in that: The step of collecting the original device data of the target device and performing data processing on the original device data to obtain processed device data includes: Collecting original device data of the target device and writing the original device data into the main database; The processed device data is obtained by reading the original device data in the main database from a database and performing data cleaning and data screening on the original device data.
4. The large-scale device access method according to claim 1, characterized in that: The step of determining whether the target device has an associated device in the Internet of Things according to the processed device data includes: Determining historical topology data and historical communication data of the target device according to the processed device data; If the historical topology data contains the topological relationship between the target device and other devices in the Internet of Things, or the historical communication data contains the communication record between the target device and other devices in the Internet of Things, it is determined that the target device has an associated device in the Internet of Things; If the historical topology data does not include the topological relationship between the target device and other devices in the Internet of Things, and the historical communication data does not include the communication record between the target device and other devices in the Internet of Things, it is determined that the target device has no associated device in the Internet of Things.
5. The large-scale device access method according to claim 1, characterized in that: The step of connecting the target device to the Internet of Things based on the associated device data includes: Determine whether the associated devices are connected to the same Internet of Things network access interface according to the associated device data; If yes, connecting the target device to the same Internet of Things access interface as the associated device, so that the target device is connected to the Internet of Things; If not, a target associated device with the highest interaction frequency with the target device is selected from the associated devices according to the associated device data, and the target device is connected to the same Internet of Things access interface as the target associated device, so that the target device is connected to the Internet of Things.
6. The large-scale device access method according to claim 1, characterized in that: The step of selecting a target edge node according to the processed device data, and connecting the target device to the Internet of Things based on the target edge node includes: Determine the IP address of the target device according to the processed device data, and simultaneously obtain node information of available edge nodes; A target edge node is selected from the available edge nodes based on the IP address and the node information, and the target device is connected to the Internet of Things based on the target edge node.
7. A large-scale equipment access device, characterized in that: The large-scale equipment access device comprises: A data processing module is used to collect original device data of the target device and perform data processing on the original device data to obtain processed device data; An association determination module, used to determine whether the target device has an associated device in the Internet of Things according to the processed device data, wherein the associated device indicates a device that has a dependency relationship with the target device; A first access module, configured to obtain associated device data corresponding to the associated device, and access the target device to the Internet of Things based on the associated device data; The second access module is used to select a target edge node according to the processed device data if no, and access the target device to the Internet of Things based on the target edge node.
8. A large-scale device access device, characterized in that: The device comprises: a memory, a processor, and a large-scale device access program stored in the memory and executable on the processor, wherein the large-scale device access program is configured to implement the steps of the large-scale device access method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, on which a large-scale device access program is stored. When the large-scale device access program is executed by a processor, the steps of the large-scale device access method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a large-scale device access program, and when the large-scale device access program is executed by a processor, the steps of the large-scale device access method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and device for accessing Internet of things equipment into Internet of things platform and server
CN109327551A
Control method, device and equipment of Internet of Things equipment and storage medium
CN111432000A
Data processing method and electronic equipment
CN111565218A
Internet of Things inter-network equipment communication method and system and edge node
CN111885157A
Internet-of-Things equipment access method and system
CN113630366A