CN102857567B - A kind of data transmission system based on internet of things sensors and method - Google Patents

A kind of data transmission system based on internet of things sensors and method Download PDF

Info

Publication number
CN102857567B
CN102857567B CN201210330322.3A CN201210330322A CN102857567B CN 102857567 B CN102857567 B CN 102857567B CN 201210330322 A CN201210330322 A CN 201210330322A CN 102857567 B CN102857567 B CN 102857567B
Authority
CN
China
Prior art keywords
data
submodule
function
equipment
sensor
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
CN201210330322.3A
Other languages
Chinese (zh)
Other versions
CN102857567A (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.)
NFS-CHINA SOFTWARE Co Ltd
Original Assignee
NFS-CHINA SOFTWARE 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 NFS-CHINA SOFTWARE Co Ltd filed Critical NFS-CHINA SOFTWARE Co Ltd
Priority to CN201210330322.3A priority Critical patent/CN102857567B/en
Publication of CN102857567A publication Critical patent/CN102857567A/en
Application granted granted Critical
Publication of CN102857567B publication Critical patent/CN102857567B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a kind of data transmission system based on internet of things sensors and method, the object of the invention is in a kind of data transfer control system of the basic upper framework of internet of things sensors and method, local application energy and network program is made to carry out data interaction, realize managing from sensor device, data acquisition, data manipulation controls, the overall process optimization solution being encapsulated into network application of data and operation, for client provides feature richness, cross-platform, can customize programming, extendible software solution method.

Description

