Method and system for controlling intelligent gateway by using finite-state machine, and intelligent device control system
A finite state machine and intelligent gateway technology, applied in transmission systems, digital transmission systems, data exchange networks, etc., can solve problems such as increasing system code complexity, troubleshooting and upgrading unfavorable problems, affecting system stability and execution efficiency, etc. Reduce complexity and reduce the effect of manual intervention processes
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] Such as figure 1 Shown is a flowchart of a method for controlling an intelligent gateway using a finite state machine in this embodiment, the method includes:
[0055] S1. Receive the online command of the network controller sent by the intelligent gateway, and establish the finite state machine of the network controller through the AKKA framework, and the finite state machine of the network controller includes: state, state data, and event;
[0056] This embodiment uses Akka to implement the finite state machine driving model. Akka is a library written in Scala for simplifying the writing of fault-tolerant and highly scalable Java and Scala role model applications. It specifies the composition structure of the state machine, shields the internal complexity, specifies that the state machine is composed of state, instruction, and data, automatically matches and executes state and instruction, and provides state execution timeout check. The main purpose of Akka is to write...
Embodiment 2
[0101] The difference between this embodiment and the previous embodiments is that this embodiment also includes monitoring the execution of the control command.
[0102] Such as Figure 4 Shown is a flow chart of a method for controlling an intelligent gateway using a finite state machine in this embodiment, and the method in this embodiment also includes:
[0103] S4. Monitoring the state change time of the network controller finite state machine, if the state change time is greater than a predetermined time, it is judged that the execution of the instruction fails, and the network controller finite state machine returns to a waiting state.
[0104] When controlling a smart home, a method is needed to monitor the execution result of the control command. If there is a problem with the device, the smart home device can be converted to a state where it can continue to operate.
[0105] This embodiment uses the state change overtime monitoring mechanism. In a certain state, if ...
Embodiment 3
[0112] This embodiment uses the smart gateway to control Philips smart lights as an example to illustrate the use of the finite state machine in the background management system of the smart gateway.
[0113] The smart light control system consists of a mobile phone (or other control terminal), a smart gateway background management system, a smart gateway, a network controller (hub), and a smart light.
[0114] Such as Image 6 The work flow chart of the smart light control system is shown. The user sends out the command to control the light in the mobile phone program, and the background management system of the smart gateway completes the following actions after receiving the command. The specific steps are as follows:
[0115] 1) Send an instruction to bind the network controller to the intelligent gateway;
[0116] 2) The network controller returns a binding success instruction through the intelligent gateway;
[0117] 3) Send a search light command to the smart gateway;...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com