Design method of smart home semantic gateway
A technology of smart home equipment and semantic gateway, which is applied in the field of computer data transmission and processing, can solve the problem of lack of semantic data in the smart home network system, and achieve the effects of convenient and efficient construction, flexible deployment, and reduced development difficulty
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] Embodiment 1: temperature and humidity sensor.
[0044] Step 1: Create a Sqlite database Hadb on the Android tablet to save data of smart home devices. According to the uploaded data of each device, a data table corresponding to the device is established to store the data periodically sent by the device. Create the Sqlite database table tempHum_data, which contains 7 fields, which respectively represent the ID, temperature value, temperature unit, humidity value, temperature unit, time of data collection, and on / off status of the temperature and humidity sensor for each piece of data.
[0045] At the same time, a data acquisition middleware is constructed to receive data, analyze the data and store it in the database of the Android tablet. The flow chart of data acquisition middleware operation is as follows: image 3 shown. The data acquisition middleware is a software developed on Android. The software is a resident service process that constantly monitors the TCP / ...
Embodiment 2
[0062] Embodiment 2: air conditioner.
[0063] Step 1: Create the Sqlite database table aircon_data for the air conditioner in the Sqlite database HAdb, which contains 10 fields, which respectively represent the ID, current temperature, target temperature, current time, target time, status on, and status of each piece of data Off, Run Mode, Fan Speed, Timer Mode. The data acquisition middleware obtains the original data transmitted by the air conditioner through Wifi, parses it by field, generates a new record, and inserts it into the aircon_data table.
[0064] Step 2: Construct an AirconditioningProvider interface for the air conditioner that other applications can access its data. This interface inherits the Android Content Provider. The specific construction process is as follows: First, define the tool class AirCons of AirConProvider. This tool class mainly includes a public static constant. This constant class includes the URI corresponding to the ContentProvider and th...
Embodiment 3
[0070] Embodiment 3: light sensor.
[0071] Step 1: Create the Sqlite database table light_data for the air conditioner in the Sqlite database HAdb, which contains 6 fields, which respectively represent the ID of each piece of data, the current light intensity value, the current light intensity unit, the current time, and the status open , Status off. The data acquisition middleware obtains the raw data transmitted by the light sensor through Bluetooth wirelessly, parses it by field, generates a new record, and inserts it into the light_data table.
[0072] Step 2: Construct a LightProvider interface for the light sensor that other applications can access its data, which inherits the Android Content Provider. The specific construction process is as follows: First, define the LightProvider tool class Lights, which mainly includes a public static constant. This constant class includes the URI corresponding to the ContentProvider and the data columns stored in the SQLite databas...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com