CN105204353A - Control method and control system - Google Patents

Control method and control system Download PDF

Info

Publication number
CN105204353A
CN105204353A CN201510563991.9A CN201510563991A CN105204353A CN 105204353 A CN105204353 A CN 105204353A CN 201510563991 A CN201510563991 A CN 201510563991A CN 105204353 A CN105204353 A CN 105204353A
Authority
CN
China
Prior art keywords
equipment
operational order
server
sent
mobile phone
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
Application number
CN201510563991.9A
Other languages
Chinese (zh)
Inventor
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ingenic Semiconductor Co Ltd
Original Assignee
Beijing Ingenic Semiconductor Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Ingenic Semiconductor Co Ltd filed Critical Beijing Ingenic Semiconductor Co Ltd
Priority to CN201510563991.9A priority Critical patent/CN105204353A/en
Publication of CN105204353A publication Critical patent/CN105204353A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The embodiment of the invention provides a control method and a control system, and aims at solving the problems in the prior art that remote control of on-off of a lighting system cannot be realized. The method comprises the steps that a server receives an operation command from a mobile phone side and an ID; the operation command is a command transmitted by the mobile phone side and used for turning on or turning off the lighting system; the server judges whether equipment corresponding to the ID is online; and if the equipment corresponding to the ID is online, the operation command is transmitted to the equipment corresponding to the ID. Therefore, the method can be used for remote control of lighting equipment and can be used for any equipment in the online state for realization of the function.

Description

