CN106161157A - Intelligent home system building method and device, intelligent home system and terminal - Google Patents

Intelligent home system building method and device, intelligent home system and terminal Download PDF

Info

Publication number
CN106161157A
CN106161157A CN201610578439.1A CN201610578439A CN106161157A CN 106161157 A CN106161157 A CN 106161157A CN 201610578439 A CN201610578439 A CN 201610578439A CN 106161157 A CN106161157 A CN 106161157A
Authority
CN
China
Prior art keywords
equipment
information
configuration file
subfunction
intelligent domestic
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
CN201610578439.1A
Other languages
Chinese (zh)
Other versions
CN106161157B (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201610578439.1A priority Critical patent/CN106161157B/en
Publication of CN106161157A publication Critical patent/CN106161157A/en
Priority to PCT/CN2017/074369 priority patent/WO2018014553A1/en
Application granted granted Critical
Publication of CN106161157B publication Critical patent/CN106161157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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]
    • 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
    • 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/2816Controlling appliance services of a home automation network by calling their functionalities
    • 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/283Processing of data at an internetworking point of a home automation network
    • 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/283Processing of data at an internetworking point of a home automation network
    • H04L12/2836Protocol conversion between an external network and a home network

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Computer And Data Communications (AREA)
  • Multimedia (AREA)

Abstract

The invention discloses a method and a device for building an intelligent home system, the intelligent home system and a terminal, wherein the method comprises the following steps: configuring the equipment information of the equipment in the intelligent home system to obtain a configuration file corresponding to the equipment; and responding to the trigger request of the equipment subjected to the configuration processing, and analyzing the configuration file corresponding to the equipment to realize the dynamic loading of the equipment. The scheme of the invention can overcome the defects of slow response speed, weak stability and poor scalability in the prior art and realize the beneficial effects of fast response speed, strong stability and good scalability.

Description

The building method of intelligent domestic system, device, intelligent domestic system and terminal
Technical field
The invention belongs to Smart Home technical field, be specifically related to the building method of a kind of intelligent domestic system, device, intelligence Energy house system and terminal, particularly relate to a kind of mobile terminal based on intelligent domestic system framework building method, device, have this The intelligent domestic system of device and there is the mobile terminal of this intelligent domestic system.
Background technology
Smart Home, can be with house as platform, utilizes comprehensive wiring technology, the network communications technology, safety precaution skill Art, automatic control technology, audio frequency and video technology, by integrated for facility relevant for life staying idle at home, build efficient housing facilities and family The management system of schedule affairs, promotes house security, convenience, comfortableness, artistry, and realizes the inhabitation ring of environmental protection and energy saving Border.The Smart Home market demand is very big at present, but market is the most chaotic simultaneously, and the single product of intelligence are a lot.
As mobile terminal APP, at type configurationization aspect, the most compatible equipment as much as possible and also need response Quickly iterative development, it is necessary to the mobile terminal frame quickly developing iteration, scalability is strong, stability is strong can be supported for one Frame.
In prior art, have that response speed is slow, stability is weak and the defect such as scalability is poor.
Summary of the invention
It is an object of the invention to, for drawbacks described above, it is provided that the building method of a kind of intelligent domestic system, device, intelligence Energy house system and terminal, to solve the problem that cannot quickly respond in prior art, reach to promote the effect of response speed.
The present invention provides the building method of a kind of intelligent domestic system, including: to equipment in described intelligent domestic system Facility information carries out configurationization and processes, and obtains the configuration file corresponding with described equipment;Respond processing through described configurationization The triggering request of described equipment, resolved the described configuration file that this equipment is corresponding, it is achieved to dynamically adding of described equipment Carry.
Alternatively, the facility information of equipment in described intelligent domestic system is carried out configurationization and processes, including: according to presetting Device type, the equipment in described intelligent domestic system is classified;The classification results obtained according to described classification, will be every In the facility information of kind equipment, the uncertain information in addition to general information detaches;The described uncertain letter obtained will be detached Breath carries out the process of decoupling property;And by degree of coupling in described uncertain information more than the part of preset value, be defined as described in set Standby information to be configured;By described information to be configured, configured by the form of database table and/or xml.
Alternatively, described configuration file, including: equipment correspondence page path and equipment correspondent entity class at least one; Correspondingly, the described configuration file of equipment to be loaded in described intelligent domestic system is resolved, including: obtain described configuration The equipment correspondence page path of this equipment in file;By default dynamic operation mechanism, in the fortune of described dynamic operation mechanism The described equipment correspondent entity class under described equipment correspondence page path is loaded during row.
Alternatively, obtain the equipment correspondence page path of this equipment in described configuration file, including: according to described configuration literary composition The device type of this equipment in part, inquires about described configuration file;The Query Result obtained according to inquiry, obtains and described equipment pair The described equipment correspondence page path answered.
Alternatively, uncertain information in addition to general information in the facility information of every kind equipment is detached, including: Arbitrary sub-information in uncertain information in addition to general information in the facility information of every kind equipment is become an equipment pair As;Described device object is carried out device identification;Provide access to the equipment correspondence page path of described device object;Arrange For being loaded the equipment correspondent entity class of described device object by described equipment correspondence page path;It is provided for inquiry described The equipment login method of equipment correspondent entity class;Correspondingly, described configuration file, also include: device object, device identification, set At least one standby login method.
Alternatively, wherein, described device type, including: according to the preset function of equipment in described intelligent domestic system, And/or preset the crowd of being suitable for, determine the type obtained;And/or, described general information, including: in every kind equipment, complexity Not higher than preset service logic and/or the factor of the most default uncertainty degree of uncertainty degree of complexity;Accordingly Ground, described uncertain information, including: in every kind equipment, described complexity higher than described default complexity service logic, And/or described uncertainty degree is higher than the factor of described default uncertainty degree;And/or, described information to be configured, including: machine Type, function, agreement, UI, region at least one.
Alternatively, also include: described function is carried out materialization process, obtain at least one subfunction, and make described son Function is tailored in described equipment;Wherein, described subfunction, including: can isolated operation control process and/or can be single The equipment interface solely run.
Alternatively, also include: after described function is carried out materialization process, at described equipment correspondent entity apoplexy due to endogenous wind to described Subfunction carries out location registration process, and/or, the described UI that described subfunction is corresponding is modified process, and/or, to described son Function and/or UI corresponding to described subfunction carry out modularized processing.
Alternatively, also include: after described function is carried out materialization process, keep described subfunction and/or described sub-merit Can not be modified by corresponding UI, increase the flag bit of described subfunction corresponding device, protocol configuration at least one, and/or, fill out Fill the concrete agreement of described subfunction corresponding device.
Alternatively, also include: by described flag bit, described concrete agreement is modified.
Alternatively, also include: when described intelligent domestic system has equipment to be increased, according to described equipment to be increased Described configuration file is modified by facility information, so that described equipment to be increased is increased to described intelligent domestic system.
Match with said method, another aspect of the present invention provide a kind of intelligent domestic system build device, including: join Putting processing unit, processes for the facility information of equipment in described intelligent domestic system carries out configurationization, obtains with described The configuration file that equipment is corresponding;Dynamic load unit, asks the triggering of the described equipment processed through described configurationization for response Ask, the described configuration file that this equipment is corresponding is resolved, it is achieved the dynamic load to described equipment.
Alternatively, configurationization processing unit, including: sort module, for according to the device type preset, to described intelligence Equipment in house system is classified;Detach module, for the classification results obtained according to described classification, by every kind equipment In facility information, the uncertain information in addition to general information detaches;Determine module, for by detach obtain described in not Determine that information carries out the process of decoupling property;And by degree of coupling in described uncertain information more than the part of preset value, be defined as The information to be configured of described equipment;Configuration module, for by described information to be configured, by database table and/or the form of xml Configure.
Alternatively, described configuration file, including: equipment correspondence page path and equipment correspondent entity class at least one; Correspondingly, dynamic load unit, including: path acquisition module is corresponding for obtaining the equipment of this equipment in described configuration file Page path;Entity class load-on module, for by default dynamic operation mechanism, in the operation of described dynamic operation mechanism Journey loads the described equipment correspondent entity class under described equipment correspondence page path.
Alternatively, path acquisition module, including: inquiry submodule, for according to the setting of this equipment in described configuration file Standby type, inquires about described configuration file;Obtain submodule, for the Query Result obtained according to inquiry, obtain and described equipment Corresponding described equipment correspondence page path.
Alternatively, detach module, including: the abstract submodule of object, for general by the facility information of every kind equipment removes In uncertain information outside information, arbitrary sub-information becomes a device object;Mark arranges submodule, for described Device object carries out device identification;Path arranges submodule, for providing access to the equipment correspondence page of described device object Path, face;Entity class arranges submodule, is used for being provided for loading described device object by described equipment correspondence page path Equipment correspondent entity class;Method arranges submodule, logs in for being provided for inquiring about the equipment of described equipment correspondent entity class Method;Correspondingly, described configuration file, also include: device object, device identification, equipment login method at least one.
Alternatively, wherein, described device type, including: according to the preset function of equipment in described intelligent domestic system, And/or preset the crowd of being suitable for, determine the type obtained;And/or, described general information, including: in every kind equipment, complexity Not higher than preset service logic and/or the factor of the most default uncertainty degree of uncertainty degree of complexity;Accordingly Ground, described uncertain information, including: in every kind equipment, described complexity higher than described default complexity service logic, And/or described uncertainty degree is higher than the factor of described default uncertainty degree;And/or, described information to be configured, including: machine Type, function, agreement, UI, region at least one.
Alternatively, also include: function embodies unit, for described function is carried out materialization process, obtain at least one Individual subfunction, and make described subfunction be tailored in described equipment;Wherein, described subfunction, including: can the control of isolated operation Process processed and/or can the equipment interface of isolated operation.
Alternatively, also include: modular exhaust treatment units, after described function is carried out materialization process, set described Standby correspondent entity apoplexy due to endogenous wind carries out location registration process to described subfunction, and/or, the described UI that described subfunction is corresponding is modified Process, and/or, the UI that described subfunction and/or described subfunction are corresponding is carried out modularized processing.
Alternatively, also include: protocol-compliant unit, after described function is carried out materialization process, keep described son Function and/or UI corresponding to described subfunction be not modified, and increases the flag bit of described subfunction corresponding device, protocol configuration At least one, and/or, fill the concrete agreement of described subfunction corresponding device.
Alternatively, also include: described protocol-compliant unit, be additionally operable to, by described flag bit, described concrete agreement be entered Row change.
Alternatively, also include: equipment increases unit, be used for when described intelligent domestic system has equipment to be increased, root According to the facility information of described equipment to be increased, described configuration file is modified, described so that described equipment to be increased is increased to Intelligent domestic system.
Matching with said apparatus, further aspect of the present invention provides a kind of intelligent domestic system, including: above-described intelligence Can house system build device.
Matching with said system, another aspect of the invention provides a kind of terminal, including: above-described Smart Home system System.
The solution of the present invention, by complicated service logic or uncertain factor are carried out configurationization, operation time Wait by resolving the dynamic loading of configuration file realization, can solve cannot quickly respond and meet asking of numerous type demands Topic.
Further, the solution of the present invention, by constantly improving function storehouse and the functional protocol of Smart Home, it is possible to compatible All single product, the problem solving team unity exploitation difficulty, the problem solving APP size rapid expansion.
Further, the solution of the present invention, by building sufficiently stable system, the single product of multiple intelligence can be developed simultaneously, The exploitation and the functional development that make single product do not conflict, and can promote the response speed of intelligent domestic system and scalable further Property.
Further, the solution of the present invention, by by uncertain factor configurableization, reducing code to a certain extent Complexity, and allow cooperative development become simpler, more developer can be absorbed in implementing of function;And APP can dynamically go to load the function needed by the way of configuring, and makes APP more powerful.
Thus, the solution of the present invention, by by the complicated service logic of equipment room each in Smart Home or uncertain Factor carry out configurationization, and operationally realize the dynamic load of relevant device by resolving configuration file, solve existing skill The problem that cannot quickly respond in art, thus, overcome that response speed in prior art is slow, stability is weak and scalability is poor lacks Fall into, it is achieved the beneficial effect that fast response time, stability are strong and scalability is good.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description Obtain it is clear that or understand by implementing the present invention.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of an embodiment of the building method of the intelligent domestic system of the present invention;
Fig. 2 be the present invention method in the schematic flow sheet of an embodiment that processes of configurationization;
Fig. 3 be the present invention method in the schematic flow sheet of an embodiment of entity class loading processing;
Fig. 4 be the present invention method in the schematic flow sheet of an embodiment that processes of path acquisition;
Fig. 5 be the present invention method in detach the schematic flow sheet of an embodiment of process;
Fig. 6 is the structural representation of the embodiment building device of the intelligent domestic system of the present invention;
Fig. 7 is the structural representation of the embodiment detaching module in assembly of the invention;
Fig. 8 is the structural representation of an embodiment of path acquisition module in assembly of the invention;
Fig. 9 is the structural representation of an embodiment of the intelligent domestic system of the present invention;
Figure 10 is the structural representation of another embodiment of the intelligent domestic system of the present invention.
In conjunction with accompanying drawing, in the embodiment of the present invention, reference is as follows:
102-configurationization processing unit;1022-sort module;1024-detaches module;1026-determines module;1028-joins Put module;104-dynamic load unit;1042-path acquisition module;1044-entity class load-on module;106-equipment increases single Unit;108-function embodies unit;110-modular exhaust treatment units;112-protocol-compliant unit.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with the specific embodiment of the invention and Technical solution of the present invention is clearly and completely described by corresponding accompanying drawing.Obviously, described embodiment is only the present invention one Section Example rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
According to embodiments of the invention, it is provided that the building method of a kind of intelligent domestic system, the present invention as shown in Figure 1 The schematic flow sheet of one embodiment of method.The building method of this intelligent domestic system may include that
At step S110, the facility information of equipment in described intelligent domestic system is carried out configurationization process, obtain with The configuration file that described equipment is corresponding.
Such as: configuration file can be increased, it is used for configuring facility information.
Thus, by the configurationization of facility information is processed, convenience and the reliability of dynamic load, user can be promoted Experience.
It is alternatively possible to combine the schematic flow sheet of the embodiment that configurationization processes in the method for the present invention shown in Fig. 2, Further illustrate and the facility information of equipment in described intelligent domestic system is carried out the concrete mistake that configurationization processes by step S110 Journey.
Step S210, according to default device type, classifies to the equipment in described intelligent domestic system.
Such as: first pass through device type and equipment is classified.
Alternatively, described device type, may include that according in described intelligent domestic system equipment preset function and/ Or preset the crowd of being suitable for, determine the type obtained.By the device type determined based on user's request, highly versatile, hommization Good.
Step S220, the classification results obtained according to described classification, will remove general information in the facility information of every kind equipment Outside uncertain information detach.
Wherein, detach, can be by the facility information of same class equipment, determine this kind equipment general information (such as: The facility information that the general utility functions of this kind equipment is corresponding) after, by the facility information of this kind equipment except described general information it Outer out of Memory (i.e. uncertain information) extracts.
Such as: detach and determine the place needing configurationization.
Alternatively, described general information, may include that in every kind equipment, complexity not higher than presets complexity Service logic and/or uncertainty degree not higher than preset the factor of uncertainty degree.
Correspondingly, described uncertain information, may include that in every kind equipment, described complexity is preset again higher than described The service logic of miscellaneous degree and/or described uncertainty degree are higher than the factor of described default uncertainty degree.By based on presetting Complexity and uncertainty degree distinguish general information and uncertain information, be conducive to improving facility information carried out configurationization The accuracy processed and reliability.
It is alternatively possible to combine the schematic flow sheet of the embodiment detaching process in the method for the present invention shown in Fig. 5, enter Uncertain information in addition to general information in the facility information of every kind equipment is carried out by one step explanation step S220 detach Detailed process.
Step S510, by arbitrary sub-information in uncertain information in addition to general information in the facility information of every kind equipment It is abstracted into a device object.
Such as: concrete xml configuration format, Ke Yiru:
<?Xml version=" 1.0 " encoding=" utf-8 " >
<DeviceType id=1name=" air-conditioning ">
Step S520, carries out device identification to described device object.
Such as: concrete xml configuration format, Ke Yiru:
<mid>ab492s2sdfa123</Mid>(equipment uniquely identifies)
Step S530, provides access to the equipment correspondence page path of described device object.
Such as: concrete xml configuration format, Ke Yiru:
<DevicePath>/com/device/activity/DeviceAcActivity.java</DevicePath> (equipment correspondence page path)
Step S540, the equipment correspondence being provided for being loaded described device object by described equipment correspondence page path is real Body class.
Such as: concrete xml configuration format, Ke Yiru:
<DeviceEntity>/com/device/activity/DeviceEntity.java</DeviceEntity> (equipment correspondent entity class)
Step S550, is provided for inquiring about the equipment login method of described equipment correspondent entity class.
Such as:<deviceLogin>deviceAcLogin</DeviceLogin>(equipment login method)
</DeviceType>
Correspondingly, described configuration file, it is also possible to including: device object, device identification, equipment login method at least it One.
Thus, by uncertain information in facility information is detached, be conducive to promote configurationization process convenience with High efficiency.
Step S230, carries out the process of decoupling property by detaching the described uncertain information obtained;And by described uncertain letter In breath, degree of coupling is more than the part of preset value, is defined as the information to be configured of described equipment.
Wherein, coupling, be also the degree of coupling, can be to module (such as: the sub-information in described uncertain information) between The tolerance of correlation degree.
Wherein, decoupling property, i.e. release the association between module (such as: the sub-information in described uncertain information), by mould Block becomes single submodule (such as: described uncertain information becomes many sub-information), makes each submodule energy become Enough it is different from other submodule in described module and is individually present.So, when described uncertain information is modified, as long as repairing Change the sub-information of correspondence, on the one hand, the amendment to this sub-information does not interferes with in described uncertain information except this sub-letter The operation of other the sub-information outside breath, is conducive to promoting described uncertain information reliability of operation;On the other hand, only to this The amendment of sub-information can realize the amendment to described uncertain information, is conducive to improving the high efficiency of amendment.
Such as: complicated service logic or uncertain factor can be carried out configurationization.
Such as: configuration file, (get final product extending mark language by xml, be that one makes it have for labelling e-file Structural markup language) form configure.
Such as: can complicated logic be detached, decoupling property, if cannot uncoupled place be exactly that needs are write really Thing to configuration file.
Alternatively, described information to be configured, may include that type, function, agreement, UI, region at least one.
Such as: go to consider the realization of APP from the angle of function, APP needs the place of configurationization, including: type is uncertain Property, the FU, agreement is uncertain.
Such as: the angle selected from the crowd of being suitable for goes to consider that the realization of APP, APP need the place of configurationization to include: UI is not Definitiveness (such as: which kind of UI uncertain is applicable to which kind of crowd), region is uncertain (such as: whether uncertain server holds concurrently Hold this area) etc..
Thus, by the information to be configured of various ways, motility that configurationization processes and general can be promoted further Property, and then promote the experience of user.
Step S240, by described information to be configured, is configured by the form of database table and/or xml.
Such as: complicated service logic relation and the factor that cannot determine are deposited by the way of database table or xml Storage, can't embody the logical relation of these complexity inside code.
Such as: by type uncertainty, configurationization scheme can be described.
Such as: in order to meet the demand of various type, need to increase at code the judgement of various types, go to identify different Type, detaches into xml configuration file by the logic of this complexity.
Thus, by the configuration to forms such as the uncertain factor mechanical energy database table of equipment, xml, so that not Determine that calling of factor is convenient, more accurate.
At step S120, respond the triggering to the described equipment processed through described configurationization and ask, corresponding to this equipment Described configuration file resolve, it is achieved the dynamic load to described equipment.
Such as: the when of operation, by resolving, configuration file realization is dynamic to be loaded.
Such as: before loading equipemtn information, it is not necessary to Runtime Library requires no knowledge about the method for execution;Only click on user The when of triggering, go to obtain oneself type page to be redirected by path.
Such as: APP passes through reflex mechanism, the dynamic call configuration file when program is run, and is come to visit by configuration file Ask equipment correspondence page path.
Thus, by the configurationization of equipment in intelligent domestic system is processed, by configurationization being processed the configuration obtained File carries out parsing and realizes dynamic load, can promote the response speed of loading, and then be greatly promoted the convenience that user uses.
Alternatively, described configuration file, may include that equipment correspondence page path and equipment correspondent entity class at least it One.
Such as: equipment correspondence page path corresponding for device type, equipment correspondent entity class are stored in a configuration literary composition In part.
Thus, by equipment correspondence page path and the configuration of equipment correspondent entity class, the convenient of parsing can be promoted Property and reliability, and then promote user use convenience.
Correspondingly, can show in conjunction with the flow process of an embodiment of entity class loading processing in the method for the present invention shown in Fig. 3 It is intended to, further illustrates the detailed process in step S120, the described configuration file that this equipment is corresponding resolved.
Step S310, obtains the equipment correspondence page path of this equipment in described configuration file.
Such as: read corresponding facility information, the page path that the equipment that gets is corresponding.
It is alternatively possible to combine the flow process signal of the embodiment that path acquisition processes in the method for the present invention shown in Fig. 4 Figure, further illustrates the detailed process of the equipment correspondence page path obtaining this equipment in described configuration file in step S310.
Step S410, according to the device type of this equipment in described configuration file, inquires about described configuration file.
Such as: every time the when of loading equipemtn, according to the type of equipment, query configuration file.
Step S420, the Query Result obtained according to inquiry, obtain the described equipment corresponding page corresponding with described equipment Path.
Thus, realizing the dynamic load of equipment by the way of query configuration file, loading efficiency is high, and accuracy is good.
Step S320, by default dynamic operation mechanism, loads institute in the running of described dynamic operation mechanism State the described equipment correspondent entity class under equipment correspondence page path.
Such as: by dynamic operation mechanism, running loads the Pages entity class under respective path, and without The logic writing complexity inside code goes to realize.
Thus, by the way of acquisition equipment correspondence page path, realize the dynamic load of equipment correspondent entity class, load Mode is easy and reliability is high.
In an optional embodiment, it is also possible to including: described function is carried out materialization process, obtains at least one Subfunction, and make described subfunction be tailored in described equipment.
Wherein, described subfunction, may include that can isolated operation control process and/or can the setting of isolated operation Standby interface.
Such as: by function embody, do not rely on entity, each function can isolated operation (such as: this operation, can To include equipment control, interface UI etc.), and equipment has only to customize the function oneself needed, and it is not directly provided with any function.
Thus, by the materialization of functions of the equipments is processed, it is possible to achieve customizing functions, and then numerous type need are met Asking, easy to use, Consumer's Experience is good.
In an optional embodiment, it is also possible to including: after described function is carried out materialization process, at described equipment Correspondent entity apoplexy due to endogenous wind carries out location registration process to described subfunction, and/or, the described UI that described subfunction is corresponding is modified place Reason, and/or, the UI that described subfunction and/or described subfunction are corresponding is carried out modularized processing.
Such as: after function is embodied, equipment correspondent entity class registering functional.When interface refresh, under send instructions time, logical Know that the UI (User Interface, user interface) of correspondence is modified, by function, UI modularity.
Such as: functions of the equipments generalization can be realized, and realize function modoularization.
Thus, by modes such as the location registration process of function, modularized processings, team unity exploitation difficulty can be solved Problem, the problem solving APP size rapid expansion, reliability is high, and the feature of environmental protection is good.
In an optional embodiment, it is also possible to including: after described function is carried out materialization process, keep described son Function and/or UI corresponding to described subfunction be not modified, and increases the flag bit of described subfunction corresponding device, protocol configuration At least one, and/or, fill the concrete agreement of described subfunction corresponding device.
Such as: after function being embodied, function and UI interface are not changed, increase plant equipment flag bit, increase agreement Configuration, and fill concrete agreement, APP changes the concrete agreement used by flag bit.
Thus, by increasing flag bit and protocol configuration, compatibility can be promoted, and then promote property easy to use with reliable Property.
In an optional embodiment, it is also possible to including: by described flag bit, described concrete agreement is carried out more Change.
Such as: can be by increasing protocol conversion instrument, it is achieved protocol-compliant.
Thus, by the change to concrete agreement, the convenience of compatibility can be improved, reduce memory capacity, expand and be suitable for Scope.
In an optional embodiment, it is also possible to including: when described intelligent domestic system has equipment to be increased, root According to the facility information of described equipment to be increased, described configuration file is modified, described so that described equipment to be increased is increased to Intelligent domestic system.
Such as: such as: increase device configuration file, each interpolation equipment has only to revise configuration file, without going Compatible equipment, adapting appts.
Thus, by the way of amendment configuration file, realize the increase of new equipment, increase mode easy, control reliability High.
Through substantial amounts of verification experimental verification, use the technical scheme of the present embodiment, by by complicated service logic or the most true Fixed factor carries out configurationization, and the when of operation, by resolving, configuration file realization is dynamic to be loaded, and can solve cannot be quick The problem responded and meet numerous type demands.
According to embodiments of the invention, additionally provide a kind of Smart Home of the building method corresponding to intelligent domestic system System build device.The structural representation of one embodiment of assembly of the invention shown in Figure 6.This intelligent domestic system Build device and may include that configurationization processing unit 102 and dynamic load unit 104.
In one example, configurationization processing unit 102, may be used for the equipment of equipment in described intelligent domestic system Information carries out configurationization and processes, and obtains the configuration file corresponding with described equipment.The concrete function of this configuration processing unit 102 And process sees step S110.
Such as: configuration file can be increased, it is used for configuring facility information.
Thus, by the configurationization of facility information is processed, convenience and the reliability of dynamic load, user can be promoted Experience.
Alternatively, configurationization processing unit 102, may include that sort module 1022, detach module 1024, determine module 1026 and configuration module 1028.
In an optional example, sort module 1022, may be used for according to the device type preset, to described intelligence man The equipment occupied in system is classified.Concrete function and the process of this sort module 1022 see step S210.
Such as: first pass through device type and equipment is classified.
Alternatively, described device type, may include that according in described intelligent domestic system equipment preset function and/ Or preset the crowd of being suitable for, determine the type obtained.By the device type determined based on user's request, highly versatile, hommization Good.
In an optional example, detach module 1024, may be used for the classification results obtained according to described classification, will be every In the facility information of kind equipment, the uncertain information in addition to general information detaches.This detaches the concrete function of module 1024 And process sees step S220.
Wherein, detach, can be by the facility information of same class equipment, determine this kind equipment general information (such as: The facility information that the general utility functions of this kind equipment is corresponding) after, by the facility information of this kind equipment except described general information it Outer out of Memory (i.e. uncertain information) extracts.
Such as: detach and determine the place needing configurationization.
Alternatively, described general information, may include that in every kind equipment, complexity not higher than presets complexity Service logic and/or uncertainty degree not higher than preset the factor of uncertainty degree.
Correspondingly, described uncertain information, may include that in every kind equipment, described complexity is preset again higher than described The service logic of miscellaneous degree and/or described uncertainty degree are higher than the factor of described default uncertainty degree.By based on presetting Complexity and uncertainty degree distinguish general information and uncertain information, be conducive to improving facility information carried out configurationization The accuracy processed and reliability.
It is alternatively possible to combine the structural representation of the embodiment detaching module in assembly of the invention shown in Fig. 7, enter One step explanation detaches the concrete structure of module 1024.Detach module 1024, may include that the abstract submodule of object 10242, mark Arrange submodule 10244, path arranges submodule 10246 and entity class arranges submodule 10248.
In an optional object lesson, the abstract submodule of object 10242, may be used for the facility information of every kind equipment In in uncertain information in addition to general information arbitrary sub-information become a device object.The abstract submodule of this object Concrete function and the process of 10242 see step S510.
Such as: concrete xml configuration format, Ke Yiru:
<?Xml version=" 1.0 " encoding=" utf-8 " >
<DeviceType id=1name=" air-conditioning ">
In an optional object lesson, mark arranges submodule 10244, may be used for setting described device object Standby mark.This mark arranges the concrete function of submodule 10244 and process sees step S520.
Such as: concrete xml configuration format, Ke Yiru:
<mid>ab492s2sdfa123</Mid>(equipment uniquely identifies)
In an optional object lesson, path arranges submodule 10246, may be used for providing access to described equipment The equipment correspondence page path of object.Concrete function and the process of the abstract submodule of this object 10242 see step S530.
Such as: concrete xml configuration format, Ke Yiru:
<DevicePath>/com/device/activity/DeviceAcActivity.java</DevicePath> (equipment correspondence page path)
In an optional object lesson, entity class arranges submodule 10248, may be used for being provided for being set by described Standby corresponding page path loads the equipment correspondent entity class of described device object.This entity class arranges the concrete of submodule 10248 Function and process see step S540.
Such as: concrete xml configuration format, Ke Yiru:
<DeviceEntity>/com/device/activity/DeviceEntity.java</DeviceEntity> (equipment correspondent entity class)
In an optional object lesson, method arranges submodule 10250, may be used for being provided for inquiring about described equipment The equipment login method of correspondent entity class.The method arranges the concrete function of submodule 10250 and process sees step S550.
Such as:<deviceLogin>deviceAcLogin</DeviceLogin>(equipment login method)
</DeviceType>
Correspondingly, described configuration file, it is also possible to including: device object, device identification, equipment login method at least it One.
Thus, by uncertain information in facility information is detached, be conducive to promote configurationization process convenience with High efficiency.
In an optional example, determine module 1026, may be used for carrying out detaching the described uncertain information obtained Decoupling property processes;And by degree of coupling in described uncertain information more than the part of preset value, it is defined as treating of described equipment Configuration information.This determines that the concrete function of module 1026 and process see step S230.
Wherein, coupling, be also the degree of coupling, can be to module (such as: the sub-information in described uncertain information) between The tolerance of correlation degree.
Wherein, decoupling property, i.e. release the association between module (such as: the sub-information in described uncertain information), by mould Block becomes single submodule (such as: described uncertain information becomes many sub-information), makes each submodule energy become Enough it is different from other submodule in described module and is individually present.So, when described uncertain information is modified, as long as repairing Change the sub-information of correspondence, on the one hand, the amendment to this sub-information does not interferes with in described uncertain information except this sub-letter The operation of other the sub-information outside breath, is conducive to promoting described uncertain information reliability of operation;On the other hand, only to this The amendment of sub-information can realize the amendment to described uncertain information, is conducive to improving the high efficiency of amendment.
Such as: complicated service logic or uncertain factor can be carried out configurationization.
Such as: configuration file, (get final product extending mark language by xml, be that one makes it have for labelling e-file Structural markup language) form configure.
Such as: can complicated logic be detached, decoupling property, if cannot uncoupled place be exactly that needs are write really Thing to configuration file.
Alternatively, described information to be configured, may include that type, function, agreement, UI, region at least one.
Such as: go to consider the realization of APP from the angle of function, APP needs the place of configurationization, including: type is uncertain Property, the FU, agreement is uncertain.
Such as: the angle selected from the crowd of being suitable for goes to consider that the realization of APP, APP need the place of configurationization to include: UI is not Definitiveness (such as: which kind of UI uncertain is applicable to which kind of crowd), region is uncertain (such as: whether uncertain server holds concurrently Hold this area) etc..
Thus, by the information to be configured of various ways, motility that configurationization processes and general can be promoted further Property, and then promote the experience of user.
In an optional example, configure module 1028, may be used for, by described information to be configured, passing through database table And/or the form of xml configures.Concrete function and the process of this configuration module 1028 see step S240.
Such as: complicated service logic relation and the factor that cannot determine are deposited by the way of database table or xml Storage, can't embody the logical relation of these complexity inside code.
Such as: by type uncertainty, configurationization scheme can be described.
Such as: in order to meet the demand of various type, need to increase at code the judgement of various types, go to identify different Type, detaches into xml configuration file by the logic of this complexity.
Thus, by the configuration to forms such as the uncertain factor mechanical energy database table of equipment, xml, so that not Determine that calling of factor is convenient, more accurate.
In one example, dynamic load unit 104, may be used for response to the described equipment processed through described configurationization Triggering request, the described configuration file that this equipment is corresponding is resolved, it is achieved the dynamic load to described equipment.This is dynamic Concrete function and the process of loading unit 104 see step S120.
Such as: the when of operation, by resolving, configuration file realization is dynamic to be loaded.
Such as: before loading equipemtn information, it is not necessary to Runtime Library requires no knowledge about the method for execution;Only click on user The when of triggering, go to obtain oneself type page to be redirected by path.
Such as: APP passes through reflex mechanism, the dynamic call configuration file when program is run, and is come to visit by configuration file Ask equipment correspondence page path.
Thus, by the configurationization of equipment in intelligent domestic system is processed, by configurationization being processed the configuration obtained File carries out parsing and realizes dynamic load, can promote the response speed of loading, and then be greatly promoted the convenience that user uses.
Alternatively, described configuration file, may include that equipment correspondence page path and equipment correspondent entity class at least it One.
Such as: equipment correspondence page path corresponding for device type, equipment correspondent entity class are stored in a configuration literary composition In part.
Thus, by equipment correspondence page path and the configuration of equipment correspondent entity class, the convenient of parsing can be promoted Property and reliability, and then promote user use convenience.
Correspondingly, dynamic load unit 104, may include that path acquisition module 1042 and entity class load-on module 1044.
In an optional example, path acquisition module 1042, may be used for obtaining this equipment in described configuration file Equipment correspondence page path.Concrete function and the process of this path acquisition module 1042 see step S310.
Such as: read corresponding facility information, the page path that the equipment that gets is corresponding.
It is alternatively possible to combine the structural representation of an embodiment of path acquisition module in assembly of the invention shown in Fig. 8 Figure, further illustrates the concrete structure of path acquisition module 1042.Path acquisition module 1042, may include that inquiry submodule 10422 and obtain submodule 10424.
In an optional object lesson, inquire about submodule 10422, may be used for according to this equipment in described configuration file Device type, inquire about described configuration file.Concrete function and the process of this inquiry submodule 10422 see step S410.
Such as: every time the when of loading equipemtn, according to the type of equipment, query configuration file.
In an optional object lesson, obtain submodule 10424, may be used for the Query Result obtained according to inquiry, Obtain the described equipment corresponding page path corresponding with described equipment.The concrete function of this acquisition submodule 10424 and process ginseng See step S420.
Thus, realizing the dynamic load of equipment by the way of query configuration file, loading efficiency is high, and accuracy is good.
In an optional example, entity class load-on module 1044, may be used for by default dynamic operation machine-processed, The running of described dynamic operation mechanism loads the described equipment correspondent entity class under described equipment correspondence page path.Should Concrete function and the process of entity class load-on module 1044 see step S320.
Such as: by dynamic operation mechanism, running loads the Pages entity class under respective path, and without The logic writing complexity inside code goes to realize.
Thus, by the way of acquisition equipment correspondence page path, realize the dynamic load of equipment correspondent entity class, load Mode is easy and reliability is high.
In an optional embodiment, it is also possible to including: function embodies unit 108.
In an optional example, function embodies unit 108, may be used for described function is carried out materialization process, Obtain at least one subfunction, and make described subfunction be tailored in described equipment.
Wherein, described subfunction, may include that can isolated operation control process and/or can the setting of isolated operation Standby interface.
Such as: by function embody, do not rely on entity, each function can isolated operation (such as: this operation, can To include equipment control, interface UI etc.), and equipment has only to customize the function oneself needed, and it is not directly provided with any function.
Thus, by the materialization of functions of the equipments is processed, it is possible to achieve customizing functions, and then numerous type need are met Asking, easy to use, Consumer's Experience is good.
In an optional embodiment, it is also possible to including: modular exhaust treatment units 110.
In an optional example, modular exhaust treatment units 110, may be used for described function is carried out materialization process After, at described equipment correspondent entity apoplexy due to endogenous wind, described subfunction is carried out location registration process, and/or, the institute corresponding to described subfunction State UI and be modified process, and/or, the UI that described subfunction and/or described subfunction are corresponding is carried out modularized processing.
Such as: after function is embodied, equipment correspondent entity class registering functional.When interface refresh, under send instructions time, logical Know that the UI (User Interface, user interface) of correspondence is modified, by function, UI modularity.
Such as: functions of the equipments generalization can be realized, and realize function modoularization.
Thus, by modes such as the location registration process of function, modularized processings, team unity exploitation difficulty can be solved Problem, the problem solving APP size rapid expansion, reliability is high, and the feature of environmental protection is good.
In an optional embodiment, it is also possible to including: protocol-compliant unit 112.
In an optional example, protocol-compliant unit 112, after may be used for described function is carried out materialization process, Keep described subfunction and/or UI corresponding to described subfunction not to be modified, increase described subfunction corresponding device flag bit, At least one protocol configuration, and/or, fill the concrete agreement of described subfunction corresponding device.
Such as: after function being embodied, function and UI interface are not changed, increase plant equipment flag bit, increase agreement Configuration, and fill concrete agreement, APP changes the concrete agreement used by flag bit.
Thus, by increasing flag bit and protocol configuration, compatibility can be promoted, and then promote property easy to use with reliable Property.
In an optional embodiment, described protocol-compliant unit 112, it is also possible to for by described flag bit, right Described concrete agreement is modified.
Such as: can be by increasing protocol conversion instrument, it is achieved protocol-compliant.
Thus, by the change to concrete agreement, the convenience of compatibility can be improved, reduce memory capacity, expand and be suitable for Scope.
In an optional embodiment, it is also possible to including: equipment increases unit 106.
In an optional example, equipment increases unit 106, may be used for when having in described intelligent domestic system to be increased During equipment, according to the facility information of described equipment to be increased, described configuration file is modified, with by described equipment to be increased Increase to described intelligent domestic system.
Such as: such as: increase device configuration file, each interpolation equipment has only to revise configuration file, without going Compatible equipment, adapting appts.
Thus, by the way of amendment configuration file, realize the increase of new equipment, increase mode easy, control reliability High.
The process realized due to the device of the present embodiment and function essentially correspond to the method shown in earlier figures 1 to Fig. 6 Embodiment, principle and example, therefore the most detailed part in the description of the present embodiment, may refer to speaking on somebody's behalf mutually in previous embodiment Bright, do not repeat at this.
Through substantial amounts of verification experimental verification, use technical scheme, by constantly improve Smart Home function storehouse and Functional protocol, it is possible to compatible all single product, the problem solving team unity exploitation difficulty, solve APP size rapid expansion Problem.
According to embodiments of the invention, additionally provide a kind of Smart Home building device corresponding to intelligent domestic system System.What this intelligent domestic system may include that above-described intelligent domestic system builds device.
In one embodiment, this intelligent domestic system, can be by complicated service logic or uncertain factor Carrying out configurationization, current mobile terminal is all that the mechanism by dynamic load is run, by complicated service logic relation and cannot The factor determined stores by the way of database table or xml, can't embody the logical relation of these complexity inside code, The when of operation, by resolving, configuration file realization is dynamic to be loaded.
Alternatively, this intelligent domestic system, can pass through the following aspects, carry out the process of above-mentioned configuration specifically Explanation.
1, type maps
First pass through device type equipment is classified, by equipment correspondence page path corresponding for device type, equipment Correspondent entity class is stored in a configuration file.Before loading equipemtn information, it is not necessary to Runtime Library requires no knowledge about execution Method;Only user's clicking trigger when, go to obtain oneself type page to be redirected by path.
In one example, configuration file can be increased, be used for configuring facility information.
Such as: increase device configuration file, each interpolation equipment has only to revise configuration file, sets without going compatibility Standby, adapting appts;APP passes through reflex mechanism, the dynamic call configuration file when program is run, and is accessed by configuration file Equipment correspondence page path.
2, customizing functions
Function being embodied, do not rely on entity, each function can (such as: this operation, can include in isolated operation Equipment control, interface UI etc.), and equipment has only to customize the function oneself needed, and it is not directly provided with any function.
3, push-notification-answer
After function is embodied, equipment correspondent entity class registering functional.When interface refresh, under send instructions time, it is right to notify The UI (User Interface, user interface) answered is modified, by function, UI modularity.
In one example, it is possible to achieve functions of the equipments generalization, and realize function modoularization.
Such as: can go realize the display at interface and order inquiry and issue for concrete function, and not rely on tool The type of body, the type page obtains function by the way of registration.Such as: the thought of MVP three-tier architecture, Model can be used The responsible data acquisition of layer, View layer is responsible for interface display, and Presenter layer is responsible for controlling the realization of logic, and concrete equipment is corresponding The functional module that page path registering functional module, changeable assembling and loading equipemtn need, it is to avoid the exploitation of repetition.
4, compatible (other plant equipment compatible)
After function being embodied, function and UI interface are not changed, and increase plant equipment flag bit, increase protocol configuration, And filling concrete agreement, APP changes the concrete agreement used by flag bit.
In one example, can be by increasing protocol conversion instrument, it is achieved protocol-compliant.
Such as: for the agreement of compatible various different manufacturers, protocol layer and Communication Layer are packaged, Communication Layer is responsible for number According to transmission and acceptance, protocol layer is responsible for the process of data, and upper strata obtains data and goes to call by concrete interface, by levels Decoupling and, go to call the different agreement of selection or protocol version by agreement flag bit.
In an optional embodiment, see the example shown in Fig. 9 and Figure 10, this intelligent domestic system, can be by not The factor or the service logic that determine detach, and carry out configurableization operation.
Step 1, detach and determine need configurationization place.
Go to consider the realization of APP from the angle of function, APP needs the place of configurationization, including: type is uncertain, merit Can be uncertain, agreement is uncertain.
The angle selected from the crowd of being suitable for goes to consider that the realization of APP, APP need the place of configurationization to include: UI is uncertain Property (such as: which kind of UI uncertain is applicable to which kind of crowd), region is uncertain (such as: uncertain server is the most compatible should Area) etc..
Step 2, configuration file, (got final product extending mark language by xml, be that one makes it have for labelling e-file Have structural markup language) form configure.
Such as: can complicated logic be detached, decoupling property, if cannot uncoupled place be exactly that needs are write really Thing to configuration file.Wherein, coupling, is also the degree of coupling, is the tolerance to intermodule correlation degree.
It is alternatively possible to configurationization scheme is described by type uncertainty.
Such as: in order to meet the demand of various type, need to increase at code the judgement of various types, go to identify different Type, detaches into xml configuration file by the logic of this complexity, and form can be such as:
In one example, the when of each loading equipemtn, according to the type of equipment, query configuration file, read correspondence Facility information, the page path that the equipment that gets is corresponding;By dynamic operation mechanism, running loads respective path Under Pages entity class, and without write inside code complexity logic go realize.
Visible, what APP showed user is concrete function, but exactly because uncertain, allowing APP have can play Property.Therefore, in order to make APP more humane, more perfect, by uncertain factor configurableization, generation is reduced to a certain extent The complexity of code, and allow cooperative development become simpler, more developer can be absorbed in implementing of function, and APP can dynamically go to load the function needed by the way of configuring, and makes APP more powerful.
Thus, from the total concept of intelligent domestic system it can be appreciated that be intelligent in order to realize household equipment, and current Household equipment system is the most perfect, and these equipment substantially can be divided into multiclass according to function.Such as: air regulates, illuminates, pacifies Anti-, cuisines, water purification hot water, healthy living etc..Since function is known, no matter how the single product of intelligence change, if the completeest The function storehouse of kind Smart Home and functional protocol, it is possible to compatible all single product;And the exploitation of list product and functional development are not rushed Prominent, the single product of multiple intelligence can be developed, it is only necessary to build sufficiently stable system simultaneously.
The process realized due to the system of the present embodiment and function essentially correspond to the enforcement of the device shown in earlier figures 6 Example, principle and example, therefore the most detailed part in the description of the present embodiment, may refer to the related description in previous embodiment, This does not repeats.
Through substantial amounts of verification experimental verification, use technical scheme, by building sufficiently stable system, can be simultaneously Develop the single product of multiple intelligence so that exploitation and the functional development of single product do not conflict, and can promote intelligent domestic system further Response speed and scalability.
According to embodiments of the invention, additionally provide a kind of terminal corresponding to intelligent domestic system.This terminal is at least wrapped Include: above-described described intelligent domestic system.
The process realized due to the terminal of the present embodiment and function essentially correspond to the system shown in earlier figures 9 and Figure 10 Embodiment, principle and example, therefore the most detailed part in the description of the present embodiment, may refer to speaking on somebody's behalf mutually in previous embodiment Bright, do not repeat at this.
Through substantial amounts of verification experimental verification, use technical scheme, by by uncertain factor configurableization, one Determining to reduce in degree the complexity of code, and allow cooperative development become simpler, more developer can be absorbed in Implementing of function;And APP can dynamically go to load the function needed by the way of configuring, make APP more powerful.
To sum up, skilled addressee readily understands that, on the premise of not conflicting, above-mentioned each advantageous manner can be certainly By ground combination, superposition.
The foregoing is only embodiments of the invention, be not limited to the present invention, for those skilled in the art For Yuan, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any amendment of being made, Equivalent, improvement etc., within should be included in scope of the presently claimed invention.

