CN109522072A - Control interface generation method and device - Google Patents

Control interface generation method and device Download PDF

Info

Publication number
CN109522072A
CN109522072A CN201811306709.9A CN201811306709A CN109522072A CN 109522072 A CN109522072 A CN 109522072A CN 201811306709 A CN201811306709 A CN 201811306709A CN 109522072 A CN109522072 A CN 109522072A
Authority
CN
China
Prior art keywords
household appliance
function
identification code
model identification
control interface
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
CN201811306709.9A
Other languages
Chinese (zh)
Other versions
CN109522072B (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 CN201811306709.9A priority Critical patent/CN109522072B/en
Publication of CN109522072A publication Critical patent/CN109522072A/en
Application granted granted Critical
Publication of CN109522072B publication Critical patent/CN109522072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a method and a device for generating a control interface, which are used for simplifying the generation process of a control interface of household electrical appliance equipment. The method comprises the following steps: acquiring a first model identification code of a first household appliance, wherein a number in a preset position in the first model identification code is used for indicating the function of the first household appliance; acquiring function information of the first household appliance according to the first model identification code, wherein the function information is used for generating a control interface for controlling the first household appliance; and generating the control interface according to the function information.

Description

A kind of generation method and device of control interface
Technical field
This application involves electronic technology fields, and in particular to a kind of generation method and device of control interface.
Background technique
With the continuous development of science and technology, more and more household appliances are realized intelligent.For example, user can be in mobile phone Software application in control interface operation, realize control to household appliance.In order to enable user can be with by terminal Different types of household appliance is controlled, needs to also need for different types of household appliance to develop different software applications.It is existing There is the generation method process of the control interface of household appliance as follows.
Step 1, terminal open the software application of household appliance depending on the user's operation.Step 2, household appliance is by household electrical appliances The product information of equipment is sent to server.Step 3, server parse household appliance according to the product information of household appliance Corresponding function describes file.Function is described file and is sent to terminal by step 4, server.Step 5, terminal is according to reception The control interface of the description file generated household appliance arrived.
If necessary to generate the control interface of other types of household appliance, then need to repeat the above steps again.As it can be seen that existing The step of having the control interface for generating household appliance, is more, and process is cumbersome.
Summary of the invention
The application provides the generation method and device of a kind of control interface, for simplifying the generation of household appliance control interface Process.
In order to solve the above-mentioned technical problem, the technical solution of the application is specific as follows.
In a first aspect, providing a kind of generation method of control interface, comprising:
The first model identification code of the first household appliance is obtained, in the number of predeterminated position in first model identification code Word is used to indicate the function of first household appliance;
According to first model identification code, the functional information of first household appliance is obtained, the functional information is used In the control interface that generation controls first household appliance;
According to the functional information, the control interface is generated.
In the above scheme, generating means are according to the first model identification code of acquisition, so that it may obtain the household appliance Functional information can generate the corresponding control interface of the first household appliance according to functional information.It generates compared to the prior art The method of the control interface of household appliance, the process that the control interface of household appliance is generated in above scheme are simpler.And it is raw The corresponding model identification code of the household appliance need to be only obtained at device, so that it may generate the control interface of household appliance.On the one hand, Generating means can be made to be suitable for multiple household electrical appliances equipment.On the other hand, generating means are not necessarily to increase for new household appliance new Software application etc., reduce the cost of control household appliance.
In a kind of possible design, according to first model identification code, the function of first household appliance is obtained Information, comprising:
According to the corresponding relationship of the function of predeterminated position and household appliance in model identification code and/or first machine In the value of the number of the predeterminated position in type identification code, the functional information of first household appliance is determined.
In the above scheme, generating means are according to the value and/or correspondence of the first model identification code of the first household appliance Relationship, so that it may obtain the function that the first household appliance has, and the function not having.Device can be generated quickly and easily Obtain the functional information of the first household appliance.
In a kind of possible design, according to first model identification code, the function of first household appliance is obtained Information, comprising:
When first model identification code the first predeterminated position number value be the first value when, the functional information Indicate that first household appliance has the function of and first predeterminated position corresponding first;
When the value of the number of first predeterminated position is second value, the functional information indicates first household electrical appliances Equipment does not have first function.
In the above scheme, generating means are directly assured that out the first household appliance according to the value of model identification code The function having, and the function not having.So as to more quickly and easily obtain the functional information of the first household appliance.
In a kind of possible design, according to the functional information, the control interface is generated, comprising:
If the functional information indicates that first household appliance has the function of described first, in the control interface Display and the first function corresponding function control, the functionality controls are for controlling first household appliance described in the execution The operating parameter of first function;Or,
If the functional information indicates that first household appliance does not have first function, in the control interface It is upper to hide and the first function corresponding function control.
In the above scheme, generating means directly can generate corresponding control circle according to the functional information of household appliance Face.If the first household appliance has corresponding function, corresponding functionality controls are just directly displayed.If the first household appliance is not With corresponding function, corresponding functionality controls are just hidden.On the one hand, the function control of the first household appliance is shown in control interface Part facilitates user directly to operate on the functionality controls of control interface, realizes and carries out phase to the function of the first household appliance The control answered.On the other hand, when generating means need to control new household appliance, generating means are answered without increasing new software With, reduce control household appliance cost.For different household appliance with the same function, generating means be can be used Identical code realizes the generation of control interface, improves the multiplexing of code to the full extent, reduces in generating means Code redundancy.For a user, user simplifies user's control household electrical appliances and sets without downloading new software application again again Standby process promotes user experience.
In a kind of possible design, the control interface includes first area and second area, and the first area is aobvious Show the current operating parameter of first household appliance, the second area shows function possessed by first household appliance It can corresponding functionality controls.
In the above scheme, user can directly operate the functionality controls in control interface, to control household electrical appliances The state of equipment.User can also become apparent from intuitively directly by the current operating parameter of the household appliance in control interface Understand the current operating situation of the first household appliance, the content shown in control interface can be enriched.
In a kind of possible design, the first model identification code of the first household appliance is obtained, comprising:
The first model identification code of first household appliance is obtained from server, first model identification code is by institute State what server was acquired from the wireless communication module of first household appliance;Or,
First model identification code is obtained by the wireless communication module of first household appliance.
In the above scheme, generating means can obtain the of the first household appliance from server or the first household appliance One model identification code provides the mode of the first model identification code of two kinds of first household appliances of acquisition.Improve generating means Obtain the flexibility of the first model identification code.
Second aspect, provides a kind of generating means of control interface, and described device includes transceiver module and processing module;
The transceiver module, for obtaining the first model identification code of the first household appliance, first model identification code In in the number of predeterminated position be used to indicate the function of first household appliance;
The processing module, for obtaining the function letter of first household appliance according to first model identification code Breath, the functional information are used to generate the control interface for controlling first household appliance, and
According to the functional information, the control interface is generated.
In a kind of possible design, the processing module is specifically used for:
According to the corresponding relationship of the function of predeterminated position and household appliance in model identification code and/or first machine In the value of the number of the predeterminated position in type identification code, the functional information of first household appliance is determined;
In a kind of possible design, the processing module is specifically used for:
When first model identification code the first predeterminated position number value be the first value when, the functional information Indicate that first household appliance has the function of and first predeterminated position corresponding first;
When the value of the number of first predeterminated position is second value, the functional information indicates first household electrical appliances Equipment does not have first function.
In a kind of possible design, the processing module is specifically used for:
If the functional information indicates that first household appliance has the function of described first, in the control interface Display and the first function corresponding function control, the functionality controls are for controlling first household appliance described in the execution The operating parameter of first function;Or,
If the functional information indicates that first household appliance does not have first function, in the control interface It is upper to hide and the first function corresponding function control.
In a kind of possible design, the control interface includes first area and second area, and the first area is aobvious Show the current operating parameter of first household appliance, the second area shows function possessed by first household appliance It can corresponding functionality controls.
In a kind of possible design, the transceiver module is specifically used for:
The first model identification code of first household appliance is obtained from server, first model identification code is by institute State what server was acquired from the wireless communication module of first household appliance;Or,
First model identification code is obtained by the wireless communication module of first household appliance.
The third aspect provides a kind of generating means of control interface, comprising:
At least one processor, and
The memory being connect at least one described processor communication;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, described at least one It manages device and is realized by executing the instruction of the memory storage such as the method in first aspect and any possible design.
Fourth aspect, provides a kind of computer readable storage medium, and the computer-readable recording medium storage has calculating Machine instruction, when the computer instruction is run on computers so that computer execute as first aspect and it is any can Method in the design of energy.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application will make below to required in the embodiment of the present application Attached drawing is briefly described, it should be apparent that, attached drawing described below is only some embodiments of the present application, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of flow chart of the generation method of control interface provided by the embodiments of the present application;
Fig. 2 is a kind of exemplary diagram of control interface provided by the embodiments of the present application;
Fig. 3 is a kind of exemplary diagram of control interface provided by the embodiments of the present application;
Fig. 4 is a kind of flow chart of the generation method of control interface provided by the embodiments of the present application;
Fig. 5 is a kind of structure chart of the generating means of control interface provided by the embodiments of the present application;
Fig. 6 is a kind of structure chart of the generating means of control interface provided by the embodiments of the present application.
Specific embodiment
In order to keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, implement below in conjunction with the application Attached drawing in example, the technical scheme in the embodiment of the application is clearly and completely described.
In order to simplify the generating process of household appliance control interface, the embodiment of the present application provides a kind of generation of control interface Method.The control method can be executed by the generating means of control interface.For ease of description, by control interface in the application Generating means are referred to as generating means.Generating means can be realized by terminal.Terminal such as mobile phone, personal computer (Personal Computer, PC) etc..Generating means can realize by the software module in terminal, such as in mobile phone Small routine etc. in software application or software application.Concrete restriction is not carried out to generating means herein.Fig. 1 is please referred to, it is hereafter right The process of the control method of household appliance is described in detail.
Step 101, the first model identification code for obtaining the first household appliance, default in first model identification code The number of position is used to indicate the function of first household appliance;
Step 102, according to first model identification code, obtain the functional information of first household appliance, the function Energy information is for generating the control interface controlled first household appliance;
Step 103, according to the functional information, generate the control interface.
For example, generating means control household appliance, generating means have firstly the need of the household appliance for determining control Body is which which and the corresponding function of the household appliance have.Generating means first carry out step 101, i.e. acquisition first hand First model identification code of electric equipment, the number in the first model identification code in predeterminated position are used to indicate the first household appliance Function.
Wherein, the first household appliance can be understood as the household appliance that generating means are controlled.First household electrical appliances are set For such as air-conditioning equipment, air purifier, TV or dust catcher, concrete restriction is not carried out to the first household appliance herein.
First model identification code can be understood as the exclusive identification code of the first household appliance, and pre- in the first model identification code If the number on position is to be used to indicate the function of the first household appliance.The number of predeterminated position includes predeterminated position and at this The value of the number of predeterminated position.First model identification code can be binary number composition, be also possible to decimal number composition, It can be number and monogram form, concrete restriction is not carried out to the type of the first model identification code herein.For example, the first machine Type identification code includes N bit digital, and N can be arbitrary positive integer.Predeterminated position can be all numbers in model identification code Position where word, the i.e. number of predeterminated position are N number of.Predeterminated position is also possible to the digital institute of the part in model identification code Position, for example, predeterminated position is first of the first model identification code and third position, in this case, predeterminated position Number be less than it is N number of, the application does not limit the number of predeterminated position.Certainly, different household appliances corresponding N takes Value can be identical, can not also be identical.
Wherein, the number of the position in model identification code other than predeterminated position or character or letter etc. can be used for referring to Show the information such as the type, the first household appliance title or the title of the corresponding manufacturer of the first household appliance of the first household appliance. The type of first household appliance refers to the Electrical Safety type of the first household appliance.For example, 0 class, 1 class, 2 classes and 3 classes.0 class The security level of~3 classes is higher and higher.The type for understanding the first household appliance facilitates user to understand the electricity consumption of the first household appliance Safety, to facilitate user to manage household appliance more scientificly.
For example, the first model identification code is 10000001, predeterminated position is first and third of the first model identification code Position, then the number on first and third position is then the function of being used to indicate the first household appliance.4th and the 5th table Show that the code of household appliance title, second indicate the code of type of household appliance.6th, the 7th and the 8th table Show the code of the manufacturer of the first household appliance.
In step 101, there are many kinds of the modes that obtain the first model identification code of the first household appliance, below to obtaining the The mode of first model identification code of one household appliance is illustrated.
The first, obtains the mode of the first model identification code of the first household appliance are as follows:
Generating means obtain the first model identification code of the first household appliance from server, and the first model identification code is by taking Business device is acquired from the wireless communication module of the first household appliance.
Specifically, intelligent appliance equipment generally is equipped with wireless communication module.Wireless communication module is for example, WIFI mould Block, bluetooth module etc..Before generating means control the first household appliance, the first household appliance can be directly by first Model identification code is sent to server.After server receives the first model identification code, server is by the first model identification code It is sent to generating means.Generating means receive the first model identification code, are also equivalent to generating means and acquire the first machine Type identification code.
It should be noted that for example, the first model identification code be decimal number when, in order to facilitate WIFI module transmission, Decimal number can be converted into binary number by WIFI module.It, can be with after generating means receive the first model identification code It is parsed into the first model identification code of corresponding format again.
In the embodiment of the present application, the first model identification code is obtained by server, generating means need to only receive the first type Identification code actively takes without generating means and searches first model identification code etc., can the opposite work for reducing generating means Amount.
Second, obtain the mode of the first model identification code of the first household appliance are as follows:
The first model identification code is obtained by the wireless communication module of the first household appliance.
Specifically, before generating means control the first household appliance, generating means can directly and household electrical appliances Equipment is communicated.Generating means can all household appliances directly into communication range send and obtain the first model identification code Request, after the first household appliance receives the request, by the first model identification code directly by wireless communication module send To generating means.Generating means receive first model identification code, are also equivalent to generating means and receive the knowledge of the first type Other code.In being referred to discuss above about wireless communication module, the first household appliance, the content of the first model identification code Hold, details are not described herein again.
It in the embodiment of the present application, is directly communicated between generating means and the first household appliance, reduces the first machine of transfer The time of type identification code, the opposite efficiency for improving generating means and obtaining the first model identification code.
Generating means execute step 102, i.e., according to first after the first model identification code for obtaining the first household appliance Model identification code obtains the functional information of the first household appliance.
Specifically, generating means parse the first model identification code, to obtain after obtaining the first model identification code The functional information of first household appliance.Functional information is for generating the control interface controlled the first household appliance.Function Information includes which first hand electric equipment has the function of, does not have which function.Below in step 102, according to the first type Identification code, the mode for obtaining the functional information of the first household appliance are illustrated.
It is a kind of according to the first model identification code, obtain the mode of the functional information of the first household appliance are as follows:
According to the corresponding relationship and the first plane type recognition of the function of predeterminated position and household appliance in model identification code In the value of the number of predeterminated position in code, the functional information of the first household appliance is determined.
Corresponding relationship refers to the relationship between the function of the predeterminated position and household appliance in model identification code.Corresponding relationship It can be the forms such as table, verbal description, concrete restriction do not carried out to the form of corresponding relationship herein.Generating means can shift to an earlier date Prestore the corresponding relationship.Or in order to save the memory space of generating means, generating means are also possible to obtain from server The corresponding relationship arrived.
Specifically, after generating means obtain the first model identification code, so that it may according to corresponding relationship, parsing first Model identification code.Generating means can obtain in the first model identification code corresponding function on the first predeterminated position according to corresponding relationship Energy.It is obtained with whether the first household appliance has further according to the value on the first predeterminated position in the first model identification code The function.Generating means determine corresponding function on the second predeterminated position again, further according to taking for the number on the second predeterminated position Value, to determine whether the first household appliance has the function of this.And so on, generating means are obtained with the first household appliance Functional information.
Alternatively, generating means obtain the corresponding function of all predeterminated positions in the first model identification code according to corresponding relationship, Then the value of the number on predeterminated position is successively judged again, to obtain the functional information of the first household appliance.
Determine whether the first household appliance has the mode of corresponding function according to the value of the number on predeterminated position It is specific as follows.Generating means if it is determined that the first model identification code the first predeterminated position digital value be the first value, then really Fixed first household appliance has the function of the first predeterminated position.First value for example can be 1.Generating means are if it is determined that the first machine Type identification code is second value in the value of the number of the first predeterminated position, it is determined that the first household appliance does not have the first default position The function of setting, second value for example can be 0.First value and second value can be generating means default setting.For first The specific value of value and second value, herein without concrete restriction.It is noted that the first value and second value are not Same value.
Because the number or character or letter of the position in the first model identification code other than predeterminated position can also be used In the title, the type of household appliance and the corresponding manufacturer of household appliance that indicate household appliance, so corresponding functional information It also may include the letter such as the title of the first household appliance, the type of the first household appliance and the corresponding manufacturer of the first household appliance Breath.The particular content of functional information is not limited herein.
The following table 1 is please referred to, the corresponding relationship is illustrated below.
Table 1
Predeterminated position in model identification code The function of household appliance
First Sleep pattern
Third position Automatic mode
6th Manual mode
8th Quick mode
For example, the first model identification code is 10100100.Generating means generate dress after obtaining the first model identification code Setting can determine that default first corresponding function is sleep pattern, and it is corresponding to preset third position according to the corresponding relationship in table 1 Function is automatic mode, and presetting the 6th corresponding function is manual mode, and presetting the 8th corresponding function is quick mode. Generating means determine that the value of primary number is the first value 1, and generating means are assured that the first household appliance has and sleep Sleep mode.Likewise, generating means can be the first value 1 according to the number of third position, generating means are assured that first Household appliance has automatic mode.Generating means can be the first value 1 according to the value of the 6th number, and generating means can To determine that the first household appliance has manual mode.Generating means can basis the 8th value be second value 0, generating means It is assured that the first household appliance does not have quick mode.To which generating means are obtained with the function of the first household appliance Information.
For example, the first model identification code is 10100101, generating means can determine default according to the corresponding relationship in table 1 First corresponding function is sleep pattern, determines that the value for presetting primary number is the first value 1, generating means Determine that the first household appliance has sleep pattern.Generating means can determine that default third position is right according to the corresponding relationship in table 1 The function of answering is automatic mode, determines that the value of the number of default third position is the first value 1, generating means are assured that first Household appliance has automatic mode.Generating means can be determined according to the corresponding relationship in table 1 presets the 6th corresponding function For automatic mode, determine that the value of default 6th number is the first value 1, generating means are assured that the first household appliance With manual mode.Generating means can determine that default 8th corresponding function is automatic mold according to the corresponding relationship in table 1 Formula determines that the value of default 8th number is the first value 1, and it is quick that generating means are assured that the first household appliance has Mode.To which generating means are obtained with the functional information of the first household appliance.
In the embodiment of the present application, generating means are directly according to the first model identification code of the first household appliance and corresponding pass System, so that it may obtain the function that the first household appliance has and the function not having.Quickly and easily obtain household appliance Functional information.
It is a kind of according to the first model identification code, obtain the mode of the functional information of the first household appliance are as follows:
According to the corresponding relationship of the function of predeterminated position and the first household appliance in the first model identification code, is determined The functional information of one household appliance.
Specifically, generating means are previously stored with model identification code predeterminated position pass corresponding with the function of household appliance System or generating means from other terminals obtain the corresponding relationship.After generating means obtain model identification code, generating means The functional information of household appliance can be obtained according to the predeterminated position of model identification code.For example, if model identification code it is pre- If there is number on position, then it represents that the first household appliance has corresponding function.If do not had on the predeterminated position of model identification code There is number, then it represents that the first household appliance does not have corresponding function.The particular content of functional information is referred to discuss above Content, details are not described herein again.
For example, the corresponding relationship of the function of model identification code predeterminated position and household appliance such as the following table 2.
Table 2
Predeterminated position in model identification code The function of household appliance
First Sleep pattern
Second Automatic mode
Third position Manual mode
4th Quick mode
For example, the first model identification code is 1__0, generating means, which determine, number in the first household appliance first, the 4th There is number on position, may thereby determine that the first household appliance has sleep pattern and quick mode.Generating means root determines second Without number on position and third position, it may thereby determine that the first household appliance does not have automatic mode and manual mode.
In the embodiment of the present application, the mode for the function that another determines the first household appliance is provided, enriches generation dress The mode for obtaining the functional information of the first household appliance is set, the functional information of generating means the first household appliance of acquisition is improved Flexibility.
It is a kind of according to the first model identification code, obtain the mode of the functional information of the first household appliance are as follows:
According to the value of the number in model identification code, the functional information of the first household appliance is determined.
Specifically, the corresponding relationship of the value of number and the function of household appliance is prestored in generating means, or is generated Device can be the corresponding relationship obtained from other terminals.After generating means obtain model identification code, so that it may according to The value of number in model identification code determines which the first household appliance has the function of, does not have which function.
For example, corresponding relationship such as the following table 3 of the function of the value and the first household appliance of number.
Table 3
The value of number in model identification code The function of household appliance
1 Sleep pattern
2 Automatic mode
3 Manual mode
4 Quick mode
For example, the first model identification code is 14, generating means directly can determine that the first household appliance has according to " 1 " Sleep pattern.Generating means are assured that the first household appliance has quick mode according to " 4 ".Generating means determine the first machine There is no 2 and 3 in type identification code, so that it is determined that the first household appliance does not have automatic mode and quick mode.
In the embodiment of the present application, the mode for the function that another determines the first household appliance is provided, enriches generation dress The mode for obtaining the functional information of the first household appliance is set, the functional information of generating means the first household appliance of acquisition is improved Flexibility.
Generating means execute step 103 after executing step 102, i.e., according to functional information, generate control interface.It is raw The first household appliance can be controlled according to operation of the user in control interface at device.
The specific implementation of step 103 is described in detail below.
If functional information indicates that the first household appliance has the function of first, display and the first function pair in control interface Functionality controls are answered, functionality controls are used to control the first household appliance in the operating parameter for executing the first function;Or,
If functional information indicates that the first household appliance does not have the first function, hidden and the first function in control interface Corresponding function control.
Specifically, generating in generating means has comprising the functional corresponding control interface of institute.Generating means obtain function Information, if functional information indicates that the first household appliance has a corresponding function, generating means shown in control interface this The functionality controls for the corresponding function that one household appliance has.If the first household appliance does not have corresponding function, dress is generated Set in control interface hide the first household appliance functionality controls, thus generating means according to the functional information can be generated with The control interface of the corresponding functionality controls of first household appliance.
Alternatively, prestoring the functional corresponding control routine of institute in generating means.Each function corresponding corresponding control generation Code.Generating means obtain after the functional information of the first household appliance, so that it may determine that the first household electrical appliances are set according to functional information It is standby which has the function of, so that control routine corresponding with the function is called directly, so that display is corresponding with the first household appliance Functionality controls.
In the embodiment of the present application, generating means directly generate corresponding control interface according to the functional information of household appliance. If the first household appliance has corresponding function, corresponding functionality controls are just directly displayed, if the first household appliance does not have There is corresponding function, just directly hides corresponding functionality controls.It is set so that generating means can be adapted for different household electrical appliances It is standby.When generating means needs control new household appliance, without increasing new software application, reduces control household electrical appliances and set Standby cost.For a user, user reduces the workload of user without downloading new software application etc. again again.And user Directly the first household appliance can be controlled in control interface, user is facilitated to control the first household appliance, it can also To be the long-range control for realizing user to the first household appliance.
And for different household appliance with the same function, identical code is can be used to realize in generating means The generation of functionality controls in control interface improves the multiplexing of code to the full extent, has simplified the generation in generating means Code, reduces the redundancy of the code in generating means.
Control interface can be understood as the display interface for being used to control the first household appliance of generating means.Control interface can To include multiple regions.Control interface is for example including first area and second area, and first area is for showing that the first household electrical appliances are set Standby current operating parameter, second area is for showing the corresponding functionality controls of function possessed by the first household appliance.
Wherein, current operating parameter refers to the corresponding parameter of the current operating status of the first household appliance.Current fortune For row parameter for example, the first household appliance is air purifier, current operating status may include the wind speed etc. of air purifier. Generating means can be the current operating status that the first household appliance is directly acquired by the first household appliance, thus aobvious Show the current operating parameter of the first household appliance.Generating means are also possible to obtain the operation of the first household appliance from server State, thus the current operating parameter of the first household appliance of display.
The current operating parameter that the first household appliance is also shown in control interface in the embodiment of the present application, facilitates user More clearly understand the current operating situation of the first household appliance.
Referring to figure 2., Fig. 2 is a kind of example for the control interface that generating means generate.Please continue to refer to example hereinbefore Son, the first model identification code of the first household appliance are 10100100, and it is automatic that generating means determine that the first household appliance has Mode, sleep pattern and manual mode do not have quick mode.The air is shown in the control interface that generating means generate It include the corresponding functionality controls of automatic mode, the corresponding functionality controls of sleep pattern and manual mould in the control interface of clarifier The functionality controls of formula conceal the corresponding functionality controls of quick mode.In Fig. 2 other than showing functionality controls, also show The current operating parameter of first household appliance, wind speed as described in Figure 2 are 3.
Referring to figure 3., Fig. 3 is a kind of example for the control interface that generating means generate.Please continue to refer to example hereinbefore Son, the first model identification code of the first household appliance are 10100101, and the first household appliance determines that the air purifier has Automatic mode, sleep pattern, manual mode and quick mode.Therefore shown in the control interface that generating means generate this It include automatic mode, sleep pattern, manual mode and quick mode in the control interface of one household appliance.In addition to aobvious in Fig. 3 It is shown with outside functionality controls, also shows the current operating parameter of first household appliance, that is, wind speed as described in Figure 3 is 2。
The generation method of the control interface of household appliance in ord to more clearly illustrate embodiments of the present application, below with reference to Fig. 4 illustrates the generation method of the control interface of household appliance.
Step 401, the first model identification code for obtaining the first household appliance;
Specifically, the first household appliance uploads the first model identification code, by WIFI module by the first model identification code It is forwarded to server, the first model identification code is sent to generating means again by server, so that generating means acquire the first machine Type identification code.Generating means in the embodiment of the present application are by taking the software application in terminal as an example.About the first household appliance, One model identification code etc. is referred to the content discussed above, and details are not described herein again.
Step 402, generating means obtain the functional information of the first household appliance according to the first model identification code.About function Can information and according to the first model identification code obtain functional information content be referred to the content discussed above, herein not It repeats again.
Step 403, generating means determine that the first household appliance has accordingly according to the functional information of the first household appliance Function then shows the corresponding functionality controls of the function in control interface.If generating means are according to the function of the first household appliance Energy information determines that the first household appliance does not have corresponding function, then the corresponding function control of the function is hidden in control interface Part.To which generating means generate corresponding control interface according to functional information.User can operate in control interface, thus real Now to the control of the first household appliance.
On the basis of a kind of generation method for the control interface discussed above, the embodiment of the present application also provides a kind of control The generating means at interface.Referring to figure 5., which includes transceiver module 501 and processing module 502.
Specifically, transceiver module 501, for obtaining the first model identification code of the first household appliance, the first type is known Number in other code in predeterminated position is used to indicate the function of the first household appliance;
Processing module 502, for obtaining the functional information of the first household appliance, function letter according to the first model identification code Breath is used to generate the control interface for controlling the first household appliance, and
According to functional information, generate control interface, with according to operation of the user in control interface to the first household appliance It is controlled.
About the first household appliance, the first model identification code, predeterminated position, functional information, obtain the first model identification code Mode, according to functional information generate control interface mode be referred to the mode discussed above, details are not described herein again.
In a kind of possible design, processing module 502 is specifically used for:
Known according to the corresponding relationship of the function of predeterminated position and household appliance in model identification code and/or the first type In the value of the number of predeterminated position in other code, the functional information of the first household appliance is determined;
In a kind of possible design, processing module 502 is specifically used for:
When the first model identification code is when the value of the number of the first predeterminated position is the first value, functional information indicates first Household appliance has the function of corresponding with the first predeterminated position first;
When the value of the number of the first predeterminated position is second value, functional information indicates that the first household appliance does not have the One function.
In a kind of possible design, processing module 502 is specifically used for:
If functional information indicates that the first household appliance has the function of first, display and the first function pair in control interface Functionality controls are answered, functionality controls are used to control the first household appliance in the operating parameter for executing the first function;Or,
If functional information indicates that the first household appliance does not have the first function, hidden and the first function in control interface Corresponding function control.
In a kind of possible design, control interface includes first area and second area, and first area shows first hand The current operating parameter of electric equipment, second area show the corresponding functionality controls of function possessed by the first household appliance.
In a kind of possible design, transceiver module 501 is specifically used for:
Obtain the first model identification code of the first household appliance from server, the first model identification code is by server from the What the wireless communication module of one household appliance acquired;Or,
The first model identification code is obtained by the wireless communication module of the first household appliance.
On the basis of a kind of generation method for the control interface discussed above, the embodiment of the present application also provides a kind of control The generating means at interface, the generating means include processor 601 and memory 602:
At least one processor 601, and
With the memory 602 of at least one processor 601 communication connection;
Wherein, memory 602 is stored with the instruction that can be executed by least one processor 601, at least one processor 601 The control method of the household appliance in the embodiment of the present application is realized by executing the instruction that memory 602 stores.
It is but not limit the quantity of processor 601 actually so that the quantity of processor 601 is one as an example in Fig. 6.
As one embodiment, the processing module 502 in Fig. 5 can be realized by the processor 601 in Fig. 6.
On the basis of a kind of generation method for the control interface discussed above, the embodiment of the present application also provides a kind of calculating Machine readable storage medium storing program for executing, computer-readable recording medium storage have computer instruction, when computer instruction is run on computers When, so that computer executes the control method for realizing the household appliance in the embodiment of the present application.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to according to the method for the embodiment of the present application, equipment (system), device and computer program product Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In the dress for realizing the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram It sets.
The above, above embodiments are only described in detail to the technical solution to the application, but the above implementation The method that the explanation of example is merely used to help understand the embodiment of the present application, should not be construed as the limitation to the embodiment of the present application.This Any changes or substitutions that can be easily thought of by those skilled in the art, should all cover the embodiment of the present application protection scope it It is interior.

Claims (14)

1. a kind of generation method of control interface characterized by comprising
The first model identification code of the first household appliance is obtained, is used in first model identification code in the digital of predeterminated position In the function of indicating first household appliance;
According to first model identification code, the functional information of first household appliance is obtained, the functional information is for giving birth to The control interface that pairs of first household appliance is controlled;
According to the functional information, the control interface is generated.
2. the method as described in claim 1, which is characterized in that according to first model identification code, obtain the first hand The functional information of electric equipment, comprising:
Known according to the corresponding relationship of the function of predeterminated position and household appliance in model identification code and/or first type In the value of the number of the predeterminated position in other code, the functional information of first household appliance is determined.
3. method according to claim 2, which is characterized in that according to first model identification code, obtain the first hand The functional information of electric equipment, comprising:
When first model identification code is when the value of the number of the first predeterminated position is the first value, the functional information is indicated First household appliance has the function of and first predeterminated position corresponding first;
When the value of the number of first predeterminated position is second value, the functional information indicates first household appliance Without first function.
4. method as claimed in claim 3, which is characterized in that according to the functional information, generate the control interface, wrap It includes:
If the functional information indicates that first household appliance has the function of described first, shown in the control interface With the first function corresponding function control, the functionality controls are executing described first for controlling first household appliance The operating parameter of function;Or,
If the functional information indicates that first household appliance does not have first function, hidden in the control interface Hiding and the first function corresponding function control.
5. method as claimed in claim 4, which is characterized in that the control interface includes first area and second area, institute The current operating parameter that first area shows first household appliance is stated, the second area shows that first household electrical appliances are set The standby corresponding functionality controls of possessed function.
6. method according to any one of claims 1 to 5, which is characterized in that the first type for obtaining the first household appliance is known Other code, comprising:
The first model identification code of first household appliance is obtained from server, first model identification code is by the clothes Business device is acquired from the wireless communication module of first household appliance;Or,
First model identification code is obtained by the wireless communication module of first household appliance.
7. a kind of generating means of control interface, which is characterized in that described device includes transceiver module and processing module;
The transceiver module, for obtaining the first model identification code of the first household appliance, in first model identification code The function of first household appliance is used to indicate in the number of predeterminated position;
The processing module, for obtaining the functional information of first household appliance, institute according to first model identification code Functional information is stated to be used to generate the control interface for controlling first household appliance, and
According to the functional information, the control interface is generated.
8. device as claimed in claim 7, which is characterized in that the processing module is specifically used for:
Known according to the corresponding relationship of the function of predeterminated position and household appliance in model identification code and/or first type In the value of the number of the predeterminated position in other code, the functional information of first household appliance is determined.
9. device as claimed in claim 8, which is characterized in that the processing unit is specifically used for:
When first model identification code is when the value of the number of the first predeterminated position is the first value, the functional information is indicated First household appliance has the function of and first predeterminated position corresponding first;
When the value of the number of first predeterminated position is second value, the functional information indicates first household appliance Without first function.
10. device as claimed in claim 9, which is characterized in that the processing module is specifically used for:
If the functional information indicates that first household appliance has the function of described first, shown in the control interface With the first function corresponding function control, the functionality controls are executing described first for controlling first household appliance The operating parameter of function;Or
If the functional information indicates that first household appliance does not have first function, hidden in the control interface Hiding and the first function corresponding function control.
11. device as claimed in claim 10, which is characterized in that the control interface includes first area and second area, The first area shows the current operating parameter of first household appliance, and the second area shows first household electrical appliances The corresponding functionality controls of function possessed by equipment.
12. described in any item devices as claim in claims 7-11, which is characterized in that the transceiver module is specifically used for:
The first model identification code of first household appliance is obtained from server, first model identification code is by the clothes Business device is acquired from the wireless communication module of first household appliance;Or,
First model identification code is obtained by the wireless communication module of first household appliance.
13. a kind of generating means of control interface characterized by comprising
At least one processor, and
The memory being connect at least one described processor communication;
Wherein, the memory is stored with the instruction that can be executed by least one described processor, at least one described processor Such as method of any of claims 1-6 is realized in instruction by executing the memory storage.
14. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to It enables, when the computer instruction is run on computers, so that computer is executed as of any of claims 1-6 Method.
CN201811306709.9A 2018-11-05 2018-11-05 Control interface generation method and device Active CN109522072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811306709.9A CN109522072B (en) 2018-11-05 2018-11-05 Control interface generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811306709.9A CN109522072B (en) 2018-11-05 2018-11-05 Control interface generation method and device

Publications (2)

Publication Number Publication Date
CN109522072A true CN109522072A (en) 2019-03-26
CN109522072B CN109522072B (en) 2020-11-03

Family

ID=65774364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811306709.9A Active CN109522072B (en) 2018-11-05 2018-11-05 Control interface generation method and device

Country Status (1)

Country Link
CN (1) CN109522072B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111413884A (en) * 2020-03-31 2020-07-14 广东美的制冷设备有限公司 Control method and control device for household electrical appliance and computer storage medium
CN111459041A (en) * 2020-03-31 2020-07-28 广东美的制冷设备有限公司 Control terminal, control method of home appliance, and computer-readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060036996A1 (en) * 2004-08-13 2006-02-16 National Instruments Corporation Application development environment with features for aiding a user in writing function calls
US20090119607A1 (en) * 2007-11-02 2009-05-07 Microsoft Corporation Integration of disparate rendering platforms
CN101477350A (en) * 2009-01-13 2009-07-08 苏州工业园区和嘉光电技术有限公司 Function-adjustable intelligent switch and its implementing method
CN105610976A (en) * 2016-02-17 2016-05-25 四川长虹电器股份有限公司 Method for interacting data between IOT equipment and control terminal
CN105787342A (en) * 2016-02-26 2016-07-20 北京小米移动软件有限公司 Method and device for executing target function
CN106708483A (en) * 2015-07-31 2017-05-24 腾讯科技(深圳)有限公司 Generating method and generating device of control interface of internet-of-things equipment
CN107241628A (en) * 2017-07-10 2017-10-10 深圳Tcl数字技术有限公司 Configuration and synchronization method, television equipment and the storage medium of television equipment
CN108196846A (en) * 2017-12-28 2018-06-22 美的智慧家居科技有限公司 Home appliance control interface configuration method, terminal and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060036996A1 (en) * 2004-08-13 2006-02-16 National Instruments Corporation Application development environment with features for aiding a user in writing function calls
US20090119607A1 (en) * 2007-11-02 2009-05-07 Microsoft Corporation Integration of disparate rendering platforms
CN101477350A (en) * 2009-01-13 2009-07-08 苏州工业园区和嘉光电技术有限公司 Function-adjustable intelligent switch and its implementing method
CN106708483A (en) * 2015-07-31 2017-05-24 腾讯科技(深圳)有限公司 Generating method and generating device of control interface of internet-of-things equipment
CN105610976A (en) * 2016-02-17 2016-05-25 四川长虹电器股份有限公司 Method for interacting data between IOT equipment and control terminal
CN105787342A (en) * 2016-02-26 2016-07-20 北京小米移动软件有限公司 Method and device for executing target function
CN107241628A (en) * 2017-07-10 2017-10-10 深圳Tcl数字技术有限公司 Configuration and synchronization method, television equipment and the storage medium of television equipment
CN108196846A (en) * 2017-12-28 2018-06-22 美的智慧家居科技有限公司 Home appliance control interface configuration method, terminal and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111413884A (en) * 2020-03-31 2020-07-14 广东美的制冷设备有限公司 Control method and control device for household electrical appliance and computer storage medium
CN111459041A (en) * 2020-03-31 2020-07-28 广东美的制冷设备有限公司 Control terminal, control method of home appliance, and computer-readable storage medium
CN111459041B (en) * 2020-03-31 2023-03-31 广东美的制冷设备有限公司 Control terminal, control method of home appliance, and computer-readable storage medium

Also Published As

Publication number Publication date
CN109522072B (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN106411667B (en) Intelligent home multi-cloud control method and system based on network chip
US10264424B2 (en) Information processing method and central control device
CN102932695B (en) A kind of remote control thereof, intelligent terminal and intelligent remote control system
CN106325085B (en) A kind of intelligent home control system and smart home system towards function
EP3007369A1 (en) Method, device and system of prompting communication event
CN108376078A (en) Upgrade method, device and the household appliance of equipment
CN101815159A (en) Intelligent household TV control system
CN108873787A (en) Household appliance and its control method, control device, terminal control equipment
CN110912911B (en) Air conditioning equipment authority control method, user equipment and control system
EP2728468A1 (en) Method for skin-changing for third-party application
CN109522072A (en) Control interface generation method and device
CN105278339B (en) Method and device for generating and controlling sub-device description information of composite household appliance
WO2011116585A1 (en) Remote control method, device and system for intelligent appliance based on unstructured supplementary service data
CN109991940A (en) A kind of intelligent home control system and smart home system towards function
CN105511273B (en) A kind of client operation management method and client
CN105335192B (en) A kind of information processing method and electronic equipment
CN103037092A (en) Design method for remotely controlling household appliances through smart phone
CN103049244A (en) Method and device for transmitting operating instructions
EP3082302B1 (en) Remote home gateway controller, home gateway and terminal control method
CN107509161A (en) Smart bluetooth control system and method
CN112019409A (en) Equipment distribution network processing method, equipment distribution network processing device and electronic equipment
JP2009246543A (en) Remote control operation information providing system and method thereof
CN108989117A (en) Configuration method, wireless communication device and the household electrical appliance of communication protocol
CN108809777A (en) Progress control method, Wi-Fi communication modules, household appliance, system and storage medium
JP2012004883A (en) Controller, communication method and network system

Legal Events

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