CN111555922A - Method, device, equipment and storage medium for active adaptive access of Internet of things equipment - Google Patents

Method, device, equipment and storage medium for active adaptive access of Internet of things equipment Download PDF

Info

Publication number
CN111555922A
CN111555922A CN202010382803.3A CN202010382803A CN111555922A CN 111555922 A CN111555922 A CN 111555922A CN 202010382803 A CN202010382803 A CN 202010382803A CN 111555922 A CN111555922 A CN 111555922A
Authority
CN
China
Prior art keywords
equipment
accessed
configuration file
attribute information
internet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010382803.3A
Other languages
Chinese (zh)
Other versions
CN111555922B (en
Inventor
张振
孟亮
温耀钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Communications Services Corp Ltd
Original Assignee
China Communications Services Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Communications Services Corp Ltd filed Critical China Communications Services Corp Ltd
Priority to CN202010382803.3A priority Critical patent/CN111555922B/en
Publication of CN111555922A publication Critical patent/CN111555922A/en
Application granted granted Critical
Publication of CN111555922B publication Critical patent/CN111555922B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for actively adapting and accessing Internet of things equipment, which is characterized in that attribute information of the equipment to be accessed is acquired, a configuration file of the equipment to be accessed is generated according to the attribute information, and adaptive access of the equipment to be accessed is completed based on the configuration file, so that the purpose that equipment manufacturers do not need to modify the equipment according to the standard of an Internet of things platform and the equipment is actively adapted by the Internet of things platform is achieved. The invention also discloses a device, equipment and a storage medium for the active adaptive access of the Internet of things equipment, and the beneficial effects are achieved.

Description

Method, device, equipment and storage medium for active adaptive access of Internet of things equipment
Technical Field
The invention relates to the technical field of Internet of things, in particular to a method, a device, equipment and a storage medium for active adaptive access of Internet of things equipment.
Background
The Internet of things equipment is various in types, and has a large number of application cases in the fields of smart cities, smart manufacturing, intelligent transportation, smart homes and the like. The internet of things equipment network communication model can be divided into a sensing layer, a network layer and an application layer. The device access platform mainly relates to a network layer and an application layer. This part of the communication protocol is designed by the hardware manufacturer, and is also called a proprietary protocol. The private protocol is widely existed in the equipment of the Internet of things, but the readability is poor, and the docking difficulty is high. It is inconvenient for applications to interface directly with proprietary protocols. For example: some APP application needs to be accessed to temperature and humidity products produced by a manufacturer A and a manufacturer B to acquire temperature and humidity data therein, and due to the fact that the proprietary protocols of the two types of equipment are different, when the APP application is accessed to the two types of equipment, the APP application needs to be respectively developed and adapted by an equipment side or an application side. This process requires understanding the proprietary protocol of the device and is also highly demanding on the developer's capabilities.
If these two kinds of equipment of access through thing networking platform in this application, thing networking platform can be unified the data that obtains of the humiture product of A producer and B producer translate into the data format of understanding easily, if: "temperature: and the humidity is 65%' at 27 ℃, the Internet of things platform shields the proprietary protocols of the two devices for the application, and simultaneously unifies the protocols into a simple and understandable format, thereby greatly facilitating the access of the application.
Therefore, in order to reduce the research and development cost of each equipment manufacturer and enable the equipment manufacturers to avoid developing customized products for accessing the Internet of things platform, the Internet of things platform preferably adopts the scheme of active adaptation, namely, the equipment manufacturers do not need to carry out any transformation, and the access work of the equipment is completed by a project integrator.
However, if active adaptation is to be performed, the internet of things platform faces thousands of different internet of things devices, and in order to implement conversion from the proprietary protocol of each internet of things device to the universal standard of the internet of things platform, an experienced developer needs to invest a lot of time to perform configuration work and maintenance work of each internet of things device, which is very heavy in workload. When the number of the accessed device types reaches a certain number, the related code development, deployment, maintenance and other work are very challenging.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a storage medium for actively adapting and accessing Internet of things equipment, which are used for establishing a highly reusable configuration file when adapting to the proprietary protocols of various equipment, thereby reducing the difficulty of accessing the equipment to the Internet of things and accelerating the speed of accessing the equipment to the Internet of things.
In order to solve the technical problem, the invention provides an active adaptive access method for internet of things equipment, which comprises the following steps:
acquiring attribute information of equipment to be accessed;
referring to the attribute information of the adapted device, and generating a general configuration file of the device to be accessed according to general information in the attribute information of the device to be accessed; generating a differential configuration file of the equipment to be accessed according to differential information in the attribute information; taking the general configuration file and the differential configuration file as configuration files of the equipment to be accessed;
and completing the adaptive access of the equipment to be accessed based on the configuration file.
Optionally, the general configuration file is specifically an object model of a device type corresponding to the device to be accessed.
Optionally, the differentiated configuration file specifically includes an instantiated configuration file of the device to be accessed and a differentiated attribute configuration script of a device type corresponding to the device to be accessed.
Optionally, the obtaining of the attribute information of the device to be accessed specifically includes:
identifying a communication protocol of the equipment to be accessed;
receiving attribute information data input by the equipment to be accessed;
and calling a conversion rule corresponding to the communication protocol, and translating the attribute information data into a standard data format to obtain the attribute information of the equipment to be accessed.
Optionally, the completing the adaptive access of the device to be accessed based on the configuration file specifically includes:
and establishing a configuration management mechanism and an instance management mechanism for the equipment to be accessed based on the configuration file, and establishing a connection management service, a protocol conversion service and a platform butt-joint service for the equipment to be accessed.
Optionally, the method further includes:
acquiring a configuration rule of a platform to be butted;
and accessing the equipment to be accessed to the platform to be docked based on the configuration file and the configuration rule of the platform to be docked.
In order to solve the above technical problem, the present invention further provides a device for actively adapting access of an internet of things device, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring attribute information of the device to be accessed;
the configuration unit is used for quoting the attribute information of the adapted equipment and generating a general configuration file of the equipment to be accessed according to general information in the attribute information of the equipment to be accessed; generating a differential configuration file of the equipment to be accessed according to differential information in the attribute information; taking the general configuration file and the differential configuration file as configuration files of the equipment to be accessed;
and the deployment unit is used for completing the adaptive access of the equipment to be accessed based on the configuration file.
In order to solve the above technical problem, the present invention further provides an apparatus for actively adapting access of an internet of things device, including:
the memory is used for storing instructions, and the instructions comprise the steps of any one of the methods for the internet of things equipment to actively adapt to access;
a processor to execute the instructions.
In order to solve the above technical problem, the present invention further provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for actively adapting access to an internet of things device according to any one of the above items.
According to the method for the active adaptive access of the Internet of things equipment, the attribute information of the equipment to be accessed is obtained, the configuration file of the equipment to be accessed is generated according to the attribute information, the adaptive access of the equipment to be accessed is completed based on the configuration file, the purpose that equipment manufacturers do not need to modify the equipment according to the standard of an Internet of things platform and the equipment is actively adapted by the Internet of things platform is achieved, wherein the general configuration file of the equipment to be accessed is generated by referring to the attribute information of the adapted equipment, then the differential configuration file is generated according to the differential information of the equipment to be accessed, the general configuration file and the differential configuration file are used as the configuration file of the equipment to be accessed, the high reusability of the configuration file is achieved, the access period is shortened, and the access flow is simplified. The invention also provides a device, equipment and a storage medium for the active adaptive access of the Internet of things equipment, which have the beneficial effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for actively adapting access to an internet of things device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a modular structure of an active adaptive access method for an internet of things device according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for actively adapting access by an internet of things device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for actively adapting access of an internet of things device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a device actively adapted and accessed by an internet of things device according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a method, a device, equipment and a storage medium for the active adaptive access of the Internet of things equipment, which are used for realizing the rapid active adaptive equipment of the Internet of things platform and can access the Internet of things platform without the need of equipment manufacturers to produce customized equipment.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for actively adapting access to an internet of things device according to an embodiment of the present invention.
As shown in fig. 1, the method for actively adapting access of an internet of things device provided by the embodiment of the present invention includes:
s101: and acquiring attribute information of the equipment to be accessed.
In a specific implementation, the obtaining of the attribute information of the device to be accessed may specifically include:
identifying a communication protocol of a device to be accessed;
receiving attribute information data input by equipment to be accessed;
and calling a conversion rule corresponding to the communication protocol, and translating the attribute information data into a standard data format to obtain the attribute information of the equipment to be accessed.
The Internet of things platform is preconfigured with various communication protocols to be used for carrying out uplink and downlink communication with different devices. The preset communication Protocol may include a TCP (Transmission Control Protocol) communication Protocol, an SSL (Secure Sockets Layer) TCP communication Protocol, a UDP (User Datagram Protocol) communication Protocol, an HTTP (hypertext transfer Protocol) communication Protocol, an HTTPs (hypertext transfer security Protocol) communication Protocol, and a LoraWan (MAC Layer low power remote wireless communication) communication Protocol.
Receiving attribute information data input by equipment to be accessed, such as function description, part description, software firmware version and the like, calling a conversion rule corresponding to a communication protocol of the equipment to be accessed, and translating the attribute information data into a standard data format to obtain attribute information of the equipment to be accessed.
S102: quoting the attribute information of the adapted equipment, and generating a general configuration file of the equipment to be accessed according to general information in the attribute information of the equipment to be accessed; generating a differential configuration file of the equipment to be accessed according to differential information in the attribute information; and taking the general configuration file and the differential configuration file as the configuration file of the equipment to be accessed.
Different types of equipment or different equipment of the same type may have the same attribute information, such as 12V batteries, or have a fan cooling function, and each piece of equipment also has personalized attribute information, such as a new part. In order to reduce the data volume and realize data multiplexing, the attribute information of the equipment which is adapted to the Internet of things platform is stored in a database of the Internet of things platform. When the configuration script of the equipment to be accessed is created, most of contents of the configuration script can be created only by referring to the attribute information in the database of the Internet of things platform to obtain a general configuration file, and then differential information in the attribute information of the equipment to be accessed is independently developed.
For convenience of maintenance, in the database, attribute information of corresponding devices exceeding a preset number can be determined as general attribute information, and when a new device is accessed, the attribute information of all adapted devices does not need to be searched in the database, but can be directly called in the general attribute information.
The general configuration file (device Schema file) of the device may specifically adopt an object model of a device type corresponding to the device to be accessed, and may specifically be obtained by referring to a general script to which a communication protocol stack of the device belongs. The object model is a data model which is created for equipment products and supported by the Internet of things platform, abstracts actual products into attributes, services and events, facilitates cloud management and data interaction, can be an equipment type object model after an equipment type is created, and automatically integrates object model contents for equipment under the equipment type.
The differentiated profiles of the devices document the configuration that each device to be accessed needs to maintain individually. The differential configuration file of the device may include an instantiation configuration file of the device to be accessed and a differential attribute configuration script of a device type corresponding to the device to be accessed. The instantiation configuration file records access configuration information of the equipment, such as IP addresses, communication port numbers and the like, and corresponds to the equipment one by one. The differentiated attribute script records attribute information which is not included in the general configuration file in the attribute information of the equipment, such as newly added function attributes, and a processing method of differentiated functions.
It should be noted that the general configuration file is used to describe a certain model of product, and the differentiated script is used to describe an actual object under the product.
The configuration file is described below using a specific example of a battery pack.
Product A: a certain manufacturer model XXX 48V storage battery monitor.
And a device B: product A entity with serial number XXXXX is positioned in a certain machine room.
General configuration file (device Schema file):
Figure BDA0002482817410000061
Figure BDA0002482817410000071
Figure BDA0002482817410000081
and defining a Schema of a single battery in the general configuration file, and then referring the Schema of the single battery in the storage battery pack to achieve multiplexing of function definition.
An instantiation configuration file describes the access configuration information of the device. One per device:
Figure BDA0002482817410000082
and configuring a script for the differentiated attributes, and processing different parts of different products through a script language. One part of each product:
Figure BDA0002482817410000083
Figure BDA0002482817410000091
Figure BDA0002482817410000101
s103: and completing the adaptive access of the equipment to be accessed based on the configuration file.
Based on the configuration file established in the steps, adaptive access of each application in the platform of the Internet of things can be completed for the equipment to be accessed. Completing adaptive access of the equipment to be accessed based on the configuration file, which specifically comprises the following steps:
based on the configuration file, a configuration management mechanism and an instance management mechanism are established for the equipment to be accessed, and a connection management service, a protocol conversion service and a platform butt-joint service are established for the equipment to be accessed.
And in a pre-established database, carrying out configuration management and instance management on the equipment to be accessed according to the configuration file. Therefore, the connection management service, the protocol conversion service and the platform butt-joint service can be further established for the equipment to be accessed.
The connection management service is used for realizing uplink and downlink communication between the Internet of things platform and the equipment.
The protocol conversion service is used for translating the uplink data of the equipment into a standard data format and translating the downlink standard data of the Internet of things platform into the private communication message of the equipment.
The platform docking service is used for processing the standardized data format and completing docking with the cloud.
Because the highly reusable configuration file is established in the steps, the work of batch adaptive access processing based on the preset rule can be adopted in the step, the operation and maintenance can be automatically executed, and the working pressure of operation and maintenance personnel is further reduced.
According to the method for the active adaptive access of the Internet of things equipment, provided by the embodiment of the invention, the attribute information of the equipment to be accessed is obtained, the configuration file of the equipment to be accessed is generated according to the attribute information, the adaptive access of the equipment to be accessed is completed based on the configuration file, the purpose that an equipment manufacturer does not need to modify the equipment according to the standard of an Internet of things platform and the equipment is actively adapted by the Internet of things platform is achieved, wherein the general configuration file of the equipment to be accessed is generated by referring to the attribute information of the adapted equipment, then the differential configuration file is generated according to the differential information of the equipment to be accessed, the general configuration file and the differential configuration file are used as the configuration file of the equipment to be accessed, the high reusability of the configuration file is achieved, the access period is shortened, and the.
On the basis of the foregoing embodiment, in order to establish other cloud services for the internet of things device, the method for actively adapting access to the internet of things device provided by the embodiment of the present invention further includes:
acquiring a configuration rule of a platform to be butted;
and accessing the equipment to be accessed to the platform to be docked based on the configuration file and the configuration rule of the platform to be docked.
In specific implementation, the configuration rule of the platform to be docked is obtained in advance, after the platform of the internet of things and the platform to be docked are docked, the device to be accessed is accessed to the platform to be docked based on the configuration file of the device to be accessed and the configuration rule of the platform to be docked.
Based on the method for actively adapting access of the internet of things device provided by the embodiment, the embodiment of the invention provides a preferred implementation scheme.
Fig. 2 is a schematic diagram of a modular structure of an active adaptive access method for an internet of things device according to an embodiment of the present invention; fig. 3 is a flowchart of another method for actively adapting access by an internet of things device according to an embodiment of the present invention.
For convenience of management, a device of an internet of things platform is accessed to a service division module, and as shown in fig. 2, the internet of things platform provided by the embodiment of the present invention mainly includes a connection management service module, a protocol conversion service module, a platform docking service module, a database, and an internal message bus.
The connection management service module is used for realizing the docking with a southbound device (Modbus YDT), a sub-gateway (zigbee awan) and a subsystem (OPC), and may be configured with a standard TCP communication protocol, a standard SSL TCP communication protocol, a standard UDP communication protocol, a standard HTTP communication protocol, a standard HTTPs communication protocol, a standard LoraWan communication protocol, and the like, such as "TCP (SSL)", "restf API" (application programming interface in presentation state transfer REST style), "LoraWan" … … shown in fig. 2.
The protocol conversion service module is used for performing protocol conversion of uplink and downlink data and comprises an analysis protocol loading sub-module, an interactive process recording sub-module, an information extraction sub-module and a standardization module.
The platform docking service module is used for establishing connection with other cloud platforms and applications, and is configured with an MQTT (message queue Telemetry Transport) sub-module, an RAW SOCKET sub-module and an RESTful API sub-module.
The database is used for realizing data persistence and configuring the client, and a lightweight database Sqlite 3 (an ACID-compliant relational database management system) can be adopted.
The internal message bus is used for realizing data interaction among the connection management service module, the protocol conversion service module and the platform docking service module, and can be built by adopting a lightweight MQTT proxy mosquitto (a publishable/subscribeable message push mode).
The modular structure provided by the embodiment of the invention can work in an edge computing gateway, an Internet of things platform or an Internet of things application. In practical application, deployment is carried out according to the actual situation of the site. If the field network environment is not enough to support remote communication, the system is deployed in an edge computing gateway so as to further establish connection with an Internet of things platform and an Internet of things application.
Based on the above modular structure, another method for actively adapting access to internet of things devices provided by the embodiment of the present invention is shown in fig. 3, where fig. 3 describes how uplink and downlink data of an end side (device side) flow to a cloud side (platform side).
Based on the example thread pool at the end side, the uplink private protocol data of the equipment needing to be reported to the cloud side is published to the topic 1 corresponding to the internal message bus, after the message is subscribed by the protocol conversion service, a private → public conversion script is called to complete conversion and is published to the topic 2 corresponding to the internal message bus, and after the message is subscribed by the platform docking module, the message is sent to the cloud platform.
After the cloud platform informs the platform docking module of downlink information to be sent to the equipment, the module can publish the information to the topic 2 corresponding to the internal information bus, the information is subscribed by the protocol conversion service, then a public → private conversion script is called to complete conversion, the conversion is published to the topic 1 corresponding to the internal information bus, and the information is subscribed by the connection management module and then is responsible for being issued to the equipment.
On the basis of the above detailed description of the various embodiments corresponding to the method for actively adapting and accessing the internet of things device, the invention also discloses a device, a device and a storage medium for actively adapting and accessing the internet of things device corresponding to the method.
Fig. 4 is a schematic structural diagram of an apparatus for actively adapting access of an internet of things device according to an embodiment of the present invention.
As shown in fig. 4, the apparatus for actively adapting access of an internet of things device provided by the embodiment of the present invention includes:
an obtaining unit 401, configured to obtain attribute information of a device to be accessed;
a configuration unit 402, configured to refer to attribute information of the adapted device, and generate a general configuration file of the device to be accessed according to general information in the attribute information of the device to be accessed; generating a differential configuration file of the equipment to be accessed according to differential information in the attribute information; taking the general configuration file and the differential configuration file as configuration files of the equipment to be accessed;
a deployment unit 403, configured to complete adaptive access of the device to be accessed based on the configuration file.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
Fig. 5 is a schematic structural diagram of a device actively adapted and accessed by an internet of things device according to an embodiment of the present invention.
As shown in fig. 5, the device for actively adapting access of the internet of things device provided by the embodiment of the present invention includes:
a memory 510, configured to store instructions, where the instructions include the steps of the method for actively adapting access by an internet of things device according to any of the foregoing embodiments;
a processor 520 for executing the instructions.
Among other things, processor 520 may include one or more processing cores, such as a 3-core processor, an 8-core processor, and so on. The processor 520 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Processor 520 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 520 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, processor 520 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 510 may include one or more storage media, which may be non-transitory. Memory 510 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 510 is at least used for storing a computer program 511, wherein after the computer program 511 is loaded and executed by the processor 520, the relevant steps in the method for actively adapting access of an internet of things device disclosed in any of the foregoing embodiments can be implemented. In addition, the resources stored in the memory 510 may also include an operating system 512, data 513, and the like, and the storage manner may be a transient storage or a permanent storage. The operating system 512 may be Windows, among others. Data 513 may include, but is not limited to, data involved with the above-described methods.
In some embodiments, the device actively adapted to be accessed by the internet of things device may further include a display screen 530, a power source 540, a communication interface 550, an input/output interface 560, a sensor 570, and a communication bus 580.
Those skilled in the art will appreciate that the architecture shown in fig. 5 does not constitute a limitation on devices to which internet of things devices are actively adapted for access, and may include more or fewer components than those shown.
The device for the active adaptive access of the internet of things device comprises the memory and the processor, and the processor can realize the method for the active adaptive access of the internet of things device when executing the program stored in the memory, and the effect is the same as the above.
It should be noted that the above-described embodiments of the apparatus and device are merely illustrative, for example, the division of modules is only one division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form. Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and performs all or part of the steps of the methods according to the embodiments of the present invention, or all or part of the technical solution.
To this end, an embodiment of the present invention further provides a storage medium, where the storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of the method, such as the method for actively adapting access to the internet of things device.
The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The computer program contained in the storage medium provided in this embodiment can implement, when executed by the processor, the steps of the method for actively adapting access to the internet of things device as described above, and the effect is the same as that described above.
The method, the device, the equipment and the storage medium for the active adaptive access of the internet of things equipment provided by the invention are introduced in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device, the equipment and the storage medium disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (9)

1. A method for actively adapting access of Internet of things equipment is characterized by comprising the following steps:
acquiring attribute information of equipment to be accessed;
referring to the attribute information of the adapted device, and generating a general configuration file of the device to be accessed according to general information in the attribute information of the device to be accessed; generating a differential configuration file of the equipment to be accessed according to differential information in the attribute information; taking the general configuration file and the differential configuration file as configuration files of the equipment to be accessed;
and completing the adaptive access of the equipment to be accessed based on the configuration file.
2. The method according to claim 1, wherein the generic configuration file is specifically an object model of a device type corresponding to the device to be accessed.
3. The method according to claim 1, wherein the differentiated configuration file specifically includes an instantiated configuration file of the device to be accessed and a differentiated attribute configuration script of a device type corresponding to the device to be accessed.
4. The method according to claim 1, wherein the acquiring attribute information of the device to be accessed specifically includes:
identifying a communication protocol of the equipment to be accessed;
receiving attribute information data input by the equipment to be accessed;
and calling a conversion rule corresponding to the communication protocol, and translating the attribute information data into a standard data format to obtain the attribute information of the equipment to be accessed.
5. The method according to claim 1, wherein the completing the adaptive access of the device to be accessed based on the configuration file specifically comprises:
and establishing a configuration management mechanism and an instance management mechanism for the equipment to be accessed based on the configuration file, and establishing a connection management service, a protocol conversion service and a platform butt-joint service for the equipment to be accessed.
6. The method of claim 1, further comprising:
acquiring a configuration rule of a platform to be butted;
and accessing the equipment to be accessed to the platform to be docked based on the configuration file and the configuration rule of the platform to be docked.
7. The utility model provides a device that thing networking device initiative adaptation was accessed which characterized in that includes:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring attribute information of the device to be accessed;
the configuration unit is used for quoting the attribute information of the adapted equipment and generating a general configuration file of the equipment to be accessed according to general information in the attribute information of the equipment to be accessed; generating a differential configuration file of the equipment to be accessed according to differential information in the attribute information; taking the general configuration file and the differential configuration file as configuration files of the equipment to be accessed;
and the deployment unit is used for completing the adaptive access of the equipment to be accessed based on the configuration file.
8. The utility model provides a device that thing networking device initiative adaptation was accessed which characterized in that includes:
a memory for storing instructions comprising the steps of the method for actively adapting access by a device of the internet of things of any one of claims 1 to 6;
a processor to execute the instructions.
9. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of a method for actively adapting access to an internet of things device as claimed in any one of claims 1 to 6.
CN202010382803.3A 2020-05-08 2020-05-08 Method, device, equipment and storage medium for actively adapting access of Internet of things equipment Active CN111555922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010382803.3A CN111555922B (en) 2020-05-08 2020-05-08 Method, device, equipment and storage medium for actively adapting access of Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010382803.3A CN111555922B (en) 2020-05-08 2020-05-08 Method, device, equipment and storage medium for actively adapting access of Internet of things equipment

Publications (2)

Publication Number Publication Date
CN111555922A true CN111555922A (en) 2020-08-18
CN111555922B CN111555922B (en) 2023-05-16

Family

ID=72002677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010382803.3A Active CN111555922B (en) 2020-05-08 2020-05-08 Method, device, equipment and storage medium for actively adapting access of Internet of things equipment

Country Status (1)

Country Link
CN (1) CN111555922B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112055062A (en) * 2020-08-21 2020-12-08 深圳市信锐网科技术有限公司 Data communication method, device, equipment and readable storage medium
CN112422376A (en) * 2020-10-15 2021-02-26 招商华软信息有限公司 Method for automatically accessing non-standardized equipment to cloud platform, electronic equipment and storage medium
CN112565257A (en) * 2020-12-03 2021-03-26 国网安徽省电力有限公司检修分公司 Security process management system based on power grid special and edge Internet of things agent
CN112667321A (en) * 2021-01-25 2021-04-16 深圳市欢太科技有限公司 Quick application starting method and device, storage medium and electronic equipment
CN113364674A (en) * 2021-05-26 2021-09-07 博依特(广州)工业互联网有限公司 Edge computer network relation system
CN113641414A (en) * 2021-08-30 2021-11-12 平安国际融资租赁有限公司 Internet of things equipment access method and device, computer equipment and storage medium
CN114253552A (en) * 2022-02-25 2022-03-29 浙江大云物联科技有限公司 Programmable edge device self-adapting method and device
CN114745284A (en) * 2022-03-07 2022-07-12 深圳渊联技术有限公司 Configuration method and device of industrial Internet of things and computer readable storage medium
CN114900387A (en) * 2022-05-10 2022-08-12 中移(杭州)信息技术有限公司 Cross-platform fusion access method, system, gateway and storage medium of equipment
CN115103042A (en) * 2022-05-07 2022-09-23 深圳市广和通无线股份有限公司 System based on CPE wide area network management protocol and wireless communication module
CN115174704A (en) * 2022-06-23 2022-10-11 广州云智易物联网有限公司 Integration method capable of realizing unified connection of multiple IoT platform Internet of things devices
CN115277421A (en) * 2022-07-21 2022-11-01 南京数睿数据科技有限公司 Configuration information pushing method and device, electronic equipment and computer readable medium
CN115460299A (en) * 2022-08-25 2022-12-09 京东科技信息技术有限公司 Equipment access method, device, electronic equipment, system and storage medium
CN115967175A (en) * 2022-11-30 2023-04-14 广州汇电云联互联网科技有限公司 Edge end data acquisition control device and method for energy storage power station

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166813A (en) * 2011-12-14 2013-06-19 中国电信股份有限公司 Method and system supporting a plurality of manufacturer devices to access to internet of things
CN103179027A (en) * 2011-12-22 2013-06-26 中兴通讯股份有限公司 Method and system for realizing compatibility of electrical appliance, and universal peripheral access gateway
WO2015024371A1 (en) * 2013-08-21 2015-02-26 华为技术有限公司 Adaptation method for cloud platform user interface, and adapter
WO2017028779A1 (en) * 2015-08-17 2017-02-23 北京佰才邦技术有限公司 Configuration method and apparatus for internet of things protocol conversion function, nonvolatile computer storage medium and electronic device
CN110166455A (en) * 2019-05-21 2019-08-23 东信和平科技股份有限公司 A kind of multi-operator platform data adaptation method and relevant device
US20190356737A1 (en) * 2018-05-18 2019-11-21 Sap Se Change management using a thing-model on an internet-of-things platform
US20200004559A1 (en) * 2017-02-27 2020-01-02 Huawei Technologies Co., Ltd. Method for Performing Configuration for External Device, and Device
CN110971614A (en) * 2019-12-17 2020-04-07 软通动力信息技术(集团)有限公司 Internet of things adaptation method and system, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166813A (en) * 2011-12-14 2013-06-19 中国电信股份有限公司 Method and system supporting a plurality of manufacturer devices to access to internet of things
CN103179027A (en) * 2011-12-22 2013-06-26 中兴通讯股份有限公司 Method and system for realizing compatibility of electrical appliance, and universal peripheral access gateway
WO2015024371A1 (en) * 2013-08-21 2015-02-26 华为技术有限公司 Adaptation method for cloud platform user interface, and adapter
WO2017028779A1 (en) * 2015-08-17 2017-02-23 北京佰才邦技术有限公司 Configuration method and apparatus for internet of things protocol conversion function, nonvolatile computer storage medium and electronic device
US20200004559A1 (en) * 2017-02-27 2020-01-02 Huawei Technologies Co., Ltd. Method for Performing Configuration for External Device, and Device
US20190356737A1 (en) * 2018-05-18 2019-11-21 Sap Se Change management using a thing-model on an internet-of-things platform
CN110166455A (en) * 2019-05-21 2019-08-23 东信和平科技股份有限公司 A kind of multi-operator platform data adaptation method and relevant device
CN110971614A (en) * 2019-12-17 2020-04-07 软通动力信息技术(集团)有限公司 Internet of things adaptation method and system, computer equipment and storage medium

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112055062A (en) * 2020-08-21 2020-12-08 深圳市信锐网科技术有限公司 Data communication method, device, equipment and readable storage medium
CN112055062B (en) * 2020-08-21 2024-04-09 深圳市信锐网科技术有限公司 Data communication method, device, equipment and readable storage medium
CN112422376A (en) * 2020-10-15 2021-02-26 招商华软信息有限公司 Method for automatically accessing non-standardized equipment to cloud platform, electronic equipment and storage medium
CN112565257A (en) * 2020-12-03 2021-03-26 国网安徽省电力有限公司检修分公司 Security process management system based on power grid special and edge Internet of things agent
CN112667321A (en) * 2021-01-25 2021-04-16 深圳市欢太科技有限公司 Quick application starting method and device, storage medium and electronic equipment
CN113364674A (en) * 2021-05-26 2021-09-07 博依特(广州)工业互联网有限公司 Edge computer network relation system
CN113641414A (en) * 2021-08-30 2021-11-12 平安国际融资租赁有限公司 Internet of things equipment access method and device, computer equipment and storage medium
CN114253552A (en) * 2022-02-25 2022-03-29 浙江大云物联科技有限公司 Programmable edge device self-adapting method and device
CN114253552B (en) * 2022-02-25 2022-07-12 浙江大云物联科技有限公司 Programmable edge device self-adapting method and device
CN114745284A (en) * 2022-03-07 2022-07-12 深圳渊联技术有限公司 Configuration method and device of industrial Internet of things and computer readable storage medium
CN115103042A (en) * 2022-05-07 2022-09-23 深圳市广和通无线股份有限公司 System based on CPE wide area network management protocol and wireless communication module
CN115103042B (en) * 2022-05-07 2024-01-05 深圳市广和通无线股份有限公司 System based on CPE wide area network management protocol and wireless communication module
CN114900387A (en) * 2022-05-10 2022-08-12 中移(杭州)信息技术有限公司 Cross-platform fusion access method, system, gateway and storage medium of equipment
CN114900387B (en) * 2022-05-10 2024-06-04 中移(杭州)信息技术有限公司 Cross-platform fusion access method, system, gateway and storage medium of equipment
CN115174704A (en) * 2022-06-23 2022-10-11 广州云智易物联网有限公司 Integration method capable of realizing unified connection of multiple IoT platform Internet of things devices
CN115277421A (en) * 2022-07-21 2022-11-01 南京数睿数据科技有限公司 Configuration information pushing method and device, electronic equipment and computer readable medium
CN115277421B (en) * 2022-07-21 2023-11-24 南京数睿数据科技有限公司 Configuration information pushing method, device, electronic equipment and computer readable medium
CN115460299A (en) * 2022-08-25 2022-12-09 京东科技信息技术有限公司 Equipment access method, device, electronic equipment, system and storage medium
CN115967175A (en) * 2022-11-30 2023-04-14 广州汇电云联互联网科技有限公司 Edge end data acquisition control device and method for energy storage power station
CN115967175B (en) * 2022-11-30 2024-05-10 广州汇电云联数科能源有限公司 Edge data acquisition control device and method for energy storage power station

Also Published As

Publication number Publication date
CN111555922B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
CN111555922A (en) Method, device, equipment and storage medium for active adaptive access of Internet of things equipment
EP3709227A1 (en) System and method for interoperable communication of an automation system component with multiple information sources
CN110324169B (en) Interface management method and device
CN111556158B (en) Access method, access device, access equipment and storage medium of Internet of things platform
CN108196915A (en) Code process method, equipment and storage medium based on application container engine
US20170146980A1 (en) Method and system of dynamically configuring functions of machine
US10579745B2 (en) Model driven computational platform for integrated design of products, materials and manufacturing processes
US20180150530A1 (en) Method, Apparatus, Computing Device and Storage Medium for Analyzing and Processing Data
CN111638690A (en) Data acquisition method, device, system and equipment based on general information model
CN113641700A (en) Data processing method and device based on Spring boot frame
CN111125064A (en) Method and device for generating database mode definition statement
CN115118794A (en) Data standardization processing method and device and electronic equipment
CA3136404C (en) Selective address space aggregation
CN113111109A (en) Interface warehousing analysis access method of data source
CN115438768A (en) Model reasoning method, device, computer equipment and storage medium
US11449461B2 (en) Metadata-driven distributed dynamic reader and writer
US9858321B2 (en) Accessing application services from forms
CN116432624A (en) Micro-service API document generation method, device, equipment and storage medium
CN116389492A (en) Video analysis system, method, apparatus, and computer-readable storage medium
CN113965599A (en) Equipment management system and method based on universal management service model
CN111190607B (en) Task plugin processing method and device, task scheduling server and storage medium
CN111143310B (en) Log recording method and device and readable storage medium
CN112130817A (en) Multi-version interface implementation method, system, device and readable storage medium
CN111062682B (en) Work order processing method and device
US20240202188A1 (en) Metadata-driven computing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant