Massive device access method, apparatus, device, and storage medium

By identifying associated devices and edge nodes of the target device in the Internet of Things (IoT), the access path for large-scale devices is optimized, the access pressure problem is solved, and the access efficiency and interaction efficiency are improved.

CN119728733BActive Publication Date: 2026-02-27GUANGZHOU YIPIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411790937.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2026-02-27
Estimated Expiration
2044-12-06

AI Technical Summary

Technical Problem

In scenarios involving large-scale IoT device access, low access efficiency leads to a sharp increase in processing pressure, becoming a key factor restricting the promotion of IoT applications.

Method used

By collecting raw device data from the target device, the data is processed to determine whether there are associated devices. If they exist, the device is connected to the Internet of Things based on the associated device data. If they do not exist, the target edge node is selected for access, including access qualification authentication, data cleaning, and selection of the best access path.

Benefits of technology

It improved the efficiency of large-scale device access, reduced the burden on the main database, achieved load balancing, and maximized the efficiency of interaction between devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728733B_ABST
    Figure CN119728733B_ABST
Patent Text Reader

Abstract

The application discloses a large-scale device access method and device, equipment and storage medium, and relates to the technical field of Internet of Things. The method comprises the following steps: collecting original device data of a target device, and performing data processing on the original device data to obtain processed device data; determining whether there is an associated device of the target device in the Internet of Things according to the processed device data, wherein the associated device represents a device having a dependent relationship with the target device; if yes, obtaining associated device data corresponding to the associated device, and accessing the target device into the Internet of Things based on the associated device data; and if no, selecting a target edge node according to the processed device data, and accessing the target device into the Internet of Things based on the target edge node. Compared with a traditional device access method, the above-mentioned method of the application solves the technical problem that the access pressure increases sharply when the number of Internet of Things devices is large, and thus the access efficiency of the application for large-scale devices is improved.
Need to check novelty before this filing date? Find Prior Art

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 and device, equipment and storage medium. BACKGROUND

[0002] With the rapid development of Internet of Things (IoT) technology, more and more Internet of Things devices are deployed in various fields, such as smart cities, smart homes, industrial Internet of Things, etc. These Internet of Things devices realize the deep integration of the physical world and the digital world through sensor, actuator, wireless communication and other technical means, and bring great convenience to people's life and work.

[0003] However, when a large number of Internet of Things devices access the Internet of Things, the access efficiency problem gradually emerges, becoming one of the key factors restricting the promotion of Internet of Things applications. In particular, in the Internet of Things system, device access usually involves device authentication, connection establishment, data exchange and other links. When the number of Internet of Things devices is large, the processing pressure of these links will increase sharply, resulting in low access efficiency. Therefore, the industry urgently needs a method to improve access efficiency when facing large-scale Internet of Things device access scenarios. SUMMARY

[0004] The main purpose of the present application is to provide a large-scale device access method, device, equipment and storage medium, which aims to solve the technical problem of low access efficiency of the prior art when facing large-scale Internet of Things device access scenarios.

[0005] To achieve the above purpose, the present application provides a large-scale device access method, which comprises the following steps:

[0006] Collecting original device data of a target device, and performing data processing on the original device data to obtain processed device data;

[0007] According to the processed device data, it is determined whether there is an associated device in the Internet of Things, the associated device indicating a device having a dependent relationship with the target device;

[0008] If yes, the associated device data corresponding to the associated device is obtained, and the target device is accessed into 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 accessed into the Internet of Things based on the target edge node.

[0010] In an embodiment, before the step of collecting original device data of a target device and performing data processing on the original device data to obtain processed device data, the method further comprises:

[0011] When an access request is received from the target device, the target device is authenticated for access eligibility based on the access request;

[0012] If the target device passes authentication, the steps are to collect the original device data of the target device and process the original device data to obtain the processed device data.

[0013] If the target device fails authentication, its access to the Internet of Things will be denied, and an abnormal access alert will be sent to the administrator.

[0014] In one embodiment, the step of collecting raw device data from the target device and processing the raw device data to obtain processed device data includes:

[0015] Collect raw device data from the target device and write the raw device data into the main database;

[0016] Processed device data is obtained by reading the original device data from the main database and performing data cleaning and filtering on the original device data.

[0017] In one embodiment, the step of determining whether the target device has associated devices in the Internet of Things based on the processed device data includes:

[0018] Based on the processed device data, determine the historical topology data and historical communication data of the target device;

[0019] If the historical topology data contains the topology relationship between the target device and other devices in the Internet of Things, or if the historical communication data contains the communication records between the target device and other devices in the Internet of Things, then it is determined that the target device has associated devices in the Internet of Things.

[0020] If the historical topology data does not contain the topology relationship between the target device and other devices in the Internet of Things (IoT), and the historical communication data does not contain the communication records between the target device and other devices in the IoT, then it is determined that the target device has no associated devices in the IoT.

[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 IoT network access interface based on the associated device data;

[0023] If yes, the target device is connected to the same Internet of Things network interface as the associated device, so that the target device accesses the Internet of Things network.

[0024] If no, 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 network interface as the target associated device, so that the target device accesses the Internet of Things network.

[0025] In an 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 network based on the target edge node comprises:

[0026] determining the IP address of the target device according to the processed device data, and obtaining node information of available edge nodes;

[0027] 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 network based on the target edge node.

[0028] In addition, to achieve the above-mentioned purpose, the present application also provides a large-scale device access device, which comprises:

[0029] a data processing module, configured to collect original device data of a target device, and process the original device data to obtain processed device data;

[0030] an associated judgment module, configured to determine whether there is an associated device of the target device in an Internet of Things network according to the processed device data, the associated device representing a device having a dependency relationship with the target device;

[0031] a first access module, configured to, if yes, obtain associated device data corresponding to the associated device, and connect the target device to the Internet of Things network based on the associated device data;

[0032] a second access module, configured to, if no, select a target edge node according to the processed device data, and connect the target device to the Internet of Things network based on the target edge node.

[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a large-scale device access device, which comprises: a memory, a processor, and a large-scale device access program stored in the memory and executable on the processor, the large-scale device access program being configured to implement the steps of the large-scale device access method as described above.

[0034] In addition, to achieve the above object, the present application also provides a storage medium, which is a computer readable storage medium, and a large-scale device access program is stored on the storage medium, and the large-scale device access program realizes the steps of the large-scale device access method when executed by a processor.

[0035] In addition, to achieve the above object, the present application also provides a computer program product, which comprises a large-scale device access program, and the large-scale device access program realizes the steps of the large-scale device access method when executed by a processor.

[0036] The present application collects original device data of a target device, processes the original device data to obtain processed device data, determines whether there is an associated device in the Internet of Things according to the processed device data, the associated device representing a device having a dependent relationship with the target device, acquires associated device data corresponding to the associated device if there is the associated device, and accesses the target device into the Internet of Things based on the associated device data, and selects a target edge node according to the processed device data if there is no associated device, and accesses the target device into the Internet of Things based on the target edge node. Compared with the traditional device access method, the present application accesses the target device into 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 accesses the target device into 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 sharp increase in access pressure when the number of Internet of Things devices is large, and improving the access efficiency of the present application for large-scale devices. BRIEF DESCRIPTION OF DRAWINGS

[0037] Figure 1 A structural schematic diagram of a large-scale device access device for a hardware running environment involved in an embodiment of the present application;

[0038] Figure 2 A flowchart of a first embodiment of a large-scale device access method of the present application;

[0039] Figure 3 A flowchart of a second embodiment of a large-scale device access method of the present application;

[0040] Figure 4 A flowchart of a third embodiment of a large-scale device access method of the present application;

[0041] Figure 5 A structural block diagram of a first embodiment of a large-scale device access device of the present application.

[0042] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0043] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of this application.

[0044] Reference Figure 1 , Figure 1 This is a schematic diagram of the large-scale device access device structure of the hardware operating environment involved in the embodiments of this 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. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.

[0046] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on large-scale device access devices and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0047] like Figure 1 As shown, the memory 1005, which serves 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 a network server, and the user interface 1003 is mainly used for data interaction with a user. The processor 1001 and the memory 1005 in the large-scale device access device can be arranged in the large-scale device access device, and the large-scale device access program stored in the memory 1005 is called by the processor 1001 to execute the large-scale device access method provided in the embodiments of the present application.

[0049] The embodiments of the present application provide a large-scale device access method, which refers to Figure 2 , Figure 2 The flowchart of the first embodiment of the large-scale device access method of the present application is shown.

[0050] In this embodiment, the large-scale device access method comprises the following steps:

[0051] Step S10: Collecting original device data of a 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 the present application 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 large-scale device access device described above. The embodiments of the present application and the following embodiments will be described below with the large-scale device access device as an example.

[0053] It can be understood that the target device described above can be a device that connects various physical devices to the Internet of Things through network connection and communication technology, such as a communication device (such as an Internet of Things gateway, a router, a data collector, etc.), an industrial automation device (such as an industrial robot, a controller arranged on an automatic production line), a sensor device (such as a light sensor, a pressure sensor, etc.), etc., which is not limited in the present embodiment.

[0054] It should be understood that the original device data, i.e., the original data corresponding to the target device, such as running data, state data, topology data, communication data, etc.

[0055] In a specific implementation, since the original device data has not been processed, it contains more or less some data that is not needed to be applied in the large-scale device access method mentioned in the present embodiment. Therefore, the original device data can be processed to obtain processed device data, and the processed device data is the data that needs to be applied in the present embodiment.

[0056] Step S20: determining whether there is an associated device of the target device in the Internet of Things according to the processed device data, the associated device indicating a device having a dependency relationship with the target device.

[0057] It should be noted that the above dependency relationship can include device connection dependency, data processing dependency, and function coordination dependency. Specifically, the target device and other Internet of Things devices can establish a connection 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, Internet of Things devices are usually equipped with hardware resources such as processors and memories for processing and analyzing collected data. However, the data processing capacity of a single device may be limited, and therefore 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 other devices are responsible for data preprocessing, analysis, and storage. In addition, there is often a functional coordination dependency between Internet of Things devices. For example, in a smart home system, a smart bulb needs to rely on devices such as smart switches or smart speakers to control the switch and brightness.

[0058] It should be understood that based on the above discussion, whether the target device has a device connection dependency, a data processing dependency, or a function coordination dependency in the Internet of Things can be determined according to the processed device data, thereby determining whether the target device has an associated device in the Internet of Things.

[0059] Step S30: If yes, 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.

[0060] It should be noted that the above associated device data can include the Internet of Things onboarding protocol, the Internet of Things onboarding interface, and the Internet of Things onboarding request in the above associated device.

[0061] In a specific implementation, the access mode corresponding to the target device can be determined according to the associated device data, and then the target device is connected to the Internet of Things based on the access mode.

[0062] Step S40: If no, 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 target edge node can be an edge-side node having edge-side real-time data analysis, local data storage, and real-time network connection capabilities, such as an edge gateway, an edge controller, an edge server, etc., which are not limited by the present embodiment.

[0064] In a specific implementation, the matching degrees between each edge node and the target device can be determined according to the processed device data, and then the edge node with the highest matching degree is selected as the target edge node, so that the target device is accessed into the Internet of Things based on the target edge node.

[0065] The embodiment collects the original device data of the target device, and processes the original device data to obtain processed device data. It is determined whether there is an associated device in the Internet of Things according to the processed device data. The associated device represents a device that has a dependency relationship with the target device. If yes, the associated device data corresponding to the associated device is obtained, and the target device is accessed into the Internet of Things based on the associated device data. If no, a target edge node is selected according to the processed device data, and the target device is accessed into the Internet of Things based on the target edge node. Compared with the traditional device access method, the above method of the embodiment accesses the target device into 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 accesses the target device into 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. Thus, the technical problem of sharp increase in access pressure when the number of Internet of Things devices is large is solved, and the access efficiency of the embodiment for large-scale devices is improved.

[0066] Reference Figure 3 , Figure 3 is a flowchart of a second embodiment of the large-scale device access method of the present application.

[0067] In a feasible implementation, before the step S10, the following steps can also be included:

[0068] Step S1: When receiving the access request issued by the target device, performing access qualification authentication on the target device according to the access request.

[0069] Step S2: If the target device passes the authentication, performing the step of collecting the original device data of the target device and processing the original device data to obtain processed device data.

[0070] Step S3: If the target device fails the authentication, rejecting the target device to access the Internet of Things, and issuing an abnormal access alarm to the administrator.

[0071] In a specific implementation, when receiving an access request issued by a target device, it can be determined that the target device passes authentication if the device serial number of the target device matches a known device list, the operating system version of the target device meets access requirements, and the user identity and permission satisfy access conditions according to the access request; otherwise, it can be determined that the target device fails authentication.

