CN106375409A - Method for automatically generating smart device control interface - Google Patents
Method for automatically generating smart device control interface Download PDFInfo
- Publication number
- CN106375409A CN106375409A CN201610779648.2A CN201610779648A CN106375409A CN 106375409 A CN106375409 A CN 106375409A CN 201610779648 A CN201610779648 A CN 201610779648A CN 106375409 A CN106375409 A CN 106375409A
- Authority
- CN
- China
- Prior art keywords
- control
- parameter
- controlling interface
- terminal
- smart machine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Abstract
The invention discloses a method for automatically generating a smart device control interface. The method is based on a smart device control system. The smart device control system comprises a device terminal, a cloud and a control terminal. The method comprises the steps that S1, the control terminal generates a device terminal control request, wherein the device terminal control request is sent to a device terminal through the cloud; S2, after receiving the device terminal control request, the device terminal inputs intrinsic characteristics of a device as parameters, packages the parameters into a profile and uploads the profile to the cloud; S3, the control terminal obtains the profile from the cloud and extracts various parameters in the profile, the control terminal inputs the various parameters into a control and adds an event monitor to the control; and S4, the control terminal generates the control interface for control operations of related personnel according to the control. The newly added terminal device also can be controlled rapidly. Compared with the prior art, the method has the advantages that a development cycle is greatly shortened, and the efficiency is relatively high.
Description
Technical field
The present invention relates to smart home field, refer in particular to a kind of method automatically generating smart machine controlling interface.
Background technology
At present, smart machine system includes control terminal, high in the clouds and device end, and general interaction is as follows: controls
Terminal transmitting control commands send this control command to device end to high in the clouds, high in the clouds, and device end receives control command
Afterwards, complete the action of control command, and the state of device end is back to high in the clouds, the state of device end is sent by high in the clouds again
To control terminal.But, no matter control terminal employs the mixed of which kind of Technical Architecture, such as native applications or primary+html
Close framework, often dock a new equipment and develop specific controlling interface it is necessary to take a significant amount of time for it.Majority of case
Under, equipment and high in the clouds all must wait interface development to complete (or being partially completed) could to start joint debugging.The construction cycle is caused to extend,
Inefficiency.China Patent Publication No. cn105007206a, publication date on July 29th, 2015, a kind of entitled " intelligent appliance control
A kind of intelligent electrical appliance control, device and mobile terminal is disclosed in the patent of invention of method processed, device and mobile terminal ",
It is related to intelligent appliance technical field, in order to solve the problems, such as user operation inconvenience poor user experience in prior art.Methods described
Including: the contextual model of itself is associated by mobile terminal with the application scenarios of intelligent appliance;Described mobile terminal carries out scene
During pattern switching, the application scenarios of described intelligent appliance are accordingly switched;According to the application scenarios after switching, described movement
Terminal sends equipment state adjust instruction to described intelligent appliance, so that described intelligent appliance is adjusted to the application scenarios after switching
Corresponding equipment state.It is disadvantageous in that, this invention still needs and presets controlling interface, the construction cycle is still relatively
Long, less efficient.
Content of the invention
The purpose of the present invention is to overcome smart machine system in prior art often to dock a new equipment it is necessary to spend big
The amount time develops specific controlling interface for it, and the construction cycle is longer, less efficient shortcoming, provides one kind to automatically generate intelligence and sets
The method of standby controlling interface.
The purpose of the present invention is to be achieved by following technical proposals:
A kind of method automatically generating smart machine controlling interface, based on Control System of Intelligent, Control System of Intelligent
Including device end, high in the clouds and control terminal, method comprises the following steps:
Step 1, control terminal sends control unit end request, and control unit end request is transmitted to equipment eventually by high in the clouds
End;
Step 2, after terminal receives control unit end request, the feature typing of equipment itself is become parameter, parameter is packed
Add profile file, and the profile files passe of packing parameter will be added to high in the clouds;
Step 3, control terminal obtains profile file from high in the clouds, and extracts the parameters in profile file, controls eventually
End is by parameters typing control, and adds event sniffer in space;
Step 4, control terminal generates controlling interface according to control, for related personnel's control operation.
Profile file contains the parameters of equipment, after control terminal obtains these parameters, need not preset control in advance
Interface processed, just can automatically generate easy controlling interface according to these parameters, can complete the basic control to device end.With
When, this easy controlling interface can also use as formal interface after beautification.Due to it, controlling interface all
Can automatically generate, therefore, new device end adds and can also quickly be controlled, and the construction cycle is compared with prior art greatly
Shorten, efficiency is higher.
As a kind of preferred version, described is that parameter includes enumerating shape parameter, continuous shape parameter and character shape parameter, piece
Lift at least two values that shape parameter includes setting, the selection enumerating shape parameter in controlling interface can only be selected in the value setting
Select, continuous shape parameter includes continuously being worth within the specific limits, the selection of continuous shape parameter in controlling interface can set
In the range of free transition, character shape parameter includes specific character, in controlling interface character shape parameter can only carry out specific
Character select.Enumerate the parameter selection that shape parameter, continuous shape parameter and character shape parameter include thumping majority, such as power supply
Switch can select to enumerate shape parameter, and the selection of air conditioning mode equally can also select to enumerate shape parameter, and the regulation of temperature is then
Continuous shape parameter, and specifically, such as timed task be then character shape parameter.
As a kind of preferred version, in described profile file, also include non-operable type parameter, non-operable class
Shape parameter is used in the read through model in control.Non- operable type parameter can be watched by controlling interface for related personnel
Some base regimes of device end etc., are easy to the situation that operator more intuitively understand device end.
As a kind of preferred version, described device end also includes feedback module and time delay module, automatically generates intelligence
The method of appliance control interface also includes step 5, and the controlling interface that related personnel passes through control terminal refers to device end transmission
After order, device end receives instruction, and time delay module starts timing, and after having spent the time setting, feedback module is by equipment
Parameter feedback to high in the clouds, high in the clouds again by parameter return value control terminal, if the parameter returning consistent with the parameter instructing then it represents that
Automatically generate smart machine controlling interface and control unit end success, if the parameter returning is inconsistent with the parameter of instruction,
Represent and automatically generate smart machine controlling interface and control unit end failure, finishing control process.This is designed for when control
When mistake in terminal control unit terminal, related personnel can understand practical situation in time.
The invention has the beneficial effects as follows, the method automatically generating smart machine controlling interface makes controlling interface automatic
Generate, therefore, new device end adds and can also quickly be controlled, and the construction cycle shortens dramatically compared with prior art, effect
Rate is higher.
Brief description
Fig. 1 is a kind of flow chart of the present invention;
Fig. 2 is that profile file of the present invention transmits to the flow chart of control unit end.
Specific embodiment
With reference to the accompanying drawings and examples the present invention is further described.
Embodiment: a kind of method automatically generating smart machine controlling interface, based on Control System of Intelligent, intelligently set
Standby control system includes device end, high in the clouds and control terminal, and method flow diagram is as shown in figure 1, comprise the following steps:
Step 1, control terminal sends control unit end request, and control unit end request is transmitted to equipment eventually by high in the clouds
End;
Step 2, after terminal receives control unit end request, the feature typing of equipment itself is become parameter, parameter is packed
Add profile file, and the profile files passe of packing parameter will be added to high in the clouds;
Step 3, control terminal obtains profile file from high in the clouds, and extracts the parameters in profile file, controls eventually
End is by parameters typing control, and adds event sniffer in space;
Step 4, control terminal generates controlling interface according to control, for related personnel's control operation;
Step 5, related personnel is sent after instruction to device end by the controlling interface of control terminal, and device end receives finger
Order, time delay module starts timing, and after having spent the time setting, by the parameter feedback of equipment to high in the clouds, high in the clouds is again for feedback module
By parameter return value control terminal, if the parameter returning consistent with the parameter instructing then it represents that automatically generating smart machine control
Interface and control unit end success, if return parameter with instruction parameter inconsistent then it represents that automatically generating smart machine
Controlling interface and control unit end failure, finishing control process.
Described is that parameter includes enumerating shape parameter, continuous shape parameter and character shape parameter, as shown in Fig. 2 enumeration type ginseng
Number includes at least two values setting, and the selection enumerating shape parameter in controlling interface can only select, continuously in the value setting
Shape parameter includes continuously being worth within the specific limits, and the selection of continuous shape parameter in controlling interface can be in the range of setting
Free transition, character shape parameter includes specific character, and in controlling interface, character shape parameter can only carry out specific character choosing
Select.
Such as air-conditioning products, the value of " power " only has "ON" or "Off", can be represented with numerical value 1 and 0;" mode's "
Value only has " refrigeration ", " heating ", " air-supply ", " dehumidifying " etc., can be represented with 1,2,3,4;The value of " design temperature "
It is a scope, such as 16-35 degree.The type of value that parameter can be summed up, nothing more than three kinds, enumerates shape (" switch "), seriality
(" temperature "), character string (represent operation, such as particular timing task with specific character string).By these rules, we can be for
Each equipment josn writes a functional parameter table, can be described as profile, such as:
{
"power": {
" name ": " switch ",
" type ": " enum ", // enumeration type
"values": {
" 0 ": " closing ",
" 1 ": " opening "
},
" act ": " set " // can read and operate
},
"settemp": {
" name ": " design temperature ",
" type ": " range ", // continuouss
"min": 16,
"max": 35,
" act ": " set " // can read and operate
},
"outertemp": {
" name ": " outdoor temperature ",
" type ": " range ", // continuouss
"min": -10,
"max": 40,
" act ": " get " // can only read and can not operate
}
}
The running status of equipment is also made up of these parameters and corresponding value, and is reported to high in the clouds, and application can get at any time,
The equipment state at such as certain a moment may be:
{"power":”1”,” settemp”:”25”,”outertemp”:5,” mode”:”2”}
So just can provide a general equipment control interface, accepting parameter is " parameter name " and " currency ", such as
" power " and " 1 " (opening equipment), to reach the purpose of control device.
Claims (4)
1. a kind of method automatically generating smart machine controlling interface, based on Control System of Intelligent, smart machine controls system
System includes device end, high in the clouds and control terminal, it is characterized in that, comprises the following steps:
Step 1, control terminal sends control unit end request, and control unit end request is transmitted to equipment eventually by high in the clouds
End;
Step 2, after device end receives control unit end request, the feature typing of equipment itself is become parameter, by parameter
Packing adds profile file, and will add the profile files passe of packing parameter to high in the clouds;
Step 3, control terminal obtains profile file from high in the clouds, and extracts the parameters in profile file, controls eventually
End is by parameters typing control, and adds event sniffer in space;
Step 4, control terminal generates controlling interface according to control, for related personnel's control operation.
2. a kind of method automatically generating smart machine controlling interface according to claim 1, is characterized in that, described is
Parameter includes enumerating shape parameter, continuous shape parameter and character shape parameter, enumerates at least two values that shape parameter includes setting, in control
The selection enumerating shape parameter in interface processed can only select in the value setting, and continuous shape parameter includes continuous within the specific limits
Value, in controlling interface the selection of continuous shape parameter can setting in the range of free transition, character shape parameter includes specific
Character, in controlling interface, character shape parameter can only carry out specific character selection.
3. a kind of method automatically generating smart machine controlling interface according to claim 1 and 2, described profile
Non- operable type parameter is also included, non-operable type parameter is used in the read through model in control in file.
4. a kind of method automatically generating smart machine controlling interface according to claim 1 and 2, is characterized in that, described
Device end also include feedback module and time delay module, the method automatically generating smart machine controlling interface also includes step 5,
Related personnel is sent after instruction to device end by the controlling interface of control terminal, and device end receives instruction, time delay mould
BOB(beginning of block) timing, after having spent the time setting, parameter is returned by feedback module by the parameter feedback of equipment to high in the clouds, high in the clouds again
Value control terminal, if return parameter with instruct parameter consistent then it represents that automatically generating smart machine controlling interface and control
Device end success, if return parameter with instruction parameter inconsistent then it represents that automatically generate smart machine controlling interface and
Control unit end failure, finishing control process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610779648.2A CN106375409A (en) | 2016-08-31 | 2016-08-31 | Method for automatically generating smart device control interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610779648.2A CN106375409A (en) | 2016-08-31 | 2016-08-31 | Method for automatically generating smart device control interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106375409A true CN106375409A (en) | 2017-02-01 |
Family
ID=57898910
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610779648.2A Pending CN106375409A (en) | 2016-08-31 | 2016-08-31 | Method for automatically generating smart device control interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375409A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108928213A (en) * | 2018-07-17 | 2018-12-04 | 深圳市汇川技术股份有限公司 | Method for parameter configuration, control panel and the controlled device of control panel |
CN113589703A (en) * | 2021-09-29 | 2021-11-02 | 深圳市翱宇晟科技有限公司 | Point control and group control adjustable intelligent household data processing system |
WO2022218197A1 (en) * | 2021-04-14 | 2022-10-20 | 华为技术有限公司 | Cross-device interaction method, and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101916157A (en) * | 2010-07-14 | 2010-12-15 | 浙江浙大中控信息技术有限公司 | Medical device monitoring method, medical device, server and medical system |
CN104618783A (en) * | 2015-02-11 | 2015-05-13 | 小米科技有限责任公司 | Remote control method and device |
CN105553959A (en) * | 2015-12-11 | 2016-05-04 | Tcl集团股份有限公司 | Remote control method and system capable of dynamically generating intelligent device operation interface |
CN105629908A (en) * | 2014-10-31 | 2016-06-01 | 腾讯科技(深圳)有限公司 | Internet of things equipment control method and device |
CN105739460A (en) * | 2014-12-12 | 2016-07-06 | 青岛海尔智能家电科技有限公司 | Method and device for automatically generating control interface of Internet-of-Things household appliances |
-
2016
- 2016-08-31 CN CN201610779648.2A patent/CN106375409A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101916157A (en) * | 2010-07-14 | 2010-12-15 | 浙江浙大中控信息技术有限公司 | Medical device monitoring method, medical device, server and medical system |
CN105629908A (en) * | 2014-10-31 | 2016-06-01 | 腾讯科技(深圳)有限公司 | Internet of things equipment control method and device |
CN105739460A (en) * | 2014-12-12 | 2016-07-06 | 青岛海尔智能家电科技有限公司 | Method and device for automatically generating control interface of Internet-of-Things household appliances |
CN104618783A (en) * | 2015-02-11 | 2015-05-13 | 小米科技有限责任公司 | Remote control method and device |
CN105553959A (en) * | 2015-12-11 | 2016-05-04 | Tcl集团股份有限公司 | Remote control method and system capable of dynamically generating intelligent device operation interface |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108928213A (en) * | 2018-07-17 | 2018-12-04 | 深圳市汇川技术股份有限公司 | Method for parameter configuration, control panel and the controlled device of control panel |
CN108928213B (en) * | 2018-07-17 | 2022-04-19 | 深圳市汇川技术股份有限公司 | Parameter configuration method of control panel, control panel and controlled equipment |
WO2022218197A1 (en) * | 2021-04-14 | 2022-10-20 | 华为技术有限公司 | Cross-device interaction method, and device |
CN113589703A (en) * | 2021-09-29 | 2021-11-02 | 深圳市翱宇晟科技有限公司 | Point control and group control adjustable intelligent household data processing system |
CN113589703B (en) * | 2021-09-29 | 2022-01-18 | 深圳市翱宇晟科技有限公司 | Point control and group control adjustable intelligent household data processing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103750734B (en) | A kind of steam cabinet intelligent control device | |
CN106375409A (en) | Method for automatically generating smart device control interface | |
CN105509235B (en) | Air-conditioning system and air conditioning control method based on the air-conditioning system | |
CN102839590B (en) | Vibration control system and method for double-wheel road roller | |
CN103970097A (en) | Smart home internet-of-things system based on EIB/KNX bus | |
CN105282140A (en) | Control method, devices and system of intelligent household system | |
CN103037092A (en) | Design method for remotely controlling household appliances through smart phone | |
CN106547210A (en) | Household appliance controlling system and its control device and control method | |
CN105282604B (en) | A kind of television set and its information source intelligent selecting method | |
CN106033194A (en) | Intelligent smoke ventilator control system | |
CN103439882B (en) | The method of adjustment of a kind of controller parameter and device | |
CN202548520U (en) | Device for intelligently controlling curtain automatically lifting of projection machine | |
CN105280438A (en) | Wireless intelligent switch panel having timing motion function and method | |
CN106440218B (en) | Control method, controller, smart machine and air-conditioning is arranged in electricity | |
CN201974799U (en) | Novel program updating device | |
CN207580137U (en) | A kind of main random of assembly type air-conditioning peculiar to vessel can adjust control system | |
CN203658833U (en) | Programmable logic controller (PLC) networking control system of compressors | |
CN100386700C (en) | Bulk producing controlling method based on bulk producing controlling system | |
CN208384393U (en) | A kind of switch, electrical equipment and control system | |
CN106549839A (en) | A kind of electronic equipment dynamic interaction mode | |
CN205620708U (en) | Through remote radio frequency wireless network intelligence control system of low -power consumption | |
CN107357202A (en) | One kind sets terminal program parametric technique | |
CN111083020A (en) | Intelligent household appliance control method | |
CN210534768U (en) | Air conditioner debugging system based on it is wireless programmable | |
CN204945669U (en) | A kind of controllable keyswitch system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310000 Room 101, 1st Floor, Block C, No. 57, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Hangzhou Bolian Intelligent Technology Co., Ltd. Address before: Room 106, Building No. 1, 611 Jianghong Road, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province Applicant before: Hangzhou Gubei Electronic Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170201 |
|
RJ01 | Rejection of invention patent application after publication |