A kind of data transmission system based on internet of things sensors and method
Technical field
The present invention relates to Internet of Things field, especially relate to a kind of data transmission system based on internet of things sensors and method.
Background technology
The English name of Internet of Things is " The Internet of Things ", is called for short: IOT.The core of Internet of Things and basis are the Internets, are a kind of networks of extension on Internet basic and expansion.Its user side extends and extend between any article and article and carries out information exchange and communicate.Information sensing equipment, by the agreement of agreement, is connected any article, carries out information exchange and communicate, to realize a kind of network concept of Weigh sensor, location, tracking, monitor and managment with the Internet.The extensive use of technology of Internet of things is the industrial upgrading of information-technology age, realizes striding equipment, cross-platform application.The arrival of new technology revolution, the world enters the information age.In the process utilizing information, what first will solve will obtain information accurately and reliably exactly, and transducer is the main path and the means that obtain information in nature and production field.The development of modern science and technology also be unable to do without transducer, and transducer can help to obtain new mechanism and highly sensitive detection data.The engineering system of various complexity, most modernization project all be unable to do without transducer.As described before, as be 201010232621.4 at number of patent application, denomination of invention is as described in a kind of open intelligent earth system architecture and implementation method, it is based on intelligent information system, sensor network technique and technology of Internet of things, gives the enforcement sample of feasibility in Geomatics field.It is a kind of open intelligent earth implementation method, data and the information of the earth and correlated phenomena thereof is obtained by various inductor and detector, wired or wireless communication technology is adopted to transmit data, integrated and management is carried out to data, adopt and in various manners data identified, process and extract useful information, knowledge transformation is become various service mode and the product of adaption demand, provide Intelligent Service by intelligent terminal Government mechanism, sector application and individual.But to the collection of sensor data with service efficiency is lower, inductor does not have extensibility and compatibility in prior art.Not for user provides developable interface in prior art, can not realize allowing User Defined develop.For above problem, the object of the invention is in a kind of data transfer control system of the basic upper framework of internet of things sensors and method, local application energy and network program is made to carry out data interaction, realize managing from sensor device, data acquisition, data manipulation controls, and the overall process optimization solution being encapsulated into network application of data and operation, for client provides feature richness, extendible software solution method.
Present invention achieves as inductor (refering in particular to the inductor in smart machine) provides extendible spare interface, and the data of inductor collection are effectively used, information interaction can be carried out between the plurality of devices of Internet of Things.
Summary of the invention
The invention provides a kind of data transmission system based on internet of things sensors, it comprises with lower module: sensor module, for obtaining each raw sensory supplemental characteristic in smart machine; Data operation modules, is responsible for the realization of Commonuse type variable-definition and Commonuse type data manipulation function; Operation control module, enable for control data transmission time, transmission frequency, transmission, comprise data acquisition submodule, whether sensor data changes submodule, method of controlling operation thereof function submodule; Public function in data acquisition submodule usage data operational module and device, method function obtain initial data, and the initial data assignment obtained to the data variable of previous definition, sensor data can be called simultaneously and whether change submodule and carry out condition judgment; Method of controlling operation thereof function submodule is used for set device startup, equipment stops, data acquiring frequency, whether whether sensor data changes the initial data that submodule reads out for condition judgment changes, if data variation, directly to upper strata propelling data.Middleware interface module, comprises inductor interface, sensor data obtains submodule, package operational data submodule three part; A kind of equipment in the corresponding bottom code of each inductor interface is operand corresponding in middleware module for encapsulating the equipment initial data of acquisition, and for transmitting numerical value and transmitting operation information; Sensor data obtains submodule for obtaining the operand data through encapsulation; Package operational data submodule is used for according to the specific data manipulation method of the requirement definition of user, is supplied to upper layer application with the form of javascript function; Network application module, it is cross-platform web application, this program is performed by browser resolves corresponding in smart machine, and the interface function that this application call middleware interface module provides realizes equipment initial data, and realizes defined interface function.
Further, sensor module comprises: transducer, local device and the submodule for calling local application; Transducer comprises acceleration transducer, gyro sensor, light sensor, geomagnetic sensor, compass detector, direction sensor, pressure sensor, proximity transducer, temperature sensor etc.; It is first-class that local device comprises shooting; Call local application submodule for obtaining network connection type, local contact information, local device information, CDMA/GSM signal strength signal intensity.
Further, data operation modules comprises equipment control submodule and data manipulation management submodule, equipment control submodule take equipment as operand, define equipment title, define equipment type, initialization apparatus, define equipment state, define equipment method function, provide relevant public function for operation control module; The initial data that data manipulation management submodule obtains with equipment, for object, will define data type variable, define data manipulation control variables, realize data manipulation function, transfer of data function.
Further, data operation modules uses long polling mode, open one and connect maintenance later, wait for that sensor module pushes data and carries out corresponding operating, network application module is initiated periodically to call, equipment being regarded as one with OO programming mode can operand, the operation to these operands is realized in middleware interface module, equipment end keeps a queue, network application module is by calling the Javascript object data returned in queue, the html page is performed by browser resolves, html script language calling Javascript interface function obtains the object previously returned, the function of User Defined individual demand, with the self-defining interfacial effect of Javascript object customization obtained.
Present invention also offers a kind of data transmission method based on internet of things sensors, it comprises the following steps: step (1) sensor module obtains each raw sensory supplemental characteristic in smart machine; Step (2) data operation modules is responsible for the realization of Commonuse type variable-definition and Commonuse type data manipulation function; Public function in step (3) data acquisition submodule usage data operational module and device, method function obtain initial data, and the initial data assignment obtained to the data variable of previous definition, sensor data can be called simultaneously and whether change submodule and carry out condition judgment; Method of controlling operation thereof function submodule is used for set device startup, equipment stops, data acquiring frequency, whether whether sensor data changes the initial data that submodule reads out for condition judgment changes, if data variation, directly to upper strata propelling data; Step (4) is operand corresponding in middleware module for per unit each inductor interface for encapsulating the equipment initial data of acquisition, and for transmitting numerical value and transmitting operation information; Sensor data obtains submodule for obtaining the operand data through encapsulation; Package operational data submodule is used for according to the specific data manipulation method of the requirement definition of user, is supplied to upper layer application with the form of javascript function; Step (5) network application module is performed by browser resolves corresponding in smart machine, and the interface function that calling middleware interface module provides realizes equipment initial data, and realizes defined interface function.
Further, sensor module comprises: transducer, local device and the submodule for calling local application; Transducer comprises acceleration transducer, gyro sensor, light sensor, geomagnetic sensor, compass detector, direction sensor, pressure sensor, proximity transducer, temperature sensor etc.; It is first-class that local device comprises shooting; Call local application submodule for obtaining network connection type, local contact information, local device information, CDMA/GSM signal strength signal intensity.
Further, data operation modules comprises equipment control submodule and data manipulation management submodule, equipment control submodule take equipment as operand, define equipment title, define equipment type, initialization apparatus, define equipment state, define equipment method function, provide relevant public function for operation control module; The initial data that data manipulation management submodule obtains with equipment, for object, will define data type variable, define data manipulation control variables, realize data manipulation function, transfer of data function.
Further, described data acquisition submodule uses the Commonuse type data manipulation function in described data operation modules and the method function in described local device simultaneously.
Further, described sensor interface is N number of, wherein N >=1.
Accompanying drawing explanation
Fig. 1 shows the structure chart according to system of the present invention.
Embodiment
For making above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation:
As shown in Figure 1, according to the framework of system of the present invention, comprise sensor module, operation control module, data operation modules, middleware interface module, network application module.Sensor module, for obtaining each parameter sensing in smart machine, specifically comprises: transducer, local device and the submodule for calling local application; Transducer comprises acceleration transducer, gyro sensor, light sensor, geomagnetic sensor, compass detector, direction sensor, pressure sensor, proximity transducer, temperature sensor etc.; It is first-class that local device comprises shooting; Call local application submodule for obtaining network connection type, local contact information, local device information, CDMA/GSM signal strength signal intensity etc.By obtaining corresponding initial data to these, for upper layer application.
Data operation modules is responsible for the realization of Commonuse type variable-definition and Commonuse type data manipulation function.It comprises equipment control submodule and data manipulation management submodule.Equipment control submodule is with equipment (specifically comprising transducer, local device and the submodule for calling local application) for operand, define equipment title, define equipment type, initialization apparatus, define equipment state, define equipment method function, provides relevant public function for operating control module.The initial data that data manipulation management submodule obtains with equipment, for object, will define data type variable, define data manipulation control variables, realize data manipulation function, transfer of data function etc.
Operation control module controls the operation carried out of data obtained sensor module, enable for control data transmission time, transmission frequency, transmission.It comprises data acquisition submodule, whether sensor data changes submodule, method of controlling operation thereof function submodule.Public function in data acquisition submodule usage data operational module and device, method function obtain initial data, and the initial data assignment obtained to the data variable of previous definition, sensor data can be called simultaneously and whether change submodule and carry out condition judgment.Method of controlling operation thereof function submodule is used for set device startup, equipment stopping, data acquiring frequency etc., whether whether sensor data changes the initial data that submodule reads out for condition judgment changes, if data variation, directly to upper strata propelling data.
Middleware interface module is for realizing the cross-platform basis of software.Comprise inductor interface, sensor data obtains submodule, package operational data submodule three part.A kind of equipment (comprising transducer, local device and the submodule for calling local application) in the corresponding bottom code of each inductor interface, for encapsulating the operand that the equipment initial data of acquisition is correspondence in middleware module, and for transmitting numerical value and transmitting operation information.Sensor data obtains submodule for obtaining the operand data through encapsulation.Package operational data submodule is used for according to the specific data manipulation method of the requirement definition of user, is supplied to upper layer network application module with the form of javascript function, realizes the flexible method of calling also performed as Parameter transfer function name.
The present invention is that a kind of mode based on long knapsack realizes the data promotion method of equipment to network application module direction.Data operation modules uses long polling mode, opens one and connects maintenance later, wait for that sensor module pushes data and carries out corresponding operating.Its mechanism is exactly initiate ajax(Javascript and XML in network application module) periodicity call, equipment being regarded as one with OO programming mode can operand, the operation to these operands is realized in middleware interface module, such as, operating time interval, cycle call function, data acquisition function, data manipulation start-stop control.Respective function is provided according to user's request.Network application module periodically calls these functions, user can customize these functions, equipment end initiates a local service, and keep a queue (realizing with Javascript programming language), network application module is by calling the Javascript object data returned in queue, the html page is performed by browser resolves, html script language calling Javascript interface function obtains the object previously returned, the function of User Defined individual demand, with the self-defining interfacial effect of Javascript object customization obtained.
Network application module is cross-platform web application.Program is performed by browser resolves corresponding in smart machine.The interface function that the application call middleware layer of this part provides realizes equipment initial data, and realizes defined interface function.
Described data acquisition submodule uses the Commonuse type data manipulation function in described data operation modules and the method function in described local device simultaneously.Described sensor interface is N number of, wherein N >=1.
The invention enables the inductor in Internet of Things in initialization and can send data directly to web terminal after initialize, service efficiency is high; Be suitable for inductor nearly all in existing smart machine; Allly in Internet of Things have the demand of the smart machine of inductor for target to meet, the scope of application is extensive.Encapsulate data operation modules and provide unified calling interface, user does not need sweat to study concrete actualizing technology in great detail just can directly to use, and saves development cost, conveniently calls, achieve cross-platform; If user can use these unified interfaces to realize self-defining exploitation, there is good compatibility.
Present invention also offers a kind of data transmission method based on internet of things sensors, comprise the following steps: step (1) sensor module obtains each raw sensory supplemental characteristic in smart machine; Step (2) data operation modules is responsible for the realization of Commonuse type variable-definition and Commonuse type data manipulation function; Public function in step (3) data acquisition submodule usage data operational module and device, method function obtain initial data, and the initial data assignment obtained to the data variable of previous definition, sensor data can be called simultaneously and whether change submodule and carry out condition judgment; Method of controlling operation thereof function submodule is used for set device startup, equipment stops, data acquiring frequency, whether whether sensor data changes the initial data that submodule reads out for condition judgment changes, if data variation, directly to upper strata propelling data.Step (4) is operand corresponding in middleware module for per unit each inductor interface for encapsulating the equipment initial data of acquisition, and for transmitting numerical value and transmitting operation information; Sensor data obtains submodule for obtaining the operand data through encapsulation; Package operational data submodule is used for according to the specific data manipulation method of the requirement definition of user, is supplied to upper layer network application module with the form of javascript function; Step (5) network application module is performed by browser resolves corresponding in smart machine, and the interface function that calling middleware interface module provides realizes equipment initial data, and realizes defined interface function.
Characteristic one of the present invention: the function realizing equipment control submodule with the form of plug-in unit, makes the present invention have unlimited extensibility, range of application and field wide.
Characteristic two of the present invention: the device data acquisition submodule of the operation control module public function simultaneously in usage data operational module and the method function in equipment.Object is carried out data qualification and is judged operation and data transfer operation while being the data in collecting device.The method achieves the data transfer operation to the sensor type equipment in smart machine efficiently.
Characteristic three of the present invention: whether the sensor data in operation control module changes submodule, directly to upper layer transfers numerical value during data variation that and if only if, initiates point, makes transfer of data have efficiency for one as data manipulation.
Characteristic four of the present invention: the transducer in the corresponding smart machine of each inductor interface of middleware module, has extensibility, and achieve the encapsulation to bottom code.
Characteristic five of the present invention: middleware provides function call mode flexibly.Web application only needs input function name and configuration parameter, and which function performance the package operational data submodule of middleware layer automatic analysis judgment specifically can use and perform.
It is more than the detailed description that the preferred embodiments of the present invention are carried out, but those of ordinary skill in the art it is to be appreciated that, within the scope of the present invention, and guided by the spirit, various improvement, interpolation and replacement are all possible, there is novelty, sensor-based Internet of Things can be applicable to widely.These are all in the protection range that claim of the present invention limits.

