CN105871995A - Method for controlling intelligent device by router and the router - Google Patents

Method for controlling intelligent device by router and the router Download PDF

Info

Publication number
CN105871995A
CN105871995A CN201510938837.5A CN201510938837A CN105871995A CN 105871995 A CN105871995 A CN 105871995A CN 201510938837 A CN201510938837 A CN 201510938837A CN 105871995 A CN105871995 A CN 105871995A
Authority
CN
China
Prior art keywords
smart machine
router
user account
internet
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
Application number
CN201510938837.5A
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.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201510938837.5A priority Critical patent/CN105871995A/en
Publication of CN105871995A publication Critical patent/CN105871995A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/56Routing software
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for controlling an intelligent device by a router. The method comprises following steps of sending a request for logging in a user account to an internet of things server, thus logging in the user account, wherein the request comprises the user account and a user account password; receiving a control instruction which is sent by an intelligent terminal through adoption of the internet of things server and is specific to the intelligent device bound with the user account, wherein the control instruction comprises the device ID of the intelligent device; forwarding the control instruction to the corresponding intelligent device according to the device ID and a device address; receiving the execution result of the intelligent device specific to the control instruction; and forwarding the execution result of the intelligent device specific to the control instruction to the intelligent terminal by the internet of things server. The invention also discloses the router. According to the method and the router, the intelligent terminal can control the intelligent device remotely.

Description

