CN104243482A - Control method and device of intelligent device - Google Patents

Control method and device of intelligent device Download PDF

Info

Publication number
CN104243482A
CN104243482A CN201410495145.3A CN201410495145A CN104243482A CN 104243482 A CN104243482 A CN 104243482A CN 201410495145 A CN201410495145 A CN 201410495145A CN 104243482 A CN104243482 A CN 104243482A
Authority
CN
China
Prior art keywords
host
smart machine
message
protocol
control
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
CN201410495145.3A
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.)
Hisense Group Co Ltd
Original Assignee
Hisense Group 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 Hisense Group Co Ltd filed Critical Hisense Group Co Ltd
Priority to CN201410495145.3A priority Critical patent/CN104243482A/en
Publication of CN104243482A publication Critical patent/CN104243482A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a control method and device of an intelligent device. The method includes the steps: the intelligent device, on the basis of an SIP (session initiation protocol), receives a control message, which is forwarded from a user terminal by a management server through the internet and a local area network on the basis of the SIP; the control message is analyzed; the intelligent device is controlled according to device parameters and control information in the analyzed control message; if control completion or failure is determined, a control completion message or control failure message is transmitted to the management server through the local area network and the internet on the basis of the SIP; the management server forwards the control completion message or control failure message to a user terminal through the internet and/or the mobile communication network on the basis of the SIP. The control method and device has the advantages that the user terminal can transmit the control message to the intelligent equipment more quickly and more stably, chances that the intelligent device has a delay in receiving the messages from the user terminal are slimmed, and the user terminal is allowed to control the intelligent device in real time.

Description

