CN102752396B - Built-in sensing server and data control method thereof - Google Patents

Built-in sensing server and data control method thereof Download PDF

Info

Publication number
CN102752396B
CN102752396B CN201210247169.8A CN201210247169A CN102752396B CN 102752396 B CN102752396 B CN 102752396B CN 201210247169 A CN201210247169 A CN 201210247169A CN 102752396 B CN102752396 B CN 102752396B
Authority
CN
China
Prior art keywords
server
data
sensing
central server
module
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.)
Expired - Fee Related
Application number
CN201210247169.8A
Other languages
Chinese (zh)
Other versions
CN102752396A (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.)
Shanghai Chengye Technology & Engineering Co Ltd
Original Assignee
Shanghai Chengye Technology & Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Chengye Technology & Engineering Co Ltd filed Critical Shanghai Chengye Technology & Engineering Co Ltd
Priority to CN201210247169.8A priority Critical patent/CN102752396B/en
Publication of CN102752396A publication Critical patent/CN102752396A/en
Application granted granted Critical
Publication of CN102752396B publication Critical patent/CN102752396B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of built-in sensing server and data control method thereof, server is implanted embedded system, is embedded server; Sensor access expansion board, can connect several piece multichannel expansion board, connects embedded server mainboard, then connects central server, finally connects sensing service network platform. Described data control method comprises the following steps: after sensing server powers on, start sensing server embedded system and acquisition module; Initiatively connect central server; Send Handshake Protocol to central server, start normal data acquisition circulation; Central server is received after the data result of format of sensing server equipment transmission, carries out the public announcement of data in the unification of sensing service network platform. The present invention's various kinds of sensors equipment of can plugging into, and active upload sensing equipment data, after process data this locality, by various transport modules, then send data to central server or platform database, can with client interaction.

Description

