{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,12,30]],"date-time":"2025-12-30T15:27:36Z","timestamp":1767108456998,"version":"build-2065373602"},"reference-count":28,"publisher":"MDPI AG","issue":"16","license":[{"start":{"date-parts":[[2021,8,4]],"date-time":"2021-08-04T00:00:00Z","timestamp":1628035200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Due to the fast evolution of Sensor and Internet of Things (IoT) technologies, several large-scale smart city applications have been commercially developed in recent years. In these developments, the contracts are often disputed in the acceptance due to the fact that the contract specification is not clear, resulting in a great deal of discussion of the gray area. Such disputes often occur in the acceptance processes of smart buildings, mainly because most intelligent building systems are expensive and the operations of the sub-systems are very complex. This paper proposes SpecTalk, a platform that automatically generates the code to conform IoT applications to the Taiwan Association of Information and Communication Standards (TAICS) specifications. SpecTalk generates a program to accommodate the application programming interface of the IoT devices under test (DUTs). Then, the devices can be tested by SpecTalk following the TAICS data formats. We describe three types of tests: self-test, mutual-test, and visual test. A self-test involves the sensors and the actuators of the same DUT. A mutual-test involves the sensors and the actuators of different DUTs. A visual-test uses a monitoring camera to investigate the actuators of multiple DUTs. We conducted these types of tests in commercially deployed applications of smart campus constructions. Our experiments in the tests proved that SpecTalk is feasible and can effectively conform IoT implementations to TACIS specifications. We also propose a simple analytic model to select the frequency of the control signals for the input patterns in a SpecTalk test. Our study indicates that it is appropriate to select the control signal frequency, such that the inter-arrival time between two control signals is larger than 10 times the activation delay of the DUT.<\/jats:p>","DOI":"10.3390\/s21165260","type":"journal-article","created":{"date-parts":[[2021,8,4]],"date-time":"2021-08-04T08:47:52Z","timestamp":1628066872000},"page":"5260","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":5,"title":["SpecTalk: Conforming IoT Implementations to Sensor Specifications"],"prefix":"10.3390","volume":"21","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6841-4718","authenticated-orcid":false,"given":"Yi-Bing","family":"Lin","sequence":"first","affiliation":[{"name":"College of Artificial Intelligence, National Yang Ming Chiao Tung University, Hsinchu City 30010, Taiwan"},{"name":"College of Humanities and Sciences, China Medical University, Taichung 406, Taiwan"},{"name":"School of Computing, National Cheng Kung University, Tainan 701, Taiwan"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Sheng-Lin","family":"Chou","sequence":"additional","affiliation":[{"name":"Information and Communication Research Laboratories, Industrial Technology Research Institute, Hsinchu City 30010, Taiwan"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2021,8,4]]},"reference":[{"key":"ref_1","unstructured":"(2021, July 15). oneM2M, Functional Architecture, TS-0001. Available online: http:\/\/www.onem2m.org\/technical\/published-drafts."},{"key":"ref_2","unstructured":"(2021, July 15). oneM2M, Base Ontology, TS-0012. Available online: http:\/\/www.onem2m.org\/technical\/publisheddrafts."},{"key":"ref_3","unstructured":"Allied Market Research (2021, July 15). Smart Building Market. Allied Market Research. Available online: https:\/\/www.alliedmarketresearch.com\/smart-building-market."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Williams, V., Terence, S., and Immaculate, J. (2019, January 21\u201322). Survey on Internet of Things based Smart Home. Proceedings of the 2019 International Conference on Intelligent Sustainable Systems (ICISS), Palladam, India.","DOI":"10.1109\/ISS1.2019.8908112"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"3193","DOI":"10.1007\/s11276-018-1712-5","article-title":"A review on smart home present state and challenges: Linked to context-awareness internet of things (IoT)","volume":"25","author":"Almusaylim","year":"2019","journal-title":"Wirel. Netw."},{"key":"ref_6","unstructured":"ISTQB (2020). Standard Glossary of Terms used in Software Testing, Version 3.2: All Terms, International Software Testing Qualifications Board."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Chen, F., and Zhou, G. (2013, January 26\u201328). RRM conformance testing in TD-LTE system based on TTCN-3. Proceedings of the International Conference on Information and Automation (ICIA), Yinchuan, China.","DOI":"10.1109\/ICInfA.2013.6720429"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Szabados, K., Kov\u00e1cs, A., Jenei, G., and G\u00f3bor, D. (2016, January 19\u201321). Titanium: Visualization of TTCN-3 system architecture. Proceedings of the IEEE International Conference on Automation, Quality and Testing, Robotics, AQTR, Cluj-Napoca, Romania.","DOI":"10.1109\/AQTR.2016.7501275"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"913","DOI":"10.1109\/TVCG.2010.110","article-title":"Visualization of the Static Aspects of Software: A Survey","volume":"17","author":"Caserta","year":"2011","journal-title":"IEEE Trans. Vis. Comput. Graph."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Santos, I., Filho, J.C.C., and Souza, S.R.S. (2020, January 19\u201323). A survey on the practices of mobile application testing. Proceedings of the 2020 XLVI Latin American Computing Conference (CLEI), Loja, Ecuador.","DOI":"10.1109\/CLEI52000.2020.00034"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Akpinar, P., Aktas, M.S., Keles, A.B., Balaman, Y., Guler, Z.O., and Kali, O. (2020, January 12\u201313). Web Application Testing With Model Based Testing Method: Case Study. Proceedings of the International Conference on Electrical, Communication, and Computer Engineering (ICECCE), Istanbul, Turkey.","DOI":"10.1109\/ICECCE49384.2020.9179238"},{"key":"ref_12","unstructured":"(2021, July 15). BACnet\u2014A Data Communication Protocol for Building Automation and Control Networks, ASHRAE SSPC 135. Available online: http:\/\/www.bacnet.org\/."},{"key":"ref_13","unstructured":"TACIS (2021). Data Format Standard and Test Specification for Intelligent Building Energy Management System v2, TACIS TS-0022, Taiwan Association of Information and Communication Standards (TAICS)."},{"key":"ref_14","unstructured":"MODBUS (2021, July 15). MODBUS Application Protocol Specification V1.1b3. Available online: http:\/\/www.modbus.org\/docs\/Modbus_Application_Protocol_V1_1b3.pdf."},{"key":"ref_15","unstructured":"IETF (2021, July 15). Hypertext Transfer Protocol\u2014HTTP\/1.1, IETF RFC 2616, Internet Engineering Task Force. Available online: https:\/\/tools.ietf.org\/html\/rfc2616."},{"key":"ref_16","unstructured":"W3C (2021, July 15). XML Schema Part 2: Datatypes Second Edition, W3C Recommendation 28 October 2004. Available online: https:\/\/www.w3.org\/TR\/xmlschema-2\/."},{"key":"ref_17","unstructured":"ECMA (2021, July 15). The JSON Data Interchange Syntax, ECMA-404, European Computer Manufacturers Association. Available online: http:\/\/www.ecma-international.org\/publications\/files\/ECMA-ST\/ECMA-404.pdf."},{"key":"ref_18","unstructured":"ECMA (2021, July 15). Introducing JSON, European Computer Manufacturers Association. Available online: https:\/\/www.json.org\/index.html."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"1552","DOI":"10.1109\/JIOT.2017.2682100","article-title":"IoTtalk: A Management Platform for Reconfigurable Sensor Devices","volume":"4","author":"Lin","year":"2017","journal-title":"IEEE Internet Things J."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"93","DOI":"10.1016\/j.sysarc.2016.06.008","article-title":"IOTSim: A simulator for analysing IoT applications","volume":"72","author":"Zeng","year":"2017","journal-title":"J. Syst. Archit."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Fortino, G., Russo, W., and Savagliom, C. (2016, January 11\u201314). Agent-Oriented Modeling and Simulation of IoT Networks. Proceedings of the 2016 Federated Conference on Computer Science and Information Systems (FedCSIS), Gdansk, Poland.","DOI":"10.15439\/2016F359"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Lin, Y.-W., Lin, Y.-B., and Yen, T.-H. (2020). SimTalk: Simulation of IoT Applications. Sensors, 20.","DOI":"10.3390\/s20092563"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Lin, Y.-B., Lin, Y.-W., Lin, J.-Y., and Hung, H.-N. (2019). SensorTalk: An IoT Device Failure Detection and Calibration Mechanism for Smart Farming. Sensors, 19.","DOI":"10.3390\/s19214788"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"1093","DOI":"10.1007\/s11869-020-00867-x","article-title":"Air pollution and its health impacts in Malaysia: A review","volume":"13","author":"Usmani","year":"2020","journal-title":"Air Qual. Atmos. Health"},{"key":"ref_25","unstructured":"Long, X., Deng, K., Wang, G., Zhang, Y., Dang, Q., Guo, Y., Shen, H., Ren, J., Han, S., and Ding, E. (2020). PP-YOLO: An Effective and Efficient Implementation of Object Detector. arXiv."},{"key":"ref_26","first-page":"106","article-title":"Heterogeneous Personal Communications Services: Integration of PCS Systems","volume":"3","author":"Lin","year":"1996","journal-title":"IEEE Commun. Mag."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"63","DOI":"10.1109\/4234.752903","article-title":"Modeling the Sleep Mode for Cellular Digital Packet Data","volume":"3","author":"Lin","year":"1999","journal-title":"IEEE Commun. Lett."},{"key":"ref_28","unstructured":"Lazowska, E.D., Zahorjan, J., Graham, G.S., and Sevcik, K.C. (1984). Quantitative System Performance: Computer System Analysis Using Queueing Network Models, Prentice-Hall, Inc."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/16\/5260\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T06:40:25Z","timestamp":1760164825000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/16\/5260"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,8,4]]},"references-count":28,"journal-issue":{"issue":"16","published-online":{"date-parts":[[2021,8]]}},"alternative-id":["s21165260"],"URL":"https:\/\/doi.org\/10.3390\/s21165260","relation":{},"ISSN":["1424-8220"],"issn-type":[{"type":"electronic","value":"1424-8220"}],"subject":[],"published":{"date-parts":[[2021,8,4]]}}}