CN103944813A - Gateway and method for achieving general adaptation function - Google Patents

Gateway and method for achieving general adaptation function Download PDF

Info

Publication number
CN103944813A
CN103944813A CN201410151756.6A CN201410151756A CN103944813A CN 103944813 A CN103944813 A CN 103944813A CN 201410151756 A CN201410151756 A CN 201410151756A CN 103944813 A CN103944813 A CN 103944813A
Authority
CN
China
Prior art keywords
module
data
interface
gateway
protocol
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
CN201410151756.6A
Other languages
Chinese (zh)
Other versions
CN103944813B (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.)
NANJING RESEARCH INSTITUTE COLLEGE OF ENGINEERING OF PEKING UNIVERSITY
Original Assignee
NANJING RESEARCH INSTITUTE COLLEGE OF ENGINEERING OF PEKING UNIVERSITY
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 NANJING RESEARCH INSTITUTE COLLEGE OF ENGINEERING OF PEKING UNIVERSITY filed Critical NANJING RESEARCH INSTITUTE COLLEGE OF ENGINEERING OF PEKING UNIVERSITY
Priority to CN201410151756.6A priority Critical patent/CN103944813B/en
Publication of CN103944813A publication Critical patent/CN103944813A/en
Application granted granted Critical
Publication of CN103944813B publication Critical patent/CN103944813B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a gateway for achieving the general adaptation function. The gateway comprises an Internet of Things gateway, a system platform and an interface configuration, wherein the system platform is used in cooperation with the Internet of Things gateway, and the interface configuration is arranged between the Internet of Things gateway and the system platform. The Internet of Things gateway comprises an interface module, an interface communication module, a device protocol analysis module, an interface communication mode configuration table, a configuration table control module and a wired/wireless transmission module. The system platform comprises a wired/wireless transmission module, an interface communication module, a device protocol analysis module, a protocol processing alarm module, a service processing module and a gateway interface communication mode configuration module. According to the technical scheme, the gateway for achieving the general adaptation function has the advantages that sensing devices with different protocols can have access to the Internet of Things gateway in a compatible mode, and great convenience is brought to customers; multi-protocol analysis management can be conveniently conducted, hardware and software in the gateway do not need to be changed, and compatibility and data analysis of unknown sensing devices can be achieved.

Description

