CN109901428A - A kind of household appliance and its load gear control method and device - Google Patents
A kind of household appliance and its load gear control method and device Download PDFInfo
- Publication number
- CN109901428A CN109901428A CN201910120234.2A CN201910120234A CN109901428A CN 109901428 A CN109901428 A CN 109901428A CN 201910120234 A CN201910120234 A CN 201910120234A CN 109901428 A CN109901428 A CN 109901428A
- Authority
- CN
- China
- Prior art keywords
- load
- gear
- unit time
- state
- turned
- 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
Links
Landscapes
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
- Selective Calling Equipment (AREA)
Abstract
This application discloses a kind of household appliance and its load gear control methods and device, are related to household appliance technical field.The described method includes: obtaining the unit time, the unit time is millisecond and following magnitude;According to the unit time, the load of each load of cycle index is numbered;When monitoring the trigger event of setting gear, according to the load of current record number and the corresponding gear of the trigger event, corresponding load is opened.In this method, by carrying out cycle index to the load number of each load, according to the corresponding gear of load number and trigger event of current record, to open corresponding load when monitoring the trigger event of setting gear;Enable each load by balanced use, greatly reduce the replacement frequency of load, avoid because the utilization of resources is unbalanced result in waste of resources the problem of.
Description
Technical field
The present invention relates to household appliance technical field more particularly to a kind of household appliance and its load gear control method and
Device.
Background technique
The selection function that load gear is had in many household appliances is opened simultaneously when user selects 1 grade, 2 grades ... n grades
Open the load (such as heating tube, motor, blower, solenoid valve etc.) of corresponding 1,2 ... n same type specification.With most
High tap position is numbered each Mo-Co catalyst for 3 grades, when the control method of existing load gear is often that user selects 1 grade,
Open load 1;When selecting 2 grades, while opening load 1 and load 2;When selecting 3 grades, while opening load 1, load 2 and load
3.However, will cause the probability height that the likelihood ratio load 2 that load 1 is opened is opened, load 2 in the control method of the load gear
The probability of unlatching is again higher than the probability that load 3 is opened.But since they are the loads of same type specification, for a family
For electric product, at the end of its life cycle, load 1 may replace repeatedly, and load 2 also be not very much,
Load 3 is then used less.Accordingly, there exist because the utilization of resources is unbalanced result in waste of resources the problem of, while also easily drawing
Play the complaint of user.
Summary of the invention
It is a primary object of the present invention to propose a kind of household appliance and its load gear control method and device, it is intended to extremely
Few one of technical problem solved in the first degree in above-mentioned technical problem.
To achieve the above object, first aspect present invention provides a kind of load gear control method, the load gear control
Method processed the following steps are included:
The unit time is obtained, the unit time is millisecond and following magnitude;
According to the unit time, the load of each load of cycle index is numbered;
It is corresponding according to the load of current record number and the trigger event when monitoring the trigger event of setting gear
Gear, open corresponding load.
Load gear control method provided by the invention, by carrying out cycle index to the load number of each load, and
When monitoring the trigger event of setting gear, according to the corresponding gear of load number and trigger event of current record, open
Corresponding load;Enable each load by balanced use, greatly reduce the replacement frequency of load, avoids because of money
The problem of source is resulted in waste of resources using unbalanced
In addition, load gear control method provided by the invention can also have following additional technical feature:
Preferably, the acquisition unit time, comprising:
The duration of oscillation for obtaining clock circuit, determines the unit time according to the duration of oscillation.
Preferably, the acquisition unit time, comprising:
The preset unit time is obtained in memory block.
Preferably, described according to the unit time, the load of each load of cycle index is numbered, comprising:
Determine that initial load is numbered and recorded;
Every the unit time, according to the first preset rules, one load of selection is compiled in the load number of each load
Number, the load that the load number of current record is updated to selection is numbered.
Preferably, described according to the load of current record number and the corresponding gear of the trigger event, it opens corresponding
Load, comprising:
According to the corresponding gear of the trigger event, the quantity for needing to open load is determined;
According to the second preset rules, the load number of current record is calculated, obtains the load number of respective numbers;
It opens obtained load and numbers corresponding load.
Preferably, described to open the obtained corresponding load of load number, packet if there is currently the load for the state that has turned on
It includes:
The load for comparing obtained load number and the load for having turned on state is numbered;
If the load number in obtained load number containing the load for having turned on state described in whole, unlatching are born
Carry the load numbered and be currently at non-open state in corresponding load;
If the load number in obtained load number containing the load for having turned on state described in part, it is determined that obtain
It is corresponding negative to close determining load number for the load number for the load in the state that has turned on not contained in load number
It carries, and opens obtained load and number the load for being currently at non-open state in corresponding load;
If closing described opened without containing the load number of the load for having turned on state in obtained load number
Corresponding load is numbered in the load for opening state, the load opened.
In addition, to achieve the above object, second aspect of the present invention provides a kind of load shift-position control apparatus, comprising:
Module is obtained, for obtaining the unit time, the unit time is millisecond and following magnitude;
Logging modle, for being numbered according to the load of the unit time, each load of cycle index;
Monitoring modular, for monitoring the trigger event of setting gear;
Opening module, for the monitoring module monitors to setting gear trigger event when, according to current record
Load number and the corresponding gear of the trigger event open corresponding load.
Load shift-position control apparatus provided by the invention, by carrying out cycle index to the load number of each load, and
When monitoring the trigger event of setting gear, according to the corresponding gear of load number and trigger event of current record, open
Corresponding load;Enable each load by balanced use, greatly reduce the replacement frequency of load, avoids because of money
The problem of source is resulted in waste of resources using unbalanced
In addition, load shift-position control apparatus provided by the invention can also have following additional technical feature:
Preferably, the acquisition module is specifically used for: the duration of oscillation of clock circuit is obtained, it is true according to the duration of oscillation
Determine the unit time.
Preferably, the acquisition module is specifically used for: the preset unit time is obtained in memory block.
Preferably, the logging modle is specifically used for:
Determine that initial load is numbered and recorded;
Every the unit time, according to the first preset rules, one load of selection is compiled in the load number of each load
Number, the load that the load number of current record is updated to selection is numbered.
Preferably, the opening module is specifically used for:
According to the corresponding gear of the trigger event, the quantity for needing to open load is determined;
According to the second preset rules, the load number of current record is calculated, obtains the load number of respective numbers;
Corresponding load is numbered in the load for opening the respective numbers.
Preferably, if there is currently the load for the state that has turned on, the opening module is used for:
The load for comparing obtained load number and the load for having turned on state is numbered;
If the load number in obtained load number containing the load for having turned on state described in whole, unlatching are born
Carry the load numbered and be currently at non-open state in corresponding load;
If the load number in obtained load number containing the load for having turned on state described in part, it is determined that obtain
It is corresponding negative to close determining load number for the load number for the load in the state that has turned on not contained in load number
It carries, and opens obtained load and number the load for being currently at non-open state in corresponding load;
If closing described opened without containing the load number of the load for having turned on state in obtained load number
Corresponding load is numbered in the load for opening state, the load opened.
In addition, to achieve the above object, third aspect present invention provides a kind of household appliance, it is arranged in the household appliance
There are multiple loads and load gear selection module, the household appliance further include: load gear described in second aspect of the present invention
Control device.
Household appliance provided by the invention, the load shift-position control apparatus contained by it can bear each load
It carries number and carries out cycle index, and when monitoring the trigger event of setting gear, numbered and touched according to the load of current record
The corresponding gear of hair event opens corresponding load;Enable each load by balanced use, greatly reduces load
Replacement frequency, avoid because the utilization of resources is unbalanced result in waste of resources the problem of.
In addition, to achieve the above object, fourth aspect present invention provides a kind of electronic equipment, comprising: memory and processing
Device;
It is stored with computer program on the memory, when the computer program is executed by the processor, realizes this
Load gear control method described in invention first aspect.
Electronic equipment provided by the invention can be to the load of each load by executing the computer program of its storage
Number carries out cycle index, and when monitoring the trigger event of setting gear, is numbered and triggered according to the load of current record
The corresponding gear of event opens corresponding load;Enable each load by balanced use, greatly reduces load
Replacement frequency, avoid because the utilization of resources is unbalanced result in waste of resources the problem of.
In addition, to achieve the above object, fifth aspect present invention provides a kind of computer readable storage medium, store thereon
There is computer program, when the computer program is executed by processor, realizes load gear as described in the first aspect of the invention
Control method.
Computer storage medium provided by the invention can be to each load by executing the computer program of its storage
Load number carry out cycle index, and monitor setting gear trigger event when, according to the load of current record number
And the corresponding gear of trigger event, open corresponding load;Enable each load by balanced use, greatly reduces
The replacement frequency of load, avoid because the utilization of resources is unbalanced result in waste of resources the problem of.
Additional aspect and advantage of the invention can be set forth in part in the description, partially will from the following description
Become obvious, or practice through the invention is recognized.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the application
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of flow diagram for loading gear control method provided by one embodiment of the present invention;
Fig. 2 is a kind of flow diagram for load gear control method that another embodiment of the present invention provides;
Fig. 3 is a kind of flow diagram for load gear control method that another embodiment of the present invention provides;
Fig. 4 is a kind of module composition schematic diagram for loading shift-position control apparatus provided by one embodiment of the present invention;
Fig. 5 is a kind of module composition schematic diagram of household appliance provided by one embodiment of the present invention;
Fig. 6 is a kind of module composition schematic diagram for household appliance that another embodiment of the present invention provides.
Specific embodiment
The illustrative embodiments of the disclosure are more fully described below with reference to accompanying drawings.Although showing this public affairs in attached drawing
The illustrative embodiments opened, it being understood, however, that may be realized in various forms the disclosure without the reality that should be illustrated here
The mode of applying is limited.It is to be able to thoroughly understand the disclosure on the contrary, providing these embodiments, and can be by this public affairs
The range opened is fully disclosed to those skilled in the art.
The embodiment of the present application be easy to cause each same size mainly for the control method in the related technology, loading gear
The unlatching probability of load is different, therefore at the end of the life cycle of corresponding household appliances, some loads had been replaced repeatedly, and
Some loads are then used seldom, there are problems that resulting in waste of resources because the utilization of resources is unbalanced.
In the embodiment of the present application, it by carrying out cycle index to the load number of each load, and is monitoring to be arranged
When the trigger event of gear, according to the corresponding gear of load number and trigger event of current record, corresponding load is opened;Make
The replacement frequency of load can be greatly reduced, be avoided because the utilization of resources is unbalanced by balanced use by obtaining each load
And the problem of resulting in waste of resources.
With reference to the accompanying drawing to household appliance provided by the embodiments of the present application and its load gear control method, device, set
Standby and storage medium is described in detail.
Fig. 1 is a kind of flow diagram for loading gear control method provided by one embodiment of the present invention;Such as Fig. 1 institute
Show, the described method comprises the following steps:
Step S101: obtaining the unit time, and the unit time is millisecond and following magnitude;
Household appliance in the present embodiment may include human-computer interaction interface, be provided in the human-computer interaction interface switch by
Key (mechanical key or touch key-press), gear selection module (key or knob), so that user's operation starts household appliance, selection
Load gear;The corresponding trigger event of the switch key is monitored, and is opened monitoring that switch key is corresponding for the first time
When opening trigger event, obtain the unit time, with according to the unit time in real time to the load number cycle index of each load;Or
Person, when monitoring the corresponding starting trigger event of start button every time, the acquisition unit time, according to the unit time to each
The load number cycle index of load, and when monitoring the corresponding closure trigger event of switch key, stop to each load
Load number cycle index.
Unit time in the present embodiment is millisecond and following magnitude, for example, 10 milliseconds;And user is set using household electrical appliances
In standby process, is arrived Zi operation start button starting household appliance and load gear selection and usually require several seconds time,
Therefore can ensure to have started the cycle over the load number for recording each load when user selects load gear, it can be according to working as
The corresponding load of load number unlatching of preceding record, rather than when the starting of every secondary device, it is all that corresponding unlatching is same or multiple
Load.
Further, in one embodiment of the application, obtaining the unit time includes: when obtaining the oscillation of clock circuit
Between, the unit time is determined according to the duration of oscillation;
Specifically, the duration of oscillation that will acquire is as minimum time, and the minimum time and default value is mutually multiplied
To the unit time;For example, the clock circuit for being 8MHz for a frequency, the duration of oscillation of acquisition is 0.125us, default value
It is 80000, then the unit time obtained is 10ms.
In another embodiment of the application, obtaining the unit time includes: when obtaining preset unit in memory block
Between.
Step S102: according to the unit time of acquisition, the load of each load of cycle index is numbered;
In another embodiment of the application, as shown in Fig. 2, step S102 includes:
Step S102-1: determine that initial load is numbered and recorded;
Specifically, presetting initial load number, and when getting the unit time, initial load number is read,
And it is recorded as present load number.
For example, currently there is n load, serial number is carried out to this n load, obtain corresponding load number respectively 1,
2,3 ... n-1, n preset load number 2 as initial load number, then when getting the unit time, read load volume
It numbers 2 and records.
In another embodiment of the application, if monitoring to start when the corresponding starting trigger event of start button every time
To the load number cycle index of each load, then method can also include: in the load number cycle index to each load
At the end of, update the initial load number.For example, being numbered behind current initial load number plus 1 as initial load.
It is common, for same user, when using household appliance every time, self-starting household appliance to selection gear
Operating duration will not be mutually far short of what is expected, therefore, even if each operation duration is identical, also can number difference because of initial load, and true
Guarantor opens different loads every time.
Step S102-2: it every the unit time, is selected in the load number of each load according to the first preset rules
A load number is selected, the load that the load number of current record is updated to selection is numbered.
Wherein, the first preset rules can in practical applications, sets itself according to demand.
As an example, the load that the first preset rules are each load of journal is numbered;For example, the unit time is 10 millis
Second, the load number of current record is 2, shares n load, then every 10 milliseconds, is successively updated to the load number of record
"3,4…n-1,n,1,2…";
As another example, the first rule is the load number that inverted order records each load;For example, the load of current record
Number is 2, shares n load, then every 10 milliseconds, the load number of record is successively updated to " 1, n, n-1 ... 2,1 ... ";
As another example, the first preset rules are the load number that sequence great-jump-forward records each load;For example, jump
Between be divided into 1, the load number of current record is 2, shares n load and n is even number, then every 10 milliseconds, successively by record
Load number be updated to " 4,6 ... the n-3 of n-2, n, 1,3,5 ..., n-1,2 ... ".
It is no longer exhaustive in the present embodiment for the first preset rules, it should be appreciated that the first rule is not limited to above-mentioned show
Example, other update the mode of the load number of current record, within the scope of protection of this application.
In the present embodiment, by carrying out cycle index to the load number of each load, setting gear is being monitored
It when trigger event, is numbered according to the load of current record, determines the load mutually in requisition for unlatching;It effectively avoids and opens every time
Open identical load.
Step S103: when monitoring the trigger event of setting gear, thing is numbered and triggered according to the load of current record
The corresponding gear of part opens corresponding load.
Specifically, presetting the trigger event of each gear and the corresponding relationship of gear, wherein the trigger event of gear
User can be embodied to gear selection module operation (for example, click or rotate), when detecting the trigger event of gear, in shelves
In the trigger event of position and the corresponding relationship of gear, corresponding gear is obtained, numbers and obtains according to the load of current record
Gear opens corresponding load.
In another embodiment of the application, as shown in figure 3, step S103 includes:
Step S103-1: when monitoring the trigger event of setting gear, according to the corresponding gear of the trigger event, really
The fixed quantity for needing to open load;
In the present embodiment, the rank of gear is the quantity for needing to open load, such as the corresponding gear of trigger event
It is 3 grades, then the quantity for needing to open load is 3.
Step S103-2: according to the second preset rules, the load number of current record is calculated, respective numbers are obtained
Load number;
Wherein, the second preset rules can in practical applications, sets itself as needed.
As an example, the second preset rules are to number the load number of current record as initial load, as needed
The quantity of load is opened, sequence chooses the load number of respective numbers backward;For example, the load number 2 of current record, needs out
The quantity for opening load is 3, then to load number 2 as initial load number, sequence chooses load number 3, load number 4 backward,
Obtain 2,3,4 three load numbers;
As another example, the second preset rules are to number the load number of current record as initial load, according to
Need to open the quantity of load, inverted order chooses the load number of respective numbers backward;For example, the load number 2 of current record, needs
The quantity for opening load is 3, shares n load, then to load number 2 as initial load number, chooses load backward to sequence
Number 1, load number n obtain 2, tri- 1, n load numbers;
As another example, the second preset rules are to number the load number of current record as initial load, according to
Need to open the quantity of load, sequence skip-forwards formula chooses the load number of respective numbers;For example, the load of current record is compiled
Numbers 2, the quantity for needing to open load is 3, shares 5 loads, and hop interval 1 is then that initial load is compiled to load number 2
Number, sequence chooses forward load number 4, load number 1, obtains 2,4,1 three load numbers;
It is no longer exhaustive in the present embodiment, it should be appreciated that Second Rule is not limited to above-mentioned show for the second preset rules
Example, other are numbered according to the load of current record, the mode of the load number of respective numbers are determined, in the protection model of the application
In enclosing.
Step S103-3: corresponding load is numbered in the load opened.
In another embodiment of the application, step S103-3 includes:
Step S103-3-1: interpretation currently whether there is the load for the state of having turned on, and be to then follow the steps S103-3-2,
Otherwise corresponding load is numbered in the load for the respective numbers opened;
In the present embodiment, each load is provided with corresponding status indicator, when opening load, by corresponding state mark
Know set, when closing load, corresponding status indicator is resetted;Judgement currently whether there is the status indicator of set, be then
Determine that there is currently the loads for the state that has turned on, and otherwise determine that there is currently no the loads for the state that has turned on.
Step S103-3-2: the load number of the load number compared and the load for having turned on state, if obtain
Load number in load number containing the load for all having turned on state, thens follow the steps S103-3-3;If obtained load
The load number for having turned on the load of state in number containing part, thens follow the steps S103-3-4;If obtained load number
In without containing have turned on state load load number, then follow the steps S103-3-5;
Specifically, when user carries out gear switch, due to currently having turned on fractional load, thus need to obtaining
Load number is compared with the load of the load for the state that has turned on number, and executes corresponding operation according to comparing result.
Step S103-3-3: the load for obtaining that non-open state is currently in the corresponding load of load number is opened;
For example, sharing 5 loads, the load number for being currently at the load for the state of having turned on is 2 and 3, is monitoring to set
When being set to 3 grades of gear trigger event, the load number of record is 2, obtains 2,3,4 three loads according to the second preset rules and compiles
Number, then open the load corresponding load of number 4.
Step S103-3-4: determining the load number for the load for having turned on state not contained in obtained load number,
It closes determining load and numbers corresponding load, and open in the obtained corresponding load of load number and be currently at non-opening state
The load of state;
For example, sharing 5 loads, the load number for being currently at the load for the state of having turned on is 2 and 3, is monitoring to set
When being set to 3 grades of gear trigger event, the load number of record is 3, obtains 3,4,5 three loads according to the second preset rules and compiles
Number, then the load corresponding load of number 2 is closed, and open the corresponding load of present load number 4 and 5.
Step S103-3-5: closing the load for the state that has turned on, and corresponding load is numbered in the load opened.
For example, sharing 5 loads, the load number for being currently at the load for the state of having turned on is 2 and 3, is monitoring to set
When being set to 3 grades of gear trigger event, the load number of record is 4, obtains 4,5,1 three loads according to the second preset rules and compiles
Number, then the corresponding load of load number 2 and 3 is closed, and open the load corresponding load of number 4,5,1.
Preferably, in the above embodiments, it is loaded accordingly by the corresponding control circuit closure or openness of each load.
It is noted that the various embodiments described above are described using relevant mode, similar or identical part in each embodiment
Reference mutually, each embodiment focuses on the differences from other embodiments.
As a result, by carrying out cycle index to the load number of each load, and in the triggering thing for monitoring setting gear
When part, according to the corresponding gear of load number and trigger event of current record, corresponding load is opened;Enable each load
It is enough that the replacement frequency of load is greatly reduced by balanced use, it avoids and causes resource unrestrained because the utilization of resources is unbalanced
The problem of taking.
It is a kind of embodiment for loading gear control method provided by the present application above, it is corresponding with above-described embodiment,
The embodiment of the present application also provides a kind of load shift-position control apparatus, as shown in figure 4, the load shift-position control apparatus 200 includes:
Module 201 is obtained, for obtaining the unit time, the unit time is millisecond and following magnitude;
Logging modle 202, the unit time for being obtained according to module 201 is obtained, the load of each load of cycle index
Number;
Monitoring modular 203, for monitoring the trigger event of setting gear;
Opening module 204, when for monitoring the trigger event of setting gear in monitoring modular 203, according to logging modle
The corresponding gear of trigger event that the load number and monitoring modular 203 of 202 current records monitor, opens corresponding load.
In another embodiment of the application, obtains module 201 and is specifically used for: obtaining the duration of oscillation of clock circuit,
The unit time is determined according to the duration of oscillation.
In another embodiment of the application, obtains module 201 and be specifically used for: obtaining preset unit in memory block
Time.
In another embodiment of the application, logging modle 202 is specifically used for:
Determine that initial load is numbered and recorded;
Every the unit time, according to the first preset rules, one load of selection is compiled in the load number of each load
Number, the load that the load number of current record is updated to selection is numbered.
In another embodiment of the application, opening module 204 is specifically used for:
The corresponding gear of trigger event monitored according to monitoring modular 203 determines the quantity for needing to open load;
According to the second preset rules, the load number of current record is calculated, obtains the load number of respective numbers;
Corresponding load is numbered in the load for opening the respective numbers.
In another embodiment of the application, if the opening module is used for there is currently the load for the state that has turned on:
Compare the load number of obtained load number and the load for having turned on state;
If the load number in obtained load number containing the load for all having turned on state, unlatching obtain load and compile
The load of non-open state is currently in number corresponding load;
If the load number of the load of state is had turned in obtained load number containing part, it is determined that obtained load
The load number for the load in the state that has turned on not contained in number closes determining load and numbers corresponding load, and
It opens obtained load and numbers the load for being currently at non-open state in corresponding load;
If the load number of the load without containing the state that has turned in obtained load number, state is had turned on described in closing
Load, the load opened numbers corresponding load.
Load shift-position control apparatus provided by the embodiments of the present application, by carrying out circulation note to the load number of each load
Record, and when monitoring the trigger event of setting gear, according to the corresponding gear of load number and trigger event of current record,
Open corresponding load;Enable each load by balanced use, greatly reduces the replacement frequency of load, avoid
Because the utilization of resources is unbalanced to result in waste of resources the problem of.
It should be noted that the aforementioned explanation to load gear control method embodiment, is also applied for load gear
Control device, therefore details are not described herein.
In addition, the embodiment of the present application also provides a kind of household appliance, as shown in figure 5, the household appliance includes: multiple negative
It carries, load shift-position control apparatus 200 described in load gear selection module and aforementioned any embodiment;Wherein, gear control is loaded
Device 200 processed is connected with the multiple load and load gear selection module respectively, for being produced according to load gear selection module
The corresponding gear of raw trigger event opens corresponding load.
In another embodiment of the application, household appliance further include: control circuit corresponding with each load, load
Shift-position control apparatus 200 is connected by each control circuit with each load, is controlled by control circuit corresponding load.
In another embodiment of the application, household appliance further include: clock circuit module, the clock circuit module with
Shift-position control apparatus 200 is loaded to be connected, load shift-position control apparatus 200 obtains the duration of oscillation of the clock circuit module, according to
The duration of oscillation determines the unit time.
In another embodiment of the application, household appliance further include: display module, the display module and load gear
Control device 200 is connected, the corresponding shelves of gear setting trigger event monitored for showing load shift-position control apparatus 200
Position.
In another embodiment of the application, as shown in fig. 6, household appliance can also include above-mentioned control electricity simultaneously
Road, clock circuit module and display module.
In addition, other compositions of the household appliance of the embodiment of the present application and its effect, to one skilled in the art
Be it is known, for reduce redundancy, be not repeated herein.
Household appliance provided by the embodiments of the present application, the load shift-position control apparatus contained by it can be to each negative
The load number of load carries out cycle index, and when monitoring the trigger event of setting gear, is compiled according to the load of current record
Number and the corresponding gear of trigger event, open corresponding load;Enable each load by balanced use, is significantly reduced
The replacement frequency of load, avoid because the utilization of resources is unbalanced result in waste of resources the problem of.
In addition, to realize above-described embodiment, the embodiment of the present application also provides a kind of electronic equipment, comprising: memory and place
Manage device;
Computer program is stored on the memory, when the computer program is executed by the processor, before realization
State described in any item load gear control methods.
Electronic equipment provided by the embodiments of the present application can be to each load by executing the computer program of its storage
Load number carry out cycle index, and monitor setting gear trigger event when, according to the load of current record number
And the corresponding gear of trigger event, open corresponding load;Enable each load by balanced use, greatly reduces
The replacement frequency of load, avoid because the utilization of resources is unbalanced result in waste of resources the problem of.
In addition, to realize above-described embodiment, the embodiment of the present application also provides a kind of computer readable storage medium, deposits thereon
Computer program is contained, when the computer program is executed by processor, realizes aforementioned described in any item load gear controls
Method.
Computer storage medium provided by the embodiments of the present application can be to each by executing the computer program of its storage
The load number of a load carries out cycle index, and when monitoring the trigger event of setting gear, according to the negative of current record
Number and the corresponding gear of trigger event are carried, corresponding load is opened;Enable each load by balanced use, greatly
The replacement frequency for reducing load, avoid because the utilization of resources is unbalanced result in waste of resources the problem of.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server or network equipment etc.) execute method described in each embodiment of the present invention.
The preferable specific embodiment of the above, only the application, but the protection scope of the application is not limited thereto,
Within the technical scope of the present application, any changes or substitutions that can be easily thought of by anyone skilled in the art,
Should all it cover within the scope of protection of this application.Therefore, the protection scope of the application should be with scope of protection of the claims
It is quasi-.
Claims (15)
1. a kind of load gear control method characterized by comprising
The unit time is obtained, the unit time is millisecond and following magnitude;
According to the unit time, the load of each load of cycle index is numbered;
When monitoring the trigger event of setting gear, according to the load of current record number and the corresponding shelves of the trigger event
Corresponding load is opened in position.
2. load gear control method according to claim 1, which is characterized in that the acquisition unit time, comprising:
The duration of oscillation for obtaining clock circuit, determines the unit time according to the duration of oscillation.
3. load gear control method according to claim 1, which is characterized in that the acquisition unit time, comprising:
The preset unit time is obtained in memory block.
4. load gear control method according to claim 1-3, which is characterized in that described according to the unit
Time, the load number of each load of cycle index, comprising:
Determine that initial load is numbered and recorded;
Every the unit time, according to the first preset rules, one load of selection is numbered in the load number of each load,
The load number of current record is updated to the load number of selection.
5. load gear control method according to claim 1-3, which is characterized in that described according to current record
Load number and the corresponding gear of the trigger event, open corresponding load, comprising:
According to the corresponding gear of the trigger event, the quantity for needing to open load is determined;
According to the second preset rules, the load number of current record is calculated, obtains the load number of respective numbers;
It opens obtained load and numbers corresponding load.
6. load gear control method according to claim 5, which is characterized in that if there is currently the negative of the state that has turned on
It carries, it is described to open the obtained corresponding load of load number, comprising:
The load for comparing obtained load number and the load for having turned on state is numbered;
If the load number in obtained load number containing the load for having turned on state described in whole, unlatching obtain load and compile
The load of non-open state is currently in number corresponding load;
If the load number in obtained load number containing the load for having turned on state described in part, it is determined that obtained load
The load number for the load in the state that has turned on not contained in number closes determining load and numbers corresponding load, and
It opens obtained load and numbers the load for being currently at non-open state in corresponding load;
If the obtained load number loaded in number without containing the load for having turned on state, shape is had turned on described in closing
Corresponding load is numbered in the load of state, the load opened.
7. a kind of load shift-position control apparatus characterized by comprising
Module is obtained, for obtaining the unit time, the unit time is millisecond and following magnitude;
Logging modle, for being numbered according to the load of the unit time, each load of cycle index;
Monitoring modular, for monitoring the trigger event of setting gear;
Opening module, for the monitoring module monitors to setting gear trigger event when, according to the load of current record
Number and the corresponding gear of the trigger event open corresponding load.
8. load shift-position control apparatus according to claim 7, which is characterized in that the acquisition module is specifically used for:
The duration of oscillation for obtaining clock circuit, determines the unit time according to the duration of oscillation.
9. load shift-position control apparatus according to claim 7, which is characterized in that the acquisition module is specifically used for:
The preset unit time is obtained in memory block.
10. according to the described in any item load shift-position control apparatus of claim 7-9, which is characterized in that the logging modle tool
Body is used for:
Determine that initial load is numbered and recorded;
Every the unit time, according to the first preset rules, one load of selection is numbered in the load number of each load,
The load number of current record is updated to the load number of selection.
11. according to the described in any item load shift-position control apparatus of claim 7-9, which is characterized in that the opening module tool
Body is used for:
According to the corresponding gear of the trigger event, the quantity for needing to open load is determined;
According to the second preset rules, the load number of current record is calculated, obtains the load number of respective numbers;
Corresponding load is numbered in the load for opening the respective numbers.
12. load shift-position control apparatus according to claim 11, which is characterized in that if there is currently have turned on state
Load, the opening module are used for:
The load for comparing obtained load number and the load for having turned on state is numbered;
If the load number in obtained load number containing the load for having turned on state described in whole, unlatching obtain load and compile
The load of non-open state is currently in number corresponding load;
If the load number in obtained load number containing the load for having turned on state described in part, it is determined that obtained load
The load number for the load in the state that has turned on not contained in number closes determining load and numbers corresponding load, and
It opens obtained load and numbers the load for being currently at non-open state in corresponding load;
If the obtained load number loaded in number without containing the load for having turned on state, shape is had turned on described in closing
Corresponding load is numbered in the load of state, the load opened.
13. a kind of household appliance, which is characterized in that be provided with multiple loads and load gear selection mould in the household appliance
Block, the household appliance include: the described in any item load shift-position control apparatus of claim 7-12.
14. a kind of electronic equipment characterized by comprising memory and processor;
It is stored with computer program on the memory, when the computer program is executed by the processor, realizes such as right
It is required that the described in any item load gear control methods of 1-6.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
When being executed by processor, load gear control method as claimed in any one of claims 1 to 6 is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910120234.2A CN109901428B (en) | 2019-02-18 | 2019-02-18 | Household appliance and load gear control method and device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910120234.2A CN109901428B (en) | 2019-02-18 | 2019-02-18 | Household appliance and load gear control method and device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109901428A true CN109901428A (en) | 2019-06-18 |
CN109901428B CN109901428B (en) | 2020-07-07 |
Family
ID=66944923
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910120234.2A Active CN109901428B (en) | 2019-02-18 | 2019-02-18 | Household appliance and load gear control method and device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109901428B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59226458A (en) * | 1983-06-06 | 1984-12-19 | Hitachi Ltd | High-pressure metallic vapor electric-discharge lamp |
US20050140707A1 (en) * | 2003-11-06 | 2005-06-30 | Canon Kabushiki Kaisha | Printhead driving method, printhead substrate, printhead, head cartridge and printing apparatus |
CN104991480A (en) * | 2015-08-03 | 2015-10-21 | 珠海格力电器股份有限公司 | Power supply control method, device and system |
CN107272603A (en) * | 2016-04-06 | 2017-10-20 | 西门子公司 | demand response control method and device |
CN107302822A (en) * | 2017-08-01 | 2017-10-27 | 广汽本田汽车有限公司 | Control method and controller of lighting circuit |
-
2019
- 2019-02-18 CN CN201910120234.2A patent/CN109901428B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS59226458A (en) * | 1983-06-06 | 1984-12-19 | Hitachi Ltd | High-pressure metallic vapor electric-discharge lamp |
US20050140707A1 (en) * | 2003-11-06 | 2005-06-30 | Canon Kabushiki Kaisha | Printhead driving method, printhead substrate, printhead, head cartridge and printing apparatus |
CN104991480A (en) * | 2015-08-03 | 2015-10-21 | 珠海格力电器股份有限公司 | Power supply control method, device and system |
CN107272603A (en) * | 2016-04-06 | 2017-10-20 | 西门子公司 | demand response control method and device |
CN107302822A (en) * | 2017-08-01 | 2017-10-27 | 广汽本田汽车有限公司 | Control method and controller of lighting circuit |
Also Published As
Publication number | Publication date |
---|---|
CN109901428B (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100378647C (en) | Adaptive computer display screen window | |
CN105335224B (en) | A kind of application switching method and device | |
CN107479399B (en) | Scene setting method and device for intelligent household equipment | |
CN107728874A (en) | The method, apparatus and equipment of user prompt operation are provided | |
CN107766547A (en) | E-book recommends method, electronic equipment and computer-readable storage medium | |
EP1413936A2 (en) | Energy management system for an appliance | |
US8266109B1 (en) | Performance of scanning containers for archiving | |
US20090150814A1 (en) | Dynamic update of a user interface based on collected user interactions | |
JP4997357B2 (en) | Use start section prediction apparatus and use start section prediction method | |
EP1012755A2 (en) | A method and a computer system for interactive configuration | |
JP2016530657A (en) | Application switching and input information adding method and apparatus | |
US8387050B2 (en) | System and method to dynamically manage applications on a processing system | |
JP2012222976A (en) | Power management device and power management method | |
CN106155721A (en) | The deployment method of application program, the generation method and device of the recommendation page | |
CN109960689A (en) | A kind of exchange method and refrigerator based on refrigerator food materials inventory's recommending recipes | |
JP2013210952A (en) | Information processing device, electronic device, information processing method, and program | |
CN106131425A (en) | A kind of method switching photographic head and mobile terminal | |
CN106406965A (en) | Method and device for processing application deletion operation on intelligent terminal | |
CN108089970A (en) | Predict method, terminal and the storage medium of remaining capacity up time | |
CN107341208A (en) | A kind of content recommendation method and device | |
CN105045895B (en) | A kind of method and apparatus that promotional content is shown in specified page | |
CN112363473A (en) | User behavior prediction method, device control method and device and electronic device | |
CN109901428A (en) | A kind of household appliance and its load gear control method and device | |
CN104421980A (en) | Microwave oven and control method thereof | |
CN106371343A (en) | Household electrical appliance-based control method and electronic device |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221021 Address after: 241000 west side of 3 / F, No.5 office building, new energy and new materials gathering area, Fuzhou Road, Jiangbei District, Wuhu City, Anhui Province Patentee after: Wuhu Midea intelligent kitchen electricity Manufacturing Co.,Ltd. Address before: No.20 Gangqian Road, industrial park, Beijiao Town, Shunde District, Foshan City, Guangdong Province Patentee before: FOSHAN SHUNDE MIDEA WASHING APPLIANCES MANUFACTURING Co.,Ltd. |
|
TR01 | Transfer of patent right |