A kind of smart machine control method and equipment
Technical field
The present invention relates to network communication technology field, particularly relate to a kind of smart machine control method and equipment.
Background technology
In the networked information era of develop rapidly, user terminal (mobile phone or panel computer etc.) remote control domestic electrical equipment or other smart machine more and more receive the concern of people.
Especially, due to the particularity of medical refrigerator (a kind of smart machine), need the temperature monitoring and control medical refrigerator in real time, make it remain on the optimum temperature of preserving medicine, control medical refrigerator by the mode of Long-distance Control and can monitor the state informations such as the temperature of medical refrigerator in real time.The mode of the medical refrigerator of Long-distance Control of current employing is: in medical refrigerator, arrange SIM card, medical refrigerator is communicated with the form of specific mobile phone by GSM message by 2G mobile communications network, when the temperature of medical refrigerator does not meet the demands, medical refrigerator sends note to special handset; Or, when user needs check or control medical refrigerator, need the content of checking or controlling at mobile phone inediting, send to medical refrigerator with note form.
The above-mentioned this method by note control refrigerator has following defect: needing to forward the latter two by the base station of mobile communications network by the mode of mobile communication between medical refrigerator and mobile phone could intercom mutually, and base station is while forwarding the note sent between medical refrigerator and mobile phone, also can forward other and be not used in the note controlling medical refrigerator, refrigerator can be increased and receive the delayed probability of control command that mobile phone sends, thus cause mobile phone can not control the problem of refrigerator in real time.
Summary of the invention
The invention provides a kind of smart machine control method and equipment, delayed to smart machine transmission control command in order to solve the user terminal existed in prior art, the user terminal caused can not control the problem of smart machine in real time.
The invention provides a kind of smart machine control method, comprising:
Smart machine based on SIP host-host protocol, the control message carrying out user terminal that receiving management server forwards through the Internet and local area network (LAN) based on SIP host-host protocol, the content that described control message carries comprises smart machine parameter and control information;
Described control message is resolved;
According to the smart machine parameter in the control message after parsing and control information, described smart machine is controlled;
When determining that control completes or controls failed, based on SIP host-host protocol, control is completed message or control failed message and send to described management server through local area network (LAN) and the Internet, by management server based on SIP host-host protocol, described control completed message or controls failed message being transmitted to described user terminal through the Internet and/or mobile communications network.
Described method, also comprises:
When determining to meet active reporting condition, obtain smart machine parameter;
Obtained smart machine parameter is encapsulated in active reporting message, and based on SIP host-host protocol, through local area network (LAN) and the Internet, this active reporting message is sent to described management server, by management server based on SIP host-host protocol, through the Internet and/or mobile communications network, this message is transmitted to described user terminal.
The embodiment of the present invention, by the state of smart machine active reporting self, reaches the effect that user terminal is monitoring in real time to smart machine.
In described method, determine to meet active reporting condition, specifically comprise:
When determining smart machine abnormal parameters, determine to meet report condition; Or
When determining the active reporting cycle reaching setting, determine to meet report condition.
The embodiment of the present invention, can arrange an active reporting condition of smart machine, also two conditions can arrange simultaneously, thus reach the monitoring effect of user terminal to smart machine according to actual conditions.
In described method, described management server comprises protocol server and application server, and described smart machine communicates in the following way with described user terminal:
Described smart machine adopts SIP host-host protocol, communicate with described protocol server with the Internet through local area network (LAN), described protocol server adopts described SIP host-host protocol, through the Internet and described application server communication, described protocol server adopts described SIP host-host protocol, also through the Internet and/or mobile communications network and described user terminal communication.
In the embodiment of the present invention, combined by mobile communications network, local area network (LAN), the Internet based on sip host-host protocol, make message transfer fast and stable more between smart machine and user terminal, achieve user terminal to the real-time control of smart machine and monitoring.
Present invention also offers a kind of smart machine control method, comprising:
User terminal is based on SIP host-host protocol, when determining to transmit control message to smart machine, transmit control message to management server through the Internet and/or mobile communications network, by management server based on SIP host-host protocol, through the Internet and local area network (LAN), described control message is transmitted to smart machine, the content that described control message carries comprises smart machine parameter and control information;
Based on SIP host-host protocol, receiving management server completes message based on the control from described smart machine of SIP host-host protocol through the Internet and/or mobile communications network forwarding or controls failed message and show for pointing out user to control or controlling failed interface.
User terminal is transmitted control message to smart machine by the Internet and mobile communications network, and achieve the real-time control to smart machine, stability is better.
Described method, also comprises:
Based on SIP host-host protocol, receive the active reporting message from described smart machine that described management server forwards through the Internet and/or mobile communications network based on SIP host-host protocol, described active reporting message carries the smart machine parameter of described acquisition;
Described active reporting message is resolved;
By the parameter display of the smart machine in the active reporting message after parsing on described user terminal.
The message that embodiment of the present invention reception smart machine reports also shows, thus learns the state of smart machine in real time.
In described method, described management server comprises protocol server and application server, and described user terminal communicates in the following way with described smart machine:
Described user terminal adopts SIP host-host protocol, communicate with described protocol server with/mobile communications network through the Internet, described protocol server adopts described SIP host-host protocol, through the Internet and described application server communication, described protocol server adopts described SIP host-host protocol, also communicates with described smart machine with local area network (LAN) through the Internet.
In the embodiment of the present invention, combined by mobile communications network, local area network (LAN), the Internet based on SIP host-host protocol, make message transfer fast and stable more between smart machine and user terminal, achieve user terminal to the real-time control of smart machine and monitoring.
The embodiment of the present invention additionally provides a kind of smart machine, comprising:
Receiving element, for based on SIP host-host protocol, the control message carrying out user terminal that receiving management server forwards through the Internet and local area network (LAN) based on SIP host-host protocol, the content that described control message carries comprises smart machine parameter and control information;
Resolution unit, for resolving described control message;
Control unit, for according to the smart machine parameter in the control message after parsing and control information, controls described smart machine;
Transmitting element, during for determining that control completes or controls failed, based on SIP host-host protocol, control is completed message or control failed message and send to described management server through local area network (LAN) and the Internet, by management server based on SIP host-host protocol, described control completed message or controls failed message being transmitted to described user terminal through the Internet and/or mobile communications network.
Described smart machine, also comprises:
Active reporting unit, during for determining to meet active reporting condition, obtains smart machine parameter; Obtained smart machine parameter is encapsulated in active reporting message, and based on SIP host-host protocol, through local area network (LAN) and the Internet, this active reporting message is sent to described management server, by management server based on SIP host-host protocol, through the Internet and/or mobile communications network, this message is transmitted to described user terminal.
Described smart machine, when determining to meet active reporting condition, described active reporting unit specifically for:
When determining smart machine abnormal parameters, determine to meet report condition; Or
When determining the active reporting cycle reaching setting, determine to meet report condition.
Described smart machine, also comprises:
Communication unit, for communicating in the following way with described user terminal, described management server comprises protocol server and application server:
Described smart machine adopts SIP host-host protocol, communicate with described protocol server with the Internet through local area network (LAN), described protocol server adopts described SIP host-host protocol, through the Internet and described application server communication, described protocol server adopts described SIP host-host protocol, also through the Internet and/or mobile communications network and described user terminal communication.
Present invention also offers a kind of user terminal, comprising:
Transmitting element, for based on SIP host-host protocol, transmit control message to management server through the Internet and/or mobile communications network, by management server based on SIP host-host protocol, through the Internet and local area network (LAN), described control message is transmitted to smart machine, the content that described control message carries comprises smart machine parameter and control information;
Receiving element, for based on SIP host-host protocol, receiving management server complete message based on SIP host-host protocol through the control from described smart machine that the Internet and/or mobile communications network forward or control failed message and display for pointing out user to control or controlling failed interface.
Described user terminal, also comprises:
Receive resolution unit, for based on SIP host-host protocol, receive the active reporting message from described smart machine that described management server forwards through the Internet and/or mobile communications network based on SIP host-host protocol, described active reporting message carries the smart machine parameter of described acquisition;
Described active reporting message is resolved;
By the parameter display of the smart machine in the active reporting message after parsing on described user terminal.
Described user terminal, also comprises:
Communication unit, for communicating in the following way with described smart machine, described management server comprises protocol server and application server:
Described user terminal adopts SIP host-host protocol, communicate with described protocol server through the Internet and/or mobile communications network, described protocol server adopts described SIP host-host protocol, through the Internet and described application server communication, described protocol server adopts described SIP host-host protocol, also communicates with described smart machine with local area network (LAN) through the Internet.
Utilize smart machine control method provided by the invention and equipment, there is following beneficial effect: by smart machine and user terminal being bound, and the Internet, mobile communications network, local area network (LAN) combine the message real-time Transmission achieved between user terminal and smart machine, and use SIP host-host protocol message transfer, improve speed and stability that user terminal transmits control message to smart machine, reduce smart machine and receive the delayed probability of user terminal message, achieve the control to smart machine that user terminal is real-time.
Accompanying drawing explanation
The smart machine control method flow chart based on smart machine side that Fig. 1 provides for the embodiment of the present invention;
The user terminal that Fig. 2 provides for the embodiment of the present invention and the method flow diagram that smart machine is bound;
The smart machine active reporting message flow chart that Fig. 3 provides for the embodiment of the present invention;
The smart machine control method flow chart based on subscriber terminal side that Fig. 4 provides for the embodiment of the present invention;
The method flow diagram of the user terminal processes smart machine active reporting message that Fig. 5 provides for the embodiment of the present invention;
The smart machine that Fig. 6 provides for the embodiment of the present invention and user terminal communication schematic diagram;
The mobile phone that Fig. 7 provides for the embodiment of the present invention and the communication flow diagram that refrigerator is bound;
The mobile phone that Fig. 8 provides for the embodiment of the present invention controls refrigerator flow chart;
The smart machine schematic diagram that Fig. 9 provides for the embodiment of the present invention;
The user terminal schematic diagram that Figure 10 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, smart machine control method provided by the invention is illustrated in greater detail.
The embodiment of the present invention provides a kind of smart machine control method, as shown in Figure 1, comprising:
Step 101, smart machine is based on SIP host-host protocol, and the control message carrying out user terminal that receiving management server forwards through the Internet and local area network (LAN) based on SIP host-host protocol, the content that described control message carries comprises smart machine parameter and control information.
Concrete, the control message that user terminal sends to smart machine, management server can be entered through mobile communications network and/or the Internet, management server can process this control message in real time, that is: by this control message stored in database, and from database, find the address information of described smart machine, according to this address information, control message is transmitted to smart machine.Wherein, management server can forward the message of transmission mutually between the smart machine of multipair binding and user terminal simultaneously, and smart machine can be medical refrigerator, television set, refrigerator, air-conditioning etc., and user terminal can be mobile phone, computer, panel computer etc.Preferably, described smart machine and described user terminal are bound.
Step 102, resolves described control message.
Concrete, after smart machine receives the control message of user terminal transmission, this control message is resolved, thus obtain the concrete control information of carrying in this control message, corresponding control operation is performed according to this control information and smart machine parameter to make smart machine, this control information can be that device parameter current for smart machine is revised as set point, or the current state of smart machine is revised as startup from standby.
Step 103, according to the smart machine parameter in the control message after parsing and control information, controls described smart machine.
Smart machine performs corresponding control operation according to smart machine parameter and control information, and this control operation can be close smart machine or open smart machine or other operation.
Step 104, when determining that control completes or controls failed, based on SIP host-host protocol, control is completed message or control failed message and send to described management server through local area network (LAN) and the Internet, by management server based on SIP host-host protocol, described control completed message or controls failed message being transmitted to described user terminal through the Internet and/or mobile communications network.
SIP (Session Initiation Protocol, session protocol) host-host protocol is the signaling control protocol of an application layer, independent of bottom host-host protocol TCP/UDP, can be used for foundation, amendment and the both sides stopped on IP network or Multiparty Multimedia session, this host-host protocol is comparatively flexible, extensibility is strong, can realize point-to-point, between point to multi--point, multi-multipoint equipment data transmit-receive, thus form star-like, tree-shaped, honeycomb type network configuration.Certainly HTML (Hypertext Markup Language) (http protocol) can also be used.Because the message transmitted between user terminal and smart machine is relatively simple, therefore the embodiment of the present invention uses the message between SIP host-host protocol transmission user terminal and smart machine can improve transmission of messages speed.
Concrete, smart machine is after performing control operation according to control information, the message controlled can be sent to user terminal, control operation is performed according to its control information with informing user terminal smart machine, this control completes message must enter management server through local area network (LAN) and the Internet, after having management servers process, be transmitted to user terminal through the Internet and/or mobile communications network.If smart machine could not perform corresponding control operation according to the control information of user terminal, then, determine to control unsuccessfully, control failed message is sent to user terminal, to enter the detailed process of user terminal similar with controlling success message to control detailed process that failed message enters user terminal, repeats no more here.Wherein, mobile communications network is 3G (3rd Generation, G mobile communication) network or 4G (forth generation mobile communication technology) network.Then user terminal specifically transmits control message to management server through 3G network and/or the Internet; Or user terminal specifically transmits control message to management server through 4G network and/or the Internet.When subscriber equipment is computer, then user terminal transmits control message to management server through the Internet, and when user terminal is mobile phone, user terminal transmits control message to management server through mobile communications network and the Internet.
Preferably, user terminal do not receive in setting-up time section smart machine send control complete message or control failed message time, again transmit control message to smart machine; Determine to send when the control not receiving smart machine after m control message yet completes message or control failed message to smart machine to report an error.
In the embodiment of the present invention, management server is used for processing the message transmitted between user terminal and smart machine specially, and carries out data management.Account and the encrypted message of the address information of subscriber equipment and smart machine, each user terminal or smart machine is have recorded in the database of this management server.Preferably, after the user terminal mutually bound or smart machine sign in management server, management server can notify smart machine or user terminal, and whether opposite end is online, if the user terminal of binding mutually and smart machine are all online, so the two can communicate.User terminal is by the Internet and/or mobile communications network and management server communication, management server is communicated with local area network (LAN) smart machine by the Internet, user terminal can be controlled smart machine in real time, thus reduce the time delay that user terminal controls smart machine greatly.
Utilize the embodiment of the present invention, subscriber equipment is through the Internet and/or mobile communications network and management server communication, smart machine is through local area network (LAN) and the Internet and management server communication, thus achieve the Long-distance Control of user terminal to smart machine, such as: arrange smart machine parameter, inquire about the current state etc. of smart machine, make user to control smart machine in real time and obtain the status data of smart machine.
Based on above-described embodiment, user terminal is before controlling smart machine, and preferably user terminal and smart machine are bound, and the detailed process that smart machine and user terminal are bound as shown in Figure 2, comprising:
Step 201, user terminal, based on SIP host-host protocol, through the Internet and/or mobile communications network, sends registration message to management server, carries account and the encrypted message of user terminal in this registration message.
User terminal is registered to management server, and smart machine was registered to management server before dispatching from the factory.
Step 202, after user terminal succeeds in registration, based on SIP host-host protocol, through the Internet and/or mobile communications network, send binding message to management server, in this binding message, carry the account of user terminal and encrypted message, the account of smart machine and encrypted message.
Step 203, this binding message is saved in database by management server, and based on SIP host-host protocol, through the Internet and/or mobile communications network, sends binding success message to user terminal.
The user terminal and the smart machine that are registered to management server have multiple, after therefore user terminal needs to bind its smart machine that will control, could control this smart machine fast and accurately.Further, after the two binding, user terminal can monitor the online information with the smart machine of its binding in real time, that is, can monitor this smart machine in real time and whether logged on management server, if online, can control smart machine; Smart machine should be always online state, if online, then may smart machine power-off or go wrong, and now need manually to check smart machine.Wherein, a user terminal can be bound with multiple smart machine, and now, this user terminal can receive the message from multiple smart machine simultaneously; A smart machine also can be bound with multiple user terminal, and now, multiple user terminal can receive the message from this smart machine simultaneously.
Based on above-described embodiment, in actual applications, smart machine also can initiatively by its current state reporting to user terminal, thus enable user understand the current state of smart machine in real time, therefore, preferably, himself parameter information of smart machine active reporting is to user terminal, with the state enabling user understand smart machine, as shown in Figure 3, comprising:
Step 301, when determining to meet active reporting condition, obtains smart machine parameter.
Smart machine, when determining to meet active reporting condition, obtains himself current device parameter.Preferably, when determining smart machine abnormal parameters, determine to meet report condition; Or, when determining the active reporting cycle reaching setting, determine to meet report condition.
Concrete, when the parameter of smart machine is illegally modified or its parameter exceedes setting setting threshold scope, determines smart machine abnormal parameters, now need to report to the police to user terminal, report user terminal by anomaly parameter.
Step 302, the smart machine parameter of acquisition is encapsulated in active reporting message, and based on SIP host-host protocol, through local area network (LAN) and the Internet, this active reporting message is sent to management server, by management server based on SIP host-host protocol, through the Internet and/or mobile communications network, this active reporting message is transmitted to user terminal.
Utilize the preferred implementation of smart machine active reporting message, self current state can be sent to user terminal by smart machine, to enable the long-range state recognizing smart machine of user, thus realizes the remote monitoring to smart machine.
Preferably, above-mentioned management server comprises: protocol server and application server, and smart machine may be, but is not limited to user terminal and communicates in the following way:
Smart machine adopts SIP host-host protocol, communicate with protocol server with the Internet through local area network (LAN), protocol server adopts SIP host-host protocol, through the Internet and application server communication, protocol server adopts SIP host-host protocol, also through the Internet and/or mobile communications network and user terminal communication.
Concrete, protocol server is corresponding with SIP host-host protocol, the address information of binding information between the user terminal synchronous with management server and smart machine and smart machine and user terminal is stored in protocol server, also store the address information of management server simultaneously, based on SIP host-host protocol, this protocol server is responsible for the message from smart machine and/or user terminal to be transmitted to application server, is also responsible for the message after application server processes to be transmitted to smart machine or user terminal based on SIP host-host protocol.Such as, smart machine active reporting is to the active reporting message of user terminal, first can be transmitted to application server by protocol server, this message is saved in database and after finding the address information of user terminal by application server, this active reporting message is sent to protocol server, and this message is transmitted to user terminal by protocols having server.
The various embodiments described above are based on the detailed description of smart machine side to smart machine control method of the present invention, be described in detail below, as shown in Figure 4, comprise based on subscriber terminal side to smart machine control method provided by the invention:
Step 401, when user terminal is determined to send control information to smart machine, based on SIP host-host protocol, transmit control message to management server through the Internet and/or mobile communications network, by management server based on SIP host-host protocol, through the Internet and local area network (LAN), described control message is transmitted to smart machine, the content that described control message carries comprises smart machine parameter and control information.
Concrete, the control message that user terminal sends to this smart machine, management server can be entered through mobile communications network and/or the Internet, management server can process this control message in real time, that is: by this control message stored in database, and from database, find the address information of described smart machine, according to this address information by control message, be transmitted to smart machine through local area network (LAN) and the Internet.Wherein, management server can forward the message of transmission mutually between the smart machine of multipair binding and user terminal simultaneously, and smart machine can be medical refrigerator, television set, refrigerator, air-conditioning etc., and user terminal can be mobile phone, computer, panel computer etc.Preferably, described smart machine and described user terminal are bound.
Step 402, based on SIP host-host protocol, receiving management server completes message based on the control from described smart machine of SIP host-host protocol through the Internet and/or mobile communications network forwarding or controls failed message and show for pointing out user to control or controlling failed interface.
Concrete, smart machine is after performing control operation according to control information, the message controlled can be sent to user terminal, control operation is performed according to its control information with informing user terminal smart machine, this control completes message must enter management server through local area network (LAN) and the Internet, after having management servers process, be transmitted to user terminal through the Internet and/or mobile communications network.User terminal calls the interface for pointing out user to control and shows this interface on the subscriber terminal when receiving and having controlled message, controlled to point out user.If smart machine could not perform corresponding control operation according to the control information of user terminal, then determine to control unsuccessfully, then control failed message is sent to user terminal, to enter the detailed process of user terminal similar with controlling success message to control detailed process that failed message enters user terminal, repeats no more here.Wherein, mobile communications network is 3G (3rd Generation, G mobile communication) network or 4G (forth generation mobile communication technology) network.Then user terminal specifically transmits control message to management server through 3G network and/or the Internet; Or user terminal specifically transmits control message to management server through 4G network and/or the Internet.When subscriber equipment is computer, then user terminal transmits control message to management server through the Internet, and when user terminal is mobile phone, user terminal transmits control message to management server through mobile communications network and the Internet.
Preferably, user terminal do not receive in setting-up time section smart machine send control complete message or control failed message time, again based on SIP host-host protocol, transmit control message to smart machine; Determine to send when the control not receiving smart machine after m control message yet completes message or control failed message to smart machine to report an error.
In the embodiment of the present invention, management server is used for processing the message transmitted between user terminal and smart machine specially, have recorded account and the encrypted message of the address information of subscriber equipment and smart machine, each user terminal or smart machine in the database of this management server.Preferably, after the user terminal mutually bound or smart machine sign in management server, management server can notify smart machine or user terminal, and whether opposite end is online, if the user terminal of binding mutually and smart machine are all online, so the two can communicate.User terminal is by the Internet and/or mobile communications network and management server communication, management server is communicated with local area network (LAN) smart machine by the Internet, user terminal can be controlled smart machine in real time, thus reduce the time delay that user terminal controls smart machine greatly.
Utilize the embodiment of the present invention, subscriber equipment is based on SIP host-host protocol, through the Internet and/or mobile communications network and management server communication, smart machine is based on SIP host-host protocol, through local area network (LAN) and the Internet and management server communication, thus achieve the Long-distance Control of user terminal to smart machine, such as: smart machine parameter is arranged, inquires about the current state etc. of smart machine, user can be controlled smart machine in real time and obtain the status data of smart machine.
Based on the embodiment that Fig. 4 provides, user terminal also receives the active reporting message of smart machine, thus reaches the effect of real-time monitoring intelligent equipment, as shown in Figure 5, comprising:
Step 501, based on SIP host-host protocol, receive the active reporting message from described smart machine that described management server forwards through the Internet and/or mobile communications network based on SIP host-host protocol, described active reporting message carries the smart machine parameter of described acquisition.
Step 502, resolves described active reporting message;
Step 503, by the parameter display of the smart machine in the active reporting message after parsing on described user terminal.
Certainly, user terminal also periodically can obtain the parameter of smart machine, thus reaches the object of real-time monitoring intelligent equipment, specifically by encapsulating the information of active obtaining parameter in the control information that sends at user terminal.
In the various embodiments described above, the form that user terminal receives the message forwarded through management server has multiple, comprising: the page in user terminal receives, message push form receives, with the reception of note form, by mail reception etc.
Preferably, above-mentioned management server comprises: protocol server and application server, and user terminal may be, but is not limited to smart machine and communicates in the following way:
User terminal adopts SIP host-host protocol, communicate with protocol server through the Internet and/or mobile communications network, protocol server adopts SIP host-host protocol, through the Internet and application server communication, described server adopts SIP host-host protocol, also communicates with smart machine with local area network (LAN) through the Internet.
Further preferably, above-mentioned protocol server is sip server.The beneficial effect that brings of the specific implementation process of the preferred communication mode of above-mentioned user terminal and smart machine and which, with reference to the preferred communication mode of above-mentioned smart machine and user terminal, repeats no more here.
Below in conjunction with detailed implementation process, smart machine control method provided by the invention is described.
Embodiment one:
Suppose that smart machine is intelligent refrigerator-freezer, user terminal is mobile phone, then the annexation between mobile phone, intelligent refrigerator-freezer, protocol server and application server, and four communicate based on SIP host-host protocol, as shown in Figure 6.Before mobile phone controls smart machine or smart machine initiatively sends parameter to mobile phone, mobile phone and refrigerator need first to carry out registering and binding, and as shown in Figure 7, specifically comprise:
Step 701, is registered to application server by refrigerator in advance.
Step 702, mobile phone, through 3G network and the Internet, sends the request being registered to application server to protocol server.
Step 703, protocol server through the Internet by this request forward to application server.
After application server receives this request, through the Internet, the response message successfully receiving this request is returned to protocol server, this response message is transmitted to mobile phone through the Internet and 3G network by protocol server.
Step 704, after mobile telephone registration completes, application server returns successfully registration message through the Internet to protocol server.
Wherein, specifically return the successful response message of mobile telephone registration to protocol server, during mobile telephone registration failure, the response message of registration failure is returned to mobile phone, and after mobile telephone registration success, the log-on message of this mobile phone can be stored in the database that application server is corresponding, this log-on message is updated to database corresponding to protocol server simultaneously.
Step 705, this successful registration message is transmitted to mobile phone through 3G network and the Internet by protocol server.
Wherein, after mobile phone receives successful registration message, the response message receiving successful registration message is sent a protocol server, and this response message is transmitted to application server by protocol server.
Step 706, mobile phone sends the request of binding refrigerator through 3G network and internet protocol services device;
Step 707, this request message is transmitted to application server through the Internet by protocol server.
After application server receives this bind request, through the Internet, the response message successfully receiving this request is returned to protocol server, this response message is transmitted to mobile phone through the Internet and 3G network by protocol server.
Step 708, after binding success, application server returns binding success message through the Internet to protocol server;
After mobile phone and refrigerator binding success, can the information of memory mobile phone and the binding of this refrigerator in the database that application server is corresponding, this binding information is updated to database corresponding to protocol server simultaneously.
Step 709, this binding success message is transmitted to mobile phone through 3G network and the Internet by protocol server.
After mobile phone and refrigerator binding success, mobile phone just can control refrigerator or refrigerator just can its parameter of active reporting to refrigerator, introduce with another embodiment the process that mobile phone controls refrigerator below, as shown in Figure 8, comprising:
Step 801, mobile phone transmits control message to protocol server through 3G network and the Internet.
Step 802, this control message is transmitted to application server through the Internet and processes by protocol server.
Step 803, after application server receives this control message, this control message is saved in database corresponding to application server, and in this database, searches the address information of refrigerator, according to this address information, through the Internet, this control message is sent to protocol server.
While application server processes control message, return successfully the response of receiving control message to protocol server, and by protocol server, this response is transmitted to mobile phone.
Step 804, this control message is transmitted to refrigerator through the Internet by protocol server.
After refrigerator receives this control message, send the response of successful receiving control message through local area network (LAN) and the Internet to protocol server, and through the Internet, this response is transmitted to application server by protocol server.
Step 805, refrigerator receives after this control message through 3G network and the Internet, resolves this control message.
Step 806, refrigerator, according to the refrigerator parameter of carrying in the control message after parsing and control information, performs corresponding control operation.
Step 807, after refrigerator executes control operation, completes message through 3G network and the Internet by control and sends to protocol server.
Step 808, this control is completed message through the Internet and is transmitted to application server by protocol server.
Application server receives after this control completes message, sends the response successfully receiving and controlled message, through 3G network and the Internet, this message is transmitted to refrigerator by protocol server through the Internet to protocol server.
Step 809, application server receives after this control completes message, this control is completed message and is saved in database corresponding to application server, and in this database, search the address information of mobile phone, according to this address information, through the Internet, this control is completed message and send to protocol server.
Step 810, control, through the Internet and 3G network, is completed message and is transmitted to mobile phone by protocol server.
Mobile phone receives after control completes message, through the Internet and 3G network, the response successfully receiving this control and complete message is sent to protocol server, through the Internet, this response is sent to application server by protocol server.
Process and the step 807-step 810 of refrigerator active reporting message are similar, no longer illustrate here.
The refrigerator provided in this embodiment comprises: intelligent control module (MCU), execution control module.Wherein, intelligent control module can select general Chip Microcomputer A RM (Advanced RISC Machine, Advanced Reduced Instruction Set machine) or MIPS (Microcomputer without interlocked pipeline stages, the microprocessor without inner interlocked pipelining-stage) realization.By RS485 (standard of serial data interface) serial communication between intelligent control module (MCU) and execution control module, concrete, MCU sends fault inquiry message or temperature query messages by RS485 serial ports to execution control module, perform the message that control module sends according to MCU, the data of this message request are returned to MCU by RS485 serial ports.
The embodiment of the present invention additionally provides a kind of smart machine, as shown in Figure 9, comprising:
Receiving element 901, for based on SIP host-host protocol, the control message carrying out user terminal that receiving management server forwards through the Internet and local area network (LAN) based on SIP host-host protocol, the content that described control message carries comprises smart machine parameter and control information;
Resolution unit 902, for resolving described control message;
Control unit 903, for according to the smart machine parameter in the control message after parsing and control information, controls described smart machine;
Transmitting element 904, during for determining that control completes or controls failed, based on SIP host-host protocol, control is completed message or control failed message and send to described management server through local area network (LAN) and the Internet, by management server based on SIP host-host protocol, described control completed message or controls failed message being transmitted to described user terminal through the Internet and/or mobile communications network.
Preferably, described smart machine and described user terminal are bound.
Described smart machine, also comprises:
Active reporting unit, during for determining to meet active reporting condition, obtains smart machine parameter; Obtained smart machine parameter is encapsulated in active reporting message, and based on SIP host-host protocol, through local area network (LAN) and the Internet, this active reporting message is sent to described management server, by management server based on SIP host-host protocol, through the Internet and/or mobile communications network, this message is transmitted to described user terminal.
Described smart machine, when determining to meet active reporting condition, described active reporting unit specifically for:
When determining smart machine abnormal parameters, determine to meet report condition; Or
When determining the active reporting cycle reaching setting, determine to meet report condition.
Described smart machine, also comprises:
Communication unit, for communicating in the following way with described user terminal, described management server comprises protocol server and application server:
Described smart machine adopts SIP host-host protocol, communicate with described protocol server with the Internet through local area network (LAN), described protocol server adopts described SIP host-host protocol, through the Internet and described application server communication, described protocol server adopts described SIP host-host protocol, also through the Internet and/or mobile communications network and described user terminal communication.
Present invention also offers a kind of user terminal, as shown in Figure 10, comprising:
Transmitting element 1001, for based on SIP host-host protocol, transmit control message to management server through the Internet and/or mobile communications network, by management server based on SIP host-host protocol, through the Internet and local area network (LAN), described control message is transmitted to smart machine, the content that described control message carries comprises smart machine parameter and control information;
Receiving element 1002, for based on SIP host-host protocol, receiving management server complete message based on SIP host-host protocol through the control from described smart machine that the Internet and/or mobile communications network forward or control failed message and display for pointing out user to control or controlling failed interface.
Described user terminal, also comprises:
Receive resolution unit, for based on SIP host-host protocol, receive the active reporting message from described smart machine that described management server forwards through the Internet and/or mobile communications network based on SIP host-host protocol, described active reporting message carries the smart machine parameter of described acquisition;
Described active reporting message is resolved;
By the parameter display of the smart machine in the active reporting message after parsing on described user terminal.
Described user terminal, also comprises:
Communication unit, for communicating in the following way with described smart machine, described management server comprises protocol server and application server:
Described user terminal adopts SIP host-host protocol, communicate with described protocol server through the Internet and/or mobile communications network, described protocol server adopts described SIP host-host protocol, through the Internet and described application server communication, described protocol server adopts described SIP host-host protocol, also communicates with described smart machine with local area network (LAN) through the Internet.
Utilize smart machine control method provided by the invention and equipment, there is following beneficial effect: by smart machine and user terminal being bound, and the Internet, mobile communications network, local area network (LAN) combine the message real-time Transmission achieved between user terminal and smart machine, and use SIP host-host protocol message transfer, improve speed and stability that user terminal transmits control message to smart machine, reduce smart machine and receive the delayed probability of user terminal message, achieve the control to smart machine that user terminal is real-time.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (14)

