Device access analysis method and system based on semantic recognition

Using semantic recognition technology to identify device protocol attributes, build compatible protocols and implement unified semantic standards, it solves the problem of insufficient compatibility of IoT platform devices, improves interoperability and access flexibility between devices, and provides a stable environment for IoT applications.

CN118784754AActive Publication Date: 2024-10-15BEIHANG UNIV

Patent Information

Application Number
CN202410764580.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-15
Estimated Expiration
2044-06-14

AI Technical Summary

Technical Problem

The existing IoT platform cannot dynamically expand and connect to other devices and protocols, resulting in insufficient device compatibility and applicability, limiting the development of the platform, and failing to achieve consistent interoperability between devices.

Method used

Using a device access parsing method based on semantic recognition, by identifying the protocol attribute information of the device, select or build a compatible network connection protocol, connect the device to the application layer, and build a unified semantic standard at the application layer to achieve protocol difference shielding and Function interface adjustment.

Benefits of technology

It improves the scalability and flexibility of the IoT platform's connection to devices, enables interoperability between different devices, enhances the comprehensiveness and applicability of device access, and provides a convenient and reliable environment for IoT applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784754A_ABST
    Figure CN118784754A_ABST
Patent Text Reader

Abstract

The invention provides an equipment access analysis method and system based on semantic recognition, and the method comprises the steps: recognizing all equipment needing to access an Internet of Things platform, obtaining the protocol attribute information supported by all equipment, and selecting or constructing a network connection protocol compatible with the equipment from a known protocol stack, therefore, the device is connected to the application layer of the Internet of Things platform, and the connection expansibility of the Internet of Things platform to the device is improved. A unified semantic standard is constructed in an application layer, one-language intercommunication among different device entities is realized, protocol difference shielding processing is carried out on all devices currently connected with the application layer, instruction semantic information corresponding to the devices is compared with the unified semantic standard, and service / operation execution demand information of the currently connected devices is determined. The function interface between different devices currently connected with the application layer can be conveniently and accurately constructed in the application layer, the working state of the function interface can be timely adjusted, and a convenient and reliable environment is provided for application development of the Internet of Things.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet of Things, and in particular to a device access parsing method and system based on semantic recognition. Background Art

[0002] Existing IoT platforms usually only have the ability to support connections for a few predetermined types of devices or protocols, and cannot dynamically expand connections for other devices and protocols. Although the information model can be defined at the application layer of the IoT platform through LwM2M, OPC UA, etc., thereby solving the heterogeneity of the underlying protocol and business model at the same time, it is often a long and complicated process to promote unified standards to the actual operating environment, and it is also impossible to make old devices and systems compatible with new protocols, which limits the development of the IoT platform, makes it impossible to achieve one-language intercommunication between all devices connected to the IoT platform, and reduces the applicability and scalability of the IoT platform for different devices. Summary of the invention

[0003] The purpose of the present invention is to provide a device access parsing method and system based on semantic recognition, which identifies all devices that need to access an Internet of Things platform, obtains protocol attribute information supported by all devices, and selects or constructs a network connection protocol compatible with the device from a known protocol stack, thereby connecting the device to the application layer of the Internet of Things platform, improving the connection scalability of the Internet of Things platform to the device; constructs a unified semantic standard at the application layer to achieve one-language communication between different device entities, performs protocol difference shielding processing on all devices currently connected to the application layer, and compares the instruction semantic information corresponding to the device with the unified semantic standard to determine the business / operation execution requirement information of the currently connected device, so as to facilitate the accurate construction of functional interfaces between different devices currently connected to the application layer within the application layer, and timely adjust the working status of the functional interface, improve the flexibility and comprehensiveness of device access to the Internet of Things platform, and provide a convenient and reliable environment for the development of Internet of Things applications.

[0004] The present invention is achieved through the following technical solutions:

[0005] The device access parsing method based on semantic recognition includes:

[0006] Identify all devices that need to access the Internet of Things platform respectively to obtain protocol attribute information supported by all devices; based on the protocol attribute information, select or construct a network connection protocol compatible with the device from a known protocol stack, and connect the device to the application layer of the Internet of Things platform based on the network connection protocol;

[0007] Constructing a unified semantic standard at the application layer to perform protocol difference shielding processing on all devices currently connected to the application layer; performing semantic recognition on the instructions received by the application layer from the currently connected device to obtain corresponding instruction semantic information; comparing the instruction semantic information with the unified semantic standard to determine the service / operation execution requirement information of the currently connected device;

[0008] Based on the business / operation execution requirement information, a functional interface between different devices currently connected to the application layer is constructed within the application layer; and based on the real-time task execution status of the different devices currently connected, the working status of the functional interface is adjusted.

[0009] Optionally, all devices that need to access the Internet of Things platform are identified respectively to obtain protocol attribute information supported by all devices; based on the protocol attribute information, a network connection protocol compatible with the device is selected or constructed from a known protocol stack, and based on the network connection protocol, the device is connected to the application layer of the Internet of Things platform, including:

[0010] Identify access requests initiated by all devices that need to access the Internet of Things platform, and obtain hardware type information and system type information of all devices; based on the hardware type information and the system type information, determine the network connection protocol attribute information supported by all devices; wherein the network connection protocol attribute information includes the type and content structure information of the network connection protocol supported by the device;

[0011] Compare the network connection protocol attribute information with all known network connection protocols under a known protocol stack; if the known protocol stack contains a known network connection protocol that matches the network connection protocol attribute information, select the matching known network connection protocol as a network connection protocol compatible with the device; if the known protocol stack does not contain a known network connection protocol that matches the network connection protocol attribute information, select the top-level known protocol in the composite protocol of the network connection protocol, and develop the top-level known protocol to construct a network connection protocol compatible with the device;

[0012] Based on the application communication message frame of the application layer of the Internet of Things platform, the program interfaces of all the applications within the application layer are determined; then based on the network connection protocol compatible with the device, a connection channel between the device and the corresponding program interface is constructed, thereby connecting the device to the application layer.

