CN105141601B - The configuration method and device of Internet of Things protocol conversion function - Google Patents

The configuration method and device of Internet of Things protocol conversion function Download PDF

Info

Publication number
CN105141601B
CN105141601B CN201510505802.2A CN201510505802A CN105141601B CN 105141601 B CN105141601 B CN 105141601B CN 201510505802 A CN201510505802 A CN 201510505802A CN 105141601 B CN105141601 B CN 105141601B
Authority
CN
China
Prior art keywords
internet
things
gateway
configuration file
protocol conversion
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.)
Active
Application number
CN201510505802.2A
Other languages
Chinese (zh)
Other versions
CN105141601A (en
Inventor
李明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baicells Technologies Co Ltd
Original Assignee
Baicells Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Baicells Technologies Co Ltd filed Critical Baicells Technologies Co Ltd
Priority to CN201510505802.2A priority Critical patent/CN105141601B/en
Publication of CN105141601A publication Critical patent/CN105141601A/en
Priority to PCT/CN2016/095463 priority patent/WO2017028779A1/en
Application granted granted Critical
Publication of CN105141601B publication Critical patent/CN105141601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses the configuration methods and device of a kind of Internet of Things protocol conversion function.Wherein, this method comprises: gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, configuration file between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido for converting information;Information is carried out the conversion between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido by configuration file by gateway, and is sent completely the information of conversion.The present invention solves the technical issues of gateway can not increase new internet of things service.

Description

The configuration method and device of Internet of Things protocol conversion function
Technical field
The present invention relates to internet of things field, a kind of configuration method in particular to Internet of Things protocol conversion function and Device.
Background technique
Internet of Things is the connected internet of object object.Internet of things service is provided by the internet-of-things terminal of networking.According to being related to The difference of industry, internet of things service can be divided into the multiple types such as household, medical treatment, traffic, education, industry, agricultural.
In the prior art, the business of Internet of Things various industries (such as household, medical treatment) need to use different agreements to provide clothes Business.Even if there is also use a variety of different type agreements in the same industry (such as household).
It include internet-of-things terminal (including TV 11 ', refrigerator 12 ' and weight meter in the Internet of Things network for example, in Fig. 1 13 '), gateway 14 ', management server (including management server 15 ', management server 16 ' and management server 17 '), management Terminal (including management terminal 18 ', management terminal 19 ' and management terminal 20 ') and mobile phone application terminal 21 '.Pass through alljoyn Agreement provides smart home (TV 11 ') service, provides smart home (refrigerator 12 ') service by homekit agreement, passes through Continua agreement provides intelligent medical (weight meter 13 ') service.
It is every to dispose a kind of new business in this deployment way, it requires to dispose a set of system end to end, including object Networked terminals, management server, management terminal, mobile phone application terminal etc..The lower deployment cost of this mode is high, deployment speed is slow, Maintenance cost is high, user's use is also inconvenient.
To solve the above-mentioned problems, industry is studying and defining public capability of Internet of things layer protocol (e.g., oneM2M), is The deployment of various types of internet of things service and O&M provide convenient, flexible, powerful function.
As shown in Fig. 2, including internet-of-things terminal (including TV 22 ', refrigerator 23 ' and weight meter in the Internet of Things network 24 '), gateway 25 ', management server 26 ', management terminal (including management terminal 27 ', management terminal 28 ' and management terminal 29 ') And mobile phone application terminal 30 '.Internet-of-things terminal side provides smart home (TV 11 ') service by alljoyn agreement, leads to It crosses homekit agreement and smart home (refrigerator 12 ') service is provided, provide intelligent medical (weight meter by continua agreement 13 ') it services, network side is based on oneM2M agreement and disposes internet of things service.No matter which kind of agreement internet-of-things terminal supports, in network Side only needs to carry out simple Function Extension based on the oneM2M system disposed.This deployment way reduces Internet of Things The lower deployment cost of business accelerates the deployment speed of internet of things service.In addition, all internet of things service disposed pass through unification OneM2M protocol system carry out the later period O&M, reduce overall O&M cost.In this deployment way, Internet of Things industry More energy and resources can be put into specific business itself (e.g., smart television business, intelligent refrigerator industry by the network operator of business Business etc.), be conducive to scale, the finingization development of internet of things service.
Within the system, in order to access use different business agreement (e.g., alljoyn, homekit etc.) Internet of Things Terminal avoids being modified the internet-of-things terminal for having supported these agreements, need to complete in a gateway these agreements with The conversion of oneM2M agreement.Based on this scheme, the designer of each service protocol can be absorbed in related internet of things service function The building of design itself and the ecosystem, each internet-of-things terminal manufacturer are provided with bigger in the service protocol that selection need to be supported Flexibility.
However, it is found by the inventors that existing protocol conversion function is usually that gateway is written in gateway factory , new internet of things service can not be increased, increase new internet of things service if necessary, then need to customize new gateway again and set It is standby.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides the configuration methods and device of a kind of Internet of Things protocol conversion function, at least to solve net Close the technical issues of equipment can not increase new internet of things service.
According to an aspect of an embodiment of the present invention, a kind of configuration method of Internet of Things protocol conversion function is provided, is wrapped Include: gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, and the configuration file is used for information It is converted between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido;The gateway by the configuration file by information into Conversion between row the first Internet of Things fidonetFido and the second Internet of Things fidonetFido, and it is sent completely the information of conversion.
Further, before gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, institute State method further include: the gateway judges the gateway locally and whether there is the resource for loading the configuration file;If It is not present, then judges whether the priority of the first Internet of Things fidonetFido is higher than the Internet of Things fidonetFido that the gateway has locally loaded Priority;And if the priority of the first Internet of Things fidonetFido is high, the gateway deletion has locally loaded preferential It is used for information corresponding to the low Internet of Things fidonetFido of grade in the low Internet of Things fidonetFido of the priority and second Internet of Things The configuration file converted between agreement.
Further, it includes: described that gateway, which obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, Gateway sends load request to the configuration server, and the load request is for Internet of Things association to be loaded described in request of loading Translation-profile is discussed, the configuration server turns the Internet of Things fidonetFido to be loaded after receiving the load request It changes configuration file and is sent to the gateway;The gateway receives the Internet of Things association to be loaded that the configuration server is sent Translation-profile is discussed, to load the Internet of Things protocol conversion configuration file to be loaded.
According to another aspect of an embodiment of the present invention, a kind of configuration method of Internet of Things protocol conversion function is additionally provided, It include: that configuration server sends Internet of Things protocol conversion configuration file to be loaded to gateway, the configuration file will be for that will believe Breath is converted between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido, and the gateway is by the configuration file by information The conversion between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido is carried out, and is sent completely the information of conversion.
Further, it includes: described that configuration server, which sends Internet of Things protocol conversion configuration file to be loaded to gateway, Configuration server identifies the new Internet of Things by receiving the service message comprising new Internet of Things fidonetFido that the gateway is sent FidonetFido;Alternatively, the configuration server receives the registration request for the new Internet of Things fidonetFido that the gateway is sent, and pass through institute It states registration request and identifies the new Internet of Things fidonetFido;Whether the configuration server inquiry is local the new Internet of Things The corresponding Internet of Things protocol conversion configuration file of agreement;If it find that the corresponding Internet of Things fidonetFido of the new Internet of Things fidonetFido turns Configuration file is changed, then using the corresponding Internet of Things protocol conversion configuration file of the new Internet of Things fidonetFido as described to be loaded Internet of Things protocol conversion configuration file is sent to the gateway.
Further, the method also includes: the configuration server receives the removal request from the gateway, In, the removal request carries the mark of Internet of Things protocol conversion configuration file to be deleted;The configuration server according to The mark in the removal request received deletes local entry corresponding with the mark;The configuration server to The gateway, which returns, deletes response message, and the gateway deletes local corresponding Internet of Things according to the deletion response message is received FidonetFido translation-profile.
Further, the method also includes: the configuration servers sends delete command, the deletion to the gateway Order carries the mark of Internet of Things protocol conversion configuration file to be deleted, and the gateway is ordered according to the deletion received The mark in order deletes local corresponding Internet of Things protocol conversion configuration file.
Further, Internet of Things protocol conversion configuration to be updated is obtained the method also includes: the configuration server The list of gateways of file;The configuration server configures the Internet of Things protocol conversion to be updated according to the list of gateways File is sent to the gateway for needing to update the Internet of Things protocol conversion configuration file, and the gateway is to be updated according to what is received Internet of Things protocol conversion configuration file update local Internet of Things protocol conversion configuration file.
According to another aspect of an embodiment of the present invention, a kind of configuration device of Internet of Things protocol conversion function is additionally provided, It include: acquiring unit, for obtaining Internet of Things protocol conversion configuration file to be loaded, the configuration file from configuration server For information to be converted between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido;Converting unit, for by described Information is carried out the conversion between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido by configuration file, and is sent completely The information of conversion.
Further, described device further include: the first judging unit, for obtaining object to be loaded from configuration server Before networking protocol translation-profile, gateway is judged locally and whether there is the resource for loading the configuration file;Second Judging unit when for the resource for loading the configuration file to be locally not present in gateway, judges first Internet of Things Whether the priority of agreement is higher than the priority for the Internet of Things fidonetFido that the gateway has locally loaded;And unit is deleted, it is used for When the priority of the first Internet of Things fidonetFido is high, delete corresponding to the low Internet of Things fidonetFido of the local priority loaded Configuration file for converting information between the low Internet of Things fidonetFido of the priority and the second Internet of Things fidonetFido.
Further, the acquiring unit includes: sending module, for sending load request to the configuration server, The load request is received for Internet of Things protocol conversion configuration file to be loaded described in request of loading, the configuration server The Internet of Things protocol conversion configuration file to be loaded is sent to gateway after to the load request;Receiving module is used It is described to be loaded to load in the Internet of Things protocol conversion configuration file to be loaded for receiving the configuration server transmission Internet of Things protocol conversion configuration file.
According to another aspect of an embodiment of the present invention, a kind of configuration device of Internet of Things protocol conversion function is additionally provided, It include: the first transmission unit, for sending Internet of Things protocol conversion configuration file to be loaded to gateway, the configuration file is used In converting information between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido, the gateway passes through the configuration file Information is subjected to the conversion between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido, and is sent completely the letter of conversion Breath.
Further, first transmission unit includes: the first receiving module, for what is sent by receiving the gateway Service message comprising new Internet of Things fidonetFido identifies the new Internet of Things fidonetFido;Alternatively, the second receiving module, for receiving The registration request for the new Internet of Things fidonetFido that the gateway is sent, and the new Internet of Things is identified by the registration request Agreement;Whether enquiry module has the corresponding Internet of Things protocol conversion configuration text of the new Internet of Things fidonetFido for inquiring locally Part;Sending module will be described for when finding the corresponding Internet of Things protocol conversion configuration file of the new Internet of Things fidonetFido The corresponding Internet of Things protocol conversion configuration file of new Internet of Things fidonetFido is as the Internet of Things protocol conversion configuration to be loaded File is sent to the gateway.
Further, described device further include: receiving unit, for receiving the removal request from the gateway, wherein The removal request carries the mark of Internet of Things protocol conversion configuration file to be deleted;Unit is deleted, for according to reception To the removal request in the mark delete the local entry corresponding with the mark of configuration server;Return unit, Response message is deleted for returning to the gateway, the gateway deletes local correspond to according to the deletion response message is received Internet of Things protocol conversion configuration file.
Further, described device further include: the second transmission unit, it is described for sending delete command to the gateway Delete command carries the mark of Internet of Things protocol conversion configuration file to be deleted, and the gateway described is deleted according to what is received Except the mark in order deletes local corresponding Internet of Things protocol conversion configuration file.
Further, described device further include: acquiring unit, for obtaining Internet of Things protocol conversion configuration text to be updated The list of gateways of part;First transmission unit is also used to be turned the Internet of Things fidonetFido to be updated according to the list of gateways It changes configuration file and is sent to the gateway for needing to update the Internet of Things protocol conversion configuration file, the gateway is according to receiving Internet of Things protocol conversion configuration file to be updated updates local Internet of Things protocol conversion configuration file.
According to embodiments of the present invention, by the way that configuration server is arranged, gateway obtains to be loaded from the configuration server Internet of Things protocol conversion configuration file to load Internet of Things protocol conversion configuration file to be loaded, and passes through the configuration file Information is subjected to the conversion and transmission between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido, to increase on gateway new Internet of things service, solve the technical issues of gateway can not increase new internet of things service, reached in gateway Increase the effect of new internet of things service.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of schematic diagram of Internet of things system according to prior art;
Fig. 2 is the schematic diagram of another Internet of things system according to prior art;
Fig. 3 is the flow chart of the configuration method of Internet of Things protocol conversion function according to an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of Internet of things system according to an embodiment of the present invention;
Fig. 5 is a kind of load flow chart of Internet of Things protocol conversion configuration file according to an embodiment of the present invention;
Fig. 6 is the load flow chart of another Internet of Things protocol conversion configuration file according to an embodiment of the present invention;
Fig. 7 is the load flow chart of another Internet of Things protocol conversion configuration file according to an embodiment of the present invention;
Fig. 8 is the load flow chart of another Internet of Things protocol conversion configuration file according to an embodiment of the present invention;
Fig. 9 is a kind of deletion flow chart of Internet of Things protocol conversion configuration file according to an embodiment of the present invention;
Figure 10 is the deletion flow chart of another Internet of Things protocol conversion configuration file according to an embodiment of the present invention;
Figure 11 is the deletion flow chart of another Internet of Things protocol conversion configuration file according to an embodiment of the present invention;
Figure 12 is a kind of update flow chart of Internet of Things protocol conversion configuration file according to an embodiment of the present invention;
Figure 13 is a kind of schematic diagram of the configuration device of according to embodiments of the present invention 3 Internet of Things protocol conversion function.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to embodiments of the present invention, a kind of embodiment of the method for the configuration method of Internet of Things protocol conversion function is provided, It should be noted that step shown in the flowchart of the accompanying drawings can be in the department of computer science of such as a group of computer-executable instructions It is executed in system, although also, logical order is shown in flow charts, and it in some cases, can be to be different from herein Sequence execute shown or described step.
Fig. 3 is the flow chart of the configuration method of Internet of Things protocol conversion function according to an embodiment of the present invention, such as Fig. 3 institute Show, this method comprises the following steps:
Step S302, gateway obtain Internet of Things protocol conversion configuration file to be loaded from configuration server.Configuration text Part between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido for converting information.
Step S304, gateway are carried out information between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido by configuration file Conversion, and be sent completely the information of conversion.
Gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, to load Internet of Things to be loaded FidonetFido translation-profile, wherein the first Internet of Things fidonetFido is the Internet of Things fidonetFido increased newly on the gateway, the second Internet of Things association View can be the general Internet of Things fidonetFido of network side deployment, and gateway obtains Internet of Things fidonetFido to be loaded from configuration server and turns Configuration file is changed to complete to match the load of Internet of Things protocol conversion configuration file to be loaded in this way, gateway can use this The function of setting file is realized from the first Internet of Things fidonetFido to the second Internet of Things fidonetFido or the second Internet of Things fidonetFido to the first Internet of Things The information of fidonetFido is converted, and the information for completing conversion is sent.
According to embodiments of the present invention, by the way that configuration server is arranged, gateway obtains to be loaded from the configuration server Internet of Things protocol conversion configuration file to load Internet of Things protocol conversion configuration file to be loaded, and passes through the configuration file Information is subjected to the conversion and transmission between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido, to increase on gateway new Internet of things service, solve the technical issues of gateway can not increase new internet of things service, reached in gateway Increase the effect of new internet of things service.
Preferably, before gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, method Further include: gateway judges gateway locally and whether there is the resource for loading configuration file;If it does not exist, then judging the first object Whether the priority of networking protocol is higher than the priority for the Internet of Things fidonetFido that gateway has locally loaded;And if the first Internet of Things The priority of agreement is high, then gateway is deleted corresponding to the low Internet of Things fidonetFido of the local priority loaded for information to exist The configuration file converted between the low Internet of Things fidonetFido of priority and the second Internet of Things fidonetFido.
Since the resource (such as memory, processor) on gateway is limited, determines and loaded in a gateway in the same time The quantity of protocol conversion function will be limited.Simultaneously as internet of things service has the characteristics that multifarious, to need to convert Internet of Things Network service protocol type is also more.In addition, with the appearance of new internet of things service, the quantity meeting of new internet of things service agreement It is continuously increased, supports new protocol conversion function to need to be continuously replenished.In this way, will also be led when resources on gateway exhausts Cause gateway that can not increase new internet of things service.
In the present embodiment, the priority of each Internet of Things fidonetFido can be preset, Internet of Things to be loaded are received in gateway Before fidonetFido translation-profile, gateway judges it, and locally whether there are also resources to load above-mentioned Internet of Things fidonetFido to be loaded Translation-profile directly acquires Internet of Things protocol conversion configuration file to be loaded if gateway can also load;Conversely, If can not load, gateway can also be according to the priority of the Internet of Things fidonetFido in the priority and gateway of the first Internet of Things fidonetFido To further determine whether to load, wherein if the priority of the first Internet of Things fidonetFido is high, it is lower to delete priority It is i.e. to be added to load the corresponding protocol conversion configuration file of the Internet of Things fidonetFido for the corresponding protocol conversion configuration file of Internet of Things fidonetFido The Internet of Things protocol conversion configuration file of load;Conversely, being not loaded with the Internet of Things protocol conversion configuration file to be loaded.In this way, Guarantee on gateway there are Internet of Things protocol conversion configuration file to be loaded when resource, can be loaded, in gateway resource deficiency When, Internet of Things protocol conversion configuration file to be loaded is loaded using the priority of Internet of Things fidonetFido.
Optionally, the foundation of above-mentioned Internet of Things treaty override grade setting can include but is not limited to following factor: configuration clothes The account of the history (using more frequent priority higher) used in business device for each agreement in the configuration of each treaty override grade, gateway Deng.
Preferably, gateway from configuration server obtain Internet of Things protocol conversion configuration file to be loaded include: gateway to Configuration server sends load request, and the load request Internet of Things protocol conversion configuration file to be loaded for request of loading is matched It sets server and receives and Internet of Things protocol conversion configuration file to be loaded is sent to gateway after load request;Gateway receives The Internet of Things protocol conversion configuration file to be loaded that configuration server is sent, is matched with the Internet of Things protocol conversion for loading to be loaded Set file.
Above-mentioned load request can be gateway active transmission, be also possible to what forwarding user was sent by configurating terminal Request, that is to say in the embodiment of the present invention, the load of new Internet of Things protocol conversion configuration file can be passed through by user to be configured What terminal was initiated, it is also possible to be initiated by gateway, either configurating terminal or gateway are initiated, all can be from gateway to configuration Server sends load request, to load Internet of Things protocol conversion configuration file to be loaded.
User is initiated by configurating terminal separately below load process and the load process initiated by gateway it is optional Embodiment describes the embodiment of the present invention.Wherein, it mainly includes internet-of-things terminal (such as TV that process is loaded in the present embodiment 41, refrigerator 42 and weight meter 43), gateway 44,46 4 kinds of configurating terminal 45, configuration server functional entitys, as shown in Figure 4.
As shown in figure 5, loading the corresponding new Internet of Things of the internet-of-things terminal after user has purchased new internet-of-things terminal FidonetFido translation-profile can pass through following steps:
Step S11: user passes through configurating terminal and sends request to gateway, and request obtains all can load networking protocol turn Change the item list of configuration file.
Step S12: gateway obtains and forwards the request to configuration server after the request.
Step S13: configuration server by all can the item list of load networking protocol translation-profile be sent to Gateway.
Step S14: gateway can all will add in the item list and gateway of load networking protocol translation-profile The item list of the Internet of Things protocol conversion configuration file of load is sent to configurating terminal.
Step S15: if user all can not send out in the item list of load networking protocol translation-profile The entry for the Internet of Things protocol conversion configuration file for now needing newly to load, alternatively, the Internet of Things fidonetFido loaded in a gateway turns Changing discovery in the item list of configuration file needs the entry of new Internet of Things protocol conversion configuration file to be loaded, then process It will terminate.Otherwise, user all can select to need new load in the item list of load networking protocol translation-profile Internet of Things protocol conversion configuration file entry.
Step S16: user is sent to gateway by configurating terminal and is requested, the selected Internet of Things for needing newly to load of request of loading FidonetFido translation-profile.
Step S17: gateway obtains and forwards the request to configuration server after the request.
Step S18: request of the configuration server according to gateway, the Internet of Things protocol conversion configuration file that will need newly to load It is sent to gateway.
Step S19: gateway loads the Internet of Things protocol conversion configuration file, and the result of load is sent to configuration eventually End.
If gateway is successfully loaded with new Internet of Things protocol conversion configuration file, new internet-of-things terminal passes through in gateway The configuration file be successfully accessed, relevant internet of things service is provided.
In the present embodiment, the process of load networking protocol translation-profile is initiated by configurating terminal, so that user It can be flexibly on load networking protocol translation-profile to gateway, to provide corresponding internet of things service.
The load process that gateway is initiated is as shown in Figure 6.After user has purchased new internet-of-things terminal, the internet-of-things terminal Registration request is initiated using new internet of things service agreement, is obtained by gateway.
Step S21: gateway obtains the registration request that internet-of-things terminal is initiated using new Internet of Things fidonetFido, and gateway identifies The type of the internet of things service agreement.
Step S22: if having loaded the corresponding Internet of Things protocol conversion configuration file of the internet of things service agreement in gateway, So load process terminates.Otherwise, gateway sends to configuration server and requests, and Internet of Things protocol conversion configuration text is downloaded in request Part.
Step S23: if not having the Internet of Things protocol conversion configuration file in configuration server, configuration server is to gateway Return to load failure.Otherwise, which is sent to gateway by configuration server, and gateway loads the object Networking protocol translation-profile.
If gateway is successfully loaded with new Internet of Things protocol conversion function, new internet-of-things terminal passes through being somebody's turn to do in gateway Function is successfully accessed, and provides relevant internet of things service.
Optionally, the load process that gateway is initiated can also be load process shown in Fig. 7.When user has purchased new object After networked terminals, which initiates registration request using new internet of things service agreement, is obtained by gateway.
Step S31: the service message that gateway intercepts internet-of-things terminal is sent using new Internet of Things fidonetFido.
Step S32: the service message is sent to registrar by gateway.
Step S33: registrar identifies the type of the internet of things service agreement, and inquires locally whether have the Internet of Things The corresponding Internet of Things protocol conversion configuration file of network service agreement.
Step S34: if the not no corresponding Internet of Things protocol conversion configuration file of the internet of things service agreement of configuration server, The response message of recognition failures is sent to gateway.Otherwise, configuration server assists new Internet of Things protocol conversion internet of things service View message is sent to gateway, and gateway loads the Internet of Things protocol conversion configuration file.
If gateway is successfully loaded with new Internet of Things protocol conversion configuration file, new internet-of-things terminal passes through in gateway The configuration file be successfully accessed, relevant internet of things service is provided.
In the present embodiment, the load process of the Internet of Things protocol conversion configuration file is initiated by gateway, without by another The load of Internet of Things protocol conversion configuration file can be realized in the outer configurating terminal that increases.
Embodiment 2
The embodiment of the invention also provides a kind of configuration method of Internet of Things protocol conversion function, this method can be by configuring Server executes, specifically, this method comprises: configuration server sends Internet of Things protocol conversion configuration to be loaded to gateway File.Wherein, configuration file between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido for converting information, gateway Information is subjected to the conversion between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido by configuration file, and is sent completely conversion Information.
Configuration server is by gateway in Internet of Things protocol conversion configuration file transmission to be loaded, so that gateway load should Internet of Things protocol conversion configuration file to be loaded, wherein the first Internet of Things fidonetFido is the Internet of Things fidonetFido increased newly on the gateway, Second Internet of Things fidonetFido can be network side deployment general Internet of Things fidonetFido, gateway receive configuration server transmission to The Internet of Things protocol conversion configuration file of load is the load completed to Internet of Things protocol conversion configuration file to be loaded, this Sample, the function that gateway can use the configuration file are realized from the first Internet of Things fidonetFido to the second Internet of Things fidonetFido or the second object Networking protocol is converted to the information of the first Internet of Things fidonetFido, and the information for completing conversion is sent.
According to embodiments of the present invention, Internet of Things protocol conversion to be loaded is sent to gateway by configuration server and configures text Information so that gateway loads Internet of Things protocol conversion configuration file to be loaded, and is carried out the by the configuration file by part Conversion and transmission between one Internet of Things fidonetFido and the second Internet of Things fidonetFido, to increase new Internet of Things industry on gateway Business, solves the technical issues of gateway can not increase new internet of things service, has reached and increased new object in gateway The effect of networking service.
Preferably, it includes: configuration clothes that configuration server, which sends Internet of Things protocol conversion configuration file to be loaded to gateway, Business device identifies new Internet of Things fidonetFido by receiving the service message comprising new Internet of Things fidonetFido that gateway is sent;Alternatively, matching It sets server and receives the registration request for the new Internet of Things fidonetFido that gateway is sent, and identify new Internet of Things by registration request Agreement;Whether configuration server inquiry is local the corresponding Internet of Things protocol conversion configuration file of new Internet of Things fidonetFido;If It was found that the corresponding Internet of Things protocol conversion configuration file of new Internet of Things fidonetFido, then by the new corresponding Internet of Things of Internet of Things fidonetFido Protocol conversion configuration file is sent to gateway as Internet of Things protocol conversion configuration file to be loaded.
In the present embodiment, configuration server can identify the object according to the service message of the Internet of Things fidonetFido of gateway intercepts Networking protocol can also identify the corresponding Internet of Things fidonetFido of the request by the registration request of gateway forwards.It is new identifying Internet of Things fidonetFido after, configuration server inquire its locally whether have this new Internet of Things protocol conversion configuration file, if It is that the configuration file is then sent to gateway;Conversely, then terminating to load process.
The configuration server of the present embodiment can join in the process for loading Internet of Things protocol conversion configuration file to be loaded See the configuration method of the Internet of Things protocol conversion function in the embodiment of the present invention 1.
Preferably, it includes: configuration clothes that configuration server, which sends Internet of Things protocol conversion configuration file to be loaded to gateway, Business device obtains the list of gateways of Internet of Things protocol conversion configuration file to be loaded;Configuration server will be to be added according to list of gateways The Internet of Things protocol conversion configuration file of load is sent to the gateway for not loading Internet of Things protocol conversion configuration file to be loaded, net It closes and configures text according to Internet of Things protocol conversion configuration file to be loaded is received to load the Internet of Things protocol conversion to be loaded Part.
In the embodiment of the present invention, configuration server can initiate the load process of Internet of Things protocol conversion configuration file, use So that multiple gateways load Internet of Things protocol conversion configuration file to be loaded.Above-mentioned list of gateways include do not load it is to be added The mark of the gateway of the Internet of Things protocol conversion configuration file of load, after configuration server gets the list of gateways, according to net Internet of Things protocol conversion configuration file to be loaded is sent to by the mark in the list of pass does not load Internet of Things fidonetFido to be loaded The gateway of translation-profile.
In the embodiment of the present invention, the gateway load networking protocol conversion configurations text of batch is realized by configuration server Part reduces the processing pressure of configuration server so that each gateway be avoided to send load request to configuration server respectively.
Optionally, the load process that a kind of configuration server is initiated is as shown in figure 8, when configuration server is added to new object After networking protocol translation-profile, it is desirable to load the new Internet of Things protocol conversion configuration file:
Step S41: configuration server need to load new Internet of Things by gateway configuration file or gateway management system acquisition The list of gateways of protocol conversion configuration file identifies the net for not loading the new Internet of Things protocol conversion configuration file wherein It closes.
Step S42: the new Internet of Things protocol conversion is sent to the gateway identified with file by configuration server.
Step S43: gateway loads the Internet of Things protocol conversion configuration file, and the result of load is sent to configuration service Device.
If gateway is successfully loaded with new Internet of Things protocol conversion configuration file, new internet-of-things terminal passes through in gateway The configuration file be successfully accessed, relevant internet of things service is provided.
Preferably, the configuration method of the Internet of Things protocol conversion function of the present embodiment further include: configuration server, which receives, to be come From the removal request of gateway, wherein removal request carries the mark of Internet of Things protocol conversion configuration file to be deleted;Configuration Server deletes local entry corresponding with mark according to the mark in the removal request received;Configuration server is returned to gateway It returns and deletes response message, gateway configures text according to the local corresponding Internet of Things protocol conversion of deletion response message deletion is received Part.
In the present embodiment, the Internet of Things protocol conversion configuration file being loaded on gateway can also be deleted.It is optional Ground can send removal request to configuration server by gateway, turn to delete the Internet of Things fidonetFido loaded on gateway Change configuration file.The Internet of Things protocol conversion configuration file loaded on each gateway can be set in configuration server Entry, after configuration server receives removal request, by the mark with Internet of Things protocol conversion configuration file to be deleted Corresponding entry is deleted, and is returned to gateway and deleted response message, is matched so that gateway deletes Internet of Things protocol conversion to be deleted Set file.Removal request is sent to configuration server by gateway, so that configuration server deletes local corresponding entry, thus Guarantee that the Internet of Things protocol conversion configuration file loaded in entry and gateway in configuration server keeps synchronous.
In the present embodiment, the deletion process of Internet of Things protocol conversion configuration file can be sent out by user by configurating terminal It rises, is also possible to be initiated by gateway, either configurating terminal or gateway are initiated, and can all be sent from gateway to configuration server Removal request, to delete corresponding Internet of Things protocol conversion configuration file.
User is initiated by configurating terminal separately below load process and the load process initiated by gateway it is optional Embodiment describes the embodiment of the present invention.
Client-initiated deletes process as shown in figure 9, when user decides not to use certain internet-of-things terminal, it is desirable to which deleting should The Internet of Things protocol conversion configuration file that internet-of-things terminal uses:
Step S51: user is sent to gateway by configurating terminal and is requested, and request obtains the Internet of Things association loaded in gateway Discuss the item list of translation-profile.
Step S52: the item list of the Internet of Things protocol conversion configuration file loaded is sent to configurating terminal by gateway.
Step S53: if in the item list for the Internet of Things protocol conversion configuration file that user has loaded in a gateway not It was found that the entry for the Internet of Things protocol conversion configuration file for needing to delete, then deleting process.Otherwise, user has added in a gateway The Internet of Things protocol conversion configuration file that selection needs to delete in the item list of the Internet of Things protocol conversion configuration file of load Entry.
Step S54: user sends removal request to gateway by configurating terminal, and the object that selected needs are deleted is deleted in request Networking protocol translation-profile.
Step S55: gateway obtains and forwards the removal request to configuration server after the removal request.
Step S56: configuration server updates the corresponding Internet of Things loaded of the gateway according to the removal request of gateway forwards The information of the item list of fidonetFido translation-profile deletes the Internet of Things association that the needs specified in above-mentioned removal request are deleted Discuss the corresponding entry of translation-profile.Then, configuration server sends to gateway and deletes response message.Gateway receives the response After message, the Internet of Things protocol conversion configuration file is deleted in local, and sent to configurating terminal and delete response message.
In the present embodiment, process is deleted by increasing user, improves the flexible of Internet of Things protocol conversion configuration file deletion Property.
The deletion process that gateway is initiated is as shown in Figure 10, the Internet of Things protocol conversion function that some has been loaded when gateway discovery When being not used for a long time, the deletion process is triggered:
Step S61: gateway sends removal request to configuration server, which carries the Internet of Things of deletion in need The entry of protocol conversion function.
Step S62: configuration server updates the item of the corresponding Internet of Things protocol conversion configuration file loaded of the gateway The information of mesh list deletes the corresponding item of Internet of Things protocol conversion configuration file that the needs specified in above-mentioned removal request are deleted Mesh sends to gateway and deletes response message.After gateway receives deletion response message, the Internet of Things protocol conversion is configured in local File is deleted.
In the present embodiment, deletion process is automatically initiated by gateway, improves the deletion of Internet of Things protocol conversion configuration file Spontaneity.
Preferably, method further include: configuration server sends delete command to gateway, and delete command carries to be deleted The mark of Internet of Things protocol conversion configuration file, gateway delete local corresponding object according to the mark in the delete command received Networking protocol translation-profile.
In the present embodiment, the deletion process of Internet of Things protocol conversion configuration file can also be initiated by configuration server, Specifically, when needing to delete Internet of Things protocol conversion configuration file, configuration server sends delete command to gateway, to control Gateway processed deletes the Internet of Things protocol conversion configuration file specified in the delete command.In addition, configuration server, which is sent, deletes life While order, configuration server originally can also be configured text with the Internet of Things protocol conversion of gateway is specified in the delete command on the ground The corresponding entry of part is deleted, in order to keep the Internet of Things protocol conversion configuration text of the gateway in configuration server loaded The Internet of Things protocol conversion configuration file loaded on the item list and gateway of part is consistent.
Optionally, configuration server can delete the Internet of Things protocol conversion configuration file on multiple gateways simultaneously, for example, When configuration server no longer supports something networking protocol conversion function, it is desirable to delete corresponding Internet of Things protocol conversion configuration text Part, process are as shown in figure 11:
Step S71: configuration server needs to delete Internet of Things association by gateway configuration file or gateway management system acquisition The list of gateways for discussing translation-profile, identifies the gateway for not deleted the Internet of Things protocol conversion configuration file wherein.
Step S72: the entry for the Internet of Things protocol conversion configuration file that need to be deleted is sent to and identifies by configuration server Gateway.
Step S73: gateway deletes the Internet of Things protocol conversion configuration file in local, and deletes to configuration server return Except response message.After configuration server receives deletion response message, updates the corresponding Internet of Things fidonetFido loaded of the gateway and turn The information for changing configuration file entries list deletes the corresponding item of Internet of Things protocol conversion configuration file that specified needs are deleted Mesh.
Preferably, method further include: configuration server obtains the gateway of Internet of Things protocol conversion configuration file to be updated List;Internet of Things protocol conversion configuration file to be updated is sent to by configuration server according to list of gateways to be needed to update Internet of Things The gateway of fidonetFido translation-profile, gateway update this according to the Internet of Things protocol conversion configuration file to be updated received The Internet of Things protocol conversion configuration file on ground.
It, can be by matching when the Internet of Things protocol conversion configuration file loaded on gateway updates in the present embodiment It sets server and obtains Internet of Things protocol conversion configuration file to be updated, and the configuration file is sent to the net for needing to update Close so that gateway it is updated.
A kind of optional more new technological process is as shown in figure 12, when configuration server finds the version needs of certain protocol conversion function When update, the more new technological process is initiated:
Step S81: configuration server need to update Internet of Things association by gateway configuration file or gateway management system acquisition Discuss the list of gateways of translation-profile.
Step S82: the Internet of Things protocol conversion configuration file that need to update is sent to above-mentioned identify by configuration server Gateway.
Step S83: gateway is returned to configuration server and is updated in the local update Internet of Things protocol conversion configuration file Response message.
If be updated successfully, existing internet-of-things terminal is provided by Internet of Things protocol conversion function updated in gateway Related internet of things service.
Embodiment 3
The embodiment of the invention also provides a kind of configuration device of Internet of Things protocol conversion function, which be can be set On gateway, the configuration method of the Internet of Things protocol conversion function for executing the above embodiment of the present invention 1.As shown in figure 13, should Device includes: acquiring unit 131 and converting unit 133.
Acquiring unit 131 is for obtaining Internet of Things protocol conversion configuration file to be loaded, configuration text from configuration server Part between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido for converting information.
Converting unit 133 be used for by configuration file by information carry out the first Internet of Things fidonetFido and the second Internet of Things fidonetFido it Between conversion, and be sent completely the information of conversion.
Acquiring unit 131 obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, to be added to load The Internet of Things protocol conversion configuration file of load, wherein the first Internet of Things fidonetFido be the gateway on increase newly Internet of Things fidonetFido, second Internet of Things fidonetFido can be the general Internet of Things fidonetFido of network side deployment, and gateway passes through acquiring unit 131 from configuration server Obtaining Internet of Things protocol conversion configuration file to be loaded can be completed to Internet of Things protocol conversion configuration file to be loaded Load, in this way, the function that gateway can use the configuration file realize from the first Internet of Things fidonetFido to the second Internet of Things fidonetFido or Person's the second Internet of Things fidonetFido is converted to the information of the first Internet of Things fidonetFido, and the information for completing conversion is sent.
According to embodiments of the present invention, by the way that configuration server is arranged, acquiring unit obtains to be added from the configuration server The Internet of Things protocol conversion configuration file of load to load Internet of Things protocol conversion configuration file to be loaded, and passes through the configuration Information is carried out the conversion and transmission between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido by file, to increase on gateway New internet of things service, solves the technical issues of gateway can not increase new internet of things service, has reached in gateway Equipment increases the effect of new internet of things service.
Preferably, device further include: the first judging unit, for obtaining Internet of Things association to be loaded from configuration server Before discussing translation-profile, gateway is judged locally and whether there is the resource for loading configuration file;Second judgment unit is used When the resource for loading configuration file is locally not present in gateway, judge whether the priority of the first Internet of Things fidonetFido is higher than The priority for the Internet of Things fidonetFido that gateway has locally loaded;And unit is deleted, for the priority in the first Internet of Things fidonetFido Gao Shi is deleted corresponding to the low Internet of Things fidonetFido of the local priority loaded for the Internet of Things that information is low in priority The configuration file converted between agreement and the second Internet of Things fidonetFido.
Since the resource (such as memory, processor) on gateway is limited, determines and loaded in a gateway in the same time The quantity of protocol conversion function will be limited.Simultaneously as internet of things service has the characteristics that multifarious, to need to convert Internet of Things Network service protocol type is also more.In addition, with the appearance of new internet of things service, the quantity meeting of new internet of things service agreement It is continuously increased, supports new protocol conversion function to need to be continuously replenished.In this way, will also be led when resources on gateway exhausts Cause gateway that can not increase new internet of things service.
In the present embodiment, the priority of each Internet of Things fidonetFido can be preset, Internet of Things to be loaded are received in gateway Before fidonetFido translation-profile, gateway judges it, and locally whether there are also resources to load above-mentioned Internet of Things fidonetFido to be loaded Translation-profile directly acquires Internet of Things protocol conversion configuration file to be loaded if gateway can also load;Conversely, If can not load, gateway can also be according to the priority of the Internet of Things fidonetFido in the priority and gateway of the first Internet of Things fidonetFido To further determine whether to load, wherein if the priority of the first Internet of Things fidonetFido is high, it is lower to delete priority It is i.e. to be added to load the corresponding protocol conversion configuration file of the Internet of Things fidonetFido for the corresponding protocol conversion configuration file of Internet of Things fidonetFido The Internet of Things protocol conversion configuration file of load;Conversely, being not loaded with the Internet of Things protocol conversion configuration file to be loaded.In this way, Guarantee on gateway there are Internet of Things protocol conversion configuration file to be loaded when resource, can be loaded, in gateway resource deficiency When, Internet of Things protocol conversion configuration file to be loaded is loaded using the priority of Internet of Things fidonetFido.
Optionally, the foundation of above-mentioned Internet of Things treaty override grade setting can include but is not limited to following factor: configuration clothes The account of the history (using more frequent priority higher) used in business device for each agreement in the configuration of each treaty override grade, gateway Deng.
Preferably, acquiring unit includes: sending module, and for sending load request to configuration server, load request is used In the Internet of Things protocol conversion configuration file that request of loading is to be loaded, configuration server will be to be loaded after receiving load request Internet of Things protocol conversion configuration file be sent to gateway;Receiving module, for receiving the to be loaded of configuration server transmission Internet of Things protocol conversion configuration file, to load Internet of Things protocol conversion configuration file to be loaded.
Above-mentioned load request can be gateway active transmission, be also possible to what forwarding user was sent by configurating terminal Request, that is to say in the embodiment of the present invention, the load of new Internet of Things protocol conversion configuration file can be passed through by user to be configured What terminal was initiated, it is also possible to by gateway initiation, either configurating terminal or gateway are initiated, all can be by the transmission of gateway Module sends load request to configuration server, to load Internet of Things protocol conversion configuration file to be loaded.It is specific real Existing mode may refer to the description of the above embodiment of the present invention 1, be not described herein.
Embodiment 4
The embodiment of the invention also provides the configuration device of another Internet of Things protocol conversion function, which be can be set On the configuration server, for executing the configuration method of the Internet of Things protocol conversion function of the above embodiment of the present invention 2, the device It include: the first transmission unit, for sending Internet of Things protocol conversion configuration file to be loaded to gateway, configuration file is used for will Information is converted between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido, and information is carried out the by configuration file by gateway Conversion between one Internet of Things fidonetFido and the second Internet of Things fidonetFido, and it is sent completely the information of conversion.
First transmission unit is by gateway in Internet of Things protocol conversion configuration file transmission to be loaded, so that gateway loads The Internet of Things protocol conversion configuration file to be loaded, wherein the first Internet of Things fidonetFido is the Internet of Things association increased newly on the gateway View, the second Internet of Things fidonetFido can be the general Internet of Things fidonetFido of network side deployment, and gateway receives the first transmission unit hair The Internet of Things protocol conversion configuration file to be loaded sent completes adding to Internet of Things protocol conversion configuration file to be loaded Carry, in this way, the function that gateway can use the configuration file realize from the first Internet of Things fidonetFido to the second Internet of Things fidonetFido or Second Internet of Things fidonetFido is converted to the information of the first Internet of Things fidonetFido, and the information for completing conversion is sent.
According to embodiments of the present invention, by sending Internet of Things protocol conversion configuration file to be loaded to gateway, so that Gateway loads Internet of Things protocol conversion configuration file to be loaded, and information is carried out the first Internet of Things association by the configuration file The conversion and transmission negotiated peace between the second Internet of Things fidonetFido solve net to increase new internet of things service on gateway The technical issues of equipment can not increase new internet of things service is closed, the effect for increasing new internet of things service in gateway has been reached Fruit.
Preferably, the first transmission unit includes: the first receiving module, for including new object by receive gateway transmission The service message of networking protocol identifies new Internet of Things fidonetFido;Alternatively, the second receiving module, for receiving the new of gateway transmission The registration request of Internet of Things fidonetFido, and new Internet of Things fidonetFido is identified by registration request;Enquiry module, for inquiring local Whether new Internet of Things fidonetFido corresponding Internet of Things protocol conversion configuration file is had;Sending module, for finding new Internet of Things When the corresponding Internet of Things protocol conversion configuration file of fidonetFido, the new corresponding Internet of Things protocol conversion of Internet of Things fidonetFido is configured File is sent to gateway as Internet of Things protocol conversion configuration file to be loaded.
In the present embodiment, configuration server can identify the object according to the service message of the Internet of Things fidonetFido of gateway intercepts Networking protocol can also identify the corresponding Internet of Things fidonetFido of the request by the registration request of gateway forwards.It is new identifying Internet of Things fidonetFido after, configuration server inquire its locally whether have this new Internet of Things protocol conversion configuration file, if It is that the configuration file is then sent to gateway;Conversely, then terminating to load process.
The configuration server of the present embodiment can join in the process for loading Internet of Things protocol conversion configuration file to be loaded See the configuration method of the Internet of Things protocol conversion function in the embodiment of the present invention 1.
Preferably, device further include: receiving unit, for receiving the removal request from gateway, wherein removal request is taken Mark with Internet of Things protocol conversion configuration file to be deleted;Unit is deleted, for according in the removal request received Mark delete the local entry corresponding with mark of configuration server;Return unit deletes response message for returning to gateway, Gateway deletes local corresponding Internet of Things protocol conversion configuration file according to deletion response message is received.
In the present embodiment, the Internet of Things protocol conversion configuration file being loaded on gateway can also be deleted.It is optional Ground can send removal request to configuration server by gateway, turn to delete the Internet of Things fidonetFido loaded on gateway Change configuration file.The Internet of Things protocol conversion configuration file loaded on each gateway can be set in configuration server Entry, after configuration server receives removal request, by the mark with Internet of Things protocol conversion configuration file to be deleted Corresponding entry is deleted, and is returned to gateway and deleted response message, is matched so that gateway deletes Internet of Things protocol conversion to be deleted Set file.Removal request is sent to configuration server by gateway, so that configuration server deletes local corresponding entry, thus Guarantee that the Internet of Things protocol conversion configuration file loaded in entry and gateway in configuration server keeps synchronous.
In the present embodiment, the deletion process of Internet of Things protocol conversion configuration file can be sent out by user by configurating terminal It rises, is also possible to be initiated by gateway, either configurating terminal or gateway are initiated, and can all be sent from gateway to configuration server Removal request, to delete corresponding Internet of Things protocol conversion configuration file.
Preferably, device further include: the second transmission unit, for sending delete command to gateway, delete command is carried The mark of Internet of Things protocol conversion configuration file to be deleted, gateway are deleted local according to the mark in the delete command received Corresponding Internet of Things protocol conversion configuration file.
In the present embodiment, the deletion process of Internet of Things protocol conversion configuration file can also be initiated by configuration server, Specifically, when needing to delete Internet of Things protocol conversion configuration file, configuration server sends delete command to gateway, to control Gateway processed deletes the Internet of Things protocol conversion configuration file specified in the delete command.In addition, configuration server, which is sent, deletes life While order, configuration server originally can also be configured text with the Internet of Things protocol conversion of gateway is specified in the delete command on the ground The corresponding entry of part is deleted, in order to keep the Internet of Things protocol conversion configuration text of the gateway in configuration server loaded The Internet of Things protocol conversion configuration file loaded on the item list and gateway of part is consistent.
Preferably, device further include: acquiring unit, for obtaining the net of Internet of Things protocol conversion configuration file to be updated Close list;First transmission unit is also used to that Internet of Things protocol conversion configuration file to be updated is sent to need according to list of gateways The gateway of Internet of Things protocol conversion configuration file is updated, gateway is configured according to the Internet of Things protocol conversion to be updated received File updates local Internet of Things protocol conversion configuration file.
It, can be by matching when the Internet of Things protocol conversion configuration file loaded on gateway updates in the present embodiment It sets server and obtains Internet of Things protocol conversion configuration file to be updated, and the configuration file is sent to the net for needing to update Close so that gateway it is updated.
Embodiment in the embodiment of the present invention may refer to the Internet of Things protocol conversion function in the above embodiment of the present invention 2 The configuration method of energy, is not described herein.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (12)

