CN104662847A - Gateway apparatus and data processing method - Google Patents

Gateway apparatus and data processing method Download PDF

Info

Publication number
CN104662847A
CN104662847A CN201380036266.5A CN201380036266A CN104662847A CN 104662847 A CN104662847 A CN 104662847A CN 201380036266 A CN201380036266 A CN 201380036266A CN 104662847 A CN104662847 A CN 104662847A
Authority
CN
China
Prior art keywords
data
user
gateway
equipment
device data
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.)
Pending
Application number
CN201380036266.5A
Other languages
Chinese (zh)
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.)
Hitachi Omron Terminal Solutions Corp
Original Assignee
Hitachi Omron Terminal Solutions Corp
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 Hitachi Omron Terminal Solutions Corp filed Critical Hitachi Omron Terminal Solutions Corp
Priority to CN201380036266.5A priority Critical patent/CN104662847A/en
Publication of CN104662847A publication Critical patent/CN104662847A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Abstract

The present invention relates to a gateway apparatus and data processing method, and especially relates to the gateway apparatus and data processing method in the intelligent building control system. The gateway apparatus includes: a user communication interface, for communicating with a user; a terminal side communication interface, for communicating with a terminal node; a memory, for storing data corresponding to the device; and a processor, for analyzing and processing the data and the commands of the user and controlling the data interaction, wherein the processor, when receiving the a data acquisition command from the user via the user communication interface, analyzes the command and examines whether the data stored in the memory satisfies a defined requirement, if it is satisfied, returns the data back to the user, and if it is not satisfied, requires the new data from the terminal node via the terminal side communication interface and returning the obtained new data from the device to the user.

Description