[0013] Optionally, a unified semantic standard is constructed at the application layer to perform protocol difference shielding processing on all devices currently connected to the application layer; semantic recognition is performed on the instruction received by the application layer from the currently connected device to obtain corresponding instruction semantic information; the instruction semantic information is compared with the unified semantic standard to determine the service / operation execution requirement information of the currently connected device, including:

[0014] Based on the network connection protocols corresponding to all the connection channels currently supported by the application layer, a unified semantic standard for the network connection protocols of all the connection channels is constructed at the application layer, so as to perform protocol difference shielding processing on all the devices currently connected to the application layer; wherein the unified semantic standard includes a general semantic standard library and a customized semantic standard library;

[0015] Perform semantic recognition on the instructions received by the application layer from the currently connected device to obtain corresponding instruction semantic information, then compare the instruction semantic information with the unified semantic standard to identify general semantic content or customized semantic content that matches the instruction semantic information; then, based on the general semantic content or the customized semantic content, determine the operation action type information or business type information that the currently connected device needs to perform.

[0016] Optionally, based on the business / operation execution requirement information, constructing a functional interface between different devices currently connected to the application layer within the application layer; and adjusting the working state of the functional interface based on the real-time task execution state of the different devices currently connected, including:

[0017] Based on the operation action type information or service type information that the currently connected device needs to perform, determine the device identity information on which the operation action interaction or service interaction needs to occur; based on the device identity information, construct a functional interface between different devices currently connected to the application layer within the application layer;

[0018] Obtain the real-time task execution logs of different currently connected devices, analyze the real-time task execution logs, and obtain data flow interaction status information during the operation action interaction or business interaction process of the different currently connected devices; then adjust the transmission bandwidth or switch working status of the functional interface based on the data flow interaction status information.

[0019] Optionally, adjusting the working state of the functional interface based on the real-time task execution state of different devices currently connected includes:

[0020] Step S1, using the following formula (1), according to the data volume transmission status of different devices currently connected to the application layer, control the allocation of the data processing space of the application layer,

[0021]

[0022] In the above formula (1), S F Indicates that the control allocates the data processing space of the application layer to be able to process S F The space for data volume; S(a) represents the data volume in the transmission state of the ath device currently connected to the application layer; n represents the total number of devices currently connected to the application layer; Indicates the maximum amount of data in the transmission state of all devices currently connected to the application layer;

[0023] Step S2, using the following formula (2), according to the data volume transmission status of different devices currently connected to the application layer, control the number of spare interfaces of the functional interface constructed inside the application layer,

[0024]

[0025] In the above formula (2), B(a) represents the number of interfaces that the ath device currently connected to the application layer needs to spare; Indicates rounding down;

[0026] Step S3, using the following formula (3), according to the real-time task execution status of different devices currently connected, adjust the working state of the functional interface,

[0027] R(a)=F{S(a)+S t-T (a)+S t-2T (a)=0} (3)

[0028] In the above formula (3), R(a) represents the working state control value of the functional interface of the ath device; t represents the current time; T represents the unit time; S t-T (a) represents the amount of data transmitted by the ath device connected to the application layer at time tT; S t-2T (a) represents the amount of data in the transmission state of the ath device connected to the application layer at time t-2T;

[0029] If R(a)=1, the function interface and the standby interface of the a-th device are controlled to be closed, and the standby interface of the a-th device is used as the standby interface of other devices;

[0030] If R(a)=0, the functional interface and the standby interface of the ath device are controlled to continue to work.

[0031] The device access analysis system based on semantic recognition includes:

[0032] The device identification module is used to identify all devices that need to be connected to the IoT platform and obtain the protocol attribute information supported by all devices;

[0033] A device connection processing module, configured to select or construct a network connection protocol compatible with the device from a known protocol stack based on the protocol attribute information, and connect the device to the application layer of the Internet of Things platform based on the network connection protocol;

[0034] A semantic unification module, used to construct a unified semantic standard at the application layer, so as to perform protocol difference shielding processing on all devices currently connected to the application layer;

[0035] A semantic recognition module, configured to perform semantic recognition on the instruction received by the application layer from the currently connected device to obtain corresponding instruction semantic information; compare the instruction semantic information with the unified semantic standard to determine the service / operation execution requirement information of the currently connected device;

[0036] A functional interface construction module, used to construct, within the application layer, functional interfaces between different devices currently connected to the application layer based on the business / operation execution requirement information;

[0037] The working state adjustment module is used to adjust the working state of the functional interface based on the real-time task execution state of different devices currently connected.

[0038] Optionally, the device identification module is used to identify all devices that need to access the Internet of Things platform respectively, and obtain protocol attribute information supported by all devices, including:

[0039] Identify access requests initiated by all devices that need to access the Internet of Things platform, and obtain hardware type information and system type information of all devices; based on the hardware type information and the system type information, determine the network connection protocol attribute information supported by all devices; wherein the network connection protocol attribute information includes the type and content structure information of the network connection protocol supported by the device;

[0040] The device connection processing module is used to select or construct a network connection protocol compatible with the device from a known protocol stack based on the protocol attribute information, and connect the device to the application layer of the Internet of Things platform based on the network connection protocol, including:

[0041] Compare the network connection protocol attribute information with all known network connection protocols under a known protocol stack; if the known protocol stack contains a known network connection protocol that matches the network connection protocol attribute information, select the matching known network connection protocol as a network connection protocol compatible with the device; if the known protocol stack does not contain a known network connection protocol that matches the network connection protocol attribute information, select the top-level known protocol in the composite protocol of the network connection protocol, and develop the top-level known protocol to construct a network connection protocol compatible with the device;

[0042] Based on the application communication message frame of the application layer of the Internet of Things platform, the program interfaces of all the applications within the application layer are determined; then based on the network connection protocol compatible with the device, a connection channel between the device and the corresponding program interface is constructed, thereby connecting the device to the application layer.