Built-in sensing server and data control method thereof
Technical field
The present invention relates to Internet of Things applied technical field, relate to this locality processing of multichannel multiple sensors data and the apparatus and method of controlling, particularly a kind of built-in sensing server and data control method thereof.
Background technology
Along with the development of Internet of Things application technology, China has had the complete industrial chain from material, technology, device, system to network, and in Sensor Network field, the world, China, together with Germany, the U.S., Korea S, becomes one of leading state of international standard formulation. But the actual popularization of Internet of Things still has a following difficult problem:
In each professional domain, because the manufacturer of sensor and smart machine is many, different specialties, different applied environments, applied sensor is not quite similar, the agreement using is different again, so be major issue of current various Internet of things system to the compatibility of various device.
Each engineering needs to reprogram, and the engineering construction cycle is long, and reliability is low, troublesome maintenance, and system extension is very difficult, and user can not complete voluntarily, and the management function imperfection of software can not play well auxiliary management role; And the unicity of software application is outstanding, and there be limited evidence currently of is seen cross-platform software, the client that user must adopt owner to provide.
Install, implement and use very complicatedly, personnel are had to high technical requirement, because the kind of interface that equipment provides is very many, having 422,485,232, a CAN bus etc. Meanwhile, on market, lack the platform of a unification, compatibility, and be all the software based on PC server, install, debug very complicated. Adopt PC server and software pattern, except installation and debugging are very complicated, technical requirement high, it is also very inconvenient to use, also have poor stability simultaneously, can not arbitrarily arrange there is special server, machine is arranged in to machine room, the problem such as adaptability is very poor.
Along with the develop rapidly of electronics and IT technology, Internet of Things development has also entered fast traffic lane, and society is no longer that concept is promoted to its demand, but wishes to enter practical application. Therefore, how by relevant technological means, form unified system standard, integrate report control platform, these problems are solved in the lump, the superiority that allows user can be convenient, experience accurately, safely technology of Internet of things, is the target that Internet of Things engineers is pursued.
Summary of the invention
Task of the present invention is to provide a kind of built-in sensing server and data control method thereof, its the various kinds of sensors equipment of can plugging into, and active upload sensing equipment data, after process data this locality, by various transport modules, then send data to central server or platform database.
Technical solution of the present invention is as follows:
A kind of built-in sensing server, it comprises various kinds of sensors and server, described server is implanted embedded system, is embedded server; Described sensor access expansion board, can connect several piece multichannel expansion board, and multichannel expansion board connects embedded server mainboard, and embedded server mainboard connects central server, and central server connects sensing service network platform;
The setting of described embedded server mainboard comprises the first integration module, data processing module, data memory module and the second integration module, and they connect according to the order of sequence;
Described the first integration module comprises analog variable acquisition module, numerical variable acquisition module, alarm signal acquisition module, signal conversion module, each module parallel connection;
Described the second integration module comprises TCP/IP transport module, WIFI wireless transport module, Mobile data transport module, satellite data transport module, each module parallel connection.
Described multichannel expansion board connects embedded server mainboard by USB interface.
Described multichannel expansion board can be set up to 16.
A data control method that adopts above-mentioned built-in sensing server, comprises the following steps:
After sensing server powers on, start sensing server embedded system and acquisition module, whether start normally, if so, connect central server; If not, be automatically directed to and restart;
System completes after startup, starts initiatively to connect central server, and request connects and can ask repeatedly, if after all not responding, system can enter the stage of restarting; If central server has connection response and set up connection, enter next step;
System sends Handshake Protocol to central server, in Handshake Protocol, show the unique ID number of time of shaking hands and this sensing server equipment, have special statement to express is the member of system simultaneously, and central server receives the configuration information that should send all passages of this equipment after Handshake Protocol to this equipment; If this equipment does not receive the information of channel unit, after time several seconds that wait is set, restart, if this equipment is received information, start normal data acquisition circulation;
Data acquisition circulation comprises data acquisition, data calculating and analyzes, and treated data are sent to central server according to uniform protocol form, issue by central server is unified, in this simultaneously, central server is by timed sending heartbeat signal, to confirm that communication is still normal, the time of information, synchronizer and central server while simultaneously having comprised school in heartbeat signal the inside; Do not receive heartbeat signal if exceeded in time several seconds of setting, enter the stage of restarting;
Central server is received after the data result of format of sensing server equipment transmission, carries out the public announcement of data in the unification of sensing service network platform.
The present invention utilizes modern embedded technology, merges intelligence and Internet technology, the serial port protocols such as support 485,232,422, the sensor (comprising various analog quantitys, switching value, thermocouple, thermal resistance etc.) of compatible each quasi-tradition; Special smart interface comprises CANBUS agreement, snmp protocol, smart machine (as intelligent air condition, UPS, blower fan, smart electronics instrument etc.) that also can be compatible existing; By infrared and RFID interface and agreement thereof, all right compatible infrared and RFID radio-frequency technique; Compatible microsensor simultaneously, thus a unified sensor platform formed, realize the electrification of domestic of plug and play, fool application operational mode. In the network operation, by articulating different network transmission modules, realize the compatibility to multiple network communication modes such as wireless, broadband, 3G, satellites, adopt initiatively searching service device and data active upload technology of equipment simultaneously, the problem of not fixing IP while having solved large-scale application on the internet, makes the adaptive capacity of network obtain substantive raising.
The present invention adopts built-in sensing server, the current all sensing of moving on PCServer (thing connection) net software is integrated in hardware device and is gone, and by the compatibility to a large amount of hardware devices, most sensors, acquisition module equipment, smart machine, control appliance are realized to seamless integration, reach the physical descriptor data that all kinds of front end sensing equipments are gathered, automatically collect, process, upload, make rear end central server (database), in time information is issued on sensing service network platform and with client interaction.
The present invention adopts high performance embedded server framework, can realize than the data-handling capacity of the powerful decades of times of single-chip microcomputer, owing to having adopted Linux as operating system, therefore there is very high maintainability and upgradability, thereby can realize the compatibility to numerous communications protocol simultaneously.
Management platform of the present invention adopts Browser-Server structure, and the information published method based on Web2.0 and the cross-platform developing instrument of employing, can realize the support to various intelligent terminals with comparalive ease. Sensing service network platform is according to the data result of receiving, send dependent instruction or warning to terminal workstation's (contain but be not limited to PC, iPAD, smart mobile phone), thereby realize the round-the-clock unmanned management and control that needs the relevant device of monitoring, machine room, environment, waters, meteorology, air, traffic, personnel etc. object.
Brief description of the drawings
Fig. 1 is the structural representation of a kind of built-in sensing server of the present invention.
Fig. 2 is the Data Control flow chart of a kind of built-in sensing server of the present invention.
Detailed description of the invention
Referring to Fig. 1, the invention provides a kind of built-in sensing server, it comprises expansion board and the server master board that various kinds of sensors accesses, server is implanted embedded system, is embedded server. Sensor access expansion board can connect some multichannel expansion board, and multichannel expansion board connects embedded server mainboard, and embedded server mainboard connects central server by network, and central server connects sensing service network platform. Multichannel expansion board can be set up to 16. Multichannel expansion board is by USB(2.0,3.0) interface connection embedded server mainboard.
Embedded server mainboard is provided with the first integration module 1, data processing module, data memory module and the second integration module 2, and they connect according to the order of sequence.
The first integration module 1 comprises the modules such as analog variable acquisition module, numerical variable acquisition module, alarm signal acquisition module, signal conversion module, each module parallel connection.
The second integration module 2 comprises the modules such as TCP/IP transport module, WIFI wireless transport module, Mobile data transport module, satellite data transport module, each module parallel connection.
Referring to Fig. 2, the present invention also provides a kind of data control method of built-in sensing server, comprises the following steps:
After sensing server powers on, start server embedded system and acquisition module, whether start normally, if so, connect central server; If not, be automatically directed to and restart.
System completes after startup, starts initiatively to connect central server by network, and request connects meeting request repeatedly, if after all not responding, system can enter the stage of restarting. If central server has connection response and set up connection, enter next step.
System sends Handshake Protocol to central server, has shown the unique ID number of time of shaking hands and this sensing server equipment in Handshake Protocol, and have special statement to express is the member of system simultaneously. Central server receives the configuration information that should send all passages of this equipment after Handshake Protocol to this equipment. If this equipment does not receive the information of channel unit, after time several seconds that wait is set, restart; If this equipment is received information, start normal data acquisition circulation.
Data acquisition circulation comprises data acquisition, data calculating and analysis, and treated data are sent to central server according to uniform protocol form, issues by central server is unified. In this simultaneously, central server is timed sending heartbeat signal, to confirm that communication is still normal, and the time of information, synchronizer and central server while simultaneously having comprised school in heartbeat signal the inside; If do not receive heartbeat signal within time several seconds that exceedes setting, enter the stage of restarting.
Central server is received after the data result of format of sensing server equipment transmission, is carried out the issue of data in the unification of sensing service network platform.
The Data Control basic procedure principle of built-in sensing server of the present invention is: adopt hardware sensing server to add the mode of central server combination; Adopt the framework of fat sensing server (host computer) and thin server; Sensing server (host computer) data acquisition, data calculating, data analysis, result output, active are detected and are connected central server; Central server mainly completes: connection request, the data configuration request of response sensing server, acceptance and the data storage of data result, timing heartbeat and clock correction to sensing server have been responsible for simultaneously, and as requested with device program, interactive and report to the police in sensing service network platform distributing data information or implementation data.
The relation of each main flow process of the present invention is described below in conjunction with Fig. 2:
(1) startup of sensing server and acquisition module thereof, interrupts when start-up loading occurs in sensing server device power, unit exception, Network Abnormal, data communication fault, service disruption and heartbeat school etc. in situation.
(2) Handshake Protocol: the Handshake Protocol between sensing server and central server, mainly comprises and time, the protocol contents of shaking hands etc. uploading, upload for No. ID of sensing server only could activate sensing server in the on all four situation of agreement.
(3) configuration parameter: complete after Handshake Protocol, by central server, unification after the device parameter of each passage of this sensing server and application parameter packing is sent to sensing server equipment.
(4) heartbeat and clock synchronous correction: whether the communication link between detecting sensing server and central server is normal, carries out clock check and correction, with parameter unified time simultaneously; When the communication between sensing server and central server has when abnormal, sensing server can independently be restarted and loaded and reconnect central server.
In actual applications, the main flow process of the data control method of a kind of built-in sensing server of the present invention is as follows:
1,, after sensing server powers on, the module device that hardware detection, firmware startup, self-inspection, startup detection are carried additionally, has when abnormal and is automatically directed to and restarts.
2, system completes after startup, according to built-in setting, starts initiatively to connect central server, and request connects and can ask repeatedly, and after all not responding, system can enter the stage of restarting; If central server has connection response and set up connection, enter next step.
3, connect after foundation, sensing server system sends Handshake Protocol to central server, in Handshake Protocol, show the unique ID number of time of shaking hands and this sensing server equipment, have special statement to express is the member of system simultaneously, and server receives the configuration information that should send all passages of this equipment after Handshake Protocol to this equipment. If this equipment does not receive the information of channel unit, after time several seconds that wait is set, restart; If this equipment is received information, start normal data acquisition circulation.
4, data acquisition circulation comprises data acquisition, data calculating and analyzes, and data are sent to central server according to unified protocol format, issues by central server is unified. In this simultaneously, central server is timed sending heartbeat signal, to confirm that communication is still normal, and the time of information, synchronizer and central server while simultaneously having comprised school in heartbeat signal the inside; Do not receive heartbeat signal if exceeded in time several seconds of setting, enter and restart the stage.
5, central server is received after the data result of format of equipment transmission, carries out the issue of data in the unification of sensing service network platform.
In sum, adopt built-in sensing server of the present invention and data control method thereof, the various kinds of sensors of can plugging into equipment, and active upload sensing equipment data, after process data this locality, by various transport modules, then send data to central server or platform database.
Certainly, those skilled in the art in the art will be appreciated that, above-described embodiment is only for the present invention is described, and not as limitation of the invention, as long as within the scope of connotation of the present invention, variation, the modification etc. of above-mentioned enforcement all will be dropped in the scope of the claims in the present invention.

