CN108199932A - Control method, server and the computer readable storage medium of home appliance - Google Patents
Control method, server and the computer readable storage medium of home appliance Download PDFInfo
- Publication number
- CN108199932A CN108199932A CN201711456379.7A CN201711456379A CN108199932A CN 108199932 A CN108199932 A CN 108199932A CN 201711456379 A CN201711456379 A CN 201711456379A CN 108199932 A CN108199932 A CN 108199932A
- Authority
- CN
- China
- Prior art keywords
- home appliance
- control
- client
- character code
- sent
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
- H04L12/2814—Exchanging control software or macros for controlling appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/283—Processing of data at an internetworking point of a home automation network
- H04L12/2834—Switching of information between an external network and a home network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention discloses a kind of control method of home appliance, the control method of the home appliance includes:In the corresponding Compliance control configuration information of home appliance for receiving the transmission of the first client, according to the Compliance control configuration information, the corresponding character code of Compliance control permission of the home appliance is generated;The character code is fed back into first client, so that first client is according to the character code, generates corresponding Quick Response Code;When receiving the character code that Quick Response Code described in the second client barcode scanning is sent, according to the character code, to the corresponding home appliance control data of second client feedback, so that second client controls data according to the home appliance, it shows corresponding home appliance control interface, the home appliance is controlled with being based on the home appliance control interface.The invention also discloses a kind of server and computer readable storage mediums.The present invention improves the convenience of home appliance Compliance control.
Description
Technical field
The present invention relates to a kind of intelligent domestic technical field more particularly to control method of home appliance, server and meters
Calculation machine readable storage medium storing program for executing.
Background technology
With the development of science and technology, home appliance, which is shared, is increasingly becoming a kind of trend, it is applied in various scenes.For example,
For home appliance businessman, it can increase user's stream by sharing home appliance, improve the buying rate of home appliance;For
For individual consumer, by the way that home appliance is shared to friends and family, enhance mutual friendly exchange.User is in shared control
During home appliance processed, need to perform and open corresponding home appliance Compliance control APP application programs, log in corresponding account, application
The sequence of operations such as home appliance Compliance control mandate, therefore, the Compliance control of home appliance is convenient not enough.
Invention content
It is a primary object of the present invention to propose a kind of control method of home appliance, server and computer-readable storage
Medium, it is intended to solve home appliance in the prior art Compliance control it is not convenient enough the technical issues of.
To achieve the above object, the present invention provides a kind of control method of home appliance, the controlling party of the home appliance
Method includes the following steps:
In the corresponding Compliance control configuration information of home appliance for receiving the transmission of the first client, according to described shared
Configuration information is controlled, generates the corresponding character code of Compliance control permission of the home appliance;
The character code is fed back into first client, it is raw so that first client is according to the character code
Into corresponding Quick Response Code;
When receiving the character code that Quick Response Code described in the second client barcode scanning is sent, according to the character code, to
The corresponding home appliance control data of second client feedback, so that second client is according to the home appliance control
Data processed show corresponding home appliance control interface, be based on the home appliance control interface to the home appliance into
Row control.
Preferably, the described the step of character code is fed back to first client, includes:
The character code is encrypted, and the encrypted character code is fed back into first client;
It is described when receiving the character code that Quick Response Code described in the second client barcode scanning is sent, according to the character
The step of code, home appliance control data corresponding to second client feedback, includes:
When receiving the character code that second client is sent, the character code is decrypted;
According to the character code after decryption, data are controlled to home appliance described in second client feedback.
Preferably, it is described when receiving the character code that Quick Response Code described in the second client barcode scanning is sent, according to institute
The step of stating character code, data are controlled to the corresponding home appliance of second client feedback includes:
When receiving the character code that Quick Response Code described in the second client barcode scanning is sent, the character is parsed
Code obtains the corresponding Compliance control configuration information;
According to the Compliance control configuration information, data are controlled to the corresponding home appliance of second client feedback.
Preferably, it is described when receiving the character code that Quick Response Code described in the second client barcode scanning is sent, according to institute
After the step of stating character code, data are controlled to the corresponding home appliance of second client feedback, further include:
When receiving the control instruction that second client is sent based on the home appliance control interface, by described in
Control instruction is sent to respective electric home, so that the home appliance is according to the control instruction, performs corresponding operation.
Preferably, it is described to be referred to based on the control that the home appliance control interface is sent receiving second client
When enabling, the step of control instruction is sent to respective electric home, includes:
When receiving the control instruction that second client is sent based on the home appliance control interface, root
The equipment identities identification information included according to the control instruction, determines corresponding home appliance;
The control instruction is sent to the determining home appliance.
Preferably, it is described to be referred to based on the control that the home appliance control interface is sent receiving second client
When enabling, the step of control instruction is sent to respective electric home, includes:
When receiving the control instruction that second client is sent based on the home appliance control interface, sentence
Whether the Compliance control permission of the disconnected home appliance fails;
If the Compliance control permission of the home appliance does not fail, the control instruction is sent to the home appliance.
Preferably, it is described in the control for receiving second client and being sent based on the home appliance control interface
During system instruction, after judging the step of whether the Compliance control permission of the home appliance fails, further include:
If corresponding Compliance control permission failure prompt message is fed back in the Compliance control permission failure of the home appliance
To second client.
Preferably, the step of whether the Compliance control permission for judging the home appliance fails includes:
Obtain the Compliance control permission duration included in the Compliance control configuration information;
Judge whether the current control duration of the home appliance reaches the Compliance control permission duration;
If so, judge the Compliance control permission failure of the home appliance;
If it is not, then judge that the Compliance control permission of the home appliance does not fail.
In addition, to achieve the above object, the present invention also proposes a kind of server, and the server includes:Memory, processing
The home appliance control program that device and being stored in can be run on the memory and on the processor, the home appliance control
The step of control method of home appliance as described above is realized when processing procedure sequence is performed by the processor.
In addition, to achieve the above object, the present invention also proposes a kind of computer readable storage medium, described computer-readable
Home appliance control program is stored on storage medium, the home appliance control program is realized when being executed by processor as above
The step of control method of the home appliance.
Scheme proposed by the present invention matches confidence in the corresponding Compliance control of home appliance for receiving the transmission of the first client
During breath, according to the Compliance control configuration information, the corresponding character code of Compliance control permission of home appliance is generated, and by character code
The first client is fed back to, the first client generates corresponding Quick Response Code according to the character code;Later, the second client is being received
During the character code that the barcode scanning Quick Response Code is held to send, number is controlled to the corresponding home appliance of the second client feedback according to the character code
According to the second client controls data to show corresponding home appliance control interface according to the home appliance, is set with being based on the household electrical appliances
Standby control interface controls home appliance.Namely user only need to respective two-dimensional code carry out barcode scanning can Compliance control household electrical appliances
Equipment, and no longer need to perform corresponding account and log in, apply for the sequence of operations such as home appliance Compliance control mandate, therefore, carry
The high convenience of home appliance Compliance control.
Description of the drawings
Fig. 1 is the structure diagram of the hardware running environment of server that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the control method first embodiment of present inventor's electric equipment;
Fig. 3 is the flow diagram of the control method 3rd embodiment of present inventor's electric equipment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The solution of the embodiment of the present invention is mainly:It is corresponding common in the home appliance for receiving the transmission of the first client
When enjoying control configuration information, according to the Compliance control configuration information, the corresponding character of Compliance control permission of home appliance is generated
Code, and character code is fed back into the first client, the first client generates corresponding Quick Response Code according to the character code;Later, exist
It is corresponding to the second client feedback according to the character code when receiving the character code of the second client barcode scanning Quick Response Code transmission
Home appliance controls data, and the second client controls data to show corresponding home appliance control interface according to the home appliance,
Home appliance is controlled with being based on the home appliance control interface.Namely user need to be only to respective two-dimensional code progress barcode scanning
Can Compliance control home appliance, and no longer need to perform corresponding account and log in, apply for a systems such as home appliance Compliance control mandate
Row operation, this improves the convenience of home appliance Compliance control.Technical solution through the embodiment of the present invention, solves
Home appliance controls the problem of not smart enoughization.
With reference to Fig. 1, Fig. 1 is the structure diagram of the hardware running environment of server that the embodiment of the present invention is related to.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
As shown in Figure 1, the server can include:Processor 1001, communication bus 1002, user interface 1003, network
Interface 1004, memory 1005.Wherein, communication bus 1002 is used to implement the connection communication between these components.User interface
1003 can include display screen (Display), input unit such as keyboard (Keyboard), and optional user interface 1003 can be with
Including standard wireline interface and wireless interface.Network interface 1004 can optionally include standard wireline interface and wireless interface
(such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or the memory (non-volatile of stabilization
), such as magnetic disk storage memory.Memory 1005 optionally can also be the storage dress independently of aforementioned processor 1001
It puts.
It will be understood by those skilled in the art that the server architecture shown in Fig. 1 does not form the restriction to server, it can
To include either combining certain components or different components arrangement than illustrating more or fewer components.
As shown in Figure 1, it can lead to as in a kind of memory 1005 of computer storage media including operating system, network
Believe module, Subscriber Interface Module SIM and home appliance control program.
In the present invention, server calls the home appliance stored in memory 1005 to control program by processor 1001,
And perform following operate:
In the corresponding Compliance control configuration information of home appliance for receiving the transmission of the first client, according to described shared
Configuration information is controlled, generates the corresponding character code of Compliance control permission of the home appliance;
The character code is fed back into first client, it is raw so that first client is according to the character code
Into corresponding Quick Response Code;
When receiving the character code that Quick Response Code described in the second client barcode scanning is sent, according to the character code, to
The corresponding home appliance control data of second client feedback, so that second client is according to the home appliance control
Data processed show corresponding home appliance control interface, be based on the home appliance control interface to the home appliance into
Row control.
Further, processor 1001 can call the home appliance stored in memory 1005 to control program, also perform
It operates below:
The character code is encrypted, and the encrypted character code is fed back into first client;
When receiving the character code that second client is sent, the character code is decrypted;
According to the character code after decryption, data are controlled to home appliance described in second client feedback.
Further, processor 1001 can call the home appliance stored in memory 1005 to control program, also perform
It operates below:
When receiving the character code that Quick Response Code described in the second client barcode scanning is sent, the character is parsed
Code obtains the corresponding Compliance control configuration information;
According to the Compliance control configuration information, data are controlled to the corresponding home appliance of second client feedback.
Further, processor 1001 can call the home appliance stored in memory 1005 to control program, also perform
It operates below:
When receiving the control instruction that second client is sent based on the home appliance control interface, by described in
Control instruction is sent to respective electric home, so that the home appliance is according to the control instruction, performs corresponding operation.
Further, processor 1001 can call the home appliance stored in memory 1005 to control program, also perform
It operates below:
When receiving the control instruction that second client is sent based on the home appliance control interface, by described in
Control instruction is sent to respective electric home, so that the home appliance is according to the control instruction, performs corresponding operation.
Further, processor 1001 can call the home appliance stored in memory 1005 to control program, also perform
It operates below:
When receiving the control instruction that second client is sent based on the home appliance control interface, sentence
Whether the Compliance control permission of the disconnected home appliance fails;
If the Compliance control permission of the home appliance does not fail, the control instruction is sent to the home appliance.
Further, processor 1001 can call the home appliance stored in memory 1005 to control program, also perform
It operates below:
If corresponding Compliance control permission failure prompt message is fed back in the Compliance control permission failure of the home appliance
To second client.
Further, processor 1001 can call the home appliance stored in memory 1005 to control program, also perform
It operates below:
Obtain the Compliance control permission duration included in the Compliance control configuration information;
Judge whether the current control duration of the home appliance reaches the Compliance control permission duration;
If so, judge the Compliance control permission failure of the home appliance;
If it is not, then judge that the Compliance control permission of the home appliance does not fail.
The present embodiment through the above scheme, is matched in the corresponding Compliance control of home appliance for receiving the transmission of the first client
When confidence ceases, according to the Compliance control configuration information, the corresponding character code of Compliance control permission of home appliance is generated, and by word
Symbol feeds back to the first client, and the first client generates corresponding Quick Response Code according to the character code;Later, second is being received
During the character code that the client barcode scanning Quick Response Code is sent, according to the character code to the corresponding home appliance control of the second client feedback
Data processed, the second client controls data to show corresponding home appliance control interface according to the home appliance, to be based on the family
Electric equipment control interface controls home appliance.Namely user only need to respective two-dimensional code carry out barcode scanning can Compliance control
Home appliance, and no longer need to perform corresponding account and log in, apply for the sequence of operations such as home appliance Compliance control mandate, because
This, improves the convenience of home appliance Compliance control.
Based on above-mentioned hardware configuration, the control method embodiment of present inventor's electric equipment is proposed.
With reference to Fig. 2, Fig. 2 is the flow diagram of the control method first embodiment of present inventor's electric equipment.
In the first embodiment, the control method of the home appliance includes the following steps:
Step S10, in the corresponding Compliance control configuration information of home appliance for receiving the transmission of the first client, according to
The Compliance control configuration information generates the corresponding character code of Compliance control permission of the home appliance;
The character code is fed back to first client by step S20, so that first client is according to the word
Symbol generates corresponding Quick Response Code;
Step S30, when receiving the character code that Quick Response Code described in the second client barcode scanning is sent, according to the word
Symbol controls data, so that second client is according to the family to the corresponding home appliance of second client feedback
Electric equipment controls data, corresponding home appliance control interface is shown, to be based on the home appliance control interface to the family
Electric equipment is controlled.
With the development of science and technology, scene panel technology has been widely used in intelligent domestic field, it is at present, mainly on the scene
The basic scene demand needed for user is marked out on scape panel, such as goes home, leave home, receiving a visitor, scene of sleeping, when user selects it
In after any one scene, the corresponding home appliance of the scene is controlled automatically.For example, when user selects scene of going home
When, parlor lamp is opened, air-conditioning is opened, electric heater is opened etc. is automatically controlled, so as to provide various respective services to the user.But
It is, since the demand of different user will be different, as demand of the age different user to environment temperature is different namely to sky
The demand for adjusting the object run temperature of device is different, and user still needs the demand according to oneself, home appliance is carried out manually a
Propertyization controls.Therefore, the Compliance control of home appliance is convenient not enough.
In order to improve the convenience of home appliance Compliance control, the present invention proposes a kind of control method of home appliance,
Applied to server end, such as Cloud Server.In the present embodiment, client, common use are corresponded to by server, home appliance administrator
Family corresponds to client and home appliance forms corresponding home appliance shared control system.For ease of description, hereafter by household electrical appliances
Equipment manager corresponds to client and is known as the first client, and ordinary user is corresponded to client is known as the second client.Work as household electrical appliances
When equipment manager will carry out home appliance shared setting, home appliance administrator passes through the corresponding family of the first client executing
Electric equipment shares setting operation, and the corresponding Compliance control of Compliance control permission that corresponding home appliance is sent to server is configured
Information.Wherein, device name of the Compliance control configuration information including home appliance, equipment identities identification information, Compliance control
Permission duration etc..Wherein, equipment identities identification information includes but not limited to device product sequence number, device id code etc., each
A home appliance corresponds to unique equipment identities identification information.
For example, pre-establishing corresponding home appliance management system, home appliance administrator is in advance in the management system
It is registered, registers corresponding management account, and the home appliance of corresponding Compliance control permission is set in management account relating
The home appliances information such as device name, equipment identities identification information.When home appliance administrator will be total to home appliance
When enjoying setting, home appliance administrator logs in management system by the first client, inputs corresponding household electrical appliances in a management system
The Compliance control configuration information of equipment, and it is uploaded to server.
For another example, corresponding home appliance management APP application programs are pre-established, home appliance administrator passes through the first client
End loads the APP and carries out APP registrations, registers corresponding APP accounts, and set corresponding Compliance control in management account relating
The home appliance information of permission.When home appliance administrator will carry out home appliance shared setting, home appliance administrator
APP accounts are logged in by the first client, the Compliance control configuration information of corresponding home appliance are inputted in APP, and pass through
Compliance control configuration information is uploaded to server by APP.
When server receives the Compliance control configuration information of the first client transmission, confidence is matched according to the Compliance control
Breath, generates the corresponding character code of Compliance control permission of home appliance, later, which is fed back to the first client by server
End.Wherein, which can be identified by the first client.
When the first client receives the character code of server feedback, according to the character code, corresponding Quick Response Code is generated,
And show the Quick Response Code of generation.
Later, when there is user to want Compliance control home appliance, user need to only pass through second the first visitor of client barcode scanning
The Quick Response Code that family end is generated, the second client obtain the corresponding character code of the Quick Response Code, and will obtain by the barcode scanning Quick Response Code
The character code obtained is sent to server.
When server receives the character code of the second client transmission, according to the character code, to the second client feedback
Corresponding home appliance control data.Optionally, the step S30 includes:
Step a, when receiving the character code that Quick Response Code described in the second client barcode scanning is sent, described in parsing
Character code obtains the corresponding Compliance control configuration information;
Step b according to the Compliance control configuration information, is controlled to the corresponding home appliance of second client feedback
Data.
When server receives the character code of the second client transmission, which is parsed, is obtained corresponding
The Compliance control configuration information namely the corresponding equipment identities identification information of acquisition home appliance of home appliance, Compliance control power
The information such as limit.Later, server is corresponding to the second client feedback according to the Compliance control configuration information of home appliance
Home appliance controls data.Wherein, the Compliance control configuration information of home appliance is included in home appliance control data.
When the home appliance that the second client receives server feedback controls data, number is controlled according to the home appliance
According to showing corresponding home appliance control interface.Wherein, corresponding be used for household electrical appliances is shown in the home appliance control interface
The control that equipment is controlled.User can perform corresponding control behaviour based on the control in home appliance control interface as needed
Make, home appliance is controlled.
Scheme provided in this embodiment, server is in the corresponding shared control of home appliance for receiving the transmission of the first client
During configuration information processed, according to the Compliance control configuration information, the corresponding character code of Compliance control permission of home appliance is generated, and
Character code is fed back into the first client, the first client generates corresponding Quick Response Code according to the character code;Later, server exists
It is corresponding to the second client feedback according to the character code when receiving the character code of the second client barcode scanning Quick Response Code transmission
Home appliance controls data, and the second client controls data to show corresponding home appliance control interface according to the home appliance,
Home appliance is controlled with being based on the home appliance control interface.Namely user need to be only to respective two-dimensional code progress barcode scanning
Can Compliance control home appliance, and no longer need to perform corresponding account and log in, apply for a systems such as home appliance Compliance control mandate
Row operation, this improves the convenience of home appliance Compliance control.
Further, the control method second embodiment of present inventor's electric equipment is proposed based on first embodiment, in this reality
It applies in example, the step S20 includes:
The character code is encrypted in step c, and the encrypted character code is fed back to first visitor
Family end;
The step S30 includes:
When receiving the character code that second client is sent, place is decrypted to the character code in step d
Reason;
According to the character code after decryption, number is controlled to home appliance described in second client feedback by step e
According to.
In the present embodiment, in order to improve the safety of home appliance Compliance control, when server is configured according to Compliance control
After the corresponding character code of Compliance control permission of information generation home appliance, first the character code is encrypted.In word
Symbol encryption is completed and then encrypted character code is fed back to the first client, and character code also is encrypted transmission.
When the first client receives encrypted character code, corresponding Quick Response Code is generated according to encrypted character code, and
Show the Quick Response Code.
Later, when second client barcode scanning Quick Response Code, corresponding encrypted character code is obtained, the second client will add
Close character code is sent to server.When server receives the encrypted character code, encrypted character code is decrypted
Processing, the character code after being decrypted.Then server is according to the character code after decryption, to the corresponding family of the second client feedback
Electric equipment controls data, and detailed process can refer to described in first embodiment, and details are not described herein.Second client is according to the family
Electric equipment control data show corresponding home appliance control interface, be based on the home appliance control interface to home appliance into
Row control.
Scheme provided in this embodiment, when server is according to the Compliance control of Compliance control configuration information generation home appliance
After the corresponding character code of permission, first the character code is encrypted, then encrypted character code is fed back into the first visitor
Family end, the first client generate corresponding Quick Response Code according to encrypted character code, when second client barcode scanning Quick Response Code, obtain
Corresponding encrypted character code is obtained, and sends it to server, encrypted character code is decrypted in server, and root
According to the character code after decryption, data are controlled to the corresponding home appliance of the second client feedback, the second client is according to the household electrical appliances
Device control data shows corresponding home appliance control interface, and home appliance is carried out with being based on the home appliance control interface
Control.By character code being encrypted transmission, so as to improve the safety of home appliance Compliance control.
Further, as shown in figure 3, proposing the control of present inventor's electric equipment based on the first embodiment or the second embodiment
Method 3rd embodiment in the present embodiment, after the step S30, further includes:
Step S40, in the control instruction for receiving second client and being sent based on the home appliance control interface
When, the control instruction is sent to respective electric home, so that the home appliance is according to the control instruction, is performed corresponding
Operation.
When user needs accordingly to control home appliance, home appliance control that user is shown based on the second client
Interface processed performs corresponding control operation, triggers corresponding control instruction, the control instruction is sent to clothes by the second client
Business device.When server receives the control instruction, which is sent to corresponding home appliance.Home appliance is connecing
When receiving the control instruction of server transmission, according to the control instruction, corresponding operation is performed.
Specifically, the step S40 includes:
Step f is referred to receiving second client based on the control that the home appliance control interface is sent
When enabling, the equipment identities identification information that is included according to the control instruction determines corresponding home appliance;
The control instruction is sent to the determining home appliance by step g.
When server receives the control instruction of the second client transmission, set according to the household electrical appliances included in the control instruction
Standby corresponding equipment identities identification information, such as device id code, determine the corresponding home appliance of the control instruction.Then, by this
Control instruction is sent to identified home appliance.When home appliance receives the control instruction, held according to the control instruction
The corresponding operation of row.
Further, the step S40 includes:
Step h is referred to receiving second client based on the control that the home appliance control interface is sent
When enabling, judge whether the Compliance control permission of the home appliance fails;
Step i if the Compliance control permission of the home appliance does not fail, sends the control instruction to the household electrical appliances
Equipment.
In order to further improve the safety of home appliance Compliance control, when server receives the transmission of the second client
During control instruction, the control instruction is not sent to respective electric home immediately, to control respective electric home, and
It is first to judge whether the Compliance control permission of the home appliance fails.If the Compliance control permission of the home appliance has not expired,
The control instruction is then sent to home appliance.If the Compliance control permission of the home appliance has failed, the control is not sent and is referred to
It enables to home appliance.In this way, when home appliance Compliance control permission failure after, user can not just be further continued for home appliance into
Row controls, so as to further improve the safety of home appliance Compliance control.
Further, it after the step h, further includes:
Step j if the Compliance control permission failure of the home appliance, feeds back corresponding Compliance control permission failure and carries
Show information to second client.
Further, in order to improve user experience, when server judges that the Compliance control permission of home appliance has failed,
The corresponding Compliance control permission of server feedback fails prompt message to the second client.When the second client receives server
During the Compliance control permission failure prompt message of feedback, the second client shows Compliance control permission failure prompt message.With
When family views Compliance control permission failure prompt message by the second client, you can know the shared of home appliance in time
Control authority without, it is impossible to be further continued for home appliance carry out Compliance control.
Optionally, the step h includes:
Step h1 obtains the Compliance control permission duration included in the Compliance control configuration information;
Step h2, judges whether the current control duration of the home appliance reaches the Compliance control permission duration;If
It is then to perform step h3;If it is not, then perform step h4;
Step h3 judges the Compliance control permission failure of the home appliance;
Step h4 judges that the Compliance control permission of the home appliance does not fail.
In order to avoid user can unlimited Compliance control home appliance, home appliance administrator can be to home appliances always
Compliance control permission duration be configured, for example, setting Compliance control permission when a length of 10 minutes.When server receives
During the control instruction that two clients are sent, first judge whether the Compliance control permission of home appliance fails, optionally, server obtains
The Compliance control permission duration included in the Compliance control configuration information of home appliance is taken, then judges the current control of home appliance
Whether duration processed reaches Compliance control permission duration namely judges whether user currently reaches the control of home appliance operation duration
To Compliance control permission duration.If the current control duration of home appliance reaches Compliance control permission duration namely illustrates user
Permitted Compliance control permission duration, the Compliance control power of home appliance are had reached to the control operation duration of home appliance
Limit failure, user cannot be further continued for carrying out Compliance control to home appliance.If the current control duration of home appliance does not reach also
To Compliance control permission duration namely illustrate that user reaches permitted shared not yet to the control operation duration of home appliance
Control authority duration, the Compliance control permission of home appliance is still effective, is set at this point, control instruction is sent to household electrical appliances by server
It is standby, to control home appliance, continue to carry out Compliance control to home appliance so as to fulfill user.
Scheme provided in this embodiment, when server receives what the second client was sent based on home appliance control interface
During control instruction, first judge whether the Compliance control permission of home appliance fails, if the Compliance control permission of home appliance is not lost
Effect just sends control instruction to home appliance, to control home appliance;If the conversely, Compliance control power of home appliance
Limit has failed, then does not send control instruction to home appliance namely can not be further continued for carrying out Compliance control to home appliance, so as to
The unconfined Compliance control home appliance of user is avoided, therefore, further improves the safety of home appliance Compliance control.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
On be stored with home appliance control program, home appliance control program realizes following operation when being executed by processor:
In the corresponding Compliance control configuration information of home appliance for receiving the transmission of the first client, according to described shared
Configuration information is controlled, generates the corresponding character code of Compliance control permission of the home appliance;
The character code is fed back into first client, it is raw so that first client is according to the character code
Into corresponding Quick Response Code;
When receiving the character code that Quick Response Code described in the second client barcode scanning is sent, according to the character code, to
The corresponding home appliance control data of second client feedback, so that second client is according to the home appliance control
Data processed show corresponding home appliance control interface, be based on the home appliance control interface to the home appliance into
Row control.
Further, following operation is also realized when the home appliance control program is executed by processor:
The character code is encrypted, and the encrypted character code is fed back into first client;
When receiving the character code that second client is sent, the character code is decrypted;
According to the character code after decryption, data are controlled to home appliance described in second client feedback.
Further, following operation is also realized when the home appliance control program is executed by processor:
When receiving the character code that Quick Response Code described in the second client barcode scanning is sent, the character is parsed
Code obtains the corresponding Compliance control configuration information;
According to the Compliance control configuration information, data are controlled to the corresponding home appliance of second client feedback.
Further, following operation is also realized when the home appliance control program is executed by processor:
When receiving the control instruction that second client is sent based on the home appliance control interface, by described in
Control instruction is sent to respective electric home, so that the home appliance is according to the control instruction, performs corresponding operation.
Further, following operation is also realized when the home appliance control program is executed by processor:
When receiving the control instruction that second client is sent based on the home appliance control interface, root
The equipment identities identification information included according to the control instruction, determines corresponding home appliance;
The control instruction is sent to the determining home appliance.
Further, following operation is also realized when the home appliance control program is executed by processor:
When receiving the control instruction that second client is sent based on the home appliance control interface, sentence
Whether the Compliance control permission of the disconnected home appliance fails;
If the Compliance control permission of the home appliance does not fail, the control instruction is sent to the home appliance.
Further, following operation is also realized when the home appliance control program is executed by processor:
If corresponding Compliance control permission failure prompt message is fed back in the Compliance control permission failure of the home appliance
To second client.
Further, following operation is also realized when the home appliance control program is executed by processor:
Obtain the Compliance control permission duration included in the Compliance control configuration information;
Judge whether the current control duration of the home appliance reaches the Compliance control permission duration;
If so, judge the Compliance control permission failure of the home appliance;
If it is not, then judge that the Compliance control permission of the home appliance does not fail.
Scheme provided in this embodiment, in the corresponding Compliance control configuration of home appliance for receiving the transmission of the first client
During information, according to the Compliance control configuration information, the corresponding character code of Compliance control permission of home appliance is generated, and by character
Code feeds back to the first client, and the first client generates corresponding Quick Response Code according to the character code;Later, the second visitor is being received
During the character code that the barcode scanning Quick Response Code in family end is sent, controlled according to the character code to the corresponding home appliance of the second client feedback
Data, the second client controls data to show corresponding home appliance control interface according to the home appliance, to be based on the household electrical appliances
Appliance control interface controls home appliance.Namely user only need to respective two-dimensional code carry out barcode scanning can Compliance control man
Electric equipment, and no longer need to perform corresponding account and log in, apply for the sequence of operations such as home appliance Compliance control mandate, therefore,
Improve the convenience of home appliance Compliance control.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or system institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server or network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of control method of home appliance, which is characterized in that the control method of the home appliance includes the following steps:
In the corresponding Compliance control configuration information of home appliance for receiving the transmission of the first client, according to the Compliance control
Configuration information generates the corresponding character code of Compliance control permission of the home appliance;
The character code is fed back into first client, so that first client is according to the character code, generates phase
The Quick Response Code answered;
When receiving the character code that Quick Response Code described in the second client barcode scanning is sent, according to the character code, to described
The corresponding home appliance control data of second client feedback, so that second client controls number according to the home appliance
According to showing corresponding home appliance control interface, the home appliance controlled with being based on the home appliance control interface
System.
2. the control method of home appliance as described in claim 1, which is characterized in that described that the character code is fed back into institute
The step of stating the first client includes:
The character code is encrypted, and the encrypted character code is fed back into first client;
It is described when receiving the character code that Quick Response Code described in the second client barcode scanning is sent, according to the character code, to
The step of corresponding home appliance of second client feedback controls data includes:
When receiving the character code that second client is sent, the character code is decrypted;
According to the character code after decryption, data are controlled to home appliance described in second client feedback.
3. the control method of home appliance as described in claim 1, which is characterized in that described to sweep receiving the second client
During the character code that the code Quick Response Code is sent, according to the character code, to the corresponding household electrical appliances of the second client feedback
The step of device control data, includes:
When receiving the character code that Quick Response Code described in the second client barcode scanning is sent, the character code is parsed, is obtained
Obtain the corresponding Compliance control configuration information;
According to the Compliance control configuration information, data are controlled to the corresponding home appliance of second client feedback.
4. such as the control method of claim 1-3 any one of them home appliances, which is characterized in that described to receive second
During the character code that Quick Response Code described in client barcode scanning is sent, according to the character code, to the second client feedback phase
After the step of home appliance control data answered, further include:
When receiving the control instruction that second client is sent based on the home appliance control interface, by the control
Instruction is sent to respective electric home, so that the home appliance is according to the control instruction, performs corresponding operation.
5. the control method of home appliance as claimed in claim 4, which is characterized in that described to receive second client
The control instruction is sent to respective electric home by end group when the control instruction that the home appliance control interface is sent
Step includes:
When receiving the control instruction that second client is sent based on the home appliance control interface, according to institute
The equipment identities identification information that control instruction includes is stated, determines corresponding home appliance;
The control instruction is sent to the determining home appliance.
6. the control method of home appliance as claimed in claim 4, which is characterized in that described to receive second client
The control instruction is sent to respective electric home by end group when the control instruction that the home appliance control interface is sent
Step includes:
When receiving the control instruction that second client is sent based on the home appliance control interface, institute is judged
Whether the Compliance control permission for stating home appliance fails;
If the Compliance control permission of the home appliance does not fail, the control instruction is sent to the home appliance.
7. the control method of home appliance as claimed in claim 6, which is characterized in that described to receive second client
End group judges the Compliance control permission of the home appliance when control instruction that the home appliance control interface is sent
After the step of whether failing, further include:
If the Compliance control permission failure of the home appliance, corresponding Compliance control permission failure prompt message is fed back to institute
State the second client.
8. the control method of home appliance as claimed in claim 6, which is characterized in that described to judge being total to for the home appliance
Enjoy that the step of whether control authority fails includes:
Obtain the Compliance control permission duration included in the Compliance control configuration information;
Judge whether the current control duration of the home appliance reaches the Compliance control permission duration;
If so, judge the Compliance control permission failure of the home appliance;
If it is not, then judge that the Compliance control permission of the home appliance does not fail.
9. a kind of server, which is characterized in that the server includes:It memory, processor and is stored on the memory
And the home appliance control program that can be run on the processor, the home appliance control program are performed by the processor
The step of control method of home appliances of the Shi Shixian as described in any one of claim 1-8.
10. a kind of computer readable storage medium, which is characterized in that be stored with household electrical appliances on the computer readable storage medium and set
Standby control program, the home appliance control program are realized when being executed by processor as described in any one of claim 1-8
The step of control method of home appliance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711456379.7A CN108199932A (en) | 2017-12-26 | 2017-12-26 | Control method, server and the computer readable storage medium of home appliance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711456379.7A CN108199932A (en) | 2017-12-26 | 2017-12-26 | Control method, server and the computer readable storage medium of home appliance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108199932A true CN108199932A (en) | 2018-06-22 |
Family
ID=62585092
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711456379.7A Pending CN108199932A (en) | 2017-12-26 | 2017-12-26 | Control method, server and the computer readable storage medium of home appliance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108199932A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450753A (en) * | 2018-12-04 | 2019-03-08 | 奥克斯空调股份有限公司 | A kind of intelligent appliance equipment sharing method |
CN109672941A (en) * | 2018-12-29 | 2019-04-23 | 深圳Tcl新技术有限公司 | Data inputting method, television set and computer readable storage medium |
CN111596565A (en) * | 2020-05-29 | 2020-08-28 | 龚蕾 | Electrical appliance energy consumption control system based on smart home |
CN112017376A (en) * | 2020-08-26 | 2020-12-01 | 厦门金龙旅行车有限公司 | Storage system of passenger car luggage compartment |
CN112583866A (en) * | 2019-09-27 | 2021-03-30 | 百度在线网络技术(北京)有限公司 | Sharing method and device of intelligent household electrical appliance, electronic equipment and medium |
WO2022089611A1 (en) * | 2020-11-02 | 2022-05-05 | 重庆海尔空调器有限公司 | Control method and control apparatus for shared household appliance device |
WO2024045859A1 (en) * | 2022-08-30 | 2024-03-07 | 广东美的制冷设备有限公司 | Shared-device control method, device, client, server, and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104913468A (en) * | 2015-05-29 | 2015-09-16 | 广东美的制冷设备有限公司 | Air conditioner, air conditioner system and intelligent terminal |
CN105490896A (en) * | 2015-12-09 | 2016-04-13 | 美的集团股份有限公司 | Method, device and system for managing household appliances |
US20160241564A1 (en) * | 2015-02-17 | 2016-08-18 | Microsoft Technology Licensing, Llc | Device with embedded network subscription and methods |
CN106357653A (en) * | 2016-09-27 | 2017-01-25 | 深圳市欧瑞博电子有限公司 | Control authority sharing method and system |
CN106789474A (en) * | 2016-12-27 | 2017-05-31 | Tcl集团股份有限公司 | The sharing method and device of a kind of equipment control authority |
CN107154883A (en) * | 2016-03-03 | 2017-09-12 | 美的集团股份有限公司 | Management method, the device and system of home appliance |
-
2017
- 2017-12-26 CN CN201711456379.7A patent/CN108199932A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160241564A1 (en) * | 2015-02-17 | 2016-08-18 | Microsoft Technology Licensing, Llc | Device with embedded network subscription and methods |
CN104913468A (en) * | 2015-05-29 | 2015-09-16 | 广东美的制冷设备有限公司 | Air conditioner, air conditioner system and intelligent terminal |
CN105490896A (en) * | 2015-12-09 | 2016-04-13 | 美的集团股份有限公司 | Method, device and system for managing household appliances |
CN107154883A (en) * | 2016-03-03 | 2017-09-12 | 美的集团股份有限公司 | Management method, the device and system of home appliance |
CN106357653A (en) * | 2016-09-27 | 2017-01-25 | 深圳市欧瑞博电子有限公司 | Control authority sharing method and system |
CN106789474A (en) * | 2016-12-27 | 2017-05-31 | Tcl集团股份有限公司 | The sharing method and device of a kind of equipment control authority |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450753A (en) * | 2018-12-04 | 2019-03-08 | 奥克斯空调股份有限公司 | A kind of intelligent appliance equipment sharing method |
CN109450753B (en) * | 2018-12-04 | 2021-11-23 | 奥克斯空调股份有限公司 | Intelligent household appliance sharing method |
CN109672941A (en) * | 2018-12-29 | 2019-04-23 | 深圳Tcl新技术有限公司 | Data inputting method, television set and computer readable storage medium |
CN109672941B (en) * | 2018-12-29 | 2022-03-11 | 深圳Tcl新技术有限公司 | Information input method, television and computer readable storage medium |
CN112583866A (en) * | 2019-09-27 | 2021-03-30 | 百度在线网络技术(北京)有限公司 | Sharing method and device of intelligent household electrical appliance, electronic equipment and medium |
CN111596565A (en) * | 2020-05-29 | 2020-08-28 | 龚蕾 | Electrical appliance energy consumption control system based on smart home |
CN112017376A (en) * | 2020-08-26 | 2020-12-01 | 厦门金龙旅行车有限公司 | Storage system of passenger car luggage compartment |
WO2022089611A1 (en) * | 2020-11-02 | 2022-05-05 | 重庆海尔空调器有限公司 | Control method and control apparatus for shared household appliance device |
WO2024045859A1 (en) * | 2022-08-30 | 2024-03-07 | 广东美的制冷设备有限公司 | Shared-device control method, device, client, server, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108199932A (en) | Control method, server and the computer readable storage medium of home appliance | |
US9942227B2 (en) | Apparatus and method for secure over the air programming of a communication device | |
CN104753943B (en) | The log-in control method of third party's account and device | |
CN107911437B (en) | Screen sharing method and device, electronic equipment and storage medium | |
CN108513154A (en) | Intelligent home furnishing control method, smart television based on smart television and storage medium | |
US20150180870A1 (en) | Authorization Authentication Method And Apparatus | |
KR100982761B1 (en) | Dynamic content delivery method, personalized dynamic content enabler and dynamic content delivery system | |
US10187215B2 (en) | Combined authentication and encryption | |
CN103124267B (en) | The method, system and the cloud server that log in/register is carried out by mobile terminal | |
CN107592367A (en) | Resource share method, device and the computer-readable recording medium of home appliance | |
CN104852990A (en) | Information processing method and intelligent household control system | |
CN103001974A (en) | Method, system and device used for controlling login and based on two-dimensional code | |
CN105306320B (en) | A kind of method and device for binding client for smart machine | |
CN106850390B (en) | A kind of information sharing method, server and terminal device | |
CN101442747A (en) | Method and system for automatically judging user identification by terminal | |
GB2436412A (en) | Authentication of network usage for use with message modifying apparatus | |
CN104349208A (en) | Message processing method, message processing device, gateway, set-top box and network television system | |
CN110430280A (en) | Account automatic logging method and system, storage medium and cloud desktop server | |
CN105101147A (en) | Method and system for realizing directional flow of mobile app | |
CN103166998A (en) | User information relating method, system and server | |
CN104635543A (en) | Method and device for carrying out management operation | |
CN109932921A (en) | The control method and system of a kind of intelligent appliance and the first client | |
CN105404800B (en) | Account information authorization method, terminal and server | |
CN110582998A (en) | Group communication method and device, computer storage medium and computer equipment | |
CN107749799A (en) | Distribution method, apparatus, system and the computer-readable recording medium of home appliance |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180622 |