[0072] In a possible implementation, the step S10 can 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: Obtaining processed device data by reading the original device data in the master database from a database, and performing data cleaning and data screening on the original device data.

[0075] It should be noted that the master database is a database responsible for processing all write operations (such as insertion, update, deletion, etc.) and part or most read operations, and it usually contains the latest and most complete original device data; the slave database is a copy of the master database, responsible for processing read operations and providing data redundancy and fault tolerance, and it replicates data from the master database and maintains data consistency with the master database.

[0076] In a possible implementation, the step S20 can include:

[0077] Step S201: Determining historical topology data and historical communication data of the target device according to the processed device data.

[0078] It should be noted that the historical topology data represents the connection state and layout of the target device in the network, which records the connection relationship between devices, the change of network structure, and the physical or logical location of the device; the historical communication data represents the communication behavior and communication content between the target device, which 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 topology 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 associated devices in the Internet of Things.

[0080] Step S203: If the historical topology data does not contain the topology 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 does not have associated devices in the Internet of Things.

[0081] It should be understood that if the historical topology data does not contain the topology 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 means that the target device has not established a dependency relationship with other devices before the current time, and therefore it can be determined that the target device does not have associated devices in the Internet of Things.

[0082] The embodiment determines whether the target device has associated devices in the Internet of Things by performing access qualification authentication on the target device according to an access request sent by the target device when the access request is received; if the target device passes the authentication, 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, rejecting the target device to access the Internet of Things, and sending an abnormal access alarm to the administrator; collecting original device data of the target device, and writing the original device data into a master database; reading the original device data in the master database from a slave database, and performing data cleaning and data screening on the original device data to obtain processed device data; 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 topology 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 associated devices in the Internet of Things; if the historical topology data does not contain the topology 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 does not have associated devices in the Internet of Things. Compared with the traditional device access method, the above-mentioned method of the embodiment relieves the burden of the master database by writing the original device data of the target device into the master database and reading the original device data in the master database from the slave database, thereby achieving load balancing; at the same time, the embodiment also determines the topology relationship and the communication record between the target device and other devices in the Internet of Things according to the historical topology data and the historical communication data of the target device, thereby achieving more accurate determination of whether the target device has associated devices in the Internet of Things.

[0083] Reference Figure 4 , Figure 4 FIG. 3 is a flowchart of a third embodiment of the large-scale device access method of the present application.

[0084] In an implementation, the step S30 can include:

[0085] Step S301: judging whether the associated devices are connected to the same Internet of Things (IoT) interface according to the associated device data.

[0086] Step S302: if yes, connecting the target device to the same IoT interface as the associated devices so as to connect the target device to the IoT.

[0087] In a specific implementation, if all the associated devices are connected to the same IoT interface, in order to maximize the interaction efficiency between the target device and each associated device, the target device and all the associated devices can be connected to the same IoT interface.

[0088] Step S303: if no, selecting a target associated device with the highest interaction frequency with the target device from the associated devices according to the associated device data, and connecting the target device to the same IoT interface as the target associated device so as to connect the target device to the IoT.

[0089] In an implementation, the step S40 can include:

[0090] Step S401: determining the IP address of the target device according to the processed device data, and obtaining 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 IoT 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 according to the IP address and the node information, and then the available edge node with the highest data transmission efficiency is determined as the target edge node, so as to connect the target device to the IoT based on the target edge node.

[0093] In addition, the method described above can be compatible with various device protocols of IoT devices, such as Wi-Fi, Ethernet, NFC, Zigbee, Bluetooth, GPRS and other protocols, which are not limited in the present embodiment. Based on these device protocols, the present embodiment can clean or process other data of massive data for future analysis and decision-making.