Claims (2)

1. a built-in sensing server, it comprises various kinds of sensors and two kinds of equipment of server, it is characterized in that: described server is implanted embedded system, is embedded server; Described sensor access multichannel expansion board, can connect several piece multichannel expansion board, and multichannel expansion board connects embedded server mainboard, and embedded server mainboard connects central server, and central server connects sensing service network platform;
The setting of described embedded server mainboard comprises the first integration module, data processing module, data memory module and the second integration module, and they connect according to the order of sequence;
Described the first integration module comprises analog variable acquisition module, numerical variable acquisition module, alarm signal acquisition module, signal conversion module, each module parallel connection;
Described the second integration module comprises TCP/IP transport module, WIFI wireless transport module, Mobile data transport module, satellite data transport module, each module parallel connection;
Described multichannel expansion board connects embedded server mainboard by USB interface;
The Data Control mode of described built-in sensing server is as follows:
After described built-in sensing server powers on, start embedded system and acquisition module in built-in sensing server, whether start normally, if so, connect central server; If not, be automatically directed to and restart;
System completes after startup, starts initiatively to connect central server, and request connects and can ask repeatedly, if after all not responding, system can enter the stage of restarting; If central server has connection response and set up connection, enter next step;
System sends the Handshake Protocol of concluding to central server, in Handshake Protocol, show the unique ID number of time of shaking hands and this built-in sensing server apparatus, have special statement to express is the member of system simultaneously, and central server receives the configuration information that should send all passages of this equipment after Handshake Protocol to this equipment; If this equipment does not receive the information of passage configuration, after time several seconds that wait is set, restart, if this equipment is received information, start normal data acquisition circulation;
Data acquisition circulation comprises data acquisition, data calculating and analyzes, and treated data are sent to central server according to uniform protocol form, issue by central server is unified, meanwhile, central server sends heartbeat signal by timing to embedded server, to confirm that communication is still normal, the time of information, synchronizer and central server while simultaneously having comprised school in heartbeat signal the inside; Do not receive heartbeat signal if embedded server exceeded in time several seconds of setting, enter the stage of restarting;
Central server is received after the data result that forms reference format through providing data formatting of built-in sensing server apparatus transmission, carries out the public announcement of data in the unification of sensing service network platform;
The Data Control basic procedure principle of described built-in sensing server is: adopt hardware sensing server to add the mode of central server combination; Adopting fat sensing server is the framework of host computer and thin server; Sensing server is host computer data acquisition, data calculating, data analysis, result output, active detecting and is connected central server; Central server mainly completes: connection request, the data configuration request of response sensing server, acceptance and the data storage of data result, timing heartbeat and clock correction to sensing server have been responsible for simultaneously, and as requested with device program, interactive and report to the police in sensing service network platform distributing data information or implementation data;
Adopt built-in sensing server, current all Internet of Things software moving on PCServer is integrated in hardware device and is gone, and by the compatibility to hardware device, sensor, acquisition module equipment, smart machine, control appliance are realized to seamless integration, reach the physical descriptor data that all kinds of front end sensing equipments are gathered, automatically collect, process, upload, make rear end central server or database, in time information is issued on sensing service network platform and with client interaction;
Adopt high performance embedded server framework, can realize than the data-handling capacity of the powerful decades of times of single-chip microcomputer, owing to adopting Linux as operating system, therefore there is maintainability and upgradability, thereby can realize the compatibility to numerous communications protocol simultaneously;
The management platform of described built-in sensing server and Data Control mode adopts Browser-Server structure, and the information published method based on Web2.0 and the cross-platform developing instrument of employing, realize the support to intelligent terminal; Sensing service network platform, according to the data result of receiving, sends dependent instruction or warning to terminal workstation, thereby realizes the round-the-clock unmanned management and control that needs the relevant device of monitoring, machine room, environment, waters, meteorology, air, traffic, personnel's object.
2. built-in sensing server according to claim 1, is characterized in that: described multichannel expansion board can be set up to 16.
CN201210247169.8A 2012-07-17 2012-07-17 Built-in sensing server and data control method thereof Expired - Fee Related CN102752396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210247169.8A CN102752396B (en) 2012-07-17 2012-07-17 Built-in sensing server and data control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210247169.8A CN102752396B (en) 2012-07-17 2012-07-17 Built-in sensing server and data control method thereof

