introduction
Information appliances are a new generation of home electronic products that are the result of the combination of information technology and traditional consumer appliance technology. Information appliances are home appliances that use computers as a platform and integrate sound, light, and images. They are neither computers nor traditional home appliances, but new home appliances that integrate certain computer functions, audio-visual functions, communication functions, and Internet access functions. Information appliances are essentially computerized home appliances, and are new products developed to meet the various needs of people's daily lives (such as entertainment, education, communication, Internet access, financial management, etc.).
How to realize interoperability and plug-and-play of information appliances has become the main research direction of information appliances.
1 Information Appliance Control Structure
There are three ways to control information appliances: centralized control, remote control, and universal remote control. Centralized control uses the computer at home as the control center. The operating status information of all appliances can be viewed on the computer, and information appliances can be controlled through graphical operations as needed. Remote control means that when you are working outside or on the way home, you can view the operating status information of home appliances through the office computer or PDA device, and you can also perform the desired operations on the appliances. Universal remote control controls information appliances through a specially designed universal remote control.
Regardless of the method used to control information appliances, the interface of information appliances must be defined first. The so-called interface mainly includes the state attributes and operation functions of information appliances. Secondly, the control command package must be defined. Various control methods form control command packages according to the operations to be performed and send them to the home network. Each appliance monitors its own port and parses and executes the control command package once it receives it. This article uses XML as the description language of information appliance interfaces and control commands, and provides a solution for information appliance control based on XML. As shown in Figure 1.
Information home appliance manufacturers must provide information that the interface definition file described in XML must be embedded in the information home appliance. When the user connects the information home appliance to the home network, the information home appliance will actively register the interface definition file in the centralized control device (gateway) and store it in the embedded database. The centralized control can generate control commands based on the interface definition to control each registered information home appliance.
Universal remote control and remote control are the same in principle, but the communication methods are different. Universal remote control generally communicates with centralized control via wireless, while remote control generally communicates with centralized control via the Internet.
Both of them first obtain the interface definition of the information appliance from the centralized control, and the built-in control command generator generates the control command and sends it to the centralized control, which is then forwarded to the information appliance. Finally, the built-in control command interpreter of the information appliance interprets and executes the control command.
2 Definition of Information Appliance Interface
The home appliance device interface is simply defined through XML, with the head node IA, and the IA node includes 4 child nodes, which represent the device name, device attributes, device status, and device operation set. These 4 nodes are fixed, but the nodes under these nodes will vary depending on the home appliance device and the home appliance manufacturer. For example:
IAName indicates the device name, and Attribution indicates the device attribute set, such as manufacturer, warranty date, etc. Status indicates the status of the device, such as power switch, temperature, humidity, wind speed, whether to sweep the air, etc. The control device can obtain the status information of the device through the content of these nodes. Operation indicates the operations that the device can perform, such as whether the air conditioner can increase or decrease the temperature, humidity, wind speed, switch the power, etc.
The interface definition file is provided by the manufacturer, and centralized control only needs to register it. Of course, the manufacturer can expand the interface definition of its information home appliance products according to the needs of development to meet the needs of safety and other aspects.
3 Control command definition
In order to describe the control command information and enable parsing and execution, we define a standard control command package through XML. When the control center or remote control operates a home appliance, a control command package in the following format is generated:
The root node is Command, and under it are 5 nodes: TolP, FmmIP, Time, OperationName, and OperationValue. TolP indicates which device the command is to be sent to, FmmIPI/IJ indicates who issued the command, Time is the time when the command is issued, and the following two nodes are the name of the operation to be performed and the operation parameters. In this example, the temperature of the device with IP 192.168.0.125 is increased by 2 degrees. The design here is just a simulation of basic functions. Due to the good extensibility of XML, the control command package can be expanded.
4 Centralized Control
In the centralized control mode, the control center stores the interface definition of registered information appliances, so that it can update the device status information through polling, or actively notify the control center when the device status changes. In the control center, users can view the information of all current devices and control the devices through graphical operations. At this time, the control center calls the command generator to package the user's operations into an XML format control data packet and send it to the home LAN. The information appliances connected to the home LAN will be able to receive the control command packet at its control packet receiving end. At this time, only the operated home appliance will call the built-in command parser to parse the control data packet and execute it, thus completing the control of the home appliance.
5 Remote control
In remote control mode, home appliances can be controlled by remote controllers. At present, different home appliances have different remote controllers, which are incompatible with each other. Now imagine a remote controller that can control all devices. This remote controller has a certain storage function, which stores the device interface files of the controlled devices. When controlling, the device to be controlled and the operation to be performed are selected through the menu. The built-in command generator of the remote controller will generate a command packet based on the selection and send it to the control center through the wireless network.
6 Remote Control
When you are at work or on your way home, if you want to control the information appliances at home, you need remote control. You can use a PC or PDA to view the status of home appliances and control their operation. How to achieve remote control? Generally, it can be achieved through the interconnection and communication between the client and the home gateway. You can also publish various operations and information viewing of home appliances as a service, introduce the concept of WebJlt service, and then add restrictions on submitting certificates to the objects of the request, so that only users with legal certificates can operate their home appliances, and can also be expanded to meet other more detailed requirements. Currently, WebHt service technology is being deeply studied and widely used. Compared with traditional Socket communication, the flexibility and loose coupling brought by WebBt service make remote control calls more convenient, flexible and extensible.
7 Conclusion
The purpose of the design is to propose a way to realize smart home and simulate it to deeply understand its feasibility, advantages and disadvantages. The key lies in the definition of device interface, the definition of control command, and the analysis and operation based on these definitions.
Previous article:A lightning protection design scheme for gas station system
Next article:Touch Sensing Solutions Beyond Intelligence
- Molex leverages SAP solutions to drive smart supply chain collaboration
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- CGD and Qorvo to jointly revolutionize motor control solutions
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Nidec Intelligent Motion is the first to launch an electric clutch ECU for two-wheeled vehicles
- Bosch and Tsinghua University renew cooperation agreement on artificial intelligence research to jointly promote the development of artificial intelligence in the industrial field
- GigaDevice unveils new MCU products, deeply unlocking industrial application scenarios with diversified products and solutions
- Advantech: Investing in Edge AI Innovation to Drive an Intelligent Future
- CGD and QORVO will revolutionize motor control solutions
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Leakage current test
- Electronics Engineer Quick-Start Resources, Super Practical, Suitable for Beginners
- IPC-6013E-EN_2021 Qualification and Performance Specification or FlexibleRigi...
- TI DSP FFT library functions
- See you in April丨The 2021 Munich Shanghai Electronics Show is about to start, and pre-registration is in full swing!
- Live Review: June 28th Datang NXP Semiconductors | Battery Management Chip Solution Design and Precautions
- Dear students, Qorvo 2021 campus recruitment is here, take action now.
- Video tutorial on developing RT-Thread with Bluexun AB32VG1
- Scanning interface for rotary flow meters
- I saw two interesting news this morning: What are the trade-offs in autonomous driving? Is there anything that cannot be changed in the CAN bus?