Gateway apparatus and data processing method
Gateway apparatus and data processing method technical field
The present invention relates to the gateway apparatus in a kind of gateway apparatus and data processing method, more particularly to Intelligent Building Control System and data processing method.
Background technology
With development in science and technology and energy scarcity, intelligent and energy-saving becomes the trend of modern building building control System Development.Can be after communication performance, by monitoring all systems in the information of sensor and controller needed for architectural control, building realize terminal device(Such as air-conditioning system, safety-protection system, illuminator etc.)Integration management can be carried out by supervisory control desk.Thus, whole system can lift comfortable indoor environment and the safety of user according to appropriate control method, and be able to ensure that the saving of building energy-saving effect and manpower.
Further, under the background that Internet of Things is promoted, remote control is that user and manager bring great convenience, also one of important application scene as the field.Local data is sent to internet by things-internet gateway, so as to realize the remote control of user.
In such systems, a large amount of monitoring datas bring challenges to existing control network and carrier network.Network efficiency how is improved, network congestion is reduced, it is ensured that the transmission of significant data turns into urgent problem to be solved.
For this problem, some solutions are proposed in the prior art.For example, in patent document 1, it is proposed that a kind of mechanism, more terminal devices are controlled using the multiple IP controllers of a gateway control, then via IP controllers, so as to realize the control command shunting of local network, mitigate the load of gateway.
Specifically, in patent document 1, the gateway has a transmitter and multiple manifolds, may be connected to one or more IP controllers, and the IP controllers connect one or more network equipments.The transmitter includes a collecting unit(Load information for gathering each IP controllers), a control instruction collector unit(Control instruction for collecting user), a decision package(Whether manifold is sent instructions to for decision-making), first transmission unit(For instructing to corresponding manifold), and second transmission unit(The control instruction collected is collected from manifold).The manifold includes the 3rd transmission unit(Collect and instruct from transmitter), one is collected unit(Collect a plurality of instruction to a control instruction), and the 4th transmission unit(Collect control instruction for transmitting).After user instruction is sent to gateway, the control instruction collector unit in transmitter receives this instruction, and load information of the decision package in collecting unit determines purpose IP controllers, and the control instruction is transmitted to manifold from the first transmission unit.Manifold will be instructed according to the IP of purpose IP controllers and sent from the 4th transmission unit to equipment.The gateway can reduce the overload situations in downlink network by regulating and controlling purpose IP controllers. Prior art
Patent document 1: US7984135
The content of the invention
But, in patent document 1, however it remains following technical problem:
(1) although patent document 1 devises the instruction process units such as multiple manifolds in intra-gateway, instruction is set to send to multiple IP controllers, but it is not actual to reduce the instruction that the instruction sent to gateway and gateway are sent, it is impossible to mitigate the traffic load of gateway in itself.Therefore, patent document 1 can not be realized in the load for mitigating control gateway and the efficiency for improving gateway processes instruction and optimized.
(2) although patent document 1 is shunted by using multiple IP controllers to gateway to the communication data between equipment, the unactual instruction number reduced in the network of equipment side does not reduce the replying instruction sent needed for equipment yet.I.e. the data distribution fails to mitigate up, the downlink data flow in the network of end side.In with the intelligent building of great amount of terminals equipment control network, end side network is with greater need for further optimization.Here, patent document 1 is difficult to be applicable.
(3) patent document 1 does not relate to the processing method that terminal equipment side replys data.Different types of sensor, the especially sensor with warning information class can be related in intelligent building(Example:Fire alarm cigarette propagated sensation sensor), the data returned to it also assign different priorities, the data is quickly back to user.Require such, patent document 1 can not be realized well.
As described above, network is controlled for existing intelligent building, the data-handling efficiency of gateway how is improved, network congestion is reduced, important technology problem will be turned into by ensuring the transmission of significant data, and these technical tasks can not be solved well for the prior art of representative with patent document 1.
The present invention is used to solve above-mentioned problem, its object is to there is provided a kind of gateway apparatus and data processing method, be optimized to the instruction number that the gateway apparatus is issued, so as to further mitigate gateway load, improves network efficiency.
In addition, the present invention also aims to which terminal equipment side web database technology there is provided a kind of gateway apparatus and data processing method, can be optimized, mitigating the jam situation of terminal equipment side network, the final performance boost for realizing whole control network.
In addition, the present invention also aims to there is provided a kind of gateway apparatus and data processing method, ensure that the quick return of alarm class significant data.
To achieve these goals, the present invention provides a kind of gateway apparatus, and it can carry out data interaction with one or more users, and be connected directly or by multiple subnets pass with multiple terminal nodes, each of multiple terminal nodes manages one or more equipment, and the gateway apparatus has:The user communication interface communicated with user;For carrying out the end side communication interface with the communication of terminal node;Store the memory of the data on terminal device;Analyzed and processed with the order to data and user, data interaction is entered The processor of row control, the processor, when receiving the data retrieval commands from user by user communication interface, order is analyzed, and check whether the data stored in memory meet defined requirement, the data are directly beamed back to user if being required as defined in meeting, the data from end side communication interface to terminal node that to be looked for novelty by if being required as defined in being unsatisfactory for, and the new data obtained from terminal device are beamed back to user.
In addition, the present invention also provides a kind of data processing method, data processing is carried out using gateway apparatus, wherein the gateway apparatus can carry out data interaction with one or more users, and be connected directly or by multiple subnets pass with multiple terminal nodes, each of multiple terminal nodes manages one or more equipment, and the gateway has memory of the storage on the data of equipment, and the data processing method comprises the following steps:User is received to send to the data retrieval commands of gateway apparatus, order is analyzed, and check whether the data of storage in memory meet defined requirement, the data are directly beamed back to user if being required as defined in meeting, the data to be looked for novelty to terminal node if being required as defined in being unsatisfactory for, and the new data that slave unit is obtained are beamed back to user.
The above-mentioned gateway apparatus and data processing method provided according to the present invention, the instruction number optimization that the gateway is issued can be made, terminal equipment side web database technology is reduced, mitigates the jam situation of terminal equipment side network, the final performance boost for realizing whole control network.
And then, in the data processing method of the present invention, the type of analytical equipment data, and according to different types, user is sent to after being handled with different rules data.When device data is represents to trigger the alarm class data of alarm, the quantity that the equipment of device data will be sent is sent to user, when device data is regular maintenance class data, regular maintenance class data from multiple equipment will be averaged with the integrated information after processing and be sent to user, thus the data of user are sent back by gateway so as to further reduce, optimize further the data bulk sent out on the gateway, reduce whole intelligent building control web database technology, mitigate the jam situation of network, the final performance boost for realizing whole control network.
And then, in the above-mentioned gateway apparatus and data processing method of the present invention, there can also be the function of the transmitted data of processing communication node active.When receiving device data, type to device data after it have updated the data on equipment of storage in memory judges, when being judged as YES the alarm class data for representing triggering alarm, actively warning information is sent to user, and extract the ID for the equipment for sending device data, data retrieval commands are sent to the terminal node for possessing identical ID, the data on equipment of storage in memory are updated after the latest data beamed back from terminal node is received.
Thus, significant data and emergency data are received in gateway apparatus(Such as the alarm of fire data in intelligent building control)When, quickly user can be made to receive data, it is ensured that the timely transmission of significant data and emergency data, and related data can be actively updated, allow users in time to this alert The state of affairs is confirmed.
Brief description of the drawings
Fig. 1 is the Organization Chart that the intelligent building that embodiment of the present invention 1 is related to controls network system.Fig. 2 is the structured flowchart for the gateway that embodiment of the present invention 1 is related to.
Fig. 3 is the data mode tableau format schematic diagram that embodiment of the present invention 1 is related to.
Fig. 4 is the form schematic diagram that the user that embodiment of the present invention 1 is related to is said the word.
Fig. 5 is the flow chart for the gateway data process method that embodiment of the present invention 1 is related to.
Fig. 6 is the flow chart of data judgment step in the data processing method that embodiment of the present invention 1 is related to.
Fig. 7 is the form schematic diagram that the gateway that embodiment of the present invention 1 is related to returns to user data.Fig. 8 is the flow chart of data return to step in the data processing method that embodiment of the present invention 2 is related to.
Fig. 9 is the flow chart of gateway data process method when the node that embodiment of the present invention 3 is related to actively is sent.
Figure 10 represents the command format that the embodiment of the present invention 1 is related to.
Figure 11 represents the specific form of data mode table that the embodiment of the present invention 1 is related to.
Figure 12 represents the gateway forwards command format that the embodiment of the present invention 1 is related to.
Figure 13 represents the specific form of data mode table after the renewal that the embodiment of the present invention 1 is related to.
Figure 14 represents that the gateway that the embodiment of the present invention 1 is related to returns to the specific form of user data.
Figure 15 represents that the gateway that the embodiment of the present invention 2 is related to returns to the specific form of user data.
Figure 16 represents the specific form of data mode table that the embodiment of the present invention 3 is related to.
Figure 17 represents that the gateway that the embodiment of the present invention 3 is related to sends the specific form of user data.
Figure 18 represents the specific form of data mode table after the renewal data with alert that the embodiment of the present invention 3 is related to.
Embodiment
1st, embodiment 1
Illustrate embodiments of the present invention 1 below in conjunction with Fig. 1 Fig. 7.Present embodiment 1 is to reduce gateway forwards order to mitigate the embodiment of network congestion in intelligent building controls network.
First, the general idea of present embodiment 1 is briefly described.That is, it can be found that IP controllers are added between gateway and equipment can shunt the data of gateway after analysis controls intelligent building the improved method of network in the prior art, network controllable device quantity is increased.But this framework can not reduce the order that gateway is actually sent out, the data traffic between terminal device network can not be also reduced.On the other hand, only the processing function that multiple manifold forwarding instructions also do not optimize gateway is increased in intra-gateway.This Embodiment 1 has the memory of data mode table and central processing unit with respective handling function by adding one in intra-gateway, and the order that gateway is sent is reduced so as to realize, mitigates the jam situation of overall network.Represent that the data of data mode are not limited to the form of data mode table, as long as it can store in memory and play the data of phase same-action.Hereinafter, the intelligent building control network that present embodiment 1 is related to is illustrated.
1. the 1st, intelligent building control network
Fig. 1 is the Organization Chart that the intelligent building that embodiment of the present invention 1 is related to controls network.As shown in Figure 1, the intelligent building that embodiment 1 is related to controls network by least one gateway 101, several subnets close 102, and subnet closes several communication nodes 103 connected, and one or more sensors 104 that node is managed are constituted.Here user 106 that gateway 101 can be connected with local user 105 or public network carries out data interaction, and user 105 and user 106 herein can be single or multiple, be disposed according to the need for network management or user.In the larger network of number of devices, subnet, which closes 102, can shunt the data of gateway 101, play reduction network congestion, support the effect of more equipment;In the less network of number of devices, subnet can not also be used to close 102, the framework being directly connected using gateway 101 with node 103.Communication node 103 has IP address, and it connects one or more sensors 104 containing ID.The sensor 104 that each communication node 103 is managed can be that different type can also be same type.The distribution of sensor 104 depends on convenient during building network is disposed and the factor such as is easily managed.
In the intelligent building control network of embodiment 1, when user a or user b needs to obtain certain data in network, data retrieval commands are first sent to gateway 101.Gateway 101 receive this order after to order handled accordingly, and decision-making whether transmitting order to lower levels.Its decision-making depends on the Multiple factors such as the command information of gateway reception, the data that gateway is stored.Wait node to beam back after data if transmitting order to lower levels to handle data, directly handle data if being not required to transmitting order to lower levels, finally return that data to associated user.In implementation 1, the structured flowchart and flow chart of data processing of gateway will be described in detail later.
Illustrate that intelligent building controls each part of network first below.
1. 1. 1, gateway 101
Gateway 101 is the core component in this intelligent building control network, i.e., visual plant involved in the present invention.Gateway 101 is responsible for the order transmitted by the user 106 that collects local user 105 and connect by public network, and handles the user command, and the related data in the data mode table that gateway is stored is extracted according to wherein relevant information.The data mode table is stored in the memory of gateway 101, and its long form will introduce below.Gateway carries out data judgment step according to the data in this data mode table, according to the fixed policy deposited, and judges whether that the communication node in the terminal device network managed to it sends order.According to Order returned data or local stored data according to User IP like this, related data is back to user.
1. 1. 2, subnet closes 102
It is the inessential equipment in this intelligent building control network that subnet, which closes 102,.When gateway needs control mass communication node, or the problems such as distance during in view of gateway deployment, floor, the addition that the subnet is closed can make this intelligent building control real-time performance control and dispose it is more convenient.Subnet closes 102 and possesses basic data forwarding function, can manage a number of communication node, itself possess unique IP address in network.When subnet closes 102 and receives the unicast or multicast order transmitted by gateway 101, this order can be forwarded to by corresponding node according to communication node IP.On the other hand, subnet closes the data transmitted by 102 communication nodes that can also receive its management, and forwards it to gateway 101.Subnet close 102 can possess with the identical function of gateway 101, also can only support section function.The communication mode that subnet closes 102 communication nodes managed with it can be communication.When a certain subnet closes 102 failures or closed, other subnets that its communication node managed can independently be connected to surrounding put capable access into.
1. 1. 3, node 103
Node 103 can be considered important component in this intelligent building control network.The node has communication interface, can put capable communication into gateway or subnet.The node has unique IP in network, and makes a distinction successively.Each node 103 can manage one or more sensors for not possessing IP, and the data that sensor is obtained are sent to user by gateway 101.Active sending method when passive sending method and no user when the data transmission modes can ask for user are asked.The communication mode that the node closes 102 with gateway 101 or subnet can be communication, and multi-hop communication pattern can be supported in the case where node deployment allows.After gateway initial configuration, node 103 accesses a certain subnet and closes 102 or gateway 101, and when the gateway 102 of its access breaks down or closed, node 103 can be by independently finding, other subnets close 102 around access, to ensure the normal operation of network.
1. 1. 4, sensor 104
Sensor 104 is equipment in network terminal, possesses data acquisition or order perform function.Temperature sensor, humidity sensor, gas detection sensor, fire alarm cigarette propagated sensation sensor, controlling switch, gate inhibition's alarm sensor for example in intelligent building controls network, etc..Sensor 104 does not have single IP because of its enormous amount in this intelligent building control network, but is managed by communication node 103, is made a distinction by its ID, so as to ensure not having the sensor ID of repetition under a communication node 103.Sensor 104 can not have communication interface, be placed in node 103 in a physical equipment, can also carry out data interaction by the modes such as serial ports and node 103.
1. 1. 5, user 105 and user 106
106 two kinds of users of local user 105 and long-distance user are supported to access in this intelligent building control network Pattern.User 105 can close 102, node 103 with gateway 101, subnet and sensor 104 is in a LAN, carries out data acquisition from inside or order is sent.The pattern is applied to the management user such as mansion property and used.User 106 can carry out data interaction by public network to gateway 101, and data in building are obtained or controlled thereby using long-range mode.The pattern is applied to particular user in building, can conveniently obtain or management of sensor data.
1. the 2nd, structure of gateway 101
Fig. 2 is the structured flowchart of above-mentioned gateway 101.Gateway 101 at least possesses central processing unit 201, memory 202, user side communication interface 203 and end side user interface 204.
Central processing unit 201 has certain calculation function, and the data processing module with pre-programmed, the user command that gateway 101 is received can be handled and analyzed, and can carry out decision-making to this order to decide whether to issue this order.On the other hand, this central processing unit can be handled and analyzed to the user data received, to send out this data in decision-making whether.Its concrete analysis decision process being related to will be described in detail later.
Memory 202 has corresponding data storage function, and has the data mode table of certain format.The terminal data obtained according to interface 204 is carried out real-time update by each item data in the state table.Important evidence when this data mode table is by as 201 decision-making of central processing unit.
User side communication interface 203 is used for and user 105 or the progress data interaction of user 106, obtains user command, and send data to user.
Accordingly, the user of end side communication interface 204 and subnet close 102, communication node 103 and communicated, and obtain node data, and send a command to subnet and close or node.
1. the 3rd, data mode sheet format
Fig. 3 represents stored data state tableau format in above-mentioned memory 202.Its data items is included:Node IP, sensor ID, application type number, renewal time, the term of validity, data content.
Wherein node IP is the IP of communication node 103 in network, and the IP of each node has uniqueness in a network, and gateway carries out order analysis and decision-making management according to this IP.This IP can be local IP or public network IP, be specifically dependent upon the deployment scenario that this intelligent building controls network.
Sensor ID is that uniqueness of each sensor under its node distinguishes sign, and gateway preserves this information, and the unicast or multicast that line command can be entered according to different sensors is sent, so that one group of sensing data of convenient acquisition or single sensing data.
Application type number variable defined in the present invention.The present invention controls the data in network to be classified processing intelligent building:The data definition of the acquisitions such as all pernicious gas detection sensors, fire alarm cigarette propagated sensation sensor, gate inhibition's alarm sensor is alarm class data, is divided in this data mode table with 1 class data, is denoted as 01;All temperature sensors, humidity sensor, CO2Detection sensor, controlling switch etc. are obtained Data definition be regular maintenance class data, in this data mode table with 2 class data divide, be denoted as 02.Such as technology is constantly in progress afterwards, has other class data, this classification can be revised accordingly.Define the sensor device that application type can more easily control intelligent building to control network internal, it is possible to by different category divisions different priority and processing method.It will be described in detail in flow chart of data processing of the present invention.
Renewal time indicates the temporal information that this data is sent.In intelligent building control network, having this information can easily make gateway or user know whether its data obtained meets requirement.
The term of validity indicates the period of validity of this data.Such as alarm class data, due to the key property of its real-time, the term of validity is less than certain threshold value;And for example regular maintenance class data, its real-time does not have that alarm class data are important, and network congestion will be caused by frequently updating.Therefore the data for helping terminal device network are more rationally more effectively updated by the term of validity, and the field for the important parameter that this classification considers when being also gateway decision-making has the actual data value of this data.The data of such as temperature sensor are temperature value, and and for example alarm class sensor can indicate the nothing of alert message with 0,1, have, and the rest may be inferred.
1. the 4th, user sends command format
The form that user in present implementation sends order has been illustrated in Fig. 4.Typical user command possesses:
User IP, destination address during order is beamed back for gateway;
Gateway IP, confirms whether this order is this gateway received information for gateway, or determines this order only whether certain subnet is closed in map network;
Node IP, then it is unicast order as possessed node IP in message, the node data according to correspondence IP in data mode table is carried out decision-making and send back to user by gateway, such as unreceipted node IP in message, gateway will carry out decision-making and beam back according to next bit command type;
Style number in command type, with data mode table matches, and Class1 is the acquisition of alarm class data, and type 2 is the acquisition of regular maintenance class data;
Command context, is the actual content that user sends order;
Transmission time, this information indicating user sends time during order, is used during for the gateway decision data term of validity.
Illustrate herein, a such as user command is:
[201.0.0.1][203.0.0.1][01][GET][12:36]
Can be considered IP address is that 201.0.0.1 user needs to obtain the quantity of all alarm class sensors under the gateway that IP address is 203.0.0.1, and its transmission time is 12:36.
1. the 5th, flow chart of data processing of gateway central processing unit Fig. 5 is the typical data handling process that is prestored in the data processing module that has in the central processing unit 201 of gateway 101.
As shown in figure 5, gateway gets order at user in step 501 first.The command format can be the form shown in 1.4.After order is obtained, gateway is parsed to order, User IP is stored to memory, gateway IP and the machine IP and local routing table neutron gateway IP are contrasted, next step parsing is carried out if destination address is the machine IP, if destination address is that forward command to correspondence subnet is closed if subnet closes IP.Hereafter, the parsing to command type and subcommand time is carried out, and next step is carried out by this command type.
Step 502 is data mode table query steps, and in step 501, gateway has extracted command type.In this step, gateway extracts all same type data according to such model in data mode table, the application type in this command type corresponding table.As do not possessed this type data in table, then directly no data information is returned to user.As possessed such data in table, then into data judgment step 503.
Step 503 is data judgment step, and its deterministic process according to step 601-604 as shown in fig. 6, implement.The purpose of this judgment step is whether the data examined in Check data mode tables meet requirement, and such as meet requirement directly can beam back to user, as being unsatisfactory for requiring, be returned to the new data of the sensor requirements of node administration.The purpose of this step is to reduce gateway transmitting order to lower levels quantity, mitigates the jam situation of end side network, and further reduces the user terminal stand-by period.To each data extracted in step 502, the calculating data survival phase T of step 601 will be enteredeStep.Data survival phase TeCalculation formula it is as follows:
Te=(subcommand time)(Data time)
The time that subcommand time is said the word by user herein, and data time is then the renewal time of the data in data mode table.Survival period TeThis data is illustrated from the period being issued to when user requires.
Hereafter judgment step 602 is carried out, gateway will determine that whether the data survival phase is less than the term of validity.The meaning of this logical relation is, shows that the time-to-live of this data is less than period of validity threshold value if survival period is less than the term of validity, is effective;Show that this data survival period is longer if survival period is more than the term of validity, it is as invalid more than term of validity threshold value.Data return to step 504 can be directly entered to valid data;Next step data is also carried out to invalid data and updates step.
Node IP of the step 603 then for gateway data accordingly sends data retrieval commands, and updates the data state table after the receipt, enters next step data return to step 504 using the data after renewal.
In data return to step 504, data configuration returned data bag of the gateway in the User IP and data state table prestored, and this packet is sent back to user.
1. the 6th, gateway returns to the form of user After mentioned order and flow chart of data processing, gateway returns data into user.Fig. 7 represents to return to an example of the data format of user.
As shown in fig. 7, this packet possesses:
The gateway IP of sent out data, shows source address;
User IP, shows destination address;
Data content, is loaded as the data needed for user;
Transmission time, this time can indicate the temporal information of this data.
Illustrate herein, such as the order that a user command is form as shown in 1.4, it, which obtains data, to be:
[203.0.0.1][ 201.0.0.1][0][12:38]
It can be considered that all alarm class sensors are without warning information under the data sign gateway 203.0.0.1 that the user that IP address is 201.0.0.1 to IP address by 203.0.0.1 gateway returns, its transmission time is 12:38.
1. the 7th, effect
According to the embodiment of the present invention 1, gateway transmitting order to lower levels quantity can be reduced, further mitigates the jam situation of end side network, and further reduces the user terminal stand-by period.
2nd, embodiment 2
Illustrate embodiments of the present invention 2 below in conjunction with Fig. 8.Present embodiment 2 is that the embodiment to the further integrated treatment of returned data has been added on the basis of embodiment 1.
First, the general idea of present embodiment 2 is briefly described.SP, it is contemplated that in intelligent building control network, the ordered multicast demand of user, gateway needs to reply unicast and ordered multicast respectively.For unicast data, gateway can be directly by data recovery to user;And for ordered multicast, many datas of reply to user are not optimum way.Further optimize this communication process, reduce network congestion.For this demand, the present invention provides embodiment 2.
In present embodiment 2, the structure chart of gateway and required data mode table and main handling process shown in Fig. 5 are consistent with embodiment 1, will not be described here.Hereinafter, the flow and data processing method of the data return to step 504 in present embodiment 2 are described in detail.
2. the 1st, multicast and aggregation of data value
In intelligent building control network, user, which often may require that, uses ordered multicast.For example user need to obtain the real time temperature of this floor, and the temperature sensor that and for example first floor has is about dozens of or so.If gateway only supports unicast order, user is only capable of obtaining every time the temperature of each sensor, finally observes mean temperature, this process is very cumbersome.Such as support ordered multicast, user can be according to the gateway IP of this floor, and this order can be obtained by sending all nodes for possessing temperature sensor in an ordered multicast, floor, and Return to the real time temperature of each sensor.The order number now sent by user is largely reduced, and the communication process from user to gateway will optimize significantly.Further, the node temperature mean value computation process of all temperature sensors can be completed by gateway, and a reply data are also only sent from gateway to user.The data volume for now returning to user by gateway also can be reduced largely, and now user is to the data interaction between gateway up to optimal.
The form that user is said the word if it possesses node IP as shown in figure 4, show that the data of sensor in specific a certain node need to be obtained.Such as it does not possess node IP, only possesses gateway IP and then shows that the aggregation of data value of certain all application type under the gateway need to be obtained.The optimization purpose of this aggregation of data value is a plurality of data-optimized to one, and the calculating process of this aggregation of data value is completed by gateway.
2. the 2nd, flow of data return to step
As shown in figure 8, being performed in gateway in flow chart of data processing after the end of data judgment step 503, into data return to step 504.Now gateway can carry out integrated treatment according to different application types to different data.
Step 801 judges that the data type is alarm class data or regular maintenance class data to parse in the application type step of data, this step.
Step 802 redirects judgement for different application type, and step 803-804 processes are entered if for alarm class data, alarm class sensor is traveled through, and calculates the quantity for wherein triggering alarm, most sum is sent to user at last;Enter step 805-807 processes if for regular maintenance class data, be that the data of different sensors classification carry out mean value calculation to different sensors ID, most integrated information sends back user at last.
2. the 3rd, effect
According to the embodiment of the present invention 2, it can reduce and information content between gateway and user is reduced on the basis of gateway transmitting order to lower levels quantity, further mitigate the load of gateway and the jam situation of whole network, and further increase the convenience that user uses.
3rd, embodiment 3
Illustrate embodiments of the present invention 3 below in conjunction with Fig. 9.Present embodiment 3 has added the embodiment of gateway data handling process when node actively sends data.
First, the general idea of present embodiment 3 is briefly described.SP, it is contemplated that in intelligent building control network, the real-time demand of data with alert.For regular maintenance class data, its time claimed range is wider, can periodically be initiated to update by gateway, be stored in data mode table, user is back to via the acquisition order of user;And it is very high for the required ageing requirement of this significant data of alarm class, such as wait user to obtain the adverse consequences that will cause to handle not in time.
To this demand, present embodiment is handled accordingly for the application type of different pieces of information, especially Be alarm class data are carried out it is upper in real time send out, and further update related data in net, be that the monitoring and management of user offers convenience.
3. the 1st, alarm class data processing method
In intelligent building control network, the data definition of the acquisition such as pernicious gas detection sensor, fire alarm cigarette propagated sensation sensor, gate inhibition's alarm sensor is alarm class data.The characteristics of such sensor is real-time monitoring, when running into more than threshold value, will be triggered, and produces data.Using formula is actively sent more than the data of sensors with auxiliary electrode, alarm is sent after triggering to gateway.It is very high for the required ageing requirement of alarm class significant data, failing to transferring to user then to cause adverse consequences in time.
Therefore gateway has suitable processing method to such data, to ensure that alarm class data can inform user in real time, is easy to user to know alert.On this basis, user at least preserves 1 management end IP to gateway, and this IP can be sent data to by being easy to gateway to get such data.
Furthermore, it is contemplated that the situation that single sensor may break down, user may be reaffirmed or be investigated to the data of alarm class sensor.On the other hand, to warning information such as fire alarm cigarette propagated sensation sensors, user obtains the coverage situation of such alert again, is easy to preferably processing and row Check.Therefore this kind of emergency data is quickly updated by gateway, is easy to the secondary acquisition data of user.In present embodiment, gateway is received after alarm class data, will parse sensor ID, the data to sensors with auxiliary electrode in network are updated, to obtain latest data situation after transmission notebook data to user.
3. the 2nd, regular maintenance class data processing method
To temperature sensor, humidity sensor, CO2The data definition of the acquisitions such as detection sensor, controlling switch is regular maintenance class data.The characteristics of sensors with auxiliary electrode is non-touch hairdo, and regularly updates data, is above sent to gateway.The data of sensors with auxiliary electrode collection are not high to requirement of real-time, can be obtained or periodically actively sent by user's active inquiry type.
The visible embodiment 1 of processing method and embodiment 2 of user's active inquiry type.The processing method for periodically actively sending data is described present embodiment.
As gateway receives the regular maintenance class data that node is actively sent, then data in corresponding data mode table are updated after receiving, are then terminated.
3. the 3rd, node active data handling process
The alarm class data and the processing method of regular maintenance class data actively sent according to above-mentioned node, can summarize node active data handling process as shown in Figure 9.As shown in Figure 9:
Step 901 is receives data step, and this flow is triggered beginning at this moment;
Step 902 is updates the data state table step, and gateway receives the data in the corresponding data mode table of the information updatings such as node IP, the sensor ID of data after data;
Step 903 is application type judgment step, and gateway is applied to type after updating the data and carried Take, and judged:It is such as regular maintenance class data, then directly terminates, next step 904 is entered if for alarm class data;
Step 904 sends this alarm class data to the alert management IP that prestores to send gateway in data step, this step, and its transmission form refers to the transmission message format in embodiment 1;
Step 905 after warning information is sent, it is contemplated that the secondary acquisition possibility of user and the requirement of real-time of alarm class data, extracts the sensor ID of this data to extract sensor ID step;Step 906 is then according to the sensor ID extracted in step 905, and the node for possessing this sensor ID into end side network sends data retrieval commands, waits newest associated alarm class data to be received;Step 907 is that reception updates the data step, and after the latest data that node is beamed back is received, state table is updated the data successively, next step command of user is waited.
3. the 4th, effect
According to present embodiment 3, important, urgent alarm class data are received in gateway(Such as the alarm of fire data in intelligent building control)When, this data rapidly can be reported into user, it is ensured that the timely transmission of significant data and emergency data.
In above-mentioned embodiment 1-3, the gateway apparatus and data processing method of the present invention is illustrated so that intelligent building controls gateway apparatus and data processing method in network as an example, but invention is not limitedly applied in intelligent building control network.The quantity of gateway apparatus transmitting order to lower levels can be reduced using the gateway apparatus and data processing method of the present invention in the network that there are multiple terminal nodes, optimizes terminal equipment side web database technology, mitigates the congestion of terminal equipment side network.
4th, embodiment
Hereinafter, three embodiments of the present invention are illustrated with reference to Fig. 1 Figure 13.
4. the 1st, embodiment 1
The present embodiment is based on above-mentioned embodiment 1.
First, in the initialization procedure of network, gateway 101, subnet close the sensor 104 of 102, node 103 including its management and are unlocked.Subnet is independently found with posterior nodal point 103 and closes 102 or gateway 101, access network is asked.Subnet, which closes 102, also independently finds or has been connected to gateway 101.So as to form end side network.The network can be managed by gateway via local user 105 or long-distance user 106.
In the network, user 105 and user 106 herein can be single or multiple, depending on network management or user the need for disposed.In the larger network of number of devices, subnet, which closes 102, can shunt the data of gateway 101, play reduction network congestion, support the effect of more equipment, and quantity can be disposed as the case may be, support multiple subnets to close 102;In the less network of number of devices, subnet can not also be used to close 102, the framework being directly connected using gateway 101 with node 103.Subnet closes the topological structure such as network support typical case of the prior art is star-like or tree-like between 102 and gateway 101, in the present invention In without being discussed in detail.Communication node 103 is the communications device terminal with IP, and it connects one or more sensors 104 containing ID, and connected mode can be that serial ports or bus are connected.The sensor 104 that each communication node 103 is managed can be that different type can also be same type, and complex different types of sensor is considered in the present embodiment.The distribution of sensor 104 depends on convenient during building network is disposed and the factor such as is easily managed.
After initialization, the data for the sensor device that all nodes 103 are managed it are obtained first in network, and are sent to gateway 101, and gateway 101 constructs data mode table according to these data, as shown in Figure 3.Correspondence possesses node IP, sensor ID, style number, the renewal time of data, the term of validity of data and data in itself per data.For style number, according to sensor ID, its application type is defined by gateway 101.The present invention controls the data in network to be classified processing intelligent building herein:The data definition of the acquisitions such as all pernicious gas detection sensors, fire alarm cigarette propagated sensation sensor, gate inhibition's alarm sensor is alarm class data, is divided in this data mode table with 1 class data, is denoted as 01;All temperature sensors, humidity sensor, co2The data definition of the acquisitions such as detection sensor, controlling switch is regular maintenance class data, is divided in this data mode table with 2 class data, is denoted as 02.Such as technology is constantly in progress afterwards, has other class data, this classification can be revised accordingly.Renewal time indicates the temporal information that this data is sent.In intelligent building control network, having this information can easily make gateway or user know whether its data obtained meets requirement.The term of validity indicates the period of validity of this data.Such as alarm class data, due to the key property of its real-time, the term of validity is less than certain threshold value;And for example regular maintenance class data, its real-time does not have that alarm class data are important, and network congestion will be caused by frequently updating.Therefore the data for helping terminal device network are more rationally more effectively updated by the term of validity, one of important parameter that this classification considers when being also gateway decision-making.Field has the actual data value of this data.The data of such as temperature sensor are temperature value, and and for example alarm class sensor can indicate the nothing of alert message with 0,1, have, and the rest may be inferred.
After data mode heading time is set up, it is updated according to the mode such as the timing transmission of node or user command active obtaining data, so as to ensure the real-time of data.
Then, by taking user b as an example, it is assumed that now user b is it should be understood that such as security protection situation in the building, that is, need to obtain the comprehensive condition of the alarm class sensor in the network, how many sirens are in information as alarm state.
Now user first sends the data retrieval commands to gateway 101.Setting due to intra-gateway memory to corresponding application type is preserved, therefore can support the command type shown in Fig. 4.IP such as user is 201.0.0.1, and the IP of purpose gateway is 203.0.0.1,36 points when the time that sends is 12.Now user can carry out data retrieval commands transmission according to corresponding browser or web-based management instrument, and its sending method can be realized by relevant art of the prior art, be not discussed in detail herein.Had in the order Standby necessary factor may make up the typical format of this order, as shown in Figure 10.
Gateway 101 is handled accordingly after the order shown in Figure 10 is received by 201 pairs of orders of central processing unit, and its process step is as shown in Figure 5.Step 501 represents that central processing unit 201 gets order from user side interface 203 first.In this step, central processing unit 201 is also parsed to order, and User IP 201.0.0.1 is stored to memory 202, and gateway IP 203.0.0.1 and the machine IP and subnet are closed into IP lists is contrasted.Command type deposit memory is further extracted if gateway IP is the machine IP, step 502 is carried out;Such as the IP that gateway IP is some subnet pass, then pass through the forward command of interface 204;Such as gateway IP is mismatched with these, then abandons order, and return to error message.In this embodiment, gateway IP and the machine IP-cause, central processing unit 201 extract the deposit memory of command type 01, and enter next step 502.
The step 502 then carried out is that data mode table Check askes step.Central processing unit 201 extracts all same type data, according to command type for the style number in table according to the command type 01 stored in previous step in the data mode table that memory 202 is stored first.In data mode table as shown in Figure 3, the data being extracted are as shown in figure 11.In this embodiment, meeting the data of same type has 3, will enter next step data judgment step 503.If not having to meet desired data in this step, i.e., do not possess this type data in table, then beam back error message, and terminator to user.
Data judgment step 503 is one of committed step of the present invention, and its deterministic process is as shown in Figure 6.The purpose of this judgment step is that whether data meet requirement in the data mode table being extracted for examine Check Figure 11, and such as meet requirement directly can beam back to user, as being unsatisfactory for requiring, be returned to the new data of the sensor requirements of node administration.The purpose of this step is to reduce gateway transmitting order to lower levels quantity, mitigates the jam situation of end side network, and further reduces the user terminal stand-by period.To each data extracted in step 502, the calculating data survival phase T of step 601 will be enteredeStep.Data survival phase TeCalculation formula it is as follows:
Te=(subcommand time)(Data time)
The time that subcommand time is said the word by user herein, and data time is then the renewal time of the data in data mode table.Survival period TeThis data is illustrated from the period being issued to when user requires.
To three datas included by Figure 11, correspondence subcommand time 12:36 its TeResult of calculation it is as follows:
10.0.0.1 01 Te=4
10.0.0.2 01 Te=l
10.0.0.18 01 Te=l
Hereafter judgment step 602 is carried out, central processing unit 201 judges whether the data survival phase is less than the term of validity.The meaning of this logical relation is, this data is shown if survival period is less than or equal to the term of validity Time-to-live is less than period of validity threshold value, is effective;Show that this data survival period is longer if survival period is more than the term of validity, it is as invalid more than term of validity threshold value.Data return to step 504 can be directly entered to valid data;Next step data is also carried out to invalid data and updates step.Therefore in Figure 11 3 datas determine whether it is as follows:
10.0.0.1 01 TeThe term of validity is 3, T in=4e>3, into step 603;
10.0.0.2 01 TeThe term of validity is 3, T in=le<3, into step 504;
10.0.0.18 01 TeThe term of validity is 3, T in=le<3, into step 504.
In step 603, central processing unit construction order, send to IP be 10.0.0.1 node, its command format can using in Figure 12 form as example.In later step 604, central processing unit updates the data corresponding position in state table according to the node 10.0.0.1 data returned, in this embodiment, and Fig. 3 and Figure 11 corresponding data are intended to update.The data is made to enter next step 504.
The tables of data now extracted is as shown in figure 13.
In data return to step 504, central processing unit is by according to the User IP deposited:201.0.0.1 with the data configuration returned data bag in data mode table in Figure 13, and this packet is sent back to user.It beams back the example reference picture 7 of data format.As shown in figure 14, comprising gateway IP:203.0.0.1, User IP:201.0.0.1, data: 10.0.0.1/1; 10.0.0.2/0;10.0.0.18/1, send the time 12:37.
User is obtained after this data, can be known in this network i.e. this building, whether each alarm sensor is triggered.When number of sensors is larger, user, which only sends a subcommand, can obtain comprehensive information, and transfer to gateway to judge to obtain or send the data stored, greatly improve convenience and efficiency that user uses.Before the deadline, user can obtain the data of network inner sensor at once to such as all data, and further forwarded without waiting for gateway, obtain sensing data.
As can be seen that using the data mode table and corresponding data query and judgment step of the present invention by taking this embodiment as an example, it is possible to reduce the number of times of the forward command of gateway 101, the jam situation of end side network is alleviated.
4. the 2nd, embodiment 2
The present embodiment is based on above-mentioned embodiment 2.
First, the general idea of present embodiment 2 is briefly described.SP, it is contemplated that in intelligent building control network, the ordered multicast demand of user, gateway needs to reply unicast and ordered multicast respectively.For unicast data, gateway can be directly by data recovery to user;And for ordered multicast, many datas of reply to user are not optimum way.By taking embodiment 1 as an example, it can be seen that last gateway is returned in the information of user, and included information content is very big, in some communication protocols or environment by prescribing a time limit, generally require to carry out subpackage transmission.Therefore, further optimize this communication process, the data of returned data are optimized, reduce network congestion.For this demand, the present invention provides embodiment 2, and proposes embodiment 2 with this. In the present embodiment 2, the main flow shown in hardware configuration and required data mode table and Fig. 5 needed for gateway 101 is consistent with embodiment 1, and description is not repeated herein.Following part illustrates the flow and data processing method of the data return to step 504 related generally in the present embodiment 2.
After the completion of the data judgment step 503 shown in Fig. 5, gateway obtains the tables of data that user is required and satisfies the prescriptive period, as shown in figure 13.Flow chart of the present embodiment according to Fig. 8 is handled these data.Now central processing unit 201 can carry out integrated treatment according to different application type to different data, and citing in the present embodiment proposes the process step to alarm class data.
First bar enters data return to step 504 by the node 10.0.0.1 data produced.As shown in figure 8, step 801 is parsed to the application type of data.In this step, data class model 01 is extracted.
The alarm types judgment step then carried out, this data class model 01 is contrasted with the alarm class data class model prestored, is also 01 herein.Therefore alarm class data are met, into step 803.
The defined variable X before step 803 initialization, and its value is set to 0.When each meets alarm class data by this step, the specific data of the data are further detected, such data is 1, and the alarm for representing the sensor has been triggered, and now variable X adds 1.
Identical processing procedure is carried out to the second data.The application type of data is parsed in step 801.In this step, data class model 01 is extracted.
The alarm types judgment step then carried out, this data class model 01 is contrasted with the alarm class data class model prestored, is also 01 herein.Therefore alarm class data are met, into step 803.
Judged in step 803, data are 0, the alarm for representing the sensor is not triggered, now the value of variable X does not make any changes.
Identical processing procedure is carried out to Article 3 data.Step 801 is parsed to the application type of data.In this step, data class model 01 is extracted.
The alarm types judgment step then carried out, this data class model 01 is contrasted with the alarm class data class model prestored, is also 01 herein.Therefore alarm class data are met, into step 803.
When step 803 judges, data are 1, and the alarm for representing the sensor has been triggered, and now the value of variable X adds 1.
Same repeat step 801 to 803,3 datas in fig. 13 are completed after judgement, and variable X numerical value is 2.In step 804, the numerical value is sent back to user.
Equally, central processing unit is according to the User IP deposited:201.0.0.1 the data configuration returned data bag stored with variable X, and this packet is sent back to user.It beams back the example reference picture 7 of data format.As shown in figure 15, comprising gateway IP:203.0.0.1, User IP:201.0.0.1, data:2, send the time 12:37.
User is obtained after this data, can be understood and be obtained this network i.e. this building interior, there is 2 alarm biographies Sensor has been triggered, and can quickly obtain alert in building, and can make accurate judgment and handle on this basis.
It can be seen that by taking this embodiment 2 as an example, using the data mode table and corresponding data query and judgment step of the present invention, and processing method, further optimization communication process is realized, the data volume of returned data, which has, to be significantly reduced, and thus network congestion significantly mitigates.
4. the 3rd, embodiment 3
The present embodiment is based on above-mentioned embodiment 3.
Because embodiment 3 has added the embodiment of gateway data handling process when node actively sends data.This embodiment will be described in detail for the present embodiment.
First, the general idea of embodiment 3 is briefly described.SP, it is contemplated that in intelligent building control network, the real-time demand of data with alert.For regular maintenance class data, its time claimed range is wider, can periodically be initiated to update by gateway, be stored in data mode table, user is back to via the acquisition order of user;And it is very high for the required ageing requirement of this significant data of alarm class, such as wait user to obtain the adverse consequences that will cause to handle not in time.
In intelligent building control network, the data definition of the acquisition such as pernicious gas detection sensor, fire alarm cigarette propagated sensation sensor, gate inhibition's alarm sensor is alarm class data.The characteristics of such sensor is real-time monitoring, when running into more than threshold value, will be triggered, and produces data.Using formula is actively sent more than the data of sensors with auxiliary electrode, alarm is sent after triggering to gateway.It is very high for the required ageing requirement of alarm class significant data, failing to transferring to user's processing then to cause adverse consequences in time.
Therefore gateway has suitable processing method to such data, to ensure that alarm class data can inform user in real time, is easy to user to know alert.On this basis, user at least preserves 1 management end IP to gateway, and this IP can be sent data to by being easy to gateway to get such data.In the present embodiment, management end IP is set to 100.0.0.1.
Furthermore, it is contemplated that the situation that single sensor may break down, user may be reaffirmed or be arranged Check to the data of alarm class sensor.On the other hand, to warning information such as fire alarm cigarette propagated sensation sensors, user obtains the coverage situation of such alert again, is easy to preferably processing and investigates.Therefore this kind of emergency data is quickly updated by gateway, is easy to the secondary acquisition data of user.In present embodiment, gateway is received after alarm class data, after transmission notebook data to user, parses sensor ID, the data to sensors with auxiliary electrode in network are updated, to obtain latest data situation.
The initialization procedure of gateway 101 and other network equipments can be with using identical step in embodiment 1.After initialization, such as IP, for 10 Shang 1.23 node, its lower fire perceiving device 02 is triggered, and produces a data, as follows:
IP: 10.1.1.23 ID:02 time: 13:48 data: 1 Node sends this data to gateway, and now node active data handling process of the gateway 101 according to Fig. 9 is handled.As shown in Figure 9:
The data step 901 is receives data step, at this moment due to receiving the data of node, and this flow is triggered beginning;
Step 902 is to update the data state table step, the existing data after receiving the data in the corresponding data mode table of the information updatings such as the node IP of data, sensor ID of gateway 101, data bit 1 that will be new is written to corresponding data bit, will safeguard into this data transmission time 13 renewal time:48;Then into next step, the data mode table after renewal is as shown in figure 16;
In step 903, gateway 101 is extracted after updating the data to application type, and is judged:It is such as regular maintenance class data, then directly terminates, next step 904 is entered if for alarm class data.In this embodiment, application type is 01, as alarm class data, is directly entered next step 904;
Such as step 904 sends this alarm class data to the alert management IP 100.0.0.1 that prestore to send gateway in data step, this step, and its transmission form refers to the transmission message format in embodiment 1,2, shown in Figure 17.The user of test side receives real-time alert, and is thus further processed;Step 905 after warning information is sent, it is contemplated that the secondary acquisition possibility of user and the requirement of real-time of alarm class data, extracts the sensor ID 02 of this data to extract sensor ID step;Following step 906 is then according to the sensor ID 02 extracted in step 905, and the node for possessing sensor ID 02 into end side network sends data retrieval commands, waits newest associated alarm class data to be received;
Step 907 is that reception updates the data step, after the latest data that node is beamed back is received, state table is updated the data successively, and wait next step command of user.Its example is as shown in figure 18.
Compare Figure 16 and Figure 18 as can be seen that the node that IP is 10.1.1.2 has the sensor that same ID is 02.Before sensor 10.L1.23 data are sent, the sensor is probably due to failure or because causing its sensing data to fail real-time update the problems such as packet loss during data transfer, after step 906 and step 907, node 10.1.1.2 gets new alert message after updating the data, contribute to user to obtain the real-time good overall view of alert, be easy to next step to handle.
In the case of the present embodiment 3, important, urgent alarm class data are received in gateway(Such as the alarm of fire data in intelligent building control)When, this data quickly can be reported into user, it is ensured that the timely transmission of significant data and emergency data, and comprehensive data with alert is further obtained, provide good basis for the real-time processing of user.
Industrial applicability
The gateway apparatus that the present invention is provided can industry assembling, involved data processing method improves net The data-handling efficiency of pass, reduces network congestion, it is ensured that the transmission of significant data.The present invention can be applicable in intelligent building control network.

Claims (1)

  1. Claim
    1. a kind of gateway apparatus, data interaction can be carried out with one or more users, and is connected directly or by multiple subnets pass with multiple terminal nodes, each of the multiple terminal node manages one or more equipment, the gateway apparatus is characterised by having:
    The user communication interface communicated with the user;
    For carrying out the end side communication interface with the communication of the terminal node;
    Store the memory of the data on the equipment;With
    Order to data and the user is analyzed and processed, the processor being controlled to data interaction,
    The processor, when receiving the data retrieval commands from user by the user communication interface, the order is analyzed, and check whether the data stored in the memory meet defined requirement, the data are directly beamed back to the user if being required as defined in meeting, beamed back if being required as defined in being unsatisfactory for by the end side communication interface to the data to be looked for novelty of the terminal node, and by the new data that slave unit is obtained to the user.
    2. gateway apparatus as claimed in claim 1, it is characterised in that:
    Data on the equipment include the term of validity of device data, the renewal time of the device data and the device data of the equipment,
    The processor judges whether the device data is effective according to the term of validity of the transmission time, the renewal time of the device data and the device data of the order of the user, the data are directly beamed back to the user when being judged as that the device data is effective, when being judged as that the device data is invalid to the data to be looked for novelty of the terminal node.
    3. gateway apparatus as claimed in claim 2, it is characterised in that:
    When achieving device data via the end side communication interface, the data on the equipment being stored in the memory are updated.
    4. gateway apparatus as claimed in claim 2, it is characterised in that:
    The device data includes alarm class data and the two kinds of data of regular maintenance class data, and the processor analyzes the type of the device data, and according to different types, user is sent to after being handled with different rules data.
    5. gateway apparatus as claimed in claim 4, it is characterised in that:
    The processor analyzes the type of the device data, when the device data is represents to trigger the alarm class data of alarm, the quantity that the processor will send the equipment of the device data is sent to user, when the device data is regular maintenance class data, the processor is by from multiple equipment The integrated information that regular maintenance class data average after processing is sent to user.
    6. gateway apparatus as claimed in claim 4, it is characterised in that:
    When receiving device data via the end side communication interface, type to the device data after it have updated the data on the equipment being stored in the memory judges, when being judged as YES the alarm class data for representing triggering alarm, actively warning information is sent to user, and extract the ID for the equipment for sending the device data, data retrieval commands are sent to the terminal node for possessing identical ID, the data on the equipment in being stored in the memory are being updated after receiving the latest data beamed back from the terminal node.
    7. a kind of data processing method, data processing is carried out using gateway apparatus, wherein the gateway apparatus can carry out data interaction with one or more users, and be connected directly or by multiple subnets pass with multiple terminal nodes, each of the multiple terminal node manages one or more equipment, and the data processing method is characterised by:
    The gateway has memory of the storage on the data of the equipment, and the data processing method comprises the following steps:
    User is received to send to the data retrieval commands of the gateway apparatus,
    The order is analyzed, and examine whether the data that Check is stored in the memory meet defined requirement, the data are directly beamed back to the user if being required as defined in meeting, beamed back if being required as defined in being unsatisfactory for the data to be looked for novelty of the terminal node, and by the new data that slave unit is obtained to the user.
    8. data processing method as claimed in claim 7, it is characterised in that:
    Data on the equipment include the term of validity of device data, the renewal time of the device data and the device data of the equipment,
    Judge whether the device data is effective according to the term of validity of the transmission time, the renewal time of the device data and the device data of the order of the user, the data are directly beamed back to the user when being judged as that the device data is effective, when being judged as that the device data is invalid to the data to be looked for novelty of the terminal node.
    9. data processing method as claimed in claim 8, it is characterised in that:
    When achieving device data, the data on the equipment being stored in the memory are updated.
    10. data processing method as claimed in claim 8, it is characterised in that:
    The device data includes alarm class data and the two kinds of data of regular maintenance class data, analyzes the type of the device data, and according to different types, user is sent to after being handled with different rules data.
    11. data processing method as claimed in claim 10, it is characterised in that:Analyze the type of the device data, when the quantity of equipment of the device data will to send the device data when representing and triggering the alarm class data of alarm is sent to user, the integrated information averaged to the regular maintenance class data from multiple equipment after processing is sent to user when the device data is regular maintenance class data.
    12. data processing method as claimed in claim 10, it is characterised in that:
    When receiving device data, type to the device data after it have updated the data on the equipment being stored in the memory judges, when being judged as YES the alarm class data for representing triggering alarm, actively warning information is sent to user, and extract the ID for the equipment for sending the device data, data retrieval commands are sent to the node for the equipment for possessing identical ID, the data on the equipment in being stored in the memory are being updated after receiving the latest data beamed back from the node.