Claims (24)

1. the building method of an intelligent domestic system, it is characterised in that including:
The facility information of equipment in described intelligent domestic system carries out configurationization process, obtain the configuration corresponding with described equipment File;
Respond the triggering to the described equipment processed through described configurationization to ask, the described configuration file that this equipment is corresponding is carried out Resolve, it is achieved the dynamic load to described equipment.
Method the most according to claim 1, it is characterised in that the facility information of equipment in described intelligent domestic system is entered Row configurationization processes, including:
According to default device type, the equipment in described intelligent domestic system is classified;
The classification results obtained according to described classification, by uncertain letter in addition to general information in the facility information of every kind equipment Breath detaches;
The process of decoupling property is carried out by detaching the described uncertain information obtained;And by big for degree of coupling in described uncertain information In the part of preset value, it is defined as the information to be configured of described equipment;
By described information to be configured, configured by the form of database table and/or xml.
Method the most according to claim 2, it is characterised in that described configuration file, including: equipment correspondence page path and At least one equipment correspondent entity class;
Correspondingly, the described configuration file of equipment to be loaded in described intelligent domestic system is resolved, including:
Obtain the equipment correspondence page path of this equipment in described configuration file;
By default dynamic operation mechanism, in the running of described dynamic operation mechanism, load the described equipment correspondence page Described equipment correspondent entity class under path.
Method the most according to claim 3, it is characterised in that obtain the equipment correspondence page of this equipment in described configuration file Path, face, including:
According to the device type of this equipment in described configuration file, inquire about described configuration file;
The Query Result obtained according to inquiry, obtains the described equipment corresponding page path corresponding with described equipment.
5. according to the method described in claim 3 or 4, it is characterised in that the facility information of every kind equipment will remove general information Outside uncertain information detach, including:
One is become to set arbitrary sub-information in uncertain information in addition to general information in the facility information of every kind equipment Standby object;
Described device object is carried out device identification;
Provide access to the equipment correspondence page path of described device object;
It is provided for being loaded the equipment correspondent entity class of described device object by described equipment correspondence page path;
It is provided for inquiring about the equipment login method of described equipment correspondent entity class;
Correspondingly, described configuration file, also include: device object, device identification, equipment login method at least one.
6. according to the method one of claim 2-5 Suo Shu, it is characterised in that wherein,
Described device type, including: according in described intelligent domestic system equipment preset function and/or preset be suitable for crowd, Determine the type obtained;And/or,
Described general information, including: in every kind equipment, complexity not higher than presets the service logic and/or not of complexity Determine that degree not higher than presets the factor of uncertainty degree;
Correspondingly, described uncertain information, including: in every kind equipment, described complexity is higher than described default complexity Service logic and/or described uncertainty degree are higher than the factor of described default uncertainty degree;And/or,
Described information to be configured, including: type, function, agreement, UI, region at least one.
Method the most according to claim 6, it is characterised in that also include:
Described function is carried out materialization process, obtains at least one subfunction, and make described subfunction be tailored in described in set Standby;
Wherein, described subfunction, including: can isolated operation control process and/or can the equipment interface of isolated operation.
Method the most according to claim 7, it is characterised in that also include:
After described function is carried out materialization process, at described equipment correspondent entity apoplexy due to endogenous wind, described subfunction is carried out registration office Reason, and/or, the described UI that described subfunction is corresponding is modified process, and/or, to described subfunction and/or described sub-merit UI that can be corresponding carries out modularized processing.
9. according to the method described in claim 7 or 8, it is characterised in that also include:
After described function is carried out materialization process, described subfunction and/or UI corresponding to described subfunction is kept not to be modified, Increase the flag bit of described subfunction corresponding device, protocol configuration at least one, and/or, fill described subfunction correspondence and set Standby concrete agreement.
Method the most according to claim 9, it is characterised in that also include:
By described flag bit, described concrete agreement is modified.
11. according to the method one of claim 1-10 Suo Shu, it is characterised in that also include:
When described intelligent domestic system has equipment to be increased, according to the facility information of described equipment to be increased to described configuration File is modified, so that described equipment to be increased is increased to described intelligent domestic system.
12. 1 kinds of intelligent domestic systems build device, it is characterised in that including:
Configurationization processing unit, processes for the facility information of equipment in described intelligent domestic system carries out configurationization, obtains The configuration file corresponding with described equipment;
Dynamic load unit, asks the triggering of the described equipment processed through described configurationization for response, corresponding to this equipment Described configuration file resolve, it is achieved the dynamic load to described equipment.
13. devices according to claim 12, it is characterised in that configurationization processing unit, including:
Sort module, for according to the device type preset, classifying to the equipment in described intelligent domestic system;
Detach module, for the classification results obtained according to described classification, the facility information of every kind equipment will remove general information Outside uncertain information detach;
Determine module, for carrying out the process of decoupling property by detaching the described uncertain information obtained;And by described uncertain letter In breath, degree of coupling is more than the part of preset value, is defined as the information to be configured of described equipment;
Configuration module, for by described information to be configured, is configured by the form of database table and/or xml.
14. devices according to claim 13, it is characterised in that described configuration file, including: equipment correspondence page path With equipment correspondent entity class at least one;
Correspondingly, dynamic load unit, including:
Path acquisition module, for obtaining the equipment correspondence page path of this equipment in described configuration file;
Entity class load-on module, for by default dynamic operation mechanism, in the running of described dynamic operation mechanism Load the described equipment correspondent entity class under described equipment correspondence page path.
15. devices according to claim 14, it is characterised in that path acquisition module, including:
Inquiry submodule, for according to the device type of this equipment in described configuration file, inquires about described configuration file;
Obtain submodule, for the Query Result obtained according to inquiry, obtain the described equipment corresponding page corresponding with described equipment Path, face.
16. according to the device described in claims 14 or 15, it is characterised in that detach module, including:
The abstract submodule of object, for by arbitrary in uncertain information in addition to general information in the facility information of every kind equipment Sub-information becomes a device object;
Mark arranges submodule, for described device object is carried out device identification;
Path arranges submodule, for providing access to the equipment correspondence page path of described device object;
Entity class arranges submodule, for being provided for setting by the described equipment correspondence page path described device object of loading Standby correspondent entity class;
Method arranges submodule, for being provided for inquiring about the equipment login method of described equipment correspondent entity class;
Correspondingly, described configuration file, also include: device object, device identification, equipment login method at least one.
17. according to the device one of claim 13-16 Suo Shu, it is characterised in that wherein,
Described device type, including: according in described intelligent domestic system equipment preset function and/or preset be suitable for crowd, Determine the type obtained;And/or,
Described general information, including: in every kind equipment, complexity not higher than presets the service logic and/or not of complexity Determine that degree not higher than presets the factor of uncertainty degree;
Correspondingly, described uncertain information, including: in every kind equipment, described complexity is higher than described default complexity Service logic and/or described uncertainty degree are higher than the factor of described default uncertainty degree;And/or,
Described information to be configured, including: type, function, agreement, UI, region at least one.
18. devices according to claim 17, it is characterised in that also include:
Function embodies unit, for described function is carried out materialization process, obtains at least one subfunction, and makes described son Function is tailored in described equipment;
Wherein, described subfunction, including: can isolated operation control process and/or can the equipment interface of isolated operation.
19. devices according to claim 18, it is characterised in that also include:
Modular exhaust treatment units, after described function is carried out materialization process, at described equipment correspondent entity apoplexy due to endogenous wind to institute State subfunction and carry out location registration process, and/or, the described UI that described subfunction is corresponding is modified process, and/or, to described Subfunction and/or UI corresponding to described subfunction carry out modularized processing.
20. according to the device described in claim 18 or 19, it is characterised in that also include:
Protocol-compliant unit, after described function is carried out materialization process, keeps described subfunction and/or described subfunction Corresponding UI is not modified, increase the flag bit of described subfunction corresponding device, protocol configuration at least one, and/or, fill The concrete agreement of described subfunction corresponding device.
21. devices according to claim 20, it is characterised in that also include:
Described protocol-compliant unit, is additionally operable to, by described flag bit, be modified described concrete agreement.
22. according to the device one of claim 12-21 Suo Shu, it is characterised in that also include:
Equipment increases unit, for when having equipment to be increased in described intelligent domestic system, according to described equipment to be increased Described configuration file is modified by facility information, so that described equipment to be increased is increased to described intelligent domestic system.
23. 1 kinds of intelligent domestic systems, it is characterised in that including: the intelligent domestic system as described in claim 12-22 is arbitrary Build device.
24. 1 kinds of terminals, it is characterised in that including: intelligent domestic system as claimed in claim 23.
CN201610578439.1A 2016-07-20 2016-07-20 Intelligent home system building method and device, intelligent home system and terminal Active CN106161157B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610578439.1A CN106161157B (en) 2016-07-20 2016-07-20 Intelligent home system building method and device, intelligent home system and terminal
PCT/CN2017/074369 WO2018014553A1 (en) 2016-07-20 2017-02-22 Intelligent household system building method and device, intelligent household system and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610578439.1A CN106161157B (en) 2016-07-20 2016-07-20 Intelligent home system building method and device, intelligent home system and terminal

