Equipment reverse integration method and device for edge computing and Internet of Things

Through dynamic scanning strategies and precondition judgment, self-discovery and reverse integration of devices are realized, which solves the problem of time-consuming, labor-intensive and poor accuracy when connecting devices to the Internet of Things, and improves access efficiency and accuracy.

CN118590518AInactive Publication Date: 2024-09-03GUANGDONG SHIDELANG INVESTMENT HLDG CO LTD

Patent Information

Application Number
CN202410820510.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, equipment access to the Internet of Things requires manual configuration and manual integration, which is time-consuming, labor-intensive, error-prone, and difficult to ensure efficient and accurate access of equipment.

Method used

Provides a device reverse integration method and device for edge computing and the Internet of Things. It scans new devices within a preset address range through a dynamic scanning strategy, obtains device information and determines whether the prerequisites are met. If so, it synchronizes to Register on the IoT platform, and if not, perform remark processing to achieve self-discovery and reverse integration of the device.

Benefits of technology

It achieves efficient and accurate self-discovery and reverse integration of devices, avoids manual intervention, dynamically adjusts scanning frequency according to network stability, improves access efficiency and accuracy, and ensures timely registration and access of devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590518A
    Figure CN118590518A
Patent Text Reader

Abstract

The invention discloses an equipment reverse integration method and device for edge computing and the Internet of Things, and relates to the technical field of the Internet of Things. According to the main technical scheme, the method comprises the steps that whether newly-added equipment exists in electrified equipment or not is scanned within a preset address range according to a dynamic scanning strategy; when the newly-added equipment is detected, equipment information of the newly-added equipment is obtained, whether the newly-added equipment meets a precondition or not is judged according to the equipment information, and the precondition is used for representing that the equipment information is matched with a corresponding expected equipment plan in the preset point location file; if yes, synchronizing the equipment information to a server of the Internet of Things platform, and enabling the server of the Internet of Things platform to register the newly-added equipment according to the equipment information so as to access the newly-added equipment; and if not, carrying out remark processing on the newly-added equipment, and generating remark processing prompt information corresponding to the newly-added equipment. The main purpose is to efficiently and accurately self-discover and reversely integrate equipment. The method is used for reverse integration of equipment.
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 method and apparatus for reverse integration of edge computing and Internet of Things devices. Background Art

[0002] With the rapid development of the Internet of Things (IoT) and edge computing technology, more and more devices are connected to the IoT to achieve intelligent management and automated control. These devices include various sensors, controllers, and actuators, which are widely used in smart homes, industrial automation, smart cities, and other fields. If a device is to be used in the IoT, it must first be registered and connected to the IoT platform before other operations can be performed.

[0003] At present, traditional device access usually requires manual configuration and manual integration, especially for non-intelligent devices. However, this method is not only time-consuming and labor-intensive, but also prone to errors, and it is difficult to ensure efficient and accurate device access. Therefore, it is urgent to develop a device reverse integration method for edge computing and the Internet of Things. Summary of the invention

[0004] In view of the above problems, the present application provides a method and apparatus for reverse integration of devices for edge computing and the Internet of Things, the main purpose of which is to self-discover and reverse integrate devices efficiently and accurately.

[0005] In order to solve the above technical problems, this application proposes the following solutions:

[0006] In a first aspect, the present application provides a device reverse integration method for edge computing and the Internet of Things, which is applied to an edge computing central control host, and the method includes:

[0007] Scan the powered-on devices within the preset address range for new devices according to the dynamic scanning strategy, wherein the dynamic scanning strategy is used to characterize the strategy of dynamically adjusting the scanning frequency according to the network stability, and the preset address range is the address segment expected to be occupied by various types of devices defined in the project protocol library file;

[0008] When the newly added device is detected, the device information of the newly added device is obtained, and whether the newly added device meets the precondition is determined according to the device information, wherein the precondition is used to indicate that the device information matches the expected device plan corresponding to the preset point file;

[0009] If yes, synchronizing the device information to a server of the IoT platform, so that the server of the IoT platform registers the newly added device according to the device information to access the newly added device;

[0010] If not, a remark process is performed on the newly added device, and remark process prompt information corresponding to the newly added device is generated.

[0011] In a second aspect, the present application provides a device for reverse integration of edge computing and the Internet of Things, which is applied to an edge computing central control host, and the device includes:

[0012] A dynamic scanning unit, used to scan whether there is a new device in the powered-on devices within a preset address range according to a dynamic scanning strategy, wherein the dynamic scanning strategy is used to characterize a strategy for dynamically adjusting the scanning frequency according to the network stability, and the preset address range is the address segment expected to be occupied by various types of devices defined in the project protocol library file;