A kind of gateway and method that realizes General adaptive function
Technical field
The present invention relates to a kind of gateway of General adaptive, relate in particular to a kind of gateway and method that realizes General adaptive function, belong to computer internet technical field.
Background technology
Transducer is a kind of checkout gear; can experience measured information; and can be by the information of experiencing; be for conversion into according to certain rules the information output of the signal of telecommunication or other desired forms; to meet the requirements such as transmission, processing, storage, demonstration, record and the control of information, these parts are widely used in extremely general fields such as industrial production, marine exploration, environmental protection, resource investigation, medical diagnosis, bioengineering, computer internets.Existing market upper sensor manufacturer, controller manufacturer, manufacturer are in considering the intellectuality and the Automation Design of equipment of itself, maximum problem of often facing is the selection of the miscellaneous bus protocol selection of key-course and field apparatus layer interface, how effectively the uniformity of the compatibility between resolution protocol and sensor interface, become each large sensor and controller factory and make great efforts the technical barrier solving always.Due to separate between each agreement, incompatible, this has brought a lot of inconvenience with regard to the application of giving client, and is unfavorable for the long-term stability development of industry control industry.Therefore, a kind of new technical scheme of exigence solves the problems of the technologies described above.
Summary of the invention
The present invention is just for the technical problem existing in prior art, a kind of gateway and method that realizes General adaptive function is provided, this technical scheme can compatible different agreement sensing equipment access same things-internet gateway, conveniently carry out multi-protocol analysis management, without the hardware and software in change gateway, can realize compatibility and the Data Analysis of unknown sensing equipment.
To achieve these goals, technical scheme of the present invention is as follows, a kind of gateway of realizing General adaptive function, it is characterized in that, the system platform that described gateway comprises things-internet gateway and is used in conjunction with things-internet gateway, interface configuration between described things-internet gateway and system platform, described things-internet gateway comprises interface module, interface communication module, device protocol parsing module, interface communication pattern configurations table, allocation list control module and wire/wireless transport module, described system platform comprises wired/wireless transport module, interface communication module, device protocol parsing module, protocol processes alarm module, Service Processing Module and gateway interface communication pattern configuration module, described interface module receives the data from sensing node, interface communication module in described things-internet gateway is responsible for the data of receiving interface module transmission, and according to interface communication pattern configurations table, determine that these data are to upload after adopting local parsing again, or direct transparent uploading, simultaneously according to self-defining communication protocol, the data message of uploading is encapsulated, by interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission mark is packaged into information header to data, the data encapsulation that will upload becomes message body, to after message header and message body splicing, calculate check code through XOR again, final by adding that flag completes the encapsulation of message, device protocol parsing module in described things-internet gateway has been stored multiple device protocol analytical capabilities modules, in the time that the data in interface channel need local parsing, calls the data that corresponding parsing module uploads sensing node and resolves, described interface communication pattern configurations table has been stored the communication pattern processing mode configuration information of each interface and corresponding analysis protocol configuration information, as interface module 1 adopts the processing mode of local parsing, and interface module 3 adopts the processing mode of transparent transmission, described allocation list control module is used for carrying out alternately with system platform, the interface communication pattern configurations table in management gateway, wire/wireless transport module in described things-internet gateway is responsible for realizing the communications of gateway and IP network, as modes such as WIFI, LAN, mobile wireless networks.Wire/wireless transport module in described system platform is responsible for realizing the communications of gateway and IP network; As modes such as WIFI, LAN, mobile wireless networks.
Interface communication module in described system platform is responsible for receiving upstream data, and according to self-defining communication protocol, parse the specifying information in information header, comprise whether transparent transmission mark and message body data of interface channel number, time, sensing node mark, analysis protocol mark title, data; And the information content parsing is submitted to business module processing.For the data of transparent transmission, submission device protocol parsing module is submitted to business module after resolving again.
Device protocol parsing module in described system platform has been stored multiple device protocol analytical capabilities modules, and according to the specifying information in the information header parsing and message body data format, judgement is called corresponding parsing module and carried out Data Analysis;
Described protocol processes alarm module, after the transparent data of uploading cannot corresponding relevant parsing module, is reported to the police and is carried out daily record retention by protocol processes alarm module.
As a modification of the present invention, described wire/wireless transport module is set to the one in WIFI, LAN, mobile wireless network.
As a modification of the present invention, described interface configuration is specially, gateway interface communication pattern configuration module in system platform sends query statement to the allocation list control module of things-internet gateway, and allocation list control module sends inquiry request to interface communication pattern configurations table
After interface communication pattern configurations table inquiry by relevant information, comprise analysis protocol mark title, configuration information state of activation, the last modification time of configuration information of interface channel number, interface communication pattern, coupling, return to control module, and be configured module of meter control and return to the configuration module on platform
Communication pattern, match protocol, state of activation and the last modification time information of the gateway interface communication pattern configuration module amendment interface in system platform, after having revised, send modify instruction to gateway configuration module of meter control;
Allocation list control module in gateway is preserved submitting to interface communication pattern configurations table through the information of amendment, the gateway interface communication pattern configuration module of preserving successful backward platform is replied and is preserved acknowledge message, and interface communication module in gateway sends configuration information notice of change.
Described communication interface pattern configurations table comprises gauge outfit and literary name section:
Interface channel number Interface communication pattern The analysis protocol mark title of coupling State of activation Last modification time
Table explanation of field
A gateway approach for described General adaptive function, is characterized in that, described method is specific as follows: said method comprising the steps of 1) sensing node uploading data; 2) interface module in gateway receives the data that sensing node is uploaded, and submit to interface communication resume module, the data of interface communication module receiving interface module transmission, and according to the interface communication pattern attribute in interface communication pattern configurations table, determine that these data are to upload after adopting local parsing again, or direct transparent uploading; 31) after local parsing, upload, the protocol analysis module of intra-gateway is resolved data, and gateway is uploaded to system platform after data are encapsulated by self-defining communication protocol, and platform is submitted Service Processing Module to after receiving data; 32) transparent uploading, after being encapsulated by self-defining communication protocol, data are uploaded to system platform, platform is received after data, according to whether transparent transmission mark and data format of the interface channel parsing in the message header of the data of uploading number, sensing node mark, analysis protocol mark title, data, select related protocol parsing module resolution data, normally resolution data, submits to the processing of reporting to the police of protocol processes alarm module.
As a modification of the present invention, described step 31) in adopt after local parsing and upload, detailed process in things-internet gateway is as follows, interface module in things-internet gateway receives the initial data D1 that sensing node is uploaded, and send it to interface communication module, after interface communication module in things-internet gateway receives, according to the interface channel S1 of interface module, send inquiry request to interface communication pattern configurations table, after the inquiry of interface communication block configuration table, return to the mode of operation of S1 and the title of coupling analysis protocol, as upload after adopting local parsing, protocol name is N.
Initial data D1 and parsing protocol-identifier title N are sent to device protocol parsing module by interface communication module in things-internet gateway, and protocol analysis module is used a protocol analysis D1 who is called N, and the data D2 that dissection process is crossed returns to interface communication module; Interface communication module in things-internet gateway transfers to local gateway to show or Business Processing data D2 after treatment; Interface communication module in things-internet gateway is used custom protocol encapsulation D2, message numbering is that last message numbering adds 1, by message numbering and interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission mark is packaged into message header to data, using data message D2 as message body, the data block step-by-step of message header and message body composition is carried out to XOR and calculate check code, by message header, message body, and check code order splicing, and before and after spliced data block, add flag, complete encapsulation and obtain D3 data; Interface communication module in things-internet gateway sends to platform by D3 by transport module, and platform is received rear reply confirmation.
As a modification of the present invention, described step 31) in adopt after local parsing and upload, processing detailed process in system platform is as follows, the wire/wireless transport module of system platform, receive the data D1 that thing plain net gateway reports, D1 is transferred to interface communication module, the interface communication module of system platform is used self-defining communication protocol rule parsing D1, parse message header, message body and check code, to message header, the data block step-by-step of message body composition is carried out XOR and is calculated check code, confirm former check code and calculate after the consistency of check code of gained, from message header, resolve and obtain interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission of data, from message body, obtain corresponding data message D2, interface communication module sends to business module to process D2, and business module is received rear reply confirmation.
As a modification of the present invention, described step 32) in adopt that transparent to upload detailed process in things-internet gateway as follows, the interface module in things-internet gateway receives the initial data D1 that sensing node is uploaded, and sends it to interface communication module, after interface communication module in things-internet gateway receives, according to the interface channel S3 of interface module, send inquiry request to interface communication pattern configurations table, interface communication block configuration table in things-internet gateway is according to returning to the mode of operation of S3 and the mark title of Corresponding matching analysis protocol after number inquiry of interface channel, interface communication module is used custom protocol encapsulation D1, message numbering is that last message numbering adds 1, by message numbering and interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission mark is packaged into message header to data, using data message D1 as message body, the data block step-by-step of message header and message body composition is carried out to XOR and calculate check code, by message header, message body, and check code order splicing, and before and after spliced data block, add flag, complete encapsulation and obtain D2 data, interface communication module sends to platform by D2 by transport module, platform is received rear reply confirmation.
As a modification of the present invention, described step 32) in adopt and transparently upload in the detailed process of system platform as follows, the wire/wireless transport module of system platform, receives the data D1 that thing plain net gateway reports, and D1 is transferred to interface communication module; The interface communication module of system platform is used self-defining communication protocol rule parsing D1, parse message header, message body and check code, the data block step-by-step of message header, message body composition is carried out to XOR and calculate check code, confirm after the consistency of check code of former check code and generation, can from message header, obtain whether transparent transmission of interface channel number, time, sensing node mark, analysis protocol mark title, data, from message body, obtain corresponding data message D2; The interface communication module of system platform by data D2 and interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission sends to device protocol parsing module to data; The device protocol parsing module of system platform according to interface channel number, time, sensing node mark, analysis protocol mark title, data whether the form of transparent transmission identification information and data D2 search available protocol analysis module, if do not found, notebook data bag D2 being submitted to protocol processes alarm module reports to the police and daily record retention, if found respective protocol, use respective protocol to resolve D2, obtain data D3 after treatment, and D3 is returned to interface communication module; Interface communication module is received after D3, sends it to business module and processes, and business module is received rear reply confirmation.
With respect to prior art, beneficial effect of the present invention is as follows: 1) this technical scheme has realized sensing equipment that can compatible different agreement and accessed same things-internet gateway, has brought very large convenience to client; 2) this technical scheme is conveniently carried out multi-protocol analysis management, without the hardware and software in change gateway, can realize compatibility and the Data Analysis of unknown sensing equipment; 3) this technical scheme has realized the interconnecting of many networks, multi-protocols, smoothly operation, has greatly improved the competitiveness of product in market.
Brief description of the drawings
Fig. 1: total system frame diagram of the present invention;
Fig. 2: the method for the invention flow chart;
Fig. 3: things-internet gateway flow chart of data processing figure after local parsing;
Fig. 4: things-internet gateway flow chart of data processing figure after data penetration transmission;
Fig. 5: system platform flow chart of data processing figure after data penetration transmission;
Fig. 6: system platform flow chart of data processing figure after local parsing;
Fig. 7: interface modes configuration flow figure.
Embodiment
In order to deepen the understanding of the present invention and understanding, below in conjunction with the drawings and specific embodiments, the present invention is made further instructions and introduced.
embodiment 1:
Referring to Fig. 1, a kind of gateway of realizing General adaptive function, the system platform that described gateway comprises things-internet gateway and is used in conjunction with things-internet gateway, interface configuration between described things-internet gateway and system platform, described things-internet gateway comprises interface module, interface communication module, device protocol parsing module, interface communication pattern configurations table, allocation list control module and wire/wireless transport module, described system platform comprises wired/wireless transport module, interface communication module, device protocol parsing module, protocol processes alarm module, Service Processing Module and gateway interface communication pattern configuration module, described interface module receives the data from sensing node, interface communication module in described things-internet gateway is responsible for the data of receiving interface module transmission, and according to interface communication pattern configurations table, determine that these data are to upload after adopting local parsing again, or direct transparent uploading, simultaneously according to self-defining communication protocol, the data message of uploading is encapsulated, by interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission mark is packaged into information header to data, the data encapsulation that will upload becomes message body, to after message header and message body splicing, calculate check code through XOR again, final by adding that flag completes the encapsulation of message, device protocol parsing module in described things-internet gateway has been stored multiple device protocol analytical capabilities modules, in the time that the data in interface channel need local parsing, calls the data that corresponding parsing module uploads sensing node and resolves, interface communication pattern configurations table in described things-internet gateway has been stored the communication pattern processing mode configuration information of each interface and corresponding analysis protocol configuration information, as interface module 1 adopts the processing mode of local parsing, and interface module 3 adopts the processing mode of transparent transmission.
Described allocation list control module is used for carrying out alternately with system platform, the interface communication pattern configurations table in management gateway; Wire/wireless transport module in described things-internet gateway is responsible for realizing the communications of gateway and IP network; As modes such as WIFI, LAN, mobile wireless networks.
Wire/wireless transport module in described system platform is responsible for realizing the communications of gateway and IP network; As modes such as WIFI, LAN, mobile wireless networks.
Interface communication module in described system platform is responsible for receiving upstream data, and according to self-defining communication protocol, parse the specifying information in information header, comprise whether transparent transmission mark and message body data of interface channel number, time, sensing node mark, analysis protocol mark title, data; And the information content parsing is submitted to business module processing; For the data of transparent transmission, submission device protocol parsing module is submitted to business module after resolving again.
Device protocol parsing module in described system platform has been stored multiple device protocol analytical capabilities modules, and according to the specifying information in the information header parsing and message body data format, judgement is called corresponding parsing module and carried out Data Analysis;
Described protocol processes alarm module, after the transparent data of uploading cannot corresponding relevant parsing module, is reported to the police and is carried out daily record retention by protocol processes alarm module.
Referring to Fig. 7, as a modification of the present invention, described interface configuration is specially, gateway interface communication pattern configuration module in system platform sends query statement to the allocation list control module of things-internet gateway, control module sends inquiry request to interface communication pattern configurations table, after interface communication pattern configurations table inquiry by relevant information, comprise interface channel number, interface communication pattern, the analysis protocol mark title of coupling, configuration information state of activation, the last modification time of configuration information, return to control module, and return to the configuration module on platform through control module,
Communication pattern, match protocol, state of activation and the last modification time information of the gateway interface communication pattern configuration module amendment interface in system platform, after having revised, send modify instruction to gateway configuration module of meter control;
Allocation list control module in gateway is preserved submitting to interface communication pattern configurations table through the information of amendment, the gateway interface communication pattern configuration module of preserving successful backward platform is replied and is preserved acknowledge message, and interface communication module in gateway sends configuration information notice of change.
Described communication interface pattern configurations table is specific as follows, comprises gauge outfit and literary name section,
Interface channel number Interface communication pattern The analysis protocol mark title of coupling State of activation Last modification time
Table explanation of field
field name type remarks
interface channel number text-type the identification number of interface channel
interface communication pattern numeric type 0 representative adopts transparent transmission, after 1 representative adopts local parsing, uploads again
the analysis protocol mark title of coupling text-type the analysis protocol mark title of coupling, if adopt transparent uploading, is empty here.
state of activation boolean type whether current configuration activates
last modification time date time type the modification time that current configuration is last
embodiment 2:referring to Fig. 2 ,a gateway approach for described General adaptive function, described method is specific as follows:
Said method comprising the steps of, 1) sensing node uploading data, in Fig. 1, be provided with sensing node A, B, C, can increase according to actual needs or delete, 2) interface module in gateway receives the data that sensing node is uploaded, in Fig. 1, be provided with interface module 1, interface module 2 and interface module 3, and submit to interface communication resume module, the data of interface communication module receiving interface module transmission, and according to interface communication pattern configurations table, determine that these data are to upload after adopting local parsing again, or direct transparent uploading; 31) after local parsing, upload, the protocol analysis module of intra-gateway is resolved data, after data are encapsulated by self-defining communication protocol, is uploaded to system platform, and platform is submitted Service Processing Module to after receiving data; Or 32) transparent uploading, after being encapsulated by self-defining communication protocol, data are uploaded to system platform, platform is received after data, according to whether transparent transmission mark and data format of the interface channel parsing in the message header of the data of uploading number, sensing node mark, analysis protocol mark title, data, select related protocol parsing module resolution data, normally resolution data, submits to the processing of reporting to the police of protocol processes alarm module.
Referring to Fig. 3, as a modification of the present invention, described step 31) in upload after adopting local parsing, the detailed process in things-internet gateway is as follows,
Interface module in things-internet gateway receives the initial data D1 that sensing node is uploaded, and sends it to interface communication module.
After interface communication module in things-internet gateway receives, according to the interface channel S1 of interface module, send inquiry request to interface communication pattern configurations table,
After the inquiry of interface communication block configuration table in things-internet gateway, return to the mode of operation of S1 and the title of coupling analysis protocol, upload as adopted after local parsing, protocol name is N.
Initial data D1 and parsing protocol-identifier title N are sent to device protocol parsing module by interface communication module in things-internet gateway, and protocol analysis module is used a protocol analysis D1 who is called N, and the data D2 that dissection process is crossed returns to interface communication module; Interface communication module in things-internet gateway transfers to local gateway to show or Business Processing data D2 after treatment; Interface communication module in things-internet gateway is used custom protocol encapsulation D2, message numbering is that last message numbering adds 1, by message numbering and interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission mark is packaged into message header to data, using data message D2 as message body, the data block step-by-step of message header and message body composition is carried out to XOR and calculate check code, by message header, message body, and check code order splicing, and before and after spliced data block, add flag, complete encapsulation and obtain D3 data; Interface communication module in things-internet gateway sends to platform by D3 by transport module, and platform is received rear reply confirmation.
Referring to Fig. 6, as a modification of the present invention, described step 31) in adopt after local parsing and upload, processing detailed process in system platform is as follows, the wire/wireless transport module of system platform, receive the data D1 that thing plain net gateway reports, D1 is transferred to interface communication module, the interface communication module of system platform is used self-defining communication protocol rule parsing D1, parse message header, message body and check code, to message header, the data block step-by-step of message body composition is carried out XOR and is calculated check code, confirm former check code and calculate after the consistency of check code of gained, from message header, resolve and obtain interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission of data, from message body, obtain corresponding data message D2, interface communication module sends to business module to process D2, and business module is received rear reply confirmation.
Referring to Fig. 4, as a modification of the present invention, described step 32) in adopt that transparent to upload detailed process in things-internet gateway as follows, the interface module in things-internet gateway receives the initial data D1 that sensing node is uploaded, and sends it to interface communication module; After interface communication module in things-internet gateway receives, according to the interface number of interface module, as S3, send inquiry request to interface communication pattern configurations table; After interface communication block configuration table inquiry in things-internet gateway, return to the mode of operation of S3 and the title of corresponding analysis protocol, as adopted transparent transmission to upload.
Interface communication module in things-internet gateway is used custom protocol encapsulation D1, message numbering is that last message numbering adds 1, by message numbering and interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission mark is packaged into message header to data, using data message D1 as message body, the data block step-by-step of message header and message body composition is carried out to XOR and calculate check code, by message header, message body, and check code order splicing, and before and after spliced data block, add flag, complete encapsulation and obtain D2 data
Interface communication module in things-internet gateway sends to platform by D2 by transport module, and platform is received rear reply confirmation.
Referring to Fig. 5, as a modification of the present invention, described step 32) in adopt transparent upload in the detailed process of system platform as follows, the wire/wireless transport module of system platform, receive the data D1 that thing plain net gateway reports, D1 is transferred to interface communication module; The interface communication module of system platform is used self-defining communication protocol rule parsing D1, parse message header, message body and check code, the data block step-by-step of message header, message body composition is carried out to XOR and calculate check code, confirm after the consistency of check code of former check code and generation, can from message header, obtain whether transparent transmission of interface channel number, time, sensing node mark, analysis protocol mark title, data, from message body, obtain corresponding data message D2; The interface communication module of system platform by data D2 and interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission sends to device protocol parsing module to data; The device protocol parsing module of system platform according to interface channel number, time, sensing node mark, analysis protocol mark title, data whether the form of transparent transmission identification information and data D2 search available protocol analysis module, if do not found, notebook data bag D2 being submitted to protocol processes alarm module reports to the police and daily record retention, if found respective protocol, use respective protocol to resolve D2, obtain data D3 after treatment.And D3 is returned to interface communication module; Interface communication module is received after D3, sends it to business module and processes, and business module is received rear reply confirmation.
Self-defining communication protocol in described data handling procedure is as follows:
(1) complete information data
Flag Information header Message body Check digit Flag
(2) information header
Message numbering The numbering of order
Interface channel number Interface channel number on corresponding things-internet gateway
Time The data upload time
Sensing node mark The unique identification of sensing node
Analysis protocol mark title If the data that gateway local was resolved, provide the title of analysis protocol
Whether transparent transmission of data Whether identification data is by the direct transparent transmission of things-internet gateway
Message body length The length of identification message body
(3) check digit
Information header Message body
Above two parts are carried out to step-by-step XOR successively, finally generate an exclusive or check code.
It should be noted that above-described embodiment is only preferred embodiment of the present invention; be not used for limiting protection scope of the present invention; being equal to replacement or substituting of having done on the basis of the above all belongs to protection scope of the present invention, and protection scope of the present invention is as the criterion with claims.

Claims (8)

1. realize the gateway of General adaptive function for one kind, it is characterized in that, the system platform that described gateway comprises things-internet gateway and is used in conjunction with things-internet gateway, interface configuration between described things-internet gateway and system platform, described things-internet gateway comprises interface module, interface communication module, device protocol parsing module, interface communication pattern configurations table, allocation list control module and wire/wireless transport module, described system platform comprises wired/wireless transport module, interface communication module, device protocol parsing module, protocol processes alarm module, Service Processing Module and gateway interface communication pattern configuration module, described interface module receives the data from sensing node, interface communication module in described things-internet gateway is responsible for the data of receiving interface module transmission, and according to interface communication pattern configurations table, determine that these data are to upload after adopting local parsing again, or direct transparent uploading, simultaneously according to self-defining communication protocol, the data message of uploading is encapsulated, by interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission mark is packaged into information header to data, the data encapsulation that will upload becomes message body, to after message header and message body splicing, calculate check code through XOR again, final by adding that flag completes the encapsulation of message, device protocol parsing module in described things-internet gateway has been stored multiple device protocol analytical capabilities modules, when the data of uploading when sensing node need local parsing, calls the data that corresponding parsing module uploads sensing node and resolves,
Described interface communication pattern configurations table has been stored the configuration information of communication pattern processing mode of each interface and corresponding analysis protocol configuration information, described allocation list control module is used for carrying out alternately with system platform, the interface communication pattern configurations table in management gateway; Wire/wireless transport module in described things-internet gateway is responsible for realizing the communications of gateway and IP network; Wire/wireless transport module in described system platform is responsible for realizing the communications of gateway and IP network; Interface communication module in described system platform is responsible for receiving upstream data, and according to self-defining communication protocol, parse the specifying information in information header, comprise whether transparent transmission mark and message body data of interface channel number, time, sensing node mark, analysis protocol mark title, data; Device protocol parsing module in described system platform has been stored multiple device protocol analytical capabilities modules, and according to the specifying information in the information header parsing and message body data format, judgement is called corresponding parsing module and carried out Data Analysis;
Described protocol processes alarm module, after the transparent data of uploading cannot corresponding relevant parsing module, is reported to the police and is carried out daily record retention by protocol processes alarm module.
2. a kind of gateway of realizing General adaptive function according to claim 1, is characterized in that, described wire/wireless transport module is set to the one in WIFI, LAN, mobile wireless network.
3. a kind of gateway of realizing General adaptive function according to claim 1 and 2, it is characterized in that, described interface configuration is specially, gateway interface communication pattern configuration module in system platform sends query statement to the allocation list control module of things-internet gateway, allocation list control module sends inquiry request to interface communication pattern configurations table
After interface communication pattern configurations table inquiry by relevant information, comprise analysis protocol mark title, configuration information state of activation, the last modification time of configuration information of interface channel number, interface communication pattern, coupling, return to control module, and be configured module of meter control and return to the configuration module on platform
Communication pattern, match protocol, state of activation and the last modification time information of the gateway interface communication pattern configuration module amendment interface in system platform, after having revised, send modify instruction to gateway configuration module of meter control;
Allocation list control module in gateway is preserved submitting to interface communication pattern configurations table through the information of amendment, the gateway interface communication pattern configuration module of preserving successful backward platform is replied and is preserved acknowledge message, and interface communication module in gateway sends configuration information notice of change.
4. the gateway approach of General adaptive function described in employing claim 1-3, is characterized in that, described method is specific as follows:
Said method comprising the steps of 1) sensing node uploading data; 2) interface module in gateway receives the data that sensing node is uploaded, and submit to interface communication resume module, the data of interface communication module receiving interface module transmission, and according to the interface communication pattern attribute in interface communication pattern configurations table, determine that these data are to upload after adopting local parsing again, or direct transparent uploading; 31) after local parsing, upload, the protocol analysis module of intra-gateway is resolved data, and gateway is uploaded to system platform after data are encapsulated by self-defining communication protocol, and platform is submitted Service Processing Module to after receiving data; 32) transparent uploading, after being encapsulated by self-defining communication protocol, data are uploaded to system platform, platform is received after data, according to whether transparent transmission mark and data format of the interface channel parsing in the message header of the data of uploading number, sensing node mark, analysis protocol mark title, data, select related protocol parsing module resolution data, if normally resolution data, submits to the processing of reporting to the police of protocol processes alarm module.
5. the gateway approach of General adaptive function according to claim 4, is characterized in that described step 31) in upload after adopting local parsing, the detailed process in things-internet gateway is as follows,
Interface module in things-internet gateway receives the initial data D1 that sensing node is uploaded, and sends it to interface communication module;
After interface communication module in things-internet gateway receives, according to the interface channel S1 of interface module, send inquiry request to interface communication pattern configurations table, after the inquiry of interface communication block configuration table, return to the mode of operation of S1 and the mark title of coupling analysis protocol, initial data D1 and parsing protocol-identifier title N are sent to device protocol parsing module by interface communication module, protocol analysis module is used a protocol analysis D1 who is called N, and the data D2 that dissection process is crossed returns to interface communication module;
Interface communication module in things-internet gateway transfers to local gateway to show or Business Processing data D2 after treatment;
Interface communication module in things-internet gateway is used custom protocol encapsulation D2, message numbering is that last message numbering adds 1, by message numbering and interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission mark is packaged into message header to data, using data message D2 as message body, the data block step-by-step of message header and message body composition is carried out to XOR and calculate check code, by message header, message body, and check code order splicing, and before and after spliced data block, add flag, complete encapsulation and obtain D3 data; Interface communication module in things-internet gateway sends to platform by D3 by transport module, and platform is received rear reply confirmation.
6. the gateway approach of General adaptive function according to claim 5, it is characterized in that, described step 31) in adopt after local parsing and upload, processing detailed process in system platform is as follows, the wire/wireless transport module of system platform, receive the data D1 that thing plain net gateway reports, D1 is transferred to interface communication module, the interface communication module of system platform is used self-defining communication protocol rule parsing D1, parse message header, message body and check code, to message header, the data block step-by-step of message body composition is carried out XOR and is calculated check code, confirm former check code and calculate after the consistency of check code of gained, from message header, resolve and obtain interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission of data, from message body, obtain corresponding data message D2, interface communication module sends to business module to process D2, and business module is received rear reply confirmation.
7. the gateway approach of General adaptive function according to claim 4, it is characterized in that, described step 32) in adopt that transparent to upload detailed process in things-internet gateway as follows, interface module in things-internet gateway receives the initial data D1 that sensing node is uploaded, and sends it to interface communication module, after interface communication module in things-internet gateway receives, according to the interface channel S3 of interface module, send inquiry request to interface communication pattern configurations table, interface communication block configuration table in things-internet gateway is according to returning to the mode of operation of S3 and the mark title of Corresponding matching analysis protocol after number inquiry of interface channel, interface communication module is used custom protocol encapsulation D1, message numbering is that last message numbering adds 1, by message numbering and interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission mark is packaged into message header to data, using data message D1 as message body, the data block step-by-step of message header and message body composition is carried out to XOR and calculate check code, by message header, message body, and check code order splicing, and before and after spliced data block, add flag, complete encapsulation and obtain D2 data, interface communication module sends to platform by D2 by transport module, platform is received rear reply confirmation.
8. the gateway approach of General adaptive function according to claim 7, it is characterized in that, described step 32) in adopt transparent upload in the detailed process of system platform as follows, the wire/wireless transport module of system platform, receive the data D1 that thing plain net gateway reports, D1 is transferred to interface communication module; The interface communication module of system platform is used self-defining communication protocol rule parsing D1, parse message header, message body and check code, the data block step-by-step of message header, message body composition is carried out to XOR and calculate check code, confirm former check code and calculate after the consistency of the check code generating, can from message header, obtain whether transparent transmission of interface channel number, time, sensing node mark, analysis protocol mark title, data, from message body, obtain corresponding data message D2; The interface communication module of system platform by data D2 and interface channel number, time, sensing node mark, analysis protocol mark title, whether transparent transmission sends to device protocol parsing module to data; The device protocol parsing module of system platform according to interface channel number, time, sensing node mark, analysis protocol mark title, data whether the form of transparent transmission identification information and data D2 search available protocol analysis module, if do not found, notebook data bag D2 being submitted to protocol processes alarm module reports to the police and daily record retention, if found respective protocol, use respective protocol to resolve D2, obtain data D3 after treatment; And D3 is returned to interface communication module; Interface communication module is received after D3, sends it to business module and processes, and business module is received rear reply confirmation.
CN201410151756.6A 2014-04-16 2014-04-16 A kind of gateway and method for realizing General adaptive function Expired - Fee Related CN103944813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410151756.6A CN103944813B (en) 2014-04-16 2014-04-16 A kind of gateway and method for realizing General adaptive function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410151756.6A CN103944813B (en) 2014-04-16 2014-04-16 A kind of gateway and method for realizing General adaptive function

