Invention content
In view of the above problems, it is proposed that the present invention is in order to provide a kind of apparatus self-adaptation controlling party to solve the above problems
Method, device and server.
One side according to the present invention provides a kind of apparatus self-adaptation control method, applied to server, method packet
It includes:
Obtain the call request to specified services program that intelligent terminal is sent;
In the general service logical table being pre-created, the matched first running parameter group of inquiry specified services program institute and
The value range of each running parameter in first running parameter group;
By the parameter value rule of setting, the value of running parameter is determined in value range;
Intelligent appliance equipment transmission to executable specified services program carries the first running parameter group and the first work
The equipment control instruction of each running parameter value information in parameter group.
Optionally, in the method for the present invention, by the parameter value rule of setting, taking for running parameter is determined in value range
Before value, further include:
Determine the intelligent appliance equipment of executable specified services program;
According to the value range of each running parameter in the first running parameter group and the first running parameter group inquired, judge
Whether intelligent appliance equipment provides specified services program, and when judging that intelligent appliance equipment provides specified services program, holds
Row determines the operation of the value of each running parameter by the parameter value rule of setting in the value range of each running parameter.
Optionally, in the method for the present invention, according to each work in the first running parameter group and the first running parameter group inquired
Make the value range of parameter, judge whether intelligent appliance equipment provides specified services program, including:
In the feature list of preset intelligent appliance equipment, matched second running parameter of inquiry specified services program institute
The value range of each running parameter in group and the second running parameter group;
Judge all working parameter that the first running parameter group is included whether is included in the second running parameter group, work as judgement
As a result it is when being, to detect the value range of two running parameters identical in the first running parameter group and the second running parameter group
It is no to have overlapping, when the test results is yes, judge that intelligent appliance equipment provides specified services program.
Optionally, in the method for the present invention, in the general service logical table being pre-created, inquiry specified services program institute
In the first running parameter group and the first running parameter group matched during the value range of each running parameter, further include:Inquire the first work
Make the optimum parameter value of each running parameter in parameter group;
By the parameter value rule of setting, the value of running parameter is determined in value range, including:
For each running parameter in the first running parameter group, judge the running parameter in the second running parameter group
Whether parameter value range and the optimum parameter value of the running parameter have intersection;
When there is intersection, according to the rule of setting, the value of running parameter is chosen in optimum parameter value;
When there is no intersection, using close optimum parameter value as selection principle, in the running parameter in the second running parameter group
In parameter value in the range of, choose the value of running parameter.
Optionally, the method for the present invention further includes:
When the service routine running parameter update instruction for receiving operating parameter information provider transmission, to general service
The operating parameter information of respective service program is updated in logical table.
Other side according to the present invention also provides a kind of apparatus self-adaptation control device, applied to server, packet
It includes:
Data obtaining module, for obtaining the call request to specified services program of intelligent terminal transmission;
Information inquiry module, in the general service logical table being pre-created, inquiry specified services program to be matched
The first running parameter group and the first running parameter group in each running parameter value range;
Information determination module for pressing the parameter value of setting rule, determines the value of running parameter in value range;
Instruction issues module, for carrying the first work to the transmission of the intelligent appliance equipment of executable specified services program
The equipment control instruction of each running parameter value information in parameter group and the first running parameter group.
Optionally, it in apparatus of the present invention, further includes:Function match module, for determining executable specified services program
Intelligent appliance equipment, respectively worked in the first running parameter group and the first running parameter group that are inquired using information inquiry module ginseng
Several value ranges, judges whether intelligent appliance equipment provides specified services program, and is judging the offer of intelligent appliance equipment
During specified services program, information determination module is triggered.
Optionally, in apparatus of the present invention, function match module, specifically for the function row in preset intelligent appliance equipment
In table, inquiry specified services program the value of each running parameter in matched second running parameter group and the second running parameter group
Range judges all working parameter that the first running parameter group is included whether is included in the second running parameter group, when judgement is tied
Fruit is when being, whether is the value range of two identical running parameters in the first running parameter group of detection and the second running parameter group
There is overlapping, when the test results is yes, judge that intelligent appliance equipment provides specified services program.
Optionally, in apparatus of the present invention, information inquiry module is additionally operable in the general service logical table being pre-created,
Inquire the optimum parameter value of each running parameter in the first running parameter group;
Information determination module specifically for each running parameter being directed in the first running parameter group, judges that the work is joined
Whether parameter value ranges of the number in the second running parameter group and the optimum parameter value of the running parameter have intersection, when there is intersection
When, according to the rule of setting, the value of running parameter is chosen in optimum parameter value;When there is no intersection, with close to best ginseng
Numerical value is selection principle, and in the range of the parameter value in the second running parameter group, running parameter is chosen in the running parameter
Value.
Optionally, it in apparatus of the present invention, further includes:
Information updating module, for when the service routine running parameter update for receiving operating parameter information provider transmission
During instruction, the operating parameter information of respective service program in general service logical table is updated.
In terms of third according to the present invention, a kind of server is provided, including:Processor, memory and communication bus;It is logical
Letter bus is used to implement the connection communication between processor and memory;
Processor is used to perform the apparatus self-adaptation control program stored in memory, to realize as present device is adaptive
The step of answering control method.
The present invention has the beneficial effect that:
Scheme of the present invention designs, it is proposed that a kind of for existing " one-touch " service routine of intelligent appliance equipment
Improvement project.Server side safeguard the respective services program that intelligent appliance equipment provided and it includes running parameter value
The information such as range, when the above-mentioned service routine of user's request call, the automatic acquisition of server side adapts to Intelligent target household electrical appliances and sets
Standby optimum working parameter simultaneously issues equipment control instruction.The program is introduced, the parameter of " one-touch " service routine can be taken
Value, from it is existing completely it is preset, upgrading to dynamically to update, and effectively promote user experience.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
In the first embodiment of the invention, it proposes a kind of apparatus self-adaptation control method, specifically, provided a kind of base
In the apparatus self-adaptation control method of general service logic.In the present embodiment, equipment manufacturers (can be, but not limited in server
For cloud platform) safeguard general service logic table, including to be directed in the service logic table can carry per a kind of intelligent appliance equipment
The information such as the various service routines supplied and running parameter value, specifically as shown in Table 1;The service logic table can be by equipment system
Quotient is made to be updated according to demand.When user needs to call a certain service of intelligent appliance equipment, control instruction is sent to clothes
Business device, server determine the running parameter of intelligent appliance and issue according to factors such as user demand, unit types.With reference to
The implementation process of the present embodiment the method is described in detail in attached drawing 2.
As shown in Figure 1, the apparatus self-adaptation control method of the present embodiment, applies in server side, includes the following steps:
Step S101 obtains the call request to specified services program that intelligent terminal is sent;
Smart home application program or home wiring control application program are mounted in the embodiment of the present invention, in intelligent terminal.Intelligence
Energy terminal sends the calling to specified services program by smart home application program or home wiring control application program to server
Request.
In the embodiment of the present invention, intelligent terminal carries the mark of service routine in call request;Server side is according to clothes
The identification information for program of being engaged in determines service routine that intelligent terminal side is specified.
Step S102, in the general service logical table being pre-created, matched first work of inquiry specified services program institute
Make the value range of each running parameter in parameter group and the first running parameter group;
In the embodiment of the present invention, needle safeguards a general service logical table, the general industry per a kind of intelligent appliance equipment
The identification information for the various service routines that such intelligent appliance equipment can be provided is stored in business logical table and respectively services journey
The running parameter value information of sequence.
Step S103 by the parameter value rule of setting, determines the value of running parameter in value range;
In the preferred embodiment of the present invention, before the step is performed, following operation is also performed:
(1) the intelligent appliance equipment of executable specified services program is determined;
In the embodiment of the present invention, under Intelligent household scene, intelligent appliance equipment is after reaching the standard grade, by home gateway or directly
It connects and is registered to server;Server receives user's request that intelligent terminal is sent, according to the associations such as " family " or " user ", inquiry
The intelligent appliance equipment of executable specified services program.
(2) according to the value range of each running parameter in the first running parameter group and the first running parameter group that inquire,
Judge whether intelligent appliance equipment provides specified services program, and intelligent appliance equipment offer specified services program is being provided
When, just perform the operation of step S103.The present embodiment, by prejudging the whether executable specified services journey of intelligent appliance equipment
Sequence, it is therefore prevented that intelligent appliance equipment can not perform specified services program, the problem of so as to influence operating efficiency.
In an alternate embodiment of the present invention where, according to the first running parameter group and the first running parameter group inquired
In each running parameter value range, judge whether intelligent appliance equipment provides the mode of specified services program and include:
In the feature list of preset intelligent appliance equipment, matched second running parameter of inquiry specified services program institute
The value range of each running parameter in group and the second running parameter group;
Judge all working parameter that the first running parameter group is included whether is included in the second running parameter group, work as judgement
As a result it is when being, to detect the value range of two running parameters identical in the first running parameter group and the second running parameter group
It is no to have overlapping, when the test results is yes, judge that intelligent appliance equipment provides specified services program.
Further, in the another alternative embodiment of the present invention, in the general service logical table being pre-created, inquiry
Specified services program in matched first running parameter group and the first running parameter group during the value range of each running parameter, also
Inquiry obtains the optimum parameter value of each running parameter in the first running parameter group.That is, clothes are also stored in general service logical table
The optimum value for program work parameter of being engaged in.
Under the embodiment, by the parameter value rule of setting, the value of running parameter, packet are determined in value range
It includes:
For each running parameter in the first running parameter group, judge the running parameter in the second running parameter group
Whether parameter value range and the optimum parameter value of the running parameter have intersection;
When there is intersection, according to the rule of setting, the value of running parameter is chosen in optimum parameter value;
When there is no intersection, using close optimum parameter value as selection principle, in the running parameter in the second running parameter group
In parameter value in the range of, choose the value of running parameter.
It should be pointed out that the above-mentioned parameter value rule provided, an only specific example of the invention, the present invention is simultaneously
It does not limit uniquely using the rule, those skilled in the art can flexibly carry out rule settings according to demand.So this field skill
The rule for any parameter value that art personnel are readily apparent that is all within the protection thought range of the present invention.
Step S104, to executable specified services program intelligent appliance equipment transmission carry the first running parameter group and
The equipment control instruction of each running parameter value information in first running parameter group.
So far, it realizes and utilizes control of the method for the embodiment of the present invention to intelligent appliance equipment.
Further, present invention method further includes:When the service for receiving operating parameter information provider transmission
During program work parameter update instruction, the operating parameter information of respective service program in general service logical table is updated.
That is, general service logical table can be on demand updated by equipment manufacturers.
In summary, present invention method is designed for existing " one-touch " service routine of intelligent appliance equipment,
Propose a kind of improvement project.Server side safeguard the respective services program that intelligent appliance equipment provided and it includes work
Make the information such as parameter value range, when the above-mentioned service routine of user's request call, server side obtains and adapts to target automatically
The optimum working parameter of intelligent appliance equipment simultaneously issues equipment control instruction.The program is introduced, " one-touch " can will service journey
The parameter value of sequence, from it is existing completely it is preset, upgrading to dynamically to update, and effectively promote user experience.
In the second embodiment of the present invention, a kind of apparatus self-adaptation control method is provided.The present embodiment, which combines, specifically should
With example, apparatus self-adaptation control method provided by the invention is carried out more to illustrate in detail, illustrates this hair so as to clearer
Bright implementation process.It should be pointed out that a large amount of technical details that the present embodiment discloses are used to explain the present invention, but be not used in only
One limits the present invention.
Specifically, in present invention method, the general service logical table being related to is as follows:
Below by taking service routine S as an example, each field meanings of parameter P are illustrated:
(1) value range V:Intelligent appliance equipment is described when performing program S, the permitted value ranges of running parameter P.
If the parameter P value ranges V of certain household electrical appliances DDWith V without intersection, then it represents that the equipment can not provide service S;For example, program for washing
A requirement washing water temperatures, if the water temperature of certain washing machine is only room temperature, can not provide program for washing A not less than 60 DEG C.Value
The common representation of range includes:
Determine value:Including Boolean type (Y/N), enumeration type (enumerate all can value) etc.;
Section:Using [Vmin、Vmax] form represent;Wherein, Vmin, Vmax represent minimum value and maximum value respectively.
(2) optimum value O:Intelligent appliance equipment is described when performing program S, the best value of parameter P;Optimum value can be
Determine value (one or more) or [Omin,Omax] range format.For example, " washing water temperature " ginseng of certain program for washing
Number optimum value is 60 DEG C, the temperature optima of certain group food refrigeration program is 2~5 degree.
Particularly, as the parameter P value ranges V of intelligent appliance equipment DDWith optimum value O without intersection or VDWith O have intersection and
O is [Omin,Omax] aggregate form when, the best value of parameter P can not be determined directly.In this regard, in the embodiment of the present invention, use
Following approximate regulation, the best value for the P that gets parms:
Approximate regulation 1:For VDWith situations of the O without intersection, in VDThe middle value selected closest to O;
Approximate regulation 2:For VDThere is an intersection with O but a situation that O is set, in VDIt is middle to select closest to (Omin+Omax)/2
Value.
Below based on specific systemic circulation application scenarios, to the apparatus self-adaptation control method that the embodiment of the present invention proposes into
Row illustrates that entire flow is as shown in Figure 2.In the scene, service routine S is as shown in the table in the information of general service logical table;
For intelligent appliance equipment D, the value range of parameter 1 is [0,40], and the value range of parameter 2 is [0,120].
As shown in Fig. 2, the apparatus self-adaptation control method of the present embodiment, includes the following steps:
Step 1:Equipment manufacturers create in cloud platform and safeguard the general service logical table of all kinds of intelligent appliance equipment.
Step 2:Intelligent appliance equipment D sends notice of reaching the standard grade to home gateway, and is registered to cloud platform.
Step 3:User sends service routine call instruction by the APP of intelligent terminal, calls " one-touch " service routine
S;Wherein, the mark of service routine S is included in call instruction.
Step 4:After cloud platform receives call instruction, the feature list of intelligent appliance D is obtained, and determined in feature list
The running parameter of service routine S and its value range information.
Step 5:Cloud platform inquires the running parameter of service routine S and running parameter value model in general service logical table
It encloses and optimum valuing range information.
Step 6:For the service routine S running parameters 1 included and running parameter 2, cloud platform is respectively compared its value model
Enclose the parameter P value ranges V of V and equipment DD, the V and V of 2 parametersDThere is intersection, determine that intelligent appliance equipment D can provide clothes
Program of being engaged in S.
Step 7:Cloud platform determines the running parameter 1 of intelligent appliance equipment D and the best value of running parameter 2.For work
Make parameter 1, value range [0,40] without intersection, then according to approximate regulation 1, is taken closest to [60,90] with optimum value [60,90]
Value 40 be used as best value;For running parameter 2, value range [0,120] has intersection with optimum value [8,12], then basis
Approximate regulation 2 takes the value 10 closest to (8+12)/2 to be used as best value.
Step 8:Cloud platform sends control instruction to intelligent appliance equipment D, comprising running parameter 1 and best in control instruction
Value 40, running parameter 2 and best value 10;Control instruction reaches intelligent appliance equipment D through gateway relay.
Step 9:After intelligent appliance equipment D receives control instruction, corresponding operating is performed.
Step 10:Equipment manufacturers are on demand in the parameter value range and optimum value of cloud platform update service routine S.
Step 11:User sends call instruction by the APP of intelligent terminal, calls service routine S again.
Step 12:After cloud platform receives call instruction, the operation of step 4~7 is repeated, is patrolled according to updated general service
Table is collected, determines the best value of running parameter 1 and running parameter 2.
Step 13:Cloud platform sends control instruction to intelligent appliance equipment D, and running parameter 1, work are included in control instruction
Parameter 2 and its best value;Control instruction reaches intelligent appliance equipment D through gateway relay.
Step 14:After intelligent appliance equipment D receives control instruction, corresponding operating is performed.
Present invention method designs, it is proposed that one for existing " one-touch " service routine of intelligent appliance equipment
Kind improvement project.Cloud platform safeguard the respective services program that intelligent appliance provided and it includes parameter value range, most
The information such as good value, and equipment manufacturers is allowed to be updated;When the above-mentioned service routine of user's request call, cloud platform according to
The information such as family demand, household electrical appliances model, it is automatic to obtain the optimum working parameter for adapting to target household electrical appliances and issue.Introduce the program,
Can be by the parameter value of " one-touch " service routine, from existing completely preset, upgrading to dynamically to update, and effectively promoted and used
It experiences at family.
In the third embodiment of the present invention, a kind of apparatus self-adaptation control device is provided, applied to server, such as Fig. 3
It is shown, including:
Data obtaining module 310, for obtaining the call request to specified services program of intelligent terminal transmission;
Information inquiry module 320, in the general service logical table being pre-created, inquiring specified services program institute
The value range of each running parameter in the first running parameter group and the first running parameter group matched;
Information determination module 330 for pressing the parameter value of setting rule, determines taking for running parameter in value range
Value;
Instruction issues module 340, for carrying first to the transmission of the intelligent appliance equipment of executable specified services program
The equipment control instruction of each running parameter value information in running parameter group and the first running parameter group.
Based on above structure frame, several specific and preferred embodiments under the above constitution are given below, to thin
Change and optimize the function of apparatus of the present invention, so that the implementation of the present invention program is more convenient, accurately.It should be pointed out that not rushing
In the case of prominent, following feature can be in any combination.More particularly to following content:
In an alternate embodiment of the present invention where, as shown in figure 4, device further includes:
Function match module 350 for determining the intelligent appliance equipment of executable specified services program, utilizes information inquiry
Module polls to the first running parameter group and the first running parameter group in each running parameter value range, judge intelligent appliance
Whether equipment provides specified services program, and when judging that intelligent appliance equipment provides specified services program, and triggering information is true
Cover half block 340.
In one particular embodiment of the present invention, function match module 350, specifically for being set in preset intelligent appliance
In standby feature list, respectively work in the inquiry specified services program matched second running parameter group of institute and the second running parameter group
The value range of parameter judges whether join in the second running parameter group comprising all working that the first running parameter group is included
Number, when judging result is when being, detects two running parameters identical in the first running parameter group and the second running parameter group
Whether value range has overlapping, when the test results is yes, judges that intelligent appliance equipment provides specified services program.
In an alternate embodiment of the present invention where, information inquiry module 320 are additionally operable in the general service being pre-created
In logical table, the optimum parameter value of each running parameter in the first running parameter group is inquired;
Information determination module 330 specifically for each running parameter being directed in the first running parameter group, judges the work
Whether the optimum parameter value of parameter value range of the parameter in the second running parameter group and the running parameter has intersection, when there is friendship
During collection, according to the rule of setting, the value of running parameter is chosen in optimum parameter value;When there is no intersection, with close to best
Parameter value is selection principle, in the running parameter in the range of the parameter value in the second running parameter group, chooses running parameter
Value.
In one particular embodiment of the present invention, as shown in figure 5, device further includes:
Information updating module 360, for when the service routine running parameter for receiving operating parameter information provider transmission
During update instruction, the operating parameter information of respective service program in general service logical table is updated.
In summary, device of the embodiment of the present invention is designed for existing " one-touch " service routine of intelligent appliance equipment,
Propose a kind of improvement project.In the program, safeguard have respective services program that intelligent appliance equipment provided and it includes
The information such as running parameter value range, when the above-mentioned service routine of user's request call, automatic obtain adapts to Intelligent target man
The optimum working parameter of electric equipment simultaneously issues equipment control instruction.The program is introduced, it can be by the ginseng of " one-touch " service routine
Number values, from it is existing completely it is preset, upgrading to dynamically to update, and effectively promote user experience.
In the fourth embodiment of the present invention, a kind of server is provided, as shown in fig. 6, including:Processor 610, memory
620 and communication bus 630;
Communication bus 630 is used to implement the connection communication between processor 610 and memory 620;
Processor 610 is used to perform the apparatus self-adaptation control program stored in memory 620, to realize setting for the present invention
The step of standby self-adaptation control method.
Due to having been carried out in detail to the apparatus self-adaptation control method of the present invention in first embodiment and second embodiment
Describe in detail bright, so the present embodiment is not repeated to illustrate, the implementation process of specific method is referring to first, second embodiment.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium can include:ROM, RAM, disk or CD etc..
In short, the foregoing is merely illustrative of the preferred embodiments of the present invention, it is not intended to limit the scope of the present invention.
All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in the present invention's
Within protection domain.