1. a smart machine control method, is characterized in that, comprising:
Smart machine based on SIP host-host protocol, the control message carrying out user terminal that receiving management server forwards through the Internet and local area network (LAN) based on SIP host-host protocol, the content that described control message carries comprises smart machine parameter and control information;
Described control message is resolved;
According to the smart machine parameter in the control message after parsing and control information, described smart machine is controlled;
When determining that control completes or controls failed, based on SIP host-host protocol, control is completed message or control failed message and send to described management server through local area network (LAN) and the Internet, by management server based on SIP host-host protocol, described control completed message or controls failed message being transmitted to described user terminal through the Internet and/or mobile communications network.
2. the method for claim 1, is characterized in that, also comprises:
When determining to meet active reporting condition, obtain smart machine parameter;
Obtained smart machine parameter is encapsulated in active reporting message, and based on SIP host-host protocol, through local area network (LAN) and the Internet, this active reporting message is sent to described management server, by management server based on SIP host-host protocol, through the Internet and/or mobile communications network, this message is transmitted to described user terminal.
3. method as claimed in claim 2, is characterized in that, determine to meet active reporting condition, specifically comprise:
When determining smart machine abnormal parameters, determine to meet report condition; Or
When determining the active reporting cycle reaching setting, determine to meet report condition.
4. the method as described in as arbitrary in claim 1-3, it is characterized in that, described management server comprises protocol server and application server, and described smart machine communicates in the following way with described user terminal:
Described smart machine adopts SIP host-host protocol, communicate with described protocol server with the Internet through local area network (LAN), described protocol server adopts described SIP host-host protocol, through the Internet and described application server communication, described protocol server adopts described SIP host-host protocol, also through the Internet and/or mobile communications network and described user terminal communication.
5. a smart machine control method, is characterized in that, comprising:
User terminal is based on SIP host-host protocol, transmit control message to management server through the Internet and/or mobile communications network, by management server based on SIP host-host protocol, through the Internet and local area network (LAN), described control message is transmitted to smart machine, the content that described control message carries comprises smart machine parameter and control information;
Based on SIP host-host protocol, receiving management server completes message based on the control from described smart machine of SIP host-host protocol through the Internet and/or mobile communications network forwarding or controls failed message and show for pointing out user to control or controlling failed interface.
6. method as claimed in claim 5, is characterized in that, also comprise:
Based on SIP host-host protocol, receive the active reporting message from described smart machine that described management server forwards through the Internet and/or mobile communications network based on SIP host-host protocol, described active reporting message carries the smart machine parameter of described acquisition;
Described active reporting message is resolved;
By the parameter display of the smart machine in the active reporting message after parsing on described user terminal.
7. method as claimed in claim 5, it is characterized in that, described management server comprises protocol server and application server, and described user terminal communicates in the following way with described smart machine:
Described user terminal adopts SIP host-host protocol, communicate with described protocol server through the Internet and/or mobile communications network, described protocol server adopts described SIP host-host protocol, through the Internet and described application server communication, described protocol server adopts described SIP host-host protocol, also communicates with described smart machine with local area network (LAN) through the Internet.
8. a smart machine, is characterized in that, comprising:
Receiving element, for based on SIP host-host protocol, the control message carrying out user terminal that receiving management server forwards through the Internet and local area network (LAN) based on SIP host-host protocol, the content that described control message carries comprises smart machine parameter and control information;
Resolution unit, for resolving described control message;
Control unit, for according to the smart machine parameter in the control message after parsing and control information, controls described smart machine;
Transmitting element, during for determining that control completes or controls failed, based on SIP host-host protocol, control is completed message or control failed message and send to described management server through local area network (LAN) and the Internet, by management server based on SIP host-host protocol, described control completed message or controls failed message being transmitted to described user terminal through the Internet and/or mobile communications network.
9. smart machine as claimed in claim 8, is characterized in that, also comprise:
Active reporting unit, during for determining to meet active reporting condition, obtains smart machine parameter; Obtained smart machine parameter is encapsulated in active reporting message, and based on SIP host-host protocol, through local area network (LAN) and the Internet, this active reporting message is sent to described management server, by management server based on SIP host-host protocol, through the Internet and/or mobile communications network, this message is transmitted to described user terminal.
10. smart machine as claimed in claim 8, is characterized in that, when determining to meet active reporting condition, described active reporting unit specifically for:
When determining smart machine abnormal parameters, determine to meet report condition; Or
When determining the active reporting cycle reaching setting, determine to meet report condition.
11. as arbitrary in claim 8-10 as described in smart machine, it is characterized in that, also comprise:
Communication unit, for communicating in the following way with described user terminal, described management server comprises protocol server and application server:
Described smart machine adopts SIP host-host protocol, communicate with described protocol server with the Internet through local area network (LAN), described protocol server adopts described SIP host-host protocol, through the Internet and described application server communication, described protocol server adopts described SIP host-host protocol, also through the Internet and/or mobile communications network and described user terminal communication.
12. 1 kinds of user terminals, is characterized in that, comprising:
Transmitting element, for based on SIP host-host protocol, transmit control message to management server through the Internet and/or mobile communications network, by management server based on SIP host-host protocol, through the Internet and local area network (LAN), described control message is transmitted to smart machine, the content that described control message carries comprises smart machine parameter and control information;
Receiving element, for based on SIP host-host protocol, receiving management server complete message based on SIP host-host protocol through the control from described smart machine that the Internet and/or mobile communications network forward or control failed message and display for pointing out user to control or controlling failed interface.
13. user terminals as claimed in claim 12, is characterized in that, also comprise:
Receive resolution unit, for based on SIP host-host protocol, receive the active reporting message from described smart machine that described management server forwards through the Internet and/or mobile communications network based on SIP host-host protocol, described active reporting message carries the smart machine parameter of described acquisition;
Described active reporting message is resolved;
By the parameter display of the smart machine in the active reporting message after parsing on described user terminal.
14. user terminals as claimed in claim 12, is characterized in that, also comprise:
Communication unit, for communicating in the following way with described smart machine, described management server comprises protocol server and application server:
Described user terminal adopts SIP host-host protocol, communicate with described protocol server through the Internet and/or mobile communications network, described protocol server adopts described SIP host-host protocol, through the Internet and described application server communication, described protocol server adopts described SIP host-host protocol, also communicates with described smart machine with local area network (LAN) through the Internet.
CN201410495145.3A 2014-09-24 2014-09-24 Control method and device of intelligent device Pending CN104243482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410495145.3A CN104243482A (en) 2014-09-24 2014-09-24 Control method and device of intelligent device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410495145.3A CN104243482A (en) 2014-09-24 2014-09-24 Control method and device of intelligent device