CN201380036266.5A 2012-09-27 2013-09-04 Gateway apparatus and data processing method Pending CN104662847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201380036266.5A CN104662847A (en) 2012-09-27 2013-09-04 Gateway apparatus and data processing method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201210370836.1A CN103701694A (en) 2012-09-27 2012-09-27 Gateway device and data processing method
CN2012103708361 2012-09-27
PCT/CN2013/001036 WO2014048059A1 (en) 2012-09-27 2013-09-04 Gateway apparatus and data processing method
CN201380036266.5A CN104662847A (en) 2012-09-27 2013-09-04 Gateway apparatus and data processing method

Publications (1)

Publication Number Publication Date
CN104662847A true CN104662847A (en) 2015-05-27

Family

ID=50363096

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201210370836.1A Pending CN103701694A (en) 2012-09-27 2012-09-27 Gateway device and data processing method
CN201380036266.5A Pending CN104662847A (en) 2012-09-27 2013-09-04 Gateway apparatus and data processing method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201210370836.1A Pending CN103701694A (en) 2012-09-27 2012-09-27 Gateway device and data processing method

Country Status (2)

Country Link
CN (2) CN103701694A (en)
WO (1) WO2014048059A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360658A (en) * 2014-11-10 2015-02-18 苏州朗捷通智能科技有限公司 Intelligent building control system based on field bus
JP6582395B2 (en) * 2014-11-14 2019-10-02 オムロン株式会社 Measuring device and control method thereof, management device and control method thereof, and measuring system
CN104735719B (en) * 2015-03-13 2018-07-06 京信通信系统(中国)有限公司 A kind of method and apparatus of premature beats
CN105207733B (en) * 2015-09-09 2016-04-27 深圳市艾迪思特信息技术有限公司 The wireless access of integrated voice and data and transmission method
CN105744298A (en) * 2016-01-30 2016-07-06 安徽欧迈特数字技术有限责任公司 Industrial switch electrical port transmission method based on video code stream technology
CN105549413A (en) * 2016-02-01 2016-05-04 广西禾邦科技有限责任公司 Thing control device region management control method on the basis of internet of things
CN105743751A (en) * 2016-03-26 2016-07-06 成都秦川科技发展有限公司 Internet of Things (IOT) system applicable to smart city system
CN108171957B (en) * 2016-12-07 2021-11-30 中兴通讯股份有限公司 Meter reading method, device and system and communication gateway
CN106594993A (en) * 2016-12-22 2017-04-26 宁波沃弗圣龙环境技术有限公司 Air conditioner control system based on wireless transmission and control method of air conditioner control system
EP3376731B1 (en) * 2017-03-15 2019-12-25 ABB Schweiz AG Rule-based information exchange in internet of things
US11493819B2 (en) 2017-04-26 2022-11-08 View, Inc. Displays for tintable windows
US11892738B2 (en) 2017-04-26 2024-02-06 View, Inc. Tandem vision window and media display
US11747696B2 (en) 2017-04-26 2023-09-05 View, Inc. Tandem vision window and media display
TW201907213A (en) * 2017-04-26 2019-02-16 美商唯景公司 Colored window system computing platform
US11747698B2 (en) 2017-04-26 2023-09-05 View, Inc. Tandem vision window and media display
CN107659494B (en) * 2017-10-12 2020-07-07 领克汽车科技(台州)有限公司 Data processing method and intelligent vehicle-mounted gateway
CN111327668B (en) * 2019-09-25 2022-10-21 杭州海康威视系统技术有限公司 Network management method, device, equipment and storage medium
TWI717929B (en) * 2019-12-09 2021-02-01 鉅康科技股份有限公司 Internet of things communication method
CN111103855A (en) * 2019-12-10 2020-05-05 北京北电科林电子有限公司 Intelligent management system for shared space
CN110958323B (en) * 2019-12-11 2023-08-29 厦门大洋通信有限公司 Internet of things road device communication method

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470385B1 (en) * 1998-03-20 2002-10-22 Fujitsu Limited Network monitoring system, monitored controller, and monitoring controller
CN1933421A (en) * 2006-01-17 2007-03-21 华为技术有限公司 Network element management method and system
CN101056197A (en) * 2006-04-11 2007-10-17 中国移动通信集团公司 Data storage system of the information home electrical appliance and the data processing method
CN101101699A (en) * 2007-07-30 2008-01-09 当代天启技术(北京)有限公司 Method and apparatus for data collection and transmission
CN101119315A (en) * 2007-09-17 2008-02-06 当代天启技术(北京)有限公司 Data transmission method, system and gateway in control network
CN101258530A (en) * 2005-09-07 2008-09-03 国际商业机器公司 Allocating resources in an autonomic sensor network ecosystem
EP2090021A2 (en) * 2006-10-26 2009-08-19 France Telecom Method for monitoring a plurality of equipments in a communication network
CN201707772U (en) * 2009-12-04 2011-01-12 广州市聚晖电子科技有限公司 Security alarm system
CN102055629A (en) * 2009-11-06 2011-05-11 Tcl集团股份有限公司 Home gateway equipment and method for sharing network resources through same
CN102333388A (en) * 2011-09-16 2012-01-25 浙江双友物流器械股份有限公司 Method and system for grouping wireless sensor networks, as well as sensor and data sink node
CN102467558A (en) * 2010-11-19 2012-05-23 海尔集团公司 Method for storing and updating device description file
CN102480369A (en) * 2010-11-23 2012-05-30 中兴通讯股份有限公司 Network management system and method for collecting performance
CN102548055A (en) * 2011-12-31 2012-07-04 大连理工大学 GPRS (General Packet Radio Service) gateway in IOT (internet of things) system
CN102638560A (en) * 2011-12-14 2012-08-15 中兴通讯股份有限公司 Gateway of internet of things and method for connecting gateway with sensing equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3848039B2 (en) * 1999-09-06 2006-11-22 株式会社リコー Internet facsimile gateway apparatus and control method thereof
KR100561633B1 (en) * 2004-09-22 2006-03-20 한국전자통신연구원 Intelligent system and method of visitor confirming and communication service using mobile terminal
CN102111434A (en) * 2010-12-28 2011-06-29 北京邮电大学 Wireless network-based exercise data acquisition and service method and system
CN102624925A (en) * 2012-04-12 2012-08-01 江苏运赢物联网产业发展有限公司 IOT sensing family cloud platform system

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470385B1 (en) * 1998-03-20 2002-10-22 Fujitsu Limited Network monitoring system, monitored controller, and monitoring controller
CN101258530A (en) * 2005-09-07 2008-09-03 国际商业机器公司 Allocating resources in an autonomic sensor network ecosystem
CN1933421A (en) * 2006-01-17 2007-03-21 华为技术有限公司 Network element management method and system
CN101056197A (en) * 2006-04-11 2007-10-17 中国移动通信集团公司 Data storage system of the information home electrical appliance and the data processing method
EP2090021A2 (en) * 2006-10-26 2009-08-19 France Telecom Method for monitoring a plurality of equipments in a communication network
CN101101699A (en) * 2007-07-30 2008-01-09 当代天启技术(北京)有限公司 Method and apparatus for data collection and transmission
CN101119315A (en) * 2007-09-17 2008-02-06 当代天启技术(北京)有限公司 Data transmission method, system and gateway in control network
CN102055629A (en) * 2009-11-06 2011-05-11 Tcl集团股份有限公司 Home gateway equipment and method for sharing network resources through same
CN201707772U (en) * 2009-12-04 2011-01-12 广州市聚晖电子科技有限公司 Security alarm system
CN102467558A (en) * 2010-11-19 2012-05-23 海尔集团公司 Method for storing and updating device description file
CN102480369A (en) * 2010-11-23 2012-05-30 中兴通讯股份有限公司 Network management system and method for collecting performance
CN102333388A (en) * 2011-09-16 2012-01-25 浙江双友物流器械股份有限公司 Method and system for grouping wireless sensor networks, as well as sensor and data sink node
CN102638560A (en) * 2011-12-14 2012-08-15 中兴通讯股份有限公司 Gateway of internet of things and method for connecting gateway with sensing equipment
CN102548055A (en) * 2011-12-31 2012-07-04 大连理工大学 GPRS (General Packet Radio Service) gateway in IOT (internet of things) system