Router controls method and the router of smart machine
Technical field
Embodiments of the invention relate to technology of Internet of things, control intelligence more particularly, to a kind of router The method of energy equipment and a kind of wireless router.
Background technology
Network is throughout our life at present, and role in daily life is more and more important, User needs to be controlled the work of intelligent appliance by network remote, such as, open air-conditioning and check refrigerator shape State etc., but current intelligent appliance is generally limited in LAN use, and user terminal is by direct-connected Mode complete the control to intelligent appliance, use distance to be very limited.
Summary of the invention
It is an object of the present invention to provide a kind of new technology being controlled smart machine by network remote Scheme.
According to the first aspect of the invention, it is provided that a kind of router controls the method for smart machine, bag Include following steps: send the request of login user account to log in described user's account to Internet of Things server Number, described request comprises user account and user account password;Receive intelligent terminal by described The control instruction to the smart machine that described user account is bound that Internet of Things server sends, described control System instruction comprises the device id of smart machine;According to described device id and device address by described control Instruction processed is pass on to corresponding smart machine, and receives the smart machine execution to described control instruction Result and the execution result of described control instruction is turned by smart machine by described Internet of Things server Reach to described intelligent terminal.
Preferably, described router is communicated with smart machine by radio connection, described nothing Line connected mode at least includes following arbitrary: WIFI connected mode, bluetooth connected mode, infrared connection Mode.
Preferably, create after described router logs in described user account and described Internet of Things server SOCKET connects.
Preferably, described control instruction also comprises the device address of smart machine, and/or described In router, storage has device id and the device address of smart machine.
Preferably, described router passes through bluetooth radio connection and smart device communication;Described road By device scan near bluetooth equipment obtain the device id of smart machine and device address and store, and The device id of smart machine reports described Internet of Things server will for described Internet of Things server Device id joins in the list of devices of user account.
According to the second aspect of the invention, it is provided that a kind of router, including with lower module: logging in please Seek sending module, for sending the request of login user account to Internet of Things server to log in described use Family account, comprises user account and user account password in described request;First communication module, uses In receiving the intelligence that described user account is bound that intelligent terminal is sent by described Internet of Things server The control instruction of equipment, comprises the device id of smart machine in described control instruction;And intelligence is set The standby execution result to described control instruction is pass on to described intelligent terminal by described Internet of Things server; Second communication module, for passing on described control instruction to phase according to described device id and device address The smart machine answered, and receive the smart machine execution result to described control instruction.
Preferably, described second communication module is following arbitrary or combination: WIFI module, bluetooth mould Block, infrared module.
Preferably, described first communication module, for creating and described Internet of Things server SOCKET connects.
Preferably, described router also includes memory module, for storing the device id of smart machine And device address.
Preferably, described second communication module is bluetooth module;Described second communication module, is additionally operable to Bluetooth equipment near scanning obtains the device id of smart machine and device address storage to storage mould In block;Described first communication module, is additionally operable to the device id of smart machine is reported described Internet of Things Device id is joined in the list of devices of user account by server for described Internet of Things server.
The present invention enables to intelligent terminal can remotely control smart machine.Preferably or alternatively, Present invention achieves and multiple smart machines are uniformly controlled.
It was found by the inventors of the present invention that in the prior art, also intelligence is controlled not over network remote The technical scheme of equipment.Therefore, the present invention is to be realized technical assignment or technology to be solved Problem be that those skilled in the art never expect or it is not expected that, therefore the present invention is a kind of new Technical scheme.
By detailed description to the exemplary embodiment of the present invention referring to the drawings, its of the present invention Its feature and advantage thereof will be made apparent from.
Accompanying drawing explanation
Combined in the description and the accompanying drawing of the part that constitutes specification shows the reality of the present invention Execute example, and together with its explanation for explaining the principle of the present invention.
Fig. 1 is the step schematic diagram that router of the present invention controls the embodiment of the method for smart machine.
Fig. 2 is the block diagram of router embodiment of the present invention.
Detailed description of the invention
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should also be noted that Unless specifically stated otherwise, the parts that illustrate the most in these embodiments and step positioned opposite, Numerical expression and numerical value do not limit the scope of the invention.
Description only actually at least one exemplary embodiment is illustrative below, never makees For to the present invention and application thereof or any restriction of use.
May not beg in detail for technology, method and apparatus known to person of ordinary skill in the relevant Opinion, but in the appropriate case, technology, method and apparatus should be considered a part for specification.
Shown here with in all examples discussed, any occurrence should be construed as merely example Property rather than as limit.Therefore, other example of exemplary embodiment can have different Value.
It should also be noted that similar label and letter represent similar terms, therefore, one in following accompanying drawing A certain Xiang Yi the accompanying drawing of denier is defined, then need not it is carried out further in accompanying drawing subsequently Discuss.
Embodiments of the invention propose and a kind of control the general of various smart machine by network remote Solution: router uses wired connection mode or radio connection and smart machine (such as intelligence Energy TV etc.) set up communication, intelligent terminal (such as smart mobile phone) can log in Internet of Things server User account, router logs in this user account and after login and between Internet of Things server equally Being always maintained at SOCKET to connect, intelligent terminal just can be serviced by Internet of Things under logging status Smart machine is remotely controlled by device and router.
The embodiment that router of the present invention controls the method for smart machine is introduced, including following with reference to Fig. 1 Step:
101, router sends the request of login user account with login user account to Internet of Things server Number, request comprises user account and user account password;
102, router creates and is connected with the SOCKET of Internet of Things server;
103, user account is bound by router reception intelligent terminal by what Internet of Things server sent The control instruction of smart machine, control instruction comprises the device id of smart machine;
104, control instruction is pass on according to device id and device address and is set to corresponding intelligence by router Standby;
105, router receives the smart machine execution result to control instruction;
106, the execution result of control instruction is turned by router by smart machine by Internet of Things server Reach to intelligent terminal.
Wherein, the device address in step 104, can be included in control instruction with device id It is sent collectively to router;Can also be that router self stores device id and the equipment having smart machine Address, after receiving control instruction, finds out corresponding equipment according to the device id in control instruction Address.
Wherein, it is preferably bluetooth between router and the smart machine in step 104 and step 105 to lead to Letter, in other embodiments, can also be that WIFI communicates or red between router and smart machine Outer communication.
Wherein, router is communicated with smart machine by bluetooth radio connection;Router is swept Retouch neighbouring bluetooth equipment obtain the device id of smart machine and device address and store, and by intelligence The device id of equipment reports Internet of Things server, for Internet of Things server, device id is joined use In the list of devices of family account.User is by, after intelligent terminal login user account, arranging at equipment Table select one or more smart machine so that the smart machine chosen to be controlled.
The embodiment of router of the present invention is introduced, including with lower module with reference to Fig. 2:
Logging request sending module 1, for sending the request of login user account to Internet of Things server With login user account, request comprises user account and user account password;
First communication module 2, for receive intelligent terminal by Internet of Things server send to user The control instruction of the smart machine of account binding, comprises the device id of smart machine in control instruction;With And the execution result of control instruction is pass on to intelligent terminal by smart machine by Internet of Things server;
Second communication module 3, for passing on control instruction to accordingly according to device id and device address Smart machine, and receive the smart machine execution result to control instruction.
Memory module 4, for storing device id and the device address of smart machine.
Wherein, first communication module 2, it is additionally operable to establishment and is connected with the SOCKET of Internet of Things server.
Wherein, second communication module is bluetooth module;Second communication module, is additionally operable to scan neighbouring Bluetooth equipment obtains the device id of smart machine and device address and stores in memory module;First leads to Letter module, is additionally operable to the device id of smart machine is reported Internet of Things server for Internet of Things service Device id is joined in the list of devices of user account by device.In other embodiments, the second communication mould Block 3 can also be WIFI module or infrared module.
The present invention enables to intelligent terminal can remotely control smart machine.Preferably or alternatively, Owing to the list of devices under user account can be bound multiple smart machine, present invention achieves many Being uniformly controlled of individual smart machine.Preferably or optionally, present invention scanning and add intelligent appliance all Bluetooth protocol, very simple and fast can be utilized, can adjust in real time user account and smart machine it Between binding relationship.
The present invention can be system, method and/or computer program.Computer program is permissible Including computer-readable recording medium, containing being used for making processor realize various aspects of the invention Computer-readable program instructions.It is well known that to those skilled in the art, the present invention is permissible By the way of hardware mode is realized, is realized by software mode and combined by software and hardware in fact Existing, realize in which way all belonging in protection scope of the present invention.
Although some specific embodiments of the present invention being described in detail by example, but It should be appreciated by those skilled in the art, example above is merely to illustrate rather than in order to limit The scope of the present invention processed.It should be appreciated by those skilled in the art, can be without departing from the scope of the present invention In the case of spirit, above example is modified.The scope of the present invention is by claims Limit.