1. a kind of configuration method of Internet of Things protocol conversion function characterized by comprising
Gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, and the configuration file is used for information It is converted between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido;
Information is carried out the first Internet of Things fidonetFido and the second Internet of Things fidonetFido by the configuration file by the gateway Between conversion, and be sent completely the information of conversion;
Wherein, the first Internet of Things fidonetFido is the Internet of Things fidonetFido increased newly on the gateway, and the second Internet of Things fidonetFido is The general Internet of Things fidonetFido of network side deployment;
Wherein, before gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, the method is also It include: that the gateway judges the gateway locally and whether there is resource for loading the configuration file;If it does not exist, then Judge whether the priority of the first Internet of Things fidonetFido is higher than the priority for the Internet of Things fidonetFido that the gateway has locally loaded; And if the priority of the first Internet of Things fidonetFido is high, the gateway deletes the low object of the local priority loaded It is used for corresponding to networking protocol by information between the low Internet of Things fidonetFido of the priority and the second Internet of Things fidonetFido The configuration file of conversion.
2. the method according to claim 1, wherein gateway obtains Internet of Things association to be loaded from configuration server Discussing translation-profile includes:
The gateway sends load request to the configuration server, and the load request is for be loaded described in request of loading Internet of Things protocol conversion configuration file, the configuration server receive the load request later for the Internet of Things to be loaded FidonetFido translation-profile is sent to the gateway;
The gateway receives the Internet of Things protocol conversion configuration file to be loaded that the configuration server is sent, with load The Internet of Things protocol conversion configuration file to be loaded.
3. a kind of configuration method of Internet of Things protocol conversion function characterized by comprising
Configuration server sends Internet of Things protocol conversion configuration file to be loaded to gateway, and the configuration file is used for information Converted between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido, the gateway by the configuration file by information into Conversion between row the first Internet of Things fidonetFido and the second Internet of Things fidonetFido, and it is sent completely the information of conversion;
Wherein, the first Internet of Things fidonetFido is the Internet of Things fidonetFido increased newly on the gateway, and the second Internet of Things fidonetFido is The general Internet of Things fidonetFido of network side deployment;
Wherein, the resource for loading the configuration file, and the first Internet of Things fidonetFido is locally not present in the gateway Priority be higher than the priority of the Internet of Things fidonetFido that the gateway has locally loaded in the case where, the configuration server is to institute It states gateway and sends delete command, the delete command carries the mark of Internet of Things protocol conversion configuration file to be deleted, institute It states gateway and local corresponding Internet of Things protocol conversion configuration text is deleted according to the mark in the delete command received Part.
4. according to the method described in claim 3, it is characterized in that, configuration server sends Internet of Things association to be loaded to gateway Discussing translation-profile includes:
The configuration server is by receiving described in the service message identification comprising new Internet of Things fidonetFido that the gateway is sent New Internet of Things fidonetFido;Alternatively, the configuration server receives the registration request for the new Internet of Things fidonetFido that the gateway is sent, And the new Internet of Things fidonetFido is identified by the registration request;
Whether the configuration server inquiry is local the corresponding Internet of Things protocol conversion configuration text of the new Internet of Things fidonetFido Part;
If it find that the corresponding Internet of Things protocol conversion configuration file of the new Internet of Things fidonetFido, then by the new Internet of Things The corresponding Internet of Things protocol conversion configuration file of agreement is sent to as the Internet of Things protocol conversion configuration file to be loaded The gateway.
5. according to the method described in claim 3, it is characterized in that, the method also includes:
The configuration server receives the removal request from the gateway, wherein the removal request carries to be deleted The mark of Internet of Things protocol conversion configuration file;
The configuration server is deleted local corresponding with the mark according to the mark in the removal request received Entry;
The configuration server returns to the gateway and deletes response message, and the gateway disappears according to the deletion response is received Breath deletes local corresponding Internet of Things protocol conversion configuration file.
6. according to the method described in claim 3, it is characterized in that, the method also includes:
The configuration server obtains the list of gateways of Internet of Things protocol conversion configuration file to be updated;
The Internet of Things protocol conversion configuration file to be updated is sent to by the configuration server according to the list of gateways Need to update the gateway of the Internet of Things protocol conversion configuration file, the gateway is assisted according to the Internet of Things to be updated received It discusses translation-profile and updates local Internet of Things protocol conversion configuration file.
7. a kind of configuration device of Internet of Things protocol conversion function, which is characterized in that the configuration device is arranged on gateway, packet It includes:
Acquiring unit, for obtaining Internet of Things protocol conversion configuration file to be loaded, the configuration file from configuration server For information to be converted between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido;
Converting unit, for information to be carried out the first Internet of Things fidonetFido and second Internet of Things by the configuration file Conversion between agreement, and it is sent completely the information of conversion;
Wherein, the first Internet of Things fidonetFido is the Internet of Things fidonetFido increased newly on the gateway, and the second Internet of Things fidonetFido is The general Internet of Things fidonetFido of network side deployment;
First judging unit, for sentencing before obtaining Internet of Things protocol conversion configuration file to be loaded from configuration server The local resource with the presence or absence of for loading the configuration file is closed in suspension;
Second judgment unit when for the resource for loading the configuration file to be locally not present in gateway, judges described Whether the priority of one Internet of Things fidonetFido is higher than the priority for the Internet of Things fidonetFido that the gateway has locally loaded;And
Unit is deleted, when high for the priority in the first Internet of Things fidonetFido, it is low to delete the local priority loaded Corresponding to Internet of Things fidonetFido for by information the low Internet of Things fidonetFido of the priority and the second Internet of Things fidonetFido it Between the configuration file converted.
8. device according to claim 7, which is characterized in that the acquiring unit includes:
Sending module, for sending load request to the configuration server, the load request for described in request of loading to The Internet of Things protocol conversion configuration file of load, the configuration server will be described to be loaded after receiving the load request Internet of Things protocol conversion configuration file be sent to gateway;
Receiving module, the Internet of Things protocol conversion configuration file to be loaded sent for receiving the configuration server, To load the Internet of Things protocol conversion configuration file to be loaded.
9. a kind of configuration device of Internet of Things protocol conversion function characterized by comprising
First transmission unit, for sending Internet of Things protocol conversion configuration file to be loaded to gateway, the configuration file is used In converting information between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido, the gateway passes through the configuration file Information is subjected to the conversion between the first Internet of Things fidonetFido and the second Internet of Things fidonetFido, and is sent completely the letter of conversion Breath;
Wherein, the first Internet of Things fidonetFido is the Internet of Things fidonetFido increased newly on the gateway, and the second Internet of Things fidonetFido is The general Internet of Things fidonetFido of network side deployment;
Second transmission unit, for the resource for loading the configuration file, and described to be locally not present in the gateway In the case that the priority of one Internet of Things fidonetFido is higher than the priority for the Internet of Things fidonetFido that the gateway has locally loaded, Xiang Suoshu Gateway sends delete command, and the delete command carries the mark of Internet of Things protocol conversion configuration file to be deleted, described Gateway deletes local corresponding Internet of Things protocol conversion configuration file according to the mark in the delete command received.
10. device according to claim 9, which is characterized in that first transmission unit includes:
First receiving module, for identifying institute by receiving the service message comprising new Internet of Things fidonetFido that the gateway is sent State new Internet of Things fidonetFido;Alternatively, the second receiving module, for receiving the registration for the new Internet of Things fidonetFido that the gateway is sent Request, and the new Internet of Things fidonetFido is identified by the registration request;
Whether enquiry module has the corresponding Internet of Things protocol conversion configuration text of the new Internet of Things fidonetFido for inquiring locally Part;
Sending module, for when finding the corresponding Internet of Things protocol conversion configuration file of the new Internet of Things fidonetFido, by institute The corresponding Internet of Things protocol conversion configuration file of new Internet of Things fidonetFido is stated to match as the Internet of Things protocol conversion to be loaded It sets file and is sent to the gateway.
11. device according to claim 9, which is characterized in that described device further include:
Receiving unit, for receiving the removal request from the gateway, wherein the removal request carries object to be deleted The mark of networking protocol translation-profile;
Delete unit, for according to the mark in the removal request that receives delete configuration server it is local with it is described Identify corresponding entry;
Return unit deletes response message for returning to the gateway, and the gateway disappears according to the deletion response is received Breath deletes local corresponding Internet of Things protocol conversion configuration file.
12. device according to claim 9, which is characterized in that
Described device further include: acquiring unit, for obtaining the list of gateways of Internet of Things protocol conversion configuration file to be updated;
First transmission unit is also used to that the Internet of Things protocol conversion to be updated is configured text according to the list of gateways Part is sent to the gateway for needing to update the Internet of Things protocol conversion configuration file, and the gateway is to be updated according to what is received Internet of Things protocol conversion configuration file updates local Internet of Things protocol conversion configuration file.
CN201510505802.2A 2015-08-17 2015-08-17 The configuration method and device of Internet of Things protocol conversion function Active CN105141601B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510505802.2A CN105141601B (en) 2015-08-17 2015-08-17 The configuration method and device of Internet of Things protocol conversion function
PCT/CN2016/095463 WO2017028779A1 (en) 2015-08-17 2016-08-16 Configuration method and apparatus for internet of things protocol conversion function, nonvolatile computer storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510505802.2A CN105141601B (en) 2015-08-17 2015-08-17 The configuration method and device of Internet of Things protocol conversion function

