Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understoodThe application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, notFor limiting the application.
Intelligent housing interface provided by the present application method of adjustment, can be applied to intelligent terminal and device being added is logicalIt crosses in the application environment of network communication, wherein device being added is the corresponding equipment of equipment card added in control interface.For example, can be applied in application environment as shown in Figure 1, wherein intelligent terminal 102 is carried out by network and server 104Communication, server 104 are communicated by network with the device being added 106 of Intelligent housing.Intelligent terminal 102 obtains hairThe identification information of the device being added 106 of raw working condition change and the shape of the working condition after the change of device being added 106State information;According to the theme that state information acquisition is to be switched;The theme of the corresponding equipment card of identification information is switched to be cutThe theme changed.Wherein, intelligent terminal 102, which can be, but not limited to, is various smart phones, tablet computer and portable wearable setsStandby, server 104 can be realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, as shown in Fig. 2, providing a kind of Intelligent housing interface method of adjustment, in this wayApplied to being illustrated for the intelligent terminal in Fig. 1, comprising the following steps:
S210: after obtaining the identification information that the device being added of working condition change occurs and device being added changeWorking condition status information.
Device being added is the corresponding equipment of equipment card added in control interface.Wherein, equipment, which refers to, can be used forThe equipment of smart home progress intelligent control.Equipment card refers to comprising the graphical interfaces including picture and text information, equipmentCard can be used as an entrance for checking more details;The corresponding equipment card of one device being added, it is differentThe corresponding equipment card of device being added is different.For example, user operates the equipment that addition needs intelligent control in control interfaceIt include: electric cooker, air-conditioning, refrigerator, then control interface can add the equipment card of electric cooker, the equipment card of air-conditioning and refrigeratorEquipment card.
Working condition refer to operating mode locating for equipment, equipment execute processing function or equipment locating for work rankSection.The device being added that working condition change occurs refers to the device being added that working condition changes in all device being addeds.Identification information is the identification information of equipment for identification, such as can be device name, model or instruction code name.Specifically, noThe classification that the working condition of same device being added includes can be different;For example, the working condition of air-conditioning can be divided into shutdown mouldFormula, refrigeration mode, heating mode, the working condition of refrigerator can be divided into operating status and not running state, the work of electric cookerState can be divided into holding stage, cooking stage, stage of cooking gruel, Baoshang stage, non-operational phase etc..The state of working condition is believedBreath is the information for distinguishing the classification of working condition, for example, it may be the working conditions name such as " refrigeration mode ", " heating mode "Claim, or the class numbers such as " 001 ", " 002 ", wherein " 001 " indicates that refrigeration mode, " 002 " indicate heating mode.
Specifically, intelligent terminal, which can be, obtains the identification letter that the device being added that working condition changes occurs from serverThe status information of working condition after breath and device being added change.It is appreciated that for intelligent terminal and device being addedStraight-forward network communicates, without by the way that in the embodiment of server, intelligent terminal can be changed directly from generation working conditionAdd the status information of the working condition after obtaining identification information and change at equipment.
S230: according to the theme that state information acquisition is to be switched.
A kind of status information of classification corresponds to a kind of theme of classification.Specifically, intelligent terminal can be according to status informationTheme corresponding with status information is searched, to be switched theme is obtained.
S250: the theme of the corresponding equipment card of identification information is switched to be switched theme.
The corresponding device being added of one identification information;The corresponding equipment card of identification information, refers to identification information pairThe equipment card for the device being added answered.For example, corresponding added of identification information sets so that air-conditioning is altered to refrigeration mode as an exampleStandby is air-conditioning, and the corresponding theme of refrigeration mode is refrigeration theme, then intelligent terminal is by the equipment card of air-conditioning in control interfaceTheme is switched to refrigeration theme.
Above-mentioned Intelligent housing interface method of adjustment, can be used for the theme to the equipment card shown in control interfaceIt switches over, passes through the state of working condition after the identification information and change of the device being added for obtaining generation working condition changeInformation according to the theme that state information acquisition is to be switched, then the theme of the corresponding equipment card of identification information is switched to be cutThe theme changed is realized when the working condition of device being added changes, and is switched automatically according to the status information after changeThe theme of equipment card.In this way, may make that the theme of equipment card and the status information of working condition are corresponding in control interface, useThe theme of equipment card is checked at family in control interface, you can learn that the working condition of corresponding device being added, i.e. equipment cardTheme correspondence illustrate working condition, increase control interface displaying information content.And the theme presentation of equipment card is richRich multiplicity, improves the diversity of look & feel, not will use family and generates aestheticly tired.
In one embodiment, step S210 includes: when receiving Status Change notification message, and analysis state change is logicalKnow message, the work shape after obtaining the identification information that the device being added of working condition change occurs and device being added changeThe status information of state.
Status Change notification message is to be used to indicate status categories after the equipment and change that working condition change occursNotification message.Specifically, Status Change notification message can carry identification information and status information.Intelligent terminal can pass through inspectionIt surveys and whether receives Status Change notification message to determine the need for the theme of switching equipment card, by parsing received shapeIdentification information and status information can be obtained in state Notification of Changes message, and it is convenient to operate.
Specifically, intelligent terminal can receive the Status Change notification message sent by server.By using serverThe received mode of active transmission, intelligent terminal, intelligent terminal can reduce the program operation of intelligent terminal without actively going to obtainPressure.For example, when the working condition of device being added changes, can be sent and be referred to by wireless network in the application scenarios of Fig. 1It enables to server, the instruction that server is uploaded according to device being added sends Status Change notification message to intelligent terminal.It can be withUnderstand, intelligent terminal, which can also be, obtains Status Change notification message in such a way that active period inquires server.
It in one embodiment, further include initial display step: according to the corresponding master of device being added before step S210Topic shows the equipment card of device being added in control interface.
The corresponding theme of device being added is pre-set theme corresponding with device being added.Specifically, intelligence is wholeEnd can pre-establish the corresponding relationship of device being added and theme, the theme of the corresponding default of a device being added.For example,Do not switched theme when running for the first time, by executing initial display step, each equipment card shown in control interface is adoptedWith the corresponding theme of default.By executing initial display step before step S210, so that equipment card has added correspondingCorresponding theme is also had when the working condition of oil (gas) filling device is there is no crossing change, further increases the diversity of equipment card.
It specifically, initially can also include: the equipment addition instruction for receiving user's input before display step, according to equipmentAddition, which instructs, determines device being added.It is initially shown determining that equipment addition instructs corresponding device being added and then executesStep.
It in one embodiment, further include theme download step before step S230, comprising: from the clothes for establishing wireless communicationBusiness device obtains the download address of theme corresponding to each status information of device being added;Corresponding master is downloaded according to download addressTopic.Accordingly, in the present embodiment, step S230 includes: that theme corresponding with status information is searched from the theme downloaded.
One device being added can correspond to the status information of multiple classifications, a kind of corresponding type of the status information of classificationOther theme.Specifically, intelligent terminal downloads theme, and theme can be stored in the position of pre-set downloading store path.By obtaining the download address of theme from server, theme is downloaded according to download address, is used so that step S230 is searched, it is convenientFast.It is appreciated that theme download step can execute before step S210, it can also be after step S210, stepIt is executed before S230.
Specifically, when downloading first time, each status information of the intelligent terminal in addition to obtaining device being added from serverOutside the download address of corresponding theme, the download address of equipment plug-in unit is also obtained;Intelligent terminal downloads theme and equipment togetherPlug-in unit to being locally stored, then be subject to using.Wherein, equipment plug-in unit corresponds to the plug-in unit of control interface.Equipment plug-in unit is only under meetingIt carries once, it is subsequent to no longer need to downloading equipment plug-in unit.
It in one embodiment, further include updating step, comprising: connect after downloading corresponding theme according to download addressReceive the update download address for the update theme that server is sent;Corresponding update theme is downloaded according to download address is updated, and is deletedExcept theme identical with status information corresponding to theme is updated in the theme downloaded.
A kind of status information of classification corresponds to a kind of theme of classification, then the theme for corresponding to same state information is classification phaseSame theme.Theme identical with status information corresponding to theme is updated, that is, refer to the master downloaded in the theme downloadedTheme identical with subject categories are updated in topic.Intelligent terminal downloading theme can store theme together, if updating theme and itThe preceding generic theme downloaded all stores, then with increasing for theme is updated, can cause continuing to increase for amount of storage.Pass throughOld generic theme is replaced using theme is updated, old deletion is saved and updates theme, new theme can be increased newly immediately,Memory capacity can also be greatly reduced, the memory space of intelligent terminal is saved.Specifically, step and step S210 are updated to stepWithout limitation, update step can be to be executed the execution sequence of S250 before step S210, can also be after step S250It executes, is specifically dependent upon when server sends the update download address for updating theme.
It is applied to smart home APP, the realization pair of intelligent terminal with above-mentioned Intelligent housing interface method of adjustment belowThe specific embodiment that the equipment card of control interface carries out theme switching is illustrated.It is created in the Development Engineering of smart home APPAt the beginning of building, a parent is created, registration monitors the method for notification message and adds a common method in this parent,For being responded to switch theme after receiving notification message.After creating this parent, but the switching of all needs is setStandby card theme, this parent is all inherited, the method for parent is naturally also just inherited.User's operation electric cooker, air-conditioning, refrigeratorSuccess distribution, though electric cooker, air-conditioning, refrigerator by network connection to server, can be added in the control interface of smart homeThere is the equipment card of the equipment card of electric cooker, the equipment card of air-conditioning, refrigerator.The workflow of smart home APP such as Fig. 3 instituteShow, after resetting complete machine, if selection addition equipment and distribution success, judges whether to click the theme of downloading equipment card and setStandby plug-in unit;If so, theme switching is carried out in the working condition change of device being added, if it is not, it is whole then to re-start resetMachine;If not selecting addition equipment and distribution success, reset complete machine is re-started.Wherein, in the work shape of device being addedThe operation of theme switching, specifically execution step S210, step S230 and step S250 are carried out when state changes.Realize theme switchingProcess be exemplified below:
When the working condition of electric cooker changes to cooking stage, electric cooker sends a command to service by wireless networkDevice, server send Status Change notification message to the smart home APP of intelligent terminal, intelligence according to the instruction that electric cooker uploadsThe theme of the equipment card of electric cooker is switched to culinary art theme corresponding with cooking stage by household APP.When the work shape of air-conditioningWhen state changes to refrigeration mode, air-conditioning sends a command to server, the instruction that server is uploaded according to air-conditioning by wireless networkStatus Change notification message is sent to the smart home APP of intelligent terminal, smart home APP is by the theme of the equipment card of air-conditioningIt is switched to refrigeration theme corresponding with refrigeration mode.When the working condition of refrigerator changes to operating status, refrigerator passes through wirelessNetwork sends a command to server, and the instruction that server is uploaded according to refrigerator sends Status Change notification message to intelligent terminalThe theme of the equipment card of refrigerator is switched to operation theme corresponding with operating status by smart home APP, smart home APP.
It should be understood that although each step in the flow chart of Fig. 2 is successively shown according to the instruction of arrow, thisA little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these stepsIt executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part in Fig. 2Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-stepsIt completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out,But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in figure 4, providing a kind of Intelligent housing interface adjustment device, comprising: informationObtain module 410, theme obtains module 430 and theme switching module 450, in which:
Data obtaining module 410 is used to obtain the identification information that the device being added of working condition change occurs, Yi JiyiThe status information of working condition after adding equipment changing.Wherein, device being added is the equipment card added in control interfaceThe corresponding equipment of piece.
Theme obtains module 430 and is used for the theme to be switched according to state information acquisition.
Theme switching module 450 is used to the theme of the corresponding equipment card of identification information being switched to be switched theme.
Above-mentioned Intelligent housing interface adjusts device, can be used for the theme to the equipment card shown in control interfaceIt switches over, the identification information and change that the device being added of working condition change occurs is obtained by data obtaining module 410The status information of working condition afterwards, theme obtain the theme to be switched according to state information acquisition of module 430, theme switching moduleThe theme of the corresponding equipment card of identification information is switched to be switched theme by 450, realizes the work in device being addedWhen state changes, automatically according to the theme of the status information switching equipment card after change.In this way, may make control interfaceThe theme of middle equipment card is corresponding with the status information of working condition, and user checks the theme of equipment card in control interface, i.e.,It would know that the working condition of corresponding device being added, i.e. the theme correspondence of equipment card illustrate working condition, increase controlThe information content of showing interface processed.And the theme presentation of equipment card is rich and varied, improves the diversity of look & feel, and it will notUser is set to generate aestheticly tired.
In one embodiment, for data obtaining module when receiving Status Change notification message, analysis state change is logicalKnow message, the work shape after obtaining the identification information that the device being added of working condition change occurs and device being added changeThe status information of state.
By using server active transmission, the received mode of intelligent terminal, intelligent terminal, can be with without actively going to obtainReduce the program operating pressure of intelligent terminal.
In one embodiment, above-mentioned Intelligent housing interface adjustment device further includes display module (not shown), is usedAccording to the corresponding theme of device being added, the equipment card of device being added is shown in control interface.
Specifically, display module is before data obtaining module 410 executes function, according to the corresponding master of device being addedTopic shows the equipment card of device being added in control interface.In this way, making equipment card in the work of corresponding device being addedCorresponding theme is also had when making state there is no crossing change, further increases the diversity of equipment card.
In one embodiment, above-mentioned Intelligent housing interface adjustment device further includes addition instruction respond module (figureDo not show), for receiving the equipment addition instruction of user's input, add to instruct determining device being added according to equipment.It is set in determinationStandby addition instructs corresponding device being added and then executes function by display module.
In one embodiment, above-mentioned Intelligent housing interface adjustment device further includes that (figure is not for theme download moduleShow), for obtaining device being added from the server for establishing wireless communication before data obtaining module 410 executes functionThe download address of theme corresponding to each status information;Corresponding theme is downloaded according to download address.Accordingly, the present embodimentIn, theme obtains module 430 and searches theme corresponding with status information from the theme downloaded.
By obtaining the download address of theme from server, theme is downloaded according to download address, so that theme obtains module430 search use, convenient and efficient.
In one embodiment, theme download module be also used to receive server transmission update theme more newly downloadedlyLocation;Corresponding update theme is downloaded according to download address is updated, and is deleted in the theme downloaded and corresponding to update themeThe identical theme of status information.
Old generic theme is replaced by using theme is updated, old deletion is saved and updates theme, it can be instantIt increases new theme newly, memory capacity can also be greatly reduced, save the memory space of intelligent terminal.
Specific restriction about Intelligent housing interface adjustment device may refer to above for Intelligent housingThe restriction of interface method of adjustment, details are not described herein.Modules in above-mentioned Intelligent housing interface adjustment device can be completePortion or part are realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of intelligenceIt in processor in terminal, can also be stored in a software form in the memory in intelligent terminal, in order to processor callingExecute the corresponding operation of the above modules.
In one embodiment, a kind of intelligent terminal is provided, internal structure chart can be as shown in Figure 5.The intelligence is eventuallyEnd includes processor, memory, network interface, display screen and the input unit connected by system bus.Wherein, the intelligence is wholeThe processor at end is for providing calculating and control ability.The memory of the intelligent terminal includes non-volatile memory medium, memoryReservoir.The non-volatile memory medium is stored with operating system and computer program.The built-in storage is non-volatile memories JieThe operation of operating system and computer program in matter provides environment.The network interface of the intelligent terminal is used for and external terminalIt is communicated by network connection.To realize a kind of Intelligent housing interface adjustment side when the computer program is executed by processorMethod.The display screen of the intelligent terminal can be liquid crystal display or electric ink display screen, the input unit of the intelligent terminalIt can be the touch layer covered on display screen, be also possible to the key being arranged on intelligent terminal shell, trace ball or Trackpad, alsoIt can be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tiedThe block diagram of structure, does not constitute the restriction for the intelligent terminal being applied thereon to application scheme, and specific intelligent terminal can be withIncluding than more or fewer components as shown in the figure, perhaps combining certain components or with different component layouts.
In one embodiment, a kind of intelligent terminal, including memory and processor are provided, is stored with meter in memoryThe step of calculation machine program, which realizes aforementioned intelligent home control interface method of adjustment when executing computer program.
Above-mentioned intelligent terminal similarly, can increase due to the step of realizing aforementioned intelligent home control interface method of adjustmentThe information content that control interface is shown, and the theme presentation of equipment card is rich and varied, improves the diversity of look & feel, noIt will use family and generate aestheticly tired.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculatedThe step of aforementioned intelligent home control interface method of adjustment is realized when machine program is executed by processor.
Above-mentioned computer readable storage medium, due to the step of realizing aforementioned intelligent home control interface method of adjustment,Similarly, the information content of control interface displaying can be increased, and the theme presentation of equipment card is rich and varied, improves look & feelDiversity, not will use family generate aestheticly tired.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be withRelevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computerIn read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,To any reference of memory, storage, database or other media used in each embodiment provided herein,Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may includeRandom access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancingType SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned realityIt applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not depositedIn contradiction, all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneouslyIt cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the artIt says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the applicationRange.Therefore, the scope of protection shall be subject to the appended claims for the application patent.