[0043] Optionally, the semantic unification module is used to construct a unified semantic standard at the application layer, so as to perform protocol difference shielding processing on all devices currently connected to the application layer, including:

[0044] Based on the network connection protocols corresponding to all the connection channels currently supported by the application layer, a unified semantic standard for the network connection protocols of all the connection channels is constructed at the application layer, so as to perform protocol difference shielding processing on all the devices currently connected to the application layer; wherein the unified semantic standard includes a general semantic standard library and a customized semantic standard library;

[0045] The semantic recognition module is used to perform semantic recognition on the instruction received by the application layer from the currently connected device to obtain corresponding instruction semantic information; compare the instruction semantic information with the unified semantic standard to determine the business / operation execution requirement information of the currently connected device, including:

[0046] Perform semantic recognition on the instructions received by the application layer from the currently connected device to obtain corresponding instruction semantic information, then compare the instruction semantic information with the unified semantic standard to identify general semantic content or customized semantic content that matches the instruction semantic information; then, based on the general semantic content or the customized semantic content, determine the operation action type information or business type information that the currently connected device needs to perform.

[0047] Optionally, the functional interface construction module is used to construct, within the application layer, functional interfaces between different devices currently connected to the application layer based on the business / operation execution requirement information, including:

[0048] Based on the operation action type information or service type information that the currently connected device needs to perform, determine the device identity information on which the operation action interaction or service interaction needs to occur; based on the device identity information, construct a functional interface between different devices currently connected to the application layer within the application layer;

[0049] The working state adjustment module is used to adjust the working state of the functional interface based on the real-time task execution state of different devices currently connected, including:

[0050] Obtain the real-time task execution logs of different currently connected devices, analyze the real-time task execution logs, and obtain data flow interaction status information during the operation action interaction or business interaction process of the different currently connected devices; then adjust the transmission bandwidth or switch working status of the functional interface based on the data flow interaction status information.

[0051] Compared with the prior art, the present invention has the following beneficial effects:

[0052] The device access parsing method and system based on semantic recognition provided in the present application identify all devices that need to access the Internet of Things platform, obtain the protocol attribute information supported by all devices, and select or construct a network connection protocol compatible with the device from the known protocol stack, so as to connect the device to the application layer of the Internet of Things platform, and improve the connection scalability of the Internet of Things platform to the device; build a unified semantic standard at the application layer to achieve one-language communication between different device entities, perform protocol difference shielding processing on all devices currently connected to the application layer, and compare the instruction semantic information corresponding to the device with the unified semantic standard to determine the business / operation execution requirement information of the currently connected device, so as to facilitate the accurate construction of functional interfaces between different devices currently connected to the application layer within the application layer, and timely adjust the working status of the functional interface, improve the flexibility and comprehensiveness of device access to the Internet of Things platform, and provide a convenient and reliable environment for the development of Internet of Things applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0054] Figure 1 A schematic diagram of the flow of the device access parsing method based on semantic recognition provided by the present invention.

[0055] Figure 2A schematic diagram of the structure of a device access parsing system based on semantic recognition provided by the present invention. DETAILED DESCRIPTION

[0056] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. It is to be understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some structures related to the present application are shown in the accompanying drawings, rather than all structures. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0057] The terms "including" and "having" and any variations thereof in this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0058] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0059] See also Figure 1 As shown, an embodiment of the present application provides a device access parsing method based on semantic recognition. The device access parsing method based on semantic recognition includes:

[0060] Identify all devices that need to access the IoT platform and obtain protocol attribute information supported by all devices; based on the protocol attribute information, select or construct a network connection protocol compatible with the device from a known protocol stack, and connect the device to the application layer of the IoT platform based on the network connection protocol;

[0061] Constructing a unified semantic standard at the application layer to perform protocol difference shielding processing on all devices currently connected to the application layer; performing semantic recognition on the command received by the application layer from the currently connected device to obtain corresponding command semantic information; comparing the command semantic information with the unified semantic standard to determine the business / operation execution requirement information of the currently connected device;

[0062] Based on the business / operation execution requirement information, a functional interface between different devices currently connected to the application layer is constructed within the application layer; and based on the real-time task execution status of the different devices currently connected, the working status of the functional interface is adjusted.

[0063] The beneficial effects of the above embodiments are as follows: the device access parsing method based on semantic recognition identifies all devices that need to access the Internet of Things platform, obtains the protocol attribute information supported by all devices, and selects or constructs a network connection protocol compatible with the device from the known protocol stack, thereby connecting the device to the application layer of the Internet of Things platform, improving the connection scalability of the Internet of Things platform to the device; constructs a unified semantic standard at the application layer to achieve one-language communication between different device entities, performs protocol difference shielding processing on all devices currently connected to the application layer, and compares the instruction semantic information corresponding to the device with the unified semantic standard to determine the business / operation execution requirement information of the currently connected device, so as to facilitate the accurate construction of the functional interface between the different devices currently connected to the application layer within the application layer, and timely adjust the working status of the functional interface, improve the flexibility and comprehensiveness of device access to the Internet of Things platform, and provide a convenient and reliable environment for the development of Internet of Things applications.

[0064] In another embodiment, all devices that need to access the Internet of Things platform are identified respectively to obtain protocol attribute information supported by all devices; based on the protocol attribute information, a network connection protocol compatible with the device is selected or constructed from a known protocol stack, and based on the network connection protocol, the device is connected to the application layer of the Internet of Things platform, including:

[0065] Identify access requests initiated by all devices that need to access the Internet of Things platform, and obtain hardware type information and system type information of all devices; based on the hardware type information and the system type information, determine the network connection protocol attribute information supported by all devices; wherein the network connection protocol attribute information includes the type and content structure information of the network connection protocol supported by the device;

[0066] Compare the network connection protocol attribute information with all known network connection protocols under the known protocol stack; if the known protocol stack contains a known network connection protocol that matches the network connection protocol attribute information, select the matching known network connection protocol as the network connection protocol compatible with the device; if the known protocol stack does not contain a known network connection protocol that matches the network connection protocol attribute information, select the top-level known protocol in the composite protocol of the network connection protocol, and develop the top-level known protocol to construct a network connection protocol compatible with the device;