Claims (10)

1. the method that a router controls smart machine, it is characterised in that comprise the following steps:
To the request of Internet of Things server transmission login user account to log in described user account, described Request comprises user account and user account password;
Receive intelligent terminal by send described user account is bound of described Internet of Things server The control instruction of smart machine, comprises the device id of smart machine in described control instruction;
According to described device id and device address, described control instruction is pass on to corresponding smart machine, And receive smart machine to the execution result of described control instruction and by smart machine to described control The execution result of instruction is pass on to described intelligent terminal by described Internet of Things server.
Method the most according to claim 1, it is characterised in that described router is by wireless Connected mode communicates with smart machine, and described radio connection at least includes following arbitrary: WIFI Connected mode, bluetooth connected mode, infrared connection mode.
Method the most according to claim 1, it is characterised in that described router logs in described Create after user account and be connected with the SOCKET of described Internet of Things server.
Method the most according to claim 1, it is characterised in that also wrap in described control instruction In device address containing smart machine, and/or described router, storage has the device id of smart machine And device address.
Method the most according to claim 1, it is characterised in that described router passes through bluetooth Radio connection and smart device communication;Bluetooth equipment near described router scans obtains intelligence The device id of equipment and device address also store, and are reported by the device id of smart machine described Device id is joined the equipment row of user account by Internet of Things server for described Internet of Things server In table.
6. a router, it is characterised in that include with lower module:
Logging request sending module, for Internet of Things server send login user account request with Log in described user account, described request comprises user account and user account password;
First communication module, for receive intelligent terminal by described Internet of Things server send to institute State the control instruction of the smart machine of user account binding, described control instruction comprises smart machine Device id;And the execution result of described control instruction is serviced by smart machine by described Internet of Things Device is pass on to described intelligent terminal;
Second communication module, for turning described control instruction according to described device id and device address Reach to corresponding smart machine, and receive the smart machine execution result to described control instruction.
Router the most according to claim 6, it is characterised in that described second communication module For following arbitrary or combination: WIFI module, bluetooth module, infrared module.
Router the most according to claim 6, it is characterised in that described first communication module, It is additionally operable to create and is connected with the SOCKET of described Internet of Things server.
Router the most according to claim 6, it is characterised in that described router also includes Memory module, for storing device id and the device address of smart machine.
Router the most according to claim 9, it is characterised in that described second communication module For bluetooth module;
Described second communication module, is additionally operable to scan neighbouring bluetooth equipment and obtains the equipment of smart machine ID and device address also store in described memory module;
Described first communication module, is additionally operable to the device id of smart machine is reported described Internet of Things Device id is joined in the list of devices of user account by server for described Internet of Things server.
CN201510938837.5A 2015-12-15 2015-12-15 Method for controlling intelligent device by router and the router Pending CN105871995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510938837.5A CN105871995A (en) 2015-12-15 2015-12-15 Method for controlling intelligent device by router and the router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510938837.5A CN105871995A (en) 2015-12-15 2015-12-15 Method for controlling intelligent device by router and the router

Publications (1)

Publication Number Publication Date
CN105871995A true CN105871995A (en) 2016-08-17

Family

ID=56623934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510938837.5A Pending CN105871995A (en) 2015-12-15 2015-12-15 Method for controlling intelligent device by router and the router

Country Status (1)

Country Link
CN (1) CN105871995A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453301A (en) * 2016-09-30 2017-02-22 广东美的制冷设备有限公司 Method and device for pushing control information, smart router and server
CN106487622A (en) * 2016-10-24 2017-03-08 北京小米移动软件有限公司 Equipment control sharing method and device
CN106535101A (en) * 2016-12-05 2017-03-22 爱国者电子科技有限公司 Bluetooth communication method and system and wireless router
CN107911489A (en) * 2017-12-25 2018-04-13 深圳市闪联信息技术有限公司 The long-range control method and system of a kind of bluetooth equipment
CN109067820A (en) * 2018-06-07 2018-12-21 四川斐讯信息技术有限公司 A kind of Internet of Things centralization intelligent device management method and system based on router
CN110784908A (en) * 2019-10-22 2020-02-11 北京小米移动软件有限公司 Wireless network distribution method, wireless router and wireless network distribution system
CN114401298A (en) * 2021-12-16 2022-04-26 荣耀终端有限公司 Data transmission method, equipment and system
CN114666868A (en) * 2022-03-16 2022-06-24 京东科技信息技术有限公司 Method for network distribution without secret sharing, Internet of things equipment, router and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012060679A1 (en) * 2010-11-01 2012-05-10 In Sync (Msc) Sdn Bhd Community-based smart home system
CN102938729A (en) * 2012-10-30 2013-02-20 鸿富锦精密工业(深圳)有限公司 Remote control method for intelligent gateway, intelligent home system and appliances
CN104363179A (en) * 2014-11-26 2015-02-18 上海斐讯数据通信技术有限公司 Intelligent router, intelligent control device and intelligent home control system
CN104683470A (en) * 2015-03-11 2015-06-03 北京京东尚科信息技术有限公司 Intelligent household equipment control method and system
CN204595459U (en) * 2015-03-06 2015-08-26 金健 A kind of intelligent home appliance remote control system based on power carrier

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012060679A1 (en) * 2010-11-01 2012-05-10 In Sync (Msc) Sdn Bhd Community-based smart home system
CN102938729A (en) * 2012-10-30 2013-02-20 鸿富锦精密工业(深圳)有限公司 Remote control method for intelligent gateway, intelligent home system and appliances
CN104363179A (en) * 2014-11-26 2015-02-18 上海斐讯数据通信技术有限公司 Intelligent router, intelligent control device and intelligent home control system
CN204595459U (en) * 2015-03-06 2015-08-26 金健 A kind of intelligent home appliance remote control system based on power carrier
CN104683470A (en) * 2015-03-11 2015-06-03 北京京东尚科信息技术有限公司 Intelligent household equipment control method and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453301A (en) * 2016-09-30 2017-02-22 广东美的制冷设备有限公司 Method and device for pushing control information, smart router and server
WO2018058982A1 (en) * 2016-09-30 2018-04-05 广东美的制冷设备有限公司 Control information pushing method and pushing device, intelligent router and server
CN106487622A (en) * 2016-10-24 2017-03-08 北京小米移动软件有限公司 Equipment control sharing method and device
CN106487622B (en) * 2016-10-24 2019-10-25 北京小米移动软件有限公司 Equipment control sharing method and device
CN106535101A (en) * 2016-12-05 2017-03-22 爱国者电子科技有限公司 Bluetooth communication method and system and wireless router
CN106535101B (en) * 2016-12-05 2020-04-28 爱国者电子科技有限公司 Bluetooth communication method, system and wireless router
CN107911489A (en) * 2017-12-25 2018-04-13 深圳市闪联信息技术有限公司 The long-range control method and system of a kind of bluetooth equipment
CN109067820A (en) * 2018-06-07 2018-12-21 四川斐讯信息技术有限公司 A kind of Internet of Things centralization intelligent device management method and system based on router
CN109067820B (en) * 2018-06-07 2023-08-11 上海询诺通信科技发展有限公司 Internet of things centralized intelligent equipment management method and system based on router
CN110784908A (en) * 2019-10-22 2020-02-11 北京小米移动软件有限公司 Wireless network distribution method, wireless router and wireless network distribution system
CN114401298A (en) * 2021-12-16 2022-04-26 荣耀终端有限公司 Data transmission method, equipment and system
CN114666868A (en) * 2022-03-16 2022-06-24 京东科技信息技术有限公司 Method for network distribution without secret sharing, Internet of things equipment, router and storage medium