Claims (3)

1., based on a data transmission system for internet of things sensors, it is characterized in that comprising with lower module:
Sensor module, for obtaining each raw sensory supplemental characteristic in smart machine;
Data operation modules, is responsible for the realization of Commonuse type variable-definition and Commonuse type data manipulation function;
Operation control module, enable for control data transmission time, transmission frequency, transmission, it comprises data acquisition submodule, whether sensor data changes submodule, method of controlling operation thereof function submodule; Public function in data acquisition submodule usage data operational module and device, method function obtain initial data, and the initial data assignment obtained to the data variable of previous definition, sensor data can be called simultaneously and whether change submodule and carry out condition judgment; Method of controlling operation thereof function submodule is used for set device startup, equipment stops, data acquiring frequency, whether whether sensor data changes the initial data that submodule reads out for condition judgment changes, if data variation, directly to upper strata propelling data;
Middleware interface module, comprises inductor interface, sensor data obtains submodule, package operational data submodule three part; A kind of equipment in the corresponding bottom code of each inductor interface is operand corresponding in middleware module for encapsulating the equipment initial data of acquisition, and for transmitting numerical value and transmitting operation information; Sensor data obtains submodule for obtaining the operand data through encapsulation; Package operational data submodule is used for according to the specific data manipulation method of the requirement definition of user, is supplied to upper layer network application module with the form of javascript function;
Network application module, it is cross-platform web application, this program is performed by browser resolves corresponding in smart machine, and the interface function that this application call middleware interface module provides realizes equipment initial data, and realizes defined interface function;
Described data operation modules uses long polling mode, open one and connect maintenance later, wait for that sensor module pushes data and carries out corresponding operating, network application module is initiated periodically to call, equipment being regarded as one with OO programming mode can operand, the operation to these operands is realized in middleware interface module, equipment end keeps a queue, network application module is by calling the Javascript object data returned in queue, the html page is performed by browser resolves, html script language calling Javascript interface function obtains the object previously returned, the function of User Defined individual demand, with the self-defining interfacial effect of Javascript object customization obtained.
2. system according to claim 1, is characterized in that:
Described sensor module comprises: transducer, local device and the submodule for calling local application; Transducer comprises acceleration transducer, gyro sensor, light sensor, geomagnetic sensor, compass detector, direction sensor, pressure sensor, proximity transducer, temperature sensor; Local device comprises camera; Call local application submodule for obtaining network connection type, local contact information, local device information, CDMA/GSM signal strength signal intensity.
3. system according to claim 1, is characterized in that:
Described data operation modules comprises equipment control submodule and data manipulation management submodule, equipment control submodule take equipment as operand, define equipment title, define equipment type, initialization apparatus, define equipment state, define equipment method function, provide relevant public function for operation control module; The initial data that data manipulation management submodule obtains with equipment, for object, will define data type variable, define data manipulation control variables, realize data manipulation function, transfer of data function.
CN201210330322.3A 2012-09-07 2012-09-07 A kind of data transmission system based on internet of things sensors and method Expired - Fee Related CN102857567B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210330322.3A CN102857567B (en) 2012-09-07 2012-09-07 A kind of data transmission system based on internet of things sensors and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210330322.3A CN102857567B (en) 2012-09-07 2012-09-07 A kind of data transmission system based on internet of things sensors and method