Publications (2)

Publication Number Publication Date
CN105141601A CN105141601A (en) 2015-12-09
CN105141601B true CN105141601B (en) 2019-03-12

Family

ID=54726809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510505802.2A Active CN105141601B (en) 2015-08-17 2015-08-17 The configuration method and device of Internet of Things protocol conversion function

Country Status (2)

Country Link
CN (1) CN105141601B (en)
WO (1) WO2017028779A1 (en)

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141601B (en) * 2015-08-17 2019-03-12 北京佰才邦技术有限公司 The configuration method and device of Internet of Things protocol conversion function
CN106899461B (en) * 2015-12-18 2020-06-05 美的集团股份有限公司 Home gateway, data communication method used for same and intelligent home system
CN107087011B (en) 2016-02-14 2020-10-27 中兴通讯股份有限公司 Method, device and system for realizing remote access
CN107872441B (en) * 2016-09-28 2021-08-17 阿里巴巴集团控股有限公司 Method and device for generating equipment attribute configuration file
CN107888542A (en) * 2016-09-29 2018-04-06 北京视联动力国际信息技术有限公司 A kind of method and system depending on establishing communication between networked terminals and commander's equipment
CN107888539A (en) * 2016-09-29 2018-04-06 中兴通讯股份有限公司 Internet-of-things terminal access device and method
CN106549863B (en) * 2016-10-27 2019-06-21 北京物联港科技发展有限公司 A kind of things-internet gateway, terminal and its protocol self-adapting method and apparatus
CN108810054A (en) * 2017-05-04 2018-11-13 宏碁股份有限公司 High in the clouds manages system and its apparatus configuration method
CN107347025A (en) * 2017-06-14 2017-11-14 云丁网络技术(北京)有限公司 Data processing method, device, server and system
CN107454058A (en) * 2017-06-29 2017-12-08 广州视源电子科技股份有限公司 A kind of data transmission method for uplink, system, readable storage medium storing program for executing and computer equipment
CN110417567B (en) * 2018-04-27 2021-12-14 华为技术有限公司 Configuration method and device of Internet of things equipment
CN108769017B (en) * 2018-05-29 2022-01-11 杭州字符串科技有限公司 Data communication method and device
CN109104341B (en) * 2018-07-02 2021-03-19 厦门立林科技有限公司 Batch deployment method of same-family type intelligent home system
EP3634018A1 (en) * 2018-10-02 2020-04-08 Siemens Aktiengesellschaft System for data communication in a network of local devices
CN109274700A (en) * 2018-11-30 2019-01-25 普拉瑞思科学仪器(苏州)有限公司 A kind of general intermediate connecting body module of experimental facilities Internet of Things and method
CN112153088A (en) * 2019-06-27 2020-12-29 北京微云智联科技有限公司 Control system for Internet of things equipment
CN113364820A (en) * 2020-03-04 2021-09-07 青岛海尔空调电子有限公司 Equipment control method and device of Internet of things service system
CN113595961A (en) * 2020-04-30 2021-11-02 阿里巴巴集团控股有限公司 Protocol conversion method and system, and gateway device
CN111555922B (en) * 2020-05-08 2023-05-16 中国通信服务股份有限公司 Method, device, equipment and storage medium for actively adapting access of Internet of things equipment
CN111917717A (en) * 2020-06-24 2020-11-10 格创东智(深圳)科技有限公司 Method and system for automatically analyzing industrial field protocol based on gateway identification
CN111835842B (en) 2020-07-02 2023-02-28 远景智能国际私人投资有限公司 Gateway resource updating method and device and Internet of things control platform
CN112039791A (en) * 2020-08-28 2020-12-04 富源智慧后勤服务江苏有限公司 Internet of things intelligent gateway routing method and system
CN112202816A (en) * 2020-11-10 2021-01-08 中电工业互联网有限公司 Configurable soft gateway communication protocol analysis conversion system and method
CN112511416A (en) * 2020-11-23 2021-03-16 四川长虹电器股份有限公司 Rule-based data communication protocol conversion system, decoding method and encoding method
CN113067811A (en) * 2021-03-17 2021-07-02 北京自如信息科技有限公司 Protocol conversion method, device, system, electronic equipment and storage medium
CN113556359B (en) * 2021-08-04 2023-06-23 京东方科技集团股份有限公司 Communication protocol conversion method, device, system and gateway device
CN113507488A (en) * 2021-09-10 2021-10-15 之江实验室 Edge data plane control system and method based on heterogeneous security
CN114726918B (en) * 2022-02-15 2024-04-02 深圳Tcl新技术有限公司 Internet of things cross-network communication method, device, equipment and storage medium
CN116095113A (en) * 2023-01-04 2023-05-09 宁波奥克斯电气股份有限公司 Automatic update method and device for air conditioner Internet of things protocol and air conditioner Internet of things system
CN115988100B (en) * 2023-03-14 2023-08-18 国网智联电商有限公司 Gateway management method for intelligent perception of Internet of things of equipment based on multi-protocol self-adaption

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203289469U (en) * 2013-02-28 2013-11-13 湖南科技学院 IOT gateway

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064670A (en) * 2006-04-30 2007-10-31 互联天下科技发展(深圳)有限公司 Network multi-service processing method and system
CN102195839A (en) * 2011-05-05 2011-09-21 中国联合网络通信集团有限公司 Home gateway configuration method, home gateway and gateway server
CN102255908A (en) * 2011-07-08 2011-11-23 北京邮电大学 Internet of things gateway protocol consistency realization method
CN102802139A (en) * 2012-07-10 2012-11-28 无锡航天飞邻测控技术有限公司 Gateway data adapting system and method of Internet of Things
CN105141601B (en) * 2015-08-17 2019-03-12 北京佰才邦技术有限公司 The configuration method and device of Internet of Things protocol conversion function

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203289469U (en) * 2013-02-28 2013-11-13 湖南科技学院 IOT gateway

