CN104702642A - Data integration device for sensor network - Google Patents

Data integration device for sensor network Download PDF

Info

Publication number
CN104702642A
CN104702642A CN201310659537.4A CN201310659537A CN104702642A CN 104702642 A CN104702642 A CN 104702642A CN 201310659537 A CN201310659537 A CN 201310659537A CN 104702642 A CN104702642 A CN 104702642A
Authority
CN
China
Prior art keywords
sensor
bus
network node
processing unit
shelves
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
CN201310659537.4A
Other languages
Chinese (zh)
Other versions
CN104702642B (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.)
Institute for Information Industry
Original Assignee
Institute for Information Industry
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 Institute for Information Industry filed Critical Institute for Information Industry
Priority to CN201310659537.4A priority Critical patent/CN104702642B/en
Publication of CN104702642A publication Critical patent/CN104702642A/en
Application granted granted Critical
Publication of CN104702642B publication Critical patent/CN104702642B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • 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

Abstract

The invention discloses a data integration device for a sensor network system. The sensor network system comprises a sensor network and an application server. The data integration device receives a character command which is relevant to sensor network access from the application server, and finishes relevant operation of tabular data provided by a network node of the sensor network via cooperative use of the character command and a hardware configuration file of the sensor network.

Description

For the data integration device of sensor network
Technical field
The invention relates to a kind of data integration device for sensor network; More specifically, the data integration device that the present invention is used for sensor network utilizes literal order and hardware configuration setting, completes the access of the data after sensor network tabular, to complete the communication between application program and sensor network.
Background technology
In the application of known sensing, sensor or controller are mainly connected to the motherboard (host board) at sensing application program place with the specific sensor keyset of specification (adapter board) by bus (bus).During developing application, sensor supplier must provide application program interface (Application ProgrammingInterface) to related application developer, links up with motherboard driver, carries out sensing application.Corresponding different sensing development environment and program development language, need the application program interface using many covers different, develop multiple sensing application program.
And if above-mentioned motherboard is inserted in sensor network framework, be a network node, and each network node mainly links to a main node with wireless or wired communication protocol.Main node is by the specific keyset of specification, and such as universal asynchronous transmits receiver (UART), is connected with the motherboard at sensing application program place.
Though and user can perform the related application of single sensor on a node and node host plate driver is linked up, and carry out the associative operation of sensor via sensor keyset and network node.But when being limited to application program interface and not supporting sensor network framework, need consider voluntarily during application development and carry out the support of motherboard and host node and the communication of sensor network, so can when program performs smoothly and sensor link up.
Furthermore, because the sensor of different sensor manufacturers produce, network node and sensor keyset have different specifications usually, therefore, application program is in time developing, also must consider how for the different pieces of information content that the sensor keyset of different size, network node and bus therebetween produce, make further interpretation.
Accordingly, not only each sensor supplier must expand its application program interface in addition to network layer, and need prepare to overlap application program interface in response to multiple heterogeneous networks, different development environment and different development language more, then known application program interface mode is one to bear greatly for sensor supplier, and for sensor network Develop Application System, because needing, in the mode of different application interface exploitation sensor network application program, to be also quite inconvenience and elasticity of not having.
In sum, how based on existing sensor network hardware structure, improve the mode of sense data process, with the exploitation of accelerating application and improve application program use elasticity, be the target that industry needs effort badly.
Summary of the invention
Main purpose of the present invention is to provide a kind of data integration device for sensor network system.Sensor network system comprises sensor network and application program server.Data integration device comprises resource distribution module, data interface processing unit, Resource Properties processing unit, logic bus processing unit and network interface processing unit.Resource distribution module, in order to store, sensor resource settings shelves, bus setting shelves, resource are corresponding with bus sets shelves and network node sets shelves.
Data interface processing unit is connected with application program server, in order to: self-application programmed servo device receives sensor query statement; According to sensor query statement inquiry sensor resource settings shelves, and self-inductance measurement device resource settings shelves acquisition sensor kind configuration; Sensor bus query statement is transmitted according to sensor kind configuration.Resource Properties processing unit in order to: inquire about according to this sensor bus query statement that this resource is corresponding with bus sets shelves, and capture the corresponding configuration of bus from the resource shelves that set corresponding to bus; According to bus corresponding configuration inquiry bus setting shelves, and from bus setting shelves acquisition bus types configuration; The instruction of network querying node is transmitted according to bus types configuration.
Logic bus processing unit in order to: according to network node query statement requester network node sets shelves, and the corresponding configuration of automatic network node sets shelves acquisition network node.Network interface processing unit is connected with sensor network, in order to: according to network node corresponding configuration access sensor network, and return query response to application program server.Wherein, query response comprises network node identification code and network node sensor information.
After consulting execution mode that is graphic and that describe subsequently, art has knows that the knowledgeable more can understand technological means of the present invention and specifically implement aspect usually.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the sensor network system of the first embodiment of the present invention;
Fig. 2 is the schematic diagram of the sensor network system of the second embodiment of the present invention;
Fig. 3 is the schematic diagram of the sensor network system of the third embodiment of the present invention;
Fig. 4 is the flow chart of the data integration method of the fourth embodiment of the present invention; And
Fig. 5 A-5D is the flow chart of the data integration method of the fifth embodiment of the present invention.
Symbol description:
1,1 ', 9 sensor network systems
11,11 ', 91 data integration device
111,911 resource distribution modules
113 data interface processing units
115 Resource Properties processing units
117 logic bus processing units
119 network interface processing units
13,93 application program servers
130,930 sensor query statements
132 sensor attribute query instructions
134 sensor attribute reading command
136 sensor attribute write instructions
15,95 sensor networks
1130 sensor bus query statements
1132 sensor bus input/output query statements
1134 sensor bus input/output query statements
1150 network node query statements
1152 network node reading command
1154 network node write instructions
1170 nodes support query statement
1172 network node reading command
1174 network node write instructions
1190,950 query responses
9110 sensor configurations
913 data processing modules
RP sensor resource settings shelves
BP bus setting shelves
MP resource is corresponding with bus sets shelves
NP network node setting shelves
SEN sensor kind configuration
PTY sensor attribute information
BUS bus types configuration
The corresponding configuration of RBP bus
Id1 network node identification code
TYPE network node sensor information
Add1 storage address
Add2 storage address
Value sensor numerical value
Ack writes response
Embodiment
Below will explain the present invention by embodiments of the invention.But, these embodiments and be not used to restriction the present invention can need implement in any environment, application program or mode as described embodiments.Therefore, the explanation of following examples is only to explain the present invention, and is not used to limit the present invention.Following examples and graphic in, the element relevant to non-immediate of the present invention omits and does not illustrate, and be illustrated in graphic in each element between size relationship only for ease of understanding, and be not used to be restricted to actual enforcement ratio.
Please refer to Fig. 1, is the schematic diagram of a sensor network system 9 of first embodiment of the invention.Sensor network system 9 comprises data integration device 91, application program server 93 and a sensor network 95.Data integration device 91 comprises resource distribution module 911 and a data processing module 913.Data processing module 913 is connected with application program server 93 and sensor network 95.Resource distribution module 911 stores a sensor configuration 9110.Interaction between network element will be set forth below further.
First, when user is for carrying out the operation of sensor network 95 by the sensor application program of application program server 93, user needs the inquiry first carrying out available sensor for sensor network 95.Therefore, user sends a sensor query statement 930 by application program server 93.Immediately, after data processing module 913 self-application programmed servo device 93 receives sensor query statement 930, just sensor configuration 9110 is accessed according to sensor query statement 930.
Specifically, resource distribution module 911 can be various forms of data storage elements (as memory, hard disk etc.), sensor configuration 9110 mainly records configuration data relevant to the sensor of sensor network 95, after each access, sensor configuration data of being correlated with all can be updated, thus, data processing module 913 just learns the state of sensor network 95 by access sensor configuration 9110, and inquires about sensor network 95 further.Then, data processing module 913 just can obtain a query response 950, and is back to application program server 93, to complete the communication between application program server 93 and sensor network 95.
Please refer to Fig. 2, it is the schematic diagram of a sensor network system 1 of second embodiment of the invention.Sensor network system 1 comprises data integration device 11, application program server 13 and a sensor network 15.Data integration device 11 comprises resource distribution module 111, data interface processing unit 113, Resource Properties processing unit 115, logic bus processing unit 117 and a network interface processing unit 119.Data interface processing unit 113 is connected with application program server 13, and network interface unit 119 is connected with sensor network 15.Specifically aforementioned reason unit can be same process unit hardware, also can be different processing units hardware.
Resource distribution module 111 stores that a sensor resource settings shelves RP, a bus setting shelves BP, a resource are corresponding with bus sets shelves MP and a network node sets shelves NP.Wherein, sensor resource settings shelves RP records sensor relevant information, bus setting shelves BP record trunk relevant information, resource set shelves MP corresponding to bus records sensor relevant information corresponding to bus, network node setting shelves NP records network node and input/output relevant information, and after each inquiry, all can upgrade the content of network node setting shelves NP.Interaction between network element will be set forth below further.
First, when user is for carrying out the operation of sensor network 15 by the sensor application program of application program server 13, user needs the inquiry first carrying out available sensor for sensor network 15.Therefore, user sends a sensor query statement 130 by application program server 13.Immediately, data interface processing unit 113 just receives sensor query statement 130, and inquires about sensor resource settings shelves RP according to sensor query statement 130, and self-inductance measurement device resource settings shelves RP captures a sensor kind configuration SEN.
Should be specified, sensor resource settings shelves RP records sensor kind configuration SEN, represents in sensor network 15 and has network node to install the sensor relevant to sensor kind configuration SEN.Then, data interface processing unit 113 just can transmit a sensor bus query statement 1130 according to sensor kind configuration SEN, in order to confirm which kind of bus the sensor relevant to sensor kind configuration SEN uses.
Specifically, Resource Properties processing unit 115 then in order to set shelves MP according to sensor bus query statement 1130 query resource is corresponding with bus, and captures the corresponding configuration RBP of a bus from the resource shelves MP that sets corresponding to bus.Wherein, the corresponding configuration RBP of bus records the bus that sensor kind configuration SEN uses.
Accordingly, Resource Properties processing unit 115 just can inquire about bus setting shelves BP according to the corresponding configuration RBP of bus further, to capture a bus types configuration BUS relevant to sensor kind configuration SEN from bus setting shelves BP.Subsequently, Resource Properties processing unit 115 transmits a network node query statement 1150 according to bus types configuration BUS.
Then, logic bus processing unit 117 sends a node according to network node query statement 1150 and supports query statement 1170.Finally, network interface processing unit 119 is supported query statement 1170 according to node and is inquired about sensor network 15, and returns query response 1190 to an application program server 13.Wherein, query response 1190 comprises an a network node identification code id1 and network node sensor information TYPE.Thus, data integration device 11 just completes the communication between application program server 13 and sensor network 15.
For ease of understanding, below illustrate aforementioned operation process.Similarly, when user is for carrying out the operation of sensor network by the sensor application program of application program server, user needs the inquiry first carrying out available sensor for sensor network.Therefore, user sends sensor query statement " SELECT FROM ida-info " by application program server, uses inquiry sensor network and supports which kind of sensor.
Immediately, data interface processing unit just receives sensor query statement " SELECT FROM ida-info ", and inquires about sensor resource settings shelves RAA according to sensor query statement " SELECT FROM ida-info ", i.e. a kind of embodiment of the RP of Fig. 2:
Wherein, because sensor resource settings shelves RAA records the relevant configuration and setting of carbon dioxide sensor, representing in sensor network has Node configuration to have carbon dioxide sensor, and therefore, data interface unit just self-inductance measurement device resource settings shelves RAA captures sensor kind configuration CO2S.
Then, data interface processing unit sends sensor bus query statement " RAA.CO2S-L " to Resource Properties processing unit according to captured sensor kind configuration CO2S, in order to confirm which kind of bus the sensor relevant to sensor CO2S uses.Resource Properties processing unit then sets shelves Mapping according to sensor bus query statement " RAA.CO2S-L " query resource is corresponding with bus, i.e. a kind of embodiment of the MP of Fig. 2:
Accordingly, Resource Properties processing unit captures the corresponding configuration CO2S.GPIO of bus from the resource shelves Mapping that sets corresponding to bus, and bus corresponding configuration CO2S.GPIO record sensor kind configuration CO2S is the universal output input bus of corresponding use.
Accordingly, Resource Properties processing unit just can inquire about bus setting shelves LBA according to the corresponding configuration GPIO of bus, i.e. a kind of embodiment of the BP of Fig. 2 further:
To capture the bus types configuration GPIO relevant to sensor kind configuration CO2S from bus setting shelves LBA.Subsequently, Resource Properties processing unit transmits network querying node instruction " LBA.GPIO-L " according to bus types configuration GPIO.
Then, logic bus processing unit is supported query statement " list " according to network node query statement " LBA.GPIO-L " sending node and is given network interface processing unit.And network interface processing unit supports query statement " list " according to node, and through aforementioned query processing path passback query response " NodeID:CO2S " to application program server.Wherein, NodeID:CO2S represents that network node NodeID is provided with sensor CO2S, and after query response, NodeID can be recorded in network node setting shelves to carry out node administration, such as when node adds or leave, or carry out content update after each inquiry.
Specifically, instruction between the aforesaid and application program server of the present invention is the instruction of class database, by be decomposed into literal order of the present invention, assigned the mode of inquiring about each configuration database by literal order, complete the communication between application program server and sensor network.Thus, the present invention only need adjust for the configuration in database, just can complete the communication of different application server and sensor network, and as prior art, again needn't write new program and corresponding API.
Then, please refer to Fig. 3, it is the schematic diagram of a sensor network system 1 ' of third embodiment of the invention.Wherein, identical with the system architecture of preceding embodiment and network connection environment in the 3rd embodiment, the element function that therefore symbol is identical is also same, repeats no more in this.And the difference of the 3rd embodiment and preceding embodiment is, the 3rd embodiment carries out the action operated after being described in the sensor kenel of having inquired about in sensor network for sensor.
First, in the 3rd embodiment, user has learnt in sensor network 15 to have the sensor relevant to sensor information TYPE by application program server 13, and therefore, user just sends a sensor attribute query instruction 132 by application program server 13.In other words, data interface processing unit 113 self-application programmed servo device 13 receives sensor attribute query instruction 132, and inquires about sensor resource settings shelves RP according to sensor attribute query instruction 132.
And more record the operational order of the sensor that sensor information TYPE is correlated with due to sensor resource settings shelves RP, therefore, data interface processing unit 113 just can capture a sensor attribute information PTY by self-inductance measurement device resource settings shelves RP, and sensor attribute information PTY is back to application program server 13.Thus, by sensor attribute information PTY, user just learns which kind of operating function the sensor relevant to sensor information TYPE has.
For ease of understanding, illustrate aforementioned operation process equally below.Continue the example of the 3rd embodiment, user has learnt in sensor network to have sensor CO2S by application program server, and therefore, user just sends sensor attribute query instruction " SELECT FROM ida-CO2S " by application program server.And data interface processing unit receives sensor attribute query instruction " SELECT FROM ida-CO2S ", and inquire about sensor resource settings shelves RAA according to this.
And more record attribute and the operational order of the sensor that sensor CO2S is correlated with due to sensor resource settings shelves RAA, namely an embodiment of the RP of Fig. 2 can comprise the attribute of sensor and the description of operational order:
Therefore, data interface processing unit just can capture sensor attribute information co2_ppm:Read by self-inductance measurement device resource settings shelves RAA, and sensor attribute information co2_ppm:Read is back to application program server.Thus, user just learns the operation having co2_ppm with sensor CO2S and read by sensor attribute information co2_ppm:Read.
Then, in the 3rd embodiment, the sensor relevant to sensor information TYPE has the function of basic read/write.Accordingly, when user is for for relevant to sensor information TYPE, and the sensor being provided with network node identification code id1 is when reading, data interface processing unit 113 is for network node identification code id1 and sensor attribute information PTY, and self-application programmed servo device receives a sensor attribute reading command 134.
Then, data interface processing unit 113 just inquires about sensor resource settings shelves RP according to sensor attribute reading command 134, and self-inductance measurement device resource settings shelves RP captures a sensor attribute configuration AccessRead.Subsequently, data interface processing unit 113 transmits a sensor bus input/output query statement 1132 according to sensor attribute configuration AccessRead.Resource Properties processing unit 115 then sets shelves MP according to sensor bus input/output query statement 1132 query resource is corresponding with bus, and captures the corresponding configuration RBP of bus from the resource shelves MP that sets corresponding to bus.
Immediately, Resource Properties processing unit 115 inquires about bus setting shelves BP according to the corresponding configuration RBP of bus, and captures a bus input/output configuration IO from bus setting shelves BP.Wherein, the input/output state of bus input/output configuration IO record trunk.Then, Resource Properties processing unit 115 transmits a network node reading command 1152 according to bus input/output configuration IO.
And logic bus processing unit 117 inquires about a network node setting shelves NP according to network node reading command 1152, and automatic network node sets shelves NP captures a storage address add1.Subsequently, logic bus processing unit 117 just sends a network node reading command 1172 according to storage address add1.Network interface processing unit 119 is just according to network node reading command 1172, for the network node that network node identification code id1 represents, the data form that the memory reading network node provides in storage address add1, to obtain a sensor numerical value value, and sensing numerical value value is back to application program server 13.
For ease of understanding, illustrate aforementioned operation process equally below.Continuity previous example, sensor CO2S has the function that basic co2_ppm:Read reads.Accordingly, when user for for the sensor CO2S being located at network node NodeID carry out co2_ppm numerical value read time, data interface processing unit self-application programmed servo device receives sensor attribute reading command " SELECT co2_ppm FROM ida-CO2S WHEREdevice=NodeID ", and wherein NodeID person has inquired about the node NodeID learnt.
Then, data interface processing unit is just according to sensor attribute reading command " SELECT co2_ppmFROM ida-CO2S WHERE device=NodeID ", and inquiry sensor resource settings shelves RAA also captures a sensor attribute configuration co2_ppm.
Subsequently, data interface processing unit transmits sensor bus input/output query statement " RAA.CO2S-i co2_ppm-s NodeID " according to sensor attribute configuration co2_ppm.Then according to sensor bus input/output query statement " RAA.CO2S-i co2_ppm-s NodeID ", query resource is corresponding with bus sets shelves Mapping for Resource Properties processing unit, i.e. a kind of embodiment of the MP of Fig. 2, more comprises Resource Properties and inputs the corresponding of configuration with the output in bus and describe:
And capture the corresponding configuration CO2S.GPIO of bus from the resource shelves MP that sets corresponding to bus, and ID is the position 0 of attribute co2_ppm corresponding to input port P01 on GPIO of A01.Immediately, Resource Properties processing unit inquires about bus setting shelves LBA according to the corresponding configuration CO2S.GPIO of bus, i.e. a kind of embodiment of the BP of Fig. 2, more comprises the description of the output input configuration in GPIO bus:
Resource Properties processing unit more captures a bus input/output configuration GPIO.AI from bus setting shelves LBA.Then, Resource Properties processing unit transmits network node reading command " LBA GPIO-i AI0-s NodeID " according to bus input/output configuration GPIO.AI.
And logic bus processing unit is according to network node reading command " LBA GPIO-i AI0-s NodeID " requester network node sets shelves TBA:
Logic bus processing unit more automatic network node sets shelves TBA captures storage address 0x41 and each memory length 32.Subsequently, logic bus processing unit just sends network node reading command read0x41032 according to storage address 0x41.Network interface processing unit is just according to network node reading command read0x41032, for network node NodeID, the data form original position 0 Long degree 32 Capital that the memory reading network node NodeID provides in storage address 0x41 expects, to obtain sensor numerical value ppm, and sensing numerical value ppm is back to application program server.
On the other hand, when user is for for relevant to sensor information TYPE, and the sensor being located at network node identification code id1 carry out attribute write or upgrade time, data interface processing unit 113 is for network node identification code id1 and sensor attribute information PTY, and self-application programmed servo device receives a sensor attribute write instruction 136.
Then, data interface processing unit 113 just inquires about sensor resource settings shelves RP according to sensor attribute write instruction 136, and self-inductance measurement device resource settings shelves RP captures a sensor attribute configuration AccessWrite.Subsequently, data interface processing unit 113 transmits a sensor bus input/output query statement 1134 according to sensor attribute configuration AccessWrite.Resource Properties processing unit 115 then sets shelves MP according to sensor bus input/output query statement 1134 query resource is corresponding with bus, and captures the corresponding configuration RBP of bus from the resource shelves MP that sets corresponding to bus.
Immediately, data attribute processing unit 115 inquires about bus setting shelves BP according to the corresponding configuration RBP of bus, and captures bus input/output configuration IO from bus setting shelves BP.Wherein, the input/output state of bus input/output configuration IO record trunk.Then, data attribute processing unit 115 transmits a network node write instruction 1154 according to bus input/output configuration IO.
And logic bus processing unit 117 is according to network node write instruction 1154 requester network node sets shelves NP, and automatic network node sets shelves NP captures a storage address add2.Subsequently, logic bus processing unit 117, just according to storage address add2, sends a network node write instruction 1174.Network interface processing unit 119 is just according to network node write instruction 1174, for the network node that network node identification code id1 represents, the data form that memory data being write to network node provides in storage address add2, and obtain a write response ack, and write response ack is back to application program server 13.
For ease of understanding, illustrate aforementioned operation process equally below.Continuity previous example, sensor CO2S has the function of basic altitude:Write write.Accordingly, when user for for the sensor CO2S being located at network node NodeID carry out altitude numerical value write time, data interface processing unit self-application programmed servo device receives sensor attribute write instruction " UPDATE ida-CO2S SET altitude=300WHEREdevice=NodeID ".
Then, data interface processing unit just inquires about sensor resource settings shelves RAA according to sensor attribute reading command " UPDATE ida-CO2S SETaltitude=300WHERE device=NodeID ":
Data interface processing unit just can capture sensor attribute configuration altitude by self-inductance measurement device resource settings shelves RAA.
Subsequently, data interface processing unit transmits sensor bus input/output query statement " RAA.CO2S-u altitude300-s NodeID " according to sensor attribute configuration altitude.Then according to sensor bus input/output query statement " RAA.CO2S-u altitude300-s NodeID ", query resource is corresponding with bus sets shelves Mapping for Resource Properties processing unit, and sets shelves Mapping to capture bus corresponding configuration CO2S.GPIO and ID thereof be the position 32 that the attribute altitude of A02 corresponds to input port P02 on GPIO from resource is corresponding with bus.Immediately, Resource Properties processing unit inquires about bus setting shelves LBA according to the corresponding configuration CO2S.GPIO of bus:
Data attribute processing unit more captures a bus input/output configuration GPIO.AO from bus setting shelves LBA.Then, data attribute processing unit transmits network node write instruction " LBA.GPIO-u AO32300-s NodeID " according to bus input/output configuration GPIO.AO.
And logic bus processing unit is according to network node reading command " LBA.GPIO-u AO32300-sNodeID " requester network node sets shelves TBA:
Logic bus processing unit more automatic network node sets shelves TBA captures storage address 0x51.Subsequently, logic bus processing unit just sends network node write instruction write0x51321300 according to storage address 0x51, wherein 1 representative data number.Network interface processing unit is just according to network node write instruction write0x51321300, for network node NodeID, the data form original position 32 that memory numerical value 300 being write to network node NodeID provides in storage address 0x51, and obtain write response ack, and write response ack is back to application program server.
Similarly, aforesaid data interface processing unit receive self-application server instruction can also an instruction operate for multiple network node, multiple sensor and multiple property value, as " UPDATEida-CO2S; ida-ISKT SET altitude=300; power=ON WHERE device=NodeID1; device=NodeID2 ", those skilled in the art should understand easily by front disclosure, then its Detailed Operation situation does not repeat them here.
Of the present invention 1 the 4th embodiment is a data integration method, and its flow chart please refer to Fig. 4.The method of the 4th embodiment is for a data integration device, comprises a resource distribution module and a data processing module.Data integration device is for a sensor network system.Sensor network system comprises a sensor network and an application program server.Resource distribution module stores a sensor configuration.Data processing module is connected with application program server and sensor network.The detailed step of the 4th embodiment is as described below.
First, when user is for carrying out the operation of sensor network by the sensor application program of application program server, user just directly can send a sensor query statement to data integration device by application program server, so perform step 401, data processing module self-application programmed servo device is made to receive sensor query statement.
Perform step 402, make data processing module according to sensor query statement access sensor configuration to inquire about sensor network.Finally, perform step 403, make data processing module return a query response to application program server, to complete the communication between application program server and sensor network.
Of the present invention 1 the 5th embodiment is a data integration method, and its flow chart please refer to Fig. 5 A-5D.The method of the 5th embodiment is for a data integration device, comprises a resource distribution module and a data processing module.Data integration device is for a sensor network system.Sensor network system comprises a sensor network and an application program server.Resource distribution module stores a sensor configuration, and sensor configuration more comprises, and sensor resource settings shelves, bus setting shelves, a resource are corresponding with bus sets shelves and a network node sets shelves.
And data processing module more comprises a data interface processing unit, a Resource Properties processing unit, a logic bus processing unit and a network interface processing unit.Data processing module is connected with application program server by data interface processing unit, and is connected with sensor network by network interface processing unit.The detailed step of the 5th embodiment is as described below.
First, similarly, when user is for carrying out the operation of sensor network by the sensor application program of application program server, user just directly can send a sensor query statement to data integration device by application program server, so perform step 501, data interface processing unit self-application programmed servo device is made to receive sensor query statement.Perform step 502, make data interface processing unit according to sensor query statement inquiry sensor resource settings shelves, and self-inductance measurement device resource settings shelves capture a sensor kind configuration.
Then, perform step 503, make data interface processing unit transmit a sensor bus query statement according to sensor kind configuration.Perform step 504, make Resource Properties processing unit set shelves according to sensor bus query statement query resource is corresponding with bus, and capture the corresponding configuration of a bus from the resource shelves that set corresponding to bus.Perform step 505, make Resource Properties processing unit according to bus corresponding configuration inquiry bus setting shelves, and capture a bus types configuration from bus setting shelves.
Subsequently, perform step 506, make Resource Properties processing unit transmit a network node query statement according to bus types configuration.Perform step 507, make logic bus processing unit send a node according to network node query statement and support query statement.Perform step 508, make network interface processing unit support query statement inquiry sensor network according to node, and return query response to application program server.Wherein, query response comprises a network node identification code and a network node sensor information.
Then, when after the network node identification code and network node sensor information of application program server acquisition sensor network, just attribute query can be carried out for the sensor of network node.Perform step 509, make data interface processing unit for network node sensor information, self-application programmed servo device receives a sensor attribute query instruction.Perform step 510, make data interface processing unit according to sensor attribute query instructions query sensor resource settings shelves, and self-inductance measurement device resource settings shelves capture a sensor attribute information.Perform step 511, make data interface processing unit that sensor attribute information is back to application program server.
And after sensor attribute information learnt by application program server, just can carry out the operation of corresponding reading and write for network node.First illustrate and read associative operation, perform step 512, make data interface processing unit for network node identification code and sensor attribute information, self-application programmed servo device receives a sensor attribute reading command.Perform step 513, make data interface processing unit according to sensor attribute reading command inquiry sensor resource settings shelves, and self-inductance measurement device resource settings shelves capture a sensor attribute configuration.
Then, perform step 514, make data interface processing unit transmit a sensor bus input/output query statement according to sensor attribute configuration.Perform step 515, make Resource Properties processing unit set shelves according to sensor bus input/output query statement query resource is corresponding with bus, and capture the corresponding configuration of bus from the resource shelves that set corresponding to bus.Perform step 516, make Resource Properties processing unit according to bus corresponding configuration inquiry bus setting shelves, and capture a bus input/output configuration from bus setting shelves.
Subsequently, perform step 517, make Resource Properties processing unit transmit a network node reading command according to bus input/output configuration.Perform step 518, make logic bus processing unit according to network node reading command requester network node sets shelves, and automatic network node sets shelves capture a first memory address.Perform step 519, make logic bus processing unit send a network node reading command according to first memory address.
Perform step 520, make the network node that network interface processing unit represents for network node identification code, according to network node reading command, read the data form that network node provides in first memory address, and obtain a sensor numerical value.Perform step 521, make network interface processing unit that this sensor numerical value is back to application program server.
On the other hand, write associative operation is described, performs step 522, make data interface processing unit for network node identification code and sensor attribute information, self-application programmed servo device receives a sensor attribute write instruction.Perform step 523, make data interface processing unit according to sensor attribute write instructions query sensor resource settings shelves, and self-inductance measurement device resource settings shelves acquisition sensor attribute configuration.Perform step 524, make data interface processing unit transmit sensor bus input/output query statement according to sensor attribute configuration.
Then, perform step 525, make Resource Properties processing unit set shelves according to sensor bus input/output query statement query resource is corresponding with bus, and capture the corresponding configuration of bus from the resource shelves that set corresponding to bus.Perform step 526, make Resource Properties processing unit according to bus corresponding configuration inquiry bus setting shelves, and from bus setting shelves acquisition bus input/output configuration.Perform step 527, make Resource Properties processing unit transmit a network node write instruction according to bus input/output configuration.
Subsequently, perform step 528, make logic bus processing unit according to network node write instructions query network node setting shelves, and automatic network node sets shelves capture a second memory address.Perform step 529, make logic bus processing unit send a network node write instruction according to second memory address.Perform step 530, make the network node that network interface processing unit represents for network node identification code, according to network node write instruction, the data form that network node provides in second memory address is write.Perform step 531, make network interface processing unit return a write and respond to application program server.
In sum, the network node of sensor network and sensor can be correlated with configuration multi-zone supervision by data integration device of the present invention, and the access of configuration is carried out by the literal order of class database manipulation, last operating result data being provided in table form again gives application program server, thus, application program in develop time, just need not list the relevant configuration of the bottom of sensor network in consideration, with the exploitation of accelerating application and improve application program use elasticity.
Only above-described embodiment is only illustrative enforcement aspect of the present invention, and explains technical characteristic of the present invention, is not used for limiting protection category of the present invention.Any personage being familiar with this skill the arrangement of unlabored change or isotropism can all belong to the scope that the present invention advocates, the scope of the present invention should be as the criterion with claims.

Claims (10)

1. for a data integration device for a sensor network system, it is characterized in that, this sensor network system comprises a sensor network and an application program server, and this data integration device comprises:
One resource distribution module, in order to store a sensor configuration;
One data processing module, be connected with this application program server and this sensor network, in order to receive a sensor query statement from this application program server, this sensor configuration is accessed to inquire about this sensor network according to this sensor query statement, and returning a query response to this application program server, this sensor configuration upgrades after being accessed.
2. data integration device as claimed in claim 1, is characterized in that, this sensor configuration comprises sensor resource settings shelves, a bus sets shelves and a resource is corresponding with bus sets shelves, and this data processing module more comprises:
One data interface processing unit, in order to:
This sensor query statement is received from this application program server;
Inquire about this sensor resource settings shelves according to this sensor query statement, and capture a sensor kind configuration from these sensor resource settings shelves;
A sensor bus query statement is transmitted according to this sensor kind configuration;
One Resource Properties processing unit, in order to:
Inquire about according to this sensor bus query statement that this resource is corresponding with bus sets shelves, and capture the corresponding configuration of a bus from this resource shelves that set corresponding to bus;
Inquire about this bus setting shelves according to the corresponding configuration of this bus, and capture a bus types configuration from this bus setting shelves;
A network node query statement is transmitted according to this bus types configuration;
One logic bus processing unit, in order to:
Send a node according to this network node query statement and support query statement;
One network interface processing unit, is connected with this sensor network, in order to:
Support query statement according to this node and inquire about this sensor network, and return this query response to this application program server, wherein, this query response comprises a network node identification code and a network node sensor information.
3. data integration device as claimed in claim 2, is characterized in that, this data interface processing unit more in order to:
For this network node sensor information, receive a sensor attribute query instruction from this application program server;
According to these sensor resource settings shelves of this sensor attribute query instructions query, and capture a sensor attribute information from these sensor resource settings shelves;
This sensor attribute information is back to this application program server.
4. data integration device as claimed in claim 3, is characterized in that, this sensor configuration more comprises network node setting shelves, this data interface processing unit more in order to:
For this network node identification code and this sensor attribute information, receive a sensor attribute reading command from this application program server;
Inquire about this sensor resource settings shelves according to this sensor attribute reading command, and capture a sensor attribute configuration from these sensor resource settings shelves;
A sensor bus input/output query statement is transmitted according to this sensor attribute configuration;
Wherein, this Resource Properties processing unit more in order to:
Inquire about according to this sensor bus input/output query statement that this resource is corresponding with bus sets shelves, and capture the corresponding configuration of this bus from this resource shelves that set corresponding to bus;
Inquire about this bus setting shelves according to the corresponding configuration of this bus, and capture a bus input/output configuration from this bus setting shelves;
A network node reading command is transmitted according to this bus input/output configuration;
Wherein, this logic bus processing unit more in order to:
Inquire about this network node setting shelves according to this network node reading command, and capture a storage address from this network node setting shelves;
A network node reading command is sent according to this storage address;
Wherein, this network interface processing unit more in order to:
For a network node of this network node identification code representative, according to this network node reading command, read the data form that this network node provides in this storage address, and obtain a sensor numerical value;
This sensor numerical value is back to this application program server.
5. data integration device as claimed in claim 3, is characterized in that, this sensor configuration more comprises network node setting shelves, this data interface processing unit more in order to:
For this network node identification code and this sensor attribute information, receive a sensor attribute write instruction from this application program server;
According to these sensor resource settings shelves of this sensor attribute write instructions query, and capture a sensor attribute configuration from these sensor resource settings shelves;
A sensor bus input/output query statement is transmitted according to this sensor attribute configuration;
Wherein, this Resource Properties processing unit more in order to:
Inquire about according to this sensor bus input/output query statement that this resource is corresponding with bus sets shelves, and capture the corresponding configuration of this bus from the resource shelves that set corresponding to bus;
Inquire about this bus setting shelves according to the corresponding configuration of this bus, and capture a bus input/output configuration from this bus setting shelves;
A network node write instruction is transmitted according to this bus input/output configuration;
Wherein, this logic bus processing unit more in order to:
According to this network node of this network node write instructions query setting shelves, and capture a storage address from this network node setting shelves;
A network node write instruction is sent according to this storage address;
Wherein, this network interface processing unit more in order to:
For a network node of this network node identification code representative, according to this network node write instruction, the data form that this network node provides in this storage address is write;
Passback one write is responded to this application program server.
6. the data integration method for a data integration device, it is characterized in that, this data integration device is for a sensor network system, comprise a resource distribution module and a data processing module, this sensor network system comprises a sensor network and an application program server, this resource distribution module stores a sensor configuration, and this data processing module is connected with this application program server and this sensor network, and this data integration method comprises:
A () makes this data processing module receive a sensor query statement from this application program server;
B () makes this data processing module access this sensor configuration to inquire about this sensor network according to this sensor query statement;
C () makes this data processing module return a query response to this application program server, and upgrade this sensor configuration.
7. data integration method as claimed in claim 6, it is characterized in that, this sensor configuration comprises sensor resource settings shelves, a bus sets shelves and a resource is corresponding with bus sets shelves, this data processing module more comprises a data interface processing unit, a Resource Properties processing unit, a logic bus processing unit and a network interface processing unit, and step (a) more comprises:
(a1) this data interface processing unit is made to receive this sensor query statement from this application program server;
Wherein, step (b) more comprises:
(b1) make this data interface processing unit inquire about this sensor resource settings shelves according to this sensor query statement, and capture a sensor kind configuration from these sensor resource settings shelves;
(b2) this data interface processing unit is made to transmit a sensor bus query statement according to this sensor kind configuration;
(b3) this resource is corresponding with bus sets shelves to make this Resource Properties processing unit inquire about according to this sensor bus query statement, and captures the corresponding configuration of a bus from this resource shelves that set corresponding to bus;
(b4) make this Resource Properties processing unit inquire about this bus setting shelves according to the corresponding configuration of this bus, and capture a bus types configuration from this bus setting shelves;
(b5) this Resource Properties processing unit is made to transmit a network node query statement according to this bus types configuration;
(b6) make this logic bus processing unit send a node according to this network node query statement and support query statement;
(b7) make this network interface processing unit support query statement according to this node and inquire about this sensor network, and return this query response to this application program server, wherein, this query response comprises a network node identification code and a network node sensor information.
8. data integration method as claimed in claim 7, is characterized in that, more comprise:
D () makes this data interface processing unit for this network node sensor information, receive a sensor attribute query instruction from this application program server;
E () makes this data interface processing unit according to these sensor resource settings shelves of this sensor attribute query instructions query, and capture a sensor attribute information from these sensor resource settings shelves;
F () makes this data interface processing unit that this sensor attribute information is back to this application program server.
9. data integration method as claimed in claim 8, is characterized in that, this sensor configuration more comprises network node setting shelves, and this data integration method more comprises:
G () makes this data interface processing unit for this network node identification code and this sensor attribute information, receive a sensor attribute reading command from this application program server;
H () makes this data interface processing unit inquire about this sensor resource settings shelves according to this sensor attribute reading command, and capture a sensor attribute configuration from these sensor resource settings shelves;
(i) make this data interface processing unit transmit a sensor bus input/output query statement according to this sensor attribute configuration;
(j) make this Resource Properties processing unit inquire about according to this sensor bus input/output query statement this resource is corresponding with bus sets shelves, and capture the corresponding configuration of this bus from this resource shelves that set corresponding to bus;
K () makes this Resource Properties processing unit inquire about this bus setting shelves according to the corresponding configuration of this bus, and capture a bus input/output configuration from this bus setting shelves;
L () makes this Resource Properties processing unit transmit a network node reading command according to this bus input/output configuration;
M () makes this logic bus processing unit inquire about this network node setting shelves according to this network node reading command, and capture a storage address from this network node setting shelves;
N () makes this logic bus processing unit send a network node reading command according to this storage address;
An o network node that () makes this network interface processing unit represent for this network node identification code, according to this network node reading command, reads the data form that this network node provides in this storage address, and obtains a sensor numerical value;
P () makes this network interface processing unit that this sensor numerical value is back to this application program server.
10. data integration method as claimed in claim 8, is characterized in that, this sensor configuration more comprises network node setting shelves, and this data integration method more comprises:
G () makes this data interface processing unit for this network node identification code and this sensor attribute information, receive a sensor attribute write instruction from this application program server;
H () makes this data interface processing unit according to these sensor resource settings shelves of this sensor attribute write instructions query, and capture a sensor attribute configuration from these sensor resource settings shelves;
(i) make this data interface processing unit transmit a sensor bus input/output query statement according to this sensor attribute configuration;
(j) make this Resource Properties processing unit inquire about according to this sensor bus input/output query statement this resource is corresponding with bus sets shelves, and capture the corresponding configuration of this bus from this resource shelves that set corresponding to bus;
K () makes this Resource Properties processing unit inquire about this bus setting shelves according to the corresponding configuration of this bus, and capture a bus input/output configuration from this bus setting shelves;
L () makes this Resource Properties processing unit transmit a network node write instruction according to this bus input/output configuration;
M () makes this logic bus processing unit according to this network node of this network node write instructions query setting shelves, and capture a storage address from this network node setting shelves;
N () makes this logic bus processing unit send a network node write instruction according to this storage address;
An o network node that () makes this network interface processing unit represent for this network node identification code, according to this network node write instruction, writes the data form that this network node provides in this storage address;
P () makes this network interface processing unit after step (o), passback one write is responded to this application program server.
CN201310659537.4A 2013-12-09 2013-12-09 data integration device for sensor network Active CN104702642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310659537.4A CN104702642B (en) 2013-12-09 2013-12-09 data integration device for sensor network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310659537.4A CN104702642B (en) 2013-12-09 2013-12-09 data integration device for sensor network

Publications (2)

Publication Number Publication Date
CN104702642A true CN104702642A (en) 2015-06-10
CN104702642B CN104702642B (en) 2018-03-23

Family

ID=53349407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310659537.4A Active CN104702642B (en) 2013-12-09 2013-12-09 data integration device for sensor network

Country Status (1)

Country Link
CN (1) CN104702642B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492356A (en) * 2002-10-23 2004-04-28 奕升科技股份有限公司 Modular network integrating system
CN1548987A (en) * 2003-05-16 2004-11-24 远传电信股份有限公司 Geographical disaster monitoring and alarming system of application communication network
CN201749528U (en) * 2010-06-23 2011-02-16 新谊整合科技股份有限公司 Security and image monitoring alternate-current integrating system
US20120180103A1 (en) * 2011-01-06 2012-07-12 Weik Iii Martin Herman Garage management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492356A (en) * 2002-10-23 2004-04-28 奕升科技股份有限公司 Modular network integrating system
CN1548987A (en) * 2003-05-16 2004-11-24 远传电信股份有限公司 Geographical disaster monitoring and alarming system of application communication network
CN201749528U (en) * 2010-06-23 2011-02-16 新谊整合科技股份有限公司 Security and image monitoring alternate-current integrating system
US20120180103A1 (en) * 2011-01-06 2012-07-12 Weik Iii Martin Herman Garage management system

Also Published As

Publication number Publication date
CN104702642B (en) 2018-03-23

Similar Documents

Publication Publication Date Title
US9823907B2 (en) Extensible device object model
Zhang et al. Design and implementation of embedded un-interruptible power supply system (EUPSS) for web-based mobile application
US8832579B2 (en) System for creation and management of industrial automation and information solutions and services
CN102164050B (en) Log parsing method and log parsing node device
CN102520619A (en) General-purpose satellite remote sensing simulator
US9686131B2 (en) System, gateway, and method for automatic setting configuration by learning commands
US10712731B2 (en) Control device, control method, and non-transitory computer-readable recording medium
CN103200199A (en) Out of band (OOB) data collection system
US20180357193A1 (en) Computing device and operation method
CA3035599C (en) Systems and methods for discovering configurations of legacy control systems
CN113395180B (en) Industrial real-time big data acquisition and release method and industrial real-time big data platform
EP2649755B1 (en) Dynamic host profiles for option modules
CN107430391B (en) management system
CN106651650A (en) Joint debugging measurement and control device and electric power Internet of things joint debugging measurement and control system applying same
TWI511495B (en) Data integration apparatus for use in sensor network
CN108092959B (en) BACnet protocol analysis method based on configuration
US7856344B2 (en) Method for transforming overlapping paths in a logical model to their physical equivalent based on transformation rules and limited traceability
CN104702642A (en) Data integration device for sensor network
US11307564B2 (en) Methods, systems and computer program products for plant resource management
KR102233007B1 (en) Server for Providing IoT Platform Service Using Device Descriptor and Method Therefor
KR20200081657A (en) Platform of Smart Factory
KR102243708B1 (en) Editing tool update method of the HMI system
JP6808115B1 (en) Design support system, design support method and design support program
US11281192B2 (en) Automated component sourcing based on process systems design
US20230418248A1 (en) Infrastructure Management System

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