Publications (2)

Publication Number Publication Date
CN102752396A CN102752396A (en) 2012-10-24
CN102752396B true CN102752396B (en) 2016-05-18

Family

ID=47032294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210247169.8A Expired - Fee Related CN102752396B (en) 2012-07-17 2012-07-17 Built-in sensing server and data control method thereof

Country Status (1)

Country Link
CN (1) CN102752396B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802139A (en) * 2012-07-10 2012-11-28 无锡航天飞邻测控技术有限公司 Gateway data adapting system and method of Internet of Things
CN103207582A (en) * 2012-11-05 2013-07-17 陕西拓普索尔电子科技有限责任公司 Wireless paperless recording instrument based on 3G (third-generation telecommunication)/Beidou satellite communication technology
CN103475563A (en) * 2013-09-28 2013-12-25 上海成业智能科技股份有限公司 Implementation method and monitoring system for public network VPN with non-fixed IP address
CN104065921A (en) * 2014-06-20 2014-09-24 上海成业智能科技股份有限公司 Security and protection wide area network embedded type monitoring device and control method thereof
CN105717848A (en) * 2016-04-25 2016-06-29 湖南云协网络信息科技有限公司 Cloud-cooperation general intelligent remote monitoring system
CN109257380A (en) * 2018-11-08 2019-01-22 河南知天科技有限公司 The more producer's internet of things equipment fusion management of multi-protocols and weather information delivery system
CN113672455A (en) * 2021-08-03 2021-11-19 苏州关安健信息技术科技有限公司 Data acquisition and analysis method for industrial Internet of things

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201374725Y (en) * 2009-01-09 2009-12-30 湖北工业大学 GPRS-based device for interchanging embedded sensors and WEB data
CN201845443U (en) * 2010-09-21 2011-05-25 武汉荣耀智能科技有限责任公司 Bus in-place detection system based on Zigbee technology

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201293658Y (en) * 2008-09-26 2009-08-19 高峰 Plant water regime automatic detection system based on wireless sensor network
IT1391799B1 (en) * 2008-11-21 2012-01-27 Sirti Spa METHOD AND SYSTEM FOR THE PROTECTION OF AN ELECTRIC LINE FOR RAILWAY SIGNALS

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201374725Y (en) * 2009-01-09 2009-12-30 湖北工业大学 GPRS-based device for interchanging embedded sensors and WEB data
CN201845443U (en) * 2010-09-21 2011-05-25 武汉荣耀智能科技有限责任公司 Bus in-place detection system based on Zigbee technology