[0013] A pre-determination unit, configured to obtain device information of the newly added device when the newly added device is detected, and determine whether the newly added device satisfies a pre-condition according to the device information, wherein the pre-condition is used to indicate that the device information matches the expected device plan corresponding to the preset point file;

[0014] A registration access unit, configured to synchronize the device information to a server of the IoT platform, so that the server of the IoT platform registers the newly added device according to the device information to access the newly added device;

[0015] The remark prompting unit is used to, if not, perform remark processing on the newly added device and generate remark processing prompt information corresponding to the newly added device.

[0016] In order to achieve the above-mentioned purpose, according to the third aspect of the present application, a storage medium is provided, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the device reverse integration method for edge computing and the Internet of Things according to the above-mentioned first aspect.

[0017] In order to achieve the above-mentioned purpose, according to the fourth aspect of the present application, a processor is provided, wherein the processor is used to run a program, wherein when the program is running, the device reverse integration method for edge computing and the Internet of Things of the above-mentioned first aspect is executed.

[0018] By means of the above technical scheme, the present application provides a device reverse integration method and apparatus for edge computing and the Internet of Things. When reverse integration of the device is required, the powered-on devices are scanned within a preset address range according to a dynamic scanning strategy to determine whether there are new devices. The dynamic scanning strategy is used to characterize a strategy for dynamically adjusting the scanning frequency according to the degree of network stability. The preset address range is the address segment expected to be occupied by various types of devices defined in the project protocol library file. When a new device is detected, the device information of the new device is obtained, and whether the new device meets the preconditions is determined based on the device information. The preconditions are used to characterize that the device information matches the expected device planning corresponding to the preset point file. If so, the device information is synchronized to the server of the Internet of Things platform, so that the server of the Internet of Things platform registers the new device according to the device information to access the new device. If not, the new device is annotated and a note processing prompt message corresponding to the new device is generated. Through the technical solution provided by this application, a dynamic scanning strategy can be used to find new powered devices within a preset address range without manual intervention, so that the device access process can be self-discovered, and the scanning frequency can be flexibly adjusted according to the actual stability of the network, which not only ensures the timely self-discovery of new devices, but also avoids excessive consumption of resources when the network is congested. Once a new device is detected, the device information of the new device can be checked according to the preconditions. The device information that meets the conditions will be automatically synchronized to the IoT platform server to realize the registration and access of the new device, while the device information that does not meet the conditions will be annotated and generate corresponding prompt information, actively prompting relevant personnel to handle it, effectively improving the efficiency and accuracy of device self-discovery and reverse integration, and realizing efficient and accurate self-discovery and reverse integration of devices.

[0019] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0021] Figure 1 A flow chart of a device reverse integration method for edge computing and the Internet of Things provided by an embodiment of the present application is shown;

[0022] Figure 2Another flow chart of a method for reverse integration of edge computing and the Internet of Things provided by an embodiment of the present application is shown;

[0023] Figure 3 A block diagram of a device reverse integration apparatus for edge computing and the Internet of Things provided by an embodiment of the present application is shown;

[0024] Figure 4 A block diagram of another device reverse integration apparatus for edge computing and the Internet of Things provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0025] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0026] The present application embodiment provides a device reverse integration method for edge computing and the Internet of Things, through which the device can be self-discovered and reversely integrated efficiently and accurately. The specific execution steps are as follows: Figure 1 As shown, the method is applied to the edge computing central control host and includes:

[0027] 101. Scan the powered-on devices within a preset address range to see whether there is a newly added device according to the dynamic scanning strategy.

[0028] It should be noted that the execution subject of this embodiment is the edge computing central control host. In this step, the dynamic scanning strategy is used to characterize the strategy of dynamically adjusting the scanning frequency according to the network stability. Among them, the network stability can be determined by factors such as network load, network delay or device activity. Specifically, the range corresponding to different levels can be pre-set. The above factors are quantified and matched with the range corresponding to the different levels to obtain the network stability, such as analyzing the network traffic through network load data, analyzing the number of delays through network delay data, etc. to comprehensively calculate the network stability. This embodiment does not limit this. The dynamic adjustment of the scanning frequency can be to preset a rule table of the adjustment method of the network stability and the original scanning frequency or the last scanning frequency, determine the adjustment method by looking up the table, and calculate the target scanning frequency suitable for the current network stability. It should be emphasized that the so-called dynamic adjustment is dynamically adjusted according to a certain time interval, and the time interval can be customized according to the user's device access requirements. For this, this embodiment does not limit the value of the specific time interval.

