CN109831362A - A kind of electronic equipment control method and system - Google Patents
A kind of electronic equipment control method and system Download PDFInfo
- Publication number
- CN109831362A CN109831362A CN201910252011.1A CN201910252011A CN109831362A CN 109831362 A CN109831362 A CN 109831362A CN 201910252011 A CN201910252011 A CN 201910252011A CN 109831362 A CN109831362 A CN 109831362A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- target
- electronic device
- scene
- control instruction
- 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
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a kind of electronic equipment control method and systems, wherein, control method of electronic device includes: that gateway receives the first control instruction corresponding with target electronic device in the electronic equipment group that the first electronic equipment in electronic equipment group is generated and sent by Cloud Server;The gateway is handled first control instruction according to communication protocol corresponding with the target electronic device, obtains the second control instruction;Second control instruction is sent to the target electronic device by the gateway, so that the target electronic device executes response operation corresponding with second control instruction.The embodiment of the present invention, which realizes, quickly and easily controls target electronic device.
Description
Technical field
The present embodiments relate to electronic equipment control field more particularly to a kind of electronic equipment control methods and system.
Background technique
With the development of artificial intelligence technology, intelligence that electronic equipment is marched toward between intelligence, especially electronic equipment
Control has become a kind of trend.
By taking mobile terminal controls smart home equipment as an example, existing control smart home equipment is mainly with mobile terminal
For control core, single smart home equipment (such as headlamp or air-conditioning) is controlled.Specifically, above-mentioned controlling party
Method mainly uses dispatching centre of the mobile terminal APP (Application, computer applied algorithm) as information, issues control
The smart home equipment controlled to needs is instructed, usual this kind of smart home equipment has been internally integrated WIFI module to receive control
Instruction, or communicated by Integration Bus control mode.Different control instructions is issued by mobile terminal APP to realize
The different conditions of smart home equipment, such as the switch of headlamp, the temperature etc. of refrigerator.
The existing single smart home equipment control method based on mobile terminal, set by instruction it is more single, and
Only control single smart home equipment, it is difficult to meet the needs of smart home;It is set in addition, if user wants the multiple households of control
It is standby, then it needs that multiple APP are installed on mobile terminals, and carry out instruction setting to each smart home equipment respectively, grasp
Make very cumbersome.
Summary of the invention
The present invention provides a kind of electronic equipment control method and system, realize quickly and easily to target electronic device into
Row control.
In a first aspect, the embodiment of the invention provides a kind of electronic equipment control methods, which comprises
It is being generated and sent by Cloud Server with the electricity that gateway receives the first electronic equipment in electronic equipment group
Corresponding first control instruction of target electronic device in sub- equipment group;
The gateway according to communication protocol corresponding with the target electronic device to first control instruction at
Reason, obtains the second control instruction;
Second control instruction is sent to the target electronic device by the gateway, so that the target electronic device
Execute response operation corresponding with second control instruction.
Second aspect, the embodiment of the invention also provides a kind of electronic equipment control system, the system comprises:
Cloud Server, gateway and electronic equipment group, wherein the gateway is used for:
What the first electronic equipment in reception electronic equipment group was generated and sent by Cloud Server sets with the electronics
Corresponding first control instruction of target electronic device in standby group;
First control instruction is handled according to communication protocol corresponding with the target electronic device, obtains
Two control instructions;
Second control instruction is sent to the target electronic device, so that the target electronic device executes and institute
State the corresponding response operation of the second control instruction.
The embodiment of the present invention receives the first electronic equipment in electronic equipment group by gateway and is generated by Cloud Server
And the first control instruction corresponding with target electronic device in electronic equipment group sent, according to corresponding with target electronic device
Communication protocol the first control instruction is handled, obtain the second control instruction, and the second control instruction is sent to target
Electronic equipment overcomes in the prior art so that target electronic device executes response operation corresponding with the second control instruction
When controlling multiple electronic equipments, need that multiple APP are installed in controlling terminal, and command adapted thereto will be carried out to each APP and set
Fixed deficiency, realizes and quickly and easily controls target electronic device.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to do one simply to introduce, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of the control method of electronic device in the embodiment of the present invention one;
Fig. 2 is the flow chart of the control method of electronic device in the embodiment of the present invention two;
Fig. 3 is the structural schematic diagram of the electronic device control system in the embodiment of the present invention three;
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart for a kind of electronic equipment control method that the embodiment of the present invention one provides, and the present embodiment is applicable
The case where intelligentized control method is carried out between electronic equipment, this method can be executed by electronic device control system, such as Fig. 1 institute
Show, the method for the present embodiment specifically includes:
S110, gateway receive electronic equipment group in the first electronic equipment generated and sent by Cloud Server with electricity
Corresponding first control instruction of target electronic device in sub- equipment group.
Wherein, gateway, which is called, does gateway, protocol converter, in network layer implementation above network interconnection, and
It is only used for two different network interconnections of upper-layer protocol.It can be used for wide area network interconnection, can be used for local area network interconnection.
Gateway can be used the entirely different two systems of different communication protocol, data format or language or even architecture it
Between, and for the demand of adaptation to end system, the information received can also be carried out repacking processing.
There is communication connection between electronic equipment group and gateway, which can be wired connection, be also possible to
It is wirelessly connected.It include all electronic equipments that may be controlled system in electronic equipment group, electronic equipment group includes at least one
For the first electronic equipment of control and at least one target electronic device controlled by the first electronic equipment, wherein the first electricity
Sub- equipment and target electronic device may each be any one or more of electronic equipment group electronic equipment.Illustratively,
Electronic equipment group may include various mobile terminals, also may include various intelligent appliances, can also include in workshop
Various intelligence machines, particular determination is not done to electronic equipment group at this.
By taking electronic equipment group includes various intelligent appliances as an example, electronic equipment group include smart television, intelligent air condition,
Intelligent humidifier, intelligent lighting lamp, intelligent curtain, intelligent refrigerator and intelligent washing machine, wherein in above-mentioned electronic equipment group
Each intelligent appliance is connect with gateway communication, and the first electronic equipment is smart television, and target electronic device is smart television, intelligence
Air-conditioning, intelligent humidifier, intelligent lighting lamp and intelligent curtain.
The first electronic equipment in electronic equipment group and between Cloud Server exist wireless communication connection, Cloud Server can
To receive the instruction relevant to target electronic device in controlling electronic devices group that the first electronic equipment is sent, and referred to according to this
It enables and generates the first control instruction.
There is wireless communication connection between Cloud Server and gateway, Cloud Server generate above-mentioned first control instruction it
Afterwards, it can be connect by the wireless communication between gateway, the first control instruction is sent to gateway.
Still by taking electronic equipment group includes various intelligent appliances as an example, the smart television that includes in electronic equipment group, intelligence
Energy air-conditioning, intelligent humidifier, intelligent lighting lamp, intelligent curtain, intelligent refrigerator and intelligent washing machine exist with gateway respectively to be communicated
There is communication connection in connection, exist between Cloud Server and gateway logical between first electronic equipment smart television and Cloud Server
Letter connection.First electronic equipment smart television is sent and control target electronic device smart television, intelligent air condition, intelligent humidification
To Cloud Server, Cloud Server generates the first control according to the instruction and refers to for device, intelligent lighting lamp and the relevant instruction of intelligent curtain
It enables, and the first control instruction is sent to gateway, gateway receives the first control instruction that Cloud Server is sent.
S120, gateway are handled the first control instruction according to communication protocol corresponding with target electronic device, are obtained
Second control instruction.
Wherein, the communication protocol that all electronic equipments are followed in electronic equipment group is integrated in gateway, according to above-mentioned
Each communication protocol, any control instruction that Cloud Server is sent can be converted into corresponding electronic equipment by gateway can receive and manage
The control instruction of solution, to realize the control to corresponding electronic equipment.
In the present embodiment, since the first control instruction is corresponding with target electronic device, gateway is according to the first control instruction
It can determine target electronic device, communication protocols corresponding with target electronic device can be determined according to target electronic device
View.Gateway can be handled the first control instruction according to determining communication protocol, so that obtaining target electronic device can be with
The second control instruction for receiving and understanding.Wherein, the second control instruction can be each correspondingly with target electronic device
Control instruction, be also possible to by with a control instruction after target electronic device each control instruction integration correspondingly.
Second control instruction is sent to target electronic device by S130, gateway, so that target electronic device executes and second
The corresponding response operation of control instruction.
In the present embodiment, it may include gateway simultaneously by second that the second control instruction is sent to target electronic device by gateway
Control instruction is sent to target electronic device, also may include that the second control instruction is successively sent to target electronic and sets by gateway
It is standby.By including the target electronic device response to be executed operation in the second control instruction, target electronic device receives
To after the second control instruction, response operation corresponding with the second control instruction can be executed.
The above-mentioned presence due to gateway, the first electronic equipment with a Cloud Server only by being communicatively coupled
Realization controls multiple electronic equipments, and the first electronic equipment only needs to input in one and controlling electronic devices group
The relevant instruction of target electronic device, can be realized and control multiple electronic equipments, simplify electronic equipment control process
In operating procedure while, also speeded up the control process of electronic equipment.
Control method of electronic device provided in this embodiment receives the first electronics in electronic equipment group by gateway and sets
Standby the first control instruction corresponding with target electronic device in electronic equipment group generated and sent by Cloud Server, according to
Communication protocol corresponding with target electronic device handles the first control instruction, obtains the second control instruction, and by second
Control instruction is sent to target electronic device, so that target electronic device executes response behaviour corresponding with the second control instruction
Make, overcome in the prior art when control multiple electronic equipments, needs in the controlling terminal multiple APP of installation, and to each APP
The deficiency that will carry out command adapted thereto setting, realizes and quickly and easily controls target electronic device.
On the basis of the various embodiments described above, further, gateway is according to communication protocol corresponding with target electronic device
First control instruction is handled, the second control instruction is obtained, comprising:
Gateway parses the first control instruction, obtains the first parsing result, and the first parsing result includes target electronic
Equipment and response corresponding with target electronic device operation;
Gateway encodes the first parsing result according to communication protocol corresponding with target electronic device, obtains and mesh
Mark corresponding second control instruction of electronic equipment.
Wherein, gateway may include the positioning of four layer functions and processing, four levels be successively from top to bottom data Layer,
Control layer, operation layer and presentation layer, at all levels mutually indepedent and association up and down, data transmission follow ICP/IP protocol mark
Standard, by gateway, there may be the routings communicated between each equipment.In aforementioned four level, data Layer is bottom
The data flow of communication indicates that the function of control layer is to dock upper-layer service layer and realize the parsing of control instruction and respectively instruct
It receives and sends.The function of operation layer is related service and the logic control of processing equipment, for example, there are communication links with it for notice
The equipment connect closes booting, and the parameter etc. of adjustment equipment docks control layer downwards to realize its concrete function.Presentation layer is then people
The performance of machine interaction, provides support by operation layer.
In the present embodiment, generated since the first control instruction is Cloud Server according to the communication protocol of oneself, net
It closes after receiving the first control instruction, needs to parse it particular content to determine the first control instruction.Specifically,
The data Layer of gateway is transmitted to control layer by ICP/IP protocol after receiving the first control instruction, by the first control instruction,
Control layer parses the first control instruction, obtains the first parsing result.Due to can wrap in the first control instruction containing mesh
Identity information and the target electronic device response the to be executed operation for marking electronic equipment, therefore, the parsing result after parsing can
To include target electronic device and the second control instruction corresponding with target electronic device.Control layer to the first control instruction into
After row parsing, coded treatment can be carried out to the first parsing result, obtained according to communication protocol corresponding with target electronic device
To the second control instruction for controlling target electronic device.After generating the second control instruction, control layer refers to the second control
It enables and operation layer is transmitted to by ICP/IP protocol, the second control instruction is sent to target electronic device by operation layer.
Further, what the first electronic equipment that gateway receives in electronic equipment group was generated and sent by Cloud Server
The first control instruction corresponding with target electronic device in electronic equipment group, comprising:
Gateway receives the first electronic equipment in electronic equipment group by MQTT agreement and is generated concurrently by Cloud Server
The first control instruction corresponding with target electronic device in electronic equipment group sent.
Wherein, MQTT (Message Queuing Telemetry Transport, message queue telemetering transmission) agreement is
Publish/subscribe type messaging protocol is based under iso standard (ISO/IEC PRF 20922), work is on TCP/IP protocol suite.
There are three types of identity for MQTT agreement: publisher (Publisher), agency (Broker) and subscriber (Subscriber).Wherein, disappear
The publisher of breath and the subscriber of message can be clients, and Message Agent can be server, and the publisher of message is simultaneously
It is also possible to the subscriber of message.The message of MQTT agreement transmission includes theme (Topic) and load (payload) two parts,
Wherein, the theme of message is usually the type of message, after Subscriber subscriptions' theme, can receive the corresponding message of the theme
Load, load, that is, message body (message content) of message refer to subscriber's specifically content to be used, such as can be equipment field
Scape mode instruction and equipment state etc..Electronic device types multiplicity, the communication between Cloud Server and gateway include that message is sent
And state reporting, MQTT agreement can preferably be this operating mode service.
In the present embodiment, the publisher of message can be the first electronic equipment in electronic equipment group, and Message Agent can
To be Cloud Server, the subscriber of message can be gateway.
Further, the second control instruction is sent to target electronic device in gateway, so that target electronic device executes
After response operation corresponding with the second control instruction, further includes:
If there are failure electronic equipment in target electronic device, failure electronic equipment passes through gateway and Cloud Server, will
Fault message is sent to the first electronic equipment;
First electronic equipment shows event at least one of text information, pictorial information and voice messaging exhibition method
Hinder electronic equipment and defect content corresponding with fault message.
In the present embodiment, if there are failure electronic equipment in target electronic device, which can pass through
Communication connection between failure electronic equipment, gateway, Cloud Server and the first electronic equipment, feeds back to first for fault message
Electronic equipment, to inform the first electronic equipment, which kind of failure it has occurred.First electronic equipment is receiving corresponding failure letter
, can be by least one of text, picture and voice exhibition method after breath, it will be in failure electronic equipment and failure
Appearance feeds back to user.
Embodiment two
Fig. 2 is the flow chart of a kind of electronic equipment control method provided by Embodiment 2 of the present invention.The present embodiment is above-mentioned
On the basis of each embodiment, it is raw by Cloud Server that the first electronic equipment that the gateway receives in electronic equipment group can be selected in
At and send the first control instruction corresponding with target electronic device in the electronic equipment group before, further includes: it is described
Cloud Server receives scene corresponding with the target scene instruction that the first electronic equipment is sent in the electronic equipment group, and
First control instruction corresponding with scene instruction is generated, and first control instruction is sent to the net
It closes.Further, the optional Cloud Server generates first control instruction corresponding with scene instruction, comprising:
The Cloud Server obtains corresponding to each electronic equipment in the electronic equipment group according to the certificate of its storage inside
The default scene of at least one;If it includes the target scene that at least one corresponding to the electronic equipment, which presets scene,
The identity information of the electronic equipment is obtained, and using the electronic equipment as the target electronic device;According to the target
The identity information of electronic equipment generates first control instruction corresponding with scene instruction.As shown in Fig. 2,
The method of the present embodiment specifically includes:
S210, Cloud Server receive the field corresponding with target scene that the first electronic equipment is sent in electronic equipment group
Scape instruction.
Wherein, the first electronic equipment in electronic equipment group can be based on the scene that user inputs to electronic equipment group
In target electronic device controlled, wherein scene can be environmental information, be also possible to status information, and status information can
To be emotional state and/or action state.Illustratively, scene can be temperature height, rain whether, driving in, go home, from
It is family, sleep, low and at least one of excited.
Illustratively, target scene is to go home, and Cloud Server receives what the first electronic equipment in electronic equipment group was sent
It is instructed with go home corresponding scene of target scene;If target scene is to leave home, Cloud Server is received in electronic equipment group
What the first electronic equipment was sent instructs with leave home corresponding scene of target scene;If target scene is sleep, Cloud Server
Receive scene corresponding with the target scene sleep instruction that the first electronic equipment is sent in electronic equipment group.
S220, Cloud Server parse scene instruction, obtain target scene.
In the present embodiment, the communication protocol that Cloud Server is followed based on itself solves the scene instruction received
Analysis, analytically obtains corresponding target scene in result.
Illustratively, if it is to go home that scene, which instructs corresponding target scene, the target field that Cloud Server parses
Scape is to go home;If it is to leave home that scene, which instructs corresponding target scene, the target scene that Cloud Server parses is
It leaves home;If it is sleep that scene, which instructs corresponding target scene, the target scene that Cloud Server parses is to sleep.
S230, Cloud Server obtain each electronic equipment institute in electronic equipment group according to the certificate of its storage inside
Corresponding at least one default scene.
As electronic equipment is more and more, in order to avoid maloperation and hacker attacks, Cloud Server preferably can be each
There is the electronic equipment setting safety and authentication information directly or indirectly communicated to connect with it.Each electronic equipment is necessary
Information can just be sended and received by possessing safety and authentication information.Cloud Server can exist for each with it direct or indirect
A device credential is arranged in the electronic equipment of communication connection, so that each electronic equipment can correctly transmit information and execute phase
The response operation answered.
Illustratively, for each electronic equipment, Cloud Server can create inside it a unique certificate with
The electronic equipment is corresponding, and can preset at least one default scene corresponding with electronic equipment.Wherein, it presets
Scene can be environmental information, be also possible to status information, and status information can be emotional state and/or action state.Example
Property, default scene can be temperature height, rain whether, driving in, go home, leave home, sleeping, in low and excitement extremely
Few one kind.
Based on above-mentioned certificate, corresponding to each electronic equipment in the available electronic equipment group of Cloud Server at least
A kind of default scene.Illustratively, each electronic equipment can correspond to the same certificate, can in the different parts of certificate content
Scene is preset to obtain at least one corresponding to each electronic equipment;Each electronic equipment can also respectively correspond a card
Book, it is available to preset scene at least one corresponding to each electronic equipment in each certificate.For example, smart television
It can be to leave and go home with corresponding default scene, intelligent air condition can be to go home and sleep with corresponding default scene.
It should be noted that can also directly record the tool of electronic equipment corresponding to each default scene in the certificate
Which body has, at this point, can be directly obtained target electronic device corresponding with target scene and its identity according to the certificate
Information.For example, such certificate can be X.509 certificate, the certificate include version number, CertPubKey, sequence number, subject information,
Validity period, certification authority, apparatus figure signature, signature algorithm identifier symbol.Wherein, it is described in CertPubKey in each default scene
All devices, signature be then each electronic equipment facility information.
If it includes target scene that at least one corresponding to S240, electronic equipment, which presets scene, electronic equipment is made
For target electronic device, and obtain the identity information of electronic equipment.
Wherein, identity information is for uniquely determining electronic equipment.In the present embodiment, Cloud Server is getting electronic equipment
At least one preset scene after, the default scene of target scene and at least one can be compared, if at least one
Default scene includes target scene, then at least one is preset the corresponding electronic equipment of scene as target electronic device, and
Obtain the identity information of the electronic equipment.
Illustratively, if target scene is to go home, the default scene for the smart television that server obtains in the certificate is
It leaves and goes home, the default scene of intelligent air condition is to go home and sleep, and is preset corresponding to above-mentioned smart television and intelligent air condition
Scene includes going home, and therefore, can all regard smart television and intelligent air condition as target electronic device, meanwhile, it obtains respectively
The identity information of smart television and intelligent air condition.It should be noted that obtaining the identity information of target electronic device
Meanwhile response operation corresponding thereto can also be got from certificate.
S250, the identity information according to target electronic device generate the first control instruction corresponding with scene instruction, and
First control instruction is sent to gateway.
Cloud Server after the identity information of target electronic device has been determined, preferably can use identity information generate with
Scene instructs corresponding first control instruction, and the first control instruction is sent to gateway.
Illustratively, the first electronic equipment can be smart television, and target electronic device can be smart television, Intelligent air
Tune, intelligent humidifier, intelligent lighting lamp and intelligent curtain, default scene, which can be, leaves home, goes home and sleeps.For field of leaving home
Smart television pass can be set in scape, intelligent air condition closes, intelligent humidifier closes, intelligent lighting lamp closes and intelligent curtain closes;For returning
Family's scene, can be set that smart television is opened, Intelligent air tunes to open, intelligent humidifier is opened, intelligent lighting lamp is opened and opened with intelligent curtain;It is right
In sleep scene, can be set smart television close, Intelligent air tunes to open, intelligent humidifier is opened, intelligent lighting lamp closes and intelligent curtain
It closes.Response operation under the corresponding default scene of above-mentioned electronic equipment, electronic equipment and default scene can be written into cloud clothes
It is engaged in device in corresponding certificate.
S260, gateway receive electronic equipment group in the first electronic equipment generated and sent by Cloud Server with electricity
Corresponding first control instruction of target electronic device in sub- equipment group.
S270, gateway are handled the first control instruction according to communication protocol corresponding with target electronic device, are obtained
Second control instruction.
Second control instruction is sent to target electronic device by S280, gateway, so that target electronic device executes and second
The corresponding response operation of control instruction.
Control method of electronic device provided in this embodiment, by receiving the first electronics in electronic equipment group in gateway
The first control instruction corresponding with target electronic device in electronic equipment group that equipment is generated and sent by Cloud Server it
Before, Cloud Server receives scene corresponding with the target scene instruction that the first electronic equipment is sent in electronic equipment group, right
Scene instruction is parsed, and target scene is obtained, and according to the certificate of its storage inside, obtains each electricity in electronic equipment group
At least one corresponding to sub- equipment presets scene, if it includes target field that at least one corresponding to electronic equipment, which presets scene,
Scape then obtains the identity information of electronic equipment, and using electronic equipment as target electronic device, according to the body of target electronic device
Part information, generates the first control instruction corresponding with scene instruction, and the first control instruction is sent to gateway, overcomes existing
Have in technology when controlling multiple electronic equipments, needs that multiple APP are installed in controlling terminal, and phase will be carried out to each APP
The deficiency that setting should be instructed realizes while quickly and easily controlling target electronic device, can be more accurate
Ground controls target electronic device.
On the basis of the various embodiments described above, further, in Cloud Server according to the certificate of its storage inside, electricity is obtained
At least one corresponding to each electronic equipment in sub- equipment group is preset before scene, further includes:
Cloud Server carries out timeliness verifying to certificate;
If it is determined that certificate expired, then be updated certificate.
In the present embodiment, in order to determine whether certificate stored in cloud server is effective, more accurately to control target
Electronic equipment preferably can carry out timeliness verifying to certificate, if it is determined that certificate expired is then updated certificate.Wherein,
Cloud Server can carry out timeliness verifying to certificate in real time, can also carry out timeliness to certificate with every preset time period and test
Card.
Further, Cloud Server receive electronic equipment group in the first electronic equipment send it is opposite with target scene
Before the scene instruction answered, further includes:
First electronic equipment receives the instruction corresponding with target scene of user's input, and parses to instruction, obtains
To the second parsing result;
First electronic equipment generates scene corresponding with target scene according to the second parsing result and instructs;
Wherein, instruction includes: the phonetic order corresponding with target scene that user is inputted by voice-input unit,
And/or user inputted by key in operation interface and/or user by the touch screen in operation interface and target scene
Corresponding instruction.
Illustratively, target user can be by the key in voice, operation interface, the touch screen in operation interface
At least one mode inputs instruction corresponding with target scene.
Embodiment three
Fig. 3 is the structural schematic diagram of one of the embodiment of the present invention three electronic device control system.As shown in figure 3, this
The electronic device control system of embodiment includes: Cloud Server 310, gateway 320 and electronic equipment group 330, wherein gateway
320 are used for:
Receive electronic equipment group 330 in the first electronic equipment 331 by Cloud Server 310 generate and send with electricity
Corresponding first control instruction of target electronic device 332 in sub- equipment group 330;
First control instruction is handled according to communication protocol corresponding with target electronic device 332, obtains the second control
System instruction;
Second control instruction is sent to target electronic device 332, so that target electronic device 332 executes and the second control
Corresponding response is instructed to operate.
Electronic device control system provided in this embodiment receives the first electronics in electronic equipment group by gateway and sets
Standby the first control instruction corresponding with target electronic device in electronic equipment group generated and sent by Cloud Server, according to
Communication protocol corresponding with target electronic device handles the first control instruction, obtains the second control instruction, and by second
Control instruction is sent to target electronic device, so that target electronic device executes response behaviour corresponding with the second control instruction
Make, overcome in the prior art when control multiple electronic equipments, needs in the controlling terminal multiple APP of installation, and to each APP
The deficiency that will carry out command adapted thereto setting, realizes and quickly and easily controls target electronic device.
Further, Cloud Server 310 is used for:
The first electronic equipment 331 in electronic equipment group 330 is received in gateway 320 to generate simultaneously by Cloud Server 310
Before first control instruction corresponding with target electronic device 332 in electronic equipment group 330 sent, electronic equipment group is received
Scene corresponding with the target scene instruction that first electronic equipment 331 is sent in group 330, and generate corresponding with scene instruction
The first control instruction, and the first control instruction is sent to gateway.
Further, gateway 320 includes:
First parsing module obtains the first parsing result, the first parsing result for parsing to the first control instruction
It is operated including target electronic device 332 and response corresponding with target electronic device 332;
Second control instruction generation module, for being parsed to first according to communication protocol corresponding with target electronic device
As a result it is encoded, obtains the second control instruction corresponding with target electronic device.
Further, Cloud Server 310 includes:
Scene command analysis module obtains target scene for parsing to scene instruction;
Default scene obtains module, for the certificate according to 310 storage inside of Cloud Server, obtains electronic equipment group
At least one corresponding to each electronic equipment in 330 presets scene;
Identity information acquisition module includes target scene for working as at least one corresponding to electronic equipment to preset scene
When, using electronic equipment as target electronic device, and obtain the identity information of electronic equipment;
First control instruction generation module generates for the identity information according to target electronic device and instructs phase with scene
Corresponding first control instruction.
Further, Cloud Server 310 further include:
Timeliness authentication module obtains electronic equipment group for the certificate in Cloud Server 310 according to its storage inside
Before at least one corresponding to each electronic equipment in 330 presets scene, Cloud Server 310 carries out timeliness to certificate and tests
Card;If it is determined that certificate expired, then be updated certificate.
Further, gateway 320 is specifically used for:
The first electronic equipment 331 in electronic equipment group 330 is received by MQTT agreement to generate by Cloud Server 310
And first control instruction corresponding with target electronic device 332 in electronic equipment group 330 sent.
Further, electronic equipment group 330 includes:
Failure feedback module, for second control instruction to be sent to target electronic device 332 in gateway 320, so that mesh
After marking the execution of electronic equipment 332 response operation corresponding with the second control instruction, if there is event in target electronic device 332
Hinder electronic equipment, then fault message is sent to the first electronics and is set by failure electronic equipment by gateway 320 and Cloud Server 310
Standby 331;
First electronic equipment 331 is used for at least one of text information, pictorial information and voice messaging displaying side
Formula shows failure electronic equipment and defect content corresponding with fault message.
Further, the first electronic equipment 331 is specifically used for:
First electronic equipment 331 is sent opposite with target scene in the reception of Cloud Server 310 electronic equipment group 330
Before the scene instruction answered, further includes:
First electronic equipment 331 receives the instruction corresponding with target scene of user's input, and parses to instruction,
Obtain the second parsing result;
First electronic equipment 331 generates scene corresponding with target scene according to the second parsing result and instructs;
Wherein, instruction includes: the phonetic order corresponding with target scene that user is inputted by voice-input unit,
And/or user inputted by key in operation interface and/or user by the touch screen in operation interface and target scene
Corresponding instruction.
Electricity provided by any embodiment of the invention can be performed in electronic device control system provided by the embodiment of the present invention
Sub- apparatus control method has the corresponding functional module of execution method and beneficial effect.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of electronic equipment control method characterized by comprising
What the first electronic equipment that gateway receives in electronic equipment group was generated and sent by Cloud Server sets with the electronics
Corresponding first control instruction of target electronic device in standby group;
The gateway is handled first control instruction according to communication protocol corresponding with the target electronic device, is obtained
To the second control instruction;
Second control instruction is sent to the target electronic device by the gateway, so that the target electronic device executes
Response operation corresponding with second control instruction.
2. the method according to claim 1, wherein receiving the first electricity in electronic equipment group in the gateway
The first control corresponding with target electronic device in the electronic equipment group that sub- equipment is generated and sent by Cloud Server
Before instruction, further includes:
The Cloud Server receives the field corresponding with target scene that the first electronic equipment is sent in the electronic equipment group
Scape instruction, and first control instruction corresponding with scene instruction is generated, and first control instruction is sent
To the gateway.
3. the method according to claim 1, wherein the gateway is according to corresponding with the target electronic device
Communication protocol handles first control instruction, obtains the second control instruction, comprising:
The gateway parses first control instruction, obtains the first parsing result, and first parsing result includes
The target electronic device and the response operation corresponding with the target electronic device;
The gateway encodes first parsing result according to communication protocol corresponding with the target electronic device,
Obtain second control instruction corresponding with the target electronic device.
4. according to the method described in claim 2, it is characterized in that, Cloud Server generation is corresponding with scene instruction
First control instruction, comprising:
The Cloud Server parses scene instruction, obtains the target scene;
For the Cloud Server according to the certificate of its storage inside, each electronic equipment institute obtained in the electronic equipment group is right
At least one answered presets scene;
If it includes the target scene that at least one corresponding to the electronic equipment, which presets scene, by the electronic equipment
As the target electronic device, and obtain the identity information of the electronic equipment;
According to the identity information of the target electronic device, first control corresponding with scene instruction is generated
Instruction.
5. according to the method described in claim 4, it is characterized in that, in the Cloud Server according to the certificate of its storage inside,
Obtain at least one corresponding to each electronic equipment in the electronic equipment group preset scene before, further includes:
The Cloud Server carries out timeliness verifying to the certificate;
If it is determined that the certificate expired, then be updated the certificate.
6. the method according to claim 1, wherein the gateway receives the first electronics in electronic equipment group
The first control corresponding with target electronic device in the electronic equipment group that equipment is generated and sent by Cloud Server refers to
It enables, comprising:
The gateway receives the first electronic equipment in electronic equipment group by MQTT agreement and is generated concurrently by Cloud Server
The first control instruction corresponding with target electronic device in the electronic equipment group sent.
7. method according to claim 1 or 3, which is characterized in that send second control instruction in the gateway
To the target electronic device, so that the target electronic device executes response operation corresponding with second control instruction
Later, further includes:
If the failure electronic equipment passes through the gateway and described there are failure electronic equipment in the target electronic device
Fault message is sent to first electronic equipment by Cloud Server;
First electronic equipment shows institute at least one of text information, pictorial information and voice messaging exhibition method
State failure electronic equipment and defect content corresponding with the fault message.
8. the method according to any one of claim 2,4 and 5, which is characterized in that receive institute in the Cloud Server
Before scene corresponding with the target scene instruction for stating the first electronic equipment transmission in electronic equipment group, further includes:
First electronic equipment receives the instruction corresponding with the target scene of user's input, and carries out to described instruction
Parsing, obtains the second parsing result;
First electronic equipment generates the scene corresponding with the target scene according to second parsing result and refers to
It enables;
Wherein, described instruction includes: that the voice corresponding with the target scene that is inputted by voice-input unit of user refers to
Enable and/or the user is inputted by key in operation interface and/or user by the touch screen in operation interface with
The corresponding instruction of the target scene.
9. a kind of electronic equipment control system, perform claim requires any method of 1-8 characterized by comprising cloud clothes
Be engaged in device, gateway and electronic equipment group, wherein the gateway is used for:
The first electronic equipment received in electronic equipment group being generated and sent with the electronic equipment group by Cloud Server
Corresponding first control instruction of target electronic device in group;
First control instruction is handled according to communication protocol corresponding with the target electronic device, obtains the second control
System instruction;
Second control instruction is sent to the target electronic device, so that the target electronic device executes and described the
The corresponding response operation of two control instructions.
10. system according to claim 9, which is characterized in that the Cloud Server is used for:
Scene corresponding with the target scene instruction that the first electronic equipment is sent in the electronic equipment group is received, and is generated
First control instruction corresponding with scene instruction, and first control instruction is sent to the gateway.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910252011.1A CN109831362A (en) | 2019-03-29 | 2019-03-29 | A kind of electronic equipment control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910252011.1A CN109831362A (en) | 2019-03-29 | 2019-03-29 | A kind of electronic equipment control method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109831362A true CN109831362A (en) | 2019-05-31 |
Family
ID=66873767
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910252011.1A Pending CN109831362A (en) | 2019-03-29 | 2019-03-29 | A kind of electronic equipment control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109831362A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110505304A (en) * | 2019-08-23 | 2019-11-26 | 深圳市丰润达科技有限公司 | Terminal execution, application method, device, Cloud Server and the system of scene mode |
CN110933170A (en) * | 2019-11-29 | 2020-03-27 | 广东科徕尼智能科技有限公司 | Multi-device linkage control method and device of ZigBee gateway and storage medium |
CN111203874A (en) * | 2019-12-26 | 2020-05-29 | 深圳市优必选科技股份有限公司 | Robot control method, device, electronic device and storage medium |
CN111459042A (en) * | 2020-04-07 | 2020-07-28 | 深圳创维-Rgb电子有限公司 | Control method and system of household appliance, television and storage medium |
CN111770553A (en) * | 2020-06-22 | 2020-10-13 | 深圳中兴网信科技有限公司 | Internet of things equipment access system and method, electronic equipment and storage medium |
CN111953520A (en) * | 2020-07-17 | 2020-11-17 | 杭州博联智能科技股份有限公司 | Method, apparatus, device and medium for implementing group control through group virtual device |
CN115356937A (en) * | 2022-07-22 | 2022-11-18 | 青岛海尔科技有限公司 | Device control method, device, storage medium, and electronic apparatus |
CN115733861A (en) * | 2022-11-21 | 2023-03-03 | 四川长虹电器股份有限公司 | MQTT-based Internet of things equipment information processing method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104618201A (en) * | 2014-12-31 | 2015-05-13 | 青岛海尔智能家电科技有限公司 | Internet of things appliance control system, control method and appliance gateway |
CN106302563A (en) * | 2015-05-12 | 2017-01-04 | 广州远云网络科技有限公司 | The intelligent control method of a kind of household electrical appliance and device |
US20170070856A1 (en) * | 2015-09-09 | 2017-03-09 | Line Corporation | System and method for providing notification based on location deviation |
CN106972996A (en) * | 2017-05-11 | 2017-07-21 | 广东汇泰龙科技有限公司 | A kind of home furnishings intelligent interlock method locked based on cloud, system |
CN107155122A (en) * | 2017-05-31 | 2017-09-12 | 青岛海尔多媒体有限公司 | Method, device and the television terminal of smart machine control |
-
2019
- 2019-03-29 CN CN201910252011.1A patent/CN109831362A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104618201A (en) * | 2014-12-31 | 2015-05-13 | 青岛海尔智能家电科技有限公司 | Internet of things appliance control system, control method and appliance gateway |
CN106302563A (en) * | 2015-05-12 | 2017-01-04 | 广州远云网络科技有限公司 | The intelligent control method of a kind of household electrical appliance and device |
US20170070856A1 (en) * | 2015-09-09 | 2017-03-09 | Line Corporation | System and method for providing notification based on location deviation |
CN106972996A (en) * | 2017-05-11 | 2017-07-21 | 广东汇泰龙科技有限公司 | A kind of home furnishings intelligent interlock method locked based on cloud, system |
CN107155122A (en) * | 2017-05-31 | 2017-09-12 | 青岛海尔多媒体有限公司 | Method, device and the television terminal of smart machine control |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110505304A (en) * | 2019-08-23 | 2019-11-26 | 深圳市丰润达科技有限公司 | Terminal execution, application method, device, Cloud Server and the system of scene mode |
CN110933170A (en) * | 2019-11-29 | 2020-03-27 | 广东科徕尼智能科技有限公司 | Multi-device linkage control method and device of ZigBee gateway and storage medium |
CN111203874A (en) * | 2019-12-26 | 2020-05-29 | 深圳市优必选科技股份有限公司 | Robot control method, device, electronic device and storage medium |
CN111459042A (en) * | 2020-04-07 | 2020-07-28 | 深圳创维-Rgb电子有限公司 | Control method and system of household appliance, television and storage medium |
CN111459042B (en) * | 2020-04-07 | 2023-08-22 | 深圳创维-Rgb电子有限公司 | Control method and system of household appliance, television and storage medium |
CN111770553A (en) * | 2020-06-22 | 2020-10-13 | 深圳中兴网信科技有限公司 | Internet of things equipment access system and method, electronic equipment and storage medium |
CN111953520A (en) * | 2020-07-17 | 2020-11-17 | 杭州博联智能科技股份有限公司 | Method, apparatus, device and medium for implementing group control through group virtual device |
CN111953520B (en) * | 2020-07-17 | 2023-04-25 | 杭州博联智能科技股份有限公司 | Method, device, equipment and medium for realizing group control through group virtual equipment |
CN115356937A (en) * | 2022-07-22 | 2022-11-18 | 青岛海尔科技有限公司 | Device control method, device, storage medium, and electronic apparatus |
CN115733861A (en) * | 2022-11-21 | 2023-03-03 | 四川长虹电器股份有限公司 | MQTT-based Internet of things equipment information processing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109831362A (en) | A kind of electronic equipment control method and system | |
US20150262443A1 (en) | METHOD, SYSTEM, and COMPUTER-READABLE MEDIUM RELATING TO INTERNET of THINGS-ENABLED REMOTE CONTROLS | |
CN104714817B (en) | Upgrade method, system and the control terminal of home appliance software by infrared signal | |
CN103618670A (en) | Intelligent gateway and intelligent home system | |
CN104426750A (en) | Method, equipment and system for instant messaging | |
KR20150033513A (en) | A method and apparatus for controlling devices for a smart home service | |
CN203554491U (en) | Unified home and security/protection system | |
CN102130802A (en) | Internet of things home appliance management system and management method | |
CN104618441A (en) | Control method and device of controlled device, server, and control terminal of internet of things | |
CN105867145A (en) | Intelligent household equipment control method and apparatus | |
CN108632798A (en) | A kind of quick binding method of Internet of Things household appliance, system and relevant apparatus | |
CN103245038A (en) | Remote air conditioning voice-control system and remote air conditioning voice-control method | |
CN104076759A (en) | Terminal apparatus and control system | |
CN104898438A (en) | Household electrical appliance control method and apparatus, and terminal | |
CN104618443A (en) | Control method and device of controlled device, server, and control terminal of internet of things | |
CN108810129A (en) | Internet of Things network control system and method, terminal device and local network services equipment | |
CN103516708A (en) | Equipment control method and system based on XMPP | |
CN108449432A (en) | Internet of Things Remote Device Control system and control method | |
JP2003209892A (en) | Method for remotely controlling home electric appliance | |
CN104320689A (en) | Remote control unit and terminal control method | |
WO2018103623A1 (en) | Terminal control method and apparatus, and terminal system | |
CN106130787B (en) | Service processing system based on software defined network | |
CN107942701A (en) | appliance control system and method based on internet of things | |
CN104281078A (en) | Infrared device centralized control system | |
CN108833481A (en) | A kind of method and system controlling electric 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: 20190531 |