Also Published As

Publication number Publication date
CN102752396A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
CN102752396B (en) Built-in sensing server and data control method thereof
US8510587B2 (en) Time synchronization system and server using a baseboard management controller acquiring time signals to record occurrence time of system logs before than host system
KR101327680B1 (en) Apparatus, system and method for upgrading firmware of energy device
CN105389249B (en) Abnormal log generates configuration method and abnormal log generates configuration device
EP3651474B1 (en) System on a module for smart grid nodes
Johnston et al. Applicability of commodity, low cost, single board computers for Internet of Things devices
Di Nisio et al. Design of a low cost multipurpose wireless sensor network
CN109240966A (en) A kind of accelerator card based on CPLD, collecting method and device
Alkar et al. An internet-based interactive embedded data-acquisition system for real-time applications
CN102662818A (en) Server remote monitoring management method based on intelligent handheld equipment
CN104167822B (en) A kind of method for parameter configuration for distribution automation terminal device
CN203405712U (en) Intelligent household monitoring system based on cloud computation
US20190342737A1 (en) Remote bluetooth communication system
GB2528607A (en) Monitoring system, facility management device, monitoring method, and program
CN112583824A (en) Protocol conversion configuration system and method based on OPC UA
EP2775665A1 (en) Network system, node device group, computer device, and method for transmitting and receiving sensor data
CN104133428A (en) Intelligent electrical equipment control method
CN101483568A (en) Upgrading method, control appliance and system for UPnP equipment
CN204244262U (en) Based on the consistency test device of IEC 61850 configuration file of NI CRIO platform
CN116610508A (en) Heat dissipation test method and device, electronic equipment and storage medium
KR20140094298A (en) Method and Apparatus for Sharing Functions of M2M Devices based on Gateway
CN115543746A (en) Graphics processor monitoring method, system and device and electronic equipment
TW202014887A (en) Device control method, control apparatus, and system
Zwavashe et al. Integrating GSM and Zigbee Wireless Networks for Smart A2 farming Enterprises in Zimbabwe
CN207869401U (en) A kind of safety-type power grid private radio communication module of wisdom based on linux 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
CB02 Change of applicant information

Address after: Shanghai City, Putuo District Xikang Road 200060 A Victoria Plaza No. 1068 building 22 floor B block

Applicant after: SHANGHAI CHENGYE TECHNOLOGY & ENGINEERING Co.,Ltd.

Address before: Shanghai City, Putuo District Xikang Road 200060 A Victoria Plaza No. 1068 building 22 floor B block

Applicant before: SHANGHAI CHENGYE TECHNOLOGY & ENGINEERING Co.,Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160518

CF01 Termination of patent right due to non-payment of annual fee