[0029] The preset address range is the address segment expected to be occupied by various types of devices defined in the project protocol library file. Among them, the project protocol library file is a protocol file imported by the server of the IoT platform or automatically generated in the edge computing central control host through the project program. It is a database or document library that collects all relevant communication protocols, interface specifications, data formats and device compatibility requirements in the project. Specifically, it includes communication protocol standards, device information and address planning. The communication protocol standard defines the rules followed by communication between devices, including but not limited to MQTT, CoAP, HTTP, Modbus, RS-485, RS-422, RS-232, KNX, DAL I, CAN and other buses. The device information lists all device types involved in the project, including manufacturers, models, hardware specifications, software versions, etc., and the address planning is the expected address allocation scheme for each type of device in the network recorded in detail in the project protocol library. In other words, the project protocol library file predefines the expected devices, expected quantities and expected addresses of each type of device that needs to be connected, that is, the address segments expected to be occupied by various types of devices. Therefore, by scanning the project protocol library file at regular intervals, the preset address range can be determined. For example, industrial sensors may be in one specific address segment, while surveillance cameras are in another.

[0030] 102. When a new device is detected, obtain device information of the new device, and determine whether the new device meets the preconditions based on the device information.

[0031] Among them, the precondition is used to characterize that the device information matches the expected device planning corresponding to the preset point file. In this step, the preset point file is a data packet pre-generated based on the project program, which can be generated by the Marswindow debugging tool. The point file is specifically a point UI (user interface) file, which is used to configure, monitor and control the operating status of the device. Usually, it pre-defines the expected device planning of each expected access location based on the project program, that is, the expected device information, including serial number, model, device address, and required functions and logical instructions. Therefore, once a new device is detected, the new device actively reports the device information (such as serial number, model, device address, etc.) or the edge computing central control host actively requests the device information to be compared with the expected device planning, so as to determine whether the new device meets the pre-configuration. If the device information completely matches the expected configuration, it is considered that the precondition is met, and step 103 is executed at this time. If the device information partially matches or does not match the expected configuration at all, it is considered that the precondition is met, and step 104 is executed at this time.

[0032] 103. Synchronize the device information to the server of the IoT platform, so that the server of the IoT platform registers the newly added device according to the device information to access the newly added device.

[0033] In this step, since the newly added device meets the preconditions, it means that its device information matches the expected device planning. Therefore, the device information of the newly added device can be synchronized to the server of the IoT platform. The server of the IoT platform determines the target point file in the preset point file according to the device information, and generates the identification information of the newly added device according to the target point file, registers based on the identification information, and realizes access to the newly added device. Among them, the identification information includes pid information (device identification) and din information (component identification).

[0034] 104. Perform remark processing on the newly added equipment and generate remark processing prompt information corresponding to the newly added equipment.

[0035] In this step, since the newly added device does not meet the preconditions, it means that although the newly added device is newly discovered, its device information does not match the expected device planning. Therefore, in order to promptly remind relevant personnel to handle it and improve the security and stability of reverse integration, the newly added device can be annotated and the corresponding annotation processing prompt information of the newly added device can be generated. Among them, the annotation processing can be specifically to record in detail the specific differences between the device information of the newly added device and the expected device planning in the preset point file, and to classify and annotate according to the specific differences. Including but not limited to serial number mismatch, model mismatch, device address conflict, or required functions and logical instructions do not meet expectations, so as to quickly identify problems and take corresponding processing measures through the subsequent generated annotation processing prompt information. To generate the annotation processing prompt information, a set of standardized annotation processing prompt information templates can be designed, and the template can be automatically filled in according to the difference record and classification using scripts or programs on the edge computing central control host to generate specific annotation processing prompt information. The template can include basic device information (such as serial number, model), problems found, the impact of the problem, recommended solutions or next operation guide. For example, "Device serial number ABC123, model XYZ-456, because the device address conflicts with the preset, it is recommended to reallocate the address and try access again." The generated note processing prompt information is immediately pushed to relevant personnel, specifically through various channels such as email, text message, platform notification, etc., which are not limited in this embodiment. In addition, in order to further improve the security and stability of reverse integration, the newly added devices can also be temporarily isolated in a secure sandbox environment, specifically restricting their network access rights and data interaction capabilities, etc., until the newly added devices are correctly configured and authenticated.

[0036] Based on the above Figure 1It can be seen from the implementation method that the device reverse integration method for edge computing and the Internet of Things provided by this application is that when the device needs to be reversely integrated, the device that is powered on is scanned within the preset address range according to the dynamic scanning strategy to see if there is a new device. The dynamic scanning strategy is used to characterize the strategy of dynamically adjusting the scanning frequency according to the stability of the network. The preset address range is the address segment expected to be occupied by various types of devices defined in the project protocol library file. When a new device is detected, the device information of the new device is obtained, and the new device is judged according to the device information whether the precondition is met. The precondition is used to characterize that the device information matches the expected device planning corresponding to the preset point file. If so, the device information is synchronized to the server of the Internet of Things platform, so that the server of the Internet of Things platform registers the new device according to the device information to access the new device. If not, the new device is isolated and processed, and the isolation prompt information corresponding to the new device is generated. Through the technical solution provided by this application, the dynamic scanning strategy can be used to find new powered devices within the preset address range without manual intervention, so that the device access process can be self-discovered, and the scanning frequency can be flexibly adjusted according to the actual stability of the network, which not only ensures the timely self-discovery of new devices, but also avoids excessive consumption of resources when the network is congested. Once a new device is detected, the device information of the new device can be checked according to the preconditions. The device information that meets the conditions will be automatically synchronized to the IoT platform server to realize the registration and access of the new device. The device information that does not meet the conditions will be noted and the corresponding prompt information will be generated to actively prompt relevant personnel to handle it, effectively improving the efficiency and accuracy of device self-discovery and reverse integration, and realizing efficient and accurate self-discovery and reverse integration of devices.

[0037] Further, the preferred embodiment of the present application is in the above Figure 1 Based on this, a detailed description of the process of reverse integration of edge computing and IoT devices is provided. The specific steps are as follows: Figure 2 As shown, including:

[0038] 201. Determine the network stability according to the network load data or the network delay data within a specified time interval.

[0039] In this step, the specified time interval can be customized, such as the past 5 minutes or 1 hour, etc. By collecting network key performance indicators (KPIs) within the specified time interval as network load data or network delay data, wherein the network load data includes but is not limited to network traffic, resource utilization, etc., and the network delay data includes round-trip time, packet loss rate, etc.

[0040] Specifically, obtain a preset flow index threshold for normal network load or a preset time index threshold for normal network delay; calculate the flow difference between the flow index value corresponding to the network load data and the flow index threshold, and determine the network stability based on the flow difference, or calculate the number of delays when the round-trip time index value corresponding to the network delay data is higher than the time index threshold, and determine the network stability based on the number of delays.

[0041] Among them, the flow index threshold for normal network load and the time index threshold for normal network delay can be determined by analyzing the historical network flow data or historical network delay data of the IoT platform server through statistical methods, or can be set according to industry standards and best practices, which are not limited in this embodiment. The flow index threshold can specifically be average flow, peak flow, continuous flow, etc., and a certain safety margin can be added to take into account peak and trough periods. For example, if the average flow is 100Mbps, the threshold may be set to 120Mbps to cover normal fluctuations. Similarly, the time index threshold can specifically be total delay, average delay, etc. For non-real-time data transmission, the threshold setting can be relaxed to several hundred milliseconds.

[0042] When determining the network stability based on the network load data, the flow difference is calculated by comparing the flow index value corresponding to the network load data within a specified time interval with the flow index threshold. The flow difference can be an absolute value or a relative value, which is used to quantify the difference between the current network load and the normal network load. The current network stability is determined by matching the flow difference with the difference interval corresponding to the network stability of multiple levels pre-set according to the difference size. For example, the levels corresponding to the network stability include very stable, stable, fluctuating, and unstable. Each level corresponds to a difference interval. The network stability is determined by determining in which difference interval the flow difference is.

[0043] Exemplarily, the traffic indicator threshold is set to 100 Mbps.

[0044] Definition of the difference range: Very stable: difference <= 5Mbps; Stable: 5Mbps < difference <= 20Mbps; Fluctuating: 20Mbps < difference <= 50Mbps; Unstable: difference > 50Mbps.

[0045] If the actual network load flow measured within a specified time interval is 115Mbps, the flow difference is calculated as: 115Mbps-100Mbps=15Mbps. According to the difference range, 15Mbps falls within the "fluctuation" range, so the network stability is judged to be in a "fluctuation" state.

[0046] When determining the network stability based on network delay data, the round-trip time index value corresponding to the network delay data within a specified time interval is compared with the time index threshold, and the number of delays in which the round-trip time index value in the network delay data is higher than the time index threshold is calculated. The number of delays can be used to quantify the stability of the network delay. Similarly, the current network stability is determined by matching the delay times with the number intervals corresponding to the network stability levels that are pre-set by the number size. For example, the levels corresponding to the network stability include very stable, stable, fluctuating, and unstable, and each level corresponds to a number interval. The network stability is determined by determining in which number interval the delay times fall.