[0067] Based on the application communication message frames of the application layer of the Internet of Things platform, the program interfaces of all applications within the application layer are determined; then, based on the network connection protocol compatible with the device, a connection channel between the device and the corresponding program interface is constructed to connect the device to the application layer.

[0068] The beneficial effect of the above-mentioned embodiments is that the Internet of Things platform, as a central control platform, can access corresponding devices, so as to realize the interaction between the Internet of Things platform and devices and between different devices. In actual operation, the accessed devices may be but are not limited to different types of devices such as sensor devices, data storage devices, edge computing devices and information devices. Different Internet of Things platforms are limited by their own device and protocol compatibility support capabilities. Under normal circumstances, they can only connect to specific types of devices and protocols. For other non-compatible supported devices and protocols, the Internet of Things platform will not be able to effectively expand the connection. To this end, the access requests initiated by all devices that need to access the Internet of Things platform are identified, and the hardware type information and system type information of all devices are obtained, so as to determine the network connection protocol attribute information supported by all devices, and provide a basis for judging whether the device is compatible with the Internet of Things platform. Specifically, the network connection protocol attribute information is compared with all known network connection protocols under the known protocol stack; if the known protocol stack contains a known network connection protocol that matches the network connection protocol attribute information, it indicates that the Internet of Things platform itself has a network connection protocol that is compatible with the corresponding device. At this time, the matching known network connection protocol is directly selected as the network connection protocol compatible with the device, so that the device can be connected to the Internet of Things platform using the matching known network connection protocol; if the known protocol stack does not contain a known network connection protocol that matches the network connection protocol attribute information, it indicates that the Internet of Things platform itself does not have a network connection protocol that is compatible with the corresponding device. In the case of a network connection protocol that is compatible with the device, other network connection protocols are needed to achieve the connection between the corresponding device and the IoT platform. However, directly calling a new network connection protocol from the outside world will not make the IoT platform compatible with the new network connection protocol. For this reason, a known network connection protocol that is closest to the attribute information of the network connection protocol is selected from the known protocol stack, and the closest known network connection protocol is adjusted to construct a network connection protocol that is compatible with the device. This can save the workload of calling a new network connection protocol and ensure that the adjusted closest known network connection protocol is compatible with the device and the IoT platform. In addition, based on the application communication message frame of the application layer of the IoT platform, the program interfaces of all applications within the application layer are determined, and then based on the network connection protocol that is compatible with the device, a connection channel between the device and the corresponding program interface is constructed, thereby connecting the device to the application layer, which can ensure the stability and reliability of the connection between the device and the IoT platform.

[0069] In another embodiment, a unified semantic standard is constructed at the application layer to perform protocol difference shielding processing on all devices currently connected to the application layer; semantic recognition is performed on the instruction received by the application layer from the currently connected device to obtain corresponding instruction semantic information; the instruction semantic information is compared with the unified semantic standard to determine the service / operation execution requirement information of the currently connected device, including:

[0070] Based on the network connection protocols corresponding to all the connection channels currently supported by the application layer, a unified semantic standard for the network connection protocols of all the connection channels is constructed at the application layer, so as to perform protocol difference shielding processing on all the devices currently connected to the application layer; wherein the unified semantic standard includes a general semantic standard library and a customized semantic standard library;

[0071] The application layer performs semantic recognition on the command received from the currently connected device to obtain corresponding command semantic information, then compares the command semantic information with the unified semantic standard to identify the general semantic content or customized semantic content that matches the command semantic information; then, based on the general semantic content or the customized semantic content, determines the operation action type information or service type information that the currently connected device needs to perform.

[0072] The beneficial effect of the above embodiment is that in actual operation, based on the network connection protocols corresponding to all connection channels currently supported by the application layer, the communication language of the network connection protocols corresponding to all connection channels is uniformly standardized and converted, which can effectively shield the network connection protocol gaps between the underlying device entities under the Internet of Things platform and achieve one-language communication between all device entities. The unified semantic standard is also set to include a general semantic standard library and a customized semantic standard library, wherein the general semantic standard library may include semantic content corresponding to the functions supported by any device entity; the customized semantic standard library may include semantic content corresponding to functions implemented for the business needs of different device entities. In addition, the application layer performs semantic recognition on the instructions received from the currently connected device to obtain corresponding instruction semantic information, and then compares the instruction semantic information with the unified semantic standard to identify the general semantic content or customized semantic content that matches the instruction semantic information, so as to determine the operation action type information or business type information that the currently connected device needs to perform, thereby providing a reliable basis for the subsequent construction of the functional interface.

[0073] In another embodiment, based on the business / operation execution requirement information, a functional interface between different devices currently connected to the application layer is constructed within the application layer; and based on the real-time task execution status of the different devices currently connected, the working state of the functional interface is adjusted, including:

[0074] Based on the operation action type information or service type information that the currently connected device needs to perform, determine the device identity information on which the operation action interaction or service interaction needs to occur; based on the device identity information, construct a functional interface between different devices currently connected to the application layer within the application layer;

[0075] Obtain the real-time task execution logs of different currently connected devices, analyze the real-time task execution logs, and obtain the data flow interaction status information of the operation action interaction or business interaction process of the different currently connected devices; then adjust the transmission bandwidth or switch working status of the functional interface based on the data flow interaction status information.

[0076] The beneficial effect of the above embodiment is that based on the operation action type information or business type information that the currently connected device needs to perform, the device identity information that needs to undergo operation action interaction or business interaction is determined, so as to construct a functional interface between different devices currently connected to the application layer within the application layer, and the functional interface constructed in this way can stably implement the corresponding data interaction function within the application layer. In addition, the real-time task execution logs of the currently connected different devices are obtained, and the real-time task execution logs are analyzed to obtain the data flow interaction status information of the currently connected different devices during the operation action interaction or business interaction process; then based on the data flow interaction status information, the transmission bandwidth or switch working state of the functional interface is adjusted, for example, when the data flow interaction status information indicates that the flow of the data flow is increasing, the transmission bandwidth of the functional interface is increased accordingly; when the data flow interaction status information indicates that there is no data flow interaction within the range of a preset time length, the working state of the functional interface is stopped, which can effectively ensure the normal and continuous operation of the Internet of Things platform.