A kind of control method and control system
Technical field
The present invention relates to communication electronics field, particularly relate to a kind of control method and control system.
Background technology
In recent years along with the development of Smart Home, people are that increasing household achieves corresponding intelligent function to meet the demand of daily life.Such as in our daily life, at every moment all be unable to do without electric light, especially the illuminator in some equipment, but many times, people can not well draw oneself up the illuminator of equipment in family, such as: just can electric light in switch Pet house after owner only goes back home, illuminator in fish jar etc. be also had.
Visible also do not have the switchgear that can control illuminator very well in the market, therefore also cannot realize intelligent illuminating system.
Summary of the invention
The embodiment of the present invention provides a kind of control method and control system, for solving the problem that cannot realize Long-distance Control illuminator switch in prior art.
A kind of control method, described method comprises:
Server receives from the operational order of mobile phone terminal and ID; Described operational order is the order for opening or close illuminator sent by mobile phone terminal;
Server judges that whether the equipment corresponding with described ID is online; If online, described operational order is sent to the equipment corresponding to described ID.
A kind of control system, described system comprises:
Mobile phone terminal, for transmit operation order and ID; Described operational order is the order for opening or close illuminator sent by mobile phone terminal;
Server, for receiving described operational order and described ID; Judge that whether the equipment corresponding with described ID is online; If online, described operational order is sent to the equipment corresponding to described ID.
Visible, the method is by the order of mobile phone terminal transmit button, when server determination equipment on-line, when being both in wifi network, just operational order can be sent to equipment, this equipment performs according to operational order related works such as opening or closing, and visible the method not only may be used for the Long-distance Control of light fixture, all can realize this function for any equipment that can be in line states.
Accompanying drawing explanation
In order to be illustrated more clearly in the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below.
The process flow diagram of a kind of control method that Fig. 1 provides for the embodiment of the present invention;
The process flow diagram of concrete a kind of control method that Fig. 2 provides for the embodiment of the present invention;
A kind of Control system architecture figure that Fig. 3 provides for the embodiment of the present invention.
Embodiment
In order to make those skilled in the art person understand technical scheme in the embodiment of the present invention better, and enable above-mentioned purpose of the present invention, feature and advantage become apparent more, below in conjunction with accompanying drawing, technical scheme in the present invention is described in further detail.
The method is by the order of mobile phone terminal transmit button, when server determination equipment on-line, when being both in wifi network, just operational order can be sent to equipment, this equipment performs according to operational order related works such as opening or closing, visible the method not only may be used for the Long-distance Control of light fixture, all can realize this function for any equipment that can be in line states.As shown in Figure 1, the method comprises:
Step 11, server receives from the operational order of mobile phone terminal and ID; Described operational order is the order for opening or close illuminator sent by mobile phone terminal;
Step 12, server judges that whether the equipment corresponding with described ID is online;
Step 13, if server is determined, at this equipment line, described operational order to be sent to the equipment corresponding to described ID.
Concrete, described server judges the state of described equipment according to the heartbeat packet that described equipment is sent.
Concrete, according to the heartbeat packet that described equipment is sent, described server judges that the state of described equipment comprises:
When described server does not receive described heartbeat packet in Preset Time, then determine that described equipment is down status.
Preferably, described Preset Time is more than or equal to 30 seconds.
Concrete, after described equipment receives described operational order, perform the operation corresponding to described operational order.
Be introduced with specific embodiment below:
As shown in Figure 2, the embodiment of the present invention provides a kind of control method, this control method can control light fixture or other all can the on off state of equipment of access network, concrete steps are as follows:
Step 21, ensures equipment accessed network, and this equipment continues to send heartbeat packet to server;
Equipment end generally just sent once not heartbeat packet to server at interval of 10 seconds, received server-side according to this heartbeat packet service equipment state table, for server just as heartbeat again and again of equipment.Server internal preserves a state table in advance, records the unique identification of equipment in this state table; Also the unique ID of self is sent when device-to-server sends heartbeat packet;
Step 22, after receiving heartbeat packet, server is according to this unique identification, and the state changing this equipment in state table is for roll off the production line or online;
When server is not receiving described heartbeat packet in Preset Time, then determine that described equipment is down status.This Preset Time can be arranged according to actual needs, is preferably 30s.
Step 23, when client needs to open smart machine, by mobile phone terminal to server transmit operation order and ID; Described operational order is the order for opening or close illuminator sent by mobile phone terminal;
Step 24; Equipment corresponding with this ID in whois lookup state table, and judge that whether this equipment is online; Step 25 is performed if online; Otherwise perform step 26;
Step 25, sends to the equipment corresponding to ID, and performs step 27 by operational order;
Step 26, to roll off the production line the information that cannot operate to mobile phone terminal feedback device;
Step 27, after equipment interconnection receives operational order, performs unlatching indicated by this operational order or closes the order of illuminator.
As shown in Figure 3, the embodiment of the present invention provides a kind of control system, and this system comprises:
Mobile phone terminal 31, for transmit operation order and ID; Described operational order is the order for opening or close illuminator sent by mobile phone terminal;
Server 32, for receiving described operational order and described ID; Judge that whether the equipment 33 corresponding with described ID is online; If online, described operational order is sent to the equipment 33 corresponding to described ID.
Described server 32 also for: the heartbeat packet sent according to described equipment judges the state of described equipment.
Described server 32 specifically for: when described server 32 does not receive described heartbeat packet in Preset Time, then determine that described equipment 33 is for down status.
Described equipment 33 also for, after receiving described operational order, perform the operation corresponding to described operational order.
In sum, beneficial effect:
The method is by the order of mobile phone terminal transmit button, when server determination equipment on-line, when being both in wifi network, just operational order can be sent to equipment, this equipment performs according to operational order related works such as opening or closing, visible the method not only may be used for the Long-distance Control of light fixture, all can realize this function for any equipment that can be in line states.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a control method, is characterized in that, described method comprises:
Server receives from the operational order of mobile phone terminal and ID; Described operational order is the order for opening or close illuminator sent by mobile phone terminal;
Server judges that whether the equipment corresponding with described ID is online; If online, described operational order is sent to the equipment corresponding to described ID.
2. as right wants the method as described in 1, it is characterized in that, described server judges the state of described equipment according to the heartbeat packet that described equipment is sent.
3. as right wants the method as described in 2, it is characterized in that, according to the heartbeat packet that described equipment is sent, described server judges that the state of described equipment comprises:
When described server does not receive described heartbeat packet in Preset Time, then determine that described equipment is down status.
4. as right wants the method as described in 3, it is characterized in that, described Preset Time is more than or equal to 30 seconds.
5. as right wants the method as described in 1, it is characterized in that, after described equipment receives described operational order, perform the operation corresponding to described operational order.
6. a control system, is characterized in that, described system comprises:
Mobile phone terminal, for transmit operation order and ID; Described operational order is the order for opening or close illuminator sent by mobile phone terminal;
Server, for receiving described operational order and described ID; Judge that whether the equipment corresponding with described ID is online; If online, described operational order is sent to the equipment corresponding to described ID.
7., as right wants the system as described in 6, it is characterized in that, described server also for: the heartbeat packet sent according to described equipment judges the state of described equipment.
8., as right wants the system as described in 7, it is characterized in that, described server specifically for: when described server does not receive described heartbeat packet in Preset Time, then determine that described equipment is down status.
9., as right wants the method as described in 6, it is characterized in that, described equipment also for, after receiving described operational order, perform the operation corresponding to described operational order.
CN201510563991.9A 2015-09-07 2015-09-07 Control method and control system Pending CN105204353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510563991.9A CN105204353A (en) 2015-09-07 2015-09-07 Control method and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510563991.9A CN105204353A (en) 2015-09-07 2015-09-07 Control method and control system

Publications (1)

Publication Number Publication Date
CN105204353A true CN105204353A (en) 2015-12-30

Family

