other integrations such as RSS feeds, social network feeds,
SMS messaging and others.
User scripting. Finally, we include the ability for end
users to write their own modules using a scripting language,
currently Python. By convention, the script takes input from an
input dictionary, executes some code, and then puts any output
into an output dictionary for downstream processing. Once a
script is found to be useful, the user may save copies of these
scripts for use in other pipes. Having this capability allows the
user to extend the built in primitives with new modules as
needed.
E. RESTful Service Interface
The WoTKit has a RESTful API for things allowing
applications to control things, get the historical data from
things and register new things and their meta-data with the
system. Applications register sensors with the system by
POSTING a JSON representation of the sensor to the following
URL.
http://{host}/api/sensors/{sensor-name}
The sensor representation consists of the sensor name, a
long name used for the user interface, the location of the
sensor, whether it is a public or private sensor, and the
information about the fields of data used by the sensor.
The primary APIs are for sending and receiving data into
the system using the sensor. Gateways POST fields to the data
URL
http://{host}/api/sensors/{sensor-name}/data
While applications GET data from the same URL,
specifying query parameters for the range of data required by
the application and the representation. The system currently
supports CSV, KML (specific for location sensors), HTML and
a JSON format for direct use by Google visualizations.
F. WoTKit Summary
By providing these services, the WoTKit addresses the
requirements outlined in Section 4 as follows:
• Data storage for things meta-data such as a description,
location, and the data things produce is included. WoTKit
can store meta-data including the name, description, and
location of sensors and actuators as well as mUltiple non-
การทำงานอื่น ๆเช่น RSS ฟีดเครือข่ายสังคม ฟีดSMS ส่งข้อความและอื่น ๆสคริปต์ผู้ใช้ สุดท้ายเรารวมถึงความสามารถในจบผู้ใช้สามารถเขียนโมดูลของตัวเองโดยใช้ภาษาสคริปต์ ,ปัจจุบันงูหลาม โดยการประชุม , สคริปต์จะนำเข้าจากข้อมูลพจนานุกรม , รันรหัสแล้วทำให้ผลผลิตใด ๆเป็นพจนานุกรมสำหรับการแปรรูปผลผลิตปลายน้ำ เมื่อสคริปต์ที่พบว่าเป็นประโยชน์ ผู้ใช้อาจบันทึกฉบับนี้สคริปต์เพื่อใช้ในระบบท่ออื่น ๆ มีความสามารถนี้จะช่วยให้ผู้ใช้สามารถขยายสร้าง primitives กับโมดูลใหม่ต้องการเช่นบริการอินเตอร์เฟซสมถการ wotkit มี API ที่ช่วยให้ผ่อนคลายโปรแกรมควบคุมสิ่งของ ได้รับข้อมูลทางประวัติศาสตร์จากเรื่องและลงทะเบียนสิ่งที่ใหม่และข้อมูล meta ของพวกเขาด้วยระบบ การลงทะเบียนกับระบบเซ็นเซอร์โพสต์ JSON แทนของเซ็นเซอร์ ดังต่อไปนี้URLhttp : / / { } / / / เจ้าภาพ API เซ็นเซอร์เซ็นเซอร์ } { ชื่อเซ็นเซอร์การประกอบด้วยชื่อเซ็นเซอร์ ,ชื่อยาวใช้สำหรับผู้ใช้ ตำแหน่งของเซ็นเซอร์ เซ็นเซอร์ ไม่ว่าจะเป็นภาครัฐหรือเอกชน และข้อมูลเกี่ยวกับเขตข้อมูลที่ใช้เซ็นเซอร์หลัก API เพื่อส่งและรับข้อมูลในระบบที่ใช้เซ็นเซอร์ เกตเวย์โพสต์ สาขาข้อมูลที่อยู่http : / / { } / / / เจ้าภาพ API เซ็นเซอร์เซ็นเซอร์ชื่อ { } / ข้อมูลในขณะที่โปรแกรมรับข้อมูลจาก URL เดียวกันการระบุพารามิเตอร์แบบสอบถามสำหรับช่วงของข้อมูลที่จำเป็นโดยการประยุกต์ใช้และการเป็นตัวแทน ระบบในปัจจุบันสนับสนุน CSV , KML ( เฉพาะสำหรับเซ็นเซอร์ตำแหน่ง ) , HTML และเป็น JSON รูปแบบการใช้งานโดยตรงโดย Google การแสดงภาพประกอบเพลงสรุป wotkit Fโดยการให้บริการเหล่านี้ wotkit ที่อยู่ข้อกำหนดที่ระบุไว้ในมาตรา ๔ ดังนี้กระเป๋า - ข้อมูลสำหรับเรื่องข้อมูล meta เช่นอธิบายสถานที่และสิ่งที่ข้อมูลผลิตรวม wotkitสามารถจัดเก็บข้อมูล meta รวมถึงชื่อ , คำอธิบาย , และสถานที่ตั้งของเซ็นเซอร์และ actuators เช่นเดียวกับหลาย ๆองค์กร
การแปล กรุณารอสักครู่..