[0047] Exemplarily, the time indicator threshold is set to 50 milliseconds.

[0048] Definition of the frequency range: Very stable: delay times <= 5 times; Stable: 5 times < delay times <= 20 times; Fluctuating: 20 times < delay times <= 50 times; Unstable: delay times > 50 times.

[0049] If within the same time interval, the round-trip time index value in the collected network delay data is higher than 50 milliseconds 30 times, according to the frequency range, 30 times fall within the "fluctuation" range, so the network stability at this time is also judged to be in a "fluctuation" state.

[0050] In addition, it is also possible to obtain a preset resource utilization index threshold for normal network load or a preset data packet loss rate index threshold for normal network delay; calculate the number of resource overloads when the resource utilization index value corresponding to the network load data exceeds the resource utilization index threshold, and determine the network stability based on the number of resource overloads, or calculate the loss rate difference between the data packet loss rate index value corresponding to the network delay data and the data packet loss rate upper limit threshold, and determine the network stability based on the loss rate difference.

[0051] Among them, the resource utilization index threshold can be set according to the historical data, industry standards and best practices of the IoT platform server, and this embodiment does not limit this. The resource utilization can be one of CPU utilization, memory utilization or bandwidth utilization. For example, a healthy network environment requires that the CPU utilization does not exceed 70% to ensure that there is sufficient processing power to cope with burst traffic. At this time, the resource utilization index threshold can be set to 70%. The ideal value of the packet loss rate should be close to 0%. Therefore, the packet loss rate index threshold can set an acceptable upper limit based on the communication protocol standard of the IoT platform server, such as 0.5% or 1%.

[0052] When the resource utilization index value exceeds the resource utilization index threshold, it is a resource overload situation. When this situation occurs rarely, it means that the resource utilization is within the safe range most of the time and the network stability is good. On the contrary, when this situation occurs many times, it means that the network stability is poor. Therefore, by comparing the resource utilization index value corresponding to the network load data within a specified time interval with the resource utilization index threshold, the number of resource overloads can be counted. The number of resource overloads can be used to quantify the stability of the network load. Similarly, the current network stability is determined by matching the number of resource overloads with the number intervals corresponding to the multiple levels of network stability set in advance by the number size.

[0053] Correspondingly, since the packet loss rate index value exceeds the packet loss rate index threshold, it means that the network transmission quality has declined, which means that there is a large network delay and the network stability is poor. On the contrary, it means that there is no network delay or the network delay is small, and the network stability is good. Therefore, by comparing the packet loss rate index value corresponding to the network load data in the specified time interval with the packet loss rate index threshold, the loss rate difference can be calculated. The loss rate difference can also be an absolute value or a relative value, which is used to quantify the difference between the current network delay and the normal network delay. The current network stability is determined by matching the loss rate difference with the difference interval corresponding to the multiple levels of network stability set in advance according to the difference size.

[0054] 202. Determine a target scanning frequency corresponding to the network stability using a preset rule table.

[0055] Among them, the rule table records the adjustment methods of the original scanning frequency for different network stability levels. In this step, the original scanning frequency refers to the default or basic scanning frequency setting without considering the influence of the current network stability. It is a set fixed value used to indicate the frequency at which device scanning should occur under ideal conditions (i.e., the normal state where the network is neither overloaded nor too idle). The rule table can be set in combination with the network stability in step 201 to map different network stability levels to different scanning frequency adjustment strategies. Specifically, the target adjustment method corresponding to the network stability level is determined in the rule table; the original scanning frequency is obtained, and the original scanning frequency is processed using the adjustment method to obtain the target scanning frequency.

[0056] Among them, the adjustment method is used to characterize the setting of the corresponding adjustment coefficient according to the original scanning frequency and different network stability levels. For example, if the network stability is very stable, the scanning frequency is increased to twice the original scanning frequency to quickly discover new devices; if the network stability is unstable, the scanning frequency is reduced to one-quarter of the original scanning frequency to reduce the network burden. According to the network stability determined in step 201, the corresponding adjustment coefficient is taken out from the rule table. The current original scanning frequency is obtained, which may be the default scanning frequency or the scanning frequency after the last adjustment, and then the adjustment coefficient is applied to obtain the target scanning frequency. It should be noted that the dynamic adjustment of the scanning frequency is cyclically adjusted at certain time intervals.

[0057] 203. Scan the powered-on devices within a preset address range to see whether there is a newly added device based on the target scanning frequency.

[0058] In this step, since the target scanning frequency has been determined, the powered-on devices can be scanned within the preset address range at the target scanning frequency, thereby detecting the newly added devices.