Publications (2)

Publication Number Publication Date
CN106161157A true CN106161157A (en) 2016-11-23
CN106161157B CN106161157B (en) 2019-01-29

Family

ID=58059532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610578439.1A Active CN106161157B (en) 2016-07-20 2016-07-20 Intelligent home system building method and device, intelligent home system and terminal

Country Status (2)

Country Link
CN (1) CN106161157B (en)
WO (1) WO2018014553A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018014553A1 (en) * 2016-07-20 2018-01-25 珠海格力电器股份有限公司 Intelligent household system building method and device, intelligent household system and terminal
CN111580857A (en) * 2020-04-27 2020-08-25 珠海格力电器股份有限公司 Equipment firmware online configuration method, device and system
CN113419775A (en) * 2021-05-31 2021-09-21 济南浪潮数据技术有限公司 Firmware configuration method, system, equipment and medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111198677B (en) * 2018-10-30 2024-10-29 阿里巴巴集团控股有限公司 Equipment object generation method, device and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595717A (en) * 2013-11-13 2014-02-19 海信集团有限公司 Household appliance control protocol conversion method and control terminal
CN104167088A (en) * 2014-08-26 2014-11-26 上海青芒科技有限公司 Remote control method and system of domestic appliances
CN105116734A (en) * 2015-06-26 2015-12-02 青岛海信移动通信技术股份有限公司 Control device and device for intelligent household electrical appliance and control terminal
CN105259828A (en) * 2015-10-15 2016-01-20 珠海格力电器股份有限公司 Integrated control method, terminal and application program regulation and control system for household appliances
US20160132029A1 (en) * 2014-11-11 2016-05-12 Lincogn Technology Co Limited Method for configuring and controlling smart home products
CN105739460A (en) * 2014-12-12 2016-07-06 青岛海尔智能家电科技有限公司 Method and device for automatically generating control interface of Internet-of-Things household appliances

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054789A1 (en) * 2002-09-12 2004-03-18 International Business Machines Corporation Pervasive home network portal
CN102164360B (en) * 2011-04-20 2013-11-06 瑞斯康达科技发展股份有限公司 Method and system for configuring and loading network equipment
CN106161157B (en) * 2016-07-20 2019-01-29 珠海格力电器股份有限公司 Intelligent home system building method and device, intelligent home system and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595717A (en) * 2013-11-13 2014-02-19 海信集团有限公司 Household appliance control protocol conversion method and control terminal
CN104167088A (en) * 2014-08-26 2014-11-26 上海青芒科技有限公司 Remote control method and system of domestic appliances
US20160132029A1 (en) * 2014-11-11 2016-05-12 Lincogn Technology Co Limited Method for configuring and controlling smart home products
CN105739460A (en) * 2014-12-12 2016-07-06 青岛海尔智能家电科技有限公司 Method and device for automatically generating control interface of Internet-of-Things household appliances
CN105116734A (en) * 2015-06-26 2015-12-02 青岛海信移动通信技术股份有限公司 Control device and device for intelligent household electrical appliance and control terminal
CN105259828A (en) * 2015-10-15 2016-01-20 珠海格力电器股份有限公司 Integrated control method, terminal and application program regulation and control system for household appliances

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018014553A1 (en) * 2016-07-20 2018-01-25 珠海格力电器股份有限公司 Intelligent household system building method and device, intelligent household system and terminal
CN111580857A (en) * 2020-04-27 2020-08-25 珠海格力电器股份有限公司 Equipment firmware online configuration method, device and system
CN113419775A (en) * 2021-05-31 2021-09-21 济南浪潮数据技术有限公司 Firmware configuration method, system, equipment and medium