Publications (2)

Publication Number Publication Date
CN102857567A CN102857567A (en) 2013-01-02
CN102857567B true CN102857567B (en) 2015-10-21

Family

ID=47403755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210330322.3A Expired - Fee Related CN102857567B (en) 2012-09-07 2012-09-07 A kind of data transmission system based on internet of things sensors and method

Country Status (1)

Country Link
CN (1) CN102857567B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227779B (en) * 2013-03-27 2016-04-27 安科智慧城市技术(中国)有限公司 A kind of communication control method of building equipment, system and device
CN104184643B (en) 2013-05-24 2017-09-29 华为技术有限公司 A kind of data transmission system and method
CN107231313A (en) * 2016-03-25 2017-10-03 北京京东尚科信息技术有限公司 Method of data synchronization and system based on message routing mode
US10089254B2 (en) 2016-06-20 2018-10-02 Telefonaktiebolaget Lm Ericsson (Publ) Methods and apparatus for dynamically selecting an instruction set
CN106228498B (en) * 2016-07-22 2019-10-18 北京农业信息技术研究中心 A kind of product squeezes monitoring device and system
CN110099098A (en) * 2019-03-26 2019-08-06 江西机电职业技术学院 Industrial robot data uploading method, system, readable storage medium storing program for executing and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447897A (en) * 2007-11-27 2009-06-03 中国科学院计算技术研究所 Wireless sensor network simulator and method for establishing the same
CN101553049A (en) * 2009-04-30 2009-10-07 上海交通大学 Multi-point disposed mobile detection wireless sensor system based on infrared ray
CN101681185A (en) * 2007-06-08 2010-03-24 苹果公司 Methods and systems for providing sensory information to devices and peripherals
CN101694629A (en) * 2009-10-23 2010-04-14 北京邮电大学 Context sensing application platform based on main body and work method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101681185A (en) * 2007-06-08 2010-03-24 苹果公司 Methods and systems for providing sensory information to devices and peripherals
CN101447897A (en) * 2007-11-27 2009-06-03 中国科学院计算技术研究所 Wireless sensor network simulator and method for establishing the same
CN101553049A (en) * 2009-04-30 2009-10-07 上海交通大学 Multi-point disposed mobile detection wireless sensor system based on infrared ray
CN101694629A (en) * 2009-10-23 2010-04-14 北京邮电大学 Context sensing application platform based on main body and work method thereof

