CN113810252A - Method and device for automatically adapting control interface of internet of things household appliance - Google Patents

Method and device for automatically adapting control interface of internet of things household appliance Download PDF

Info

Publication number
CN113810252A
CN113810252A CN202010536763.3A CN202010536763A CN113810252A CN 113810252 A CN113810252 A CN 113810252A CN 202010536763 A CN202010536763 A CN 202010536763A CN 113810252 A CN113810252 A CN 113810252A
Authority
CN
China
Prior art keywords
internet
data table
things
function
gateway device
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.)
Granted
Application number
CN202010536763.3A
Other languages
Chinese (zh)
Other versions
CN113810252B (en
Inventor
曹秀霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Original Assignee
Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Hitachi Air Conditioning System Co Ltd filed Critical Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Priority to CN202010536763.3A priority Critical patent/CN113810252B/en
Publication of CN113810252A publication Critical patent/CN113810252A/en
Application granted granted Critical
Publication of CN113810252B publication Critical patent/CN113810252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2809Exchanging configuration information on appliance services in a home automation network indicating that an appliance service is present in a home automation network
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a method and a device for automatically adapting a control interface of an internet of things household appliance, wherein the method comprises the following steps: s1: determining at least one gateway device; s2: acquiring a functional data table of gateway equipment to be accessed on a cloud platform; s3: judging whether the acquired function data table is consistent with the local function data table, if not, going to S4, and if so, going to S5; s4: judging whether the function state set in the acquired function data table is consistent with the local function state set, if not, updating the local function state set, and proceeding to S5, and if so, proceeding to S5; s5: n = n-1, returning to S2 when n ≧ 1, otherwise proceeding to S6; s6: locally generating a control interface of a function complete set in a function data table of the gateway equipment; s7: and calling a control interface of the household appliance of the Internet of things to be controlled. The invention can automatically adapt the control interface of the Internet of things household appliance accessed to the gateway equipment, has high flexibility and reduces the software development and maintenance cost.

Description

Method and device for automatically adapting control interface of internet of things household appliance
Technical Field
The invention relates to the technical field of household appliance communication, in particular to a method and a device for automatically adapting a control interface of an internet of things household appliance.
Background
At present, along with popularization of WIFI networks and smart phones, more and more household appliances begin to walk on an intelligent road, interest of people in intelligent household appliances of the internet of things is increased, and a mode of controlling the household appliances by applying an App client side becomes a trend. Aiming at the differences of the APP access devices, the methods for presenting the control interface of the devices are also different.
The functions of the existing APP in the general household field are 'written' to the APP client side, dynamic adaptation is not carried out according to the difference of the inherent functions of other devices, and the functions of a series of devices are respectively controlled by adopting the common functions of device models.
In the existing mode, the adaptation of a control interface is performed according to the equipment model of the controlled equipment, for example, a range hood, a humidifier, an air detector and the like are added into an APP, and the control interfaces of the models which are written one by one need to be customized in software.
The adaptation of the control interface according to the model of the equipment needs to be customized and developed when new models and functions are added, so that the flexibility is poor, the development cost and the APP maintenance cost are high, the efficiency is low, and the adaptation is not beneficial to management and user use.
Disclosure of Invention
The invention provides a method and a device for automatically adapting a control interface of an internet of things household appliance, which are used for automatically adapting the control interface of the internet of things household appliance accessed to a gateway device when the number and/or functions of the internet of things household appliance are changed, have high use flexibility and reduce software development and maintenance cost.
In order to realize the purpose of the invention, the invention is realized by adopting the following technical scheme:
the application relates to a method for automatically adapting a control interface of an internet of things household appliance, which comprises the following steps:
s1: determining at least one gateway device accessed by the Internet of things household appliance, and associating the at least one gateway device with the logged-in account;
s2: acquiring a function data table of one gateway device of the at least one gateway device to be accessed on the cloud platform;
s3: judging whether the acquired function data table is consistent with the local current function data table or not, if not, performing S4, and if so, performing S5;
s4: judging whether the function state set in the acquired function data table is consistent with the local current function state set, if not, updating the local current function state set, and proceeding to S5; if yes, go to S5;
s5: n = n-1 and returns to S2 when n ≧ 1, otherwise proceeds to S6; wherein n is the number of access times and is equal to the number of all gateway devices;
s6: locally generating a control interface of a function complete set in a function data table of gateway equipment accessed by the Internet of things household appliance to be controlled;
s7: and calling a control interface of the household appliance of the Internet of things to be controlled.
In some embodiments of the present application, the method for automatically adapting a control interface of an internet of things appliance can actively update a function data table of a gateway device on the cloud platform, where the actively updating a factor of the function data table of the gateway device on the cloud platform includes:
powering up the gateway equipment again; and/or
Adding new internet of things household appliances accessed to the gateway equipment; and/or
Changing the function complete set of the function data table of the gateway device.
In some embodiments of the present application, the internet of things appliances that belong to the same type access the same gateway device, each of the at least one gateway that accesses the same cloud platform has a unique gateway identity identifier, and each of the at least one internet of things appliances that access the same gateway device has a unique device identity identifier.
In some embodiments of the present application, the function data table of the gateway device stores:
the complete set of functions;
the gateway identity identifier;
device identity identifiers of all the internet of things household appliances belonging to the gateway device;
accessing a function state set of each internet of things household appliance of the gateway equipment;
and the version number of the function complete set under the gateway equipment.
In some embodiments of the present application, when the function data table of the gateway device on the cloud platform is actively updated, the version number of the function complete set under the gateway device is changed correspondingly.
In some embodiments of the present application, the function data table of the gateway device further stores:
and the first zone bit is used for identifying whether the version number of the function complete set changes under the gateway equipment.
The method for automatically adapting the control interface of the internet of things household appliance comprises the steps that a plurality of internet of things household appliances are connected to each gateway device, a functional data table of each gateway device is stored on a cloud platform, and a functional state set of the internet of things household appliances connected to each gateway device is also stored on the cloud platform, wherein the functional state set is contained in the functional data table, the control interface of a function complete set in a latest functional data table of the gateway device connected to the internet of things household appliance to be controlled is locally rendered through the comparison between the local function data table and the functional state set on the cloud platform, and the control interface of the internet of things household appliance to be controlled is called under an account associated with the gateway device so as to perform corresponding control operation on the internet of things household appliance. According to the method and the system, when the quantity and/or the function of the internet of things household appliances are/is changed, the control interface of the internet of things household appliances of the gateway equipment is automatically adapted and accessed, the use flexibility is high, and the software development and maintenance cost is reduced.
In some embodiments of the present application, the set of functional states of each internet of things appliance accessing the gateway device stores:
the equipment identity identifier of the internet of things household appliance;
the function of the internet of things household appliance;
the functions of the internet of things household appliances are integrated;
and the version number of the functions of the Internet of things household appliance.
In some embodiments of the present application, the set of functional states of each internet of things appliance accessing the gateway device stores:
and the second zone bit is used for identifying whether the version number of the functions of the internet of things household appliance changes or not.
In some embodiments of the application, when the function complete set in the local current function data table is updated, if the functions of the internet of things household appliance are increased, a control interface corresponding to the increased functions is written and updated to the gateway device, the cloud platform and the local.
The application also relates to a device for automatically adapting the control interface of the internet of things household appliance, which comprises:
the system comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining at least one gateway device accessed by the Internet of things household appliance;
the acquisition unit is used for acquiring a function data table of each gateway device on the cloud platform;
the first judging unit is used for judging whether the acquired function data table is consistent with a local current function data table or not;
a second judging unit, configured to judge whether the acquired function state set is consistent with a local current function state set;
the updating unit is used for updating the local current function state set when the acquired function data table is inconsistent with the local current function data table and the function state set in the acquired function data table is inconsistent with the local current function state set;
the generation unit is used for locally generating a control interface of a function complete set in a function data table of gateway equipment accessed by the household appliance of the internet of things to be controlled;
and the calling unit is used for calling the control interface of the internet of things household appliance after the control interface of the function complete set is generated.
Other features and advantages of the present invention will become more apparent from the following detailed description of the invention when taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an embodiment of a method for automatically adapting a control interface of an internet of things appliance according to the present invention;
fig. 2 is a functional block diagram of an embodiment of an apparatus for automatically adapting a control interface of an internet of things appliance according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. In the description of the present invention, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention.
In the description of the present invention, it should be noted that the terms "mounted," "connected," and "connected" are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected unless otherwise explicitly stated or limited. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
Referring to fig. 1, a flow chart of a method for automatically adapting a control interface of an internet of things appliance of the present application is shown.
The method shown in fig. 1 is applied to a smart terminal, which includes a type of device installed with an application APP for controlling an internet of things appliance, such as a smart phone, a tablet computer, a personal PC, and the like.
And calling a control interface of the Internet of things household appliance to be controlled through the APP.
The Internet of things household appliance can be accessed to a central air conditioner, an air source heat pump, a household water machine, a tobacco dryer and the like of a gateway device wirelessly through a communication module (not limited to WiFi, NB-loT, LAN and the like).
The same type of internet of things household appliances are accessed into the same gateway equipment.
The following description takes the type of the internet of things appliance as an air conditioner.
The same APP may include M (M is a natural number greater than or equal to 1) home users, each home user may be provided with N gateway devices (M is a natural number greater than or equal to 1), and the number of air conditioners accessing each gateway device may be different.
The upper limit values of M and N depend on how many air conditioners the gateway device can add.
When the APP on the smart terminal is used to automatically adapt the control interface of the air conditioner, it should have the following preconditions.
a. The cloud platform operates normally.
b. The gateway equipment and the air conditioner are both powered on, the communication between the gateway equipment and the air conditioner is normal, and the networking of the communication module is also normal.
c. The user uses the APP to add the gateway equipment and can search the air conditioner.
M groups (e.g. households) can be added under the app account, and N gateway devices can be added under each group.
e. The cloud platform stores a function data table Dx corresponding to each gateway device, for example, the gateway device X, and a function state set Dxy of the air conditioner Y under the gateway device X.
f. The data (such as configuration data, unit data and the like) related to the air conditioner are reported to the cloud platform through the gateway equipment, the cloud platform is interacted with the APP data, the APP end can acquire the air conditioner data from the cloud platform, and the whole air conditioning system is assisted to complete remote control actions.
The function data table Dx of the gateway device X and the function state set Dxy of the air conditioner Y under the gateway device X are specifically described as follows.
It should be noted that each gateway device has a unique gateway id, and the home appliance under each gateway device has a unique device id.
For example, gateway device X has a gateway device identifier NOx. The air conditioners under the same gateway device, e.g., gateway device X, have a device identifier NOx-aa-bb, 0 ≦ aa ≦ 63, 0 ≦ bb ≦ 63 if 0 ≦ M ≦ 64, 0 ≦ N ≦ 64;
s1: and determining at least one gateway device accessed by the Internet of things household appliance, and associating the at least one gateway device with the logged-in account.
In the application, the household appliances of the internet of things are selected as central air conditioners which can be accessed to the same gateway equipment or different gateway equipment. Of course, the internet of things appliance may also be other types of appliances, such as an air-source heat pump as described above, which may be connected to another gateway device.
Because the same APP can be used by a plurality of different users, and different APP accounts can be allocated for different users.
After opening and logging in APP, because the APP end can add M groups, can add N gateway device under every group Q, and can add C air conditioners under every gateway device X. Therefore, after the user logs in the APP through the user account, M × N gateway devices may be bound.
After the user logs in the APP through the user account, all air conditioners under each gateway device X can be searched at the APP.
S2: and acquiring a function data table of one gateway device of the at least one gateway device to be accessed on the cloud platform.
Both the local (i.e., APP side) and the cloud platform store the function data table Dx corresponding to each gateway device, for example, the function data table Dx of the gateway device X, and the function state set Dxy of the air conditioner Y under the gateway device X.
At the APP end, the functional data table Dmn of M × N gateway devices in M groups can be accessed and pulled, the functional data tables of all gateway devices in group Q are denoted as Dm, the functional data table Dx of the gateway device X in group Q is a subset of Dm, and Dm is a subset of Dmn.
The functional data table Dx of the gateway device X stores the following fields:
Figure DEST_PATH_IMAGE002
the functional state set Dxy of the air conditioner Y under the gateway device X is as follows:
Figure DEST_PATH_IMAGE004
the functional data table Dx of the gateway device X pulled from the cloud platform contains a functional state set Dxy of the air conditioner Y under the gateway device X.
After logging in the APP, for M × N gateway devices, the APP end needs to pull the functional data table Dx of each gateway device from the cloud platform through the interface.
The functional data table Dx of the gateway device X on the cloud platform may be actively updated when there is a factor affecting the Dx, for example, the factor affecting the Dx includes a new power-on start of the gateway device X, an addition of a new air conditioner (for example, a new model of air conditioner Y') accessing the gateway device X, and a change of a full set of functions of the functional data table Dx of the gateway device X (for example, a function selection function of a line controller operating the air conditioner Y under the gateway device X), which all update the Dx, so as to update the corresponding version number Vx and the full set of functions XStatus in the Dx.
The updating of the version number Vx can be expressed as a change of the version number Vx, and such a change can be known by comparing the version numbers.
In this application, the functional data table Dx of the gateway device X further includes a first flag bit for identifying whether the version number Vx changes, and when the first flag bit is 1, the version number Vx changes, and when the first flag bit is 0, the version number Vx does not change.
It should be noted that, the gateway device X is bound in the group for the first time, and the initial version number of the function data table Dx of the gateway device X is defined as V00.00.00 by the cloud platform.
S3: judging whether the function data table Dx of each gateway device X acquired from the cloud platform is consistent with the current function data table of the APP end, and if not, proceeding to S4; if yes, proceed to S5.
In the application, whether the version number Vx of the functional data table Dx of the gateway device X is consistent with the version number Vx of the corresponding functional data table Dx of the APP terminal is judged.
If the two are not consistent, it indicates that the function data table Dx of the gateway device X on the cloud platform is up to date, and at this time, the APP shall pull the new function data table Dx from the cloud platform to access, and proceed to S4.
If the two are consistent, it is indicated that the local function data table Dx is the latest, and the APP does not need to pull the new function data table Dx from the cloud platform to access, and proceeds to S5.
S4: judging whether the function state set Dxy in the function data table Dx of the gateway device X on the cloud platform is consistent with the local current function state set Dxy, if not, updating the local current function state set Dxy, and proceeding to S5; if yes, proceed to S5.
Since the version number Vx of the function data table Dx of the gateway device X and the full set of functions XStatus on the cloud platform are updated, but the full set of functions XStatus (for example, caused by the above-described power-on startup of the gateway device X) is not substantially changed, it is necessary to determine whether the function state set Dxy of the air conditioner Y under the gateway device X is changed if it is necessary to adapt to a control interface of a certain air conditioner Y.
In the application, whether the version number Vxy of the function of the air conditioner in the functional state set Dxy in the functional data table Dx is consistent with the version number Vxy of the function of the air conditioner in the functional state set Dxy of the functional data table Dx at the APP end or not is judged.
The reason is that if the two are not consistent, it indicates that the function complete set DxY of the air conditioner Y under the gateway device X on the cloud platform is changed and the corresponding version Vxy is also changed, so that the version number Vxy can be used for consistency judgment.
The change of this version number Vxy can be known by comparing the version numbers.
If the two are not consistent, it indicates that the function state set Dxy in the function data table Dx of the gateway device X on the cloud platform is the latest, and at this time, the function state set Dxy of the local APP end should be updated, and the process proceeds to S5.
If the two are consistent, it indicates that the function state set Dxy in the local function data table Dx is the latest, and the APP-side function state set Dxy does not need to be updated, and the process proceeds to S5.
In this application, the functional state set Dxy further includes a second flag bit for identifying whether the version number Vxy changes, and when the second flag bit is 1, the version number Vxy is indicated to change, and when the second flag bit is 0, the version number Vxy is indicated to not change.
This second flag also identifies whether function corpus DxY has changed because function corpus DxY must change once Vxy changes.
S5: n = n-1, n being the number of accesses and equal to the number of all gateway devices, and returns to S2 when n ≧ 1, and proceeds to S6 when n = 0.
Access needs to be made to all gateway devices M × N under the account of the logged APP, and therefore, each gateway device X needs to perform the processes of S2 to S4.
Each time one gateway device is accessed, the number of gateway devices under the account of the logged APP is one less, i.e. N = N-1, where N is the number of accesses and is equal to the number M × N of all gateway devices under the account of the logged APP.
If all the gateway devices under the account of the logged APP have completed the processes from S2 to S4, that is, n = 0.
S6: and locally generating a control interface of a function complete set XStatus in a function data table Dx of gateway equipment X accessed by the to-be-controlled Internet of things household appliance.
Rendering all elements of the control interface of the function corpus XStatus in the function data table Dx at the APP end. For example, the function set can be on/off, air volume (1-6), mode (refrigeration, heating, dehumidification, air supply, floor heating, heating + floor heating, dehumidification + floor heating, automatic, electric heating, humidification and the like), temperature (room temperature, water temperature of a cold and hot water unit), additional function (energy saving, silence, sleep, health, forest wind, self-cleaning, human feeling, humidification, strength, and open installation of an atmosphere lamp switch, but not limited to these), air deflector (1-7 sections in the horizontal direction and 1-7 sections in the vertical direction), 3D air supply, ultra-far air supply and the like.
S7: and calling a control interface of the household appliance of the Internet of things to be controlled.
After the control interface of the function complete set XStatus in the function data table Dx of the gateway device X is generated in S6, the user may select a certain air conditioner NOx-aa-bb accessing to multiple air conditioners under the gateway device X at this time, so as to access the specific control interface of the air conditioner NOx-aa-bb for performing corresponding control operation.
In the control interface, the function in the function corpus XStatus in the function data table Dx uses 1 or 0 to identify the state of the function, if the function in the function data table Dx is identified as 1, the function in the function data table Dx is displayed in the control interface, otherwise, the function is not displayed.
After the control interface of the air conditioner NOx-aa-bb is formed, a control interface file UIaa-bb of the NOx-aa-bb can be stored at the APP terminal.
Similarly, control interfaces for other air conditioners NOx-aa-bb under the gateway device may be generated, as well as control interfaces for other air conditioners NOx-aa-bb under other gateway devices.
In the normal use process of the APP, if the following situation occurs, the control interface of the Internet of things household appliance to be controlled needs to be generated according to the steps of S1-S7.
(1) If the user adjusts the function selection item of the wire controller of the corresponding air conditioner;
(2) if the user reconnects a new model air conditioner whose function is not in the full set of functions XStatus under the gateway device X.
Of course, if the user reconnects a new model air conditioner with a function not in the complete set of functions XStatus under the gateway device X, that is, the function of the accessed new model air conditioner exceeds the function data table Dx, the control interface of the function is newly written in the APP, and the control interface is updated to the main control software, the cloud platform and the local APP software of the gateway device X.
The method for automatically adapting the control interface of the internet of things household appliance starts from the function complete set of the function data table, the automatic adaptation of the control interface of the APP terminal can be realized on the software design from the following steps of continuously compatible with different air conditioner types but having the same inherent functions, adjusting the function selection function of the wire controller, upgrading the inherent functions of the air conditioner and the like, the APP software and the APP upgrading are not required to be rewritten, the software is easy to maintain, the design is flexible, and the development period, the development cost and the maintenance cost are reduced.
Fig. 2 shows a functional block diagram of an apparatus 100 for automatically adapting a control interface of an internet of things appliance according to an embodiment of the present invention.
In the present application, the apparatus 100 is applied to an intelligent terminal, and corresponds to a method for implementing the above-mentioned automatic adaptation of the control interface of the internet of things appliance.
The apparatus 100 comprises:
a determining unit 110, configured to determine at least one gateway device to which the internet of things appliance is connected
An obtaining unit 120, configured to obtain a function data table of each gateway device on the cloud platform.
A first judging unit 130, configured to judge whether the acquired function data table is consistent with a local current function data table.
A second judging unit 140, configured to judge whether the acquired function state set is consistent with a local current function state set.
An updating unit 150, configured to update the local current function state set when the obtained function data table is inconsistent with the local current function data table and the function state set in the obtained function data table is inconsistent with the local current function state set.
And the generating unit 160 is configured to locally generate a control interface of the function complete set in the function data table of the gateway device to which the home appliance of the internet of things to be controlled is accessed.
And the invoking unit 170 is configured to invoke the control interface of the internet of things household appliance after the control interface of the function corpus is generated, so as to perform corresponding control operation on the internet of things household appliance.
The functions implemented by the units of the apparatus 100 can be known by referring to fig. 1 and the description of the method thereof, which are not described herein again.
Adopt the control interface of the automatic adaptation thing of above-mentioned device 100 allies oneself with household electrical appliances, from the function complete set of function data table, can realize the automatic adaptation of APP end control interface on the software design from "follow-up constantly compatible different air conditioner models but inherent function is the same", "adjustment drive-by-wire ware function option function", "the inherent function upgrade of air conditioner" etc. do not write APP software and APP upgrading again, easily software maintenance, and the design is nimble, reduce development cycle, development cost and maintenance cost.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (10)

1. A method for automatically adapting a control interface of an Internet of things household appliance is characterized by comprising the following steps:
s1: determining at least one gateway device accessed by the Internet of things household appliance, and associating the at least one gateway device with the logged-in account;
s2: acquiring a function data table of one gateway device of the at least one gateway device to be accessed on the cloud platform;
s3: judging whether the acquired function data table is consistent with the local current function data table or not, if not, going to S4, and if so, going to S5;
s4: judging whether the function state set in the acquired function data table is consistent with the local current function state set, if not, updating the local current function state set, and proceeding to S5, and if so, proceeding to S5;
s5: n = n-1 and returns to S2 when n ≧ 1, otherwise proceeds to S6; wherein n is the number of access times and is equal to the number of all gateway devices;
s6: locally generating a control interface of a function complete set in a function data table of gateway equipment accessed by the Internet of things household appliance to be controlled;
s7: and calling a control interface of the internet of things household appliance to be controlled.
2. The method of automatically adapting a control interface of an internet of things appliance according to claim 1, wherein the actively updating the functional data table of the gateway device on the cloud platform comprises:
powering up the gateway equipment again; and/or
Adding new internet of things household appliances accessed to the gateway equipment; and/or
Changing the function complete set of the function data table of the gateway device.
3. The method for automatically adapting a control interface of an internet of things appliance according to claim 1, wherein the internet of things appliances belonging to the same type access the same gateway device; each gateway device accessed to the same cloud platform is provided with a unique gateway identity identifier; and each of the at least one internet of things appliances accessing the same gateway device has a unique device identity identifier.
4. The method for automatically adapting a control interface of an internet of things appliance according to claim 3, wherein the function data table of the gateway device stores:
the complete set of functions;
the gateway identity identifier;
device identity identifiers of all the internet of things household appliances belonging to the gateway device;
accessing a function state set of each internet of things household appliance of the gateway equipment;
and the version number of the function complete set under the gateway equipment.
5. The method according to claim 4, wherein when the function data table of the gateway device on the cloud platform is actively updated, the version number of the function complete set of the gateway device is changed correspondingly.
6. The method for automatically adapting a control interface of an internet of things appliance according to claim 4 or 5, wherein the function data table of the gateway device further stores:
and the first zone bit is used for identifying whether the version number of the function complete set changes under the gateway equipment.
7. The method of automatically adapting a control interface for an internet of things appliance of claim 3, wherein the set of functional states of each internet of things appliance accessing the gateway device stores:
the equipment identity identifier of the internet of things household appliance;
the function of the internet of things household appliance;
the functions of the internet of things household appliances are integrated;
and the version number of the functions of the Internet of things household appliance.
8. The method according to claim 7, wherein the set of functional states of each of the internet of things appliances accessing the gateway device stores:
and the second zone bit is used for identifying whether the version number of the functions of the internet of things household appliance changes or not.
9. The method for automatically adapting a control interface of an internet of things appliance according to claim 3, further comprising: and when the function complete set in the local current function data table is updated, if the functions of the internet of things household appliances are increased, compiling a control interface corresponding to the increased functions, and updating the control interface to the gateway equipment, the cloud platform and the local.
10. An apparatus for automatically adapting a control interface of an internet of things appliance, comprising:
the system comprises a determining unit, a judging unit and a judging unit, wherein the determining unit is used for determining at least one gateway device accessed by the Internet of things household appliance;
the acquisition unit is used for acquiring a function data table of each gateway device on the cloud platform;
the first judging unit is used for judging whether the acquired function data table is consistent with a local current function data table or not;
a second judging unit, configured to judge whether the acquired function state set is consistent with a local current function state set;
the updating unit is used for updating the local current function state set when the acquired function data table is inconsistent with the local current function data table and the function state set in the acquired function data table is inconsistent with the local current function state set;
the generation unit is used for locally generating a control interface of a function complete set in a function data table of gateway equipment accessed by the household appliance of the internet of things to be controlled;
and the calling unit is used for calling the control interface of the internet of things household appliance after the control interface of the function complete set is generated.
CN202010536763.3A 2020-06-12 2020-06-12 Method and device for automatically adapting control interface of internet of things household appliance Active CN113810252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010536763.3A CN113810252B (en) 2020-06-12 2020-06-12 Method and device for automatically adapting control interface of internet of things household appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010536763.3A CN113810252B (en) 2020-06-12 2020-06-12 Method and device for automatically adapting control interface of internet of things household appliance

Publications (2)

Publication Number Publication Date
CN113810252A true CN113810252A (en) 2021-12-17
CN113810252B CN113810252B (en) 2023-03-14

Family

ID=78943977

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010536763.3A Active CN113810252B (en) 2020-06-12 2020-06-12 Method and device for automatically adapting control interface of internet of things household appliance

Country Status (1)

Country Link
CN (1) CN113810252B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1776681A (en) * 2005-12-13 2006-05-24 北京大学 WEB control interface unified generating method and IP home network integrated control method
CN103023681A (en) * 2011-09-22 2013-04-03 北京天成信宇科技有限责任公司 Smart home control device and updating method
US20150319046A1 (en) * 2014-05-01 2015-11-05 Belkin International, Inc. Controlling settings and attributes related to operation of devices in a network
CN105137858A (en) * 2015-07-30 2015-12-09 青岛海尔智能家电科技有限公司 Integrated household appliance control method and device
CN107783809A (en) * 2017-09-29 2018-03-09 烽火通信科技股份有限公司 A kind of smart machine control panel remote rendering method
CN108693784A (en) * 2018-08-03 2018-10-23 深圳绿米联创科技有限公司 Management method, device, terminal device and the storage medium of home equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1776681A (en) * 2005-12-13 2006-05-24 北京大学 WEB control interface unified generating method and IP home network integrated control method
CN103023681A (en) * 2011-09-22 2013-04-03 北京天成信宇科技有限责任公司 Smart home control device and updating method
US20150319046A1 (en) * 2014-05-01 2015-11-05 Belkin International, Inc. Controlling settings and attributes related to operation of devices in a network
CN105137858A (en) * 2015-07-30 2015-12-09 青岛海尔智能家电科技有限公司 Integrated household appliance control method and device
CN107783809A (en) * 2017-09-29 2018-03-09 烽火通信科技股份有限公司 A kind of smart machine control panel remote rendering method
CN108693784A (en) * 2018-08-03 2018-10-23 深圳绿米联创科技有限公司 Management method, device, terminal device and the storage medium of home equipment

Also Published As

Publication number Publication date
CN113810252B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
CN105045222A (en) Intelligent household electrical appliance control method and device
EP3675003A1 (en) Appliance, method and system for controlling the same, server and appliance controlling apparatus
CN102901180B (en) A kind of method and system controlling air-conditioning
CN101594251B (en) Digital home network system and scene mode configuration method thereof
CN104796444A (en) Digital household scene control management system and method
CN108062031A (en) Intelligent home furnishing control method, device, system and electronic equipment
CN108731207A (en) The apparatus of air conditioning and its control method, control device
CN105573135A (en) Control method and device of intelligent household appliance
CN104991456A (en) Intelligent electrical appliance control method and device
CN105652826A (en) Intelligent household control method, controller, mobile terminal and system thereof
CN105425602A (en) Automatic control method and apparatus for household appliance
CN103116336A (en) Method and device for automatic management of controlled device through intelligent home control terminal
CN109945296B (en) Air conditioner, control method of household appliance, household appliance and storage medium
CN113093565B (en) Control method and control platform for electronic equipment, electronic equipment and storage medium
CN104199398A (en) Intelligent housing system and control method thereof
CN108303902B (en) Equipment control method, medium, equipment and device
CN115343962A (en) Intelligent household appliance control method and system, intelligent screen and storage medium
CN115167161A (en) Method and device for determining association relation of lamp, storage medium and electronic device
CN114120996A (en) Voice interaction method and device
CN113810252B (en) Method and device for automatically adapting control interface of internet of things household appliance
CN113359503B (en) Equipment control method and related device
CN110794773A (en) Click-type scene creating method and device
CN115268293B (en) Touch screen control panel based on control of whole house intelligent household appliances
CN111123718A (en) Storage medium, intelligent panel and power-saving management method thereof
CN114265327B (en) Sleep control method and device of intelligent household equipment, processor and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant