WO2023000726A1 - Device reverse integration access method, device reverse integration management method and system, and computer device - Google Patents
Device reverse integration access method, device reverse integration management method and system, and computer device Download PDFInfo
- Publication number
- WO2023000726A1 WO2023000726A1 PCT/CN2022/087194 CN2022087194W WO2023000726A1 WO 2023000726 A1 WO2023000726 A1 WO 2023000726A1 CN 2022087194 W CN2022087194 W CN 2022087194W WO 2023000726 A1 WO2023000726 A1 WO 2023000726A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- newly added
- server
- information
- object model
- edge gateway
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 238000007726 management method Methods 0.000 title claims abstract description 33
- 230000010354 integration Effects 0.000 title description 8
- 230000002441 reversible effect Effects 0.000 title description 6
- 238000004590 computer program Methods 0.000 claims description 21
- 238000004891 communication Methods 0.000 abstract description 7
- 230000000694 effects Effects 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 12
- 238000011161 development Methods 0.000 description 8
- 238000013507 mapping Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 230000008676 import Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 206010033799 Paralysis Diseases 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16Y—INFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
- G16Y30/00—IoT infrastructure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
Definitions
- the present application relates to the technical field of the Internet of Things, and in particular to a device access method, device, system, computer device and storage medium, and a device management method, device, system, computer device and storage medium.
- the Internet of Things refers to the connection of any object with the network through information sensing equipment according to the agreed agreement, and the object exchanges information and communicates through the information transmission medium to realize intelligent identification, positioning, tracking, supervision and other functions.
- To use a device in the Internet of Things it needs to complete registration and access in the Internet of Things platform before performing other operations.
- Conventional device access methods include device self-discovery access methods.
- the device self-discovery function can realize that after the device is powered on, the device can automatically call the registration interface of the IoT platform to quickly realize the automatic discovery and registration of the device.
- Devices can be connected to the IoT platform without human intervention.
- the current device access method requires manual access for non-intelligent devices that cannot be actively integrated into the IoT platform, and the cost of manual access is high.
- a device access method comprising:
- Synchronizing the device information to a server so that the server registers the newly added device according to the device information, and accesses the newly added device.
- a device management method comprising:
- Receive device information corresponding to the newly added device information uploaded by the edge gateway wherein, the determination of the device information includes: when the edge gateway detects a newly added device within a preset address range, acquiring the device information of the newly added device ;
- a device access device comprising:
- a detection module configured to detect devices within a preset address range
- An information obtaining module configured to obtain device information of the newly added device when a newly added device is detected within the preset address range
- a cloud-edge collaboration module configured to synchronize the device information to a server, so that the server registers the newly added device according to the device information, and accesses the newly added device.
- An equipment management device comprising:
- the data receiving module is used to receive the device information corresponding to the new device information uploaded by the edge gateway; wherein, the determination of the device information includes: when the edge gateway detects a new device within a preset address range, obtain the Add device information of the device;
- a registration module configured to register the newly added device according to the device information.
- a device management system comprising: a server and an edge gateway;
- the edge gateway is used to detect devices within a preset address range; when a new device is detected within the preset address range, obtain device information of the newly added device; and synchronize the device information to the server;
- the server is configured to receive device information corresponding to the newly added device information uploaded by the edge gateway, register the newly added device according to the device information, and access the newly added device.
- a computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method in any one of the above embodiments when executing the computer program.
- a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method in any one of the above-mentioned embodiments are implemented.
- the edge gateway detects whether there is a new device within the preset address range, and if so, obtains the device information of the new device, and sends the device The information is synchronized to the server, so that the server can register the newly added device according to the device information, and access the newly added device; the subsequent server can obtain or manage the relevant data of the newly added device through the edge gateway.
- the above method uses the edge gateway to actively detect and discover devices within the specified address range, and obtain device information through communication with the device, which can be applied to non-intelligent devices to achieve the effect of automatically connecting the device to the server to complete the registration. It reduces the difficulty of manual access to non-intelligent devices, and at the same time reduces the labor cost required for device access.
- Fig. 1 is an application environment diagram of a device access method and a device management method in an embodiment
- FIG. 2 is a schematic flowchart of a device access method in an embodiment
- FIG. 3 is a schematic flowchart of a device access method in another embodiment
- FIG. 4 is a schematic flowchart of a device access method in another embodiment
- Fig. 5 is a schematic flowchart of a device access method and a device management method in an embodiment
- Fig. 6 is a schematic diagram of the architecture between the IoT platform, the edge gateway and the gate in a specific embodiment
- Figure 7 (1) is a schematic diagram of the interface of the input object model in the IoT platform in a specific embodiment
- Figure 7(2) is a schematic diagram of an interface for modifying or adding attributes, services, and events to an already created object model in a specific embodiment
- Fig. 7 (3) is the interface schematic diagram of the result that object model input finishes in a specific embodiment
- FIG. 8 is a schematic flowchart of a device access method in an embodiment
- Fig. 9 is a structural block diagram of a device access device in an embodiment
- Fig. 10 is a structural block diagram of an equipment management device in an embodiment
- Figure 11 is a diagram of the internal structure of a computer device in one embodiment.
- the device access method and device management method provided in this application can be applied to the application environment shown in FIG. 1 .
- the edge gateway 101 communicates with the device 102 and the server 103 through the network.
- the edge gateway 101 detects whether there is a newly added device 102 within the preset address range, and if so, obtains the device information of the newly added device 102, and synchronizes the device information to the server 103, so that the server 103 registers the newly added device according to the device information , to access the newly added device; the subsequent server 103 may acquire or manage the relevant data of the newly added device through the edge gateway 102 .
- the device 102 can be, but not limited to, various industrial devices such as gates, water and electricity meters, sensors and other physical devices, and the server 103 can be realized by an independent server or a server cluster composed of multiple servers.
- server 103 may be a cloud server.
- the Internet of Things refers to the real-time collection of any information that needs to be monitored, connected, and interacted with through various devices and technologies such as information sensors, radio frequency identification technology, global positioning system, infrared sensors, and laser scanners. Objects or processes, collect various required information such as sound, light, heat, electricity, mechanics, chemistry, biology, location, etc., and realize the ubiquitous connection between things and things, things and people through various possible network access , to achieve intelligent perception, identification and management of items and processes.
- the Internet of Things is an information carrier based on the Internet, traditional telecommunication networks, etc. It allows all ordinary physical objects that can be independently addressed to form an interconnected network.
- Cloud IoT aims to connect the information sensed and accepted instructions of sensor devices in the traditional Internet of Things to the Internet, truly realize networking, and realize massive data storage and computing through cloud computing technology. Due to the Internet of Things The characteristic is that things are connected to each other, and the current operating status of each "object" is sensed in real time. In this process, a large amount of data information will be generated. How to summarize these information and how to screen out useful information from massive information to make decisions for subsequent development have become key issues affecting the development of the Internet of Things, and the Internet of Things cloud based on cloud computing and cloud storage technology has therefore become a strong support for Internet of Things technologies and applications.
- the smart devices and non-smart devices involved are a set of relative concepts.
- the smart device means that after the device is powered on, the device side can use Device self-discovery technology, by calling the registration interface of the IoT platform to report device protocol information, completes the active integration of devices to the IoT platform.
- a non-intelligent device means that there is no intelligent control. After the device is powered on, the device self-discovery technology cannot be used to actively call the registration interface of the IoT platform to report the device protocol information after the device is powered on. There is no way for the device to be automatically discovered by the IoT platform.
- this application proposes a device access method for non-intelligent devices, which may also be called a device reverse integration method. Understandably, this method can also be implemented in smart devices.
- the device self-discovery technology use the LAN multicast technology to realize the IP and port discovery between the device and the station gateway, and establish a connection with the station gateway through a privatization protocol.
- the device self-discovery technology uses the LAN multicast technology to realize the IP and port discovery between the device and the station gateway, and establish a connection with the station gateway through a privatization protocol.
- Device reverse integration technology Through the detection technology of the Internet of Things gateway, detect and find the equipment that meets the requirements corresponding to the communication protocol of the existing system, and use a set of low-code software to realize the production of the protocol package, and provide the protocol package to the gateway operation, so that the gateway can complete the registration for the device; study the application breadth and integration degree of IoT technology to develop and innovate in the industrial field, realize the unified reverse integration of equipment into the IoT platform, and finally achieve the goal of maintaining the original professional system or device function.
- the data of industrial control equipment or systems is pulled and packaged into standard object model data and reported to the IoT platform. It can also be controlled by the application of the IoT platform according to the standard IoT platform control interface and protocol.
- a device access method is provided.
- the method is applied to the edge gateway in FIG. 1 as an example for illustration, including steps S210 to S230.
- Step S210 detecting devices within a preset address range.
- the preset address range is predefined; in one embodiment, the preset address range includes an IP address range. Further, in an embodiment, the preset address range can be obtained according to a protocol.
- the server acquires device definition information, and after generating a corresponding object model according to the device definition information, updates the protocol corresponding to the newly generated object model in the protocol library.
- the edge gateway regularly scans the protocol library, and when it scans the protocol of the new object model, it obtains the corresponding address range according to the protocol as the default address range.
- device represents a physical device.
- the device represents an Internet of Things device.
- an Internet of Things device may be, but not limited to, an industrial device such as a gate, a water and electricity meter, or a sensor or the like.
- detecting devices in a preset address range includes: scanning for devices appearing in a preset address range. Further, in one embodiment, detecting devices within a preset address range includes: scanning for devices that appear within a preset address range according to a preset frequency.
- the preset frequency can be set according to the actual situation, for example, the preset product can be set to scan once every 10 minutes, scan 5 times every hour, and so on.
- the edge gateway detection device needs to meet preset preconditions.
- the preset precondition is defined according to the actual situation.
- the preset preconditions may include information such as limited number of devices.
- Step S220 when a newly added device is detected within the preset address range, obtain device information of the newly added device.
- Newly added devices represent devices detected for the first time, that is, devices that have never been detected before.
- it may be determined whether the detected device is a newly added device according to information such as the address of the device and the device identifier.
- the device identification information can be obtained and stored.
- the device identification information is also obtained for the detected device, and the device identification information detected twice adjacently is stored. By comparison, it can be determined whether there is a new device in this detection.
- the device identification information can be set as the network address of the device, the unique identification code of the device (such as the factory identification code) and other information according to the actual situation.
- the edge gateway when the device is powered on within the preset address range, it can be detected by the edge gateway.
- the device information to be obtained may include any kind of device information; in one embodiment, the device information may include device name, device type, network address of the device, model number , serial number, manufacturer, required functions and logic instructions, etc. In other embodiments, the device information may also include other information.
- step S230 the device information is synchronized to the server, so that the server registers the newly added device according to the device information, and accesses the newly added device.
- the server is a server corresponding to the IoT platform.
- the server is a cloud server.
- To register a device on the platform it is necessary to send and synchronize the device information to the server, so that the server can register the newly added device according to the device information, and realize the access to the newly added device.
- the registration of the newly added device by the server according to the device information may be implemented in any manner.
- the edge gateway detects whether there is a new device within the preset address range, and if so, obtains the device information of the new device, and synchronizes the device information to the server, so that the server can update the new device according to the device information. Register and access the newly added device; the subsequent server can obtain or manage the relevant data of the newly added device through the edge gateway.
- the above method uses the edge gateway to actively detect and discover devices within the specified address range, and obtain device information through communication with the device. The effect of accessing to the server to complete the registration reduces the difficulty of manual access to non-intelligent devices, and at the same time reduces the labor cost required for device access.
- synchronizing the device information to the server so that the server registers the newly added device according to the device information includes: determining the corresponding point file of the newly added device according to the device information; The file generates identification information of the newly added device, and registers the newly added device based on the identification information.
- the point file is a data package.
- the point file is a point UI (user Interface, user interface) file, which is used to configure, monitor and control the running state of the device.
- the server will generate the unique identifier of the newly added device in the platform according to the information in the point file.
- the unique identifier can be used by candidates to query information about newly added devices in the platform.
- the unique identifier of the generated device includes pid information (device identifier) and din information (component identifier).
- the point file can be generated by Marswindow.
- Marswindow is a debugging tool developed by SCHIDERON, which is used to configure the connection information between the edge gateway and the professional system on the equipment side.
- Marswindow automatically imports or manually generates a point UI file according to the project program, and uploads it to the edge gateway.
- the above method further includes steps S310 to S330.
- step S310 the object model corresponding to the target device is pulled from the server; the object model is pre-generated based on the device definition data of the target device.
- the target device represents a device that needs to manage or acquire corresponding data; in one embodiment, the target device is any one of the devices that have completed registration in the server.
- the state of the target device is an enabled state; the enabled state indicates that the device is in a normal operating state.
- the object model represents the digital representation of the entity in the physical space (such as sensors, vehicle-mounted devices, buildings, factories, etc.) in the server, and describes what the entity is and what it can do from the three dimensions of attributes, services, and events. , What information can be provided externally.
- the three dimensions of the object model are defined, that is, the definition of product functions is completed:
- Property The ability of a device to be read and set. It is generally used to describe the state of the equipment during operation, such as the current ambient temperature read by the environmental monitoring equipment, etc. Attributes support GET and SET request methods. The application system can initiate read and set requests for properties.
- Service The ability or method of the device that can be called externally, and the input parameters and output parameters can be set. What functions does the product provide for the server to call. Compared with attributes, services can implement more complex business logic through an instruction, such as performing a specific task.
- Event The event that is actively reported to the server when the device is running. Events generally contain notification information that needs to be perceived and processed externally, and can contain multiple output parameters. For example, information about the completion of a certain task, or the temperature when a device fails or an alarm occurs, etc., events can be subscribed and pushed.
- the object model corresponding to the device in the server is pre-generated according to the obtained device definition information.
- the specific creation process of the object model will be introduced in detail in other embodiments, and will not be repeated here.
- each device is accessed as a device point, and the device definition data can be expressed in the form of a mapping point table.
- the mapping point table corresponds to the model in the server; the meaning of the point table:
- variable points are referred to as points for short, and the number of variables used in the automation control system is called points.
- Point tables are mostly related to equipment and are used to represent the usage of various variables in the system.
- the point table is an important basis and protocol standard for equipment providers, software providers, and system integrators.
- the construction of the entire automation control system is based on the description and regulations of the variables in the point table.
- each variable will have a corresponding unique variable name, device name, device address, register, register address and other related content.
- the object model is generated by manually entering the device point table information provided by the device manufacturer into the Suiteng OS system, and after the object model is generated, the space structure provides the object model query interface to the application side and the device gateway side.
- the determination of the object model further includes: when the server receives the updated device definition data, the server updates the object model based on the updated device definition data; in this embodiment, the slave server Pulling the object model corresponding to the target device includes: pulling the object model corresponding to the target device from the server every preset time period.
- the edge gateway Since the corresponding object model can be updated in the server according to the received updated device definition data, the edge gateway needs to pull the latest object model of the target device from the server every preset time period.
- Step S320 acquiring equipment operation data of the target equipment according to the object model.
- the device operation data represents relevant data during the operation of the device.
- the new device After uploading the device information of the detected new device to the server, making the server register the new device according to the device information, and connecting the new device to the server, the new device can work in the server, specifically
- the server can send instructions to the device through the edge gateway to manage the device, or the server can obtain the operating data of the device through the edge gateway.
- the properties, services and events of the device are defined in the object model, and the data that the device needs to report to the server during operation can be known through the object model.
- the data that the target device needs to report to the server includes the temperature and humidity collected by the target device, then in this embodiment, the temperature collected during the operation of the target device is obtained according to the object model (such as 25 °C) and humidity (such as 74%).
- Step S330 feeding back the device operation data to the server.
- the device operation data of the target device is obtained, the device operation data is fed back to the server, so that the server can obtain the operation data of the device connected to the edge gateway.
- the device object model is pulled from the server, and the device operation data of the corresponding device is obtained according to the object model, and the edge gateway feeds back the device operation data to the server, so that the server can obtain the device operation data.
- the object model can be updated by modifying the device definition data in the server. Therefore, when the device is added or deleted or some functions are adjusted, the data obtained by the device itself can be achieved by adjusting the corresponding object model in the server. adaptive adjustment.
- the above method further includes: receiving a device state setting instruction, and adjusting the device state of the corresponding device according to the device state setting instruction.
- the device state setting instruction represents an instruction for setting the device state; in one embodiment, the device state includes an enabled state and a disabled state. After the registration of the device is completed in the server according to the device information, the state of the device can be set in the edge gateway, such as setting the state of the device as enabled or disabled; correspondingly, the corresponding device state setting instruction includes setting as A device state setting instruction that is enabled, and a device state setting instruction that is set to be disabled.
- setting the device status as enabled means setting the device in disabled status as enabled. Further, in one embodiment, if it is detected that the device status setting instruction is set to enable, the unique identifier of the device in the server is obtained, and the unique identifier is reported to the server, so that the server sets the device to enable according to the unique identifier . Further, in a specific embodiment, after the server sets the device as enabled, the device is displayed on the user interface of the server.
- setting the device state to be disabled is to set the device in the enabled state to be disabled. Further, in one embodiment, if it is detected that the device status setting instruction is set as disabled, a logout request corresponding to the device is sent to the server, so that the server sets the corresponding device as disabled according to the logout request. Further, in a specific embodiment, after the server sets the device as disabled, the device will no longer be displayed on the user interface of the server.
- the device status can be set to be enabled or disabled through the Marswindow UI interface.
- the present application also provides a device management method, which is described by taking the method applied to the server in FIG. 1 as an example.
- the device management method includes: receiving device information corresponding to newly added device information uploaded by the edge gateway; Wherein, the determination of the device information includes: when the edge gateway detects a new device within a preset address range, obtains the device information of the new device; and registers the new device according to the device information.
- the edge gateway refers to the IoT protocol gateway deployed on the edge of the network, which is close to the edge of the network such as industrial equipment, sensors and other physical devices, also known as the edge gateway, which is mainly responsible for the function of IoT protocol conversion.
- the edge gateway is the last layer of physical entity in the Internet of Things system where the end-side device data leads to the cloud, so it is of great significance to realize the collaborative computing of the end-edge-cloud (terminal device, edge computing and cloud computing). Newly added devices represent devices detected for the first time, that is, devices that have never been detected before.
- the registration of the newly added device by the server according to the device information may be implemented in any manner.
- registering a newly added device according to device information includes step S410 and step S420 . in:
- Step S410 regularly query the point file; the point file is determined by the edge gateway according to the device information of the newly added device.
- the point file is a data package.
- the spot file is a spot UI file, which is used to configure, monitor and control the running state of the device.
- the point file can be generated by Marswindow.
- Marswindow automatically imports or manually generates a point UI file according to the project program, and uploads it to the edge gateway.
- the server implements periodic query of point files through middleware.
- Step S420 when it is detected that the point file is updated, the identification information of the newly added device is generated according to the updated point file, and the newly added device is registered based on the identification information.
- the server when the server detects that the point file is updated, it indicates that a new device has been detected. At this time, the server generates the identification information of the new device according to the device information of the new device updated in the point file. In one embodiment, the server will generate the unique identifier of the newly added device in the platform according to the information in the dot file. The unique identifier can be used by candidates to query information about newly added devices in the platform. In a specific embodiment, the generated unique identifier of the device includes pid information (device identifier) and din information (component identifier).
- the newly added device is registered based on the identification information, that is, the process of discovering and accessing the newly added device is completed.
- the server determines whether a new device has been scanned by regularly querying the point file in the edge gateway. If the point file is updated, it means that a new device has been scanned, and the server will update the device information in the point file as The newly added device generates a unique identifier in the server, and then completes the registration and access of the newly added device based on the unique identifier.
- the edge gateway before receiving the device information corresponding to the newly added device information uploaded by the edge gateway, it also includes: obtaining the device definition data corresponding to the newly added device; generating an object model corresponding to the newly added device according to the device definition data, and storing object model.
- the device definition data represents relevant data for defining the device; according to the device definition data, a corresponding object model can be generated in the server.
- the device definition data may include at least one of a model type, a model name, an attribute, an event, and a service corresponding to the device.
- attributes, events, and services represent the definitions in the object model. Attributes, events, and services describe what the entity is, what it can do, and what information it can provide externally. These three dimensions of the object model are defined. That is to say, the definition of product function is completed.
- the device definition data may be input by the user, or may be obtained from a corresponding database.
- the corresponding object model is generated in advance according to the device definition data, and the object model of the device is defined.
- the edge gateway detects and accesses the new device, it can determine the required Obtain the data of the new object model for reporting, as well as the instructions needed to control the new equipment and other information.
- the object model after generating the object model corresponding to the newly added device according to the device definition data and storing the object model, it also includes: when receiving the updated device definition data of the newly added device, according to the updated device definition data, The model is updated.
- the object model is pre-registered in the server.
- the device definition data can be updated in the server, and a corresponding updated object model can be generated according to the updated device definition data.
- Subsequent edge gateways will report device operating data and manage devices based on the updated physical model.
- the above method further includes: using the low-code platform, a protocol package can be generated for the attribute field of the object model for use by the IoT gateway.
- the low-code platform (LCDP) is a development platform that can quickly generate applications without coding (0 code) or with a small amount of code.
- the low-code platform may be any low-code platform.
- the protocol package is updated to the protocol library.
- the edge gateway regularly scans the protocol library, and if it finds that there is an updated protocol package in the protocol library, it obtains the preset address range according to the protocol package, and detects new devices within the preset address range. After the IoT gateway is powered on, it can reversely detect non-intelligent devices in the object model, and automatically complete device access and protocol conversion by calling the protocol package.
- the development cost required for protocol conversion is high.
- the reduction Reduce the labor cost of secondary development caused by the change of equipment protocol.
- the protocol changes it only needs to update the object model on the IoT platform.
- the edge gateway will regularly detect the protocol change and perform standardized protocol conversion.
- the above method can also be used for non-standard protocols. Automatic conversion to standard protocols for use by gateway platforms.
- the present application also provides a device management system, including: a server and an edge gateway; wherein: the edge gateway is used to detect devices within a preset address range; when a new device is detected within a preset address range , obtain the device information of the newly added device; synchronize the device information to the server; the server is used to receive the device information corresponding to the newly added device information uploaded by the edge gateway, register the newly added device according to the device information, and access the newly added device.
- the edge gateway is used to detect devices within a preset address range; when a new device is detected within a preset address range , obtain the device information of the newly added device; synchronize the device information to the server; the server is used to receive the device information corresponding to the newly added device information uploaded by the edge gateway, register the newly added device according to the device information, and access the newly added device.
- the present application also provides an application scenario, where the above-mentioned device access method and device management method are applied.
- Figure 5 it is a schematic flow diagram of the device access method and device management method in this embodiment; Suiteng OS (operating system, operating system) shown in the figure is a large system, with IoT, Subsystems such as Internet of Vehicles, monitoring, and operation and maintenance; the Internet of Things platform is a subsystem under Suiteng OS.
- Suiteng OS operating system, operating system
- IoT Internet of Vehicles
- the Internet of Things platform is a subsystem under Suiteng OS.
- users can interact with the device management system through Suiteng OS.
- the application of the device access method and device management method in this application scenario is as follows:
- the above method is applied to an urban rail industrial control system, where the involved equipment is a gate, the edge gateway is a station edge gateway, and the server is an IoT platform as an example, including the following steps:
- the edge gateway After the new gate device is powered on and connected to the network, if the self-discovery and reverse integration preconditions are met, Marswindow in the edge gateway will complete the device identification.
- the newly added gate device automatically broadcasts and reports its own information when it is powered on, including sn (device serial number), device address, and the functions and logic instructions required by the device.
- sn device serial number
- device address device address
- the edge gateway needs to ensure the correctness of the received data when multiple devices (such as 128) report data at the same time; in addition, the edge gateway supports online modification of the address based on the serial number of the device.
- the registration and access process for non-smart devices includes:
- the edge gateway regularly scans the protocol library. When a new protocol is found, MarsWindow in the edge gateway connects to the edge central control (central control system), and actively scans the address range corresponding to the new protocol at a certain frequency to find the bus Or a device newly added in the network address range, displaying its unique address, model, serial number and other device information.
- the IoT platform periodically queries whether the point UI file in the edge gateway is updated through the middleware. If there is an update, it will be downloaded automatically, and the unique identification pid, din and other information in the IoT platform (the above server) will be generated and synchronized to the IoT platform. Connect the platform to complete the device registration.
- the middleware is a program middleware, which is used to regularly query the point UI files in the edge gateway.
- the edge gateway pulls up the object model corresponding to the device from the Internet of Things platform, and the central control of the edge gateway performs automatic data matching analysis to determine the device operation data that the device needs to report; and reports the device operation data to the Internet of Things platform. In one embodiment, if it is detected that two devices have the same address, the edge gateway supports online modification of addresses based on device serial numbers. After the device manufacturer enters the object model according to the point table, the IoT platform will provide a special interface for the device manufacturer to query the relevant information of the object model.
- the edge gateway will automatically generate information such as din and pid according to the rules of the IoT platform, and report it to the IoT platform at the same time. If you choose to disable, the information will be synchronized in the If the IoT platform performs deregistration (anti-registration), the IoT platform will not display the device.
- the IoT platform can see the status of the newly added gate device, offline or online. If it is offline, it may be a device failure, device standby or line failure, which needs further investigation.
- the above method needs to meet certain implementation specifications.
- FIG. 6 is a schematic diagram of the architecture between the IoT platform, the edge gateway and the gate.
- 1 The edge gateway connects each gate as a device point
- the gate side needs to provide information tables such as device addresses corresponding to each gate.
- the IoT platform will perform device mapping based on this point table. Registration, control and state resolution.
- 2 The operations of adding, deleting, modifying and checking gates can all be completed on the mapping point table.
- the edge gateway will sense that the point table has been updated, and then perform corresponding operations.
- 6Modify the device The edge gateway perceives that the point table device attribute (such as _x0008_poiCode) has changed, and the edge gateway will execute the device to report with the latest attribute (poiCode).
- 7Find device By looking up the point table, you can find out the pid (device identifier), modelId (model identifier), poiCode (point of interest code), device_id (device identifier), and datapoint (data point) of the device.
- SC (Service Center) server the main server called by Tiny remote service.
- the server is responsible for distributing the service information of the registered application server to other servers.
- the interface schematic diagram shown in Figure 7 (1) is entered into the object model in the IoT platform; in this embodiment, the type of the custom object model (type name or poicode can be input) keyword), and the model name, create the corresponding object model according to the type and model name.
- the Internet of Things platform modify or add attributes, services, and events to the created object model in the interface shown in Figure 7 (2); in this embodiment, for the object model created in Figure 7 (1), it is necessary to separately Define property, service and event information.
- the specific content can be set according to the actual situation.
- the result of the object model entry is shown in Figure 7(3); in this embodiment, the relevant information of the newly created object model is displayed.
- the above method reduces the difficulty of manual access to non-intelligent devices, and only needs to enter the device object model in advance according to the point table to connect new devices in the specified network segment after the device is powered on. Reduces the labor cost of secondary development caused by device protocol changes.
- the protocol changes only the point table needs to be updated, and the edge gateway will regularly detect protocol changes and perform protocol conversion.
- the upper layer non-standard protocol can be standardized through protocol conversion.
- the above method is applied to the subway scene.
- the cloud IoT platform cannot communicate with the edge devices.
- the subway still needs to operate normally, that is, the station IoT platform is automatically activated.
- the station IOT platform realizes the normal control of the equipment through the intranet and equipment.
- this application also provides an access method for non-intelligent devices, as shown in Figure 8, in this embodiment, a semi-automatic method is used to access new devices, which are manually installed and installed on the platform Configure the basic information of the device, connect to the station gateway through configuration after startup, and the device side will automatically call the gateway interface to complete the registration.
- steps in the flow charts involved in the above embodiments are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the flow charts involved in the above embodiments may include multiple steps or stages, and these steps or stages are not necessarily executed at the same time, but may be executed at different times, The execution order of these steps or stages is not necessarily performed sequentially, but may be performed in turn or alternately with other steps or at least a part of steps or stages in other steps.
- a device access device is provided.
- the device can adopt a software module or a hardware module, or a combination of the two to become a part of the computer device.
- the device specifically includes: a detection module 100.
- a detection module 100 configured to detect devices within a preset address range
- An information acquisition module 200 configured to acquire device information of the newly added device when a newly added device is detected within the preset address range;
- the cloud-edge collaboration module 300 is configured to synchronize device information to the server, so that the server registers the newly added device according to the device information, and accesses the newly added device.
- the edge gateway detects whether there is a new device within the preset address range, and if so, obtains the device information of the new device, and synchronizes the device information to the server, so that the server can update the new device according to the device information. Register and access the newly added device; the subsequent server can obtain or manage the relevant data of the newly added device through the edge gateway.
- the above device actively detects and discovers devices within the specified address range through the edge gateway, and obtains device information through communication with the device.
- the cloud-edge collaboration module 300 of the above-mentioned device includes: a point file update submodule, which is used to determine the corresponding point file of the newly added device according to the device information; The identification information of the newly added device is generated, and the newly added device is registered based on the identification information.
- the above apparatus further includes: a model pulling module, configured to pull the object model corresponding to the target device from the server; the object model is pre-generated based on the device definition data of the target device; an operation data acquisition module, used to Obtain the equipment operation data of the target equipment according to the physical model; the data feedback module is used to feed back the equipment operation data to the server.
- a model pulling module configured to pull the object model corresponding to the target device from the server; the object model is pre-generated based on the device definition data of the target device; an operation data acquisition module, used to Obtain the equipment operation data of the target equipment according to the physical model; the data feedback module is used to feed back the equipment operation data to the server.
- the determination of the object model further includes: when the server receives the updated device definition data, the server updates the object model based on the updated device definition data; in this embodiment, the model of the above-mentioned device pulls
- the fetching module is also used for: fetching the object model corresponding to the target device from the server every preset time period.
- the present application also provides a device management device, which includes a data receiving module 500 and a registration module 600 .
- the data receiving module 500 is used to receive the device information corresponding to the newly added device information uploaded by the edge gateway; wherein, the determination of the device information includes: when the edge gateway detects a new device within the preset address range, obtain the newly added device device information; a registration module 600, configured to register a newly added device according to the device information.
- the above-mentioned device further includes: a query module, used to periodically query the point file; the point file is determined by the edge gateway according to the device information of the newly added device; an identification information generation module, used for when the point file is detected When updating, the identification information of the newly added device is generated and stored according to the updated point file; the storage module is used to store the identification information.
- a query module used to periodically query the point file
- the point file is determined by the edge gateway according to the device information of the newly added device
- an identification information generation module used for when the point file is detected When updating, the identification information of the newly added device is generated and stored according to the updated point file
- the storage module is used to store the identification information.
- the above-mentioned apparatus further includes: a definition data acquisition module, configured to acquire equipment definition data corresponding to newly added equipment; an object model generation module, configured to generate an object model corresponding to newly added equipment according to the equipment definition data, and store the object model.
- the above apparatus further includes: an object model updating module, configured to update the object model according to the updated device definition data when receiving updated device definition data of the newly added device.
- Each module in the above-mentioned device access device and device management device may be realized in whole or in part by software, hardware or a combination thereof.
- the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
- a computer device is provided.
- the computer device may be a server, and its internal structure may be as shown in FIG. 11 .
- the computer device includes a processor, memory and a network interface connected by a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities.
- the memory of the computer device includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system, computer programs and databases.
- the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
- the database of the computer equipment is used to store data such as object models.
- the network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a device management method is realized.
- a computer device in another embodiment, is provided, and the computer device may be a terminal.
- the processor of the computer device is used to provide calculation and control capabilities.
- the memory of the computer device includes a non-volatile storage medium and an internal memory.
- the non-volatile storage medium stores an operating system and computer programs.
- the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
- the communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, NFC (Near Field Communication) or other technologies.
- FIG. 11 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the computer equipment on which the solution of this application is applied.
- the specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
- a computer device including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
- a computer-readable storage medium storing a computer program, and implementing the steps in the foregoing method embodiments when the computer program is executed by a processor.
- a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
- the processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the steps in the foregoing method embodiments.
- Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, etc.
- Volatile memory can include Random Access Memory (RAM) or external cache memory.
- RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
The present application relates to a device access method, a device management method and system, and a computer device. The device access method comprises: detecting a device within a preset address range; when a newly added device is detected within the preset address range, obtaining device information of the newly added device; and synchronizing the device information to a server, such that the server registers the newly added device according to the device information and accesses the newly added device. According to the method, a device is detected and discovered within a specified address range by means of an edge gateway, the device information is obtained by means of communication with the device and can be applied to a non-smart device, the effect of automatically accessing the device into the server to complete the registration is realized, the difficulty of manually accessing the non-smart device is reduced, and the labor cost required for device access can be reduced.
Description
本申请涉及物联网技术领域,特别是涉及一种设备接入方法、装置、系统、计算机设备和存储介质,以及一种设备管理方法、装置、系统、计算机设备和存储介质。The present application relates to the technical field of the Internet of Things, and in particular to a device access method, device, system, computer device and storage medium, and a device management method, device, system, computer device and storage medium.
物联网是指通过信息传感设备,按约定的协议,将任何物体与网络相连接,物体通过信息传播媒介进行信息交换和通信,以实现智能化识别、定位、跟踪、监管等功能。一个设备要在物联网中使用,需先在物联平台中完成注册和接入才可执行其他操作。The Internet of Things refers to the connection of any object with the network through information sensing equipment according to the agreed agreement, and the object exchanges information and communicates through the information transmission medium to realize intelligent identification, positioning, tracking, supervision and other functions. To use a device in the Internet of Things, it needs to complete registration and access in the Internet of Things platform before performing other operations.
常规的设备接入方式包括设备自发现接入方式,对于智能设备,设备自发现功能能够实现在设备通电后,设备可以自动调用物联平台的注册接口快速的实现设备的自动发现及注册,在无需人工干预的情况下就可以将设备接入到物联平台。Conventional device access methods include device self-discovery access methods. For smart devices, the device self-discovery function can realize that after the device is powered on, the device can automatically call the registration interface of the IoT platform to quickly realize the automatic discovery and registration of the device. Devices can be connected to the IoT platform without human intervention.
然而,目前的设备接入方式,针对无法主动向物联平台集成的非智能设备,需要借助人工接入的方式,人工接入成本高。However, the current device access method requires manual access for non-intelligent devices that cannot be actively integrated into the IoT platform, and the cost of manual access is high.
发明内容Contents of the invention
基于此,有必要针对上述技术问题,提供一种能够降低成本的设备接入方法、设备管理方法、装置、系统、计算机设备和存储介质。Based on this, it is necessary to provide a device access method, a device management method, a device, a system, a computer device and a storage medium capable of reducing costs for the above technical problems.
一种设备接入方法,所述方法包括:A device access method, the method comprising:
在预设地址范围内探测设备;Detect devices within a preset address range;
当在所述预设地址范围内探测到新增设备时,获取所述新增设备的设备信息;When a newly added device is detected within the preset address range, acquiring device information of the newly added device;
将所述设备信息同步至服务器,使所述服务器根据所述设备信息对所述新增设备进行注册,接入所述新增设备。Synchronizing the device information to a server, so that the server registers the newly added device according to the device information, and accesses the newly added device.
一种设备管理方法,所述方法包括:A device management method, the method comprising:
接收边缘网关上传的新增设备信息对应的设备信息;其中,所述设备信息的确定包括:所述边缘网关在预设地址范围内探测到新增设备时,获取所述新增设备的设备信息;Receive device information corresponding to the newly added device information uploaded by the edge gateway; wherein, the determination of the device information includes: when the edge gateway detects a newly added device within a preset address range, acquiring the device information of the newly added device ;
根据所述设备信息对所述新增设备进行注册。Registering the newly added device according to the device information.
一种设备接入装置,所述装置包括:A device access device, the device comprising:
探测模块,用于在预设地址范围内探测设备;a detection module, configured to detect devices within a preset address range;
信息获取模块,用于当在所述预设地址范围内探测到新增设备时,获取所述新增设备的设备信息;An information obtaining module, configured to obtain device information of the newly added device when a newly added device is detected within the preset address range;
云边协同模块,用于将所述设备信息同步至服务器,使所述服务器根据所述设备信息对所述新增设备进行注册,接入所述新增设备。A cloud-edge collaboration module, configured to synchronize the device information to a server, so that the server registers the newly added device according to the device information, and accesses the newly added device.
一种设备管理装置,所述装置包括:An equipment management device, the device comprising:
数据接收模块,用于接收边缘网关上传的新增设备信息对应的设备信息;其中,所述设备信息的确定包括:所述边缘网关在预设地址范围内探测到新增设备时,获取所述新增设备的设备信息;The data receiving module is used to receive the device information corresponding to the new device information uploaded by the edge gateway; wherein, the determination of the device information includes: when the edge gateway detects a new device within a preset address range, obtain the Add device information of the device;
注册模块,用于根据所述设备信息对所述新增设备进行注册。A registration module, configured to register the newly added device according to the device information.
一种设备管理系统,所述系统包括:服务器和边缘网关;A device management system, the system comprising: a server and an edge gateway;
所述边缘网关用于在预设地址范围内探测设备;当在所述预设地址范围内探测到新增设备时,获取所述新增设备的设备信息;将所述设备信息同步至所述服务器;The edge gateway is used to detect devices within a preset address range; when a new device is detected within the preset address range, obtain device information of the newly added device; and synchronize the device information to the server;
所述服务器用于接收边缘网关上传的新增设备信息对应的设备信息,根据所述设备信息对所述新增设备进行注册,接入所述新增设备。The server is configured to receive device information corresponding to the newly added device information uploaded by the edge gateway, register the newly added device according to the device information, and access the newly added device.
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述任意一个实施例中的方法的步骤。A computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method in any one of the above embodiments when executing the computer program.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任意一个实施例中的方法的步骤。A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method in any one of the above-mentioned embodiments are implemented.
上述设备接入方法、设备管理方法、装置、系统、计算机设备和存储介质,边缘网关在预设地址范围内探测是否出现新增的设备,若是则获取该新增设备的设备信息,并将设备信息同步至服务器,使服务器根据设备信息对新增设备进行注册,接入新增设备;后续服务器可以通过边缘网关获取或管理该新增设备的相关数据。上述方法通过边缘网关主动在规定地址范围内进行探测发现设备,通过与设备之间的通信来获取设备信息,可以应用在非智能设备中,实现自动将设备接入到服务器中完成注册的效果,降低了人工接入非智能设备的难度,同时可减少设备接入所需的人工成本。The above-mentioned device access method, device management method, device, system, computer equipment and storage medium, the edge gateway detects whether there is a new device within the preset address range, and if so, obtains the device information of the new device, and sends the device The information is synchronized to the server, so that the server can register the newly added device according to the device information, and access the newly added device; the subsequent server can obtain or manage the relevant data of the newly added device through the edge gateway. The above method uses the edge gateway to actively detect and discover devices within the specified address range, and obtain device information through communication with the device, which can be applied to non-intelligent devices to achieve the effect of automatically connecting the device to the server to complete the registration. It reduces the difficulty of manual access to non-intelligent devices, and at the same time reduces the labor cost required for device access.
图1为一个实施例中设备接入方法、设备管理方法的应用环境图;Fig. 1 is an application environment diagram of a device access method and a device management method in an embodiment;
图2为一个实施例中设备接入方法的流程示意图;FIG. 2 is a schematic flowchart of a device access method in an embodiment;
图3为另一个实施例中设备接入方法的流程示意图;FIG. 3 is a schematic flowchart of a device access method in another embodiment;
图4为另一个实施例中设备接入方法的流程示意图;FIG. 4 is a schematic flowchart of a device access method in another embodiment;
图5为一个实施例中设备接入方法、设备管理方法的流程示意图;Fig. 5 is a schematic flowchart of a device access method and a device management method in an embodiment;
图6为一个具体实施例中物联平台、边缘网关和闸机之间的架构示意图;Fig. 6 is a schematic diagram of the architecture between the IoT platform, the edge gateway and the gate in a specific embodiment;
图7(1)为一个具体实施例中在物联平台中录入物模型的界面示意图;Figure 7 (1) is a schematic diagram of the interface of the input object model in the IoT platform in a specific embodiment;
图7(2)为一个具体实施例中对已经创建的物模型修改或新增属性、服务、事件的界面示意图;Figure 7(2) is a schematic diagram of an interface for modifying or adding attributes, services, and events to an already created object model in a specific embodiment;
图7(3)为一个具体实施例中物模型录入完成的结果的界面示意图;Fig. 7 (3) is the interface schematic diagram of the result that object model input finishes in a specific embodiment;
图8为一个实施例中设备接入方法的流程示意图;FIG. 8 is a schematic flowchart of a device access method in an embodiment;
图9为一个实施例中设备接入装置的结构框图;Fig. 9 is a structural block diagram of a device access device in an embodiment;
图10为一个实施例中设备管理装置的结构框图;Fig. 10 is a structural block diagram of an equipment management device in an embodiment;
图11为一个实施例中计算机设备的内部结构图。Figure 11 is a diagram of the internal structure of a computer device in one embodiment.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
本申请提供的设备接入方法、设备管理方法,可以应用于如图1所示的应用环境中。其中,边缘网关101与设备102和服务器103之间均通过网络进行通信。边缘网关101在预设地址范围内探测是否出现新增的设备102,若是则获取新增设备102的设备信息,并将设备信息同步至服务器103,使服务器103根据设备信息对新增设备进行注册,接入新增设备; 后续服务器103可以通过边缘网关102获取或管理该新增设备的相关数据。设备102可以但不限于是各种工业设备如闸机、水电表,传感器等物理设备,服务器103可以用独立的服务器或者是多个服务器组成的服务器集群来实现。在一个实施例中,服务器103可以是云服务器。The device access method and device management method provided in this application can be applied to the application environment shown in FIG. 1 . Wherein, the edge gateway 101 communicates with the device 102 and the server 103 through the network. The edge gateway 101 detects whether there is a newly added device 102 within the preset address range, and if so, obtains the device information of the newly added device 102, and synchronizes the device information to the server 103, so that the server 103 registers the newly added device according to the device information , to access the newly added device; the subsequent server 103 may acquire or manage the relevant data of the newly added device through the edge gateway 102 . The device 102 can be, but not limited to, various industrial devices such as gates, water and electricity meters, sensors and other physical devices, and the server 103 can be realized by an independent server or a server cluster composed of multiple servers. In one embodiment, server 103 may be a cloud server.
物联网(The Internet of Things,简称IOT)是指通过各种信息传感器、射频识别技术、全球定位系统、红外感应器、激光扫描器等各种装置与技术,实时采集任何需要监控、连接、互动的物体或过程,采集其声、光、热、电、力学、化学、生物、位置等各种需要的信息,通过各类可能的网络接入,实现物与物、物与人的泛在连接,实现对物品和过程的智能化感知、识别和管理。物联网是一个基于互联网、传统电信网等的信息承载体,它让所有能够被独立寻址的普通物理对象形成互联互通的网络。The Internet of Things (IOT) refers to the real-time collection of any information that needs to be monitored, connected, and interacted with through various devices and technologies such as information sensors, radio frequency identification technology, global positioning system, infrared sensors, and laser scanners. Objects or processes, collect various required information such as sound, light, heat, electricity, mechanics, chemistry, biology, location, etc., and realize the ubiquitous connection between things and things, things and people through various possible network access , to achieve intelligent perception, identification and management of items and processes. The Internet of Things is an information carrier based on the Internet, traditional telecommunication networks, etc. It allows all ordinary physical objects that can be independently addressed to form an interconnected network.
云物联(Cloud IOT)旨在将传统物联网中传感设备感知的信息和接受的指令连入互联网中,真正实现网络化,并通过云计算技术实现海量数据存储和运算,由于物联网的特性是物与物相连接,实时感知各个“物体”当前的运行状态,在这个过程中会产生大量的数据信息,如何将这些信息汇总,如何在海量信息中筛取有用信息为后续发展做决策支持,这些已成为影响物联网发展的关键问题,而基于云计算和云存储技术的物联云也因此成为物联网技术和应用的有力支持。Cloud IoT (Cloud IOT) aims to connect the information sensed and accepted instructions of sensor devices in the traditional Internet of Things to the Internet, truly realize networking, and realize massive data storage and computing through cloud computing technology. Due to the Internet of Things The characteristic is that things are connected to each other, and the current operating status of each "object" is sensed in real time. In this process, a large amount of data information will be generated. How to summarize these information and how to screen out useful information from massive information to make decisions for subsequent development These have become key issues affecting the development of the Internet of Things, and the Internet of Things cloud based on cloud computing and cloud storage technology has therefore become a strong support for Internet of Things technologies and applications.
需要说明的是,在本申请的实施例中,所涉及到的智能设备和非智能设备为一组相对的概念,在一个具体实施例中,智能设备表示的是设备通电后,设备方可以使用设备自发现技术,通过调用物联平台注册接口上报设备协议信息,完成主动向物联平台集成的设备。而非智能设备即为没有智能控制,在设备通电后,无法使用设备自发现技术在设备通电后主动调用物联平台注册接口上报设备协议信息,没有办法被物联平台自动发现的设备。进一步地,本申请针对非智能设备提出一种设备接入方法,也可以称为设备反向集成方法。可以理解地,该方法也在智能设备中也可以实现。It should be noted that in the embodiments of this application, the smart devices and non-smart devices involved are a set of relative concepts. In a specific embodiment, the smart device means that after the device is powered on, the device side can use Device self-discovery technology, by calling the registration interface of the IoT platform to report device protocol information, completes the active integration of devices to the IoT platform. A non-intelligent device means that there is no intelligent control. After the device is powered on, the device self-discovery technology cannot be used to actively call the registration interface of the IoT platform to report the device protocol information after the device is powered on. There is no way for the device to be automatically discovered by the IoT platform. Furthermore, this application proposes a device access method for non-intelligent devices, which may also be called a device reverse integration method. Understandably, this method can also be implemented in smart devices.
其中,设备自发现技术:使用局域网组播技术来实现设备与车站网关之间的IP和端口发现,并通过私有化协议与车站网关建立连接。以达到不用运维人员手动在物联平台上进行设备导入等操作,也能直接对新入网的设备进行管理。设备反向集成技术:通过物联网关的探测技术,探测发现既有系统的通讯协议对应的符合要求的设备,并使用一套低代码软件实现协议包的制作,做出来的协议包提供给网关运行,以使网关能够为设备完成注册;研究物联技术应用广度以及融合度在工业领域进行开拓创新,实现设备统一的反向集成至物联平台,最终达到在原有专业系统或设备功能保持不变的情况下,通过增加硬件或软件的方式,将工控设备或系统的数据进行拉取打包成标准物模型数据进行上报至物联平台。也可以由物联平台的应用按照标准的物联平台控制接口和协议进行控制。Among them, the device self-discovery technology: use the LAN multicast technology to realize the IP and port discovery between the device and the station gateway, and establish a connection with the station gateway through a privatization protocol. In order to achieve the direct management of newly connected devices without operation and maintenance personnel manually performing operations such as device import on the IoT platform. Device reverse integration technology: Through the detection technology of the Internet of Things gateway, detect and find the equipment that meets the requirements corresponding to the communication protocol of the existing system, and use a set of low-code software to realize the production of the protocol package, and provide the protocol package to the gateway operation, so that the gateway can complete the registration for the device; study the application breadth and integration degree of IoT technology to develop and innovate in the industrial field, realize the unified reverse integration of equipment into the IoT platform, and finally achieve the goal of maintaining the original professional system or device function. In the case of changes, by adding hardware or software, the data of industrial control equipment or systems is pulled and packaged into standard object model data and reported to the IoT platform. It can also be controlled by the application of the IoT platform according to the standard IoT platform control interface and protocol.
在一个实施例中,如图2所示,提供了一种设备接入方法,以该方法应用于图1中的边缘网关为例进行说明,包括步骤S210至步骤S230。In one embodiment, as shown in FIG. 2 , a device access method is provided. The method is applied to the edge gateway in FIG. 1 as an example for illustration, including steps S210 to S230.
步骤S210,在预设地址范围内探测设备。Step S210, detecting devices within a preset address range.
其中,预设地址范围是预先定义的;在一个实施例中,预设地址范围包括IP地址范围。进一步地,在一个实施例中,预设地址范围可以根据协议获取。在一个实施例中,服务器中获取设备定义信息,根据设备定义信息生成对应的物模型之后,在协议库中更新新生成的物模型对应的协议。边缘网关定时扫描协议库,当扫描到新增物模型的协议,根据协议获取对应的地址范围作为预设地址范围。Wherein, the preset address range is predefined; in one embodiment, the preset address range includes an IP address range. Further, in an embodiment, the preset address range can be obtained according to a protocol. In one embodiment, the server acquires device definition information, and after generating a corresponding object model according to the device definition information, updates the protocol corresponding to the newly generated object model in the protocol library. The edge gateway regularly scans the protocol library, and when it scans the protocol of the new object model, it obtains the corresponding address range according to the protocol as the default address range.
其中,设备表示物理设备。在一个实施例中,设备表示物联网设备,例如物联网设备可以但不限于是工业设备如闸机、水电表,或者也可以是传感器等等。Wherein, device represents a physical device. In one embodiment, the device represents an Internet of Things device. For example, an Internet of Things device may be, but not limited to, an industrial device such as a gate, a water and electricity meter, or a sensor or the like.
在一个实施例中,在预设地址范围内探测设备包括:扫描在预设地址范围内出现的设备。进一步地,在一个实施例中,在预设地址范围内探测设备包括:按照预设频次在预设地址范围内扫描出现的设备。其中预设频次可以根据实际情况进行设定,例如预设品次可设置为每10分钟扫描1次、每1小时扫描5次等等。In one embodiment, detecting devices in a preset address range includes: scanning for devices appearing in a preset address range. Further, in one embodiment, detecting devices within a preset address range includes: scanning for devices that appear within a preset address range according to a preset frequency. The preset frequency can be set according to the actual situation, for example, the preset product can be set to scan once every 10 minutes, scan 5 times every hour, and so on.
在一个实施例中,边缘网关探测设备需满足预设前置条件。其中,预设前置条件是根据实际情况进行定义的。在一个实施例中,预设前置条件可以包含设备限制数量等信息。In one embodiment, the edge gateway detection device needs to meet preset preconditions. Wherein, the preset precondition is defined according to the actual situation. In one embodiment, the preset preconditions may include information such as limited number of devices.
步骤S220,当在预设地址范围内探测到新增设备时,获取新增设备的设备信息。Step S220, when a newly added device is detected within the preset address range, obtain device information of the newly added device.
新增设备表示第一次探测到的设备,即在此之前,从没有探测到过的设备。在一个实施例中,可以根据设备的地址、设备标识等信息确定探测到的设备是否为新增设备。在本实施例中,对于每次探测到的设备,可以获取设备标识信息进行存储,下一次探测时,同样对于探测到的设备获取设备标识信息,将相邻两次探测到的设备标识信息进行比较即可确定本次探测是否出现新增设备。其中,设备标识信息可以根据实际情况设定为设备的网络地址、设备的唯一标识码(如出厂标识码)等等信息。在一个具体实施例中,当设备在预设地址范围内通电时即可被边缘网关探测到。Newly added devices represent devices detected for the first time, that is, devices that have never been detected before. In an embodiment, it may be determined whether the detected device is a newly added device according to information such as the address of the device and the device identifier. In this embodiment, for each detected device, the device identification information can be obtained and stored. In the next detection, the device identification information is also obtained for the detected device, and the device identification information detected twice adjacently is stored. By comparison, it can be determined whether there is a new device in this detection. Wherein, the device identification information can be set as the network address of the device, the unique identification code of the device (such as the factory identification code) and other information according to the actual situation. In a specific embodiment, when the device is powered on within the preset address range, it can be detected by the edge gateway.
在本实施例中,在确定探测到新增设备时,需要获取的设备信息可以包括任意一种设备信息;在一个实施例中,设备信息可以包括设备名称、设备类型、设备的网络地址、型号、序列号、所属厂商、所需的功能与逻辑指令等等。在其他实施例中,设备信息还可以包括其他信息。In this embodiment, when it is determined that a new device is detected, the device information to be obtained may include any kind of device information; in one embodiment, the device information may include device name, device type, network address of the device, model number , serial number, manufacturer, required functions and logic instructions, etc. In other embodiments, the device information may also include other information.
步骤S230,将设备信息同步至服务器,使服务器根据设备信息对新增设备进行注册,接入新增设备。In step S230, the device information is synchronized to the server, so that the server registers the newly added device according to the device information, and accesses the newly added device.
其中,服务器为物联平台对应的服务器。在一个实施例中,服务器为云端服务器。设备在平台中进行注册,需要将设备的设备信息发送同步至服务器,使服务器根据设备信息对新增设备进行注册,实现对新增设备的接入。在一个实施例中,服务器根据设备信息对新增设备进行注册可以通过任意一种方式实现。Wherein, the server is a server corresponding to the IoT platform. In one embodiment, the server is a cloud server. To register a device on the platform, it is necessary to send and synchronize the device information to the server, so that the server can register the newly added device according to the device information, and realize the access to the newly added device. In an embodiment, the registration of the newly added device by the server according to the device information may be implemented in any manner.
上述设备接入方法,边缘网关在预设地址范围内探测是否出现新增的设备,若是则获取该新增设备的设备信息,并将设备信息同步至服务器,使服务器根据设备信息对新增设备进行注册,接入新增设备;后续服务器可以通过边缘网关获取或管理该新增设备的相关数据。上述方法通过边缘网关主动在规定地址范围内进行探测发现设备,通过与设备之间的通信来获取设备信息,可以应用在无法主动调用相关接口来上报设备信息的非智能设备中,实现自动将设备接入到服务器中完成注册的效果,降低了人工接入非智能设备的难度,同时可减少设备接入所需的人工成本。In the above device access method, the edge gateway detects whether there is a new device within the preset address range, and if so, obtains the device information of the new device, and synchronizes the device information to the server, so that the server can update the new device according to the device information. Register and access the newly added device; the subsequent server can obtain or manage the relevant data of the newly added device through the edge gateway. The above method uses the edge gateway to actively detect and discover devices within the specified address range, and obtain device information through communication with the device. The effect of accessing to the server to complete the registration reduces the difficulty of manual access to non-intelligent devices, and at the same time reduces the labor cost required for device access.
在一个实施例中,将设备信息同步至服务器,使服务器根据设备信息对新增设备进行注册包括:根据设备信息确定新增设备的对应的点位文件;点位文件用于使服务器根据点位文件生成新增设备的标识信息,并基于标识信息对新增设备进行注册。In one embodiment, synchronizing the device information to the server so that the server registers the newly added device according to the device information includes: determining the corresponding point file of the newly added device according to the device information; The file generates identification information of the newly added device, and registers the newly added device based on the identification information.
其中,点位文件为一个数据包。在一个实施例中,点位文件为点位UI(user Interface,用户界面)文件,用于配置、监测和控制设备的运行状态。当获取到设备信息时,根据设备信息更新点位文件,服务器将会根据点位文件中的信息生成新增设备在平台中的唯一标识。唯一标识可用于候选在平台中查询新增设备的相关信息。在一个具体实施例中,生成的设备 的唯一标识包括pid信息(设备标识)和din信息(组件标识)。Among them, the point file is a data package. In one embodiment, the point file is a point UI (user Interface, user interface) file, which is used to configure, monitor and control the running state of the device. When the device information is obtained, the point file is updated according to the device information, and the server will generate the unique identifier of the newly added device in the platform according to the information in the point file. The unique identifier can be used by candidates to query information about newly added devices in the platform. In a specific embodiment, the unique identifier of the generated device includes pid information (device identifier) and din information (component identifier).
在一个具体实施例中,点位文件可以通过Marswindow生成。Marswindow是由施德朗开发的一款调试工具,用于配置边缘网关跟设备方专业系统的对接信息。进一步地,在一个实施例中,在探测到新增设备时,Marswindow根据项目程序自动导入或手动生成点位UI文件,上传到边缘网关。In a specific embodiment, the point file can be generated by Marswindow. Marswindow is a debugging tool developed by SCHIDERON, which is used to configure the connection information between the edge gateway and the professional system on the equipment side. Further, in one embodiment, when a new device is detected, Marswindow automatically imports or manually generates a point UI file according to the project program, and uploads it to the edge gateway.
在一个实施例中,在将设备信息同步至服务器之后,如图3所示,上述方法还包括步骤S310至步骤S330。In one embodiment, after the device information is synchronized to the server, as shown in FIG. 3 , the above method further includes steps S310 to S330.
步骤S310,从服务器拉取目标设备对应的物模型;物模型是预先基于目标设备的设备定义数据生成的。In step S310, the object model corresponding to the target device is pulled from the server; the object model is pre-generated based on the device definition data of the target device.
其中,目标设备表示需要管理或者获取相应数据的设备;在一个实施例中,目标设备为在服务器中已经完成注册的设备中的任意一个。Wherein, the target device represents a device that needs to manage or acquire corresponding data; in one embodiment, the target device is any one of the devices that have completed registration in the server.
进一步地,在一个实施例中,目标设备的状态为启用状态;启用状态表示设备属于正常运行状态。Further, in one embodiment, the state of the target device is an enabled state; the enabled state indicates that the device is in a normal operating state.
其中,物模型表示物理空间中的实体(如传感器、车载装置、楼宇、工厂等)在服务器中的数字化表示,从属性、服务和事件三个维度,分别描述了该实体是什么、能做什么、可以对外提供哪些信息。定义了物模型的这三个维度,即完成了产品功能的定义:Among them, the object model represents the digital representation of the entity in the physical space (such as sensors, vehicle-mounted devices, buildings, factories, etc.) in the server, and describes what the entity is and what it can do from the three dimensions of attributes, services, and events. , What information can be provided externally. The three dimensions of the object model are defined, that is, the definition of product functions is completed:
功能类型说明Description of function type
属性(Property)设备可读取和设置的能力。一般用于描述设备运行时的状态,如环境监测设备所读取的当前环境温度等。属性支持GET和SET请求方式。应用系统可发起对属性的读取和设置请求。Property (Property) The ability of a device to be read and set. It is generally used to describe the state of the equipment during operation, such as the current ambient temperature read by the environmental monitoring equipment, etc. Attributes support GET and SET request methods. The application system can initiate read and set requests for properties.
服务(Service)设备可被外部调用的能力或方法,可设置输入参数和输出参数。产品提供了什么功能供服务器调用。相比于属性,服务可通过一条指令实现更复杂的业务逻辑,如执行某项特定的任务。Service (Service) The ability or method of the device that can be called externally, and the input parameters and output parameters can be set. What functions does the product provide for the server to call. Compared with attributes, services can implement more complex business logic through an instruction, such as performing a specific task.
事件(Event)设备运行时,主动上报给服务器的事件。事件一般包含需要被外部感知和处理的通知信息,可包含多个输出参数。例如,某项任务完成的信息,或者设备发生故障或告警时的温度等,事件可以被订阅和推送。Event (Event) The event that is actively reported to the server when the device is running. Events generally contain notification information that needs to be perceived and processed externally, and can contain multiple output parameters. For example, information about the completion of a certain task, or the temperature when a device fails or an alarm occurs, etc., events can be subscribed and pushed.
在一个实施例中,服务器中设备对应的物模型是预先根据获取的设备定义信息生成的。具体的物模型的创建过程将在其他实施例中详细介绍,在此不再赘述。In one embodiment, the object model corresponding to the device in the server is pre-generated according to the obtained device definition information. The specific creation process of the object model will be introduced in detail in other embodiments, and will not be repeated here.
在一个实施例中,将每一个设备作为一个设备点接入,设备定义数据可以以映射点表的形式表示。映射点表与服务器中的模型对应;点表的含义:自动化控制中,把变量点简称为点,自动化控制系统中使用的变量个数称为点数。点表大多与设备有关,用于表征系统内各个变量的使用情况。点表作为设备提供商、软件提供商、系统集成商的重要依据和协议标准,整个自动化控制系统的建设都是以点表中变量的描述和规定为基础而建设的。通常,每个变量都会有对应的唯一的变量名、设备名、设备地址、寄存器、寄存器地址等相关内容。在一个具体实施例中,物模型是由设备厂商提供的设备点表信息手动录入穗腾OS系统生成,并在生成物模型之后由空间构造提供物模型查询接口给应用侧及设备网关侧。In one embodiment, each device is accessed as a device point, and the device definition data can be expressed in the form of a mapping point table. The mapping point table corresponds to the model in the server; the meaning of the point table: In automation control, variable points are referred to as points for short, and the number of variables used in the automation control system is called points. Point tables are mostly related to equipment and are used to represent the usage of various variables in the system. The point table is an important basis and protocol standard for equipment providers, software providers, and system integrators. The construction of the entire automation control system is based on the description and regulations of the variables in the point table. Usually, each variable will have a corresponding unique variable name, device name, device address, register, register address and other related content. In a specific embodiment, the object model is generated by manually entering the device point table information provided by the device manufacturer into the Suiteng OS system, and after the object model is generated, the space structure provides the object model query interface to the application side and the device gateway side.
进一步地,在一个实施例中,物模型的确定还包括:当服务器接收到更新后的设备定义数据时,服务器基于更新后的设备定义数据对物模型进行更新;在本实施例中,从服务器拉 取目标设备对应的物模型,包括:每隔预设时间段从服务器拉取目标设备对应的物模型。Further, in one embodiment, the determination of the object model further includes: when the server receives the updated device definition data, the server updates the object model based on the updated device definition data; in this embodiment, the slave server Pulling the object model corresponding to the target device includes: pulling the object model corresponding to the target device from the server every preset time period.
由于在服务器中可以根据接收到的更新后的设备定义数据对对应的物模型进行更新,因此边缘网关需每个预设时间段从服务器中拉取目标设备最新的物模型。Since the corresponding object model can be updated in the server according to the received updated device definition data, the edge gateway needs to pull the latest object model of the target device from the server every preset time period.
步骤S320,根据物模型获取目标设备的设备运行数据。Step S320, acquiring equipment operation data of the target equipment according to the object model.
其中,设备运行数据表示设备在运行过程中的相关数据。Wherein, the device operation data represents relevant data during the operation of the device.
在将探测到的新增设备的设备信息上传至服务器,使服务器根据设备信息对新增设备进行注册,将新增设备接入到服务器中之后,该新增设备即可在服务器中工作,具体可由服务器通过边缘网关向设备发送指令管理设备,也可以服务器通过边缘网关获取设备的运行数据。After uploading the device information of the detected new device to the server, making the server register the new device according to the device information, and connecting the new device to the server, the new device can work in the server, specifically The server can send instructions to the device through the edge gateway to manage the device, or the server can obtain the operating data of the device through the edge gateway.
在一个实施例中,物模型中定义了设备的属性、服务和事件,通过物模型可以知道设备在运行过程中需要上报给服务器的数据包括哪些。例如在一个具体实施例中,根据物模型确定目标设备需上报给服务器的数据包括目标设备采集的温度和湿度,则在本实施例中,根据物模型获取目标设备运行时采集的温度(如25℃)和湿度(如74%)。In one embodiment, the properties, services and events of the device are defined in the object model, and the data that the device needs to report to the server during operation can be known through the object model. For example, in a specific embodiment, it is determined according to the object model that the data that the target device needs to report to the server includes the temperature and humidity collected by the target device, then in this embodiment, the temperature collected during the operation of the target device is obtained according to the object model (such as 25 ℃) and humidity (such as 74%).
步骤S330,将设备运行数据反馈至服务器。Step S330, feeding back the device operation data to the server.
在获取到目标设备的设备运行数据之后,将设备运行数据反馈至服务器,从而使服务器可以获取到边缘网关连接的设备的运行数据。After the device operation data of the target device is obtained, the device operation data is fed back to the server, so that the server can obtain the operation data of the device connected to the edge gateway.
在本实施例中,通过从服务器拉取设备物模型,并根据物模型获取对应设备的设备运行数据,同时边缘网关将设备运行数据反馈至服务器中,使服务器可以获得设备的运行数据。同时在服务器中对于物模型可以通过修改设备定义数据进行更新,因此当设备新增或者删减或者调整某些功能时,均可以通过在服务器中调整对应的物模型来实现对于设备本身获取的数据的适应性调整。In this embodiment, the device object model is pulled from the server, and the device operation data of the corresponding device is obtained according to the object model, and the edge gateway feeds back the device operation data to the server, so that the server can obtain the device operation data. At the same time, the object model can be updated by modifying the device definition data in the server. Therefore, when the device is added or deleted or some functions are adjusted, the data obtained by the device itself can be achieved by adjusting the corresponding object model in the server. adaptive adjustment.
在一个实施例中,上述方法还包括:接收设备状态设置指令,根据设备状态设置指令调整对应设备的设备状态。In one embodiment, the above method further includes: receiving a device state setting instruction, and adjusting the device state of the corresponding device according to the device state setting instruction.
其中,设备状态设置指令表示用于设置设备状态的指令;在一个实施例中,设备状态包括启用状态和禁用状态。当在服务器中根据设备信息完成了对设备的注册之后,可以在边缘网关中对设备的状态进行设置,如将设备的状态设置作为启用或者禁用;相应地,对应的设备状态设置指令包括设置为启用的设备状态设置指令,以及设置为禁用的设备状态设置指令。Wherein, the device state setting instruction represents an instruction for setting the device state; in one embodiment, the device state includes an enabled state and a disabled state. After the registration of the device is completed in the server according to the device information, the state of the device can be set in the edge gateway, such as setting the state of the device as enabled or disabled; correspondingly, the corresponding device state setting instruction includes setting as A device state setting instruction that is enabled, and a device state setting instruction that is set to be disabled.
可以理解地,将设备状态设置为启用,是将禁用状态的设备设置为启用状态。进一步地,在一个实施例中,若检测到设备状态设置指令为设置为启用,获取设备的设备在服务器中的唯一标识,将唯一标识上报到服务器中,使服务器根据唯一标识将设备设置为启用。进一步地,在一个具体实施例中,服务器将设备设置为启用之后,在服务器的用户界面中展示该设备。It can be understood that setting the device status as enabled means setting the device in disabled status as enabled. Further, in one embodiment, if it is detected that the device status setting instruction is set to enable, the unique identifier of the device in the server is obtained, and the unique identifier is reported to the server, so that the server sets the device to enable according to the unique identifier . Further, in a specific embodiment, after the server sets the device as enabled, the device is displayed on the user interface of the server.
在另一个实施例中,将设备状态设置为禁用,是将启用状态的设备设置为禁用状态。进一步地,在一个实施例中,若检测到设备状态设置指令为设置为禁用,向服务器发送与设备对应的注销请求,使服务器根据注销请求将对应的设备设置为禁用。进一步地,在一个具体实施例中,服务器将设备设置为禁用之后,在服务器的用户界面中将不再展示该设备。In another embodiment, setting the device state to be disabled is to set the device in the enabled state to be disabled. Further, in one embodiment, if it is detected that the device status setting instruction is set as disabled, a logout request corresponding to the device is sent to the server, so that the server sets the corresponding device as disabled according to the logout request. Further, in a specific embodiment, after the server sets the device as disabled, the device will no longer be displayed on the user interface of the server.
在一个具体实施例中,通过Marswindow的UI界面,可以设置设备状态启用或禁用。In a specific embodiment, the device status can be set to be enabled or disabled through the Marswindow UI interface.
在一个实施例中,本申请还提供一种设备管理方法,以该方法应用于图1中的服务器为例进行说明,设备管理方法包括:接收边缘网关上传的新增设备信息对应的设备信息;其中, 设备信息的确定包括:边缘网关在预设地址范围内探测到新增设备时,获取新增设备的设备信息;根据设备信息对新增设备进行注册。In an embodiment, the present application also provides a device management method, which is described by taking the method applied to the server in FIG. 1 as an example. The device management method includes: receiving device information corresponding to newly added device information uploaded by the edge gateway; Wherein, the determination of the device information includes: when the edge gateway detects a new device within a preset address range, obtains the device information of the new device; and registers the new device according to the device information.
其中,边缘网关表示部署在网络边缘侧的物联网协议网关,其靠近工业设备、传感器等物理设备的网络边缘侧,亦称边缘网关,主要担负物联网协议转换的功能。边缘网关是物联网系统中端侧设备数据通往云端的最后一层物理实体,因此对实现端边云(终端设备、边缘计算和云计算)协同计算具有重要意义。新增设备表示第一次探测到的设备,即在此之前,从没有探测到过的设备。Among them, the edge gateway refers to the IoT protocol gateway deployed on the edge of the network, which is close to the edge of the network such as industrial equipment, sensors and other physical devices, also known as the edge gateway, which is mainly responsible for the function of IoT protocol conversion. The edge gateway is the last layer of physical entity in the Internet of Things system where the end-side device data leads to the cloud, so it is of great significance to realize the collaborative computing of the end-edge-cloud (terminal device, edge computing and cloud computing). Newly added devices represent devices detected for the first time, that is, devices that have never been detected before.
在一个实施例中,服务器根据设备信息对新增设备进行注册可以通过任意一种方式实现。In an embodiment, the registration of the newly added device by the server according to the device information may be implemented in any manner.
在一个实施例中,请参照图4,根据设备信息对新增设备进行注册包括步骤S410和步骤S420。其中:In one embodiment, referring to FIG. 4 , registering a newly added device according to device information includes step S410 and step S420 . in:
步骤S410,定时查询点位文件;点位文件为边缘网关根据新增设备的设备信息确定。Step S410, regularly query the point file; the point file is determined by the edge gateway according to the device information of the newly added device.
其中,点位文件为一个数据包。在一个实施例中,点位文件为点位UI文件,用于配置、监测和控制设备的运行状态。Among them, the point file is a data package. In one embodiment, the spot file is a spot UI file, which is used to configure, monitor and control the running state of the device.
在一个具体实施例中,点位文件可以通过Marswindow生成。进一步地,在一个实施例中,Marswindow根据项目程序自动导入或手动生成点位UI文件,上传到边缘网关。In a specific embodiment, the point file can be generated by Marswindow. Further, in one embodiment, Marswindow automatically imports or manually generates a point UI file according to the project program, and uploads it to the edge gateway.
在一个实施例中,服务器通过中间件实现定时查询点位文件。In one embodiment, the server implements periodic query of point files through middleware.
步骤S420,当检测到点位文件更新时,根据更新的点位文件生成新增设备的标识信息,基于标识信息对新增设备进行注册。Step S420, when it is detected that the point file is updated, the identification information of the newly added device is generated according to the updated point file, and the newly added device is registered based on the identification information.
本实施例中,服务器检测到点位文件更新时,表示检测到了新增设备,此时服务器根据点位文件中更新的新增设备的设备信息来生成新增设备的标识信息。在一个实施例中,服务器将会根据点位文件中的信息生成新增设备在平台中的唯一标识。唯一标识可用于候选在平台中查询新增设备的相关信息。在一个具体实施例中,生成的设备的唯一标识包括pid信息(设备标识)和din信息(组件标识)。In this embodiment, when the server detects that the point file is updated, it indicates that a new device has been detected. At this time, the server generates the identification information of the new device according to the device information of the new device updated in the point file. In one embodiment, the server will generate the unique identifier of the newly added device in the platform according to the information in the dot file. The unique identifier can be used by candidates to query information about newly added devices in the platform. In a specific embodiment, the generated unique identifier of the device includes pid information (device identifier) and din information (component identifier).
进一步地,在生成标识信息之后,基于标识信息对新增设备进行注册,即完成了对新增设备的发现和接入过程。Further, after the identification information is generated, the newly added device is registered based on the identification information, that is, the process of discovering and accessing the newly added device is completed.
本实施例中,服务器通过定时查询边缘网关中的点位文件来确定是否扫描到新增设备,若点位文件更新则表示扫描到新增设备,服务器将会更加点位文件中的设备信息为新增设备生成一个在服务器中的唯一标识,进而基于唯一标识完成对新增设备的注册和接入。In this embodiment, the server determines whether a new device has been scanned by regularly querying the point file in the edge gateway. If the point file is updated, it means that a new device has been scanned, and the server will update the device information in the point file as The newly added device generates a unique identifier in the server, and then completes the registration and access of the newly added device based on the unique identifier.
在一个实施例中,在接收边缘网关上传的新增设备信息对应的设备信息之前,还包括:获取新增设备对应的设备定义数据;根据设备定义数据生成新增设备对应的物模型,并存储物模型。In one embodiment, before receiving the device information corresponding to the newly added device information uploaded by the edge gateway, it also includes: obtaining the device definition data corresponding to the newly added device; generating an object model corresponding to the newly added device according to the device definition data, and storing object model.
其中,设备定义数据表示用于定义设备的相关数据;根据设备定义数据可以在服务器中生成对应的物模型。在一个实施例中,设备定义数据可以包括设备对应的模型类型、模型名称、属性、事件和服务中的至少一种。其中,属性、事件和服务表示的是物模型中的定义,通过属性、事件和服务分别描述了该实体是什么、能做什么、可以对外提供哪些信息,定义了物模型的这三个维度,即完成了产品功能的定义。Wherein, the device definition data represents relevant data for defining the device; according to the device definition data, a corresponding object model can be generated in the server. In an embodiment, the device definition data may include at least one of a model type, a model name, an attribute, an event, and a service corresponding to the device. Among them, attributes, events, and services represent the definitions in the object model. Attributes, events, and services describe what the entity is, what it can do, and what information it can provide externally. These three dimensions of the object model are defined. That is to say, the definition of product function is completed.
在一个实施例中,设备定义数据可以是用户输入的,也可以是从对应数据库中获取的。In an embodiment, the device definition data may be input by the user, or may be obtained from a corresponding database.
本实施例中,在服务器中接入设备之前,预先根据设备定义数据生成对应的物模型,定义好设备的物模型,边缘网关在探测发现并接入新增设备之后,结合物模型可以确定需要获 取新增物模型的数据进行上报,以及对新增设备进行控制所需的指令等等信息。In this embodiment, before accessing the device in the server, the corresponding object model is generated in advance according to the device definition data, and the object model of the device is defined. After the edge gateway detects and accesses the new device, it can determine the required Obtain the data of the new object model for reporting, as well as the instructions needed to control the new equipment and other information.
进一步地,在根据设备定义数据生成新增设备对应的物模型,并存储物模型之后,还包括:接收到新增设备的更新后的设备定义数据时,根据更新后的设备定义数据,对物模型进行更新。Further, after generating the object model corresponding to the newly added device according to the device definition data and storing the object model, it also includes: when receiving the updated device definition data of the newly added device, according to the updated device definition data, The model is updated.
本实施例中,服务器中预先录入物模型,在需要对设备的功能进行增删改的场景中,可以通过在服务器中更新设备定义数据,根据更新后的设备定义数据生成对应更新后的物模型。后续边缘网关将基于更新后的物模型来实现设备运行数据的上报和对设备进行管理。In this embodiment, the object model is pre-registered in the server. In the scenario where the function of the device needs to be added, deleted, or modified, the device definition data can be updated in the server, and a corresponding updated object model can be generated according to the updated device definition data. Subsequent edge gateways will report device operating data and manage devices based on the updated physical model.
在一个实施例中,在生成并存储新增设备对应的物模型之后,上述方法还包括:通过低代码平台可以针对物模型的属性字段生成协议包供物联网关使用。其中,低代码平台(LCDP)是无需编码(0代码)或通过少量代码就可以快速生成应用程序的开发平台。在本实施例中,低代码平台可以是任意一种低代码平台。In one embodiment, after the object model corresponding to the newly added device is generated and stored, the above method further includes: using the low-code platform, a protocol package can be generated for the attribute field of the object model for use by the IoT gateway. Among them, the low-code platform (LCDP) is a development platform that can quickly generate applications without coding (0 code) or with a small amount of code. In this embodiment, the low-code platform may be any low-code platform.
进一步地,在通过低代码平台生成物模型对应的协议包之后,将协议包更新至协议库。边缘网关定期扫描协议库,若发现协议库存在更新的协议包,根据协议包获取预设地址范围,在预设地址范围内探测新设备。使物联网关在通电后,可以反向探测物模型中的非智能设备,通过调用协议包自动完成设备接入及协议转换。Further, after the protocol package corresponding to the product model is generated through the low-code platform, the protocol package is updated to the protocol library. The edge gateway regularly scans the protocol library, and if it finds that there is an updated protocol package in the protocol library, it obtains the preset address range according to the protocol package, and detects new devices within the preset address range. After the IoT gateway is powered on, it can reversely detect non-intelligent devices in the object model, and automatically complete device access and protocol conversion by calling the protocol package.
本实施例中,针对传统的设备接入方法,由于协议不统一对接协议转换所需的开发成本高,当协议发生变更时,需要二次开发,开发人力成本高,而本实施例中,降低了因设备协议变更导致的二次开发人力成本,当协议发生变更仅需要在物联平台更新物模型,边缘网关会定时检测协议变化并做标准化协议转化,对于非标准的协议同样可以通过上述方法自动转换为标准协议,以供网关平台使用。In this embodiment, for the traditional device access method, because the protocol is not unified, the development cost required for protocol conversion is high. When the protocol changes, secondary development is required, and the development labor cost is high. In this embodiment, the reduction Reduce the labor cost of secondary development caused by the change of equipment protocol. When the protocol changes, it only needs to update the object model on the IoT platform. The edge gateway will regularly detect the protocol change and perform standardized protocol conversion. The above method can also be used for non-standard protocols. Automatic conversion to standard protocols for use by gateway platforms.
在一个实施例中,本申请还提供一种设备管理系统,包括:服务器和边缘网关;其中:边缘网关用于在预设地址范围内探测设备;当在预设地址范围内探测到新增设备时,获取新增设备的设备信息;将设备信息同步至服务器;服务器用于接收边缘网关上传的新增设备信息对应的设备信息,根据设备信息对新增设备进行注册,接入新增设备。In one embodiment, the present application also provides a device management system, including: a server and an edge gateway; wherein: the edge gateway is used to detect devices within a preset address range; when a new device is detected within a preset address range , obtain the device information of the newly added device; synchronize the device information to the server; the server is used to receive the device information corresponding to the newly added device information uploaded by the edge gateway, register the newly added device according to the device information, and access the newly added device.
关于设备管理系统的具体实施例可以参见上文中对于设备接入方法、设备管理方法的实施例,在此不再赘述。For specific embodiments of the device management system, reference may be made to the above embodiments of the device access method and the device management method, which will not be repeated here.
本申请还提供一种应用场景,该应用场景应用上述的设备接入方法、设备管理方法。具体地,如图5所示,为本实施例中设备接入方法、设备管理方法的流程示意图;图中所示穗腾OS(operating system,操作系统),是个大的系统,有物联、车联、监控、运维等子系统;物联平台是穗腾OS下的一个子系统。在本实施例中,用户可通过穗腾OS与设备管理系统进行交互。该设备接入方法、设备管理方法在该应用场景的应用如下:The present application also provides an application scenario, where the above-mentioned device access method and device management method are applied. Specifically, as shown in Figure 5, it is a schematic flow diagram of the device access method and device management method in this embodiment; Suiteng OS (operating system, operating system) shown in the figure is a large system, with IoT, Subsystems such as Internet of Vehicles, monitoring, and operation and maintenance; the Internet of Things platform is a subsystem under Suiteng OS. In this embodiment, users can interact with the device management system through Suiteng OS. The application of the device access method and device management method in this application scenario is as follows:
本实施例中,以将上述方法应用在城轨工业控制系统中,其中以涉及的设备为闸机、边缘网关为车站边缘网关、服务器为物联平台为例进行描述,包括以下步骤:In this embodiment, the above method is applied to an urban rail industrial control system, where the involved equipment is a gate, the edge gateway is a station edge gateway, and the server is an IoT platform as an example, including the following steps:
新增闸机设备上电接入网络后,若满足自发现和反向集成前置条件,边缘网关中的Marswindow即完成设备识别。新增闸机设备上电主动广播上报自身信息,包括sn(设备序列码)、设备地址以及该设备所需的功能与逻辑指令。在一个实施例中,边缘网关需确保多个设备(如128个)同时上报数据时,接收到数据的正确性;此外,边缘网关支持基于设备序列号进行地址的在线修改。After the new gate device is powered on and connected to the network, if the self-discovery and reverse integration preconditions are met, Marswindow in the edge gateway will complete the device identification. The newly added gate device automatically broadcasts and reports its own information when it is powered on, including sn (device serial number), device address, and the functions and logic instructions required by the device. In one embodiment, the edge gateway needs to ensure the correctness of the received data when multiple devices (such as 128) report data at the same time; in addition, the edge gateway supports online modification of the address based on the serial number of the device.
对于非智能设备的注册和接入过程包括:The registration and access process for non-smart devices includes:
1、在物联平台中获取设备定义数据(映射点表),根据设备定义数据生成对应的设备的 物模型。将物模型对应的协议更新到协议库中。1. Obtain the device definition data (mapping point table) in the IoT platform, and generate the object model of the corresponding device according to the device definition data. Update the protocol corresponding to the object model to the protocol library.
2、边缘网关定时扫描协议库,当发现新增的协议时,边缘网关中的MarsWindow连接上边缘中控(中央控制系统),按一定频次主动按新增的协议对应的地址范围扫描,发现总线或网络地址范围中新增的设备,显示其唯一地址,型号,序列号等设备信息。2. The edge gateway regularly scans the protocol library. When a new protocol is found, MarsWindow in the edge gateway connects to the edge central control (central control system), and actively scans the address range corresponding to the new protocol at a certain frequency to find the bus Or a device newly added in the network address range, displaying its unique address, model, serial number and other device information.
3、物联平台通过中间件定时查询边缘网关中控的点位UI文件是否更新,如果有更新自动下载,并生成物联平台(上述服务器)中的唯一标识pid、din等信息,同步到物联平台完成设备注册。其中,中间件为程序中间件,用于定时查询边缘网关中的点位UI文件。3. The IoT platform periodically queries whether the point UI file in the edge gateway is updated through the middleware. If there is an update, it will be downloaded automatically, and the unique identification pid, din and other information in the IoT platform (the above server) will be generated and synchronized to the IoT platform. Connect the platform to complete the device registration. Wherein, the middleware is a program middleware, which is used to regularly query the point UI files in the edge gateway.
在完成设备的注册和接入之后,在设备的运行过程中:After completing the registration and access of the device, during the operation of the device:
1、边缘网关从物联平台拉起设备对应的物模型,边缘网关中控进行自动数据匹配解析,确定设备需上报的设备运行数据;并将设备运行数据上报至物联平台。在一个实施例中,如果检测到2个设备地址相同,边缘网关支持基于设备序列号进行地址的在线修改。设备厂商根据点表录入物模型后,物联平台将提供专门的接口给设备厂商用于查询物模型相关信息。1. The edge gateway pulls up the object model corresponding to the device from the Internet of Things platform, and the central control of the edge gateway performs automatic data matching analysis to determine the device operation data that the device needs to report; and reports the device operation data to the Internet of Things platform. In one embodiment, if it is detected that two devices have the same address, the edge gateway supports online modification of addresses based on device serial numbers. After the device manufacturer enters the object model according to the point table, the IoT platform will provide a special interface for the device manufacturer to query the relevant information of the object model.
2、通过Marswindow的用户界面,可以设置设备状态启用或禁用,若选择启用,边缘网关按物联平台规则自动生成din、pid等信息,同时上报到物联平台,若选择禁用,则信息同步在物联平台进行注销(反注册),物联平台不会显示该设备。2. Through the user interface of Marswindow, you can set the device status to enable or disable. If you choose to enable, the edge gateway will automatically generate information such as din and pid according to the rules of the IoT platform, and report it to the IoT platform at the same time. If you choose to disable, the information will be synchronized in the If the IoT platform performs deregistration (anti-registration), the IoT platform will not display the device.
3、在启用设备后,物联平台可以看到新增闸机设备的状态,离线或在线,若是离线状态,有可能是设备故障、设备待机或线路故障,需要进一步排查。3. After the device is enabled, the IoT platform can see the status of the newly added gate device, offline or online. If it is offline, it may be a device failure, device standby or line failure, which needs further investigation.
在一个实施例中,上述方法需满足一定的实施规范。In an embodiment, the above method needs to meet certain implementation specifications.
在一个具体实施例中,如图6所示为物联平台、边缘网关和闸机之间的架构示意图,在本实施例中:①边缘网关把每台闸机分别作为一个设备点接入,闸机端需要提供每台闸机对应的设备地址等信息表,通过把全部闸机的设备地址信息表转换成与平台产品模型对应的映射点表,物联平台会根据该点表进行设备的注册、控制与状态解析。②对于闸机的增、删、改、查操作均可以在映射点表上面完成。当映射点表有变更,边缘网关会感知到点表有更新,然后执行对应的操作。③完成SC服务接入后,对于增加不同协议的闸机,只需要维护映射点表的变更,其他过程均是自动化完成,不需要人工或研发人员去代码操作,不影响云端数据。④增加设备:边缘网关感知到点表有新增闸机设备,边缘网关会执行新设备的注册,并上报平台。⑤删除设备:边缘网关感知到点表有减少设备,边缘网关会执行设备的删除,并不会上报平台,平台端显示设备离线。⑥修改设备:边缘网关感知到点表设备属性(如_x0008_poiCode)发生改变,边缘网关会执行设备以最新属性(poiCode)上报。⑦查找设备:通过查找点表,可以找出该设备的pid(设备标识)、modelId(模型标识)、poiCode(兴趣点码)、device_id(设备标识)、datapoint(数据点)。In a specific embodiment, as shown in Figure 6 is a schematic diagram of the architecture between the IoT platform, the edge gateway and the gate. In this embodiment: ①The edge gateway connects each gate as a device point, The gate side needs to provide information tables such as device addresses corresponding to each gate. By converting the device address information tables of all gates into mapping point tables corresponding to platform product models, the IoT platform will perform device mapping based on this point table. Registration, control and state resolution. ②The operations of adding, deleting, modifying and checking gates can all be completed on the mapping point table. When the mapping point table changes, the edge gateway will sense that the point table has been updated, and then perform corresponding operations. ③After the SC service access is completed, for gates with different protocols, only the change of the mapping point table needs to be maintained, and other processes are completed automatically, without manual or R&D personnel to code operations, and will not affect cloud data. ④ Adding devices: The edge gateway perceives that there is a new gate device in the point table, and the edge gateway will perform the registration of the new device and report it to the platform. ⑤ Deleting devices: The edge gateway perceives that there are fewer devices in the point table, and the edge gateway will delete the devices without reporting to the platform. The platform shows that the devices are offline. ⑥Modify the device: The edge gateway perceives that the point table device attribute (such as _x0008_poiCode) has changed, and the edge gateway will execute the device to report with the latest attribute (poiCode). ⑦Find device: By looking up the point table, you can find out the pid (device identifier), modelId (model identifier), poiCode (point of interest code), device_id (device identifier), and datapoint (data point) of the device.
其中,SC(Service Center)服务器:Tiny远程服务调用的主服务器。该服务器负责将前来注册的应用服务器的服务信息分发至其他服务器。Among them, SC (Service Center) server: the main server called by Tiny remote service. The server is responsible for distributing the service information of the registered application server to other servers.
进一步地,在一个具体实施例中,在物联平台中录入物模型如图7(1)所示的界面示意图;本实施例中,获取自定义物模型的所属类型(可输入类型名称或者poicode关键字),以及模型名称,根据所属类型和模型名称创建对应的物模型。在物联平台中对已经创建的物模型修改或新增属性、服务、事件如图7(2)所示界面;本实施例中,对于图7(1)中所创建的物模型,需要分别定义属性、服务和事件信息。具体的内容可以根据实际情况设置。在物联平台中,物模型录入完成的结果如图7(3)所示;本实施例中,展示新创建的物模型的相关信息。Further, in a specific embodiment, the interface schematic diagram shown in Figure 7 (1) is entered into the object model in the IoT platform; in this embodiment, the type of the custom object model (type name or poicode can be input) keyword), and the model name, create the corresponding object model according to the type and model name. In the Internet of Things platform, modify or add attributes, services, and events to the created object model in the interface shown in Figure 7 (2); in this embodiment, for the object model created in Figure 7 (1), it is necessary to separately Define property, service and event information. The specific content can be set according to the actual situation. In the Internet of Things platform, the result of the object model entry is shown in Figure 7(3); in this embodiment, the relevant information of the newly created object model is displayed.
上述方法,降低了人工接入非智能设备的难度,仅需要根据点表提前录入设备物模型即可在设备通电后接入指定网段内的新设备。降低了因设备协议变更导致的二次开发人力成本,当协议发生变更仅需要更新点表,边缘网关会定时检测协议变化并做协议转化。通过协议转化可以将上层非标准协议做标准化处理。The above method reduces the difficulty of manual access to non-intelligent devices, and only needs to enter the device object model in advance according to the point table to connect new devices in the specified network segment after the device is powered on. Reduces the labor cost of secondary development caused by device protocol changes. When the protocol changes, only the point table needs to be updated, and the edge gateway will regularly detect protocol changes and perform protocol conversion. The upper layer non-standard protocol can be standardized through protocol conversion.
在一个具体实施例中,上述方法应用于地铁场景,车站物联平台是当网络瘫痪时,云端物联平台无法与边缘的设备通信,此时地铁仍需正常运作,即自动启动车站物联平台,由车站物联平台通过内网与设备实现对设备的正常控制。In a specific embodiment, the above method is applied to the subway scene. When the network of the station IoT platform is paralyzed, the cloud IoT platform cannot communicate with the edge devices. At this time, the subway still needs to operate normally, that is, the station IoT platform is automatically activated. , the station IOT platform realizes the normal control of the equipment through the intranet and equipment.
在另一个具体实施例中,本申请还提供一种针对非智能设备的接入方法,如图8所示,本实施例中使用半自动的方式接入新增设备,具体由人工安装并在平台配置设备基础信息,启动后通过配置连接车站网关,设备端自主调用网关接口完成注册。In another specific embodiment, this application also provides an access method for non-intelligent devices, as shown in Figure 8, in this embodiment, a semi-automatic method is used to access new devices, which are manually installed and installed on the platform Configure the basic information of the device, connect to the station gateway through configuration after startup, and the device side will automatically call the gateway interface to complete the registration.
应该理解的是,虽然上述实施例中所涉及的各流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述实施例中所涉及的各流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flow charts involved in the above embodiments are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the flow charts involved in the above embodiments may include multiple steps or stages, and these steps or stages are not necessarily executed at the same time, but may be executed at different times, The execution order of these steps or stages is not necessarily performed sequentially, but may be performed in turn or alternately with other steps or at least a part of steps or stages in other steps.
在一个实施例中,如图9所示,提供了一种设备接入装置,该装置可以采用软件模块或硬件模块,或者是二者的结合成为计算机设备的一部分,该装置具体包括:探测模块100、信息获取模块200和云边协同模块300,其中:In one embodiment, as shown in FIG. 9 , a device access device is provided. The device can adopt a software module or a hardware module, or a combination of the two to become a part of the computer device. The device specifically includes: a detection module 100. The information acquisition module 200 and the cloud-side collaboration module 300, wherein:
探测模块100,用于在预设地址范围内探测设备;A detection module 100, configured to detect devices within a preset address range;
信息获取模块200,用于当在预设地址范围内探测到新增设备时,获取新增设备的设备信息;An information acquisition module 200, configured to acquire device information of the newly added device when a newly added device is detected within the preset address range;
云边协同模块300,用于将设备信息同步至服务器,使服务器根据设备信息对新增设备进行注册,接入新增设备。The cloud-edge collaboration module 300 is configured to synchronize device information to the server, so that the server registers the newly added device according to the device information, and accesses the newly added device.
上述设备接入装置,边缘网关在预设地址范围内探测是否出现新增的设备,若是则获取该新增设备的设备信息,并将设备信息同步至服务器,使服务器根据设备信息对新增设备进行注册,接入新增设备;后续服务器可以通过边缘网关获取或管理该新增设备的相关数据。上述装置通过边缘网关主动在规定地址范围内进行探测发现设备,通过与设备之间的通信来获取设备信息,可以应用在无法主动调用相关接口来上报设备信息的非智能设备中,实现自动将设备接入到服务器中完成注册的效果,降低了人工接入非智能设备的难度,同时可减少设备接入所需的人工成本。The above-mentioned device access device, the edge gateway detects whether there is a new device within the preset address range, and if so, obtains the device information of the new device, and synchronizes the device information to the server, so that the server can update the new device according to the device information. Register and access the newly added device; the subsequent server can obtain or manage the relevant data of the newly added device through the edge gateway. The above device actively detects and discovers devices within the specified address range through the edge gateway, and obtains device information through communication with the device. It can be applied to non-intelligent devices that cannot actively call relevant interfaces to report device information to realize automatic device The effect of accessing to the server to complete the registration reduces the difficulty of manual access to non-intelligent devices, and at the same time reduces the labor cost required for device access.
在一个实施例中,上述装置的云边协同模块300包括:点位文件更新子模块,用于根据设备信息确定新增设备的对应的点位文件;点位文件用于使服务器根据点位文件生成新增设备的标识信息,并基于标识信息对新增设备进行注册。In one embodiment, the cloud-edge collaboration module 300 of the above-mentioned device includes: a point file update submodule, which is used to determine the corresponding point file of the newly added device according to the device information; The identification information of the newly added device is generated, and the newly added device is registered based on the identification information.
在一个实施例中,上述装置还包括:模型拉取模块,用于从服务器拉取目标设备对应的物模型;物模型是预先基于目标设备的设备定义数据生成的;运行数据获取模块,用于根据物模型获取目标设备的设备运行数据;数据反馈模块,用于将设备运行数据反馈至服务器。In one embodiment, the above apparatus further includes: a model pulling module, configured to pull the object model corresponding to the target device from the server; the object model is pre-generated based on the device definition data of the target device; an operation data acquisition module, used to Obtain the equipment operation data of the target equipment according to the physical model; the data feedback module is used to feed back the equipment operation data to the server.
在一个实施例中,物模型的确定还包括:当服务器接收到更新后的设备定义数据时,服 务器基于更新后的设备定义数据对物模型进行更新;在本实施例中,上述装置的模型拉取模块还用于:每隔预设时间段从服务器拉取目标设备对应的物模型。In one embodiment, the determination of the object model further includes: when the server receives the updated device definition data, the server updates the object model based on the updated device definition data; in this embodiment, the model of the above-mentioned device pulls The fetching module is also used for: fetching the object model corresponding to the target device from the server every preset time period.
在另一个实施例中,如图10所示,本申请还提供一种设备管理装置,装置包括数据接收模块500和注册模块600。其中:数据接收模块500,用于接收边缘网关上传的新增设备信息对应的设备信息;其中,设备信息的确定包括:边缘网关在预设地址范围内探测到新增设备时,获取新增设备的设备信息;注册模块600,用于根据设备信息对新增设备进行注册。In another embodiment, as shown in FIG. 10 , the present application also provides a device management device, which includes a data receiving module 500 and a registration module 600 . Among them: the data receiving module 500 is used to receive the device information corresponding to the newly added device information uploaded by the edge gateway; wherein, the determination of the device information includes: when the edge gateway detects a new device within the preset address range, obtain the newly added device device information; a registration module 600, configured to register a newly added device according to the device information.
在一个实施例中,上述装置还包括:查询模块,用于定时查询点位文件;点位文件为边缘网关根据新增设备的设备信息确定;标识信息生成模块,用于当检测到点位文件更新时,根据更新的点位文件生成并存储新增设备的标识信息;存储模块用于,存储标识信息。In one embodiment, the above-mentioned device further includes: a query module, used to periodically query the point file; the point file is determined by the edge gateway according to the device information of the newly added device; an identification information generation module, used for when the point file is detected When updating, the identification information of the newly added device is generated and stored according to the updated point file; the storage module is used to store the identification information.
在一个实施例中,上述装置还包括:定义数据获取模块,用于获取新增设备对应的设备定义数据;物模型生成模块,用于根据设备定义数据生成新增设备对应的物模型,并存储物模型。In one embodiment, the above-mentioned apparatus further includes: a definition data acquisition module, configured to acquire equipment definition data corresponding to newly added equipment; an object model generation module, configured to generate an object model corresponding to newly added equipment according to the equipment definition data, and store the object model.
在一个实施例中,上述装置还包括:物模型更新模块,用于接收到新增设备的更新后的设备定义数据时,根据更新后的设备定义数据,对物模型进行更新。In one embodiment, the above apparatus further includes: an object model updating module, configured to update the object model according to the updated device definition data when receiving updated device definition data of the newly added device.
关于设备接入装置、设备管理装置的具体实施例可以参见上文中对于设备接入方法、设备管理方法的实施例,在此不再赘述。上述设备接入装置、设备管理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific embodiments of the device access device and the device management device, reference may be made to the above embodiments of the device access method and the device management method, which will not be repeated here. Each module in the above-mentioned device access device and device management device may be realized in whole or in part by software, hardware or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图11所示。该计算机设备包括通过系统总线连接的处理器、存储器和网络接口。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储物模型等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种设备管理方法。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure may be as shown in FIG. 11 . The computer device includes a processor, memory and a network interface connected by a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs and databases. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used to store data such as object models. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a device management method is realized.
在另一个实施例中,提供了一种计算机设备,该计算机设备可以是终端。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种设备接入方法。In another embodiment, a computer device is provided, and the computer device may be a terminal. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, NFC (Near Field Communication) or other technologies. When the computer program is executed by the processor, a device access method is realized.
本领域技术人员可以理解,图11中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 11 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the computer equipment on which the solution of this application is applied. The specific computer equipment can be More or fewer components than shown in the figures may be included, or some components may be combined, or have a different arrangement of components.
在一个实施例中,还提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。In one embodiment, there is also provided a computer device, including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
在一个实施例中,提供了一种计算机可读存储介质,存储有计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。In one embodiment, a computer-readable storage medium is provided, storing a computer program, and implementing the steps in the foregoing method embodiments when the computer program is executed by a processor.
在一个实施例中,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述各方法实施例中的步骤。In one embodiment there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the steps in the foregoing method embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the computer programs can be stored in a non-volatile computer-readable storage medium. , when the computer program is executed, it may include the procedures of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include at least one of non-volatile memory and volatile memory. Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be within the range described in this specification.
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above examples only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.
Claims (10)
- 一种设备接入方法,其特征在于,所述方法包括:A device access method, characterized in that the method includes:在预设地址范围内探测设备;Detect devices within a preset address range;当在所述预设地址范围内探测到新增设备时,获取所述新增设备的设备信息;When a newly added device is detected within the preset address range, acquiring device information of the newly added device;将所述设备信息同步至服务器,使所述服务器根据所述设备信息对所述新增设备进行注册,接入所述新增设备。Synchronizing the device information to a server, so that the server registers the newly added device according to the device information, and accesses the newly added device.
- 根据权利要求1所述的设备接入方法,其特征在于,所述将所述设备信息同步至服务器,使所述服务器根据所述设备信息对所述新增设备进行注册,包括:The device access method according to claim 1, wherein the synchronizing the device information to a server so that the server registers the newly added device according to the device information comprises:根据所述设备信息确定所述新增设备的对应的点位文件;所述点位文件用于使所述服务器根据所述点位文件生成所述新增设备的标识信息,并基于所述标识信息对所述新增设备进行注册。Determine the corresponding point file of the added device according to the device information; the point file is used to enable the server to generate identification information of the newly added device according to the point file, and based on the identification information to register the newly added device.
- 根据权利要求2所述的设备接入方法,其特征在于,在将所述设备信息同步至服务器之后,还包括:The device access method according to claim 2, further comprising: after synchronizing the device information to the server:从所述服务器拉取目标设备对应的物模型;所述物模型是预先基于所述目标设备的设备定义数据生成的;Pulling the object model corresponding to the target device from the server; the object model is pre-generated based on the device definition data of the target device;根据所述物模型获取所述目标设备的设备运行数据;Acquiring equipment operation data of the target equipment according to the object model;将所述设备运行数据反馈至所述服务器。Feedback the operation data of the equipment to the server.
- 根据权利要求3所述的设备接入方法,其特征在于,所述物模型的确定还包括:当所述服务器接收到更新后的设备定义数据时,所述服务器基于更新后的设备定义数据对所述物模型进行更新;The device access method according to claim 3, wherein the determining of the object model further comprises: when the server receives the updated device definition data, the server performs an update based on the updated device definition data The object model is updated;所述从所述服务器拉取目标设备对应的物模型,包括:每隔预设时间段从所述服务器拉取所述目标设备对应的物模型。The fetching the object model corresponding to the target device from the server includes: fetching the object model corresponding to the target device from the server every preset time period.
- 一种设备管理方法,其特征在于,包括:A device management method, characterized by comprising:接收边缘网关上传的新增设备信息对应的设备信息;其中,所述设备信息的确定包括:所述边缘网关在预设地址范围内探测到新增设备时,获取所述新增设备的设备信息;Receive device information corresponding to the newly added device information uploaded by the edge gateway; wherein, the determination of the device information includes: when the edge gateway detects a newly added device within a preset address range, acquiring the device information of the newly added device ;根据所述设备信息对所述新增设备进行注册。Registering the newly added device according to the device information.
- 根据权利要求5所述的设备管理方法,其特征在于,所述根据所述设备信息对所述新增设备进行注册,包括:The device management method according to claim 5, wherein the registering the newly added device according to the device information comprises:定时查询点位文件;所述点位文件为所述边缘网关根据所述新增设备的设备信息确定;Regularly query the point file; the point file is determined by the edge gateway according to the device information of the newly added device;当检测到所述点位文件更新时,根据更新的所述点位文件生成所述新增设备的标识信息, 基于所述标识信息对所述新增设备进行注册。When it is detected that the point file is updated, the identification information of the newly added device is generated according to the updated point file, and the newly added device is registered based on the identification information.
- 根据权利要求6所述的设备管理方法,其特征在于,在接收边缘网关上传的新增设备信息对应的设备信息之前,还包括:The device management method according to claim 6, characterized in that before receiving the device information corresponding to the newly added device information uploaded by the edge gateway, further comprising:获取新增设备对应的设备定义数据;Obtain the device definition data corresponding to the newly added device;根据所述设备定义数据生成所述新增设备对应的物模型,并存储所述物模型。An object model corresponding to the newly added equipment is generated according to the equipment definition data, and the object model is stored.
- 根据权利要求7所述的设备管理方法,其特征在于,在根据所述设备定义数据生成所述新增设备对应的物模型,并存储所述物模型之后,还包括:The device management method according to claim 7, characterized in that, after generating the object model corresponding to the newly added device according to the device definition data and storing the object model, further comprising:接收到所述新增设备的更新后的设备定义数据时,根据所述更新后的设备定义数据,对所述物模型进行更新。When the updated device definition data of the added device is received, the object model is updated according to the updated device definition data.
- 一种设备管理系统,其特征在于,所述系统包括:服务器和边缘网关;A device management system, characterized in that the system includes: a server and an edge gateway;所述边缘网关用于在预设地址范围内探测设备;当在所述预设地址范围内探测到新增设备时,获取所述新增设备的设备信息;将所述设备信息同步至所述服务器;The edge gateway is used to detect devices within a preset address range; when a new device is detected within the preset address range, obtain device information of the newly added device; and synchronize the device information to the server;所述服务器用于接收边缘网关上传的新增设备信息对应的设备信息,根据所述设备信息对所述新增设备进行注册,接入所述新增设备。The server is configured to receive device information corresponding to the newly added device information uploaded by the edge gateway, register the newly added device according to the device information, and access the newly added device.
- 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至8中任一项所述的方法的步骤。A computer device, comprising a memory and a processor, the memory stores a computer program, wherein the processor implements the steps of the method according to any one of claims 1 to 8 when executing the computer program.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110826259.1A CN114980302B (en) | 2021-07-21 | 2021-07-21 | Method and system for access and management of equipment reverse integration and computer equipment |
CN202110826259.1 | 2021-07-21 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023000726A1 true WO2023000726A1 (en) | 2023-01-26 |
Family
ID=82972712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/087194 WO2023000726A1 (en) | 2021-07-21 | 2022-04-15 | Device reverse integration access method, device reverse integration management method and system, and computer device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114980302B (en) |
WO (1) | WO2023000726A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116185372A (en) * | 2023-04-26 | 2023-05-30 | 山东浪潮科学研究院有限公司 | Back-end source code generation method, device, equipment and storage medium |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115604233A (en) * | 2022-12-12 | 2023-01-13 | 河北振创电子科技有限公司(Cn) | Method and device for actively registering address of modbus protocol equipment |
CN115801856B (en) * | 2023-02-07 | 2023-05-16 | 深圳开鸿数字产业发展有限公司 | Service processing method based on atomization service and related equipment |
CN116362673A (en) * | 2023-03-01 | 2023-06-30 | 中国船舶集团有限公司第七一九研究所 | Ship equipment management method and system based on cloud computing |
CN117527861B (en) * | 2024-01-05 | 2024-03-22 | 四川盛邦润达科技有限公司 | Equipment access method, internet of things gateway and Internet of things visualization platform |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2890052A1 (en) * | 2013-12-27 | 2015-07-01 | Telefonica S.A. | Method and system for dynamic network configuration and access to services of devices |
WO2016003311A1 (en) * | 2014-07-04 | 2016-01-07 | Google Inc. | Device bootstrap to wireless network |
CN106375491A (en) * | 2016-08-31 | 2017-02-01 | 浙江远望信息股份有限公司 | Method, device and system for discovering network equipment |
CN109245929A (en) * | 2018-09-13 | 2019-01-18 | 京信通信系统(中国)有限公司 | Method, apparatus, computer storage medium and the equipment of the automatic discovery network equipment |
CN109600743A (en) * | 2018-08-17 | 2019-04-09 | 浙江宇视科技有限公司 | A kind of method and device of reversed detection wireless access device |
US20190342179A1 (en) * | 2018-05-07 | 2019-11-07 | Servicenow, Inc. | Discovery and Management of Devices |
CN110635942A (en) * | 2019-09-02 | 2019-12-31 | 上海商米科技集团股份有限公司 | Device discovery method, Internet of things device and Internet of things server |
CN111614579A (en) * | 2020-05-14 | 2020-09-01 | 广东电网有限责任公司电力调度控制中心 | Access method, access device and access system of edge device |
CN112511393A (en) * | 2021-02-08 | 2021-03-16 | 腾讯科技(深圳)有限公司 | Equipment linkage control method and device and storage medium |
CN112702193A (en) * | 2020-12-16 | 2021-04-23 | 广东电网有限责任公司电力调度控制中心 | Data interaction method and device, computer equipment and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2891038B1 (en) * | 2012-08-31 | 2020-06-24 | Citrix Systems, Inc. | Reverse seamless integration between local and remote computing environments |
CN112787846A (en) * | 2020-12-23 | 2021-05-11 | 北京珞安科技有限责任公司 | Equipment discovery method and device and computer equipment |
-
2021
- 2021-07-21 CN CN202110826259.1A patent/CN114980302B/en active Active
-
2022
- 2022-04-15 WO PCT/CN2022/087194 patent/WO2023000726A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2890052A1 (en) * | 2013-12-27 | 2015-07-01 | Telefonica S.A. | Method and system for dynamic network configuration and access to services of devices |
WO2016003311A1 (en) * | 2014-07-04 | 2016-01-07 | Google Inc. | Device bootstrap to wireless network |
CN106375491A (en) * | 2016-08-31 | 2017-02-01 | 浙江远望信息股份有限公司 | Method, device and system for discovering network equipment |
US20190342179A1 (en) * | 2018-05-07 | 2019-11-07 | Servicenow, Inc. | Discovery and Management of Devices |
CN109600743A (en) * | 2018-08-17 | 2019-04-09 | 浙江宇视科技有限公司 | A kind of method and device of reversed detection wireless access device |
CN109245929A (en) * | 2018-09-13 | 2019-01-18 | 京信通信系统(中国)有限公司 | Method, apparatus, computer storage medium and the equipment of the automatic discovery network equipment |
CN110635942A (en) * | 2019-09-02 | 2019-12-31 | 上海商米科技集团股份有限公司 | Device discovery method, Internet of things device and Internet of things server |
CN111614579A (en) * | 2020-05-14 | 2020-09-01 | 广东电网有限责任公司电力调度控制中心 | Access method, access device and access system of edge device |
CN112702193A (en) * | 2020-12-16 | 2021-04-23 | 广东电网有限责任公司电力调度控制中心 | Data interaction method and device, computer equipment and storage medium |
CN112511393A (en) * | 2021-02-08 | 2021-03-16 | 腾讯科技(深圳)有限公司 | Equipment linkage control method and device and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116185372A (en) * | 2023-04-26 | 2023-05-30 | 山东浪潮科学研究院有限公司 | Back-end source code generation method, device, equipment and storage medium |
CN116185372B (en) * | 2023-04-26 | 2023-07-21 | 山东浪潮科学研究院有限公司 | Back-end source code generation method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114980302B (en) | 2024-02-06 |
CN114980302A (en) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023000726A1 (en) | Device reverse integration access method, device reverse integration management method and system, and computer device | |
CN109889551B (en) | Method for accessing intelligent hardware to Internet of things cloud platform | |
US9998297B2 (en) | Method and apparatus for controlling smart home device to upload data, method and apparatus for acquiring data uploaded by smart home device | |
US11563819B2 (en) | Operation triggering method and apparatus for machine-to-machine communications | |
US9998566B2 (en) | Intelligent gateway with a common data format | |
CN111556158B (en) | Access method, access device, access equipment and storage medium of Internet of things platform | |
CN107247597A (en) | A kind of device object that unified abstract representation is provided for smart machine | |
CN110933146A (en) | Data conversion method and device and server | |
CN113039498B (en) | Method for commissioning field devices in an industrial system network | |
WO2013063950A1 (en) | Inspection method and system of multimode communication device | |
CN113792008B (en) | Method and device for acquiring network topology structure, electronic equipment and storage medium | |
US20140108515A1 (en) | System and method for sharing data stored in a database | |
TW201525710A (en) | Cloud based flexible assembly system of service and method suitable for telecommunication applications | |
US20230213901A1 (en) | Building management system with adaptive edge processing on local servers | |
US20230045914A1 (en) | Method and apparatus for controlling device in internet of things, and gateway device and storage medium | |
CN112039983B (en) | Method and system for realizing connection middleware of Internet of things equipment | |
WO2024183449A1 (en) | Building protocol data processing method, apparatus, and system | |
CN114827293A (en) | Edge intelligent gateway management method and edge intelligent gateway | |
Jin et al. | IoT device management architecture based on proxy | |
CN114006942B (en) | Data processing method, system, electronic equipment and storage medium | |
WO2020129995A1 (en) | Information processing system, method and program | |
WO2021134252A1 (en) | Inter-device communication method and apparatus, and storage medium | |
US20240340646A1 (en) | Collecting and managing access to management data in a telecommunications network | |
CN103687082A (en) | Intelligent building monitoring information processing method and system | |
US20240340215A1 (en) | Discovering and retrieving management data in a telecommunications network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22844898 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22844898 Country of ref document: EP Kind code of ref document: A1 |