Similar Documents

Publication Publication Date Title
CN105871995A (en) Method for controlling intelligent device by router and the router
US11109185B2 (en) Mesh network and mesh device and network distribution method thereof
KR20210008118A (en) A method and apparatus for controlling devices for a smart home service
CN105306264A (en) Network configuration and remote registration binding method and system for intelligent household appliance
US9955369B2 (en) Network self-healing method and system using lighting devices
CN105392181B (en) A kind of networking method of smart machine, apparatus and system
CN105554754A (en) Method and system for accessing WIFI module of the internet of things to network
CN106059837A (en) Device network access configuration method and device, and cloud platform
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
CN103533512A (en) Method, device and system for configuring and adding equipment into network group
US11128486B2 (en) Smart refrigerator-based networking and control method and system, and smart refrigerator
CN104113458A (en) Mobile terminal and intelligent household appliance interconnecting method and device
CN103327644A (en) Method and equipment for wireless connection
CN104635504A (en) IOT (Internet of Things) intelligent household appliance data transmission method and system
CN104144200A (en) Communication methods, communication side and user side for internet of things
CN103458057A (en) Resource acquiring method, device and server
CN104767768A (en) Methods for sending and receiving network access configuration information of household appliances, and household appliances
CN105744597A (en) Terminal and wireless connection method
CN108781473A (en) A kind of method and apparatus of the shared file between different terminals
CN105577721A (en) Remote terminal control method and system thereof
CN105141450A (en) Configuration methods and devices for WIFI module of internet of things device
CN112469055A (en) Equipment network distribution method, related equipment and storage medium
KR20140010206A (en) Apparatus and method for connecting wireless network in consideration of radio frequency band
CN104883724A (en) Wi-Fi Internet of Things equipment communication method and Wi-Fi Internet of Things system
CN204721613U (en) A kind of Wi-Fi Internet of things system and Wi-Fi internet of things equipment

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: 20160817

WD01 Invention patent application deemed withdrawn after publication