Summary of the invention
The present invention provides a kind of smart machine control method, system, computer equipment and can to solve above-mentioned technical problem
Read storage medium.
According to an aspect of the present invention, a kind of smart machine control method provided, comprising:
After having detected user's connection, first category smart machine is started;
User identity is confirmed, and transfers the history setting of setting quantity corresponding with user identity from data cached
Record;
The setting of second category smart machine is accustomed to according to the history setting registration confirmed user transferred;
The second category smart machine is started according to the setting habit of user and parameter adjusts;
This setting record is generated according to practical adjustment situation, and data cached middle progress is recorded in setting generated
Storage.
Further, record time, the title of second category smart machine and each are included at least in the setting record
The corresponding setup parameter of second category smart machine institute.
Further, described this setting is generated according to practical adjustment situation to record, and to setting generated record into
The step of row storage, comprising:
It obtains user and situation is adjusted to the parameter of second category smart machine under starting state;
Respond the confirmation instruction of user, confirmation record time;
Generate new setting note jointly in conjunction with the title of acquired second category smart machine, parameter and record time
Record;
By new setting record be added to it is corresponding with user identity it is data cached in.
Further, it has been stored with the setting record of setting quantity in data cached, and has had newly-increased setting record to need
When being added, the setting record earliest to the record time is deleted.
Further, it is less than setting time interval when user initiates interval time of the front and back twice between recording instruction
When, then the setting generated of a recording instruction records after retaining user in buffered data, and it is data cached in user before
Recording instruction setting record generated is deleted.
Further, second category smart machine is set according to the history transferred setting registration confirmed user described
In the step of setting habit, comprising:
According to service condition of each second category smart machine in history setting record, confirmation starting object;
To each starting object after the setup parameter in history setting record is weighted and averaged calculating, confirmation starting ginseng
Number.
Further, in the service condition according to each second category smart machine in history setting record, confirmation
In the step of starting object, by calculating frequency of use of each second category smart machine in history setting record, it will use
The smart machine that frequency is greater than the set value is as starting object.
According to another aspect of the present invention, a kind of Control System of Intelligent is provided, comprising: client, middle control dress
It sets, first category smart machine and second category smart machine;The client, the first category smart machine and institute
Second category smart machine is stated to communicate to connect with the control device respectively;The client, the first category smart machine
And the quantity of the second category smart machine is at least two;
The control device is used for:
After having detected that user is attached by the client, the first category smart machine is opened
It is dynamic;
User identity is confirmed, and transfers the history setting of setting quantity corresponding with user identity from data cached
Record;
The starting of the second category smart machine is accustomed to according to the history setting registration confirmed user transferred;
The second category smart machine is started according to the setting habit of user and parameter adjusts;
This setting record is generated according to practical adjustment situation, and setting generated record is stored.
According to another aspect of the present invention, a kind of computer equipment, including processor and memory are provided, it is described
Processor couples the memory, and the processor is executed instruction at work to realize the above method.
According to another aspect of the present invention, a kind of readable storage medium storing program for executing is provided, computer program is stored thereon with, institute
Computer program is stated to be executed by processor to realize above-mentioned method.
Smart machine control method, system, computer equipment and readable storage medium storing program for executing provided by the invention, with the prior art
It compares, firstly, first category smart machine necessary to family is started when having detected user's connection, it can
Meet the most basic use demand of family;Secondly, by obtaining history setting record corresponding with user identity, and according to history
Be arranged registration confirmed user to second category smart machine setting habit mode, selected without user, it will be able to
The advanced required second category smart machine in family, which is realized, to be automatically turned on.Again, it is accustomed to by the setting of user to each second category
Smart machine carries out parameter adjustment, makes user that need not carry out repeating setting to it, it will be able to reach the desired effects of user.Entirely
Control process intelligent level is high, improves the experience sense of user.
Specific embodiment
In order to be clearer and more clear technical problems, technical solutions and advantages to be solved, tie below
Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
To explain the present invention, it is not intended to limit the present invention.
Preparation stage before the present invention starts, user need to carry out the first kind to smart machine included in family
Other and second category classification, wherein first category smart machine represents the equipment that must start in daily life (such as intelligence
Socket, water heater and air purifier etc.);It is advanced in daily life that the representative of second category smart machine can satisfy user
The equipment (such as television set, air-conditioning, intelligent sound box and washing machine) of functional requirement.
As shown in Figure 1, providing the method flow diagram of smart machine control method for the embodiment of the present invention, comprising:
S100, when detected user connection after, first category smart machine is started;
In embodiments of the present invention, since first category smart machine has necessary function in daily life, therefore work as
When detecting user's connection, illustrate with the presence of personnel in family, then the first category smart machine should be opened, with full
The most basic daily demand of sufficient user.
S200, user identity is confirmed, and transfers going through for setting quantity corresponding with user identity from data cached
History setting record;
Due to member more than one in family, and there may be certain differences for demand of the every member to smart machine
Property, it is therefore desirable to the identity of user is confirmed.In addition, in embodiments of the present invention, each user carries out smart machine
The setting record correspondence crossed is stored in respective buffer zone, after the identity to user confirms, will read the user
The data cached of buffer zone is corresponded to, and the history of setting quantity can be arranged to record be transferred and (such as transfer the user most
Nearly ten setting records).The name of record time, second category smart machine should be included at least in the setting record transferred
Corresponding setup parameter of title and each second category smart machine institute etc..
In a preferred embodiment of the invention, phone number, IP address or the device coding of identification user can specifically be passed through
Etc. forms realize confirmation to user identity.
S300, the setting of second category smart machine is accustomed to according to the history setting registration confirmed user transferred;
Referring to Fig. 2, for the refined flow chart of step S300 in Fig. 1;Step S300 includes:
S310, the service condition according to each second category smart machine in history setting record, confirmation starting object;
In embodiments of the present invention, the type in view of second category smart machine and large number of, user is likely to will not
Whole second category smart machines is carried out using and whole smart machines being started with there is also the wastings of resources simultaneously
The case where, it is therefore desirable to starting object is confirmed.Specifically, in conjunction with the history setting record transferred in step S200,
According to the service condition of each second category smart machine, use of each second category smart machine in history setting record is calculated
Frequency illustrates that user is higher to the use demand of the smart machine when the frequency of use of calculating gone out is greater than the set value, therefore will
Its conduct starting object.
S320, to it is each starting object history setting record in setup parameter be weighted and averaged calculating after, confirmation is opened
Dynamic parameter.
In this step, moreover it is possible to the start-up parameter of starting object is determined, specifically, according to setting record is transferred
In respectively start the parameter setting situation of object, using the parameter after weighted average calculation as start-up parameter.
S400, according to user setting habit second category smart machine start and parameter adjustment;
In embodiments of the present invention, according to determined by step S310 starting object to corresponding second class smart machine into
Row is opened, and carries out parameter adjustment according to start-up parameter determined by step S320.
S500, this setting record is generated according to practical adjustment situation, and setting generated is recorded in data cached
In stored.
It is the refined flow chart of step S500 in Fig. 1 refering to Fig. 3;Step S500 includes:
S510, user is obtained to the parameter adjustment situation of second category smart machine under starting state;
User can carry out parameter adjustment according to actually required effect to second category smart machine, wherein under starting state
Second category smart machine be not limited only to identified starting object in step S310, further include user voluntarily start other
Second category smart machine.
S520, the confirmation instruction for responding user, confirmation record time;
In embodiments of the present invention, user can initiate recording instruction at any time, and instruction is initiated the time as when record
Between.
S530, the title in conjunction with acquired second category smart machine, parameter and record time generate new jointly
Setting record;
The purpose of this step is to generate setting record, should include starting in new setting record generated
Parameter and recording instruction under state after the title of the second smart machine, adjusting initiate the time.
S540, by new setting record be added to it is corresponding with user identity it is data cached in.
Since the corresponding buffer zone of user does not have great memory space usually, when user corresponds to buffer area
When memory space inadequate in domain, the release of memory space should be carried out to the buffer zone.Delay corresponding to user specifically, working as
The setting record for being stored with setting quantity in data cached in region is deposited, and has newly-increased setting record to need to be added
When, according to the record time of each setting record, the setting record earliest to the record time is deleted.
It should be noted that in the preferred embodiment of the invention, when user initiates front and back twice between recording instruction
Interval time be less than setting time interval when, then in buffered data retain user after a recording instruction setting generated
Record, and it is data cached in the setting generated of a recording instruction before user record delete.
Referring to Fig. 4, providing the system architecture diagram of Control System of Intelligent for the embodiment of the present invention.The system includes:
Client 100, control device 200, first category smart machine 300 and second category smart machine 400.Wherein, client
100, first category smart machine 300 and second category smart machine 400 are communicated to connect with control device 200 respectively.At this
In inventive embodiments, the quantity of client 100, first category smart machine 300 and second category smart machine 400 is at least
Two.
Control device 200 is used to intelligently set first category after having detected that user is attached by client 100
Standby 300 are started;User identity is confirmed, and transfers going through for setting quantity corresponding with user identity from data cached
History setting record;The starting of second category smart machine 400 is accustomed to according to the history setting registration confirmed user transferred;It presses
Second category smart machine 400 is started according to the setting habit of user and parameter adjusts;It is generated according to practical adjustment situation
This setting record, and setting generated record is stored.
It should be noted that in a preferred embodiment of the invention, which is intelligent router.
The function of each device included in the Control System of Intelligent is and described in smart machine control method
It is consistent, is understood please refer to the description process in smart machine control method, herein without repeating.
Referring to Fig. 5, providing the schematic block diagram of computer equipment for the embodiment of the present invention.Computer in the present embodiment is set
Standby includes processor 510 and memory 520, and processor 510 is coupled with memory 520, and processor 510 executes instruction at work
To realize the smart machine control method in any of the above-described embodiment.
Wherein, processor 510 can also be known as CPU (Central Processing Unit, central processing unit).Place
Managing device 510 may be a kind of IC chip, the processing capacity with signal.Processor 510 can also be general processor,
Digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other programmable patrol
Collect device, discrete gate or transistor logic, discrete hardware components.General processor can be microprocessor or this at
Reason device is also possible to any conventional processor, but is not limited only to this.
Referring to Fig. 6, being the schematic block diagram of readable storage medium storing program for executing provided in an embodiment of the present invention.It is readable in the present embodiment
Storage medium is stored with computer program 610, which can be executed by processor to realize any of the above-described implementation
Smart machine control method in example.
Optionally, which can be USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The terminal devices such as the medium or computer of sequence code, server, mobile phone, plate.
Smart machine control method, system, computer equipment and readable storage medium storing program for executing provided by the invention, with the prior art
It compares, firstly, first category smart machine necessary to family is started when having detected user's connection, it can
Meet the most basic use demand of family;Secondly, by obtaining history setting record corresponding with user identity, and according to history
Be arranged registration confirmed user to second category smart machine setting habit mode, selected without user, it will be able to
The advanced required second category smart machine in family, which is realized, to be automatically turned on.Again, it is accustomed to by the setting of user to each second category
Smart machine carries out parameter adjustment, makes user that need not carry out repeating setting to it, it will be able to reach the desired effects of user.Entirely
Control process intelligent level is high, improves the experience sense of user.
The above description is merely a specific embodiment, is not intended to limit the scope of the invention, this field
Without departing from the scope and spirit of the invention, there are many variations to implement the present invention by technical staff, for example as a reality
The feature for applying example can be used for another embodiment and obtain another embodiment.It is all made within utilization technical concept of the invention
Any modifications, equivalent replacements, and improvements, should all be within interest field of the invention.