ID=54952099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510563991.9A Pending CN105204353A (en) 2015-09-07 2015-09-07 Control method and control system

Country Status (1)

Country Link
CN (1) CN105204353A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413515A (en) * 2018-11-20 2019-03-01 深圳绿米联创科技有限公司 Apparatus control method, device, mobile terminal and server
CN109884506A (en) * 2019-03-20 2019-06-14 浙江创意声光电科技有限公司 The test method and system of lighting loop
CN110417859A (en) * 2019-06-20 2019-11-05 深圳绿米联创科技有限公司 Apparatus control method, device, system, intelligent gateway and storage medium
CN111315087A (en) * 2020-02-10 2020-06-19 浙江创意声光电科技有限公司 Remote APP free control lighting system control method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130335203A1 (en) * 2012-06-19 2013-12-19 Yan Long Sun Portable electronic device for remotely controlling smart home electronic devices and method thereof
CN103747078A (en) * 2013-12-31 2014-04-23 闻泰通讯股份有限公司 System and method for cooperative control of mobile phone and terminals
CN103905520A (en) * 2012-12-30 2014-07-02 比亚迪股份有限公司 Vehicle-mounted terminal control method and system and cloud end server
CN103997442A (en) * 2013-02-20 2014-08-20 珠海格力电器股份有限公司 Monitoring method and system of intelligent housing system and intelligent housing system
CN104656531A (en) * 2015-01-16 2015-05-27 张泽 Monitoring method and device for intelligent equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130335203A1 (en) * 2012-06-19 2013-12-19 Yan Long Sun Portable electronic device for remotely controlling smart home electronic devices and method thereof
CN103905520A (en) * 2012-12-30 2014-07-02 比亚迪股份有限公司 Vehicle-mounted terminal control method and system and cloud end server
CN103997442A (en) * 2013-02-20 2014-08-20 珠海格力电器股份有限公司 Monitoring method and system of intelligent housing system and intelligent housing system
CN103747078A (en) * 2013-12-31 2014-04-23 闻泰通讯股份有限公司 System and method for cooperative control of mobile phone and terminals
CN104656531A (en) * 2015-01-16 2015-05-27 张泽 Monitoring method and device for intelligent equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413515A (en) * 2018-11-20 2019-03-01 深圳绿米联创科技有限公司 Apparatus control method, device, mobile terminal and server
CN109413515B (en) * 2018-11-20 2021-08-31 深圳绿米联创科技有限公司 Equipment control method and device, mobile terminal and server
CN109884506A (en) * 2019-03-20 2019-06-14 浙江创意声光电科技有限公司 The test method and system of lighting loop
CN110417859A (en) * 2019-06-20 2019-11-05 深圳绿米联创科技有限公司 Apparatus control method, device, system, intelligent gateway and storage medium
CN110417859B (en) * 2019-06-20 2022-03-18 深圳绿米联创科技有限公司 Equipment control method, device, system, intelligent gateway and storage medium
CN111315087A (en) * 2020-02-10 2020-06-19 浙江创意声光电科技有限公司 Remote APP free control lighting system control method and system

Similar Documents

Publication Publication Date Title
CN202334570U (en) Intelligent home system based on mobile phone control
CN102621949B (en) Remote monitoring device and method
CN202043336U (en) Lighting remote control system of intelligent home
CN104426750A (en) Method, equipment and system for instant messaging
CN106303024A (en) Wisdom hotel guest room apparatus control system and method
CN101815159A (en) Intelligent household TV control system
CN104133459A (en) Method and system for controlling intelligent household device
CN204719436U (en) The intelligent domestic system of Background control service can be realized
CN105093943A (en) Intelligent household system and data processing and background control service method thereof
CN105204353A (en) Control method and control system
US20150205316A1 (en) Apparatus and method for managing energy information profile of home based on smart plug
CN106774210A (en) A kind of smart jack, appliance control system and smart jack control method
CN103474842A (en) Intelligent socket system
CN105337109A (en) Intelligent socket control method and intelligent socket
CN109753034A (en) A kind of control method, device, electronic equipment and storage medium
CN205389041U (en) Remove smart jack
CN104703232A (en) Method of automatically identifying whether MT (Mobile Terminal) goes home
CN104967544A (en) Network access equipment linkage method and network access equipment linkage apparatus
CN104125321B (en) A kind of contact details update method, device and system
CN105093941A (en) Condition-controlled intelligent household system, and condition configuration and control method based on intelligent household system
CN203984450U (en) Intelligent domestic gateway
CN101252594A (en) Intelligent household electrical appliance control system
CN202488501U (en) Remotely-managed electric power information network system
CN105099836A (en) BLE intelligent node control method and system
CN203553509U (en) Intelligent socket system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151230

WD01 Invention patent application deemed withdrawn after publication