Method for controlling different products by using same rule

A technology of rules and products, applied in the field of device control, can solve problems such as APP instability, frequent updates of super APPs, and inconvenient user operations

Active Publication Date: 2015-11-18
HANGZHOU BROADLINK ELECTRONICS TECH
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to solve the problem that each product has an independent APP in the current technical solution, which causes great inconvenience to the user's operation. A user may have many products, and needs to be controlled between different APPs. When switching between different products or with the access of different products, the super APP needs to be updated frequently, and every time a product is added, a development and upgrade process for the product is required, and the newly added protocol is likely to cause various instability of the APP problem, provide a way to use the same rules to achieve control of different products

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for controlling different products by using same rule
  • Method for controlling different products by using same rule
  • Method for controlling different products by using same rule

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0025] A method to achieve control of different products using the same rules (see appendix figure 1 , attached figure 2 , attached image 3 And attached Figure 4 ), for the mobile phone application to control the target hardware, including the following steps:

[0026] Step 1: first generate a pattern file of conversion rules, and then analyze the communication protocol of the target hardware defined in C language;

[0027] Step 2: use the xml file to communicate with the C language structure information in the communication protocol of the target hardware;

[0028] Step 3: Convert the structure information described in xml into description information, and obtain the number of structure members of the communication protocol, the size of memory occupied by each structure, the number of each structure and the name of the structure through the xml description information , and at the same time know how many member variables the structure has. For each member variable, we ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method for controlling different products by using a same rule and aims at solving the deficiency in the prior art. The method comprises the following steps: I, firstly generating a pattern file of a conversion rule and analyzing a communication protocol of target hardware which is defined by adopting C language; II, describing structure information of the C language in the communication protocol of the target hardware by using an xml file; III, converting the structure information described by the xml into description information; IV, setting a conversion rule of json according to the step III so as to form a binary description file; V, converting a function rule of the target hardware through an lua script and carrying out conversion supplementation on bit manipulation content in the communication protocol of the target hardware through the lua script at the same time so as to form a character string in a json format; VI, converting the character string in the json format into binary data of the C language through the pattern file; and VII, executing corresponding functions by the target hardware according to the binary data of the C language.

Description

technical field [0001] The invention relates to a device control method, in particular to a method for realizing the control of different products by using the same rule. Background technique [0002] With the popularization of IoT smart home, more and more platform terminals need to communicate with smart products. Each smart product has different functions, so each smart product also has a unique communication protocol, which increases the difficulty of development, and requires different development for each product. The present invention classifies the functions of different products, predefines each function, and then processes the rules into different communication protocols to realize the control of different products with the same function. At present, there are more and more intelligent products on the market, such as TVs, air conditioners, air purifiers, doorbells, etc., which are all connected to the Internet. The control of these products can be made more conve...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45
Inventor 姚博
Owner HANGZHOU BROADLINK ELECTRONICS TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products