[0077] In another embodiment, adjusting the working state of the functional interface based on the real-time task execution state of different devices currently connected includes:

[0078] Step S1, using the following formula (1), according to the data volume transmission status of different devices currently connected to the application layer, control the allocation of data processing space of the application layer,

[0079]

[0080] In the above formula (1), S F Indicates that the control allocates the data processing space of the application layer to be able to process S F The space for data volume; S(a) represents the data volume in the transmission state of the ath device currently connected to the application layer; n represents the total number of devices currently connected to the application layer; Indicates the maximum amount of data in the transmission state of all devices currently connected to the application layer;

[0081] Step S2, using the following formula (2), according to the data volume transmission status of different devices currently connected to the application layer, control the number of spare interfaces of the functional interface constructed inside the application layer,

[0082]

[0083] In the above formula (2), B(a) represents the number of interfaces that the ath device currently connected to the application layer needs to spare; Indicates rounding down;

[0084] Step S3, using the following formula (3), according to the real-time task execution status of different devices currently connected, adjust the working state of the functional interface,

[0085] R(a)=F{S(a)+S t-T (a)+S t-2T (a)=0} (3)

[0086] In the above formula (3), R(a) represents the working state control value of the functional interface of the ath device; t represents the current time; T represents the unit time; S t-T (a) represents the amount of data transmitted by the ath device connected to the application layer at time tT; S t-2T (a) represents the amount of data in the transmission state of the ath device connected to the application layer at time t-2T;

[0087] If R(a)=1, the function interface and the standby interface of the a-th device are controlled to be closed, and the standby interface of the a-th device is used as the standby interface of other devices;

[0088] If R(a)=0, the functional interface and the standby interface of the ath device are controlled to continue to work.

[0089] The beneficial effect of the above embodiment is that, by using the above formula (1), according to the data volume transmission status of different devices currently connected to the application layer, the data processing space of the application layer is controlled and allocated, thereby reserving part of the data processing threshold to ensure the stability of the system processing data; then by using the above formula (2), according to the data volume transmission status of different devices currently connected to the application layer, the number of spare interfaces of the functional interface constructed inside the application layer is controlled, and then the spare interface is used to ensure the accuracy of data transmission; then by using the above formula (3), according to the real-time task execution status based on different devices currently connected, the working state of the functional interface is adjusted, thereby changing the interface in real time, ensuring that the system reduces system power consumption and increases system reliability while ensuring normal task execution.

[0090] See also Figure 2As shown, a device access resolution system based on semantic recognition is provided in one embodiment of the present application. The device access resolution system based on semantic recognition includes:

[0091] The device identification module is used to identify all devices that need to be connected to the IoT platform and obtain the protocol attribute information supported by all devices;

[0092] A device connection processing module, configured to select or construct a network connection protocol compatible with the device from a known protocol stack based on the protocol attribute information, and connect the device to the application layer of the Internet of Things platform based on the network connection protocol;

[0093] A semantic unification module is used to build a unified semantic standard at the application layer, so as to perform protocol difference shielding processing on all devices currently connected to the application layer;

[0094] A semantic recognition module is used to perform semantic recognition on the instruction received by the application layer from the currently connected device to obtain corresponding instruction semantic information; compare the instruction semantic information with the unified semantic standard to determine the business / operation execution requirement information of the currently connected device;

[0095] A functional interface construction module, used to construct, within the application layer, functional interfaces between different devices currently connected to the application layer based on the business / operation execution requirement information;

[0096] The working state adjustment module is used to adjust the working state of the functional interface based on the real-time task execution state of different devices currently connected.

[0097] The beneficial effects of the above embodiments are as follows: the device access parsing system based on semantic recognition identifies all devices that need to access the Internet of Things platform, obtains the protocol attribute information supported by all devices, and selects or constructs a network connection protocol compatible with the device from the known protocol stack, thereby connecting the device to the application layer of the Internet of Things platform, improving the connection scalability of the Internet of Things platform to the device; constructs a unified semantic standard at the application layer to achieve one-language communication between different device entities, performs protocol difference shielding processing on all devices currently connected to the application layer, and compares the instruction semantic information corresponding to the device with the unified semantic standard to determine the business / operation execution requirement information of the currently connected device, so as to facilitate the accurate construction of functional interfaces between different devices currently connected to the application layer within the application layer, and timely adjust the working status of the functional interface, improve the flexibility and comprehensiveness of device access to the Internet of Things platform, and provide a convenient and reliable environment for the development of Internet of Things applications.

[0098] In another embodiment, the device identification module is used to identify all devices that need to access the Internet of Things platform, and obtain protocol attribute information supported by all devices, including:

[0099] Identify access requests initiated by all devices that need to access the Internet of Things platform, and obtain hardware type information and system type information of all devices; based on the hardware type information and the system type information, determine the network connection protocol attribute information supported by all devices; wherein the network connection protocol attribute information includes the type and content structure information of the network connection protocol supported by the device;

[0100] The device connection processing module is used to select or construct a network connection protocol compatible with the device from a known protocol stack based on the protocol attribute information, and connect the device to the application layer of the Internet of Things platform based on the network connection protocol, including:

[0101] Compare the network connection protocol attribute information with all known network connection protocols under the known protocol stack; if the known protocol stack contains a known network connection protocol that matches the network connection protocol attribute information, select the matching known network connection protocol as the network connection protocol compatible with the device; if the known protocol stack does not contain a known network connection protocol that matches the network connection protocol attribute information, select the top-level known protocol in the composite protocol of the network connection protocol, and develop the top-level known protocol to construct a network connection protocol compatible with the device;