Publications (2)

Publication Number Publication Date
CN103944813A true CN103944813A (en) 2014-07-23
CN103944813B CN103944813B (en) 2018-01-30

Family

ID=51192303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410151756.6A Expired - Fee Related CN103944813B (en) 2014-04-16 2014-04-16 A kind of gateway and method for realizing General adaptive function

Country Status (1)

Country Link
CN (1) CN103944813B (en)

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635063A (en) * 2014-10-31 2016-06-01 腾讯科技(上海)有限公司 IOT (Internet of Things) communication protocol configuration method and device
CN105704234A (en) * 2016-03-23 2016-06-22 浙江风向标科技有限公司 Control method and apparatus for intelligent device
CN106453342A (en) * 2016-10-21 2017-02-22 过冬 Terminal access method of Internet of Things
CN106487712A (en) * 2016-11-24 2017-03-08 泰康保险集团股份有限公司 For accessing method, device and the server of multiple external systems
CN108023905A (en) * 2016-10-31 2018-05-11 中国移动通信集团广东有限公司 Internet of things application system and method
CN108076026A (en) * 2016-11-15 2018-05-25 中国科学院沈阳自动化研究所 A kind of industry wireless network service adapter method based on OPC-UA service platforms
CN108173807A (en) * 2017-11-28 2018-06-15 贵阳语玩科技有限公司 Unified message is sent, processing method and processing device
CN108200090A (en) * 2018-02-07 2018-06-22 科大国创软件股份有限公司 A kind of agreement integration technology for electromechanical equipment
CN108667807A (en) * 2018-04-11 2018-10-16 华南师范大学 A kind of protocol self-adapting method and system based on monitoring cloud platform and gateway
CN108886488A (en) * 2016-04-05 2018-11-23 日本电信电话株式会社 Sensors relay device and sensors relay system
CN108900524A (en) * 2018-07-13 2018-11-27 中国电子科技集团公司第十五研究所 Object node interactive system in a kind of Internet of Things
CN109104300A (en) * 2018-07-12 2018-12-28 华清慧商(北京)科技有限公司 A kind of general sensing data acquisition parsing of software definition reports things system and method
CN109362053A (en) * 2018-11-14 2019-02-19 中科院微电子研究所昆山分所 Wireless sense network data processing method, gateway and equipment
CN109842680A (en) * 2019-01-28 2019-06-04 南京钛佳汽车科技有限公司 It is a kind of to realize the system and method to interconnect between gateway external sensor
CN110099501A (en) * 2019-06-17 2019-08-06 厦门能加新能源科技有限公司 A kind of Internet of Things module
CN110279920A (en) * 2019-05-23 2019-09-27 广州博而济信息科技有限公司 A method of ventilator data are acquired based on external acquisition equipment
CN110460521A (en) * 2019-09-19 2019-11-15 北京中电普华信息技术有限公司 A kind of edge calculations AnyRouter
CN110519160A (en) * 2019-08-15 2019-11-29 深圳市丰润达科技有限公司 Things-internet gateway multimode communication means, device and computer readable storage medium
CN110601876A (en) * 2019-08-20 2019-12-20 西安向南网络信息科技有限公司 Intelligent Internet of things platform
CN110850841A (en) * 2019-10-30 2020-02-28 深圳市元征科技股份有限公司 Fault diagnosis method and related device
CN111083168A (en) * 2019-12-31 2020-04-28 广东嘉泰智能技术有限公司 Configurable data transmission method and device of Internet of things platform gateway and gateway
CN111147365A (en) * 2019-12-25 2020-05-12 上海新物科技有限公司 Modularization thing networking gateway equipment
CN111343201A (en) * 2020-05-18 2020-06-26 成都数之联科技有限公司 Analysis method, device and system for rapidly adapting to protocol change
CN111553652A (en) * 2020-04-23 2020-08-18 中国银行股份有限公司 Service processing method and device
CN111970363A (en) * 2020-08-17 2020-11-20 北京金山云网络技术有限公司 Data processing method and device based on Internet of things
CN112468591A (en) * 2020-11-27 2021-03-09 刘成禹 Highway tunnel safety energy-saving intelligent operation management platform
CN112653568A (en) * 2019-10-13 2021-04-13 中电智能科技有限公司 Multi-protocol-oriented PLC gateway equipment configuration method based on software definition
CN112702299A (en) * 2019-10-22 2021-04-23 博世汽车部件(苏州)有限公司 Interface data processing apparatus, interface data processing system, interface data processing method, and computer-readable storage medium
CN112929260A (en) * 2021-02-08 2021-06-08 浙江浙大网新易盛网络通讯有限公司 Intelligent gateway system and control method thereof
CN113242265A (en) * 2021-07-09 2021-08-10 中移(上海)信息通信科技有限公司 Gateway data processing system and method and electronic equipment
CN113301522A (en) * 2021-05-24 2021-08-24 招商局检测车辆技术研究院有限公司 Data processing method of transportation facility V2X gateway and transportation facility V2X gateway
CN113364820A (en) * 2020-03-04 2021-09-07 青岛海尔空调电子有限公司 Equipment control method and device of Internet of things service system
CN113485206A (en) * 2021-08-06 2021-10-08 时代云英(重庆)科技有限公司 Extensible Internet of things system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951693A (en) * 2010-08-03 2011-01-19 天津中启创科技有限公司 Thing Internet gateway of heterogeneous wireless network and control method thereof
US20130041997A1 (en) * 2010-04-30 2013-02-14 Zte Corporation Internet of Things Service Architecture and Method for Realizing Internet of Things Service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130041997A1 (en) * 2010-04-30 2013-02-14 Zte Corporation Internet of Things Service Architecture and Method for Realizing Internet of Things Service
CN101951693A (en) * 2010-08-03 2011-01-19 天津中启创科技有限公司 Thing Internet gateway of heterogeneous wireless network and control method thereof

Cited By (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635063B (en) * 2014-10-31 2019-04-12 腾讯科技(上海)有限公司 Internet of Things communication protocol configuration method and device
CN105635063A (en) * 2014-10-31 2016-06-01 腾讯科技(上海)有限公司 IOT (Internet of Things) communication protocol configuration method and device
CN105704234A (en) * 2016-03-23 2016-06-22 浙江风向标科技有限公司 Control method and apparatus for intelligent device
CN105704234B (en) * 2016-03-23 2019-08-13 浙江风向标科技有限公司 The control method and device of smart machine
CN108886488A (en) * 2016-04-05 2018-11-23 日本电信电话株式会社 Sensors relay device and sensors relay system
CN108886488B (en) * 2016-04-05 2021-01-29 日本电信电话株式会社 Sensor relay device and sensor relay system
US11070417B2 (en) 2016-04-05 2021-07-20 Nippon Telegraph And Telephone Corporation Sensor relay apparatus and sensor relay system
CN106453342A (en) * 2016-10-21 2017-02-22 过冬 Terminal access method of Internet of Things
CN108023905A (en) * 2016-10-31 2018-05-11 中国移动通信集团广东有限公司 Internet of things application system and method
CN108023905B (en) * 2016-10-31 2021-06-25 中国移动通信集团广东有限公司 Internet of things application system and method
CN108076026A (en) * 2016-11-15 2018-05-25 中国科学院沈阳自动化研究所 A kind of industry wireless network service adapter method based on OPC-UA service platforms
CN108076026B (en) * 2016-11-15 2020-04-07 中国科学院沈阳自动化研究所 Industrial wireless network service adaptation method based on OPC-UA service platform
CN106487712A (en) * 2016-11-24 2017-03-08 泰康保险集团股份有限公司 For accessing method, device and the server of multiple external systems
CN108173807B (en) * 2017-11-28 2021-12-03 贵阳语玩科技有限公司 Unified message sending and processing method and device
CN108173807A (en) * 2017-11-28 2018-06-15 贵阳语玩科技有限公司 Unified message is sent, processing method and processing device
CN108200090A (en) * 2018-02-07 2018-06-22 科大国创软件股份有限公司 A kind of agreement integration technology for electromechanical equipment
CN108667807A (en) * 2018-04-11 2018-10-16 华南师范大学 A kind of protocol self-adapting method and system based on monitoring cloud platform and gateway
CN108667807B (en) * 2018-04-11 2020-12-11 华南师范大学 Protocol self-adaption method and system based on monitoring cloud platform and gateway
CN109104300A (en) * 2018-07-12 2018-12-28 华清慧商(北京)科技有限公司 A kind of general sensing data acquisition parsing of software definition reports things system and method
CN108900524A (en) * 2018-07-13 2018-11-27 中国电子科技集团公司第十五研究所 Object node interactive system in a kind of Internet of Things
CN109362053A (en) * 2018-11-14 2019-02-19 中科院微电子研究所昆山分所 Wireless sense network data processing method, gateway and equipment
CN109842680B (en) * 2019-01-28 2021-10-12 南京钛佳汽车科技有限公司 System and method for realizing interconnection and intercommunication between external sensors of gateway
CN109842680A (en) * 2019-01-28 2019-06-04 南京钛佳汽车科技有限公司 It is a kind of to realize the system and method to interconnect between gateway external sensor
CN110279920A (en) * 2019-05-23 2019-09-27 广州博而济信息科技有限公司 A method of ventilator data are acquired based on external acquisition equipment
CN110099501A (en) * 2019-06-17 2019-08-06 厦门能加新能源科技有限公司 A kind of Internet of Things module
CN110099501B (en) * 2019-06-17 2024-01-12 厦门能加新能源科技有限公司 Internet of things module
CN110519160A (en) * 2019-08-15 2019-11-29 深圳市丰润达科技有限公司 Things-internet gateway multimode communication means, device and computer readable storage medium
CN110601876A (en) * 2019-08-20 2019-12-20 西安向南网络信息科技有限公司 Intelligent Internet of things platform
CN110460521A (en) * 2019-09-19 2019-11-15 北京中电普华信息技术有限公司 A kind of edge calculations AnyRouter
CN112653568A (en) * 2019-10-13 2021-04-13 中电智能科技有限公司 Multi-protocol-oriented PLC gateway equipment configuration method based on software definition
CN112702299A (en) * 2019-10-22 2021-04-23 博世汽车部件(苏州)有限公司 Interface data processing apparatus, interface data processing system, interface data processing method, and computer-readable storage medium
CN110850841A (en) * 2019-10-30 2020-02-28 深圳市元征科技股份有限公司 Fault diagnosis method and related device
CN111147365A (en) * 2019-12-25 2020-05-12 上海新物科技有限公司 Modularization thing networking gateway equipment
CN111083168A (en) * 2019-12-31 2020-04-28 广东嘉泰智能技术有限公司 Configurable data transmission method and device of Internet of things platform gateway and gateway
CN113364820A (en) * 2020-03-04 2021-09-07 青岛海尔空调电子有限公司 Equipment control method and device of Internet of things service system
CN111553652B (en) * 2020-04-23 2023-10-27 中国银行股份有限公司 Service processing method and device
CN111553652A (en) * 2020-04-23 2020-08-18 中国银行股份有限公司 Service processing method and device
CN111343201A (en) * 2020-05-18 2020-06-26 成都数之联科技有限公司 Analysis method, device and system for rapidly adapting to protocol change
CN111970363B (en) * 2020-08-17 2022-08-16 北京金山云网络技术有限公司 Data processing method and device based on Internet of things
CN111970363A (en) * 2020-08-17 2020-11-20 北京金山云网络技术有限公司 Data processing method and device based on Internet of things
CN112468591A (en) * 2020-11-27 2021-03-09 刘成禹 Highway tunnel safety energy-saving intelligent operation management platform
CN112929260A (en) * 2021-02-08 2021-06-08 浙江浙大网新易盛网络通讯有限公司 Intelligent gateway system and control method thereof
CN113301522A (en) * 2021-05-24 2021-08-24 招商局检测车辆技术研究院有限公司 Data processing method of transportation facility V2X gateway and transportation facility V2X gateway
CN113242265A (en) * 2021-07-09 2021-08-10 中移(上海)信息通信科技有限公司 Gateway data processing system and method and electronic equipment
CN113485206A (en) * 2021-08-06 2021-10-08 时代云英(重庆)科技有限公司 Extensible Internet of things system and method

Also Published As

Publication number Publication date
CN103944813B (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN103944813A (en) Gateway and method for achieving general adaptation function
CN101640700B (en) Method and system for mediating enterprise service access for smart devices
CN102202093B (en) A kind of method and system realizing transducer adaptation
CN108989358B (en) Method for acquiring running data of textile machine based on TCP/IP protocol
CN107168971B (en) Data processing method and device for webpage application
CN107682397A (en) Customer resources acquisition methods, device, terminal device and storage medium
CN103379140B (en) A kind of log processing rule synchronization method and relevant device and system
CN106714082A (en) Group communication method and group server
CN103763443B (en) The mobile customer service system of a kind of many communication modes polymerization and method
US10999357B1 (en) Data transmission system and data transmission method
CN105450585B (en) A kind of information transferring method and device
CN111683066A (en) Heterogeneous system integration method and device, computer equipment and storage medium
CN103117881A (en) Resource management system of Internet of Things
CN106921578A (en) The generation method and device of a kind of forwarding-table item
CN107665237A (en) Data structure sorter, the distribution subscription system of unstructured data and method
CN107040613A (en) A kind of message transmitting method and system
CN105450589A (en) Remote procedure call method and system
CN115034347B (en) Industrial Internet of things for tracing two-dimensional code data and control method thereof
CN105191419B (en) It enables the device to find to service via network controller or group owner
Petruţ et al. The IoT connectivity challenges
CN106709060B (en) Data sharing method and system
US20210006639A1 (en) Data acquisition method, service provider, service consumer and network functional entity
CN110059091A (en) Method, apparatus, client, server and the system of index construct
CN116233253A (en) Service processing method, device, computer equipment and storage medium
US20220405132A1 (en) Method and system for quantum computing

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180130

Termination date: 20210416