[0059] 204. Match the target point file corresponding to the newly added device in the preset point file according to the device information.

[0060] In this step, there are multiple preset point files, which are generated according to the corresponding project program, and the expected equipment planning of each expected access location is defined in advance, that is, the expected equipment information. After the new device is detected, the device information of the new device can be obtained, but even if the device is a new device, it may not meet the expected equipment planning. Therefore, in order to ensure the accuracy and security of the subsequent access of the new device, the target point file corresponding to the new device can be matched in the preset point file according to the device information, so as to execute step 205.

[0061] 205. Determine whether the expected device information corresponding to the target point file is consistent with the device information.

[0062] In this step, since the target point file has been determined, that is, the expected equipment planning for each expected access location defined for the newly added device, the target point file can be parsed to obtain the expected equipment information. By comparing the expected equipment information with the equipment information, it is determined whether the two are consistent. If they are consistent, it means that the equipment information of the newly added device complies with the expected equipment planning of the expected access location, that is, step 206 is executed; otherwise, it complies with the expected equipment planning of the expected access location, that is, step 207 is executed.

[0063] 206. Make sure that the newly added equipment meets the prerequisites.

[0064] Since the expected device information is consistent with the device information, it means that the newly added device meets the preconditions. Therefore, in order to ensure the rapid access of the newly added device, step 208 may be performed at this time.

[0065] 207. Determine that the newly added equipment does not meet the prerequisites.

[0066] Since the expected device information is inconsistent with the device information, it means that the newly added device meets the precondition. Therefore, in order to avoid the newly added device from being mistakenly connected and affecting the safety and stability of the reverse integration, step 209 can be executed at this time.

[0067] 208. Synchronize the device information to the server of the IoT platform, so that the server of the IoT platform registers the newly added device according to the device information to access the newly added device.

[0068] This step is combined with the description of step 103 in the above method, and the same contents are not repeated here.

[0069] 209. Perform remark processing on the newly added device, and generate remark processing prompt information corresponding to the newly added device.

[0070] This step is combined with the description of step 104 in the above method, and the same content will not be repeated here. It should be noted that since the newly added device does not meet the preconditions, there may only be an address conflict, that is, the expected device address in the expected device information is inconsistent with the device address in the device information, while other information is consistent. This may be because the same network address is accidentally assigned to two or more devices when the device address is manually configured, or when the device migrates from an atomic network to a new subnet, its network address is not updated in time, resulting in a conflict with a device address in the new subnet. This address conflict situation indicates that the newly added device actually complies with the expected device planning, and only a conflict occurs in the device address. Therefore, in order to ensure that the newly added device can still be reverse integrated in this case, specifically, before performing note processing on the newly added device and generating note processing prompt information corresponding to the newly added device, the method also includes: determining whether the expected device information and the device information are only address conflicts, and the address conflict is used to characterize that the expected device address in the expected device information is inconsistent with the device address in the device information; if so, triggering an online address modification instruction corresponding to the newly added device, and updating the device information after obtaining the new device address, so as to synchronize the updated device information to the server of the Internet of Things platform; if not, performing note processing on the newly added device, and generating note processing prompt information corresponding to the newly added device.

[0071] Among them, initiating an online modification instruction is used to prompt relevant personnel to assign a new unique address to the device with an address conflict. After receiving the modification instruction, the device should change the address automatically or through manual intervention, and feedback the new device address through the network. Verify the uniqueness of the new address and confirm that there is no conflict. After confirming that the new address is valid and does not cause new conflicts, update the device information, that is, the new device address overwrites the original device address, and immediately synchronize the latest device information to the IoT platform server, so that the IoT platform server can register the newly added device according to the device information to access the newly added device. This effectively manages and resolves the address conflict problem of the newly added device, and further ensures the stability and security of reverse integration.

[0072] Furthermore, as a response to the above Figure 1-2 The implementation of the method embodiment shown in the figure, the embodiment of the present application provides a device reverse integration device for edge computing and the Internet of Things, which is used to efficiently and accurately self-discover and reverse integrate devices. The embodiment of the device corresponds to the aforementioned method embodiment. For ease of reading, this embodiment will no longer repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. Specifically, Figure 3 As shown, it is applied to the edge computing central control host, and the device includes:

[0073] A dynamic scanning unit 31 is used to scan whether there is a new device in the powered-on devices within a preset address range according to a dynamic scanning strategy, wherein the dynamic scanning strategy is used to represent a strategy for dynamically adjusting the scanning frequency according to the network stability, and the preset address range is the address segment expected to be occupied by various types of devices defined in the project protocol library file;