Publications (1)

Publication Number Publication Date
CN104243482A true CN104243482A (en) 2014-12-24

Family

ID=52230831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410495145.3A Pending CN104243482A (en) 2014-09-24 2014-09-24 Control method and device of intelligent device

Country Status (1)

Country Link
CN (1) CN104243482A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450779A (en) * 2015-12-31 2016-03-30 九阳股份有限公司 Method for achieving connection between one household electric appliance and multiple servers
WO2016124015A1 (en) * 2015-02-05 2016-08-11 小米科技有限责任公司 Device binding method and equipment
CN106292313A (en) * 2015-06-29 2017-01-04 中兴通讯股份有限公司 The control method of intelligent appliance, Apparatus and system
CN108023944A (en) * 2017-11-29 2018-05-11 深圳市天颐健康科技有限公司 Cloud platform and its control method, smart machine and its control method
CN111181749A (en) * 2018-11-09 2020-05-19 阿里巴巴集团控股有限公司 Operation and maintenance method and device for equipment in local area network and electronic equipment
WO2021073447A1 (en) * 2019-10-16 2021-04-22 中兴通讯股份有限公司 Management and control method, terminal, system and computer-readable storage medium
WO2024051112A1 (en) * 2022-09-08 2024-03-14 声龙(新加坡)私人有限公司 Device search method and apparatus, and device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546734A (en) * 2011-01-04 2012-07-04 阿里巴巴集团控股有限公司 Data information processing system and method
CN102820988A (en) * 2012-08-01 2012-12-12 广东志高空调有限公司 Household appliance control method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546734A (en) * 2011-01-04 2012-07-04 阿里巴巴集团控股有限公司 Data information processing system and method
CN102820988A (en) * 2012-08-01 2012-12-12 广东志高空调有限公司 Household appliance control method and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
杜坤坤等: "《情感机器人》", 30 October 2012 *
邵长恒等: "《物联网原理与行业应用》", 30 June 2013 *
陈豫: "《面向信息服务的信息技术》", 31 December 2013 *
鹿曼: "基于Android的智能家居控制系统的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016124015A1 (en) * 2015-02-05 2016-08-11 小米科技有限责任公司 Device binding method and equipment
US10560491B2 (en) 2015-02-05 2020-02-11 Xiaomi Inc. Methods and apparatuses for binding with device
CN106292313A (en) * 2015-06-29 2017-01-04 中兴通讯股份有限公司 The control method of intelligent appliance, Apparatus and system
CN105450779A (en) * 2015-12-31 2016-03-30 九阳股份有限公司 Method for achieving connection between one household electric appliance and multiple servers
CN105450779B (en) * 2015-12-31 2019-05-21 九阳股份有限公司 The method of one household appliance connection multiserver
CN108023944A (en) * 2017-11-29 2018-05-11 深圳市天颐健康科技有限公司 Cloud platform and its control method, smart machine and its control method
CN108023944B (en) * 2017-11-29 2021-09-10 深圳市天颐健康科技有限公司 Cloud platform and control method thereof, intelligent equipment and control method thereof
CN111181749A (en) * 2018-11-09 2020-05-19 阿里巴巴集团控股有限公司 Operation and maintenance method and device for equipment in local area network and electronic equipment
WO2021073447A1 (en) * 2019-10-16 2021-04-22 中兴通讯股份有限公司 Management and control method, terminal, system and computer-readable storage medium
WO2024051112A1 (en) * 2022-09-08 2024-03-14 声龙(新加坡)私人有限公司 Device search method and apparatus, and device and storage medium

