CN105141601A - Method and device for configuring Internet-of-Things protocol conversion function - Google Patents

Method and device for configuring Internet-of-Things protocol conversion function Download PDF

Info

Publication number
CN105141601A
CN105141601A CN201510505802.2A CN201510505802A CN105141601A CN 105141601 A CN105141601 A CN 105141601A CN 201510505802 A CN201510505802 A CN 201510505802A CN 105141601 A CN105141601 A CN 105141601A
Authority
CN
China
Prior art keywords
internet
things
configuration file
gateway
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.)
Granted
Application number
CN201510505802.2A
Other languages
Chinese (zh)
Other versions
CN105141601B (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 a method and a device for configuring an Internet-of-Things protocol conversion function. The method comprises: a gateway obtains an Internet-of-Things protocol conversion configuration file to be loaded from a configuration server, wherein the configuration file is used for converting information between a first Internet-of-Things protocol and a second Internet-of-Things protocol; and the gateway converts information between the first Internet-of-Things protocol and the second Internet-of-Things protocol by use of the configuration file and transmits the information of conversion completion. The method is used for solving the technical problem that the gateway equipment is incapable of adding new Internet-of-Things services.

Description

The collocation method of Internet of Things protocol conversion function and device
Technical field
The present invention relates to Internet of Things field, in particular to a kind of collocation method and device of Internet of Things protocol conversion function.
Background technology
Internet of Things is the Internet that thing thing is connected.Internet of things service is provided by the internet-of-things terminal of networking.According to the difference relating to industry, internet of things service can be divided into the polytypes such as household, medical treatment, traffic, education, industry, agricultural.
In the prior art, the business of Internet of Things industry-by-industry (as household, medical treatment) need use different agreements to provide service.Even if in same industry (as household), also there is the situation using number of different types agreement.
Such as, in FIG, internet-of-things terminal (comprising TV 11 ', refrigerator 12 ' and weight meter 13 '), gateway 14 ', management server (comprising management server 15 ', management server 16 ' and management server 17 '), office terminal (comprising office terminal 18 ', office terminal 19 ' and office terminal 20 ') and mobile phone application terminal 21 ' is comprised in this Internet of Things network.There is provided Smart Home (TV 11 ') to serve by alljoyn agreement, provide Smart Home (refrigerator 12 ') to serve by homekit agreement, provide intelligent medical (weight meter 13 ') to serve by continua agreement.
In this deployment way, often dispose a kind of new business, all need to dispose a set of system end to end, comprise internet-of-things terminal, management server, office terminal, mobile phone application terminal etc.The lower deployment cost of this mode is high, deployment speed is slow, maintenance cost is high, user uses also inconvenient.
In order to solve the problem, industry is is studying and defining public capability of Internet of things layer protocol (e.g., oneM2M), for various dissimilar internet of things service deployment and O&M is provided convenience, flexible, powerful function.
As shown in Figure 2, internet-of-things terminal (comprising TV 22 ', refrigerator 23 ' and weight meter 24 '), gateway 25 ', management server 26 ', office terminal (comprising office terminal 27 ', office terminal 28 ' and office terminal 29 ') and mobile phone application terminal 30 ' is comprised in this Internet of Things network.Internet-of-things terminal side, Smart Home (TV 11 ') is provided to serve by alljoyn agreement, Smart Home (refrigerator 12 ') is provided to serve by homekit agreement, there is provided intelligent medical (weight meter 13 ') to serve by continua agreement, network side disposes internet of things service based on oneM2M agreement.No matter which kind of agreement internet-of-things terminal supports, only needs the oneM2M system based on having disposed to carry out simple Function Extension at network side.This deployment way reduces the lower deployment cost of internet of things service, accelerates the deployment speed of internet of things service.In addition, all internet of things services disposed carry out the O&M in later stage by unified oneM2M protocol system, reduce overall O&M cost.In this deployment way, more energy and resource can be dropped into concrete business itself (e.g., intelligent television business, intelligent refrigerator business etc.) by the network operator of internet of things service, is conducive to the scale of internet of things service, becoming more meticulous development.
Within the system, in order to can access use different business agreement (as, alljoyn, homekit etc.) internet-of-things terminal, avoid, to supporting that the internet-of-things terminal of these agreements is changed, needing the conversion completing these agreements and oneM2M agreement in a gateway.Based on this scheme, the designer of each service protocol can be absorbed in the design of correlative networking service function itself and the structure of the ecosystem, and each internet-of-things terminal manufacturer is provided with greater flexibility when selecting the service protocol that need support.
But inventor finds, existing protocol conversion function normally writes gateway device when gateway device dispatches from the factory, and cannot increase new internet of things service, if need to increase new internet of things service, then needs again to customize new gateway device.
For above-mentioned problem, at present effective solution is not yet proposed.
Summary of the invention
Embodiments provide a kind of collocation method and device of Internet of Things protocol conversion function, at least to solve the technical problem that gateway device cannot increase new internet of things service.
According to an aspect of the embodiment of the present invention, provide a kind of collocation method of Internet of Things protocol conversion function, comprise: gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, described configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement; Information to be carried out the conversion between described first Internet of Things agreement and described second Internet of Things agreement by described configuration file by described gateway, and is sent completely the information of conversion.
Further, before gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, described method also comprises: described gateway judges whether described gateway this locality exists the resource for loading described configuration file; If there is no, then the priority of the Internet of Things the agreement whether priority judging described first Internet of Things agreement has loaded higher than described gateway this locality; And if the priority of described first Internet of Things agreement is high, then described gateway deletes the configuration file for information being changed between the low Internet of Things agreement of described priority and described second Internet of Things agreement corresponding to the low Internet of Things agreement of the local priority loaded.
Further, gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server and comprises: described gateway sends load request to described configuration server, described load request is used for Internet of Things protocol conversion configuration file to be loaded described in request of loading, and described Internet of Things protocol conversion configuration file to be loaded is sent to described gateway after receiving described load request by described configuration server; Described gateway receives the Internet of Things protocol conversion configuration file described to be loaded that described configuration server sends, to load described Internet of Things protocol conversion configuration file to be loaded.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of collocation method of Internet of Things protocol conversion function, comprise: configuration server sends Internet of Things protocol conversion configuration file to be loaded to gateway, described configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement, information to be carried out the conversion between described first Internet of Things agreement and described second Internet of Things agreement by described configuration file by described gateway, and is sent completely the information of conversion.
Further, configuration server sends Internet of Things protocol conversion configuration file to be loaded to gateway and comprises: described configuration server comprises Internet of Things agreement new described in the service message identification of new Internet of Things agreement by what receive that described gateway sends; Or described configuration server receives the registration request of the new Internet of Things agreement that described gateway sends, and identifies described new Internet of Things agreement by described registration request; The local Internet of Things protocol conversion configuration file whether having described new Internet of Things agreement corresponding of described configuration server inquiry; If find the Internet of Things protocol conversion configuration file that described new Internet of Things agreement is corresponding, then Internet of Things protocol conversion configuration file corresponding for described new Internet of Things agreement is sent to described gateway as described Internet of Things protocol conversion configuration file to be loaded.
Further, described method also comprises: described configuration server receives the removal request from described gateway, and wherein, described removal request carries the mark of Internet of Things protocol conversion configuration file to be deleted; Described configuration server is deleted this locality according to the described mark in the described removal request received and is identified corresponding entry with described; Described configuration server returns deletion response message to described gateway, and described gateway deletes local corresponding Internet of Things protocol conversion configuration file according to receiving described deletion response message.
Further, described method also comprises: described configuration server sends delete command to described gateway, described delete command carries the mark of Internet of Things protocol conversion configuration file to be deleted, and described gateway deletes local corresponding Internet of Things protocol conversion configuration file according to the described mark in the described delete command received.
Further, described method also comprises: described configuration server obtains the list of gateways of Internet of Things protocol conversion configuration file to be updated; Described Internet of Things protocol conversion configuration file to be updated is sent to the gateway needing to upgrade described Internet of Things protocol conversion configuration file by described configuration server according to described list of gateways, described gateway upgrades local Internet of Things protocol conversion configuration file according to the Internet of Things protocol conversion configuration file to be updated received.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of inking device of Internet of Things protocol conversion function, comprise: acquiring unit, for obtaining Internet of Things protocol conversion configuration file to be loaded from configuration server, described configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement; Converting unit, for by described configuration file information being carried out the conversion between described first Internet of Things agreement and described second Internet of Things agreement, and is sent completely the information of conversion.
Further, described device also comprises: the first judging unit, for before obtain Internet of Things protocol conversion configuration file to be loaded from configuration server, judges whether gateway this locality exists the resource for loading described configuration file; Second judging unit, during for there is not for loading described configuration file in gateway this locality resource, the priority of the Internet of Things the agreement whether priority judging described first Internet of Things agreement has loaded higher than described gateway this locality; And delete cells, for when the priority height of described first Internet of Things agreement, delete the configuration file for information being changed between the low Internet of Things agreement of described priority and described second Internet of Things agreement corresponding to the low Internet of Things agreement of the local priority loaded.
Further, described acquiring unit comprises: sending module, for sending load request to described configuration server, described load request is used for Internet of Things protocol conversion configuration file to be loaded described in request of loading, and described Internet of Things protocol conversion configuration file to be loaded is sent to gateway after receiving described load request by described configuration server; Receiver module, for receiving the Internet of Things protocol conversion configuration file described to be loaded that described configuration server sends, to load described Internet of Things protocol conversion configuration file to be loaded.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of inking device of Internet of Things protocol conversion function, comprise: the first transmitting element, for sending Internet of Things protocol conversion configuration file to be loaded to gateway, described configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement, information to be carried out the conversion between described first Internet of Things agreement and described second Internet of Things agreement by described configuration file by described gateway, and is sent completely the information of conversion.
Further, described first transmitting element comprises: the first receiver module, comprises Internet of Things agreement new described in the service message identification of new Internet of Things agreement for what sent by the described gateway of reception; Or the second receiver module, for receiving the registration request of the new Internet of Things agreement that described gateway sends, and identifies described new Internet of Things agreement by described registration request; Enquiry module, for inquiring about the local Internet of Things protocol conversion configuration file whether having described new Internet of Things agreement corresponding; Sending module, during for the Internet of Things protocol conversion configuration file corresponding in the described new Internet of Things agreement of discovery, Internet of Things protocol conversion configuration file corresponding for described new Internet of Things agreement is sent to described gateway as described Internet of Things protocol conversion configuration file to be loaded.
Further, described device also comprises: receiving element, and for receiving the removal request from described gateway, wherein, described removal request carries the mark of Internet of Things protocol conversion configuration file to be deleted; Delete cells, identifies corresponding entry for deleting configuration server this locality according to the described mark in the described removal request received with described; Return unit, for returning deletion response message to described gateway, described gateway deletes local corresponding Internet of Things protocol conversion configuration file according to receiving described deletion response message.
Further, described device also comprises: the second transmitting element, for sending delete command to described gateway, described delete command carries the mark of Internet of Things protocol conversion configuration file to be deleted, and described gateway deletes local corresponding Internet of Things protocol conversion configuration file according to the described mark in the described delete command received.
Further, described device also comprises: acquiring unit, for obtaining the list of gateways of Internet of Things protocol conversion configuration file to be updated; Described first transmitting element is also for being sent to the gateway needing to upgrade described Internet of Things protocol conversion configuration file by described Internet of Things protocol conversion configuration file to be updated according to described list of gateways, described gateway upgrades local Internet of Things protocol conversion configuration file according to the Internet of Things protocol conversion configuration file to be updated received.
According to the embodiment of the present invention, by arranging configuration server, gateway obtains Internet of Things protocol conversion configuration file to be loaded from this configuration server, to load Internet of Things protocol conversion configuration file to be loaded, and information carried out conversion between the first Internet of Things agreement and the second Internet of Things agreement and transmission by this configuration file, thus on gateway, add new internet of things service, solve the technical problem that gateway device cannot increase new internet of things service, reach the effect increasing new internet of things service at gateway device.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of a kind of Internet of things system according to prior art;
Fig. 2 is the schematic diagram of the another kind of Internet of things system according to prior art;
Fig. 3 is the flow chart of the collocation method of Internet of Things protocol conversion function according to the embodiment of the present invention;
Fig. 4 is the schematic diagram of a kind of Internet of things system according to the embodiment of the present invention;
Fig. 5 is the loading flow chart of a kind of Internet of Things protocol conversion configuration file according to the embodiment of the present invention;
Fig. 6 is the loading flow chart of the another kind of Internet of Things protocol conversion configuration file according to the embodiment of the present invention;
Fig. 7 is the loading flow chart of another the Internet of Things protocol conversion configuration file according to the embodiment of the present invention;
Fig. 8 is the loading flow chart of another the Internet of Things protocol conversion configuration file according to the embodiment of the present invention;
Fig. 9 is the deletion flow chart of a kind of Internet of Things protocol conversion configuration file according to the embodiment of the present invention;
Figure 10 is the deletion flow chart of the another kind of Internet of Things protocol conversion configuration file according to the embodiment of the present invention;
Figure 11 is the deletion flow chart of another the Internet of Things protocol conversion configuration file according to the embodiment of the present invention;
Figure 12 is the renewal flow chart of a kind of Internet of Things protocol conversion configuration file according to the embodiment of the present invention;
Figure 13 is the schematic diagram of the inking device of a kind of Internet of Things protocol conversion function according to the embodiment of the present invention 3.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
According to the embodiment of the present invention, provide a kind of embodiment of the method for collocation method of Internet of Things protocol conversion function, it should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
Fig. 3 is the flow chart of the collocation method of Internet of Things protocol conversion function according to the embodiment of the present invention, and as shown in Figure 3, the method comprises the steps:
Step S302, gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server.This configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement.
Step S304, information to be carried out the conversion between the first Internet of Things agreement and the second Internet of Things agreement by configuration file by gateway, and is 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 protocol conversion configuration file to be loaded, wherein, first Internet of Things agreement is Internet of Things agreement newly-increased on this gateway, second Internet of Things agreement can be the general Internet of Things agreement that network side is disposed, gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server and namely completes loading to Internet of Things protocol conversion configuration file to be loaded, like this, gateway can utilize the functional realiey of this configuration file to be changed to the second Internet of Things agreement or the second Internet of Things agreement to the information of the first Internet of Things agreement by the first Internet of Things agreement, and the information completing conversion is sent.
According to the embodiment of the present invention, by arranging configuration server, gateway obtains Internet of Things protocol conversion configuration file to be loaded from this configuration server, to load Internet of Things protocol conversion configuration file to be loaded, and information carried out conversion between the first Internet of Things agreement and the second Internet of Things agreement and transmission by this configuration file, thus on gateway, add new internet of things service, solve the technical problem that gateway device cannot increase new internet of things service, reach the effect increasing new internet of things service at gateway device.
Preferably, before gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, method also comprises: gateway judges whether gateway this locality exists the resource for loading configuration file; If there is no, then the priority of the Internet of Things the agreement whether priority judging the first Internet of Things agreement has loaded higher than gateway this locality; And if the priority of the first Internet of Things agreement is high, then gateway deletes the configuration file for information being changed between the low Internet of Things agreement of priority and the second Internet of Things agreement corresponding to the low Internet of Things agreement of the local priority loaded.
Because the resource (as internal memory, processor etc.) on gateway is limited, the quantity determining the protocol conversion function loaded in a gateway in the same time will be limited.Meanwhile, because internet of things service has multifarious feature, need the internet of things service protocol type of conversion also more.In addition, along with the appearance of new internet of things service, the quantity of new internet of things service agreement can constantly increase, thus needs constantly to supplement to support new protocol conversion function.Like this, when resources on gateway exhausts, also will gateway be caused cannot to increase new internet of things service.
In the present embodiment, the priority of each Internet of Things agreement can be pre-set, before gateway receives Internet of Things protocol conversion configuration file to be loaded, gateway judges whether its this locality also has resource to load above-mentioned Internet of Things protocol conversion configuration file to be loaded, if gateway also can load, then directly obtain Internet of Things protocol conversion configuration file to be loaded; Otherwise, if can not load, gateway can also judge whether to load according to the priority of the Internet of Things agreement on the priority of the first Internet of Things agreement and gateway further, wherein, if the priority of the first Internet of Things agreement is high, then delete the protocol conversion configuration file that the lower Internet of Things agreement of priority is corresponding, load protocol conversion configuration file corresponding to this Internet of Things agreement and Internet of Things protocol conversion configuration file to be loaded; Otherwise, do not load the Internet of Things protocol conversion configuration file that this is to be loaded.Like this, when ensureing to there is resource on gateway, Internet of Things protocol conversion configuration file to be loaded can be loaded, when gateway resource is not enough, utilize the priority of Internet of Things agreement to load Internet of Things protocol conversion configuration file to be loaded.
Alternatively, above-mentioned Internet of Things treaty override level arrange according to including but not limited to following factor: the account of the history that in configuration server, agreement each in the configuration of each treaty override level, gateway used (use more frequent priority higher) etc.
Preferably, gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server and comprises: gateway sends load request to configuration server, load request is used for request of loading Internet of Things protocol conversion configuration file to be loaded, and Internet of Things protocol conversion configuration file to be loaded is sent to gateway after receiving load request by configuration server; Gateway receives the Internet of Things protocol conversion configuration file to be loaded that configuration server sends, to load Internet of Things protocol conversion configuration file to be loaded.
Above-mentioned load request can have gateway initiatively to send, also can be the request that forwarding user is sent by configurating terminal, that is to say in the embodiment of the present invention, the loading of new Internet of Things protocol conversion configuration file can be initiated by configurating terminal by user, also can be initiated by gateway, no matter be that configurating terminal or gateway are initiated, all can send load request by gateway to configuration server, in order to load Internet of Things protocol conversion configuration file to be loaded.
The loading flow process initiated by configurating terminal user respectively below and the Alternate embodiments of loading flow process of being initiated by gateway describe the embodiment of the present invention.Wherein, load flow process in the present embodiment and mainly comprise internet-of-things terminal (such as TV 41, refrigerator 42 and weight meter 43), gateway 44, configurating terminal 45, configuration server 46 4 kinds of functional entitys, as shown in Figure 4.
As shown in Figure 5, after user have purchased new internet-of-things terminal, the new Internet of Things protocol conversion configuration file loading this internet-of-things terminal corresponding can pass through following steps:
Step S11: user is sent request to gateway by configurating terminal, request obtains the item list that all can load Internet of Things protocol conversion configuration file.
Step S12: gateway obtains the backward configuration server of this request and forwards this request.
Step S13: the item list that all can load Internet of Things protocol conversion configuration file is sent to gateway by configuration server.
Step S14: the item list that all can load the Internet of Things protocol conversion configuration file loaded in the item list of Internet of Things protocol conversion configuration file and gateway is sent to configurating terminal by gateway.
Step S15: if user does not find the entry needing the new Internet of Things protocol conversion configuration file loaded in the item list that all can load Internet of Things protocol conversion configuration file, or, find the entry needing the new Internet of Things protocol conversion configuration file loaded in the item list of the Internet of Things protocol conversion configuration file loaded in a gateway, so flow process will terminate.Otherwise user selects the entry needing the new Internet of Things protocol conversion configuration file loaded in the item list that all can load Internet of Things protocol conversion configuration file.
Step S16: user is sent request to gateway by configurating terminal, the Internet of Things protocol conversion configuration file that the needs that request of loading is selected newly load.
Step S17: gateway obtains the backward configuration server of this request and forwards this request.
Step S18: configuration server, according to the request of gateway, sends to gateway by needing the new Internet of Things protocol conversion configuration file loaded.
Step S19: gateway loads this Internet of Things protocol conversion configuration file, and the result of loading is sent to configurating terminal.
If gateway is successfully loaded with new Internet of Things protocol conversion configuration file, new internet-of-things terminal is successfully accessed by this configuration file in gateway, provides relevant internet of things service.
In the present embodiment, initiate by configurating terminal the flow process loading Internet of Things protocol conversion configuration file, make user can load Internet of Things protocol conversion configuration file flexibly on gateway, thus corresponding internet of things service is provided.
The loading flow process that gateway is initiated as shown in Figure 6.After user have purchased new internet-of-things terminal, this internet-of-things terminal uses new internet of things service agreement to initiate registration request, is obtained by gateway.
Step S21: gateway obtains the registration request that internet-of-things terminal uses new Internet of Things agreement to initiate, and gateway identifies the type of this internet of things service agreement.
Step S22: if loaded Internet of Things protocol conversion configuration file corresponding to this internet of things service agreement in gateway, so loads flow process and terminates.Otherwise gateway sends request to configuration server, this Internet of Things protocol conversion configuration file is downloaded in request.
Step S23: if not this Internet of Things protocol conversion configuration file in configuration server, then configuration server returns to gateway and loads unsuccessfully.Otherwise this Internet of Things protocol conversion configuration file is sent to gateway by configuration server, gateway loads this Internet of Things protocol conversion configuration file.
If gateway is successfully loaded with new Internet of Things protocol conversion function, new internet-of-things terminal is successfully accessed by this function in gateway, provides relevant internet of things service.
Alternatively, the loading flow process that gateway is initiated can also be the loading flow process shown in Fig. 7.After user have purchased new internet-of-things terminal, this internet-of-things terminal uses new internet of things service agreement to initiate registration request, is obtained by gateway.
Step S31: the service message that gateway intercepts internet-of-things terminal uses new Internet of Things agreement to send.
Step S32: this service message is sent to registrar by gateway.
Step S33: registrar identifies the type of this internet of things service agreement, and the local Internet of Things protocol conversion configuration file whether having this internet of things service agreement corresponding of inquiry.
Step S34: if the configuration server Internet of Things protocol conversion configuration file that this internet of things service agreement is not corresponding, sends the response message of recognition failures to gateway.Otherwise new Internet of Things protocol conversion internet of things service protocol message is sent to gateway by configuration server, and gateway loads this 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 is successfully accessed by this configuration file in gateway, provides relevant internet of things service.
In the present embodiment, initiated the loading flow process of this Internet of Things protocol conversion configuration file by gateway, without the need to increasing by other the loading that configurating terminal can realize Internet of Things protocol conversion configuration file.
Embodiment 2
The embodiment of the present invention additionally provides a kind of collocation method of Internet of Things protocol conversion function, and the method can be performed by configuration server, and particularly, the method comprises: configuration server sends Internet of Things protocol conversion configuration file to be loaded to gateway.Wherein, configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement, and information to be carried out the conversion between the first Internet of Things agreement and the second Internet of Things agreement by configuration file by gateway, and is sent completely the information of conversion.
Gateway during Internet of Things protocol conversion configuration file to be loaded sends by configuration server, this Internet of Things protocol conversion configuration file to be loaded is loaded to make gateway, wherein, first Internet of Things agreement is Internet of Things agreement newly-increased on this gateway, second Internet of Things agreement can be the general Internet of Things agreement that network side is disposed, gateway receives the Internet of Things protocol conversion configuration file to be loaded that configuration server sends and namely completes loading to Internet of Things protocol conversion configuration file to be loaded, like this, gateway can utilize the functional realiey of this configuration file to be changed to the second Internet of Things agreement or the second Internet of Things agreement to the information of the first Internet of Things agreement by the first Internet of Things agreement, and the information completing conversion is sent.
According to the embodiment of the present invention, Internet of Things protocol conversion configuration file to be loaded is sent to gateway by configuration server, Internet of Things protocol conversion configuration file to be loaded is loaded to make gateway, and information carried out conversion between the first Internet of Things agreement and the second Internet of Things agreement and transmission by this configuration file, thus on gateway, add new internet of things service, solve the technical problem that gateway device cannot increase new internet of things service, reach the effect increasing new internet of things service at gateway device.
Preferably, configuration server sends Internet of Things protocol conversion configuration file to be loaded to gateway and comprises: configuration server is by the new Internet of Things agreement of the service message identification comprising new Internet of Things agreement that receives gateway and send; Or configuration server receives the registration request of new Internet of Things agreement that gateway sends, and by Internet of Things agreement that registration request identification makes new advances; The local Internet of Things protocol conversion configuration file whether having new Internet of Things agreement corresponding of configuration server inquiry; If find the Internet of Things protocol conversion configuration file that new Internet of Things agreement is corresponding, then Internet of Things protocol conversion configuration file corresponding for new Internet of Things agreement is sent to gateway as Internet of Things protocol conversion configuration file to be loaded.
In the present embodiment, configuration server can identify this Internet of Things agreement according to the service message of the Internet of Things agreement of gateway intercepts, also can be identified the Internet of Things agreement of this request correspondence by the registration request of gateway forwards.After identifying the Internet of Things agreement made new advances, configuration server inquires about the Internet of Things protocol conversion configuration file whether its this locality has this new, if so, then this configuration file is sent to gateway; Otherwise, then terminate to load flow process.
The flow process that configuration server is loading Internet of Things protocol conversion configuration file to be loaded of the present embodiment can see the collocation method of the Internet of Things protocol conversion function in the embodiment of the present invention 1.
Preferably, configuration server sends Internet of Things protocol conversion configuration file to be loaded to gateway and comprises: configuration server obtains the list of gateways of Internet of Things protocol conversion configuration file to be loaded; Internet of Things protocol conversion configuration file to be loaded is sent to the gateway not loading Internet of Things protocol conversion configuration file to be loaded by configuration server according to list of gateways, gateway is according to receiving Internet of Things protocol conversion configuration file to be loaded to load this Internet of Things protocol conversion configuration file to be loaded.
In the embodiment of the present invention, configuration server can initiate the loading flow process of Internet of Things protocol conversion configuration file, loads Internet of Things protocol conversion configuration file to be loaded in order to make multiple gateway.Above-mentioned list of gateways includes the mark of the gateway not loading Internet of Things protocol conversion configuration file to be loaded, after configuration server gets this list of gateways, Internet of Things protocol conversion configuration file to be loaded is sent to according to the mark in list of gateways the gateway not loading Internet of Things protocol conversion configuration file to be loaded.
In the embodiment of the present invention, the gateway being realized batch by configuration server loads Internet of Things protocol conversion configuration file, thus avoids each gateway to send load request respectively to configuration server, reduces the processing pressure of configuration server.
Alternatively, the loading flow process that a kind of configuration server is initiated as shown in Figure 8, after configuration server with the addition of new Internet of Things protocol conversion configuration file, ites is desirable to load this new Internet of Things protocol conversion configuration file:
Step S41: configuration server obtains the list of gateways that need load new Internet of Things protocol conversion configuration file by gateway configuration file or gateway management system, identifies the gateway wherein not loading this new Internet of Things protocol conversion configuration file.
Step S42: this new Internet of Things protocol conversion is joined file and sent to the gateway identified by configuration server.
Step S43: gateway loads this Internet of Things protocol conversion configuration file, and the result of loading is sent to configuration server.
If gateway is successfully loaded with new Internet of Things protocol conversion configuration file, new internet-of-things terminal is successfully accessed by this configuration file in gateway, provides relevant internet of things service.
Preferably, the collocation method of the Internet of Things protocol conversion function of the present embodiment also comprises: configuration server receives the removal request from gateway, and wherein, removal request carries the mark of Internet of Things protocol conversion configuration file to be deleted; Configuration server deletes the local entry corresponding with mark according to the mark in the removal request received; Configuration server returns deletion response message to gateway, and gateway deletes according to receiving the Internet of Things protocol conversion configuration file that response message deletes local correspondence.
In the present embodiment, be loaded into the Internet of Things protocol conversion configuration file on gateway, can also delete.Alternatively, removal request can be sent by gateway to configuration server, in order to delete the Internet of Things protocol conversion configuration file that gateway has loaded.Configuration server can be provided with the entry of the Internet of Things protocol conversion configuration file that each gateway has loaded, after configuration server receives removal request, the entry corresponding with the mark of Internet of Things protocol conversion configuration file to be deleted is deleted, and return deletion response message to gateway, delete Internet of Things protocol conversion configuration file to be deleted to make gateway.Send removal request by gateway to configuration server, make configuration server delete local corresponding entry, thus ensure that the entry on configuration server keeps synchronous with the Internet of Things protocol conversion configuration file that gateway loads.
In the present embodiment, the deletion flow process of Internet of Things protocol conversion configuration file can be initiated by configurating terminal by user, also can be initiated by gateway, no matter be that configurating terminal or gateway are initiated, capital sends removal request by gateway to configuration server, in order to delete corresponding Internet of Things protocol conversion configuration file.
The loading flow process initiated by configurating terminal user respectively below and the Alternate embodiments of loading flow process of being initiated by gateway describe the embodiment of the present invention.
Client-initiated deletes flow process as shown in Figure 9, when user determines not re-use something networked terminals, wishes the Internet of Things protocol conversion configuration file deleting the use of this internet-of-things terminal:
Step S51: user is sent request to gateway by configurating terminal, request obtains the item list of the Internet of Things protocol conversion configuration file loaded in gateway.
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 do not find to need the entry of the Internet of Things protocol conversion configuration file deleted in the item list of Internet of Things protocol conversion configuration file that loaded in a gateway of user, so delete flow process.Otherwise, in the item list of the Internet of Things protocol conversion configuration file that user has loaded in a gateway, select the entry needing the Internet of Things protocol conversion configuration file deleted.
Step S54: user sends removal request by configurating terminal to gateway, the Internet of Things protocol conversion configuration file that selected needs are deleted is deleted in request.
Step S55: forward this removal request to configuration server after gateway obtains this removal request.
Step S56: configuration server is according to the removal request of gateway forwards, upgrade the information of the item list of the Internet of Things protocol conversion configuration file loaded corresponding to this gateway, delete the entry that the Internet of Things protocol conversion configuration file of the needs deletion of specifying in above-mentioned removal request is corresponding.Then, configuration server sends to gateway and deletes response message.After gateway receives this response message, in this locality, this Internet of Things protocol conversion configuration file is deleted, and send deletion response message to configurating terminal.
In the present embodiment, delete flow process by adding users, improve the flexibility that Internet of Things protocol conversion configuration file is deleted.
The deletion flow process that gateway is initiated as shown in Figure 10, when the Internet of Things protocol conversion function that certain has loaded when gateway discovery does not use for a long time, triggers this deletion flow process:
Step S61: gateway sends removal request to configuration server, this removal request carries the entry needing the Internet of Things protocol conversion function deleted.
Step S62: configuration server upgrades the information of the item list of the Internet of Things protocol conversion configuration file loaded corresponding to this gateway, delete the entry that the Internet of Things protocol conversion configuration file of the needs deletion of specifying in above-mentioned removal request is corresponding, send to gateway and delete response message.This Internet of Things protocol conversion configuration file is deleted in this locality after receiving and deleting response message by gateway.
In the present embodiment, automatically initiate to delete flow process by gateway, improve the spontaneity that Internet of Things protocol conversion configuration file is deleted.
Preferably, method also comprises: configuration server sends delete command to gateway, delete command carries the mark of Internet of Things protocol conversion configuration file to be deleted, and gateway deletes local corresponding Internet of Things protocol conversion configuration file according to the mark in the delete command received.
In the present embodiment, the deletion flow process of Internet of Things protocol conversion configuration file can also be initiated by configuration server, particularly, when Internet of Things protocol conversion configuration file deleted by needs, configuration server sends delete command to gateway, deletes the Internet of Things protocol conversion configuration file of specifying in this delete command in order to control gateway.In addition, while configuration server sends delete command, the entry that this ground of configuration server is corresponding with specifying the Internet of Things protocol conversion configuration file of gateway in this delete command can also be deleted, so that keep the Internet of Things protocol conversion configuration file that the item list of the Internet of Things protocol conversion configuration file loaded of this gateway on configuration server and gateway have loaded to be consistent.
Alternatively, configuration server can delete the Internet of Things protocol conversion configuration file on multiple gateway simultaneously, such as, when configuration server no longer supports something networking protocol translation function, wish delete corresponding Internet of Things protocol conversion configuration file, flow process as shown in figure 11:
Step S71: configuration server obtains the list of gateways needing to delete Internet of Things protocol conversion configuration file by gateway configuration file or gateway management system, identify the gateway wherein not deleted this Internet of Things protocol conversion configuration file.
Step S72: the entry of the Internet of Things protocol conversion configuration file that configuration server need be deleted sends to the gateway identified.
Step S73: this Internet of Things protocol conversion configuration file is deleted in this locality by gateway, and returns deletion response message to configuration server.Configuration server upgrades the information of the Internet of Things protocol conversion configuration file entries list loaded corresponding to this gateway after receiving and deleting response message, deletes the entry that the Internet of Things protocol conversion configuration file of the needs deletion of specifying is corresponding.
Preferably, method also comprises: configuration server obtains the list of gateways of Internet of Things protocol conversion configuration file to be updated; Internet of Things protocol conversion configuration file to be updated is sent to the gateway needing to upgrade Internet of Things protocol conversion configuration file by configuration server according to list of gateways, gateway upgrades local Internet of Things protocol conversion configuration file according to the Internet of Things protocol conversion configuration file to be updated received.
In the present embodiment, when upgrading appears in the Internet of Things protocol conversion configuration file that gateway has loaded, Internet of Things protocol conversion configuration file to be updated can be obtained by configuration server, and this configuration file is sent to the gateway needing to upgrade, with the gateway made, it be upgraded.
A kind of optional more new technological process as shown in figure 12, when configuration server finds that the version of certain protocol conversion function needs to upgrade, initiates this more new technological process:
Step S81: configuration server obtains the list of gateways that need upgrade this Internet of Things protocol conversion configuration file by gateway configuration file or gateway management system.
Step S82: the Internet of Things protocol conversion configuration file that configuration server need upgrade sends to the above-mentioned gateway identified.
Step S83: gateway at this Internet of Things protocol conversion configuration file of local update, and returns renewal response message to configuration server.
If be updated successfully, existing internet-of-things terminal provides correlative networking service by the Internet of Things protocol conversion function after renewal in gateway.
Embodiment 3
The embodiment of the present invention additionally provides a kind of inking device of Internet of Things protocol conversion function, and this device can be arranged on gateway, for performing the collocation method of the Internet of Things protocol conversion function of the above embodiment of the present invention 1.As shown in figure 13, this device comprises: acquiring unit 131 and converting unit 133.
Acquiring unit 131 is for obtaining Internet of Things protocol conversion configuration file to be loaded from configuration server, configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement.
Converting unit 133 for by configuration file information being carried out the conversion between the first Internet of Things agreement and the second Internet of Things agreement, and is sent completely the information of conversion.
Acquiring unit 131 obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, to load Internet of Things protocol conversion configuration file to be loaded, wherein, first Internet of Things agreement is Internet of Things agreement newly-increased on this gateway, second Internet of Things agreement can be the general Internet of Things agreement that network side is disposed, gateway obtains Internet of Things protocol conversion configuration file to be loaded by acquiring unit 131 from configuration server can complete loading to Internet of Things protocol conversion configuration file to be loaded, like this, gateway can utilize the functional realiey of this configuration file to be changed to the second Internet of Things agreement or the second Internet of Things agreement to the information of the first Internet of Things agreement by the first Internet of Things agreement, and the information completing conversion is sent.
According to the embodiment of the present invention, by arranging configuration server, acquiring unit obtains Internet of Things protocol conversion configuration file to be loaded from this configuration server, to load Internet of Things protocol conversion configuration file to be loaded, and information carried out conversion between the first Internet of Things agreement and the second Internet of Things agreement and transmission by this configuration file, thus on gateway, add new internet of things service, solve the technical problem that gateway device cannot increase new internet of things service, reach the effect increasing new internet of things service at gateway device.
Preferably, device also comprises: the first judging unit, for before obtain Internet of Things protocol conversion configuration file to be loaded from configuration server, judges whether gateway this locality exists the resource for loading configuration file; Second judging unit, during for there is not for loading configuration file in gateway this locality resource, the priority of the Internet of Things the agreement whether priority judging the first Internet of Things agreement has loaded higher than gateway this locality; And delete cells, for when the priority height of the first Internet of Things agreement, delete the configuration file for information being changed between the low Internet of Things agreement of priority and the second Internet of Things agreement corresponding to the low Internet of Things agreement of the local priority loaded.
Because the resource (as internal memory, processor etc.) on gateway is limited, the quantity determining the protocol conversion function loaded in a gateway in the same time will be limited.Meanwhile, because internet of things service has multifarious feature, need the internet of things service protocol type of conversion also more.In addition, along with the appearance of new internet of things service, the quantity of new internet of things service agreement can constantly increase, thus needs constantly to supplement to support new protocol conversion function.Like this, when resources on gateway exhausts, also will gateway be caused cannot to increase new internet of things service.
In the present embodiment, the priority of each Internet of Things agreement can be pre-set, before gateway receives Internet of Things protocol conversion configuration file to be loaded, gateway judges whether its this locality also has resource to load above-mentioned Internet of Things protocol conversion configuration file to be loaded, if gateway also can load, then directly obtain Internet of Things protocol conversion configuration file to be loaded; Otherwise, if can not load, gateway can also judge whether to load according to the priority of the Internet of Things agreement on the priority of the first Internet of Things agreement and gateway further, wherein, if the priority of the first Internet of Things agreement is high, then delete the protocol conversion configuration file that the lower Internet of Things agreement of priority is corresponding, load protocol conversion configuration file corresponding to this Internet of Things agreement and Internet of Things protocol conversion configuration file to be loaded; Otherwise, do not load the Internet of Things protocol conversion configuration file that this is to be loaded.Like this, when ensureing to there is resource on gateway, Internet of Things protocol conversion configuration file to be loaded can be loaded, when gateway resource is not enough, utilize the priority of Internet of Things agreement to load Internet of Things protocol conversion configuration file to be loaded.
Alternatively, above-mentioned Internet of Things treaty override level arrange according to including but not limited to following factor: the account of the history that in configuration server, agreement each in the configuration of each treaty override level, gateway used (use more frequent priority higher) etc.
Preferably, acquiring unit comprises: sending module, for sending load request to configuration server, load request is used for request of loading Internet of Things protocol conversion configuration file to be loaded, and Internet of Things protocol conversion configuration file to be loaded is sent to gateway after receiving load request by configuration server; Receiver module, for receiving the Internet of Things protocol conversion configuration file to be loaded that configuration server sends, to load Internet of Things protocol conversion configuration file to be loaded.
Above-mentioned load request can have gateway initiatively to send, also can be the request that forwarding user is sent by configurating terminal, that is to say in the embodiment of the present invention, the loading of new Internet of Things protocol conversion configuration file can be initiated by configurating terminal by user, also can be initiated by gateway, no matter be that configurating terminal or gateway are initiated, all can send load request by the sending module of gateway to configuration server, in order to load Internet of Things protocol conversion configuration file to be loaded.Concrete implementation see the description of the above embodiment of the present invention 1, can not repeat here.
Embodiment 4
The embodiment of the present invention additionally provides the inking device of another kind of Internet of Things protocol conversion function, this device can be arranged on the configuration server, for performing the collocation method of the Internet of Things protocol conversion function of the above embodiment of the present invention 2, this device comprises: the first transmitting element, for sending Internet of Things protocol conversion configuration file to be loaded to gateway, configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement, information to be carried out the conversion between the first Internet of Things agreement and the second Internet of Things agreement by configuration file by gateway, and be sent completely the information of conversion.
Gateway during Internet of Things protocol conversion configuration file to be loaded sends by the first transmitting element, this Internet of Things protocol conversion configuration file to be loaded is loaded to make gateway, wherein, first Internet of Things agreement is Internet of Things agreement newly-increased on this gateway, second Internet of Things agreement can be the general Internet of Things agreement that network side is disposed, gateway receives the Internet of Things protocol conversion configuration file to be loaded that the first transmitting element sends and namely completes loading to Internet of Things protocol conversion configuration file to be loaded, like this, gateway can utilize the functional realiey of this configuration file to be changed to the second Internet of Things agreement or the second Internet of Things agreement to the information of the first Internet of Things agreement by the first Internet of Things agreement, and the information completing conversion is sent.
According to the embodiment of the present invention, by sending Internet of Things protocol conversion configuration file to be loaded to gateway, Internet of Things protocol conversion configuration file to be loaded is loaded to make gateway, and information carried out conversion between the first Internet of Things agreement and the second Internet of Things agreement and transmission by this configuration file, thus on gateway, add new internet of things service, solve the technical problem that gateway device cannot increase new internet of things service, reach the effect increasing new internet of things service at gateway device.
Preferably, the first transmitting element comprises: the first receiver module, for the Internet of Things agreement that the service message identification comprising new Internet of Things agreement by receiving gateway transmission is new; Or the second receiver module, for receiving the registration request of new Internet of Things agreement that gateway sends, and by Internet of Things agreement that registration request identification makes new advances; Enquiry module, for inquiring about the local Internet of Things protocol conversion configuration file whether having new Internet of Things agreement corresponding; Sending module, for when finding Internet of Things protocol conversion configuration file corresponding to new Internet of Things agreement, is sent to gateway using Internet of Things protocol conversion configuration file corresponding for new Internet of Things agreement as Internet of Things protocol conversion configuration file to be loaded.
In the present embodiment, configuration server can identify this Internet of Things agreement according to the service message of the Internet of Things agreement of gateway intercepts, also can be identified the Internet of Things agreement of this request correspondence by the registration request of gateway forwards.After identifying the Internet of Things agreement made new advances, configuration server inquires about the Internet of Things protocol conversion configuration file whether its this locality has this new, if so, then this configuration file is sent to gateway; Otherwise, then terminate to load flow process.
The flow process that configuration server is loading Internet of Things protocol conversion configuration file to be loaded of the present embodiment can see the collocation method of the Internet of Things protocol conversion function in the embodiment of the present invention 1.
Preferably, device also comprises: receiving element, and for receiving the removal request from gateway, wherein, removal request carries the mark of Internet of Things protocol conversion configuration file to be deleted; Delete cells, for deleting the local entry corresponding with mark of configuration server according to the mark in the removal request received; Return unit, for returning deletion response message to gateway, gateway deletes according to receiving the Internet of Things protocol conversion configuration file that response message deletes local correspondence.
In the present embodiment, be loaded into the Internet of Things protocol conversion configuration file on gateway, can also delete.Alternatively, removal request can be sent by gateway to configuration server, in order to delete the Internet of Things protocol conversion configuration file that gateway has loaded.Configuration server can be provided with the entry of the Internet of Things protocol conversion configuration file that each gateway has loaded, after configuration server receives removal request, the entry corresponding with the mark of Internet of Things protocol conversion configuration file to be deleted is deleted, and return deletion response message to gateway, delete Internet of Things protocol conversion configuration file to be deleted to make gateway.Send removal request by gateway to configuration server, make configuration server delete local corresponding entry, thus ensure that the entry on configuration server keeps synchronous with the Internet of Things protocol conversion configuration file that gateway loads.
In the present embodiment, the deletion flow process of Internet of Things protocol conversion configuration file can be initiated by configurating terminal by user, also can be initiated by gateway, no matter be that configurating terminal or gateway are initiated, capital sends removal request by gateway to configuration server, in order to delete corresponding Internet of Things protocol conversion configuration file.
Preferably, device also comprises: the second transmitting element, for sending delete command to gateway, delete command carries the mark of Internet of Things protocol conversion configuration file to be deleted, and gateway deletes local corresponding Internet of Things protocol conversion configuration file according to the mark in the delete command received.
In the present embodiment, the deletion flow process of Internet of Things protocol conversion configuration file can also be initiated by configuration server, particularly, when Internet of Things protocol conversion configuration file deleted by needs, configuration server sends delete command to gateway, deletes the Internet of Things protocol conversion configuration file of specifying in this delete command in order to control gateway.In addition, while configuration server sends delete command, the entry that this ground of configuration server is corresponding with specifying the Internet of Things protocol conversion configuration file of gateway in this delete command can also be deleted, so that keep the Internet of Things protocol conversion configuration file that the item list of the Internet of Things protocol conversion configuration file loaded of this gateway on configuration server and gateway have loaded to be consistent.
Preferably, device also comprises: acquiring unit, for obtaining the list of gateways of Internet of Things protocol conversion configuration file to be updated; First transmitting element is also for being sent to the gateway needing to upgrade Internet of Things protocol conversion configuration file by Internet of Things protocol conversion configuration file to be updated according to list of gateways, gateway upgrades local Internet of Things protocol conversion configuration file according to the Internet of Things protocol conversion configuration file to be updated received.
In the present embodiment, when upgrading appears in the Internet of Things protocol conversion configuration file that gateway has loaded, Internet of Things protocol conversion configuration file to be updated can be obtained by configuration server, and this configuration file is sent to the gateway needing to upgrade, with the gateway made, it be upgraded.
Execution mode in the embodiment of the present invention see the collocation method of the Internet of Things protocol conversion function in the above embodiment of the present invention 2, can not repeat here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed technology contents, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, can be that a kind of logic function divides, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed on multiple unit.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a collocation method for Internet of Things protocol conversion function, is characterized in that, comprising:
Gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, and described configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement;
Information to be carried out the conversion between described first Internet of Things agreement and described second Internet of Things agreement by described configuration file by described gateway, and is sent completely the information of conversion.
2. method according to claim 1, is characterized in that, before gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server, described method also comprises:
Described gateway judges whether described gateway this locality exists the resource for loading described configuration file;
If there is no, then the priority of the Internet of Things the agreement whether priority judging described first Internet of Things agreement has loaded higher than described gateway this locality; And
If the priority of described first Internet of Things agreement is high, then described gateway deletes the configuration file for information being changed between the low Internet of Things agreement of described priority and described second Internet of Things agreement corresponding to the low Internet of Things agreement of the local priority loaded.
3. method according to claim 1, is characterized in that, gateway obtains Internet of Things protocol conversion configuration file to be loaded from configuration server and comprises:
Described gateway sends load request to described configuration server, described load request is used for Internet of Things protocol conversion configuration file to be loaded described in request of loading, and described Internet of Things protocol conversion configuration file to be loaded is sent to described gateway after receiving described load request by described configuration server;
Described gateway receives the Internet of Things protocol conversion configuration file described to be loaded that described configuration server sends, to load described Internet of Things protocol conversion configuration file to be loaded.
4. a collocation method for Internet of Things protocol conversion function, is characterized in that, comprising:
Configuration server sends Internet of Things protocol conversion configuration file to be loaded to gateway, described configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement, information to be carried out the conversion between described first Internet of Things agreement and described second Internet of Things agreement by described configuration file by described gateway, and is sent completely the information of conversion.
5. method according to claim 4, is characterized in that, configuration server sends Internet of Things protocol conversion configuration file to be loaded to gateway and comprises:
What described configuration server was sent by the described gateway of reception comprises Internet of Things agreement new described in the service message identification of new Internet of Things agreement; Or described configuration server receives the registration request of the new Internet of Things agreement that described gateway sends, and identifies described new Internet of Things agreement by described registration request;
The local Internet of Things protocol conversion configuration file whether having described new Internet of Things agreement corresponding of described configuration server inquiry;
If find the Internet of Things protocol conversion configuration file that described new Internet of Things agreement is corresponding, then Internet of Things protocol conversion configuration file corresponding for described new Internet of Things agreement is sent to described gateway as described Internet of Things protocol conversion configuration file to be loaded.
6. an inking device for Internet of Things protocol conversion function, is characterized in that, comprising:
Acquiring unit, for obtaining Internet of Things protocol conversion configuration file to be loaded from configuration server, described configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement;
Converting unit, for by described configuration file information being carried out the conversion between described first Internet of Things agreement and described second Internet of Things agreement, and is sent completely the information of conversion.
7. device according to claim 6, is characterized in that, described device also comprises:
First judging unit, for before obtain Internet of Things protocol conversion configuration file to be loaded from configuration server, judges whether gateway this locality exists the resource for loading described configuration file;
Second judging unit, during for there is not for loading described configuration file in gateway this locality resource, the priority of the Internet of Things the agreement whether priority judging described first Internet of Things agreement has loaded higher than described gateway this locality; And
Delete cells, for when the priority height of described first Internet of Things agreement, delete the configuration file for information being changed between the low Internet of Things agreement of described priority and described second Internet of Things agreement corresponding to the low Internet of Things agreement of the local priority loaded.
8. device according to claim 6, is characterized in that, described acquiring unit comprises:
Sending module, for sending load request to described configuration server, described load request is used for Internet of Things protocol conversion configuration file to be loaded described in request of loading, and described Internet of Things protocol conversion configuration file to be loaded is sent to gateway after receiving described load request by described configuration server;
Receiver module, for receiving the Internet of Things protocol conversion configuration file described to be loaded that described configuration server sends, to load described Internet of Things protocol conversion configuration file to be loaded.
9. an inking device for Internet of Things protocol conversion function, is characterized in that, comprising:
First transmitting element, for sending Internet of Things protocol conversion configuration file to be loaded to gateway, described configuration file is used for information to change between the first Internet of Things agreement and the second Internet of Things agreement, information to be carried out the conversion between described first Internet of Things agreement and described second Internet of Things agreement by described configuration file by described gateway, and is sent completely the information of conversion.
10. device according to claim 9, is characterized in that, described first transmitting element comprises:
First receiver module, comprises Internet of Things agreement new described in the service message identification of new Internet of Things agreement for what sent by the described gateway of reception; Or the second receiver module, for receiving the registration request of the new Internet of Things agreement that described gateway sends, and identifies described new Internet of Things agreement by described registration request;
Enquiry module, for inquiring about the local Internet of Things protocol conversion configuration file whether having described new Internet of Things agreement corresponding;
Sending module, during for the Internet of Things protocol conversion configuration file corresponding in the described new Internet of Things agreement of discovery, Internet of Things protocol conversion configuration file corresponding for described new Internet of Things agreement is sent to described gateway as described Internet of Things protocol conversion configuration file to be loaded.
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 true CN105141601A (en) 2015-12-09
CN105141601B 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)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017028779A1 (en) * 2015-08-17 2017-02-23 北京佰才邦技术有限公司 Configuration method and apparatus for internet of things protocol conversion function, nonvolatile computer storage medium and electronic device
CN106549863A (en) * 2016-10-27 2017-03-29 北京物联港科技发展有限公司 A kind of things-internet gateway, terminal and its protocol self-adapting method and apparatus
CN106899461A (en) * 2015-12-18 2017-06-27 美的集团股份有限公司 Home gateway and the data communications method for it, intelligent domestic system
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
CN107872441A (en) * 2016-09-28 2018-04-03 阿里巴巴集团控股有限公司 The method and apparatus for generating device 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
CN108769017A (en) * 2018-05-29 2018-11-06 杭州字符串科技有限公司 A kind of data communications method and device
CN108810054A (en) * 2017-05-04 2018-11-13 宏碁股份有限公司 High in the clouds manages system and its apparatus configuration method
CN109104341A (en) * 2018-07-02 2018-12-28 厦门立林科技有限公司 A kind of batch dispositions method of same house type smart home system
EP3416351A4 (en) * 2016-02-14 2019-08-21 Shanghai ZTE Software Co., Ltd. Implementation method, apparatus and system for remote access
CN110417567A (en) * 2018-04-27 2019-11-05 华为技术有限公司 A kind of configuration method and device 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
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
CN113507488A (en) * 2021-09-10 2021-10-15 之江实验室 Edge data plane control system and method based on heterogeneous security
CN113556359A (en) * 2021-08-04 2021-10-26 京东方科技集团股份有限公司 Communication protocol conversion method, device, system and gateway device
CN113595961A (en) * 2020-04-30 2021-11-02 阿里巴巴集团控股有限公司 Protocol conversion method and system, and gateway device
WO2022005401A1 (en) * 2020-07-02 2022-01-06 Envision Digital International Pte. Ltd. Method and apparatus for updating gateway resource, and iot control platform

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN111555922B (en) * 2020-05-08 2023-05-16 中国通信服务股份有限公司 Method, device, equipment and storage medium for actively adapting access of Internet of things equipment
CN112039791A (en) * 2020-08-28 2020-12-04 富源智慧后勤服务江苏有限公司 Internet of things intelligent gateway routing method and system
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 (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
CN203289469U (en) * 2013-02-28 2013-11-13 湖南科技学院 IOT gateway

Family Cites Families (1)

* 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

Patent Citations (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
CN203289469U (en) * 2013-02-28 2013-11-13 湖南科技学院 IOT gateway

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017028779A1 (en) * 2015-08-17 2017-02-23 北京佰才邦技术有限公司 Configuration method and apparatus for internet of things protocol conversion function, nonvolatile computer storage medium and electronic device
CN106899461A (en) * 2015-12-18 2017-06-27 美的集团股份有限公司 Home gateway and the data communications method for it, intelligent domestic system
US10904746B2 (en) 2016-02-14 2021-01-26 Shanghai Zte Software Co., Ltd. Implementation method, apparatus and system for remote access
EP3416351A4 (en) * 2016-02-14 2019-08-21 Shanghai ZTE Software Co., Ltd. Implementation method, apparatus and system for remote access
CN107872441A (en) * 2016-09-28 2018-04-03 阿里巴巴集团控股有限公司 The method and apparatus for generating device 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
CN106549863A (en) * 2016-10-27 2017-03-29 北京物联港科技发展有限公司 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
CN110417567A (en) * 2018-04-27 2019-11-05 华为技术有限公司 A kind of configuration method and device of internet of things equipment
CN110417567B (en) * 2018-04-27 2021-12-14 华为技术有限公司 Configuration method and device of Internet of things equipment
CN108769017A (en) * 2018-05-29 2018-11-06 杭州字符串科技有限公司 A kind of data communications method and device
CN108769017B (en) * 2018-05-29 2022-01-11 杭州字符串科技有限公司 Data communication method and device
CN109104341A (en) * 2018-07-02 2018-12-28 厦门立林科技有限公司 A kind of batch dispositions method of same house type smart home system
CN109104341B (en) * 2018-07-02 2021-03-19 厦门立林科技有限公司 Batch deployment method of same-family type intelligent home system
CN113595961A (en) * 2020-04-30 2021-11-02 阿里巴巴集团控股有限公司 Protocol conversion method and system, and gateway device
CN111917717A (en) * 2020-06-24 2020-11-10 格创东智(深圳)科技有限公司 Method and system for automatically analyzing industrial field protocol based on gateway identification
WO2022005401A1 (en) * 2020-07-02 2022-01-06 Envision Digital International Pte. Ltd. Method and apparatus for updating gateway resource, and iot control platform
JP2023525393A (en) * 2020-07-02 2023-06-15 エンヴィジョン デジタル インターナショナル ピーティーイー.エルティーディー. Method and apparatus for updating gateway resources and IOT control platform
US11870658B2 (en) 2020-07-02 2024-01-09 Envision Digital International Pte. Ltd. Method and apparatus for updating gateway resource, and IOT control platform
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
CN113556359A (en) * 2021-08-04 2021-10-26 京东方科技集团股份有限公司 Communication protocol conversion method, device, system and gateway device
WO2023011274A1 (en) * 2021-08-04 2023-02-09 京东方科技集团股份有限公司 Communication protocol conversion method, and device, system, and gateway device
CN113507488A (en) * 2021-09-10 2021-10-15 之江实验室 Edge data plane control system and method based on heterogeneous security

Also Published As

Publication number Publication date
CN105141601B (en) 2019-03-12
WO2017028779A1 (en) 2017-02-23

Similar Documents

Publication Publication Date Title
CN105141601A (en) Method and device for configuring Internet-of-Things protocol conversion function
CN102932777B (en) The update method of a kind of terminal applies and user terminal
CN114375069B (en) Communication method and network equipment
CN101421978B (en) Device management system for remotely accessing terminal equipments
CN105302587B (en) Data-updating method and device
CN104954394A (en) Software differential packet production and update method, server, terminal and update system
CN102308561A (en) ME network parameters configuration by UICC
CN102546708A (en) Plug-in obtaining method and system as well as relevant devices
US10908889B2 (en) Method, user equipment, and application server for downloading application
CN105144126A (en) Radio interface layer design for smartphones
CN102917061A (en) Resource synchronization method and system
CN103414765A (en) Method, device and system for shunting information in graphic code
CN104820643A (en) Method and apparatus for establishing connection between user equipment and smart device
CN103973474A (en) Network terminal update configuration method
CN102301760A (en) Method and apparatus for tracking device management data changes
CN102215479A (en) Method, server and system for downloading and installing upgrade package
CN104461658A (en) Method and device for downloading intelligent household appliance application program
CN105635146A (en) Method and system for configuring protocol dynamically
CN105979505A (en) Air download method and device
CN102163197A (en) Skin changing method, system and device
CN104125662A (en) Wireless access point centralized management device and method
CN109547536B (en) Method and system for automatically identifying type of intelligent gateway equipment and upgrading software version
EP3091435A1 (en) Resource management method and device for terminal system
CN112671572B (en) Method and device for intelligent equipment network distribution, storage medium and electronic device
CN102811272A (en) Updating method, updating apparatus and communication terminal

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
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.