[0094] In another possible embodiment, during the access process of the large-scale device, all data (including but not limited to the above-mentioned raw 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 data storage and processing system designed to store and process various types and formats of data, 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., and can handle massive amounts of data and provide high reliability and high scalability. Enterprises can expand storage and computing resources at any time according to needs to adapt to the growing amount of data and analysis needs. Unlike traditional data warehouses, the preset data management system does not require data preprocessing and formatting, but stores all data in its original state for subsequent data analysis and mining. The preset data management system provides flexible data access methods and can use various data processing tools and programming languages for data analysis and mining. Enterprises can choose appropriate tools and technologies according to specific needs to better utilize 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 enterprise data needs. Enterprises can monitor and analyze data in real time and make timely decisions and adjustments.

[0095] Further, when receiving a data extraction request of other systems to the preset data management system, it can be judged according to the data extraction rules in the preset data management system whether the data extraction request of other systems is compliant: if yes, the target data can be transmitted to other systems through the data bus set in the preset data management system; if not, the data extraction request of other systems is rejected.

[0096] The embodiment determines whether the associated device accesses the same Internet of Things access interface according to the associated device data; if yes, the target device is connected to the same Internet of Things access interface as the associated device, so that the target device accesses 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 accesses 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 node is obtained; 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-mentioned method of the embodiment determines the Internet of Things access interface corresponding to the target device according to the associated device data, so as to maximize 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 node, so as to further improve the access efficiency of the target device in the Internet of Things.

[0097] In addition, the embodiment of the application further provides a storage medium, wherein the storage medium stores a large-scale device access program, and the large-scale device access program is executed by a processor to realize the steps of the large-scale device access method as described above.

[0098] Reference Figure 5 , Figure 5 is a structural block diagram of the first embodiment of the large-scale device access apparatus of the application.

[0099] As Figure 5 shown, the large-scale device access apparatus provided by the embodiment of the application comprises:

[0100] The data processing module 501 is configured to collect original device data of a target device, and perform data processing on the original device data to obtain processed device data.

[0101] The association determining module 502 is configured to determine whether there is an associated device of the target device in an Internet of Things according to the processed device data, wherein the associated device represents a device having a dependency relationship with the target device.

[0102] The first access module 503 is configured to, if yes, acquire associated device data corresponding to the associated device, and connect the target device to the Internet of Things based on the associated device data.

[0103] The second access module 504 is configured to, if no, select a target edge node according to the processed device data, and access the target device into the Internet of Things based on the target edge node.

[0104] In the embodiment, the original device data of the target device is collected, and the original device data is processed to obtain processed device data. It is determined whether there is an associated device of the target device in the Internet of Things according to the processed device data. The associated device represents a device having a dependent relationship with the target device. If yes, the associated device data corresponding to the associated device is obtained, and the target device is accessed into the Internet of Things based on the associated device data. If no, the target edge node is selected according to the processed device data, and the target device is accessed into the Internet of Things based on the target edge node. Compared with the traditional device access method, the above method of the embodiment accesses the target device into 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 accesses the target device into 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. Thus, the technical problem of sharp increase of access pressure when the number of devices in the Internet of Things is large is solved, and the access efficiency of the embodiment for large-scale devices is improved.

[0105] Based on the first embodiment of the large-scale device access apparatus, a second embodiment of the large-scale device access apparatus is provided.

[0106] In the embodiment, the data processing module 501 is further configured to, when receiving an access request issued by a target device, perform 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 processing the original device data to obtain processed device data are performed. If the target device fails the authentication, the target device is refused to access the Internet of Things, and an abnormal access alarm is sent to a manager.

[0107] Further, the data processing module 501 is further configured to collect original device data of a target device, and write the original device data into a master database. The original device data in the master database is read from a database, and the original device data is data-cleaned and data-screened to obtain processed device data.

[0108] Further, the association judging module 502 is further configured to determine historical topology data and historical communication data of the target device according to the processed device data; if the historical topology data contains a topology relationship between the target device and other devices in the Internet of Things, or the historical communication data contains a 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 a topology relationship between the target device and other devices in the Internet of Things, and the historical communication data does not contain a communication record between the target device and other devices in the Internet of Things, it is determined that the target device does not have an associated device in the Internet of Things.

[0109] Further, the first access module 503 is further configured to determine whether the associated device accesses the same Internet of Things network access interface according to the associated device data; if yes, the target device accesses the same Internet of Things network access interface as the associated device, so that the target device accesses the Internet of Things; if no, 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 accesses the same Internet of Things network access interface as the target associated device, so that the target device accesses the Internet of Things.

[0110] Further, the second access module 504 is further configured to determine an IP address of the target device according to the processed device data, and acquire 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 accessed into the Internet of Things based on the target edge node.

[0111] Other embodiments or specific implementations of the large-scale device access apparatus can refer to the above-mentioned method embodiments, and details are not described here.

[0112] It should be noted that in this document, the terms "comprising", "containing" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or system. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of other identical elements in the process, method, article or system including the element.

[0113] The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.

[0114] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, can also be through hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application essentially or say the part of the prior art contribution can be embodied in the form of software products, the computer software product is stored in a storage medium (such as read-only memory / random access memory, magnetic disk, optical disc), including a number of instructions to make a terminal device (may be a mobile phone, computer, server, or network equipment, etc.) executes the method described in various embodiments of the present application.

[0115] The above is only the preferred embodiment of the present application, not therefore limit the patent scope of the present application, any equivalent structure or equivalent process transformation 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 method for accessing a large-scale device, characterized by, The method comprises the following steps: Collecting original device data of a target device, and performing data processing on the original device data to obtain processed device data; Determining whether there is an associated device of the target device in an Internet of Things according to the processed device data, the associated device representing a device having a dependency relationship with the target device; If yes, 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 no, 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; The step of determining whether there is an associated device of the target device in an Internet of Things according to the processed device data comprises: Determining historical topology data and historical communication data of the target device according to the processed device data; If the historical topology data contains a topology relationship between the target device and other devices in the Internet of Things, or the historical communication data contains a 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 a topology relationship between the target device and other devices in the Internet of Things, and the historical communication data does not contain a communication record between the target device and other devices in the Internet of Things, it is determined that the target device does not have an associated device in the Internet of Things.

2. The method of claim 1, wherein, Before the step of collecting original device data of a target device, and performing data processing on the original device data to obtain processed device data, the method further comprises: When receiving an access request issued by a target device, performing access qualification authentication on the target device according to the access request; If the target device passes the authentication, performing the step of collecting original device data of a target device, and performing data processing on the original device data to obtain processed device data; If the target device fails the authentication, rejecting the target device to access the Internet of Things, and issuing an abnormal access alarm to a manager.

3. The method of claim 1, wherein the large-scale device access method is a method of accessing a large-scale device by using a plurality of devices. The step of collecting original device data of a target device, and performing data processing on the original device data to obtain processed device data comprises: Collecting original device data of a target device, and writing the original device data into a master database; Reading the original device data in the master database from a database, and performing data cleaning and data screening on the original device data to obtain processed device data.

4. The method of claim 1, wherein the large-scale device access method is characterized by, The step of connecting the target device to the Internet of Things based on the associated device data comprises: Determining whether the associated device accesses a same Internet of Things 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 accesses 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 (IoT) network interface as the target associated device, so that the target device accesses the IoT network.

5. The method of claim 1, wherein the large-scale device access method is characterized by, The step of selecting a target edge node according to the processed device data and connecting the target device to the IoT network based on the target edge node comprises: determining an IP address of the target device according to the processed device data, and obtaining node information of available edge nodes; 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 IoT network based on the target edge node.

6. A large-scale device access apparatus characterized by comprising: The large-scale device access apparatus comprises: a data processing module configured to collect original device data of a target device and process the original device data to obtain processed device data; an associated judgment module configured to determine whether there is an associated device of the target device in an IoT network according to the processed device data, the associated device representing a device having a dependency relationship with the target device; a first access module configured to, if there is an associated device, obtain associated device data corresponding to the associated device, and connect the target device to the IoT network based on the associated device data; a second access module configured to, if there is no associated device, select a target edge node according to the processed device data, and connect the target device to the IoT network based on the target edge node; The associated judgment module is further configured to: determine historical topology data and historical communication data of the target device according to the processed device data; if the historical topology data contains a topology relationship between the target device and other devices in the IoT network, or the historical communication data contains a communication record between the target device and other devices in the IoT network, it is determined that the target device has an associated device in the IoT network; if the historical topology data does not contain a topology relationship between the target device and other devices in the IoT network, and the historical communication data does not contain a communication record between the target device and other devices in the IoT network, it is determined that the target device does not have an associated device in the IoT network.

7. A mass device access device, comprising: The device comprises a memory, a processor, and a large-scale device access program stored on the memory and executable on the processor, the large-scale device access program being configured to implement the steps of the large-scale device access method according to any one of claims 1 to 5.

8. A storage medium, characterized by The storage medium is a computer-readable storage medium, and the storage medium stores a large-scale device access program, which is executed by a processor to implement the steps of the large-scale device access method according to any one of claims 1 to 5.

9. A computer program product, characterised in that, The computer program product comprises a large-scale device access program, which is executed by a processor to implement the steps of the large-scale device access method according to any one of claims 1 to 5.

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