[0074] A pre-determination unit 32 is used to obtain device information of the newly added device when the newly added device is detected, and determine whether the newly added device meets the pre-condition according to the device information, wherein the pre-condition is used to indicate that the device information matches the expected device plan corresponding to the preset point file;

[0075] A registration access unit 33 is used to synchronize the device information to a server of the IoT platform so that the server of the IoT platform registers the newly added device according to the device information to access the newly added device;

[0076] The remark prompting unit 34 is used to, if not, perform remark processing on the newly added device and generate remark processing prompt information corresponding to the newly added device.

[0077] Further, such as Figure 4 As shown, the dynamic scanning unit 31 includes:

[0078] A first determination module 311, configured to determine the network stability according to network load data or network delay data within a specified time interval;

[0079] A second determination module 312 is used to determine the target scanning frequency corresponding to the network stability using a preset rule table;

[0080] The scanning module 313 is used to scan whether there is a new device in the powered-on devices within the preset address range based on the target scanning frequency.

[0081] Further, such as Figure 4 As shown, the first determination module 311 is specifically used to:

[0082] Obtaining a preset normal network load flow index threshold or a preset normal network delay time index threshold;

[0083] Calculating a flow difference between a flow index corresponding to the network load data and the flow index threshold, and determining the network stability according to the flow difference, or

[0084] The number of delays in which the round-trip time index value corresponding to the network delay data is higher than the time index threshold is calculated, and the network stability is determined according to the number of delays.

[0085] Further, such as Figure 4 As shown, the second determination module 312 is specifically used to:

[0086] Determining the target adjustment method corresponding to the network stability level in the rule table, wherein the rule table records the adjustment methods of the original scanning frequency for different network stability levels;

[0087] The original scanning frequency is acquired, and the original scanning frequency is processed by using the adjustment method to obtain the target scanning frequency.

[0088] Further, such as Figure 4 As shown, the pre-determination unit 32 includes:

[0089] A third determination module 321 is used to match the target point file corresponding to the newly added device in the preset point file according to the device information;

[0090] A judgment module 322 is used to judge whether the expected device information corresponding to the target point file is consistent with the device information;

[0091] A fourth determination module 323, configured to determine that if yes, the newly added device meets the precondition;

[0092] The fourth determination module 323 is further configured to determine that the newly added device does not meet the precondition.

[0093] Further, such as Figure 4 As shown, the device also includes:

[0094] A conflict detection unit 35, used for detecting whether the expected device information and the device information are only in an address conflict before performing a remark process on the newly added device and generating a remark process prompt information corresponding to the newly added device, wherein the address conflict is used to indicate that the expected device address in the expected device information is inconsistent with the device address in the device information;

[0095] A modification trigger unit 36 ​​is used to trigger an online address modification instruction corresponding to the newly added device, and update the device information after obtaining the new device address, so as to synchronize the updated device information to the server of the IoT platform;

[0096] The remark prompting unit 34 is specifically used to:

[0097] If not, a remark process is performed on the newly added device, and remark process prompt information corresponding to the newly added device is generated.

[0098] Further, such as Figure 4 As shown, the device also includes:

[0099] A protocol monitoring unit 37, used to monitor whether the project protocol library file is updated before scanning whether there is a new device in the powered-on devices within a preset address range according to the dynamic scanning strategy;

[0100] The range generating unit 38 is configured to regenerate the preset address range based on the updated project protocol library file if yes.

[0101] Furthermore, an embodiment of the present application further provides a storage medium, wherein the storage medium is used to store a computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the above Figure 1-2 The device reverse integration method for edge computing and the Internet of Things described in.

[0102] Furthermore, the embodiment of the present application also provides a processor, the processor is used to run a program, wherein the program executes the above Figure 1-2 The device reverse integration method for edge computing and the Internet of Things described in.

[0103] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0104] It is understandable that the related features in the above methods and devices can be referenced to each other. In addition, the "first", "second" and the like in the above embodiments are used to distinguish the embodiments, but do not represent the advantages and disadvantages of the embodiments.

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

[0106] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the application is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to realize the content of the application described herein, and the description of the specific language above is for the purpose of disclosing the best mode of implementation of the application.

[0107] In addition, the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0108] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0109] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0112] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0113] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0114] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory media such as modulated data signals and carrier waves.