[0102] Based on the application communication message frames of the application layer of the Internet of Things platform, the program interfaces of all applications within the application layer are determined; then, based on the network connection protocol compatible with the device, a connection channel between the device and the corresponding program interface is constructed to connect the device to the application layer.

[0103] The beneficial effect of the above-mentioned embodiments is that the Internet of Things platform, as a central control platform, can access corresponding devices, so as to realize the interaction between the Internet of Things platform and devices and between different devices. In actual operation, the accessed devices may be but are not limited to different types of devices such as sensor devices, data storage devices, edge computing devices and information devices. Different Internet of Things platforms are limited by their own device and protocol compatibility support capabilities. Under normal circumstances, they can only connect to specific types of devices and protocols. For other non-compatible supported devices and protocols, the Internet of Things platform will not be able to effectively expand the connection. To this end, the access requests initiated by all devices that need to access the Internet of Things platform are identified, and the hardware type information and system type information of all devices are obtained, so as to determine the network connection protocol attribute information supported by all devices, and provide a basis for judging whether the device is compatible with the Internet of Things platform. Specifically, the network connection protocol attribute information is compared with all known network connection protocols under the known protocol stack; if the known protocol stack contains a known network connection protocol that matches the network connection protocol attribute information, it indicates that the Internet of Things platform itself has a network connection protocol that is compatible with the corresponding device. At this time, the matching known network connection protocol is directly selected as the network connection protocol compatible with the device, so that the device can be connected to the Internet of Things platform using the matching known network connection protocol; if the known protocol stack does not contain a known network connection protocol that matches the network connection protocol attribute information, it indicates that the Internet of Things platform itself does not have a network connection protocol that is compatible with the corresponding device. In the case of a network connection protocol that is compatible with the device, other network connection protocols are needed to achieve the connection between the corresponding device and the IoT platform. However, directly calling a new network connection protocol from the outside world will not make the IoT platform compatible with the new network connection protocol. For this reason, a known network connection protocol that is closest to the attribute information of the network connection protocol is selected from the known protocol stack, and the closest known network connection protocol is adjusted to construct a network connection protocol that is compatible with the device. This can save the workload of calling a new network connection protocol and ensure that the adjusted closest known network connection protocol is compatible with the device and the IoT platform. In addition, based on the application communication message frame of the application layer of the IoT platform, the program interfaces of all applications within the application layer are determined, and then based on the network connection protocol that is compatible with the device, a connection channel between the device and the corresponding program interface is constructed, thereby connecting the device to the application layer, which can ensure the stability and reliability of the connection between the device and the IoT platform.

[0104] In another embodiment, the semantic unification module is used to construct a unified semantic standard at the application layer, so as to perform protocol difference shielding processing on all devices currently connected to the application layer, including:

[0105] Based on the network connection protocols corresponding to all the connection channels currently supported by the application layer, a unified semantic standard for the network connection protocols of all the connection channels is constructed at the application layer, so as to perform protocol difference shielding processing on all the devices currently connected to the application layer; wherein the unified semantic standard includes a general semantic standard library and a customized semantic standard library;

[0106] The semantic recognition module is used to perform semantic recognition on the instruction received by the application layer from the currently connected device to obtain corresponding instruction semantic information; compare the instruction semantic information with the unified semantic standard to determine the business / operation execution requirement information of the currently connected device, including:

[0107] The application layer performs semantic recognition on the command received from the currently connected device to obtain corresponding command semantic information, then compares the command semantic information with the unified semantic standard to identify the general semantic content or customized semantic content that matches the command semantic information; then, based on the general semantic content or the customized semantic content, determines the operation action type information or service type information that the currently connected device needs to perform.

[0108] The beneficial effect of the above embodiment is that in actual operation, based on the network connection protocols corresponding to all connection channels currently supported by the application layer, the communication language of the network connection protocols corresponding to all connection channels is uniformly standardized and converted, which can effectively shield the network connection protocol gaps between the underlying device entities under the Internet of Things platform and achieve one-language communication between all device entities. The unified semantic standard is also set to include a general semantic standard library and a customized semantic standard library, wherein the general semantic standard library may include semantic content corresponding to the functions supported by any device entity; the customized semantic standard library may include semantic content corresponding to functions implemented for the business needs of different device entities. In addition, the application layer performs semantic recognition on the instructions received from the currently connected device to obtain corresponding instruction semantic information, and then compares the instruction semantic information with the unified semantic standard to identify the general semantic content or customized semantic content that matches the instruction semantic information, so as to determine the operation action type information or business type information that the currently connected device needs to perform, thereby providing a reliable basis for the subsequent construction of the functional interface.

[0109] In another embodiment, the functional interface construction module is used to construct, within the application layer, functional interfaces between different devices currently connected to the application layer based on the service / operation execution requirement information, including:

[0110] Based on the operation action type information or service type information that the currently connected device needs to perform, determine the device identity information on which the operation action interaction or service interaction needs to occur; based on the device identity information, construct a functional interface between different devices currently connected to the application layer within the application layer;

[0111] The working state adjustment module is used to adjust the working state of the functional interface based on the real-time task execution state of different devices currently connected, including:

[0112] Obtain the real-time task execution logs of different currently connected devices, analyze the real-time task execution logs, and obtain the data flow interaction status information of the operation action interaction or business interaction process of the different currently connected devices; then adjust the transmission bandwidth or switch working status of the functional interface based on the data flow interaction status information.

[0113] The beneficial effect of the above embodiment is that based on the operation action type information or business type information that the currently connected device needs to perform, the device identity information that needs to undergo operation action interaction or business interaction is determined, so as to construct a functional interface between different devices currently connected to the application layer within the application layer, and the functional interface constructed in this way can stably implement the corresponding data interaction function within the application layer. In addition, the real-time task execution logs of the currently connected different devices are obtained, and the real-time task execution logs are analyzed to obtain the data flow interaction status information of the currently connected different devices during the operation action interaction or business interaction process; then based on the data flow interaction status information, the transmission bandwidth or switch working state of the functional interface is adjusted, for example, when the data flow interaction status information indicates that the flow of the data flow is increasing, the transmission bandwidth of the functional interface is increased accordingly; when the data flow interaction status information indicates that there is no data flow interaction within the range of a preset time length, the working state of the functional interface is stopped, which can effectively ensure the normal and continuous operation of the Internet of Things platform.

