CN109327551A - By the method and device of internet of things equipment access platform of internet of things, server - Google Patents
By the method and device of internet of things equipment access platform of internet of things, server Download PDFInfo
- Publication number
- CN109327551A CN109327551A CN201811473192.2A CN201811473192A CN109327551A CN 109327551 A CN109327551 A CN 109327551A CN 201811473192 A CN201811473192 A CN 201811473192A CN 109327551 A CN109327551 A CN 109327551A
- Authority
- CN
- China
- Prior art keywords
- brand
- model
- internet
- adaptation module
- module
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/30—Individual registration on entry or exit not involving the use of a pass
- G07C9/38—Individual registration on entry or exit not involving the use of a pass with central registration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0843—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
Present disclose provides a kind of method and device, servers that internet of things equipment is linked into platform of internet of things.The platform of internet of things includes connection adaption system, the connection adaption system includes a connection public module and multiple type adaptation modules for respectively corresponding distinct device type, the described method includes: when brand and model adaptation module corresponding with the target brand and model being not present in the connection adaption system, the brand and model configuration data based on target configuration template is obtained, target configuration template is the configuration template to match with target device type;And the target type adaptation module connection and brand and model adaptation module corresponding with target brand and model of creation one in connection adaption system based on brand and model configuration data, so that internet of things equipment can be linked into platform of internet of things by connecting brand and model adaptation module.A kind of platform of internet of things for being easy to be compatible with all kinds of internet of things equipment may be implemented in the disclosure.
Description
Technical field
This disclosure relates to internet of things field, in particular to a kind of method and dress by internet of things equipment access platform of internet of things
It sets, server.
Background technique
It can be mankind's complete perception and the spy for digitizing the material world by it since the concept of Internet of Things occurs
Swift and violent development trend is presented always in point, Internet of Things.So far, Internet of Things has become the important composition portion of generation information technology
Point.Internet of things equipment has diversity, such as gate inhibition, video camera, Temperature Humidity Sensor, GPS (Global Positioning
System, global positioning system) sensor etc..Not only type is various for internet of things equipment, and there are also not for the internet of things equipment of same type
It is being manufactured with manufacturer, the same category of device of same manufacturer's production also has different model, to support that different functions is special
Color.Diversity based on internet of things equipment, used connection protocol, data format, control mode are also all varied, are
The realization for needing to be compatible with the platform of internet of things of numerous internet of things equipment brings difficulty.
Summary of the invention
The disclosure provides a kind of method and device, server that internet of things equipment is accessed to platform of internet of things, may be implemented
A kind of platform of internet of things being easy to be compatible with all kinds of internet of things equipment.
In a first aspect, present disclose provides a kind of method that internet of things equipment is linked into platform of internet of things, feature exists
It include connection adaption system in, the platform of internet of things, the connection adaption system includes a connection public module and multiple
Respectively correspond the type adaptation module of distinct device type, each type adaptation module with the connection public module phase
Even;The described method includes:
When brand and model adaptation module corresponding with the target brand and model being not present in the connection adaption system,
The brand and model configuration data based on target configuration template is obtained, the target configuration template is and target device type phase
Matched configuration template, the target device type are the device types of the internet of things equipment, and the brand and model configures number
According to being data for creating brand and model adaptation module corresponding with the target brand and model, the target brand and model is
The brand and model of the internet of things equipment;
One is created in the connection adaption system based on the brand and model configuration data to fit with the target type
With module connection and brand and model adaptation module corresponding with target brand and model, so that the internet of things equipment can pass through company
It connects the brand and model adaptation module and is linked into the platform of internet of things, the target type adaptation module is set with the target
The standby corresponding type adaptation module of type;
Wherein, the connection public module be used for it is unified to the dealing data between each type adaptation module into
Row processing, each type adaptation module are used to the dealing number between each brand and model adaptation module being connect
According to uniformly being handled, the brand and model adaptation module is used for the dealing number between each internet of things equipment being connect
According to uniformly being handled.
It in one possible implementation, include at least one parameter item in the brand and model configuration data, it is described
Method further include:
The configuration request message from the connection public module is received, includes at least one in the configuration request message
The parameter item;
Obtain the parameter value of each parameter item at least one described described parameter item;
The parameter configuration message including each parameter value is sent to the connection adaption system, so that the connection is public
Common mode block is by the storage corresponding with the device identification of the internet of things equipment of each parameter value, so that with the target Brand Type
Number corresponding brand and model adaptation module can establish connection based on the parameter value and the internet of things equipment stored.
In one possible implementation, at least one described parameter item described in the acquisition each parameter item ginseng
Numerical value, comprising:
The user configuration interface of at least one parameter item described in including is provided;
The parameter value of each of user's input parameter item is obtained in the user configuration interface.
In one possible implementation, described to be based on the brand and model configuration data in the connection adaption system
And the target type adaptation module connection and brand and model adaptation module corresponding with target brand and model of middle creation one, packet
It includes:
The mark of the brand and model configuration data and the target device type is sent to the connection adaption system,
So that the connection public module executes following steps:
By brand and model configuration data storage corresponding with the mark of the target device type;
When detecting that the brand and model configuration data does not have associated brand and model adaptation module, creation one with
The target type adaptation module connection and brand and model adaptation module associated with the brand and model configuration data.
In one possible implementation, the method also includes:
When getting brand and model configuration data corresponding with any brand and model, the brand and model that will acquire is matched
Set data storage corresponding with the brand and model;
Correspondingly, the method also includes:
The reporting message from the connection adaption system is received, the reporting message is that the connection public module is being examined
Message transmitted when the event/condition reporting message for deriving from any internet of things equipment is measured, includes in the reporting message
Via the event/condition data of the type adaptation module transfer;
Escape is carried out to the event/condition data in the reporting message according to the brand and model configuration data of storage, with
Generate event/condition report.
In one possible implementation, the method also includes:
Obtain the control command for being directed to the internet of things equipment;
The control command is sent to the connection adaption system, so that the connection public module is according to the Internet of Things
The device type of net equipment and the brand and model configuration data parse the control command, and the control that parsing is obtained
Data relay of the system instruction by the type adaptation module and brand and model adaptation module is sent to the internet of things equipment.
Second aspect, the disclosure additionally provide a kind of device that internet of things equipment is linked into platform of internet of things, the object
Networked platforms include connection adaption system, and the connection adaption system is including a connection public module and multiple respectively corresponds not
With the type adaptation module of device type, each type adaptation module is connected with the connection public module;The dress
It sets and includes:
First obtains module, for product corresponding with the target brand and model to be not present in the connection adaption system
When board model adaptation module, the brand and model configuration data based on target configuration template, the target configuration template are obtained
It is the configuration template to match with target device type, the target device type is the device type of the internet of things equipment,
The brand and model configuration data is the data for creating brand and model adaptation module corresponding with the target brand and model,
The target brand and model is the brand and model of the internet of things equipment;
Creation module, for creating one and institute in the connection adaption system based on the brand and model configuration data
The connection of target type adaptation module and brand and model adaptation module corresponding with target brand and model are stated, so that the Internet of Things is set
Standby to be linked into the platform of internet of things by connecting the brand and model adaptation module, the target type adaptation module is
Type adaptation module corresponding with the target device type;
Wherein, the connection public module be used for it is unified to the dealing data between each type adaptation module into
Row processing, each type adaptation module are used to the dealing number between each brand and model adaptation module being connect
According to uniformly being handled, the brand and model adaptation module is used for the dealing number between each internet of things equipment being connect
According to uniformly being handled.
It in one possible implementation, include at least one parameter item in the brand and model configuration data, it is described
Device further include:
First receiving module, for receiving the configuration request message from the connection public module, the configuring request
It include at least one described parameter item in message;
Second obtains module, for obtaining the parameter value of each parameter item at least one described described parameter item;
First sending module disappears for sending the parameter configuration including each parameter value to the connection adaption system
Breath so that the connection public module by each parameter value it is corresponding with the device identification of the internet of things equipment store, with
Enable brand and model adaptation module corresponding with the target brand and model based on the parameter value and the Internet of Things stored
Equipment establishes connection.
In one possible implementation, the second acquisition module includes:
User configuration interface submodule, for providing the user configuration interface including at least one parameter item;
Configuration data interacts submodule, for obtaining each of user's input parameter in the user configuration interface
The parameter value of item.
In one possible implementation, the creation module be further used for the brand and model configuration data and
The mark of the target device type is sent to the connection adaption system, so that the connection public module executes following step
It is rapid:
By brand and model configuration data storage corresponding with the mark of the target device type;
When detecting that the brand and model configuration data does not have associated brand and model adaptation module, one and institute are created
State the connection of target type adaptation module and brand and model adaptation module associated with the brand and model configuration data.
In one possible implementation, described device further include:
Memory module, for will acquire when getting brand and model configuration data corresponding with any brand and model
The brand and model configuration data it is corresponding with the brand and model storage;
Second receiving module, for receiving the reporting message from the connection adaption system, the reporting message is institute
The connection public module message transmitted when detecting from the event/condition reporting message of any internet of things equipment is stated,
It include the event/condition data via the type adaptation module transfer in the reporting message;
Processing module, for the brand and model configuration data according to storage to the event/condition number in the reporting message
According to escape is carried out, to generate event/condition report.
In one possible implementation, described device further include:
Third obtains module, for obtaining the control command for being directed to the internet of things equipment;
Second sending module, for the control command to be sent to the connection adaption system, so that the connection is public
Common mode root tuber solves the control command according to the device type and the brand and model configuration data of the internet of things equipment
Analysis, and the control instruction that parsing is obtained is sent by the data relay of the type adaptation module and brand and model adaptation module
To the internet of things equipment.
The third aspect, the disclosure additionally provide a kind of server, and the server includes:
One connection public module;
At least one type adaptation module, each type adaptation module respectively correspond different device types, each
The type adaptation module is connected with the connection public module;
At least one brand and model adaptation module, each type adaptation module respectively correspond different brand and models,
Each brand and model adaptation module is connected with a type adaptation module;
Wherein, the connection public module be used for it is unified to the dealing data between each type adaptation module into
Row processing, each type adaptation module are used to the dealing number between each brand and model adaptation module being connect
According to uniformly being handled, each brand and model adaptation module is used to between each internet of things equipment being connect
Dealing data are uniformly handled.
As shown from the above technical solution, the brand and model adaptation module in the disclosure, type adaptation module and connection are public
Module can realize connection --- each type adaptation between internet of things equipment and platform of internet of things in different levels respectively
Module can based on its common functional characteristic, (such as temperature and humidity be passed by the internet of things equipment of same type different brands model
Sensor requires to report temperature and humidity, and gate inhibition requires issuing for switching control instruction, and warning device requires monitoring alarm
Event etc.) data of separate sources are uniformly handled, connection public module provides for different types of internet of things equipment
Public basic function (such as information receiving and transmitting, control instruction issue, event reports), and brand and model adaptation module then according to
The functional characteristic of each brand and model is responsible for specially handling the dealing data of the internet of things equipment of single brand and model.As a result, may be used
The connection between internet of things equipment and platform of internet of things is classified decoupling, and will be associated with device characteristics " configuration data "
" public method " associated with equipment general character is separated.In this way, being set by an Internet of Things with new brand and model
During being connected to platform of internet of things, developer does not need to carry out repeating to open to connection public module and type adaptation module
Hair, and only need to write brand and model configuration data on the basis of target configuration template corresponding with target device type, just
The exploitation of corresponding brand and model adaptation module can be completed, is opened so as to substantially reduce the connection adaptation of internet of things equipment
The difficulty of hair, so that platform of internet of things is easy to be compatible with all kinds of internet of things equipment.Therefore, it is flat can to help to solve Internet of Things for the disclosure
Platform quickly connects the difficulty of a large amount of heterogeneous devices, realizes the expansibility and better user experience of equipment connection.
Detailed description of the invention
In order to illustrate more clearly of the technical solution in the embodiment of the present disclosure, will make below to required in embodiment description
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present disclosure, these
The reasonable variation of attached drawing also all covers in the protection scope of the disclosure.
Fig. 1 is the configuration diagram for the platform of internet of things that an embodiment of the present disclosure provides;
The step of Fig. 2 is the method that internet of things equipment is linked into platform of internet of things of an embodiment of the present disclosure offer stream
Cheng Tu;
The step of Fig. 3 is the method that internet of things equipment is linked into platform of internet of things of the another embodiment offer of disclosure stream
Cheng Tu;
Fig. 4 is the schematic diagram at the user configuration interface that an embodiment of the present disclosure provides;
Fig. 5 is the configuration diagram for the platform of internet of things that an embodiment of the present disclosure provides;
Fig. 6 is the server disposition schematic diagram for the platform of internet of things that an embodiment of the present disclosure provides;
Fig. 7 is the structural frames for the device that internet of things equipment is linked into platform of internet of things that an embodiment of the present disclosure provides
Figure.
Specific embodiment
To keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party
Formula is described in further detail.Obviously, described embodiment is a part of this disclosure embodiment, rather than whole realities
Apply example.Based on described embodiment of the disclosure, those of ordinary skill in the art are without creative work under the premise of institute
The every other embodiment obtained belongs to the range of disclosure protection.Unless otherwise defined, the technical term that the disclosure uses
Or scientific term should be the ordinary meaning that the personage in disclosure fields with general technical ability is understood.In the disclosure
" first ", " second " and the similar word used is not offered as any sequence, quantity or importance, and is used only to area
Divide different component parts." comprising " or similar word, which mean to occur element or object before the word, to be covered and appears in
The element of the word presented hereinafter perhaps object and its equivalent and be not excluded for other elements or object.
It is noted that in order to enable platform of internet of things to be compatible with equipment produced, the supplier of internet of things equipment is needed
Will on platform of internet of things development equipment connecting interface, come allow access network internet of things equipment can be by the connecting interface
It is attached with platform of internet of things.In the related technology, the operator of the platform of internet of things of different brands mentions to equipment supplier
Equipment linkage function has been supplied, two ways is broadly divided into:
1) standard connection mode: each platform of internet of things respectively provides the equipment connecting interface of standard, and Internet of Things is needed to set
It is standby to be designed production according to standard interface.This mode can not adapt to the connection of the diversity internet of things equipment produced, and
And to allow all be designed life in accordance with the standard interface mode of this each platform of internet of things oneself definition different supplier's futures
It produces, it is also particularly difficult.
2) adaptation exploitation connection type: platform of internet of things provides basic equipment connecting interface, and internet of things equipment sheet
Body has the interface of multiplicity, and developer need to be for the internet of things equipment of multiplicity, between internet of things equipment and platform of internet of things
The connection adaptation of each interface is programmed one by one, then internet of things equipment is connected to platform of internet of things.This mode can be significantly
Increase the development difficulty of connection adaptation, it is assumed that device model quantity is n, then developing complexity is O (n);In addition, each Internet of Things
Net equipment requires developer and develops, and for the public users that will not be programmed, threshold is higher, it is caused to connect user's body
Test difference.
The embodiment of the present disclosure provides a kind of platform of internet of things and provides equipment linkage function mode to internet of things equipment, compares
The connection of diversity internet of things equipment can be supported for above two mode, and can help to reduce the company of internet of things equipment
The difficulty of adaptation exploitation is connect, help solves the difficulty that platform of internet of things quickly connects a large amount of heterogeneous devices, realizes equipment connection
Expansibility and better user experience.
Fig. 1 is the configuration diagram for the platform of internet of things that an embodiment of the present disclosure provides.Referring to Fig. 1, the Internet of Things is flat
Platform 100 includes connection adaption system 110 and application service system 120, wherein connection adaption system 110 is mainly responsible for outside
Internet of things equipment 200, and be attached and be adapted between application service system 120 and internet of things equipment 200.It should be understood that
The platform of internet of things 100 may include multiple application service systems 120 for being respectively provided with different application function, show in Fig. 1
One application service system 120 is as signal.The connection adaption system 110 includes connection public module 111, at least one
A type adaptation module 112 and at least one brand and model adaptation module 113, in which: each type adaptation module 112
It respectively corresponds distinct device type and is connected with the connection public module 111, each brand and model adaptation module 113
It respectively corresponds different brand and models and respectively type adaptation module 112 corresponding with one connects (each brand and model
Internet of things equipment 200 all has a device type, thus its brand and model is corresponded to each other with its device type).In functions of modules
On, connection public module 111 is for uniformly handling the dealing data between each type adaptation module 112, each
The type adaptation module 112 is used to the dealing data system between each brand and model adaptation module 113 being connect
One is handled, and each brand and model adaptation module 113 is used to between each internet of things equipment 200 being connect
Dealing data uniformly handled.
It should be noted that brand and model adaptation module 113, type adaptation module 112 and connection public module 111 can
The connection between internet of things equipment 200 and platform of internet of things 100 is realized in different levels respectively.
A kind of device type of the corresponding internet of things equipment of each type adaptation module 112, the device type can be such as
It is Temperature Humidity Sensor, GPS (Global Positioning System, global positioning system) sensor, optical sensor, prison
Depending on camera, proximity sensor, access control equipment, warning device, air-conditioning, TV, refrigerator, washing machine, humidifier, air cleaning
Device, electric cooker etc., and this can be not limited only to.Brand and model in the subordinate set of each type adaptation module 112 is adapted to mould
Block 113 respectively corresponds to the combination of a brand and model under the device type.It should be understood that due to each device type
Connection all respectively with common functional characteristic, (such as Temperature Humidity Sensor requires to report temperature and humidity, access control equipment
Issuing for switching control instruction is required, warning device requires monitoring alert event etc.), therefore each type adaptation module
112 can using a set of common method flow come to the dealing data between brand and model adaptation module 113 it is unified into
Row processing, and each brand and model adaptation module 113 that each type adaptation module 112 is connected can be respectively to coming from and send out
Data toward the internet of things equipment 200 of same type different brands model carry out personalisation process, so that brand and model is adapted to mould
The data that block 113 is supplied to type adaptation module 112 can be applicable in its common method flow, and type adaptation module 112 uses
What is obtained after common method flow processing for example instructs a kind of data also can be by different brands model adaptation module 113
Processing acts on different internet of things equipment 200.
In one example, be with device type the corresponding type adaptation module 112 of optical sensor subordinate set in
There is the brand and model adaptation module 113 of tri- kinds of different brands models of A, B, C, wherein each brand and model adaptation module 113 is each
There is connection relationship from an optical sensing device foundation.In the course of work, three different brand and model adaptation modules 113 are each
Relationship is established a connection from the communication protocol and mailing address being based on according to tri- kinds of optical sensing devices of A, B, C, and respectively
Carried out according to different light sensation data receiver modes light sensation data reception (such as be respectively periodically actively acquisition, passively connect
The combination of receipts and two ways).Moreover, being respectively provided with different data format and numerical value for received light sensation data
Received light sensation data are encapsulated as having identical by the case where unit, three different brands model adaptation modules 113 respectively
The light sensation data reporting message of data structure --- the light sensation data reporting message includes that " type is character string, length is 64 words
The device id of section " and " type is date-time, length is 8 bytes acquisition time stamp ", further include " type be character string,
Length is the numerical value unit ID " of 1 byte, " the numeric format ID that type is character string, length is 1 byte " and " type is whole
Type, the light sensation value data that length is 64 bytes ".In this way, three different brands model adaptation modules 113 can be by A, B, C tri-
Difference between kind optical sensing device in connection adaptation mode is handled, so as to be that optical sensor is opposite with device type
The type adaptation module 112 answered can realize reporting for light sensation data reporting message according to same method flow.
In one example, the connection public module 111 being connected with each type adaptation module 112 can provide each set
Basic function that the internet of things equipment 200 of standby type is common based on during the connection process (such as message queue, Message Processing,
Event discovery, status discovery, equipment discovery, control instruction issues, data store), all application clothes can be adapted to provide
The functional interface of business system 120.
It in one example, is that the corresponding type adaptation module 112 of optical sensor can received with device type
When the light sensation data reporting message of the brand and model adaptation module 113 different from three, respectively according to device id find A,
B, communication protocols used in the recipient of User ID and light sensation data reporting message associated by tri- kinds of optical sensing devices of C
Negotiation mailing address, so that the type adaptation module 112 can add User ID, communication protocol mark and mailing address respectively
Light sensation data are reported to the head of three light sensation data reporting messages, and according to standard corresponding to connection public module 111
Message is added in message queue, so that connection public module 111 is according to light sensation data reporting message each in message queue
In specified message receiver carry out message transmission.In addition, the type adaptation module 112 can also be reported by light sensation data
Message unitizes to light sensation value data according to numerical value unit ID therein and numeric format ID before message queue is added
The conversion of numerical value unit and numeric format, and according in the corresponding part of the former light sensation data reporting message of scaling results modification
Hold, to save the communication resource.In this way, being that the corresponding type adaptation module 112 of optical sensor can pass light with device type
It is handled between sensor equipment and the internet of things equipment of other equipment type in the difference that connection is adapted in mode, so that connection
Public module 111 can realize different types of information reporting by public basic function.
It should be understood that for any one device type other than optical sensor, it can be by its different brands model
Between common process extracted come out, and configured according to basic function provided by connection public module 111, with
Type adaptation module 112 corresponding with the device type is realized based on the common process logic, and based in different brands model
Particular content on common process logic realizes corresponding brand and model adaptation module 113.In addition, with each device type
The update of lower internet of things equipment, can also be public in brand and model adaptation module 113, type adaptation module 112 and connection
Increase/reduction corresponds to corresponding connection adaption function in level at least one of module 111, to be adapted to practical application
Demand.
As can be seen that the embodiment of the present disclosure can be by Internet of Things based on above-mentioned framework possessed by connection adaption system 110
Connection procedure between equipment 200 and platform of internet of things 100 is classified decoupling.In this way, for the exploitation work for connecting adaption system 110
Make, developer does not need repeatedly to develop connection public module 111 and type adaptation module 112, and can use object
The connection public module 111 developed in advance in networked platforms 100 and type adaptation module 112 are directed to the Internet of Things of some brand and model
The functional characteristic of net equipment 200 carries out the exploitation of brand and model adaptation module 113, or directly suitable using existing brand and model
The connection adaptation of used internet of things equipment 200 is realized with module 113, it might even be possible to by platform of internet of things 100
The function of changing at least one of brand and model adaptation module 113, type adaptation module 112 and connection public module 111 is come
Neatly it is attached the adjustment and expansion of adaptation.For two ways described in above-mentioned the relevant technologies, developer
Can save with connect be adapted in the related exploitation of common process logic, and can be adapted in the way of under matched line on line
The internet of things equipment 200 that has produced and will produce, can not only support the connection of diversity internet of things equipment 200, can be with
The difficulty for helping the connection adaptation for reducing internet of things equipment 200 to develop, facilitating solution platform of internet of things 100, quickly connection is a large amount of
The difficulty of heterogeneous device realizes the expansibility and better user experience of equipment connection.
As the process example of one new brand and model adaptation module 113 of addition, Fig. 2 is that an embodiment of the present disclosure mentions
The step flow chart of the method that internet of things equipment is linked into platform of internet of things supplied, the executing subject of this method may, for example, be
Application service system 120 shown in FIG. 1.Referring to fig. 2, in this method:
In a step 101, there is no brand and models corresponding with target brand and model to be adapted in connection adaption system 110
When module 113, the brand and model configuration data based on target configuration template is obtained.
Wherein, target configuration template is the configuration template to match with target device type, and target device type is to be wanted
Be connected to the device type of the internet of things equipment 200 of platform of internet of things 100, the brand and model configuration data be for create with
The data of the corresponding brand and model adaptation module of target brand and model, the target brand and model are the internet of things equipment 200
Brand and model.It should be understood that brand and model corresponding to brand and model adaptation module 113 to be added wanted here
It is connected to the brand and model (hereinafter referred to as target brand and model) of the internet of things equipment 200 of platform of internet of things 100.In an example
In, each device type can be corresponded on platform of internet of things 100 stores a corresponding configuration template, it can in the configuration template
To include alternative definition, list, field, parameter, attribute etc., and can be for the exemplary apparatus under target device type
Provide example.In another example, target configuration template can be type adaptation module 112 corresponding with target device type
Subordinate set in any one existing brand and model adaptation module 113 brand and model configuration data.Mould is configured in target
On the basis of plate, developer can be according to different brands under the internet of things equipment 200 to be connected and other same device types
Difference between the equipment of model at least one of is modified to configuration template, adds and delete operation, to obtain institute
The brand and model configuration data needed.It should be understood that may include different product under same device type in target configuration template
Board model requires at least one of the definition being used in conjunction with, list, field, parameter, attribute, and brand and model configures number
According to can be with target configuration template storage form having the same, therefore brand and model configuration data be to be with target configuration template
Basis.In one example, configuration template and brand and model configuration data are stored in connection adaptation system in the form of a file
In system 110, file format may, for example, be XLS, XML, TXT, JSON, XLSX etc..
In a step 102, based on brand and model configuration data, creation one and target type are suitable in connection adaption system
With module connection and brand and model adaptation module 113 corresponding with target brand and model, so that internet of things equipment 200 can pass through
Connection brand and model adaptation module 113 is linked into platform of internet of things 100.
Wherein, the target type adaptation module is type adaptation module 112 corresponding with the target device type.?
In one example, the step include the mark of the brand and model configuration data and the target device type is sent to it is described
Connect adaption system 110 so that the connection public module 111 executes following steps: by the brand and model configuration data and
The corresponding storage of the mark of the target device type;Detect the brand and model configuration data it is newly-increased when, with it is described
In the subordinate set of the corresponding type adaptation module 112 of target device type, creation one and the brand and model configuration data
Associated brand and model adaptation module 113.In one example, corresponding each type adaptation module 112 is respectively assigned one
It is a for storing the memory space of brand and model configuration data, and connect public module 111 can be listened to by observation mechanism it is each
Memory space can be in the subordinate set of the type adaptation module 112 when it detects newly-increased brand and model configuration data
In create a brand and model adaptation module 113, each brand and model adaptation module 113 can respectively with one in memory space
Part brand and model configuration data is interrelated, and brand and model adaptation module 113 can match according to associated brand and model when work
The configuration for setting data carries out corresponding operation.
By taking above-mentioned optical sensing device as an example, brand and model adaptation module corresponding with a kind of optical sensing device is being created
When 113, application service system 120 is based on provided user interface and interacts with developer, is configured with getting with target
Brand and model configuration data based on template.As an example, brand and model configuration data here can be in typical case
Configuration item purpose brand and model configuration data relevant to state reporting is added on the configuration template basis of optical sensor.And
When the mark of the brand and model configuration data and target device type is sent to connection public module by application service system 120
After 111, connection public module 111 is first matched the brand and model received based on message queue function cooperation message processing function
Data storage is set into memory space corresponding with the mark of target device type, is then detected based on equipment discovery feature
When to newly-increased brand and model configuration data, an existing brand and model adaptation module 113 in subordinate set is replicated, then will
Obtained brand and model adaptation module 113 is replicated to be associated with the newly-increased brand and model configuration data foundation.In one example,
Any and state reporting function is not included in brand and model configuration data associated by above-mentioned existing brand and model adaptation module 113
Can related field, and defined in the newly-increased brand and model configuration data two parameter items " EVENTENABLE " and
" EVENTMODE ", and define the parameter value of parameter item " EVENTENABLE " and respectively indicated in closing and open state for 0 and 1
Report, the parameter value of parameter item " EVENTMODE " report, periodically report and passively report three kinds when respectively indicating booting for 0,1,2
Different reports mode.As a result, during the work time, when user is parameter item " EVENTENABLE=1 ", " EVENTMODE=
2 " are configured with after parameter value, which is receiving the shape with state reporting mark
It, will be according to preset state reporting process, by state ID and state mapping value via type adaptation when state reporting message
The data relay of module 112 is to the state reporting interface for connecting public module 111, so that connection public module 111 is according to state
The type that ID and state mapping value update corresponding states locating for the optical sensing device shown in monitoring of tools interface is (aobvious
The state shown is updated with reporting, i.e., passively reports).That is, for above-mentioned existing brand and model adaptation module 113,
Newly created brand and model adaptation module 113 can provide matching connection for the state reporting function of above-mentioned optical sensing device.
As can be seen that the connection based on above-mentioned framework and above-mentioned internet of things equipment 200 possessed by connection adaption system 110
Connection procedure between internet of things equipment 200 and platform of internet of things 100 can be classified and decouple by process, the embodiment of the present disclosure, and
" configuration data " associated with device characteristics " public method " associated with equipment general character is separated.In this way, will
During one internet of things equipment 200 with new brand and model is connected to platform of internet of things 100, developer is not needed pair
It connects public module 111 and type adaptation module 112 carries out overlapping development, and only need in mesh corresponding with target device type
Brand and model configuration data is write on the basis of mark configuration template, so that it may complete corresponding brand and model adaptation module 113
Exploitation, so as to substantially reduce internet of things equipment 200 connection adaptation exploitation difficulty, help solve platform of internet of things
100 quickly connect the difficulty of a large amount of heterogeneous devices, realize the expansibility and better user experience of equipment connection.
It should be understood that after completing new brand and model adaptation module 113 in creation, the platform of internet of things of being connected to
100 internet of things equipment 200 also need to correspond on platform of internet of things 100 the brand and model adaptation module 113 carry out it is necessary
Parameter configuration can just be such that the completion between internet of things equipment 200 and platform of internet of things 100 connects and be adapted to.For example, brand and model is matched
The parameter item that communication protocol and mailing address are defined in data is set, platform of internet of things 100 is still before parameter item does not have assignment
It does not know how to be communicated with the internet of things equipment 200.Therefore, it is necessary to correspond to the Internet of Things in platform of internet of things 100 to set
Standby 200 carry out the parameter configuration of these parameter items, and platform of internet of things 100 and internet of things equipment 200 can just established and communicates to connect.
The step of Fig. 3 is the method that internet of things equipment is linked into platform of internet of things of an embodiment of the present disclosure offer stream
Cheng Tu, the executing subject of this method may, for example, be application service system 120 shown in FIG. 1.Referring to Fig. 3, in the method:
In step 103, the configuration request message from connection public module 111 is received.
It wherein, include at least one parameter item in the configuration request message.In one example, public module is connected
111, when receiving the device identification addition request for some brand and model, find and the brand and model in memory space
Corresponding brand and model configuration data, and the parameter item for carrying out parameter configuration will be needed to extract in brand and model configuration data
Come, together with the parameter item of required configuration quantity (or can also include brand and model configuration data specified in each ginseng
Several default values) it is encapsulated as configuration request message is jointly sent to application service system 120.As an example, it is being directed to
The configuration request message of some access control equipment may include: { " parameter item quantity ", " 4 " }, and { (" device protocol ", null), (" sets
Standby IP ", null), (" door open command ", null), (" instruction of closing the door ", null) }.It should be noted that " device identification " only generation
The different internet of things equipment 200 of one, table individual internet of things equipment 200, i.e., same brand and model can be in platform of internet of things 100
In distinguished with different " device identification ".In view of each brand and model adaptation module 113 may face needs
The case where internet of things equipment 200 of multiple same brand models is attached simultaneously, corresponding each brand and model adaptation module
113 require one device identification set of maintenance, so that brand and model adaptation module 113 can be respectively the object of each device identification
Networked devices 200 provide connection adaptation.In one example, corresponding each device identification is assigned globally unique device id,
The exclusive storing data of each device identification corresponding with the device id can store, such as the device IP of each device identification
Etc. parameters.
At step 104, the parameter value of each parameter item at least one parameter item is obtained.
In one example, application service system 120 provides a user user configuration interface, such as shown in Fig. 4: Yong Hupei
It sets in interface comprising display field corresponding with each parameter item and input control respectively, the side of display field " device protocol "
For the combobox for input equipment agreement, the side of display field " device IP " is the editable for input equipment IP address
Frame, the side of display field " door open command " are the editable frame for input equipment agreement, display field " instruction of closing the door "
Side is the editable frame for input equipment agreement, and there are also ACK button and cancel buttons for user configuration interface lower section.Pass through
The user configuration interface, application service system 120 can get the parameter of each parameter item by the interaction between user
Value.
In step 105, the parameter configuration message including each parameter value is sent to connection adaption system 110, with
Make to connect public module 111 by the storage corresponding with the device identification of internet of things equipment 200 of each parameter value, so that and target
The corresponding brand and model adaptation module of brand and model can establish connection based on the parameter value and internet of things equipment stored.
As an example, the device identification of internet of things equipment 200 may be embodied in product corresponding with target brand and model
Among the device identification set of board model adaptation module 113.In one example, the parameter configuration message may include
{ (" device protocol ", TCP), (" device IP ", 120.1.1.2), (" door open command ", 1), (" instruction of closing the door ", 0) }.It is being based on
After message queue and Message Processing complete the parameter configuration message, connection public module 111 can be in corresponding brand and model
A parameter configuration files corresponding with the access control equipment, the parameter configuration files are created in the memory space of adaptation module 113
In include mark with the access control equipment, and the parameter configuration files are associated with the brand and model adaptation module 113.It is based on
This, brand and model adaptation module 113 can establish connection based on " TCP " and " 120.1.1.2 " and the access control equipment, and can be by
The door is controlled based on the control command from application server 120 according to the command identification " 1 " received from the access control equipment or " 0 "
Prohibit the enabling and shutdown of equipment.It should be understood that can store in one example, in database and brand and model adaptation module
113 corresponding parameter configuration files, and can be recorded respectively in each reference configuration file every in corresponding device identification set
All parameter values of a configuration item;In another example, it can be stored simultaneously in the memory space of brand and model adaptation module 113
The parameter configuration files of multiple access control equipments, i.e., it is suitable that configuration item representated by each parameter configuration files is included in brand and model
Among device identification set with module 113.Based on these parameter configuration files, brand and model adaptation module 113 be can handle
It is connect with internet of things equipment 200 representated by these device identifications.
It should be understood that any one internet of things equipment 200 to be connected to the process of platform of internet of things 100 in developer
In, developer can be in the absence of corresponding brand and model adaptation module 113 according to the mistake of above-mentioned steps 101 to step 102
Journey completes the creation of brand and model adaptation module 113, and according to step in the presence of corresponding brand and model adaptation module 113
103 complete the relevant parameter configuration of relevant device mark to the process of step 105, thus complete internet of things equipment 200 and Internet of Things
Connection between net platform 100.As can be seen that developer needs to pay for connection internet of things equipment 200 in the embodiment of the present disclosure
Workload out is greatly reduced, and even only needs to pass through parameter in the already present situation of brand and model adaptation module 113
The connection of internet of things equipment 200 is realized in configuration, that is, realizing can be i.e. with equipment connection mode i.e..
Fig. 5 is the configuration diagram for the platform of internet of things that an embodiment of the present disclosure provides.Referring to Fig. 5, the Internet of Things is flat
Platform 100 include connection adaption system 110 and belong to a kind of parameter configuring system 130 of application service system 120, event/
Condition monitoring system 140 and apparatus control system 150.Wherein, on the basis for connecting the structure shown in Fig. 1 of adaption system 110,
Connection public module 111 therein includes message queue submodule 111A, Message Processing submodule 111B, equipment discovery submodule
111C, status discovery submodule 111D, event discovery submodule 111E, control instruction issues submodule 111F and configuration data is deposited
Submodule 111G is stored up, is each responsible for realizing message queue possessed by above-mentioned connection public module 111, Message Processing, equipment hair
Existing, status discovery, event discovery, control instruction issue the function with configuration data storage.
Corresponding to above-mentioned steps 103 to the Parameter Configuration process described in step 105, parameter configuring system 130 may include
User configuration interface, configuration data interactive module and configuration data caching, to realize in above-mentioned steps 103 to step 105 institute
The function of application service system 120 in the Parameter Configuration process stated.
In the implementation example of an event/condition discovery feature, the method may include: it is getting and is appointing
The brand and model configuration data that will acquire when the corresponding brand and model configuration data of one brand and model and the brand and model pair
It should store;Correspondingly, after internet of things equipment 200 is connect with platform of internet of things 100, the connection of above-mentioned internet of things equipment 200
Method further include:
The reporting message from the connection adaption system 110 is received, the reporting message is the connection public module
111 message transmitted when detecting from the event/condition reporting message of any internet of things equipment, in the reporting message
Including the event/condition data via the type adaptation module transfer;
The event/condition data in the reporting message are turned according to the brand and model configuration data of storage
Justice, to generate event/condition report.
As an example, the database of a brand and model configuration data can be safeguarded in application service system 120, wherein
Brand and model configuration data is stored respectively according to corresponding brand and model.And thing is detected in connection public module 111
Part reports (such as access control equipment report continuous 2 inputs password mistake events) and/or state reporting, and (such as camera will work as
Preceding shooting picture or adaptation report) when, connect the status discovery submodule 111D and/or event discovery in public module 111
Representative is reported the event/condition data of content to be encapsulated as state reporting message and/or event reporting message by module 111E, and is led to
Cross the shape that message queue submodule 111A and Message Processing submodule 111B is sent respectively in event/condition monitoring system 140
State processing module and/or event processing module.To configure number based on the brand and model safeguarded in application service system 120
Event/condition data can be carried out with escape according to, status processing module/event processing module, such as by " STATUS_ALM_
The event/condition Meaning transfer of SERVER_ONLINE=1 " is " server is currently online ", or by event identifier " 2007 " escape
For the event of " host alarm ", generates event/condition and report and pass through provided monitoring of tools circle user oriented output.Again
In one example, brand and model configuration data can not be stored in application service system 120, each status processing module/
It, can be by sending request phase to connection adaption system 110 when event processing module needs to carry out escape to event/condition data
The message for the brand and model configuration data answered, after receiving the brand and model configuration data from connection adaption system 110
Escape is carried out to event/condition data again.In another example, connection public module 111 can connect when sending reporting message
It is sent together with corresponding brand and model configuration data, such status processing module/event processing module can be directly based upon
The brand and model configuration data received carries out escape to the event/condition data in the reporting message received.
In the implementation example that a control instruction issues function, in internet of things equipment 200 and platform of internet of things 100
After connection, the connection method of above-mentioned internet of things equipment 200 further include:
Obtain the control command for being directed to the internet of things equipment 200;
The control command is sent to the connection adaption system 110, so that the connection public module 111 is according to institute
The device type and the brand and model configuration data for stating internet of things equipment 200 parse the control command, and will solution
Data relay of the control instruction that analysis obtains by the type adaptation module 112 and brand and model adaptation module is sent to described
Internet of things equipment.
As an example, apparatus control system 150 can be used in conjunction with a control command with public module 111 is connect
List, including meaning explanation represented by several groups control command field and its.Based on this, apparatus control system 150 can
Enumerated in the appliance control interface provided a user to the available control command of specific internet of things equipment, and can be in user
Identical control command field is found to be sent to connection by controlling data processing module when selection executes some control command
Public module 111.The control instruction of connection public module 111 issues submodule 111F after receiving control command field, can
The device type for executing object specified by control command field will be parsed, such as representated by " ALM_OUTIOCHN_OPEN "
" output channel opening ", belong to access control equipment control command (in addition it is also possible to directly by with user interact determine control
The corresponding device type of system order).To, control instruction issue submodule 111F control command field can be sent to
The corresponding type adaptation module 112 of access control equipment, so that type adaptation module 112 handles control command field, with true
The targeted internet of things equipment 200 of control command is determined all including the internet of things equipment 200 of which brand and model.For example, can be with base
In target output channel mark and access control equipment mark mapping table find unlatching in need access control equipment, thus
Mark and " OPEN " institute's generation of target access control equipment are sent to the brand and model adaptation module 113 of these access control equipment institute subordinates
" door open command " (the belonging to the result after control command field " ALM_OUTIOCHN_OPEN " parsing) of table.It receives as a result,
The mark of target access control equipment and the brand and model adaptation module 113 of " door open command " can be come according to the parameter value configured respectively
The control instruction opened the door is sent to corresponding access control equipment, such as is arranged to the access control equipment of " 1 " for above door open command
For, corresponding control signal can be sent to the access control equipment according to this, to control access control equipment enabling.In another example
In, according to above-mentioned control command field find unlatching in need access control equipment, and obtain representated by " OPEN " that " enabling refers to
Enable " process submodule 111F all can be issued to complete by control instruction, and type adaptation module 112 and Brand Type at this time
Number adaptation module 113 then carries out the transfer of control instruction, can so help to simplify process flow.
Fig. 6 is the server disposition schematic diagram for the platform of internet of things that an embodiment of the present disclosure provides.Such as Fig. 6 institute
Show, the platform of internet of things 100 in the embodiment of the present disclosure is by connection public server, configuration data storage server, type adaptation
Server, brand and model adaptation services device, user configuration interface server, configuration interactive server, configuration data buffer service
Device, monitoring of tools interface server, state processing server, event processing server, appliance control interface server, control number
It is formed according to processing server, in which: message queue, Message Processing, equipment discovery, state hair are disposed on connection public server
The submodules such as existing, event is found, control instruction issues, these submodules can be developed using micro services mode, with container
Mode carries.Configuration data sub-module stored is disposed in configuration data storage server, realizes the persistent storage of configuration data,
Data storage engines can be using MySQL, PostgreSQL, Oracle etc..Type adaptation mould is disposed on type adaptation server
Block provides configuration/state/event/control data transfer service between brand and model adaptation module and connection public module,
Multiple type adaptation modules are disposed in support with trunking mode.Brand and model is disposed on brand and model adaptation services device is adapted to mould
Block provides configuration/state/event/control data relay service between type adaptation module and equipment, supports to multiple brands
Model adaptation module is disposed with trunking mode.User configuration interface is disposed on user configuration interface server, is internet of things equipment
Connection provides visual configuration operation interface, and configuration interface can be rendered as can not edit box, editable frame, combobox, single choice
Frame, check box, button etc..Configuration interactive server disposition configuration data interactive module, realize user configuration interface with connect public affairs
Data interaction between common mode block.Configuration data cache server deployment configuration data cache module realizes the slow of configuration data
Storage, buffer memory engine can be using Redis, SQLite etc..Monitoring of tools interface server deployment facility monitoring interface,
Visual control interface is provided for internet of things equipment monitoring, monitoring interface can be rendered as table, figure etc..State processing service
Device deployable state processing module realizes monitoring of tools interface and connects the data interaction between public module.Event handling service
Device disposes event processing module, realizes monitoring of tools interface and connects the data interaction between public module.Appliance control interface
Server disposition appliance control interface provides Visual controlling interface for internet of things equipment control, and control interface can be rendered as
The forms such as button, combobox, radio box, check box, edit box.Control data processing server deployment control data processing mould
Block realizes appliance control interface and connects the data interaction between public module.
As example, in the hardware implementation mode of the embodiment of the present disclosure, can according to functions of modules division respectively by
Different server realizes respective functions of modules, functions of modules therein can also be combined within the possible range so that single
One server realizes multiple function.It should be noted that server described in the embodiment of the present disclosure can be individual server
Device, virtual server, Cloud Server or server cluster etc., and this can be not limited only to.
Fig. 7 is the structural frames for the device that internet of things equipment is linked into platform of internet of things that an embodiment of the present disclosure provides
Figure.The platform of internet of things includes connection adaption system, and the connection adaption system includes a connection public module and multiple
Respectively correspond the type adaptation module of distinct device type, each type adaptation module with the connection public module phase
Even.Referring to Fig. 7, described device includes:
First obtains module 31, for there is no corresponding with the target brand and model in the connection adaption system
When brand and model adaptation module, the brand and model configuration data based on target configuration template is obtained, the target configures mould
Plate is the configuration template to match with target device type, and the target device type is the equipment class of the internet of things equipment
Type, the brand and model configuration data are the data for creating brand and model adaptation module corresponding with target brand and model,
The target brand and model is the brand and model of the internet of things equipment;
Creation module 32, for based on the brand and model configuration data created in the connection adaption system one and
The target type adaptation module connection and brand and model adaptation module corresponding with target brand and model, so that the Internet of Things
Equipment can be linked into the platform of internet of things, the target type adaptation module by connecting the brand and model adaptation module
It is type adaptation module corresponding with the target device type;
Wherein, the connection public module be used for it is unified to the dealing data between each type adaptation module into
Row processing, each type adaptation module are used to the dealing number between each brand and model adaptation module being connect
According to uniformly being handled, the brand and model adaptation module is used for the dealing number between each internet of things equipment being connect
According to uniformly being handled.
It in one possible implementation, include at least one parameter item in the brand and model configuration data, it is described
Device further include:
First receiving module, for receiving the configuration request message from the connection public module, the configuring request
It include at least one described parameter item in message;
Second obtains module, for obtaining the parameter value of each parameter item at least one described described parameter item;
First sending module disappears for sending the parameter configuration including each parameter value to the connection adaption system
Breath so that the connection public module by each parameter value it is corresponding with the device identification of the internet of things equipment store, with
Enable brand and model adaptation module corresponding with the target brand and model based on the parameter value and the Internet of Things stored
Equipment establishes connection.
In one possible implementation, the second acquisition module includes:
User configuration interface submodule, for providing the user configuration interface including at least one parameter item;
Configuration data interacts submodule, for obtaining each of user's input parameter in the user configuration interface
The parameter value of item.
In one possible implementation, the creation module be further used for the brand and model configuration data and
The mark of the target device type is sent to the connection adaption system, so that the connection public module executes following step
It is rapid:
By brand and model configuration data storage corresponding with the mark of the target device type;
When detecting that the brand and model configuration data does not have associated brand and model adaptation module, one and institute are created
State the connection of target type adaptation module and brand and model adaptation module associated with the brand and model configuration data.
In one possible implementation, described device further include:
Memory module, for will acquire when getting brand and model configuration data corresponding with any brand and model
The brand and model configuration data it is corresponding with the brand and model storage;
Second receiving module, for receiving the reporting message from the connection adaption system, the reporting message is institute
The connection public module message transmitted when detecting from the event/condition reporting message of any internet of things equipment is stated,
It include the event/condition data via the type adaptation module transfer in the reporting message;
Processing module, for the brand and model configuration data according to storage to the event/condition number in the reporting message
According to escape is carried out, to generate event/condition report.
In one possible implementation, described device further include:
Third obtains module, for obtaining the control command for being directed to the internet of things equipment;
Second sending module, for the control command to be sent to the connection adaption system, so that the connection is public
Common mode root tuber solves the control command according to the device type and the brand and model configuration data of the internet of things equipment
Analysis, and the control instruction that parsing is obtained is sent by the data relay of the type adaptation module and brand and model adaptation module
To the internet of things equipment.
Device in this present embodiment is closed, wherein modules execute the concrete mode of operation in the reality of method
It applies in example and is described in detail, therefore will not be described in great detail herein.
It will be understood by those skilled in the art that embodiment of the disclosure can provide as method, apparatus (equipment) or computer journey
Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the disclosure
The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the disclosure, which can be used in one or more,
The computer program implemented in machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or as the one of hardware
Part can also use other distribution forms, such as pass through internet or other wired or wireless telecommunication systems.
The disclosure is the flow chart of method, apparatus (equipment) and computer program product referring to embodiment of the disclosure
And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions
And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to
Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate
One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing
The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
It should be noted that illustrating only the structure for illustrating technical solution in the attached drawing of the disclosure for the sake of clear;?
In actual product, it can also be added, delete or deform on the basis of disclosure attached drawing within the bounds of possibility, without shadow
Ring the realization of technical solution.The foregoing is merely embodiment of the disclosure, not to limit the disclosure, all essences in the disclosure
Within mind and principle, any modification, equivalent replacement, improvement and so on be should be included within the protection scope of the disclosure.
Claims (10)
1. a kind of method that internet of things equipment is linked into platform of internet of things, which is characterized in that the platform of internet of things includes connecting
Adaption system is connect, the connection adaption system includes a connection public module and multiple classes for respectively corresponding distinct device type
Type adaptation module, each type adaptation module are connected with the connection public module;The described method includes:
When brand and model adaptation module corresponding with the target brand and model being not present in the connection adaption system, obtain
Brand and model configuration data based on target configuration template, the target configuration template is matched with target device type
Configuration template, the target device type is the device type of the internet of things equipment, and the brand and model configuration data is
For creating the data of brand and model adaptation module corresponding with the target brand and model, the target brand and model is described
The brand and model of internet of things equipment;
One, which is created, in the connection adaption system based on the brand and model configuration data is adapted to mould with the target type
Block connection and brand and model adaptation module corresponding with target brand and model, so that the internet of things equipment can be by connecting institute
It states brand and model adaptation module and is linked into the platform of internet of things, the target type adaptation module is and the target device class
The corresponding type adaptation module of type;
Wherein, the connection public module is for uniformly locating the dealing data between each type adaptation module
Reason, each type adaptation module are used to the dealing data system between each brand and model adaptation module being connect
One is handled, and the brand and model adaptation module is used to unite to the dealing data between each internet of things equipment being connect
One is handled.
2. the method according to claim 1, wherein including at least one ginseng in the brand and model configuration data
It is several, the method also includes:
The configuration request message from the connection public module is received, includes described at least one in the configuration request message
Parameter item;
Obtain the parameter value of each parameter item at least one described described parameter item;
The parameter configuration message including each parameter value is sent to the connection adaption system, so that the public mould of connection
Block is by the storage corresponding with the device identification of the internet of things equipment of each parameter value, so that with the target brand and model pair
The brand and model adaptation module answered can establish connection based on the parameter value and the internet of things equipment stored.
3. the method according to claim 1, wherein described be based on the brand and model configuration data in the company
It connects and creates an and target type adaptation module connection and brand and model corresponding with target brand and model in adaption system
Adaptation module, comprising:
The mark of the brand and model configuration data and the target device type is sent to the connection adaption system, so that
The connection public module executes following steps:
By brand and model configuration data storage corresponding with the mark of the target device type;
When detecting that the brand and model configuration data does not have associated brand and model adaptation module, creation one with it is described
The connection of target type adaptation module and brand and model adaptation module associated with the brand and model configuration data.
4. the method according to claim 1, wherein the method also includes:
When getting brand and model configuration data corresponding with any brand and model, the brand and model that will acquire configures number
According to storage corresponding with the brand and model;
Correspondingly, the method also includes:
The reporting message from the connection adaption system is received, the reporting message is that the connection public module is detecting
Transmitted message when from the event/condition reporting message of any internet of things equipment, include in the reporting message via
The event/condition data of the type adaptation module transfer;
Escape is carried out to the event/condition data in the reporting message according to the brand and model configuration data of storage, to generate
Event/condition report.
5. the method according to claim 1, wherein the method also includes:
Obtain the control command for being directed to the internet of things equipment;
The control command is sent to the connection adaption system, so that the connection public module is set according to the Internet of Things
Standby device type and the brand and model configuration data parse the control command, and the control that parsing obtains is referred to
It enables and is sent to the internet of things equipment by the data relay of the type adaptation module and brand and model adaptation module.
6. a kind of device by internet of things equipment access platform of internet of things, which is characterized in that the platform of internet of things includes connection
Adaption system, the connection adaption system includes a connection public module and multiple types for respectively corresponding distinct device type
Adaptation module, each type adaptation module are connected with the connection public module;Described device includes:
First obtains module, for Brand Type corresponding with the target brand and model to be not present in the connection adaption system
When number adaptation module, obtain the brand and model configuration data based on target configuration template, the target configuration template be with
The configuration template that target device type matches, the target device type is the device type of the internet of things equipment, described
Brand and model configuration data is the data for creating brand and model adaptation module corresponding with the target brand and model, described
Target brand and model is the brand and model of the internet of things equipment;
Creation module, for creating one and the mesh in the connection adaption system based on the brand and model configuration data
The connection of type adaptation module and brand and model adaptation module corresponding with target brand and model are marked, so that the internet of things equipment energy
Enough to be linked into the platform of internet of things by connecting the brand and model adaptation module, the target type adaptation module is and institute
State the corresponding type adaptation module of target device type;
Wherein, the connection public module is for uniformly locating the dealing data between each type adaptation module
Reason, each type adaptation module are used to the dealing data system between each brand and model adaptation module being connect
One is handled, and the brand and model adaptation module is used to unite to the dealing data between each internet of things equipment being connect
One is handled.
7. device according to claim 6, which is characterized in that include at least one ginseng in the brand and model configuration data
It is several, described device further include:
First receiving module, for receiving the configuration request message from the connection public module, the configuration request message
In include at least one described parameter item;
Second obtains module, for obtaining the parameter value of each parameter item at least one described described parameter item;
First sending module, for sending the parameter configuration message including each parameter value to the connection adaption system,
So that the connection public module by each parameter value it is corresponding with the device identification of the internet of things equipment storage so that with
The corresponding brand and model adaptation module of the target brand and model can be based on the parameter value and the internet of things equipment stored
Establish connection.
8. device according to claim 6, which is characterized in that the creation module is further used for the brand and model
The mark of configuration data and the target device type is sent to the connection adaption system, so that the connection public module is held
Row following steps:
By brand and model configuration data storage corresponding with the mark of the target device type;
When detecting that the brand and model configuration data does not have associated brand and model adaptation module, creation one and the mesh
Mark the connection of type adaptation module and brand and model adaptation module associated with the brand and model configuration data.
9. device according to claim 6, which is characterized in that described device further include:
Memory module, should for what when getting brand and model configuration data corresponding with any brand and model, be will acquire
The storage corresponding with the brand and model of brand and model configuration data;
Second receiving module, for receiving the reporting message from the connection adaption system, the reporting message is the company
The public module message transmitted when detecting from the event/condition reporting message of any internet of things equipment is connect, it is described
It include the event/condition data via the type adaptation module transfer in reporting message;
Processing module, for according to the brand and model configuration data of storage to the event/condition data in the reporting message into
Row escape, to generate event/condition report.
10. a kind of server, which is characterized in that the server includes:
One connection public module;
At least one type adaptation module, each type adaptation module respectively correspond different device types, each described
Type adaptation module is connected with the connection public module;
At least one brand and model adaptation module, each type adaptation module respectively correspond different brand and models, each
The brand and model adaptation module is connected with a type adaptation module;
Wherein, the connection public module is for uniformly locating the dealing data between each type adaptation module
Reason, each type adaptation module are used to the dealing data system between each brand and model adaptation module being connect
One is handled, and each brand and model adaptation module is used to the dealing between each internet of things equipment being connect
Data are uniformly handled.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811473192.2A CN109327551B (en) | 2018-12-04 | 2018-12-04 | Method and device for accessing Internet of things equipment into Internet of things platform and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811473192.2A CN109327551B (en) | 2018-12-04 | 2018-12-04 | Method and device for accessing Internet of things equipment into Internet of things platform and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109327551A true CN109327551A (en) | 2019-02-12 |
CN109327551B CN109327551B (en) | 2021-05-18 |
Family
ID=65256233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811473192.2A Active CN109327551B (en) | 2018-12-04 | 2018-12-04 | Method and device for accessing Internet of things equipment into Internet of things platform and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109327551B (en) |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109873820A (en) * | 2019-02-21 | 2019-06-11 | 温瑭玮 | A kind of data acquisition and execution method can customize Data Transport Protocol |
CN110071921A (en) * | 2019-04-19 | 2019-07-30 | 广东中安金狮科创有限公司 | Platform of internet of things cut-in method, device, computer readable storage medium and system |
CN110278286A (en) * | 2019-07-12 | 2019-09-24 | 四川虹美智能科技有限公司 | The method and operation system interacted with internet of things equipment |
CN110493270A (en) * | 2019-09-25 | 2019-11-22 | 北京金茂绿建科技有限公司 | Internet of things equipment accesses fused controlling method and device thereof |
CN110674110A (en) * | 2019-09-09 | 2020-01-10 | 中国建设银行股份有限公司 | Bank distributed database construction method and device |
CN110750314A (en) * | 2019-10-23 | 2020-02-04 | 杭州安恒信息技术股份有限公司 | Command execution method and system of micro-service terminal |
CN110798452A (en) * | 2019-10-16 | 2020-02-14 | 北京邮电大学 | Lightweight Internet of things service generation system and method |
CN110807066A (en) * | 2019-10-30 | 2020-02-18 | 北京禹数技术有限公司 | Method, device, terminal or server for associating data with model |
CN110839062A (en) * | 2019-10-22 | 2020-02-25 | 深圳市信锐网科技术有限公司 | Method for accessing sensor to Internet of things, electronic equipment and storage medium |
CN111294241A (en) * | 2020-02-14 | 2020-06-16 | 西安奥卡云数据科技有限公司 | Configurable Internet of things equipment access method |
CN111556158A (en) * | 2020-05-08 | 2020-08-18 | 中国通信服务股份有限公司 | Access method, access device, access equipment and storage medium of Internet of things platform |
CN111818021A (en) * | 2020-06-20 | 2020-10-23 | 深圳市众创达企业咨询策划有限公司 | Configuration information safety protection system and method based on new generation information technology |
CN112235326A (en) * | 2020-12-15 | 2021-01-15 | 长沙树根互联技术有限公司 | Internet of things equipment data analysis method and device and electronic equipment |
CN112288990A (en) * | 2019-07-24 | 2021-01-29 | 上海东方富联科技有限公司 | Method, system, medium and device for generating internet of things event based on internet of things data |
CN112565029A (en) * | 2020-11-18 | 2021-03-26 | 深圳创维-Rgb电子有限公司 | Method, system, terminal and computer readable storage medium for accessing internet of things |
CN112804714A (en) * | 2021-01-11 | 2021-05-14 | 浙江航芯科技有限公司 | Data communication method between dual-mode systems |
CN113238807A (en) * | 2021-07-14 | 2021-08-10 | 广州朗国电子科技股份有限公司 | Module compatibility method, platform and server based on android system |
CN113434215A (en) * | 2021-06-28 | 2021-09-24 | 青岛海尔科技有限公司 | Information loading method and device, storage medium and processor |
CN113711538A (en) * | 2019-05-21 | 2021-11-26 | 西门子股份公司 | Method, apparatus, system, computing device, medium, and article of manufacture for configuring parameters |
CN114168137A (en) * | 2021-12-08 | 2022-03-11 | 深圳市广和通无线通信软件有限公司 | Internet of things system and method adaptive to multiple platforms |
CN114265823A (en) * | 2021-12-27 | 2022-04-01 | 众和空间(北京)科技有限责任公司 | Internet of things equipment visualization integration system and method based on mapping file |
CN114281787A (en) * | 2021-12-27 | 2022-04-05 | 众和空间(北京)科技有限责任公司 | Internet of things equipment integration system based on mapping file |
CN114422618A (en) * | 2021-12-31 | 2022-04-29 | 北京千方科技股份有限公司 | IOT platform protocol adaptation method, device, equipment and medium based on cloud protogenesis |
CN114546528A (en) * | 2022-02-24 | 2022-05-27 | 新奥数能科技有限公司 | Cloud deployment method and device for Internet of things equipment and storage medium |
CN117812112A (en) * | 2024-01-09 | 2024-04-02 | 中科物栖(南京)科技有限公司 | Internet of things application recommendation method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104144149A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Transmission processing method and system for data of sensing Internet of Things and gateway |
CN104394143A (en) * | 2014-11-24 | 2015-03-04 | 青岛海尔软件有限公司 | Internet of Things equipment and Internet of Things server communicating method and device |
CN107018127A (en) * | 2017-03-07 | 2017-08-04 | 西安电子科技大学 | The Internet of Things virtual gateway and node access authentication method of a kind of compatible various protocols |
CN108040005A (en) * | 2017-12-05 | 2018-05-15 | 大连理工大学 | A kind of numerically-controlled machine tool intelligent monitoring gateway based on Internet of Things |
CN108377207A (en) * | 2018-05-19 | 2018-08-07 | 济南浪潮高新科技投资发展有限公司 | A kind of access of platform of internet of things equipment and configuration method |
US20180234519A1 (en) * | 2017-02-15 | 2018-08-16 | Dell Products, L.P. | Managing device profiles in the internet-of-things (iot) |
-
2018
- 2018-12-04 CN CN201811473192.2A patent/CN109327551B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104144149A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Transmission processing method and system for data of sensing Internet of Things and gateway |
CN104394143A (en) * | 2014-11-24 | 2015-03-04 | 青岛海尔软件有限公司 | Internet of Things equipment and Internet of Things server communicating method and device |
US20180234519A1 (en) * | 2017-02-15 | 2018-08-16 | Dell Products, L.P. | Managing device profiles in the internet-of-things (iot) |
CN107018127A (en) * | 2017-03-07 | 2017-08-04 | 西安电子科技大学 | The Internet of Things virtual gateway and node access authentication method of a kind of compatible various protocols |
CN108040005A (en) * | 2017-12-05 | 2018-05-15 | 大连理工大学 | A kind of numerically-controlled machine tool intelligent monitoring gateway based on Internet of Things |
CN108377207A (en) * | 2018-05-19 | 2018-08-07 | 济南浪潮高新科技投资发展有限公司 | A kind of access of platform of internet of things equipment and configuration method |
Cited By (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109873820A (en) * | 2019-02-21 | 2019-06-11 | 温瑭玮 | A kind of data acquisition and execution method can customize Data Transport Protocol |
CN110071921A (en) * | 2019-04-19 | 2019-07-30 | 广东中安金狮科创有限公司 | Platform of internet of things cut-in method, device, computer readable storage medium and system |
CN113711538A (en) * | 2019-05-21 | 2021-11-26 | 西门子股份公司 | Method, apparatus, system, computing device, medium, and article of manufacture for configuring parameters |
CN110278286B (en) * | 2019-07-12 | 2021-10-29 | 四川虹美智能科技有限公司 | Method for interacting with Internet of things equipment and business system |
CN110278286A (en) * | 2019-07-12 | 2019-09-24 | 四川虹美智能科技有限公司 | The method and operation system interacted with internet of things equipment |
CN112288990A (en) * | 2019-07-24 | 2021-01-29 | 上海东方富联科技有限公司 | Method, system, medium and device for generating internet of things event based on internet of things data |
CN110674110A (en) * | 2019-09-09 | 2020-01-10 | 中国建设银行股份有限公司 | Bank distributed database construction method and device |
CN110493270A (en) * | 2019-09-25 | 2019-11-22 | 北京金茂绿建科技有限公司 | Internet of things equipment accesses fused controlling method and device thereof |
CN110798452B (en) * | 2019-10-16 | 2021-01-05 | 北京邮电大学 | Lightweight Internet of things service generation system and method |
CN110798452A (en) * | 2019-10-16 | 2020-02-14 | 北京邮电大学 | Lightweight Internet of things service generation system and method |
CN110839062A (en) * | 2019-10-22 | 2020-02-25 | 深圳市信锐网科技术有限公司 | Method for accessing sensor to Internet of things, electronic equipment and storage medium |
CN110750314A (en) * | 2019-10-23 | 2020-02-04 | 杭州安恒信息技术股份有限公司 | Command execution method and system of micro-service terminal |
CN110807066B (en) * | 2019-10-30 | 2023-09-05 | 北京禹数技术有限公司 | Method, device, terminal or server for associating data with model |
CN110807066A (en) * | 2019-10-30 | 2020-02-18 | 北京禹数技术有限公司 | Method, device, terminal or server for associating data with model |
CN111294241A (en) * | 2020-02-14 | 2020-06-16 | 西安奥卡云数据科技有限公司 | Configurable Internet of things equipment access method |
CN111294241B (en) * | 2020-02-14 | 2022-08-30 | 西安奥卡云数据科技有限公司 | Configurable Internet of things equipment access method |
CN111556158A (en) * | 2020-05-08 | 2020-08-18 | 中国通信服务股份有限公司 | Access method, access device, access equipment and storage medium of Internet of things platform |
CN111818021A (en) * | 2020-06-20 | 2020-10-23 | 深圳市众创达企业咨询策划有限公司 | Configuration information safety protection system and method based on new generation information technology |
CN112565029A (en) * | 2020-11-18 | 2021-03-26 | 深圳创维-Rgb电子有限公司 | Method, system, terminal and computer readable storage medium for accessing internet of things |
CN112235326B (en) * | 2020-12-15 | 2021-03-16 | 长沙树根互联技术有限公司 | Internet of things equipment data analysis method and device and electronic equipment |
CN112235326A (en) * | 2020-12-15 | 2021-01-15 | 长沙树根互联技术有限公司 | Internet of things equipment data analysis method and device and electronic equipment |
CN112804714A (en) * | 2021-01-11 | 2021-05-14 | 浙江航芯科技有限公司 | Data communication method between dual-mode systems |
CN113434215A (en) * | 2021-06-28 | 2021-09-24 | 青岛海尔科技有限公司 | Information loading method and device, storage medium and processor |
CN113434215B (en) * | 2021-06-28 | 2023-06-16 | 青岛海尔科技有限公司 | Information loading method and device, storage medium and processor |
CN113238807A (en) * | 2021-07-14 | 2021-08-10 | 广州朗国电子科技股份有限公司 | Module compatibility method, platform and server based on android system |
CN114168137A (en) * | 2021-12-08 | 2022-03-11 | 深圳市广和通无线通信软件有限公司 | Internet of things system and method adaptive to multiple platforms |
CN114281787A (en) * | 2021-12-27 | 2022-04-05 | 众和空间(北京)科技有限责任公司 | Internet of things equipment integration system based on mapping file |
CN114265823A (en) * | 2021-12-27 | 2022-04-01 | 众和空间(北京)科技有限责任公司 | Internet of things equipment visualization integration system and method based on mapping file |
CN114422618A (en) * | 2021-12-31 | 2022-04-29 | 北京千方科技股份有限公司 | IOT platform protocol adaptation method, device, equipment and medium based on cloud protogenesis |
CN114422618B (en) * | 2021-12-31 | 2024-01-02 | 北京千方科技股份有限公司 | Cloud-protogenesis-based IOT platform protocol adaptation method, device, equipment and medium |
CN114546528A (en) * | 2022-02-24 | 2022-05-27 | 新奥数能科技有限公司 | Cloud deployment method and device for Internet of things equipment and storage medium |
CN117812112A (en) * | 2024-01-09 | 2024-04-02 | 中科物栖(南京)科技有限公司 | Internet of things application recommendation method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109327551B (en) | 2021-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109327551A (en) | By the method and device of internet of things equipment access platform of internet of things, server | |
Arzo et al. | A theoretical discussion and survey of network automation for IoT: Challenges and opportunity | |
CN106462538B (en) | For the system and method based on compatibility network configuration | |
CN108377207A (en) | A kind of access of platform of internet of things equipment and configuration method | |
CN100488116C (en) | Telecommunication field network data acquisition processing system based on rule and realizing method | |
CN112787708A (en) | Satellite ground station monitoring management structure based on micro-service | |
US20180260745A1 (en) | System and method for designing and executing control loops in a cloud environment | |
CN106162639B (en) | SDN wireless network management platform and authentication method based on Floodlight | |
US10536348B2 (en) | Operational micro-services design, development, deployment | |
Mekki et al. | A scalable monitoring framework for network slicing in 5G and beyond mobile networks | |
CN115150274B (en) | Unified configuration method, system and storage medium for time-sensitive network equipment | |
CN109219090B (en) | Business characteristic data reporting method and device and network slice arranging method and device | |
WO2024146464A1 (en) | Uniform configuration method for integration of industrial wireless network and time-sensitive network | |
CN113784455B (en) | Bluetooth matrix networking method, system, terminal and storage medium | |
CN108810053A (en) | Internet of things application processing method and internet of things application system | |
CN114189274A (en) | Satellite ground station monitoring system based on microservice | |
CN107154877A (en) | The configuring management method and convergent terminal of convergent terminal | |
Alhuseini et al. | 5G service value chain and network slicing framework using ecosystem modeling, agile delivery, and user-story automation | |
Hussain et al. | Management and plug and play of sensor networks using SNMP | |
KR102094041B1 (en) | System having the Semantic Engine based on RDF Graph for Autonomous Interaction between IoT Devices in Real-Time | |
CN113312242B (en) | Interface information management method, device, equipment and storage medium | |
JPWO2021119140A5 (en) | ||
Mesiti et al. | StreamLoader: an event-driven ETL system for the on-line processing of heterogeneous sensor data | |
CN116360584A (en) | Virtual target product generation method and device, storage medium and electronic device | |
CN113157267B (en) | Open type resource management model and construction method thereof |
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 |