Also Published As

Publication number Publication date
CN103701694A (en) 2014-04-02
WO2014048059A1 (en) 2014-04-03

Similar Documents

Publication Publication Date Title
CN104662847A (en) Gateway apparatus and data processing method
CN110807905B (en) Community fire monitoring system based on end-edge-cloud architecture
CN104104718B (en) User autonomous routing customization system based on software-defined network
CN101567814B (en) Automatic network management method based on SNMP and stochastic Petri net
CN105657773B (en) Communication system, communication equipment, controller and method
CN103081407B (en) Fail analysis device, trouble analysis system and failure analysis methods
CN101401133B (en) Selective activation of field devices in low power wireless mesh networks
CN101682537B (en) Priority-based scheduling and routing in a wireless ntework
CN106411820A (en) Industrial communication flow transmission safety control method based on SDN architecture
CN101258713A (en) System and method of scheduling delivery of packets
CN102158983A (en) Method for constructing 6LoWPAN wireless sensor network
CN104601365B (en) A kind of node device monitoring method and device
CN106162639A (en) SDN wireless network management platform based on Floodlight and authentication method
CN106685676A (en) Node switching method and device
CN102014407A (en) Simple network management protocol (SNMP)-based wireless sensor network domain authorized proxy management mechanism
CN101022367A (en) Network management method and system
KR20170017867A (en) Maintaining routing information
CN105790990A (en) Method and system for monitoring and managing power distribution and utilization communication business
CN103796343B (en) M2M gateway devices and its application process
CN108154669A (en) Intelligent monitoring system for bridge
CN107018018A (en) A kind of server delta online upgrading method and system based on SDN
CN105282770A (en) Wireless self-healing networking optimization and self-inspection method
CN103973489B (en) A kind of heterogeneous device centralized monitoring system
CN104506339A (en) Industrial Ethernet network topology management implementation method based on PROFINET
CN103000047A (en) Monitoring system for parking places in parking lot

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20180724