Also Published As

Publication number Publication date
CN106161157B (en) 2019-01-29
WO2018014553A1 (en) 2018-01-25

Similar Documents

Publication Publication Date Title
Alaya et al. Toward semantic interoperability in oneM2M architecture
CN101694629B (en) Context sensing application platform based on main body and work method thereof
CN101938164B (en) Power equipment control method, device and related system thereof
CN103051525A (en) Gateway service middleware system and method as well as device and system comprising gateway service middleware system
CN106161157A (en) Intelligent home system building method and device, intelligent home system and terminal
CN106489144A (en) Search engine optimization for Resource TOC
CN104144215A (en) Method for building Internet-of-Things ubiquitous device resource model
KR100880536B1 (en) Open framework system for heterogeneous computing and service integration
CN106341444A (en) Data access method and device
CN108614689A (en) Generation method, device and the terminal device of scene service
CN104967686A (en) System and design method for constructing plane type 3S intelligent service shop
Zhang et al. Research on the overall architecture of Internet of Things middleware for intelligent industrial parks
CN115883669B (en) Data distribution method, system, equipment and medium
CN106792678A (en) A kind of method and system of radio node automatic matching search
Pantoja et al. Exposing IoT objects in the internet using the resource management architecture
US20070106770A1 (en) Managing a remote device by a communication element that does not specify an identifier for the management object
CN108111578A (en) The method of distribution terminal data acquisition platform access terminal equipment based on NIO
CN117527868A (en) Control system and method for communication between intelligent fusion terminal and intelligent electric power instrument
CN103270722A (en) Deployment of services on a set of real objects with automatic matching
CN110347451A (en) A kind of general man-machine interactive system and method based on AI and IOT
CN116094919A (en) Communication network operation method, device and system and electronic equipment
CN104243573A (en) Method for supporting collaboration of data and services between wearable devices
CN111327465B (en) Intelligent distributed feeder automation terminal node configuration method
Främling et al. Smart spaces for ubiquitously smart buildings
CN113240492A (en) Order generation method and device, storage medium and electronic equipment

Legal Events

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