[0114] In general, the device access parsing method and system based on semantic recognition identify all devices that need to access the Internet of Things platform, obtain the protocol attribute information supported by all devices, and select or construct a network connection protocol compatible with the device from the known protocol stack, so as to connect the device to the application layer of the Internet of Things platform, and improve the connection scalability of the Internet of Things platform to the device; build a unified semantic standard at the application layer to achieve one-language communication between different device entities, perform protocol difference shielding on all devices currently connected to the application layer, and compare the instruction semantic information corresponding to the device with the unified semantic standard to determine the business / operation execution requirement information of the currently connected device, so as to facilitate the accurate construction of functional interfaces between different devices currently connected to the application layer within the application layer, and timely adjust the working status of the functional interface, improve the flexibility and comprehensiveness of device access to the Internet of Things platform, and provide a convenient and reliable environment for the development of Internet of Things applications.

[0115] The above is only a specific implementation of the present invention, and any other improvements made based on the concept of the present invention are considered to be within the protection scope of the present invention.

Claims

1. A device access parsing method based on semantic recognition, characterized in that: include: Identify all devices that need to be connected to the IoT platform and obtain the protocol attribute information supported by all devices; Based on the protocol attribute information, select or construct a network connection protocol compatible with the device from a known protocol stack, and connect the device to the application layer of the Internet of Things platform based on the network connection protocol; Constructing a unified semantic standard at the application layer to perform protocol difference shielding processing on all devices currently connected to the application layer; Performing semantic recognition on the instruction received by the application layer from the currently connected device to obtain corresponding instruction semantic information; comparing the instruction semantic information with the unified semantic standard to determine the service / operation execution requirement information of the currently connected device; Based on the business / operation execution requirement information, constructing functional interfaces between different devices currently connected to the application layer within the application layer; And based on the real-time task execution status of different devices currently connected, the working status of the functional interface is adjusted.

2. The device access parsing method based on semantic recognition according to claim 1, characterized in that: Identify all devices that need to access the Internet of Things platform respectively, and obtain protocol attribute information supported by all devices; based on the protocol attribute information, select or construct a network connection protocol compatible with the device from a known protocol stack, and connect the device to the application layer of the Internet of Things platform based on the network connection protocol, including: Identify access requests initiated by all devices that need to access the Internet of Things platform, and obtain hardware type information and system type information of all devices; based on the hardware type information and the system type information, determine the network connection protocol attribute information supported by all devices; wherein the network connection protocol attribute information includes the type and content structure information of the network connection protocol supported by the device; Compare the network connection protocol attribute information with all known network connection protocols under a known protocol stack; if the known protocol stack contains a known network connection protocol that matches the network connection protocol attribute information, select the matching known network connection protocol as a network connection protocol compatible with the device; if the known protocol stack does not contain a known network connection protocol that matches the network connection protocol attribute information, select the top-level known protocol in the composite protocol of the network connection protocol, and develop the top-level known protocol to construct a network connection protocol compatible with the device; Based on the application communication message frame of the application layer of the Internet of Things platform, the program interfaces of all the applications within the application layer are determined; then based on the network connection protocol compatible with the device, a connection channel between the device and the corresponding program interface is constructed, thereby connecting the device to the application layer.

3. The device access parsing method based on semantic recognition according to claim 2, characterized in that: Constructing a unified semantic standard at the application layer to perform protocol difference shielding processing on all devices currently connected to the application layer; Performing semantic recognition on the command received by the application layer from the currently connected device to obtain corresponding command semantic information; Comparing the instruction semantic information with the unified semantic standard to determine the service / operation execution requirement information of the currently connected device, including: Based on the network connection protocols corresponding to all the connection channels currently supported by the application layer, a unified semantic standard for the network connection protocols of all the connection channels is constructed at the application layer, so as to perform protocol difference shielding processing on all the devices currently connected to the application layer; wherein the unified semantic standard includes a general semantic standard library and a customized semantic standard library; Perform semantic recognition on the instructions received by the application layer from the currently connected device to obtain corresponding instruction semantic information, then compare the instruction semantic information with the unified semantic standard to identify general semantic content or customized semantic content that matches the instruction semantic information; then, based on the general semantic content or the customized semantic content, determine the operation action type information or business type information that the currently connected device needs to perform.

4. The device access parsing method based on semantic recognition according to claim 3, characterized in that: Based on the business / operation execution requirement information, constructing functional interfaces between different devices currently connected to the application layer within the application layer; And based on the real-time task execution status of different devices currently connected, the working status of the functional interface is adjusted, including: Based on the operation action type information or service type information that the currently connected device needs to perform, determine the device identity information for which the operation action interaction or service interaction needs to occur; Based on the device identity information, constructing functional interfaces between different devices currently connected to the application layer within the application layer; Obtain the real-time task execution logs of different currently connected devices, analyze the real-time task execution logs, and obtain data flow interaction status information during the operation action interaction or business interaction process of the different currently connected devices; then adjust the transmission bandwidth or switch working status of the functional interface based on the data flow interaction status information.

5. The device access parsing method based on semantic recognition according to claim 1, characterized in that: Based on the real-time task execution status of different devices currently connected, the working status of the functional interface is adjusted, including: Step S1, using the following formula (1), according to the data volume transmission status of different devices currently connected to the application layer, control the allocation of the data processing space of the application layer, In the above formula (1), S F Indicates that the control allocates the data processing space of the application layer to be able to process S F The space for data volume; S(a) represents the data volume in the transmission state of the ath device currently connected to the application layer; n represents the total number of devices currently connected to the application layer; Indicates the maximum amount of data in the transmission state of all devices currently connected to the application layer; Step S2, using the following formula (2), according to the data volume transmission status of different devices currently connected to the application layer, control the number of spare interfaces of the functional interface constructed inside the application layer, In the above formula (2), B(a) represents the number of interfaces that the ath device currently connected to the application layer needs to spare; Indicates rounding down; Step S3, using the following formula (3), according to the real-time task execution status of different devices currently connected, adjust the working state of the functional interface, R(a)=F{S(a)+S t-T (a)+S t-2T (a)=0} (3) In the above formula (3), R(a) represents the working state control value of the functional interface of the ath device; t represents the current time; T represents the unit time; S t-T (a) represents the amount of data transmitted by the ath device connected to the application layer at time tT; S t-2T (a) represents the amount of data in the transmission state of the ath device connected to the application layer at time t-2T; If R(a)=1, the function interface and the standby interface of the a-th device are controlled to be closed, and the standby interface of the a-th device is used as the standby interface of other devices; If R(a)=0, the functional interface and the standby interface of the ath device are controlled to continue to work.

6. The device access analysis system based on semantic recognition is characterized by: include: The device identification module is used to identify all devices that need to be connected to the IoT platform and obtain the protocol attribute information supported by all devices; A device connection processing module, configured to select or construct a network connection protocol compatible with the device from a known protocol stack based on the protocol attribute information, and connect the device to the application layer of the Internet of Things platform based on the network connection protocol; A semantic unification module, used to construct a unified semantic standard at the application layer, so as to perform protocol difference shielding processing on all devices currently connected to the application layer; A semantic recognition module, used to perform semantic recognition on the instruction received by the application layer from the currently connected device to obtain corresponding instruction semantic information; compare the instruction semantic information with the unified semantic standard to determine the business / operation execution requirement information of the currently connected device; a functional interface construction module, used to construct functional interfaces between different devices currently connected to the application layer within the application layer based on the business / operation execution requirement information; The working state adjustment module is used to adjust the working state of the functional interface based on the real-time task execution state of different devices currently connected.

7. The device access parsing system based on semantic recognition according to claim 6, characterized in that: The device identification module is used to identify all devices that need to access the Internet of Things platform and obtain the protocol attribute information supported by all devices, including: Identify access requests initiated by all devices that need to access the Internet of Things platform, and obtain hardware type information and system type information of all devices; based on the hardware type information and the system type information, determine the network connection protocol attribute information supported by all devices; wherein the network connection protocol attribute information includes the type and content structure information of the network connection protocol supported by the device; The device connection processing module is used to select or construct a network connection protocol compatible with the device from a known protocol stack based on the protocol attribute information, and connect the device to the application layer of the Internet of Things platform based on the network connection protocol, including: Compare the network connection protocol attribute information with all known network connection protocols under a known protocol stack; if the known protocol stack contains a known network connection protocol that matches the network connection protocol attribute information, select the matching known network connection protocol as a network connection protocol compatible with the device; if the known protocol stack does not contain a known network connection protocol that matches the network connection protocol attribute information, select the top-level known protocol in the composite protocol of the network connection protocol, and develop the top-level known protocol to construct a network connection protocol compatible with the device; Based on the application communication message frame of the application layer of the Internet of Things platform, the program interfaces of all the applications within the application layer are determined; then based on the network connection protocol compatible with the device, a connection channel between the device and the corresponding program interface is constructed, thereby connecting the device to the application layer.

8. The device access parsing system based on semantic recognition according to claim 7, characterized in that: The semantic unification module is used to construct a unified semantic standard at the application layer, so as to perform protocol difference shielding processing on all devices currently connected to the application layer, including: Based on the network connection protocols corresponding to all the connection channels currently supported by the application layer, a unified semantic standard for the network connection protocols of all the connection channels is constructed at the application layer, so as to perform protocol difference shielding processing on all the devices currently connected to the application layer; wherein the unified semantic standard includes a general semantic standard library and a customized semantic standard library; The semantic recognition module is used to perform semantic recognition on the instruction received by the application layer from the currently connected device to obtain corresponding instruction semantic information; compare the instruction semantic information with the unified semantic standard to determine the business / operation execution requirement information of the currently connected device, including: Perform semantic recognition on the instructions received by the application layer from the currently connected device to obtain corresponding instruction semantic information, then compare the instruction semantic information with the unified semantic standard to identify general semantic content or customized semantic content that matches the instruction semantic information; then, based on the general semantic content or the customized semantic content, determine the operation action type information or business type information that the currently connected device needs to perform.

9. The device access parsing system based on semantic recognition as claimed in claim 8, characterized in that: The functional interface construction module is used to construct functional interfaces between different devices currently connected to the application layer within the application layer based on the business / operation execution requirement information, including: Based on the operation action type information or service type information that the currently connected device needs to perform, determine the device identity information on which the operation action interaction or service interaction needs to occur; based on the device identity information, construct a functional interface between different devices currently connected to the application layer within the application layer; The working state adjustment module is used to adjust the working state of the functional interface based on the real-time task execution state of different devices currently connected, including: Obtain the real-time task execution logs of different currently connected devices, analyze the real-time task execution logs, and obtain data flow interaction status information during the operation action interaction or business interaction process of the different currently connected devices; then adjust the transmission bandwidth or switch working status of the functional interface based on the data flow interaction status information.

Citation Information

Patent Citations

  • Manufacturing equipment multi-modal data intelligent analysis method based on OPCUA protocol

    CN114816913A

  • Cross-platform equipment monitoring method and system based on OPC UA protocol

    CN116886516A

  • Equipment terminal access dual authentication method and system oriented to Internet of Things

    CN117857148A

  • Network aware application dependent adaptive protocol selection for IoT communications

    US20170180277A1

Cited By

  • Intelligent equipment access system and access method based on AI large model

    CN119964569A

  • Quick access system for Internet of Things sensing equipment

    CN120935216A

  • Industrial IoT-oriented equipment adaptive access method and system

    CN121567791A

  • Device adaptive access method and system for industrial iot

    CN121567791B