Also Published As

Publication number Publication date
CN102857567A (en) 2013-01-02

Similar Documents

Publication Publication Date Title
CN102857567B (en) A kind of data transmission system based on internet of things sensors and method
Alonso et al. Middleware and communication technologies for structural health monitoring of critical infrastructures: A survey
CN108023952A (en) A kind of modularization Internet of Things application rapid build platform combined based on cloud and mist
Abdulrahman et al. Design, specification and implementation of a distributed home automation system
CN112738042A (en) Internet of things equipment model based on MQTT protocol and data penetration method thereof
CN104077253B (en) cross-device communication transmission system and method thereof
CN102752237B (en) A kind of general-purpose gateway devices and Internet of things system
CN101789171B (en) Method and system for changing data transfer bus
WO2014010784A1 (en) Method of providing internet of things service
CN105653291A (en) Distributed network node operation system based on operation control unit
CN101917736B (en) Sensor network test bed system and test method thereof
CN101141339A (en) Embedded SoC chip based wireless network industry monitoring management system
CN104104674A (en) Multiprotocol distributed data acquisition control system of equipment sensor and method thereof
CN103152368B (en) A kind of extendible Internet of Things perception data display converting method and system
CN101902831A (en) Node in wireless sensor network, applicable to detection of mechanical equipment vibration
CN112187922A (en) Intelligent Internet of things shutdown machine based on MQTT communication protocol
CN103399777A (en) Virtual instrument measuring system and method based on intelligent terminal
CN101609427B (en) Programmable network service automation test system and programmable network service automation method
CN102830799B (en) Method for carrying out induction on induction device based on intelligent terminal and intelligent terminal
CN102984258A (en) Internet of things data transmission method and adapter
CN103841620A (en) Wireless sensor network communication protocol method of automatic cathodic protection data collection system
CN102033517A (en) Software upgrading method and equipment for environmental monitoring unit
TWI740159B (en) Machine control method, control device and system
CN101404656A (en) Software interface design method for communicating with third party intelligent equipment protocol
CN111628929A (en) Intelligent Internet of things information fusion gateway system and working method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151021

Termination date: 20180907