[0115] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0116] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0117] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A device reverse integration method for edge computing and the Internet of Things, characterized in that: Applied to the edge computing central control host, the method includes: Scan the powered-on devices within the preset address range for new devices according to the dynamic scanning strategy, wherein the dynamic scanning strategy is used to characterize the strategy of dynamically adjusting the scanning frequency according to the network stability, and the preset address range is the address segment expected to be occupied by various types of devices defined in the project protocol library file; When the newly added device is detected, the device information of the newly added device is obtained, and whether the newly added device meets the precondition is determined according to the device information, wherein the precondition is used to indicate that the device information matches the expected device plan corresponding to the preset point file; If yes, synchronizing the device information to a server of the IoT platform, so that the server of the IoT platform registers the newly added device according to the device information to access the newly added device; If not, a remark process is performed on the newly added device, and remark process prompt information corresponding to the newly added device is generated.

2. The method according to claim 1, characterized in that Scan the powered devices in the preset address range according to the dynamic scanning strategy to see if there are any new devices, including: Determining the network stability according to the network load data or the network delay data within a specified time interval; Determine the target scanning frequency corresponding to the network stability using a preset rule table; Whether there is a new device in the powered-on devices is scanned within the preset address range based on the target scanning frequency.

3. The method according to claim 2, characterized in that Determining the network stability according to real-time network load data or network delay data within a specified period includes: Obtaining a preset normal network load flow index threshold or a preset normal network delay time index threshold; Calculating a flow difference between a flow index value corresponding to the network load data and the flow index threshold, and determining the network stability according to the flow difference, or The number of delays in which the round-trip time index value corresponding to the network delay data is higher than the time index threshold is calculated, and the network stability is determined according to the number of delays.

4. The method according to claim 2, characterized in that: Determining the target scanning frequency corresponding to the network stability using a preset rule table includes: Determining the target adjustment method corresponding to the network stability level in the rule table, wherein the rule table records the adjustment methods of the original scanning frequency for different network stability levels; The original scanning frequency is acquired, and the original scanning frequency is processed by using the adjustment method to obtain the target scanning frequency.

5. The method according to claim 1, characterized in that Judging whether the newly added device meets the precondition according to the device information includes: Matching the target point file corresponding to the newly added device in the preset point file according to the device information; Determine whether the expected device information corresponding to the target point file is consistent with the device information; If yes, determining that the newly added device meets the precondition; If not, it is determined that the newly added device does not meet the precondition.

6. The method according to claim 4, characterized in that Before performing remark processing on the newly added device and generating remark processing prompt information corresponding to the newly added device, the method further includes: Determine whether the expected device information and the device information only have an address conflict, where the address conflict is used to indicate that the expected device address in the expected device information is inconsistent with the device address in the device information; If so, trigger an online modification instruction for the address corresponding to the newly added device, and update the device information after obtaining the new device address, so as to synchronize the updated device information to the server of the IoT platform; If not, a remark process is performed on the newly added device, and remark process prompt information corresponding to the newly added device is generated.

7. The method according to any one of claims 1 to 6, characterized in that Before scanning powered-on devices within a preset address range according to a dynamic scanning strategy to determine whether a new device is added, the method further includes: Monitoring whether the project protocol library file is updated; If so, the preset address range is regenerated based on the updated project protocol library file.

8. A device for reverse integration of edge computing and the Internet of Things, characterized in that: Applied to edge computing central control host, the device includes: A dynamic scanning unit, used to scan whether there is a new device in the powered-on devices within a preset address range according to a dynamic scanning strategy, wherein the dynamic scanning strategy is used to characterize a strategy for dynamically adjusting the scanning frequency according to the network stability, and the preset address range is the address segment expected to be occupied by various types of devices defined in the project protocol library file; A pre-determination unit, configured to obtain device information of the newly added device when the newly added device is detected, and determine whether the newly added device satisfies a pre-condition according to the device information, wherein the pre-condition is used to indicate that the device information matches the expected device plan corresponding to the preset point file; A registration access unit, configured to synchronize the device information to a server of the IoT platform, so that the server of the IoT platform registers the newly added device according to the device information to access the newly added device; The remark prompting unit is used to, if not, perform remark processing on the newly added device and generate remark processing prompt information corresponding to the newly added device.

9. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the device reverse integration method for edge computing and the Internet of Things as described in any one of claims 1 to 7.

10. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the device reverse integration method for edge computing and the Internet of Things as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Smart home equipment network distribution method and device, electronic equipment and storage medium

    CN111970181A

  • Bill printing equipment management method and device and electronic equipment

    CN114124899A

  • Equipment access method, equipment management method, equipment access system and computer equipment

    CN114980302A

  • Method and device for batch modification of local area network conflict protocol addresses and medium

    CN116248635A

  • Terminal scanning method, system, and apparatus, electronic device, and storage medium

    US20230292229A1

Cited By

  • A multi-source internet of things node automatic access control method

    CN122970502A