Also Published As

Publication number Publication date
WO2017028779A1 (en) 2017-02-23
CN105141601A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
CN105141601B (en) The configuration method and device of Internet of Things protocol conversion function
CN113162996B (en) Service discovery method, registration center and equipment
CN112073471B (en) Control method and device of equipment, storage medium and electronic device
CN109829308A (en) The management method and device of control strategy, storage medium, electronic device
CN102355500B (en) Service push method and device
CN105245445A (en) Internet of things gateway
CN105847067A (en) Method and device for upgrading Zigbee equipment
CN103298147B (en) Realize the methods, devices and systems at computing equipment side radio management mobile terminal
CN107396423B (en) Method for network access and device, storage medium and electronic device
CN109587272A (en) A kind of optimization method of micro services, device and electronic equipment
CN110233865A (en) Trans-regional service calling method, device and system
CN102163197A (en) Skin changing method, system and device
CN109922156A (en) A kind of data communications method and its relevant device
CN105956000A (en) Data exchange method and client
CN107888551A (en) A kind of remote service calling method, device and system
CN109729116A (en) Transmission method, device, storage medium and the electronic device of plugin information
CN113050735A (en) Method and device for controlling wine cabinet and intelligent wine cabinet
CN106019957A (en) Intelligent terminal control method and intelligent terminal control system
CN105282682A (en) Method for realizing resource attribute announcement and common service entity
CN109547536B (en) Method and system for automatically identifying type of intelligent gateway equipment and upgrading software version
CN109922148A (en) Cross-platform method of servicing, device and system
CN105282728B (en) A kind of method and common service entity for deleting advertisement resource
CN109816887A (en) A kind of cashing method based on intelligent cabinet, device, equipment and storage medium
CN103002564B (en) Wireless Internet access method, radio networking device, server and wireless networking system
CN106470252B (en) The method and communication terminal of application program inquiry IP address

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 100080 9th and 10th floors, building 1, zone 1, No. 81, Beiqing Road, Haidian District, Beijing

Patentee after: Beijing baicaibang Technology Co.,Ltd.

Address before: 100080 10-006 block B, building 3, Haidian street, Haidian District, Beijing.

Patentee before: Beijing Bai Caibang Technology Co.,Ltd.

CP03 Change of name, title or address