Similar Documents

Publication Publication Date Title
CN104243482A (en) Control method and device of intelligent device
CN108712485B (en) Resource subscription method and device for Internet of things equipment
KR101740449B1 (en) Method for changing gateway in machine-to-machine (m2m) system and device therefor
CN104113458A (en) Mobile terminal and intelligent household appliance interconnecting method and device
EP2911468A1 (en) Method, device and terminal for realizing application of internet of things
CN104980898A (en) Information pushing method, system and equipment
CN106961426B (en) Communication method and device of intelligent equipment
US10341830B2 (en) Method and apparatus for sending or forwarding information
CN107154972A (en) A kind of Internet of Things smart machine state synchronization method and system based on equipment snapshot
CN102546646A (en) System and method for realizing voice talkback function
CN105072149A (en) Method and device for building remote communication through proxy gateway
CN103457985A (en) Method and system of dual-channel communication
CN105991423A (en) Gateway and method for calling device through gateway
CN104076792A (en) Frequency converter remote monitoring system based on internet
CN110719581A (en) Control method, device and system for terminal application
CN105376209A (en) Network agent equipment, building monitoring system and method thereof
CN105141657A (en) Novel network communication method suitable for intelligent household control system
CN103973648A (en) Application data push method, device and system
CN105072148A (en) Method and device for building connection with terminal
CN103888412A (en) Address book automatic generation and query method, and phone
CN104243483A (en) Message processing method and message processing equipment
CN104955153A (en) Method, device and appliances for discovering resources
CN103686863A (en) Control signaling transfer method and control signaling transfer system
CN105306442A (en) Proxy server and command transmission methods
EP3223493A1 (en) Point-to-point protocol (ppp)-based dial-on-demand method and device, and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141224

RJ01 Rejection of invention patent application after publication