WO2016101545A1 - 设备管理方法、装置及系统 - Google Patents

设备管理方法、装置及系统 Download PDF

Info

Publication number
WO2016101545A1
WO2016101545A1 PCT/CN2015/080681 CN2015080681W WO2016101545A1 WO 2016101545 A1 WO2016101545 A1 WO 2016101545A1 CN 2015080681 W CN2015080681 W CN 2015080681W WO 2016101545 A1 WO2016101545 A1 WO 2016101545A1
Authority
WO
WIPO (PCT)
Prior art keywords
management
router
relay router
connection
relay
Prior art date
Application number
PCT/CN2015/080681
Other languages
English (en)
French (fr)
Inventor
陈勇
陈维扬
喻波
王益冬
张鹏飞
郭宇
Original Assignee
小米科技有限责任公司
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 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to MX2015012097A priority Critical patent/MX359264B/es
Priority to BR112015020495A priority patent/BR112015020495A2/pt
Priority to RU2015135773A priority patent/RU2630170C2/ru
Priority to JP2016565547A priority patent/JP6208381B2/ja
Priority to KR1020157020051A priority patent/KR101757998B1/ko
Priority to US15/137,117 priority patent/US10298446B2/en
Publication of WO2016101545A1 publication Critical patent/WO2016101545A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2814Exchanging control software or macros for controlling appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/20Repeater circuits; Relay circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like

Definitions

  • the present disclosure relates to the field of routers, and in particular, to a device management method, apparatus, and system.
  • routers provide wireless network access for electronic devices.
  • a router Due to the influence of router signals and usage environment, it is difficult for a router to provide comprehensive wireless network coverage. At this time, people usually use route relay to connect multiple relay routers under one primary router, and distribute the relay routers at different locations. The relay routers transmit the wireless signals sent by the received primary routers. Zooming in, so that the electronic device far from the main router can also achieve wireless network access by connecting to the relay router. When a relay router is connected to the primary router, the user cannot view and manage the electronic device connected to the relay router by logging in to the primary router.
  • the embodiment of the present disclosure provides a device management method, device, and system.
  • the technical solution is as follows:
  • a device management method for a primary route, the method comprising:
  • management interface identifier is an identifier of an API (Application Programming Interface) for providing a management function in the relay router;
  • a management command is sent to the relay router through the management connection, and the management command is used to manage the electronic device connected to the relay router, where the management command carries the management interface identifier.
  • establishing a management connection with the relay router includes:
  • the management interface identifier is obtained from the relay router through a management connection, including:
  • the method further includes:
  • the step of obtaining the management interface identifier from the relay router through the management connection is performed.
  • the management instructions are sent to the relay router over the management connection, including:
  • first interface identifier in the management interface identifier, where the first interface identifier is an identifier of an API for acquiring electronic device information;
  • the relay router Transmitting, by the management connection, the first management instruction that carries the first interface identifier to the relay router, where the relay router is configured to obtain the first interface identifier in the first management command, and invoke the API corresponding to the first interface identifier to obtain at least Information of an electronic device connected to the relay router as first device information;
  • the management instructions are sent to the relay router over the management connection, including:
  • the second interface identifier is an identifier of an API for controlling the electronic device
  • the second management instruction carrying the second interface identifier to the relay router, where the relay router is configured to obtain the second interface identifier in the second management command, and invoke the API corresponding to the second interface identifier to control the connection.
  • the electronic device to the relay router.
  • sending the first device information to the management device includes:
  • the first device information includes at least one of a MAC (Media Access Control) address, an IP (Internet Protocol) address, and connection state information of an electronic device connected to the relay router;
  • MAC Media Access Control
  • IP Internet Protocol
  • the second device information includes at least one of a MAC address, an IP address, and connection state information of the electronic device connected to the primary router.
  • a device management method for use in a relay router, the method comprising:
  • management interface identifier is an identifier of an API for providing a management function in the relay router
  • the electronic device connected to the relay router is managed according to the management instruction.
  • establishing a management connection with the primary router includes:
  • the management interface identifier is provided to the primary router over a management connection, including:
  • the method comprises:
  • the feedback message is sent to the primary router through the management connection, and the primary router is configured to detect whether the relay router is compatible according to the feedback message.
  • managing the electronic device connected to the relay router in accordance with the management instructions includes:
  • the first device information is transmitted to the primary router through the management connection, the first device information including at least one of a MAC address, an IP address, and connection state information of the electronic device connected to the relay router.
  • managing the electronic device connected to the relay router in accordance with the management instructions includes:
  • the API corresponding to the second interface identifier is invoked to control the electronic device connected to the relay router.
  • a device management apparatus for a main router comprising:
  • a first connection module configured to establish a management connection with the relay router
  • An identifier obtaining module configured to obtain, by using a management connection established by the first connection module, a management interface identifier from a relay router, where the management interface identifier is an identifier of an API for providing a management function in the relay router;
  • the command sending module is configured to send, by the management connection established by the first connection module, a management command to the relay router, where the management command is used to manage the electronic device connected to the relay router, where the management command carries the management interface identifier .
  • the first connection module includes:
  • a first receiving submodule configured to receive a connection request sent by the relay router
  • the first establishing submodule is configured to send request acceptance information to the relay router and establish a management connection with the relay router.
  • the identifier obtaining module comprises:
  • a first sending submodule configured to send a management interface acquisition request to the relay router through the management connection
  • the identifier receiving submodule is configured to receive at least one management interface identifier sent by the relay router through the management connection.
  • the device further includes:
  • a packet sending module configured to send a private protocol packet to the relay router through the management connection
  • the feedback message receiving module is configured to receive a feedback message sent by the relay router, where the feedback message is fed back by the relay router after receiving the private protocol message;
  • the detecting module is configured to detect, according to the feedback message received by the feedback message receiving module, whether the relay router is compatible with the main router;
  • the detecting module is configured to perform the step of obtaining the management interface identifier from the relay router through the management connection when detecting that the relay router is compatible with the main router.
  • the instruction sending module includes:
  • the first obtaining sub-module is configured to obtain a first interface identifier in the management interface identifier, where the first interface identifier is an identifier of an API for acquiring electronic device information;
  • the first instruction sending submodule is configured to send, by using the management connection, a first management instruction that carries the first interface identifier acquired by the first acquiring submodule, where the relay router is configured to obtain the first management instruction Identifying, by the first interface, the API corresponding to the first interface identifier, and acquiring information about the at least one electronic device connected to the relay router as the first device information;
  • a device information receiving submodule configured to receive first device information sent by the relay router
  • the first information sending submodule is configured to send the first device information received by the device information receiving submodule to the management device, where the management device is configured to display the first device information.
  • the instruction sending module includes:
  • the second obtaining sub-module is configured to obtain a second interface identifier in the management interface identifier, where the second interface identifier is an identifier of an API for controlling the electronic device;
  • a second instruction sending submodule configured to send, by using the management connection, a second management instruction that carries the second interface identifier acquired by the second obtaining submodule to the relay router, where the relay router is configured to obtain the second management instruction
  • the second interface identifier identifies the corresponding interface of the second interface identifier to control the electronic device connected to the relay router.
  • the first information sending submodule includes:
  • An information acquiring submodule configured to acquire information of at least one electronic device connected to the main router as the second device information
  • the information sending submodule is configured to send the first device information and the second device information acquired by the information acquiring submodule to the management device;
  • the first device information includes at least one of a MAC address, an IP address, and connection state information of an electronic device connected to the relay router;
  • the second device information includes at least one of a MAC address, an IP address, and connection state information of the electronic device connected to the primary router.
  • a device management apparatus for relaying a router comprising:
  • a second connection module configured to establish a management connection with the primary router
  • An identifier providing module configured to provide a management interface identifier to the primary router by using a management connection established by the second connection module, where the management interface identifier is an identifier of an API for providing a management function in the relay router;
  • the instruction receiving module is configured to receive a management instruction sent by the primary router through the management connection, where the management instruction carries a management interface identifier;
  • the management module is configured to manage the electronic device connected to the relay router according to the management instruction received by the instruction receiving module.
  • the second connection module includes:
  • a second sending submodule configured to send a connection request to the primary router
  • the second establishing submodule is configured to receive the request accepting information sent by the primary router and establish a management connection with the primary router.
  • the identification providing module comprises:
  • a second receiving submodule configured to receive a management interface acquisition request sent by the primary router through the management connection, where the management interface acquisition request is sent when the primary router detects that the primary router is compatible with the relay router;
  • the identity sending submodule is configured to send at least one management interface identifier to the primary router over the management connection.
  • the device further includes:
  • a packet receiving module configured to receive a private protocol packet sent by the primary router
  • the feedback message sending module is configured to send a feedback message to the primary router through the management connection, and the primary router is configured to detect, according to the feedback message, whether the relay router is compatible with the relay router.
  • the management module includes:
  • a third acquiring sub-module configured to acquire a first interface identifier in the first management instruction, where the first interface identifier is an identifier of an API for acquiring electronic device information;
  • the device information obtaining sub-module is configured to invoke an API corresponding to the first interface identifier acquired by the third obtaining sub-module, and acquire information of at least one electronic device connected to the relay router as the first device information;
  • a second information sending submodule configured to send, by the management connection, the first device information acquired by the device information acquiring submodule to the primary router, where the first device information includes a MAC address, an IP address, and an electronic device connected to the relay router. At least one of connection status information.
  • the management module includes:
  • a fourth obtaining submodule configured to obtain a second interface identifier in the second management command, where the second interface identifier is an identifier of an API for controlling the electronic device;
  • the control submodule is configured to invoke an API corresponding to the second interface identifier acquired by the fourth obtaining submodule to control the electronic device connected to the relay router.
  • a device management apparatus for a main router comprising:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • a management command is sent to the relay router through the management connection, and the management command is used to manage the electronic device connected to the relay router, where the management command carries the management interface identifier.
  • a device management apparatus for relaying a router comprising:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • the management interface identifier being an identifier of an application programming interface API for providing a management function in the relay router;
  • the electronic device connected to the relay router is managed according to the management instruction.
  • a network system including a primary router and a relay router;
  • the main router and the relay router are connected by a wireless network or a wired network;
  • the main router includes the device management device according to the above third aspect;
  • the relay router includes the device management device according to the fourth aspect described above;
  • the main router includes the device management apparatus according to the fifth aspect
  • the relay router includes the device management apparatus according to the sixth aspect.
  • the management command carries the management interface identifier; when the relay router is connected to the primary router, the user cannot view and manage the electronic device connected to the relay router by logging in to the primary router; the connection can be managed through the primary router.
  • the effect of the relay router's electronic device improves the efficiency of the user's management of the electronic device under the router.
  • FIG. 1 is a schematic diagram of an environment of an implementation environment involved in various embodiments of the present disclosure
  • FIG. 2 is a flowchart of a method of a device management method according to an exemplary embodiment
  • FIG. 3 is a flowchart of a method of a device management method according to another exemplary embodiment
  • 4A is a flowchart of a method of a device management method according to still another exemplary embodiment
  • FIG. 4B is a schematic diagram of an implementation of a device management method according to still another exemplary embodiment
  • 4C is a flowchart of a method of managing a process in a device management method according to still another exemplary embodiment
  • FIG. 5 is a structural block diagram of a device management apparatus according to an exemplary embodiment
  • FIG. 6 is a block diagram showing the structure of a device management apparatus according to another exemplary embodiment
  • FIG. 7 is a block diagram showing the structure of a device management apparatus according to still another exemplary embodiment.
  • FIG. 8 is a block diagram showing the structure of a device management apparatus according to still another exemplary embodiment.
  • FIG. 9 is a block diagram of a device management apparatus according to an exemplary embodiment.
  • FIG. 10 is a block diagram of a network system provided in accordance with an exemplary embodiment of the present disclosure.
  • FIG. 1 is a schematic diagram of an environment of an implementation environment involved in various embodiments of the present disclosure, including an active router 110, a relay router 120 connected to a primary router, an electronic device 130 connected to a primary router, and a connection to a relay router.
  • Electronic device 140 Electronic device 140.
  • the main router 110 is an electronic device having a data processing and data transmission function, and the electronic device may be a router or a host that has a routing function enabled by software or the like.
  • the main router 110 is connected to the electronic device 130 connected to the main router via a wired or wireless network.
  • the electronic device 130 connected to the main router is an electronic device having a wireless or wired network connection function, and the electronic device can be a smart phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture) Experts compress standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV), player, smart camera and smart socket.
  • the electronic device can be a smart phone, a tablet computer, an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture) Experts compress standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV), player, smart camera and smart socket.
  • MP3 player Moving Picture Experts Group Audio Layer III, motion picture
  • MP4 Moving Picture Experts Group Audio Layer IV
  • the main router 110 and the relay router 120 are connected by a wired or wireless network.
  • the relay router is an electronic device having data processing and data transmission functions for receiving and forwarding data transmitted by the main router 110, and the electronic device may be a router or a host that has a routing function enabled by software, and the like.
  • the relay router 120 is connected to the electronic device 140 connected to the relay router via a wired or wireless network.
  • the electronic device 140 connected to the relay router is an electronic device having a wireless or wired network connection function, which may be a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a smart camera, and a smart socket. and many more.
  • relay routers may be connected to the main router 110, and other relay routers may be connected to the relay router 120.
  • This embodiment only includes a primary router and a relay router in the implementation environment. It is not intended to limit the disclosure.
  • FIG. 2 is a flowchart of a method for a device management method according to an exemplary embodiment.
  • the device management method is used for the primary router 110 in FIG. 1 .
  • the device management method may include the following steps.
  • step 202 establishing a management connection with the relay router
  • a management interface identifier is obtained from the relay router through a management connection, where the management interface identifier is an identifier of an API in the relay router for providing a management function;
  • step 206 a management command is sent to the relay router through the management connection, and the management command is used to manage the electronic device connected to the relay router, the management command carrying the management interface identifier.
  • establishing a management connection with the relay router including:
  • obtaining the management interface identifier from the relay router through the management connection including:
  • the method further includes:
  • the step of obtaining the management interface identifier from the relay router through the management connection is performed.
  • sending management instructions to the relay router through the management connection including:
  • first interface identifier in the management interface identifier, where the first interface identifier is an identifier of an API for acquiring electronic device information;
  • sending management instructions to the relay router through the management connection including:
  • the second interface identifier is an identifier of an API for controlling the electronic device
  • the second management instruction carrying the second interface identifier to the relay router, where the relay router is configured to obtain the second interface identifier in the second management command, and invoke the API corresponding to the second interface identifier to control the connection.
  • the electronic device to the relay router.
  • sending the first device information to the management device includes:
  • the first device information includes at least one of a MAC address, an IP address, and connection state information of an electronic device connected to the relay router;
  • the second device information includes at least one of a MAC address, an IP address, and connection state information of the electronic device connected to the primary router.
  • the device management method establishes a management connection with a relay router; acquires a management interface identifier from the relay router through the management connection; and sends a management instruction to the relay router through the management connection, the management instruction It is used to manage an electronic device connected to the relay router, and the management command carries a management interface identifier; when the relay router is connected to the primary router, the user cannot view and manage the connection to the relay router by logging in to the primary router.
  • the problem of the electronic device the effect of managing the electronic device connected to the relay router through the main router is achieved, and the efficiency of the electronic device under the user management router is improved.
  • FIG. 3 is a flowchart of a method for a device management method according to another exemplary embodiment.
  • the device management method is used for the relay router 120 in FIG. 1 , and the device management method may include the following steps. .
  • step 302 establishing a management connection with the primary router
  • a management interface identifier is provided to the primary router through a management connection, where the management interface identifier is an identifier of an API for providing a management function in the relay router;
  • step 306 receiving a management instruction sent by the primary router through the management connection, where the management instruction carries a management interface identifier
  • step 308 the electronic device connected to the relay router is managed in accordance with the management instructions.
  • establishing a management connection with the primary router including:
  • the management interface identifier is provided to the primary router through the management connection, including:
  • the method includes:
  • the feedback message is sent to the primary router through the management connection, and the primary router is configured to detect whether the relay router is compatible according to the feedback message.
  • managing the electronic device connected to the relay router according to the management instruction including:
  • the first device information is transmitted to the primary router through the management connection, the first device information including at least one of a MAC address, an IP address, and connection state information of the electronic device connected to the relay router.
  • managing the electronic device connected to the relay router according to the management instruction including:
  • the API corresponding to the second interface identifier is invoked to control the electronic device connected to the relay router.
  • the device management method provided by the exemplary embodiment establishes a management connection with the primary router, and provides a management interface identifier to the primary router through the management connection, where the management interface identifier is used in the relay router to provide management functions.
  • the identifier of the API receiving a management instruction sent by the primary router through the management connection, the management instruction carrying the management interface identifier; managing the electronic device connected to the relay router according to the management instruction; and solving the user when the relay router is connected under the primary router It is impossible to view and manage the electronic device connected to the relay router by logging in to the primary router; the effect of managing the electronic device connected to the relay router through the primary router is achieved, and the efficiency of the electronic device under the user management router is improved.
  • FIG. 4A is a flowchart of a method for a device management method according to still another exemplary embodiment.
  • the device management method is used for the implementation environment shown in FIG. 1 , and the device management method may include the following steps.
  • step 401 the relay router sends a connection request to the primary router.
  • the user uses the management device to log in to the management interface of the relay router, activates the route relay function of the relay router, and searches for the nearby main router.
  • the relay router prompts the user to enter the password connected to the primary router in the management interface.
  • the relay router sends the password to the primary router for verification by the primary router. .
  • the relay router is connected to the wireless network provided by the primary router.
  • the relay router will actively send a connection to the predetermined TCP (Transmission Control Protocol) port of the primary router after connecting to the wireless network provided by the primary router.
  • TCP Transmission Control Protocol
  • the primary router may receive the connection request sent by the multiple relay routers, and the connection request may further include the identifier information of the relay router, where the identifier information is used by the primary router to identify the relay router.
  • step 402 the primary router receives a connection request sent by the relay router.
  • the primary router receives the connection request sent by the relay router.
  • step 403 the primary router sends a request acceptance message to the relay router and establishes a management connection with the relay router.
  • the primary router obtains the identifier information of the relay router carried in the connection request, and detects, according to the identifier information, whether the relay router is a relay router connected to the primary router.
  • the primary router accepts the connection request, establishes a management connection with the relay router through the predetermined TCP port, and sends a request acceptance information to the relay router, informing
  • the relay router can establish a management connection with the primary router.
  • step 404 the relay router receives the request acceptance information sent by the primary router and establishes a management connection with the primary router.
  • the relay router receives the request acceptance information sent by the primary router, and establishes a management connection with the predetermined TCP port of the primary router. Since the relay router establishes a management connection with the primary router and follows the TCP three-way handshake protocol, after the relay router establishes a management connection with the predetermined TCP port of the primary router, it also needs to send connection establishment information to the primary router to inform the primary router that the management connection has been established. .
  • the relay router When the relay router establishes a management connection with the primary router, the relay router assigns the management authority to the primary router, considers the primary router to be a trusted device, and considers that the command or data sent through the management connection is secure.
  • the primary router When a plurality of relay routers are connected to the primary router, the primary router establishes a management connection with each of the relay routers. This embodiment is only described by accessing a relay router under the primary router, and the present disclosure is not limited.
  • step 405 the primary router sends a private protocol message to the relay router over the management connection.
  • the primary router After the relay router establishes a management connection with the primary router, the primary router sends a private protocol packet to the relay router through the management connection, and the private protocol packet is used to prompt the relay router to send a feedback packet, where the feedback packet is sent. It carries information such as the version number of the relay router and the packet transmission format.
  • step 406 the relay router receives the private protocol message sent by the primary router.
  • step 407 the relay router sends a feedback message to the primary router over the management connection.
  • the relay router obtains information such as the version number and the packet transmission format of the current relay router according to the received private protocol packet, and encapsulates the information into a feedback packet, which is sent to the primary router through the management connection.
  • step 408 the primary router receives the feedback message sent by the relay router.
  • the feedback packet is fed back by the relay router after receiving the private protocol packet.
  • step 409 the primary router detects whether the relay router is compatible with the primary router according to the feedback message.
  • the master router obtains information such as the version number and the packet transmission format in the feedback packet, and detects whether the relay router is compatible with the main router according to the information.
  • the information of the compatible version is pre-stored in the main router, and the information of the compatible version may be stored in a compatible version information table as shown in Table 1.
  • the primary router searches for the matching information in the compatible version information table according to the information carried in the feedback packet.
  • the relay router is determined to be compatible with the primary router, and step 410 is performed;
  • a match is made, it is determined that the relay router is incompatible with the primary router, and the primary router cannot manage the electronic devices under the relay router.
  • step 410 the primary router sends a management interface acquisition request to the relay router over the management connection.
  • At least one management interface is preset in the relay router, and the management interface is an API interface. Different management interfaces provide different management functions, including information acquisition, black and white list function, time switch function, and restricted access function.
  • the relay router manages the accessed electronic devices by calling different management interfaces.
  • the management function provided by the management interface invoked by the relay router is an information acquisition function, and the relay router can obtain the device information, connection status information, and running status information of the electronic device connected to the relay router by calling the management interface. and many more.
  • the management function provided by the management interface invoked by the relay router is a restricted access function, and the relay router can invoke the management interface to prohibit some or all electronic devices connected to the relay router from accessing the Internet.
  • the primary router In order to be able to manage the electronic devices under the relay router, the primary router needs to know which management interfaces are provided by the relay router, so the primary router sends a management interface acquisition request to the relay router through the management connection, requesting to obtain the management interface identifier of the relay router.
  • the primary router Since the management interfaces provided by different relay routers are different, when the primary router accesses multiple relay routers, the primary router needs to separately send a management interface acquisition request to each relay router.
  • step 411 the relay router receives the management interface acquisition request sent by the primary router through the management connection.
  • the relay router sends at least one management interface identifier to the primary router over the management connection.
  • the relay router Since the management interface acquisition request is sent through the management connection, the relay router considers that the management interface obtains the request is secure.
  • the mapping between the management interface identifier and the management interface is pre-stored in the relay router, and the corresponding relationship may be stored in the interface identifier table as described in Table 2.
  • the management interface identifier is an identifier of an API in the relay router for providing a management function.
  • the relay router acquires at least one management interface identifier according to the received management interface acquisition request, and sends the management interface identifier to the primary router through the management connection.
  • the primary router receives at least one management interface identifier sent by the relay router over the management connection.
  • the primary router receives the management interface identifier sent by the relay router. To facilitate subsequent use, the primary router saves the received management interface identifier and records the corresponding relationship between the management interface identifier and the relay router.
  • the mapping between the management interface identifier and the relay router can be stored in a table whose table structure is as shown in Table 3.
  • the primary router has acquired the management authority of the relay router, and can manage the electronic devices under the relay router through a management connection established with the relay router.
  • the primary router obtains a first interface identifier in the management interface identifier, where the first interface identifier is an identifier of an API for acquiring electronic device information.
  • the management device When the user wants to use the main router to manage the electronic devices under the relay router, he can use the management device to connect to the main router, enter the user name and password to log in to the management interface of the main router, and issue corresponding commands to the main router.
  • the master router searches for the corresponding management interface identifier in the table shown in Table 3 according to the received command.
  • the management device When the user wants to obtain the information of the electronic device connected to the relay router, the management device sends a corresponding instruction to the main router, and the main router searches for the identifier of the API for acquiring the electronic device information from the management interface identifier according to the instruction, that is, the first An interface identifier.
  • the primary router When multiple relay routers are connected to the primary router, the primary router first determines the relay router that needs to be managed, and then obtains the corresponding management interface identifier from the management interface identifier provided by the relay router.
  • step 415 the primary router sends a first management command carrying the first interface identifier to the relay router through the management connection.
  • step 416 the relay router acquires the first interface identifier in the first management instruction.
  • the relay router acquires the first interface identifier carried in the received first management command, and determines that the API to be called is an API for acquiring electronic device information according to the first interface identifier.
  • the relay router invokes an API corresponding to the first interface identifier, and acquires at least one information of the electronic device connected to the relay router as the first device information.
  • the first device identification includes a MAC address, an IP address, and connection status information of the electronic device connected to the relay router, and the like.
  • the connection status information of the electronic device includes information such as whether the electronic device is online, the length of time the electronic device is connected to the relay router, and the amount of data received and transmitted.
  • the relay router can also obtain the data collected by the electronic device and the current working state information, and send the same as the first device information to the primary router.
  • the relay router has the management authority of the accessed air purifier, and the relay router can obtain the current air quality data collected by the air purifier and the current working mode data, and send it to the main router through the management connection.
  • step 418 the relay router sends the first device information to the primary router over the management connection.
  • the relay router when the electronic device is connected to the relay router or disconnected from the relay router, the relay router sends the latest first device information to the primary router through the management connection, and informs the primary router to perform the first device information. Update.
  • step 419 the primary router receives the first device information sent by the relay router.
  • step 420 the primary router sends first device information to the management device, and the management device is configured to display the first device information.
  • the master router obtains the first device information sent by the relay router by sending the first management command that carries the identifier of the first interface to the relay router, and sends the first device information to the management device, where the management device A device information is displayed.
  • step 420 may also include the following sub-steps.
  • the master router acquires at least one piece of information of the electronic device connected to the master router as the second device information.
  • the second device identification includes a MAC address, an IP address, and connection status information of the electronic device connected to the primary router, and the like.
  • the connection status information of the electronic device includes information such as the length of time that the electronic device is connected to the main router and the amount of data received and transmitted.
  • the primary router sends the first device information and the second device information to the management device.
  • the primary router sends the acquired first device information and the second device information to the management device, and the management device displays the received information.
  • the primary router may also add the identifier of the router in the first device information and the second device information that are sent, The device divides the first device information and the second device information according to the identifier of the router, so that the user can more clearly understand the connection status of the electronic device.
  • the management device 41 displays the received first device information and second device information in the form of a list.
  • the primary router can send the relay connection to the relay router through the management connection.
  • An electronic device that is connected to the relay router is carried by management instructions carrying an identification of an API for controlling the electronic device.
  • steps 414 to 420 may be replaced with steps 414a to 417a.
  • the primary router obtains a second interface identifier in the management interface identifier, and the second interface identifier is an identifier of an API for controlling the electronic device.
  • the management interface identifier provided by the relay router includes an identifier of an API for controlling the smart socket.
  • the management device can send the corresponding information to the primary router.
  • the main router searches for the identifier of the API for controlling the smart socket in the management interface identifier according to the instruction, and determines the found identifier as the second interface identifier.
  • step 415a the primary router sends a second management command carrying the second interface identifier to the relay router through the management connection.
  • the second management instruction may further carry an identifier of the designated electronic device, where the identifier may be a MAC address of the electronic device, and the relay router specifies the electronic device according to the identifier of the designated electronic device. The device is controlled.
  • step 416a the relay router acquires the second interface identifier in the second management command.
  • the relay router acquires the second interface identifier carried in the second management instruction, and determines an API to be called according to the second interface identifier.
  • the relay router obtains the identifier of the API for controlling the smart socket by the second interface, and determines that the API for controlling the smart socket needs to be called.
  • step 417a the relay router invokes an API corresponding to the second interface identifier to control the electronic device connected to the relay router.
  • the relay router invokes an API corresponding to the second interface identifier to control the electronic device corresponding to the identifier.
  • the user needs to control the designated smart socket A
  • the second management command sent by the main router to the relay router carries the identifier of the API for controlling the smart socket and the MAC address of the smart socket A, and the relay router according to the MAC address Address, call the API for controlling the smart socket, and control the smart socket A.
  • the device management method establishes a management connection with a relay router, acquires a management interface identifier from a relay router through a management connection, and sends a management finger to the relay router through a management connection.
  • the management command is used to manage the electronic device connected to the relay router, where the management command carries the management interface identifier; and when the relay router is connected to the primary router, the user cannot view and manage the login through the primary router.
  • the problem of the electronic device connected to the relay router; the effect of managing the electronic device connected to the relay router through the primary router is achieved, and the efficiency of the electronic device under the user management router is improved.
  • the primary router after the management connection is established between the primary router and the relay router, the primary router sends a private protocol packet to the relay router, and detects whether the primary router and the relay router are compatible according to the feedback packet sent by the relay router. And when the primary router is compatible with the relay router, the management interface of the relay router is obtained, and the effect that the primary router can only manage the electronic device under the compatible relay router is achieved.
  • the first router sends a first management command carrying the first interface identifier to the relay router, and the relay router acquires information about the electronic device connected to the relay router according to the first interface identifier, and the The information is sent to the main router, so that the user only needs to log in to the main router through the management device, that is, the information of the electronic device connected to the relay router is learned, and the efficiency of the electronic device under the user management router is improved.
  • the second router sends a second management command carrying the second interface identifier to the relay router, and the relay router invokes an API of the control electronic device according to the second interface identifier to perform an electronic device connected to the relay router.
  • the control enables the user to control the electronic device connected to the relay router through the main router, thereby improving the efficiency of the electronic device under the user management router.
  • FIG. 5 is a structural block diagram of a device management apparatus, which may be implemented as part or all of a main router by software, hardware, or a combination of both, according to an exemplary embodiment.
  • the device management device can include:
  • the first connection module 501 is configured to establish a management connection with the relay router
  • the identifier obtaining module 503 is configured to obtain, by the management connection established by the first connection module 501, a management interface identifier obtained from the relay router, where the management interface identifier is an identifier of an API for providing a management function in the relay router;
  • the command sending module 505 is configured to send, by using the management connection established by the first connection module 501, a management command to the relay router, where the management command is used to manage the electronic device connected to the relay router, where the management command carries management Interface identifier.
  • the device management apparatus establishes a management connection with a relay router; acquires a management interface identifier from the relay router through the management connection; and sends a management instruction to the relay router through the management connection, the management instruction It is used to manage an electronic device connected to the relay router, and the management command carries a management interface identifier; when the relay router is connected to the primary router, the user cannot view and manage the connection to the relay router by logging in to the primary router.
  • the problem of the electronic device the effect of managing the electronic device connected to the relay router through the main router is achieved, and the efficiency of the electronic device under the user management router is improved.
  • FIG. 6 is a structural block diagram of a device management apparatus according to another exemplary embodiment, which may be implemented as part or all of a main router by software, hardware, or a combination of both.
  • the device management device can include:
  • the first connection module 601 is configured to establish a management connection with the relay router
  • the identifier obtaining module 603 is configured to obtain a management interface identifier from the relay router by using the management connection established by the first connection module 601, where the management interface identifier is an identifier of an API for providing a management function in the relay router;
  • the command sending module 605 is configured to send, by using the management connection established by the first connection module 601, a management command to the relay router, where the management command is used to manage the electronic device connected to the relay router, where the management command carries management Interface identifier.
  • the first connection module 601 includes:
  • the first receiving submodule 601A is configured to receive a connection request sent by the relay router;
  • the first setup sub-module 601B is configured to send request acceptance information to the relay router and establish a management connection with the relay router.
  • the identifier obtaining module 603 includes:
  • the first sending submodule 603A is configured to send a management interface acquisition request to the relay router through the management connection;
  • the identity receiving sub-module 603B is configured to receive at least one management interface identifier sent by the relay router through the management connection.
  • the device further includes:
  • the message sending module 606 is configured to send a private protocol message to the relay router through the management connection;
  • the feedback message receiving module 607 is configured to receive a feedback message sent by the relay router, where the feedback message is fed back after receiving the private protocol message by the relay router;
  • the detecting module 608 is configured to detect, according to the feedback message received by the feedback message receiving module 607, whether the relay router is compatible with the main router;
  • the detecting module 608 is configured to perform the step of obtaining the management interface identifier from the relay router through the management connection when detecting that the relay router is compatible with the primary router.
  • the instruction sending module 605 includes:
  • the first obtaining sub-module 605A is configured to obtain a first interface identifier in the management interface identifier, where the first interface identifier is an identifier of an API for acquiring electronic device information;
  • the first instruction sending sub-module 605B is configured to send, by using the management connection, a first management instruction that carries the first interface identifier acquired by the first obtaining sub-module 605A to the relay router, where the relay router is configured to acquire the first management instruction
  • the first interface identifier is used, and the API corresponding to the first interface identifier is invoked, and at least one information of the electronic device connected to the relay router is obtained as the first device information;
  • the device information receiving submodule 605C is configured to receive the first device information sent by the relay router;
  • the first information sending sub-module 605D is configured to send the first device information received by the device information receiving sub-module 605C to the management device, where the management device is configured to display the first device information.
  • the instruction sending module 605 includes:
  • the second obtaining sub-module 605E is configured to obtain a second interface identifier in the management interface identifier, where the second interface identifier is an identifier of an API for controlling the electronic device;
  • the second instruction sending sub-module 605F is configured to send, by using the management connection, a second management instruction that carries the second interface identifier acquired by the second obtaining sub-module 605E to the relay router, where the relay router is configured to acquire the second management.
  • the first information sending submodule 605D includes:
  • the information acquisition sub-module 605Da is configured to acquire information of at least one electronic device connected to the main router as the second device information;
  • the information sending sub-module 605Db is configured to send the first device information and the second device information acquired by the information acquiring sub-module 605Da to the management device;
  • the first device information includes at least one of a MAC address, an IP address, and connection state information of an electronic device connected to the relay router;
  • the second device information includes at least one of a MAC address, an IP address, and connection state information of the electronic device connected to the primary router.
  • the device management apparatus establishes a management connection with a relay router; acquires a management interface identifier from the relay router through the management connection; and sends a management instruction to the relay router through the management connection, the management instruction It is used to manage an electronic device connected to the relay router, and the management command carries a management interface identifier; when the relay router is connected to the primary router, the user cannot view and manage the connection to the relay router by logging in to the primary router.
  • the problem of the electronic device the effect of managing the electronic device connected to the relay router through the main router is achieved, and the efficiency of the electronic device under the user management router is improved.
  • the primary router after the management connection is established between the primary router and the relay router, the primary router sends a private protocol packet to the relay router, and detects whether the primary router and the relay router are compatible according to the feedback packet sent by the relay router. And when the primary router is compatible with the relay router, the management interface of the relay router is obtained, and the effect that the primary router can only manage the electronic device under the compatible relay router is achieved.
  • the first router sends a first management command carrying the first interface identifier to the relay router, and the relay router acquires information about the electronic device connected to the relay router according to the first interface identifier, and the The information is sent to the main router, so that the user only needs to log in to the main router through the management device, that is, the information of the electronic device connected to the relay router is learned, and the efficiency of the electronic device under the user management router is improved.
  • the second router sends a second management command carrying the second interface identifier to the relay router, and the relay router invokes an API of the control electronic device according to the second interface identifier to perform an electronic device connected to the relay router.
  • the control enables the user to control the electronic device connected to the relay router through the main router, thereby improving the efficiency of the electronic device under the user management router.
  • FIG. 7 is a structural block diagram of a device management apparatus according to still another exemplary embodiment, which may be implemented as part or all of a relay router by software, hardware, or a combination of both.
  • the device management device can include:
  • the second connection module 701 is configured to establish a management connection with the primary router.
  • the identifier providing module 703 is configured to provide a management interface identifier to the primary router by using a management connection established by the second connection module, where the management interface identifier is an identifier of an API for providing a management function in the relay router;
  • the instruction receiving module 705 is configured to receive a management instruction sent by the primary router through the management connection, where the management instruction carries a management interface identifier;
  • the management module 707 is configured to manage the electronic device connected to the relay router according to the management instruction received by the instruction receiving module.
  • the device management apparatus establishes a management connection with the primary router, provides a management interface identifier to the primary router through the management connection, and receives a management instruction sent by the primary router through the management connection, where the management command carries There is a management interface identifier; the electronic device connected to the relay router is managed according to the management instruction; and the problem that the user cannot view and manage the electronic device connected to the relay router by logging in to the primary router when the relay router is connected under the primary router is solved; The effect of managing the electronic device connected to the relay router through the main router is achieved, and the efficiency of the electronic device under the user management router is improved.
  • FIG. 8 is a structural block diagram of a device management apparatus according to still another exemplary embodiment, which may be implemented as part or all of a relay router by software, hardware, or a combination of both.
  • the device management device can include:
  • the second connection module 801 is configured to establish a management connection with the primary router
  • the identifier providing module 803 is configured to provide a management interface identifier to the primary router by using the management connection established by the second connection module 801, where the management interface identifier is an identifier of an API for providing a management function in the relay router;
  • the instruction receiving module 805 is configured to receive a management instruction sent by the primary router through the management connection, where the management instruction carries a management interface identifier;
  • the management module 807 is configured to manage the electronic device connected to the relay router according to the management instruction received by the instruction receiving module 805.
  • the second connection module 801 includes:
  • the second sending submodule 801A is configured to send a connection request to the primary router
  • the second establishing submodule 801B is configured to receive the request accepting information sent by the primary router and establish a management connection with the primary router.
  • the identifier providing module 803 includes:
  • the second receiving submodule 803A is configured to receive a management interface acquisition request sent by the primary router through the management connection, where the management interface acquisition request is sent when the primary router detects that it is compatible with the relay router;
  • the identity sending submodule 803B is configured to send at least one management interface label to the primary router through the management connection. knowledge.
  • the device further includes:
  • the packet receiving module 808 is configured to receive a private protocol packet sent by the primary router.
  • the feedback message sending module 809 is configured to send a feedback message to the primary router through the management connection, and the primary router is configured to detect whether the relay router is compatible according to the feedback message.
  • the management module 807 includes:
  • the third obtaining sub-module 807A is configured to obtain a first interface identifier in the first management command, where the first interface identifier is an identifier of an API for acquiring electronic device information;
  • the device information obtaining sub-module 807B is configured to invoke the API corresponding to the first interface identifier acquired by the third obtaining sub-module 807A, and acquire information of at least one electronic device connected to the relay router as the first device information;
  • the second information sending submodule 807C is configured to send, by the management connection, the first device information of the device information acquisition submodule to the main router, where the first device information includes the MAC address and IP of the electronic device connected to the relay router. At least one of an address and connection status information.
  • the management module 807 includes:
  • the fourth obtaining sub-module 807D is configured to obtain a second interface identifier in the second management command, where the second interface identifier is an identifier of an API for controlling the electronic device;
  • the control sub-module 807E is configured to invoke an API corresponding to the second interface identifier acquired by the fourth obtaining sub-module 807D to control the electronic device connected to the relay router.
  • the device management apparatus establishes a management connection with the primary router, provides a management interface identifier to the primary router through the management connection, and receives a management instruction sent by the primary router through the management connection, where the management command carries There is a management interface identifier; the electronic device connected to the relay router is managed according to the management instruction; and the problem that the user cannot view and manage the electronic device connected to the relay router by logging in to the primary router when the relay router is connected under the primary router is solved; The effect of managing the electronic device connected to the relay router through the main router is achieved, and the efficiency of the electronic device under the user management router is improved.
  • the primary router after the management connection is established between the primary router and the relay router, the primary router sends a private protocol packet to the relay router, and detects whether the primary router and the relay router are compatible according to the feedback packet sent by the relay router. And when the primary router is compatible with the relay router, the management interface of the relay router is obtained, and the effect that the primary router can only manage the electronic device under the compatible relay router is achieved.
  • the first router sends a first management command carrying the first interface identifier to the relay router, and the relay router acquires information about the electronic device connected to the relay router according to the first interface identifier, and the The information is sent to the main router, so that the user only needs to log in to the main router through the management device, that is, the information of the electronic device connected to the relay router is learned, and the efficiency of the electronic device under the user management router is improved.
  • the second router sends a second management command carrying the second interface identifier to the relay router, and the relay router invokes an API of the control electronic device according to the second interface identifier to perform an electronic device connected to the relay router.
  • Control allowing users to control the electronic devices connected to the relay router through the main router, improving The user manages the efficiency of the electronic device under the router.
  • An exemplary embodiment of the present disclosure further provides a device management apparatus, where the device management apparatus is applied to a main router, including:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • a management command is sent to the relay router through the management connection, and the management command is used to manage the electronic device connected to the relay router, where the management command carries the management interface identifier.
  • establishing a management connection with the relay router including:
  • obtaining the management interface identifier from the relay router through the management connection including:
  • the method further includes:
  • the step of obtaining the management interface identifier from the relay router through the management connection is performed.
  • sending management instructions to the relay router through the management connection including:
  • first interface identifier in the management interface identifier, where the first interface identifier is an identifier of an API for acquiring electronic device information;
  • the relay router Transmitting, by the management connection, the first management instruction that carries the first interface identifier to the relay router, where the relay router is configured to obtain the first interface identifier in the first management command, and invoke the API corresponding to the first interface identifier to obtain at least Information of an electronic device connected to the relay router as first device information;
  • sending management instructions to the relay router through the management connection including:
  • the second management instruction carrying the second interface identifier to the relay router, where the relay router is configured to obtain the second interface identifier in the second management command, and invoke the API corresponding to the second interface identifier to control the connection.
  • the electronic device to the relay router.
  • sending the first device information to the management device includes:
  • the first device information includes at least one of a MAC address, an IP address, and connection state information of an electronic device connected to the relay router;
  • the second device information includes at least one of a MAC address, an IP address, and connection state information of the electronic device connected to the primary router.
  • the device management method establishes a management connection with a relay router; acquires a management interface identifier from the relay router through the management connection; and sends a management instruction to the relay router through the management connection, the management instruction It is used to manage an electronic device connected to the relay router, and the management command carries a management interface identifier; when the relay router is connected to the primary router, the user cannot view and manage the connection to the relay router by logging in to the primary router.
  • the problem of the electronic device the effect of managing the electronic device connected to the relay router through the main router is achieved, and the efficiency of the electronic device under the user management router is improved.
  • An exemplary embodiment of the present disclosure further provides a device management apparatus, where the device management apparatus is applied to a relay router, including:
  • a memory for storing executable instructions of the processor
  • processor is configured to:
  • management interface identifier is an identifier of an API for providing a management function in the relay router
  • the electronic device connected to the relay router is managed according to the management instruction.
  • establishing a management connection with the primary router including:
  • the management interface identifier is provided to the primary router through the management connection, including:
  • the method includes:
  • the feedback message is sent to the primary router through the management connection, and the primary router is configured to detect whether the relay router is compatible according to the feedback message.
  • managing the electronic device connected to the relay router according to the management instruction including:
  • the first device information is transmitted to the primary router through the management connection, the first device information including at least one of a MAC address, an IP address, and connection state information of the electronic device connected to the relay router.
  • managing the electronic device connected to the relay router according to the management instruction including:
  • the API corresponding to the second interface identifier is invoked to control the electronic device connected to the relay router.
  • the device management method provided by the exemplary embodiment establishes a management connection with the primary router, provides a management interface identifier to the primary router through the management connection, and receives a management instruction sent by the primary router through the management connection, where the management command carries There is a management interface identifier; the electronic device connected to the relay router is managed according to the management instruction; and the problem that the user cannot view and manage the electronic device connected to the relay router by logging in to the primary router when the relay router is connected under the primary router is solved; The effect of managing the electronic device connected to the relay router through the main router is achieved, and the efficiency of the electronic device under the user management router is improved.
  • FIG. 9 is a block diagram of a device management apparatus, according to an exemplary embodiment.
  • Device 900 can be a primary router or a relay router.
  • device 900 can include one or more of the following components: processing component 902, memory 904, power component 906, input/output (I/O) interface 908, and communication component 910.
  • Processing component 902 typically controls the overall operation of device 900.
  • Processing component 902 can include one or more processors 920 to execute instructions to perform all or part of the steps described above.
  • processing component 902 can include one or more modules to facilitate interaction between component 902 and other components.
  • Memory 904 is configured to store various types of data to support operation at device 900. Examples of such data include instructions for any application or method operating on device 900.
  • Memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electricity. Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or CD .
  • SRAM static random access memory
  • EEPROM Erasable Programmable Read Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or CD .
  • Power component 906 provides power to various components of device 900.
  • Power component 906 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 900.
  • I/O interface 908 provides an interface between processing component 902 and peripheral interface modules.
  • Communication component 910 is configured to facilitate wired or wireless communication between device 900 and other devices.
  • the communication component 910 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • communication component 910 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • device 900 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 904 comprising instructions executable by processor 920 of apparatus 900 to perform the above method.
  • the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium that, when executed by a processor of device 900, enables device 900 to perform the device management method described above.
  • FIG. 10 shows a block diagram of a network system provided by an exemplary embodiment of the present disclosure.
  • the network system includes a primary router 1020 and a relay router 1040.
  • the main router 1020 and the relay router 1040 are connected by a wireless network or a wired network;
  • the main router 1020 includes the device management apparatus provided by the embodiment shown in FIG. 5 and FIG. 6;
  • the relay router 1040 includes device management devices as provided by the embodiments shown in FIGS. 7 and 8.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Power Engineering (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本公开是关于一种设备管理方法、装置及系统,属于路由器领域。所述方法包括:与中继路由器建立管理连接;通过管理连接从中继路由器获取管理接口标识;通过管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识。本公开解决了主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题;达到了通过主路由器就可以管理连接到中继路由器的电子设备的效果,提高了用户管理路由器下电子设备的效率。

Description

设备管理方法、装置及系统
本申请基于申请号为2014108156198、申请日为2014/12/24的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及路由器领域,特别涉及一种设备管理方法、装置及系统。
背景技术
路由器作为一种被广泛使用的网关设备,为电子设备提供无线网络访问。
由于路由器信号和使用环境的影响,一个路由器很难提供全面的无线网络覆盖。此时,人们通常使用路由中继的方式,通过在一个主路由器下连接多个中继路由器,并将中继路由器分布在不同位置,由中继路由器对接收到的主路由器发送的无线信号进行放大,使得离主路由器较远的电子设备也可以通过连接到中继路由器,实现无线网络访问。当主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备。
发明内容
为了解决相关技术中当主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题,本公开实施例提供了一种设备管理方法、装置及系统,所述技术方案如下:
根据本公开实施例的第一方面,提供一种设备管理方法,用于主路由,该方法包括:
与中继路由器建立管理连接;
通过管理连接从中继路由器获取管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API(Application Programming Interface,应用程序编程接口)的标识;
通过管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识。
在一个实施例中,与中继路由器建立管理连接,包括:
接收中继路由器发送的连接请求;
向中继路由器发送请求接受信息,并与中继路由器建立管理连接。
在一个实施例中,通过管理连接从中继路由器获取管理接口标识,包括:
通过管理连接向中继路由器发送管理接口获取请求;
接收中继路由器通过管理连接发送的至少一个管理接口标识。
在一个实施例中,该方法,还包括:
通过管理连接向中继路由器发送私有协议报文;
接收中继路由器发送的反馈报文,该反馈报文是中继路由器接收到私有协议报文后反馈的;
根据反馈报文检测中继路由器与主路由器是否兼容;
当检测到中继路由器与主路由器兼容时,执行通过管理连接从中继路由器获取管理接口标识的步骤。
在一个实施例中,通过管理连接向中继路由器发送管理指令,包括:
获取管理接口标识中的第一接口标识,该第一接口标识是用于获取电子设备信息的API的标识;
通过管理连接向中继路由器发送携带有第一接口标识的第一管理指令,该中继路由器用于获取第一管理指令中的第一接口标识,并调用第一接口标识对应的API,获取至少一个连接到中继路由器的电子设备的信息作为第一设备信息;
接收中继路由器发送的第一设备信息;
向管理设备发送第一设备信息,该管理设备用于显示第一设备信息。
在一个实施例中,通过管理连接向中继路由器发送管理指令,包括:
获取管理接口标识中的第二接口标识,该第二接口标识是用于控制电子设备的API的标识;
通过管理连接向中继路由器发送携带有第二接口标识的第二管理指令,该中继路由器用于获取第二管理指令中的第二接口标识,并调用第二接口标识对应的API,控制连接到中继路由器的电子设备。
在一个实施例中,向管理设备发送第一设备信息,包括:
获取至少一个与主路由器连接的电子设备的信息作为第二设备信息;
向管理设备发送第一设备信息和第二设备信息;
其中,第一设备信息包括连接到中继路由器的电子设备的MAC(Media Access Control,媒体访问控制)地址、IP(Internet Protocol,互联网协议)地址和连接状态信息中的至少一种;
第二设备信息包括连接到主路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
根据本公开实施例的第二方面,提供一种设备管理方法,用于中继路由器中,该方法包括:
与主路由器建立管理连接;
通过管理连接向主路由器提供管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;
接收主路由器通过管理连接发送的管理指令,该管理指令携带有管理接口标识;
根据管理指令管理连接到中继路由器的电子设备。
在一个实施例中,与主路由器建立管理连接,包括:
向主路由器发送连接请求;
接收主路由器发送的请求接受信息,并与主路由器建立管理连接。
在一个实施例中,通过管理连接向主路由器提供管理接口标识,包括:
接收主路由器通过管理连接发送的管理接口获取请求,该管理接口获取请求是主路由器检测到与中继路由器兼容时发送的;
通过管理连接向主路由器发送至少一个管理接口标识。
在一个实施例中,该方法,包括:
接收主路由器发送的私有协议报文;
通过管理连接向主路由器发送反馈报文,该主路由器用于根据反馈报文检测与中继路由器是否兼容。
在一个实施例中,根据管理指令管理连接到中继路由器的电子设备,包括:
获取第一管理指令中的第一接口标识,该第一接口标识是用于获取电子设备信息的API的标识;
调用第一接口标识对应的API,获取至少一个连接到中继路由器的电子设备的信息作为第一设备信息;
通过管理连接向主路由器发送第一设备信息,该第一设备信息包括连接到中继路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
在一个实施例中,根据管理指令管理连接到中继路由器的电子设备,包括:
获取第二管理指令中的第二接口标识,该第二接口标识是用于控制电子设备的API的标识;
调用第二接口标识对应的API,控制连接到中继路由器的电子设备。
根据本公开实施例的第三方面,提供一种设备管理装置,用于主路由器,该装置包括:
第一连接模块,被配置为与中继路由器建立管理连接;
标识获取模块,被配置为通过第一连接模块建立的管理连接从中继路由器获取管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;
指令发送模块,被配置为通过第一连接模块建立的管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识。
在一个实施例中,第一连接模块,包括:
第一接收子模块,被配置为接收中继路由器发送的连接请求;
第一建立子模块,被配置为向中继路由器发送请求接受信息,并与中继路由器建立管理连接。
在一个实施例中,标识获取模块,包括:
第一发送子模块,被配置为通过管理连接向中继路由器发送管理接口获取请求;
标识接收子模块,被配置为接收中继路由器通过管理连接发送的至少一个管理接口标识。
在一个实施例中,该装置,还包括:
报文发送模块,被配置为通过管理连接向中继路由器发送私有协议报文;
反馈报文接收模块,被配置为接收中继路由器发送的反馈报文,该反馈报文是中继路由器接收到私有协议报文后反馈的;
检测模块,被配置为根据反馈报文接收模块接收到的反馈报文检测中继路由器与主路由器是否兼容;
检测模块,被配置为当检测到中继路由器与主路由器兼容时,执行通过管理连接从中继路由器获取管理接口标识的步骤。
在一个实施例中,指令发送模块,包括:
第一获取子模块,被配置为获取管理接口标识中的第一接口标识,该第一接口标识是用于获取电子设备信息的API的标识;
第一指令发送子模块,被配置为通过管理连接向中继路由器发送携带有第一获取子模块获取的第一接口标识的第一管理指令,该中继路由器用于获取第一管理指令中的第一接口标识,并调用第一接口标识对应的API,获取至少一个连接到中继路由器的电子设备的信息作为第一设备信息;
设备信息接收子模块,被配置为接收中继路由器发送的第一设备信息;
第一信息发送子模块,被配置为向管理设备发送设备信息接收子模块接收到的第一设备信息,该管理设备用于显示第一设备信息。
在一个实施例中,指令发送模块,包括:
第二获取子模块,被配置为获取管理接口标识中的第二接口标识,该第二接口标识是用于控制电子设备的API的标识;
第二指令发送子模块,被配置为通过管理连接向中继路由器发送携带有第二获取子模块获取到的第二接口标识的第二管理指令,该中继路由器用于获取第二管理指令中的第二接口标识,并调用第二接口标识对应的API,控制连接到中继路由器的电子设备。
在一个实施例中,第一信息发送子模块,包括:
信息获取子模块,被配置为获取至少一个与主路由器连接的电子设备的信息作为第二设备信息;
信息发送子模块,被配置为向管理设备发送第一设备信息和信息获取子模块获取的第二设备信息;
其中,第一设备信息包括连接到中继路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种;
第二设备信息包括连接到主路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
根据本公开实施例的第四方面,提供一种设备管理装置,用于中继路由器,该装置包括:
第二连接模块,被配置为与主路由器建立管理连接;
标识提供模块,被配置为通过第二连接模块建立的管理连接向主路由器提供管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;
指令接收模块,被配置为接收主路由器通过管理连接发送的管理指令,该管理指令携带有管理接口标识;
管理模块,被配置为根据指令接收模块接收的管理指令管理连接到中继路由器的电子设备。
在一个实施例中,第二连接模块,包括:
第二发送子模块,被配置为向主路由器发送连接请求;
第二建立子模块,被配置为接收主路由器发送的请求接受信息,并与主路由器建立管理连接。
在一个实施例中,标识提供模块,包括:
第二接收子模块,被配置为接收主路由器通过管理连接发送的管理接口获取请求,该管理接口获取请求是主路由器检测到与中继路由器兼容时发送的;
标识发送子模块,被配置为通过管理连接向主路由器发送至少一个管理接口标识。
在一个实施例中,该装置,还包括:
报文接收模块,被配置为接收主路由器发送的私有协议报文;
反馈报文发送模块,被配置为通过管理连接向主路由器发送反馈报文,该主路由器用于根据反馈报文检测与中继路由器是否兼容。
在一个实施例中,管理模块,包括:
第三获取子模块,被配置为获取第一管理指令中的第一接口标识,该第一接口标识是用于获取电子设备信息的API的标识;
设备信息获取子模块,被配置为调用第三获取子模块获取的第一接口标识对应的API,获取至少一个连接到中继路由器的电子设备的信息作为第一设备信息;
第二信息发送子模块,被配置为通过管理连接向主路由器发送设备信息获取子模块获取的第一设备信息,该第一设备信息包括连接到中继路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
在一个实施例中,管理模块,包括:
第四获取子模块,被配置为获取第二管理指令中的第二接口标识,该第二接口标识是用于控制电子设备的API的标识;
控制子模块,被配置为调用第四获取子模块获取的第二接口标识对应的API,控制连接到中继路由器的电子设备。
根据本公开实施例的第五方面,提供一种设备管理装置,用于主路由器,该装置包括:
处理器;
用于存储处理器的可执行指令的存储器;
其中,处理器被配置为:
与中继路由器建立管理连接;
通过管理连接从中继路由器获取管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的应用程序编程接口API的标识;
通过管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识。
根据本公开实施例的第六方面,提供一种设备管理装置,用于中继路由器,该装置包括:
处理器;
用于存储处理器的可执行指令的存储器;
其中,处理器被配置为:
与主路由器建立管理连接;
通过管理连接向主路由器提供管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的应用程序编程接口API的标识;
接收主路由器通过管理连接发送的管理指令,该管理指令携带有管理接口标识;
根据管理指令管理连接到中继路由器的电子设备。
根据本公开实施例的第七方面,提供一种网络系统,该网络系统包括主路由器和中继路由器;
主路由器和中继路由器之间通过无线网络或者有线网络相连;
该主路由器,包括如上述第三方面所述的设备管理装置;该中继路由器,包括如上述第四方面所述的设备管理装置;
或,
该主路由器,包括如上述第五方面所述的设备管理装置;该中继路由器,包括如上述第六方面所述的设备管理装置。
本公开实施例提供的技术方案可以包括以下有益效果:
通过与中继路由器建立管理连接;通过管理连接从中继路由器获取管理接口标识;通过管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识;解决了主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题;达到了通过主路由器就可以管理连接到中继路由器的电子设备的效果,提高了用户管理路由器下电子设备的效率。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
图1是本公开各个实施例所涉及的实施环境的环境示意图;
图2是根据一示例性实施例示出的设备管理方法的方法流程图;
图3是根据另一示例性实施例示出的设备管理方法的方法流程图;
图4A是根据再一示例性实施例示出的设备管理方法的方法流程图;
图4B是根据再一示例性实施例示出的设备管理方法的实施示意图;
图4C是根据再一示例性实施例示出的设备管理方法中管理过程的方法流程图;
图5是根据一示例性实施例示出的设备管理装置的结构方框图;
图6是根据另一示例性实施例示出的设备管理装置的结构方框图;
图7是根据再一示例性实施例示出的设备管理装置的结构方框图;
图8是根据又一示例性实施例示出的设备管理装置的结构方框图;
图9是根据一示例性实施例示出的设备管理装置的框图;
图10是根据本公开一示例性实施例提供的网络系统的方框图。
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
图1是本公开各个实施例所涉及的实施环境的环境示意图,该实施环境包括主路由器110、连接到主路由器的中继路由器120、连接到主路由器的电子设备130和连接到中继路由器的电子设备140。
主路由器110是具有数据处理和数据传输功能的电子设备,该电子设备可以是路由器或者是通过软件开启了路由功能的主机等等。
主路由器110与连接到主路由器的电子设备130之间通过有线或无线网络相连。
连接到主路由器的电子设备130是具有无线或有线网络连接功能的电子设备,该电子设备可以是智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、智能摄像头和智能插座等等。
主路由器110与中继路由器120之间通过有线或无线网络相连。
中继路由器是具有数据处理和数据传输功能的电子设备,用于接收并转发主路由器110发送的数据,该电子设备可以是路由器或者是通过软件开启了路由功能的主机等等。
中继路由器120与连接到中继路由器的电子设备140之间通过有线或无线网络相连。
连接到中继路由器的电子设备140是具有无线或有线网络连接功能的电子设备,该电子设备可以是智能手机、平板电脑、电子书阅读器、MP3播放器、MP4播放器、智能摄像头和智能插座等等。
需要说明的是,主路由器110下面可以连接多个中继路由器,中继路由器120下面也可以连接其它中继路由器,本实施例仅以该实施环境中包含一个主路由器和一个中继路由器进行说明,并不对本公开构成限定。
图2是根据一示例性实施例示出的设备管理方法的方法流程图,本实施例以该设备管理方法用于图1中的主路由器110来进行说明,该设备管理方法可以包括如下步骤。
在步骤202中,与中继路由器建立管理连接;
在步骤204中,通过管理连接从中继路由器获取管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;
在步骤206中,通过管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识。
可选地,与中继路由器建立管理连接,包括:
接收中继路由器发送的连接请求;
向中继路由器发送请求接受信息,并与中继路由器建立管理连接。
可选地,通过管理连接从中继路由器获取管理接口标识,包括:
通过管理连接向中继路由器发送管理接口获取请求;
接收中继路由器通过管理连接发送的至少一个管理接口标识。
可选地,该方法,还包括:
通过管理连接向中继路由器发送私有协议报文;
接收中继路由器发送的反馈报文,该反馈报文是中继路由器接收到私有协议报文后反馈的;
根据反馈报文检测中继路由器与主路由器是否兼容;
当检测到中继路由器与主路由器兼容时,执行通过管理连接从中继路由器获取管理接口标识的步骤。
可选地,通过管理连接向中继路由器发送管理指令,包括:
获取管理接口标识中的第一接口标识,该第一接口标识是用于获取电子设备信息的API的标识;
通过管理连接向中继路由器发送携带有第一接口标识的第一管理指令,该中继路由器 用于获取第一管理指令中的第一接口标识,并调用第一接口标识对应的API,获取至少一个连接到中继路由器的电子设备的信息作为第一设备信息;
接收中继路由器发送的第一设备信息;
向管理设备发送第一设备信息,该管理设备用于显示第一设备信息。
可选地,通过管理连接向中继路由器发送管理指令,包括:
获取管理接口标识中的第二接口标识,该第二接口标识是用于控制电子设备的API的标识;
通过管理连接向中继路由器发送携带有第二接口标识的第二管理指令,该中继路由器用于获取第二管理指令中的第二接口标识,并调用第二接口标识对应的API,控制连接到中继路由器的电子设备。
可选地,向管理设备发送第一设备信息,包括:
获取至少一个与主路由器连接的电子设备的信息作为第二设备信息;
向管理设备发送第一设备信息和第二设备信息;
其中,第一设备信息包括连接到中继路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种;
第二设备信息包括连接到主路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
综上所述,本示例性实施例提供的设备管理方法,通过与中继路由器建立管理连接;通过管理连接从中继路由器获取管理接口标识;通过管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识;解决了主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题;达到了通过主路由器就可以管理连接到中继路由器的电子设备的效果,提高了用户管理路由器下电子设备的效率。
图3是根据另一示例性实施例示出的设备管理方法的方法流程图,本实施例以该设备管理方法用于图1中的中继路由器120来进行说明,该设备管理方法可以包括如下步骤。
在步骤302中,与主路由器建立管理连接;
在步骤304中,通过管理连接向主路由器提供管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;
在步骤306中,接收主路由器通过管理连接发送的管理指令,该管理指令携带有管理接口标识;
在步骤308中,根据管理指令管理连接到中继路由器的电子设备。
可选地,与主路由器建立管理连接,包括:
向主路由器发送连接请求;
接收主路由器发送的请求接受信息,并与主路由器建立管理连接。
可选地,通过管理连接向主路由器提供管理接口标识,包括:
接收主路由器通过管理连接发送的管理接口获取请求,该管理接口获取请求是主路由器检测到与中继路由器兼容时发送的;
通过管理连接向主路由器发送至少一个管理接口标识。
可选地,该方法,包括:
接收主路由器发送的私有协议报文;
通过管理连接向主路由器发送反馈报文,该主路由器用于根据反馈报文检测与中继路由器是否兼容。
可选地,根据管理指令管理连接到中继路由器的电子设备,包括:
获取第一管理指令中的第一接口标识,该第一接口标识是用于获取电子设备信息的API的标识;
调用第一接口标识对应的API,获取至少一个连接到中继路由器的电子设备的信息作为第一设备信息;
通过管理连接向主路由器发送第一设备信息,该第一设备信息包括连接到中继路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
可选地,根据管理指令管理连接到中继路由器的电子设备,包括:
获取第二管理指令中的第二接口标识,该第二接口标识是用于控制电子设备的API的标识;
调用第二接口标识对应的API,控制连接到中继路由器的电子设备。
综上所述,本示例性实施例提供的设备管理方法,通过与主路由器建立管理连接;通过管理连接向主路由器提供管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;接收主路由器通过管理连接发送的管理指令,该管理指令携带有管理接口标识;根据管理指令管理连接到中继路由器的电子设备;解决了主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题;达到了通过主路由器就可以管理连接到中继路由器的电子设备的效果,提高了用户管理路由器下电子设备的效率。
图4A是根据再一示例性实施例示出的设备管理方法的方法流程图,本实施例以该设备管理方法用于图1所示的实施环境来进行说明,该设备管理方法可以包括如下步骤。
在步骤401中,中继路由器向主路由器发送连接请求。
用户使用管理设备登录中继路由器的管理界面,开启中继路由器的路由中继功能,搜索附近的主路由器。当搜索到主路由器时,中继路由器会在管理界面中提示用户输入连接到该主路由器的密码,用户在管理界面输入密码后,中继路由器将该密码发送至主路由器,由主路由器进行验证。在主路由器验证通过后,中继路由器即连入了主路由器提供的无线网络。
为了保证主路由器在管理中继路由器下电子设备时的安全性,中继路由器在连入主路由器提供的无线网络后,会主动向主路由器的预定TCP(Transmission Control Protocol传输控制协议)端口发送连接请求,请求与该TCP端口建立管理连接,其中,该预定TCP端口可以是主路由器的80端口,且该管理连接是一个长连接。由于主路由器可能会接收到多个中继路由器发送的连接请求,所以该连接请求中还可以包含中继路由器的标识信息,该标识信息用于主路由器对中继路由器进行识别。
在步骤402中,主路由器接收中继路由器发送的连接请求。
对应的,主路由器接收该中继路由器发送的连接请求。
在步骤403中,主路由器向中继路由器发送请求接受信息,并与中继路由器建立管理连接。
主路由器获取该连接请求中携带的中继路由器的标识信息,并根据该标识信息检测该中继路由器是否是连接到主路由器的中继路由器。当检测到该中继路由器是连接到主路由器的中继路由器时,主路由器接受该连接请求,通过预定的TCP端口与中继路由器建立管理连接,并向该中继路由器发送请求接受信息,告知中继路由器可以与主路由器建立管理连接。
在步骤404中,中继路由器接收主路由器发送的请求接受信息,并与主路由器建立管理连接。
中继路由器接收到主路由器发送的请求接受信息,与主路由器的预定TCP端口建立管理连接。由于中继路由器与主路由器建立管理连接遵循TCP三次握手协议,所以中继路由器在与主路由器的预定TCP端口建立管理连接后,还需要向主路由器发送连接建立信息,告知主路由器管理连接已建立。
当中继路由器与主路由器建立管理连接后,中继路由器即将管理权限赋予该主路由器,认为该主路由器为可信任的设备,并认为通过该管理连接发送的指令或数据是安全的。
当主路由器下连接多个中继路由器时,主路由器会分别与各个中继路由器建立管理连接,本实施例仅以该主路由器下接入一个中继路由器进行说明,并不对本公开构成限定。
在步骤405中,主路由器通过管理连接向中继路由器发送私有协议报文。
中继路由器与主路由器建立管理连接后,主路由器通过该管理连接,向中继路由器发送一个私有协议报文,该私有协议报文用于提示中继路由器发送反馈报文,该反馈报文中携带有中继路由器的版本号和报文传输格式等信息。
在步骤406中,中继路由器接收主路由器发送的私有协议报文。
在步骤407中,中继路由器通过管理连接向主路由器发送反馈报文。
中继路由器根据接收到的私有协议报文,获取当前中继路由器的版本号和报文传输格式等信息,将该信息封装成反馈报文,通过管理连接发送至主路由器。
在步骤408中,主路由器接收中继路由器发送的反馈报文。
该反馈报文是中继路由器接收到私有协议报文后反馈的。
在步骤409中,主路由器根据反馈报文检测中继路由器与主路由器是否兼容。
主路由器获取该反馈报文中的版本号和报文传输格式等信息,并根据该信息检测中继路由器与主路由器是否兼容。其中,主路由器中预先存储有兼容版本的信息,该兼容版本的信息可以存储在表结构如表一所示的兼容版本信息表中:
表一
版本号 报文传输格式
版本A 格式A
版本B 格式B
主路由器根据反馈报文中携带的信息,在兼容版本信息表中查找是否存在匹配项,当查找到匹配项时,即可确定该中继路由器与主路由器兼容,执行步骤410;当未查找到匹配项时,即确定该中继路由器与主路由器不兼容,主路由器不可以对中继路由器下的电子设备进行管理。
在步骤410中,主路由器通过管理连接向中继路由器发送管理接口获取请求。
中继路由器中预先设置有至少一个管理接口,该管理接口是API接口。不同管理接口提供不同管理功能,该管理功能包括信息获取功能、黑白名单功能、定时开关功能和限制访问功能等等,中继路由器通过调用不同的管理接口,实现对接入的电子设备进行管理。
比如,中继路由器调用的管理接口所提供的管理功能为信息获取功能,中继路由器即可通过调用该管理接口获取到连接到中继路由器的电子设备的设备信息、连接状态信息和运行状态信息等等。
又比如,中继路由器调用的管理接口所提供的管理功能为限制访问功能,中继路由器即可调用该管理接口,禁止连接到该中继路由器上的部分或全部电子设备访问互联网。
主路由器为了能够管理中继路由器下的电子设备,需要知悉该中继路由器提供哪些管理接口,所以主路由器通过管理连接向中继路由器发送管理接口获取请求,请求获取中继路由器的管理接口标识。
由于不同的中继路由器提供的管理接口不同,所以当主路由器下接入多个中继路由器时,主路由器需要分别向各个中继路由器发送管理接口获取请求。
在步骤411中,中继路由器接收主路由器通过管理连接发送的管理接口获取请求。
在步骤412中,中继路由器通过管理连接向主路由器发送至少一个管理接口标识。
由于该管理接口获取请求是通过管理连接发送的,所以中继路由器认为该管理接口获取请求是安全的。中继路由器中预先存储有管理接口标识与管理接口的对应关系,该对应关系可以存储在表结构如表二所述的接口标识表中:
表二
管理接口标识 管理接口
管理接口A 用于获取信息的API
管理接口B 用于设置黑白名单的API
管理接口C 用于定时开关的API
管理接口D 用于限制访问的API
其中,管理接口标识是中继路由器中用于提供管理功能的API的标识。
中继路由器根据接收到的管理接口获取请求,获取至少一个管理接口标识,并通过管理连接将该管理接口标识发送至主路由器。
在步骤413中,主路由器接收中继路由器通过管理连接发送的至少一个管理接口标识。
对应的,主路由器接收中继路由器发送的管理接口标识。为了方便后续使用,主路由器会对接收到的管理接口标识进行保存,并记录该管理接口标识与中继路由器的对应关系。当主路由器接收到多个中继路由器发送的管理接口标识时,管理接口标识与中继路由器的对应关系可以存储在表结构如表三所示的表中:
表三
Figure PCTCN2015080681-appb-000001
此时,主路由器已经获取了中继路由器的管理权限,且可以通过与中继路由器建立的管理连接对中继路由器下的电子设备进行管理。
在步骤414中,主路由器获取管理接口标识中的第一接口标识,该第一接口标识是用于获取电子设备信息的API的标识。
用户想要使用主路由器管理中继路由器下的电子设备时,可以使用管理设备连接到主路由器,并输入用户名和密码登录主路由器的管理界面,向主路由器发出相应的指令。主路由器根据接收到的指令,在表三所示的表中查找对应的管理接口标识。
用户想要获取连接到中继路由器的电子设备的信息时,通过管理设备向主路由器发出相应指令,主路由器根据该指令从管理接口标识中查找用于获取电子设备信息的API的标识,即第一接口标识。
当主路由器下连接有多个中继路由器时,主路由器首先确定需要管理的中继路由器,再从该中继路由器提供的管理接口标识中获取相应的管理接口标识。
在步骤415中,主路由器通过管理连接向中继路由器发送携带有第一接口标识的第一管理指令。
在步骤416中,中继路由器获取第一管理指令中的第一接口标识。
中继路由器获取接收到的第一管理指令中携带的第一接口标识,并根据该第一接口标识确定需要调用的API是用于获取电子设备信息的API。
在步骤417中,中继路由器调用第一接口标识对应的API,获取至少一个连接到中继路由器的电子设备的信息作为第一设备信息。
该第一设备标识包括连接到中继路由器的电子设备的MAC地址、IP地址和连接状态信息等等。其中,电子设备的连接状态信息包括电子设备是否在线、电子设备已连接到中继路由器的时长和接收发送的数据量等信息。
当中继路由器拥有接入的电子设备的管理权限时,中继路由器还可以获取到电子设备采集的数据以及当前工作状态信息,并作为第一设备信息一同发送至主路由器。
比如,中继路由器拥有接入的空气净化器的管理权限,中继路由器可以获取到空气净化器采集到的当前空气质量的相关数据以及当前工作模式的数据,并通过管理连接发送至主路由器。
在步骤418中,中继路由器通过管理连接向主路由器发送第一设备信息。
需要说明的是,当电子设备连接到中继路由器或与中继路由器断开连接时,中继路由器会通过管理连接向主路由器发送最新的第一设备信息,告知主路由器对第一设备信息进行更新。
在步骤419中,主路由器接收中继路由器发送的第一设备信息。
在步骤420中,主路由器向管理设备发送第一设备信息,该管理设备用于显示第一设备信息。
主路由器通过向中继路由器发送携带有第一接口标识的第一管理指令,获取到中继路由器发送的第一设备信息,并将该第一设备信息发送至管理设备,由管理设备对该第一设备信息进行显示。
为了使用户能够同时了解到连接在主路由器和中继路由器的电子设备的信息,步骤420还可以包括如下子步骤。
1)主路由器获取至少一个与主路由器连接的电子设备的信息作为第二设备信息。
该第二设备标识包括连接到主路由器的电子设备的MAC地址、IP地址和连接状态信息等等。其中,电子设备的连接状态信息包括电子设备连接到主路由器的时长和接收发送的数据量等信息。
2)主路由器向管理设备发送第一设备信息和第二设备信息。
主路由器将获取的第一设备信息和第二设备信息一同发送至管理设备,由管理设备对接收到的信息进行显示。为了使用户更加清楚的区分电子设备是连接到主路由器还是中继路由器,主路由器还可以在发送的第一设备信息和第二设备信息中添加路由器的标识,管 理设备根据该路由器的标识对第一设备信息和第二设备信息进行划分,使用户更加清楚的了解电子设备的连接情况。
比如,如图4B所示,管理设备41以列表的形式,对接收到的第一设备信息和第二设备信息进行显示。
由于不同的管理接口对应不同的管理功能,所以当中继路由器向主路由器提供的管理接口标识中,包含用于控制电子设备的API的标识时,主路由器即可通过管理连接,向中继路由器发送携带有用于控制电子设备的API的标识的管理指令,控制连接到中继路由器的电子设备。
作为一种可能的实现方式,如图4C所示,步骤414至步骤420可以被替换为步骤414a至步骤417a。
在步骤414a中,主路由器获取管理接口标识中的第二接口标识,该第二接口标识是用于控制电子设备的API的标识。
比如,中继路由器提供的管理接口标识中,包含用于控制智能插座的API的标识,当用户想通过主路由器对智能插座的通断电进行设置时,即可通过管理设备向主路由器发送相应的指令,主路由器根据该指令在管理接口标识中查找用于控制智能插座的API的标识,并将查找到的标识确定为第二接口标识。
在步骤415a中,主路由器通过管理连接向中继路由器发送携带有所述第二接口标识的第二管理指令。
当用户需要对指定电子设备进行控制时,该第二管理指令中还可以携带有指定电子设备的标识,该标识可以是电子设备的MAC地址,中继路由器根据该指定电子设备的标识对指定电子设备进行控制。
在步骤416a中,中继路由器获取第二管理指令中的第二接口标识。
中继路由器获取第二管理指令中携带的第二接口标识,并根据该第二接口标识确定需要调用的API。
比如,中继路由器获取到第二接口标识为用于控制智能插座的API的标识,即可确定需要调用用于控制智能插座的API。
在步骤417a中,中继路由器调用第二接口标识对应的API,控制连接到中继路由器的电子设备。
当该第二管理指令中还携带有电子设备的标识时,中继路由器将调用第二接口标识对应的API,对该标识对应的电子设备进行控制。
比如,用户需要对指定的智能插座A进行控制,主路由器向中继路由器发送的第二管理指令中携带有用于控制智能插座的API的标识和智能插座A的MAC地址,中继路由器根据该MAC地址,调用用于控制智能插座的API,对智能插座A进行控制。
综上所述,本示例性实施例提供的设备管理方法,通过与中继路由器建立管理连接;通过管理连接从中继路由器获取管理接口标识;通过管理连接向中继路由器发送管理指 令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识;解决了主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题;达到了通过主路由器就可以管理连接到中继路由器的电子设备的效果,提高了用户管理路由器下电子设备的效率。
本实施例还通过在主路由器与中继路由器之间建立管理连接之后,由主路由器向中继路由器发送私有协议报文,根据中继路由器发送的反馈报文检测主路由器与中继路由器是否兼容,并在主路由器与中继路由器兼容时获取中继路由器的管理接口,达到了主路由器只能管理兼容的中继路由器下电子设备的效果。
本实施例还通过由主路由器向中继路由器发送携带有第一接口标识的第一管理指令,中继路由器根据该第一接口标识获取到连接到中继路由器的电子设备的信息,并将该信息发送至主路由器,使得用户只需要通过管理设备登录主路由器,即了解到连接到中继路由器的电子设备的信息,提高了用户管理路由器下电子设备的效率。
本实施例还通过主路由器向中继路由器发送携带有第二接口标识的第二管理指令,中继路由器根据该第二接口标识调用控制电子设备的API,对连接到中继路由器的电子设备进行控制,使得用户通过主路由器即可对连接到中继路由器的电子设备进行控制,提高了用户管理路由器下电子设备的效率。
下述为本公开装置实施例,可以用于执行本公开方法实施例。对于本公开装置实施例中未披露的细节,请参照本公开方法实施例。
图5是根据一示例性实施例示出的设备管理装置的结构方框图,该设备管理装置可以通过软件、硬件或者两者的结合实现成为主路由器的部分或者全部。该设备管理装置可以包括:
第一连接模块501,被配置为与中继路由器建立管理连接;
标识获取模块503,被配置为通过第一连接模块501建立的管理连接从中继路由器获取管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;
指令发送模块505,被配置为通过第一连接模块501建立的管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识。
综上所述,本示例性实施例提供的设备管理装置,通过与中继路由器建立管理连接;通过管理连接从中继路由器获取管理接口标识;通过管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识;解决了主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题;达到了通过主路由器就可以管理连接到中继路由器的电子设备的效果,提高了用户管理路由器下电子设备的效率。
图6是根据另一示例性实施例示出的设备管理装置的结构方框图,该设备管理装置可以通过软件、硬件或者两者的结合实现成为主路由器的部分或者全部。该设备管理装置可以包括:
第一连接模块601,被配置为与中继路由器建立管理连接;
标识获取模块603,被配置为通过第一连接模块601建立的管理连接从中继路由器获取管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;
指令发送模块605,被配置为通过第一连接模块601建立的管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识。
可选地,第一连接模块601,包括:
第一接收子模块601A,被配置为接收中继路由器发送的连接请求;
第一建立子模块601B,被配置为向中继路由器发送请求接受信息,并与中继路由器建立管理连接。
可选地,标识获取模块603,包括:
第一发送子模块603A,被配置为通过管理连接向中继路由器发送管理接口获取请求;
标识接收子模块603B,被配置为接收中继路由器通过管理连接发送的至少一个管理接口标识。
可选地,该装置,还包括:
报文发送模块606,被配置为通过管理连接向中继路由器发送私有协议报文;
反馈报文接收模块607,被配置为接收中继路由器发送的反馈报文,该反馈报文是中继路由器接收到私有协议报文后反馈的;
检测模块608,被配置为根据反馈报文接收模块607接收到的反馈报文检测中继路由器与主路由器是否兼容;
检测模块608,被配置为当检测到中继路由器与主路由器兼容时,执行通过管理连接从中继路由器获取管理接口标识的步骤。
可选地,指令发送模块605,包括:
第一获取子模块605A,被配置为获取管理接口标识中的第一接口标识,该第一接口标识是用于获取电子设备信息的API的标识;
第一指令发送子模块605B,被配置为通过管理连接向中继路由器发送携带有第一获取子模块605A获取的第一接口标识的第一管理指令,该中继路由器用于获取第一管理指令中的第一接口标识,并调用第一接口标识对应的API,获取至少一个连接到中继路由器的电子设备的信息作为第一设备信息;
设备信息接收子模块605C,被配置为接收中继路由器发送的第一设备信息;
第一信息发送子模块605D,被配置为向管理设备发送设备信息接收子模块605C接收到的第一设备信息,该管理设备用于显示第一设备信息。
可选地,指令发送模块605,包括:
第二获取子模块605E,被配置为获取管理接口标识中的第二接口标识,该第二接口标识是用于控制电子设备的API的标识;
第二指令发送子模块605F,被配置为通过管理连接向中继路由器发送携带有第二获取子模块605E获取到的第二接口标识的第二管理指令,该中继路由器用于获取第二管理指令中的第二接口标识,并调用第二接口标识对应的API,控制连接到中继路由器的电子设备。
可选地,第一信息发送子模块605D,包括:
信息获取子模块605Da,被配置为获取至少一个与主路由器连接的电子设备的信息作为第二设备信息;
信息发送子模块605Db,被配置为向管理设备发送第一设备信息和信息获取子模块605Da获取的第二设备信息;
其中,第一设备信息包括连接到中继路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种;
第二设备信息包括连接到主路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
综上所述,本示例性实施例提供的设备管理装置,通过与中继路由器建立管理连接;通过管理连接从中继路由器获取管理接口标识;通过管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识;解决了主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题;达到了通过主路由器就可以管理连接到中继路由器的电子设备的效果,提高了用户管理路由器下电子设备的效率。
本实施例还通过在主路由器与中继路由器之间建立管理连接之后,由主路由器向中继路由器发送私有协议报文,根据中继路由器发送的反馈报文检测主路由器与中继路由器是否兼容,并在主路由器与中继路由器兼容时获取中继路由器的管理接口,达到了主路由器只能管理兼容的中继路由器下电子设备的效果。
本实施例还通过由主路由器向中继路由器发送携带有第一接口标识的第一管理指令,中继路由器根据该第一接口标识获取到连接到中继路由器的电子设备的信息,并将该信息发送至主路由器,使得用户只需要通过管理设备登录主路由器,即了解到连接到中继路由器的电子设备的信息,提高了用户管理路由器下电子设备的效率。
本实施例还通过主路由器向中继路由器发送携带有第二接口标识的第二管理指令,中继路由器根据该第二接口标识调用控制电子设备的API,对连接到中继路由器的电子设备进行控制,使得用户通过主路由器即可对连接到中继路由器的电子设备进行控制,提高了用户管理路由器下电子设备的效率。
图7是根据再一示例性实施例示出的设备管理装置的结构方框图,该设备管理装置可以通过软件、硬件或者两者的结合实现成为中继路由器的部分或者全部。该设备管理装置可以包括:
第二连接模块701,被配置为与主路由器建立管理连接;
标识提供模块703,被配置为通过第二连接模块建立的管理连接向主路由器提供管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;
指令接收模块705,被配置为接收主路由器通过管理连接发送的管理指令,该管理指令携带有管理接口标识;
管理模块707,被配置为根据指令接收模块接收的管理指令管理连接到中继路由器的电子设备。
综上所述,本示例性实施例提供的设备管理装置,通过与主路由器建立管理连接;通过管理连接向主路由器提供管理接口标识;接收主路由器通过管理连接发送的管理指令,该管理指令携带有管理接口标识;根据管理指令管理连接到中继路由器的电子设备;解决了主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题;达到了通过主路由器就可以管理连接到中继路由器的电子设备的效果,提高了用户管理路由器下电子设备的效率。
图8是根据又一示例性实施例示出的设备管理装置的结构方框图,该设备管理装置可以通过软件、硬件或者两者的结合实现成为中继路由器的部分或者全部。该设备管理装置可以包括:
第二连接模块801,被配置为与主路由器建立管理连接;
标识提供模块803,被配置为通过第二连接模块801建立的管理连接向主路由器提供管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;
指令接收模块805,被配置为接收主路由器通过管理连接发送的管理指令,该管理指令携带有管理接口标识;
管理模块807,被配置为根据指令接收模块805接收的管理指令管理连接到中继路由器的电子设备。
可选地,第二连接模块801,包括:
第二发送子模块801A,被配置为向主路由器发送连接请求;
第二建立子模块801B,被配置为接收主路由器发送的请求接受信息,并与主路由器建立管理连接。
可选地,标识提供模块803,包括:
第二接收子模块803A,被配置为接收主路由器通过管理连接发送的管理接口获取请求,该管理接口获取请求是主路由器检测到与中继路由器兼容时发送的;
标识发送子模块803B,被配置为通过管理连接向主路由器发送至少一个管理接口标 识。
可选地,该装置,还包括:
报文接收模块808,被配置为接收主路由器发送的私有协议报文;
反馈报文发送模块809,被配置为通过管理连接向主路由器发送反馈报文,该主路由器用于根据反馈报文检测与中继路由器是否兼容。
可选地,管理模块807,包括:
第三获取子模块807A,被配置为获取第一管理指令中的第一接口标识,该第一接口标识是用于获取电子设备信息的API的标识;
设备信息获取子模块807B,被配置为调用第三获取子模块807A获取的第一接口标识对应的API,获取至少一个连接到中继路由器的电子设备的信息作为第一设备信息;
第二信息发送子模块807C,被配置为通过管理连接向主路由器发送设备信息获取子模块获取807B的第一设备信息,该第一设备信息包括连接到中继路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
可选地,管理模块807,包括:
第四获取子模块807D,被配置为获取第二管理指令中的第二接口标识,该第二接口标识是用于控制电子设备的API的标识;
控制子模块807E,被配置为调用第四获取子模块807D获取的第二接口标识对应的API,控制连接到中继路由器的电子设备。
综上所述,本示例性实施例提供的设备管理装置,通过与主路由器建立管理连接;通过管理连接向主路由器提供管理接口标识;接收主路由器通过管理连接发送的管理指令,该管理指令携带有管理接口标识;根据管理指令管理连接到中继路由器的电子设备;解决了主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题;达到了通过主路由器就可以管理连接到中继路由器的电子设备的效果,提高了用户管理路由器下电子设备的效率。
本实施例还通过在主路由器与中继路由器之间建立管理连接之后,由主路由器向中继路由器发送私有协议报文,根据中继路由器发送的反馈报文检测主路由器与中继路由器是否兼容,并在主路由器与中继路由器兼容时获取中继路由器的管理接口,达到了主路由器只能管理兼容的中继路由器下电子设备的效果。
本实施例还通过由主路由器向中继路由器发送携带有第一接口标识的第一管理指令,中继路由器根据该第一接口标识获取到连接到中继路由器的电子设备的信息,并将该信息发送至主路由器,使得用户只需要通过管理设备登录主路由器,即了解到连接到中继路由器的电子设备的信息,提高了用户管理路由器下电子设备的效率。
本实施例还通过主路由器向中继路由器发送携带有第二接口标识的第二管理指令,中继路由器根据该第二接口标识调用控制电子设备的API,对连接到中继路由器的电子设备进行控制,使得用户通过主路由器即可对连接到中继路由器的电子设备进行控制,提高了 用户管理路由器下电子设备的效率。
本公开一示例性实施例还提供了一种设备管理装置,该设备管理装置应用于主路由器中,包括:
处理器;
用于存储处理器的可执行指令的存储器;
其中,处理器被配置为:
与中继路由器建立管理连接;
通过管理连接从中继路由器获取管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;
通过管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识。
可选地,与中继路由器建立管理连接,包括:
接收中继路由器发送的连接请求;
向中继路由器发送请求接受信息,并与中继路由器建立管理连接。
可选地,通过管理连接从中继路由器获取管理接口标识,包括:
通过管理连接向中继路由器发送管理接口获取请求;
接收中继路由器通过管理连接发送的至少一个管理接口标识。
可选地,该方法,还包括:
通过管理连接向中继路由器发送私有协议报文;
接收中继路由器发送的反馈报文,该反馈报文是中继路由器接收到私有协议报文后反馈的;
根据反馈报文检测中继路由器与主路由器是否兼容;
当检测到中继路由器与主路由器兼容时,执行通过管理连接从中继路由器获取管理接口标识的步骤。
可选地,通过管理连接向中继路由器发送管理指令,包括:
获取管理接口标识中的第一接口标识,该第一接口标识是用于获取电子设备信息的API的标识;
通过管理连接向中继路由器发送携带有第一接口标识的第一管理指令,该中继路由器用于获取第一管理指令中的第一接口标识,并调用第一接口标识对应的API,获取至少一个连接到中继路由器的电子设备的信息作为第一设备信息;
接收中继路由器发送的第一设备信息;
向管理设备发送第一设备信息,该管理设备用于显示第一设备信息。
可选地,通过管理连接向中继路由器发送管理指令,包括:
获取管理接口标识中的第二接口标识,该第二接口标识是用于控制电子设备的API 的标识;
通过管理连接向中继路由器发送携带有第二接口标识的第二管理指令,该中继路由器用于获取第二管理指令中的第二接口标识,并调用第二接口标识对应的API,控制连接到中继路由器的电子设备。
可选地,向管理设备发送第一设备信息,包括:
获取至少一个与主路由器连接的电子设备的信息作为第二设备信息;
向管理设备发送第一设备信息和第二设备信息;
其中,第一设备信息包括连接到中继路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种;
第二设备信息包括连接到主路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
综上所述,本示例性实施例提供的设备管理方法,通过与中继路由器建立管理连接;通过管理连接从中继路由器获取管理接口标识;通过管理连接向中继路由器发送管理指令,该管理指令用于对连接在中继路由器上的电子设备进行管理,该管理指令携带有管理接口标识;解决了主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题;达到了通过主路由器就可以管理连接到中继路由器的电子设备的效果,提高了用户管理路由器下电子设备的效率。
本公开一示例性实施例还提供了一种设备管理装置,该设备管理装置应用于中继路由器中,包括:
处理器;
用于存储处理器的可执行指令的存储器;
其中,处理器被配置为:
与主路由器建立管理连接;
通过管理连接向主路由器提供管理接口标识,该管理接口标识是中继路由器中用于提供管理功能的API的标识;
接收主路由器通过管理连接发送的管理指令,该管理指令携带有管理接口标识;
根据管理指令管理连接到中继路由器的电子设备。
可选地,与主路由器建立管理连接,包括:
向主路由器发送连接请求;
接收主路由器发送的请求接受信息,并与主路由器建立管理连接。
可选地,通过管理连接向主路由器提供管理接口标识,包括:
接收主路由器通过管理连接发送的管理接口获取请求,该管理接口获取请求是主路由器检测到与中继路由器兼容时发送的;
通过管理连接向主路由器发送至少一个管理接口标识。
可选地,该方法,包括:
接收主路由器发送的私有协议报文;
通过管理连接向主路由器发送反馈报文,该主路由器用于根据反馈报文检测与中继路由器是否兼容。
可选地,根据管理指令管理连接到中继路由器的电子设备,包括:
获取第一管理指令中的第一接口标识,该第一接口标识是用于获取电子设备信息的API的标识;
调用第一接口标识对应的API,获取至少一个连接到中继路由器的电子设备的信息作为第一设备信息;
通过管理连接向主路由器发送第一设备信息,该第一设备信息包括连接到中继路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
可选地,根据管理指令管理连接到中继路由器的电子设备,包括:
获取第二管理指令中的第二接口标识,该第二接口标识是用于控制电子设备的API的标识;
调用第二接口标识对应的API,控制连接到中继路由器的电子设备。
综上所述,本示例性实施例提供的设备管理方法,通过与主路由器建立管理连接;通过管理连接向主路由器提供管理接口标识;接收主路由器通过管理连接发送的管理指令,该管理指令携带有管理接口标识;根据管理指令管理连接到中继路由器的电子设备;解决了主路由器下连接有中继路由器时,用户无法通过登录主路由器查看并管理连接到中继路由器的电子设备的问题;达到了通过主路由器就可以管理连接到中继路由器的电子设备的效果,提高了用户管理路由器下电子设备的效率。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图9是根据一示例性实施例示出的设备管理装置的框图。装置900可以是主路由器或中继路由器。
参照图9,装置900可以包括以下一个或多个组件:处理组件902,存储器904,电源组件906,输入/输出(I/O)的接口908以及通信组件910。
处理组件902通常控制装置900的整体操作。处理组件902可以包括一个或多个处理器920来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。
存储器904被配置为存储各种类型的数据以支持在装置900的操作。这些数据的示例包括用于在装置900上操作的任何应用程序或方法的指令。存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电 可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件906为装置900的各种组件提供电力。电源组件906可以包括电源管理系统,一个或多个电源,及其他与为装置900生成、管理和分配电力相关联的组件。
I/O接口908为处理组件902和外围接口模块之间提供接口。
通信组件910被配置为便于装置900和其他设备之间有线或无线方式的通信。在一个示例性实施例中,通信组件910经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,通信组件910还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器904,上述指令可由装置900的处理器920执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当存储介质中的指令由装置900的处理器执行时,使得装置900能够执行上述设备管理方法。
请参考图10,其示出了本公开一示例性实施例提供的的网络系统的方框图。该网络系统包括主路由器1020和中继路由器1040。
该主路由器1020与中继路由器1040之间通过无线网络或者有线网络相连;
该主路由器1020包括如图5和6图所示实施例提供的设备管理装置;
该中继路由器1040包括如图7和图8所示实施例提供的设备管理装置。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (29)

  1. 一种设备管理方法,其特征在于,用于主路由器,所述方法包括:
    与中继路由器建立管理连接;
    通过所述管理连接从所述中继路由器获取管理接口标识,所述管理接口标识是所述中继路由器中用于提供管理功能的应用程序编程接口API的标识;
    通过所述管理连接向所述中继路由器发送管理指令,所述管理指令用于对连接在所述中继路由器上的电子设备进行管理,所述管理指令携带有所述管理接口标识。
  2. 根据权利要求1所述的方法,其特征在于,所述与中继路由器建立管理连接,包括:
    接收所述中继路由器发送的连接请求;
    向所述中继路由器发送请求接受信息,并与所述中继路由器建立所述管理连接。
  3. 根据权利要求1所述的方法,其特征在于,所述通过所述管理连接从所述中继路由器获取管理接口标识,包括:
    通过所述管理连接向所述中继路由器发送管理接口获取请求;
    接收所述中继路由器通过所述管理连接发送的至少一个所述管理接口标识。
  4. 根据权利要求1至3任一所述的方法,其特征在于,所述方法,还包括:
    通过所述管理连接向所述中继路由器发送私有协议报文;
    接收所述中继路由器发送的反馈报文,所述反馈报文是所述中继路由器接收到所述私有协议报文后反馈的;
    根据所述反馈报文检测所述中继路由器与所述主路由器是否兼容;
    当检测到所述中继路由器与所述主路由器兼容时,执行所述通过所述管理连接从所述中继路由器获取管理接口标识的步骤。
  5. 根据权利要求1所述的方法,其特征在于,所述通过所述管理连接向所述中继路由器发送管理指令,包括:
    获取所述管理接口标识中的第一接口标识,所述第一接口标识是用于获取电子设备信息的API的标识;
    通过所述管理连接向所述中继路由器发送携带有所述第一接口标识的第一管理指令,所述中继路由器用于获取所述第一管理指令中的所述第一接口标识,并调用所述第一接口标识对应的API,获取至少一个连接到所述中继路由器的电子设备的信息作为第一设备信息;
    接收所述中继路由器发送的所述第一设备信息;
    向管理设备发送所述第一设备信息,所述管理设备用于显示所述第一设备信息。
  6. 根据权利要求1所述的方法,其特征在于,所述通过所述管理连接向所述中继路由器发送管理指令,包括:
    获取所述管理接口标识中的第二接口标识,所述第二接口标识是用于控制电子设备的API的标识;
    通过所述管理连接向所述中继路由器发送携带有所述第二接口标识的第二管理指令,所述中继路由器用于获取所述第二管理指令中的所述第二接口标识,并调用所述第二接口标识对应的API,控制连接到所述中继路由器的电子设备。
  7. 根据权利要求5所述的方法,其特征在于,所述向管理设备发送所述第一设备信息,包括:
    获取至少一个与所述主路由器连接的电子设备的信息作为第二设备信息;
    向所述管理设备发送所述第一设备信息和所述第二设备信息;
    其中,所述第一设备信息包括连接到所述中继路由器的电子设备的媒体访问控制MAC地址、互联网协议IP地址和连接状态信息中的至少一种;
    所述第二设备信息包括连接到所述主路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
  8. 一种设备管理方法,其特征在于,用于中继路由器,所述方法包括:
    与主路由器建立管理连接;
    通过所述管理连接向所述主路由器提供管理接口标识,所述管理接口标识是所述中继路由器中用于提供管理功能的应用程序编程接口API的标识;
    接收所述主路由器通过所述管理连接发送的管理指令,所述管理指令携带有所述管理接口标识;
    根据所述管理指令管理连接到所述中继路由器的电子设备。
  9. 根据权利要求8所述的方法,其特征在于,所述与主路由器建立管理连接,包括:
    向所述主路由器发送连接请求;
    接收所述主路由器发送的请求接受信息,并与所述主路由器建立所述管理连接。
  10. 根据权利要求8所述的方法,其特征在于,所述通过所述管理连接向所述主路由器提供管理接口标识,包括:
    接收所述主路由器通过所述管理连接发送的管理接口获取请求,所述管理接口获取请求是所述主路由器检测到与所述中继路由器兼容时发送的;
    通过所述管理连接向所述主路由器发送至少一个所述管理接口标识。
  11. 根据权利要求10所述的方法,其特征在于,所述方法,包括:
    接收所述主路由器发送的私有协议报文;
    通过所述管理连接向所述主路由器发送反馈报文,所述主路由器用于根据所述反馈报文检测与所述中继路由器是否兼容。
  12. 根据权利要求8所述的方法,其特征在于,所述根据所述管理指令管理连接到所述中继路由器的电子设备,包括:
    获取第一管理指令中的第一接口标识,所述第一接口标识是用于获取电子设备信息的API的标识;
    调用所述第一接口标识对应的API,获取至少一个连接到所述中继路由器的电子设备的信息作为第一设备信息;
    通过所述管理连接向所述主路由器发送所述第一设备信息,所述第一设备信息包括连接到所述中继路由器的电子设备的媒体访问控制MAC地址、互联网协议IP地址和连接状态信息中的至少一种。
  13. 根据权利要求8所述的方法,其特征在于,所述根据所述管理指令管理连接到所述中继路由器的电子设备,包括:
    获取第二管理指令中的第二接口标识,所述第二接口标识是用于控制电子设备的API的标识;
    调用所述第二接口标识对应的API,控制连接到所述中继路由器的电子设备。
  14. 一种设备管理装置,其特征在于,用于主路由器,所述装置包括:
    第一连接模块,被配置为与中继路由器建立管理连接;
    标识获取模块,被配置为通过所述第一连接模块建立的所述管理连接从所述中继路由器获取管理接口标识,所述管理接口标识是所述中继路由器中用于提供管理功能的应用程序编程接口API的标识;
    指令发送模块,被配置为通过所述第一连接模块建立的所述管理连接向所述中继路由器发送管理指令,所述管理指令用于对连接在所述中继路由器上的电子设备进行管理,所述管理指令携带有所述管理接口标识。
  15. 根据权利要求14所述的装置,其特征在于,所述第一连接模块,包括:
    第一接收子模块,被配置为接收所述中继路由器发送的连接请求;
    第一建立子模块,被配置为向所述中继路由器发送请求接受信息,并与所述中继路由 器建立所述管理连接。
  16. 根据权利要求14所述的装置,其特征在于,所述标识获取模块,包括:
    第一发送子模块,被配置为通过所述管理连接向所述中继路由器发送管理接口获取请求;
    标识接收子模块,被配置为接收所述中继路由器通过所述管理连接发送的至少一个所述管理接口标识。
  17. 根据权利要求14至16任一所述的装置,其特征在于,所述装置,还包括:
    报文发送模块,被配置为通过所述管理连接向所述中继路由器发送私有协议报文;
    反馈报文接收模块,被配置为接收所述中继路由器发送的反馈报文,所述反馈报文是所述中继路由器接收到所述私有协议报文后反馈的;
    检测模块,被配置为根据所述反馈报文接收模块接收到的所述反馈报文检测所述中继路由器与所述主路由器是否兼容;
    所述检测模块,被配置为当检测到所述中继路由器与所述主路由器兼容时,执行所述通过所述管理连接从所述中继路由器获取管理接口标识的步骤。
  18. 根据权利要求14所述的装置,其特征在于,所述指令发送模块,包括:
    第一获取子模块,被配置为获取所述管理接口标识中的第一接口标识,所述第一接口标识是用于获取电子设备信息的API的标识;
    第一指令发送子模块,被配置为通过所述管理连接向所述中继路由器发送携带有所述第一获取子模块获取的所述第一接口标识的第一管理指令,所述中继路由器用于获取所述第一管理指令中的所述第一接口标识,并调用所述第一接口标识对应的API,获取至少一个连接到所述中继路由器的电子设备的信息作为第一设备信息;
    设备信息接收子模块,被配置为接收所述中继路由器发送的所述第一设备信息;
    第一信息发送子模块,被配置为向管理设备发送所述设备信息接收子模块接收到的所述第一设备信息,所述管理设备用于显示所述第一设备信息。
  19. 根据权利要求14所述的装置,其特征在于,所述指令发送模块,包括:
    第二获取子模块,被配置为获取所述管理接口标识中的第二接口标识,所述第二接口标识是用于控制电子设备的API的标识;
    第二指令发送子模块,被配置为通过所述管理连接向所述中继路由器发送携带有所述第二获取子模块获取到的所述第二接口标识的第二管理指令,所述中继路由器用于获取所述第二管理指令中的所述第二接口标识,并调用所述第二接口标识对应的API,控制连接到所述中继路由器的电子设备。
  20. 根据权利要求18所述的装置,其特征在于,所述第一信息发送子模块,包括:
    信息获取子模块,被配置为获取至少一个与所述主路由器连接的电子设备的信息作为第二设备信息;
    信息发送子模块,被配置为向所述管理设备发送所述第一设备信息和所述信息获取子模块获取的所述第二设备信息;
    其中,所述第一设备信息包括连接到所述中继路由器的电子设备的媒体访问控制MAC地址、互联网协议IP地址和连接状态信息中的至少一种;
    所述第二设备信息包括连接到所述主路由器的电子设备的MAC地址、IP地址和连接状态信息中的至少一种。
  21. 一种设备管理装置,其特征在于,用于中继路由器,所述装置包括:
    第二连接模块,被配置为与主路由器建立管理连接;
    标识提供模块,被配置为通过所述第二连接模块建立的所述管理连接向所述主路由器提供管理接口标识,所述管理接口标识是所述中继路由器中用于提供管理功能的应用程序编程接口API的标识;
    指令接收模块,被配置为接收所述主路由器通过所述管理连接发送的管理指令,所述管理指令携带有所述管理接口标识;
    管理模块,被配置为根据所述指令接收模块接收的所述管理指令管理连接到所述中继路由器的电子设备。
  22. 根据权利要求21所述的装置,其特征在于,所述第二连接模块,包括:
    第二发送子模块,被配置为向所述主路由器发送连接请求;
    第二建立子模块,被配置为接收所述主路由器发送的请求接受信息,并与所述主路由器建立所述管理连接。
  23. 根据权利要求21所述的装置,其特征在于,所述标识提供模块,包括:
    第二接收子模块,被配置为接收所述主路由器通过所述管理连接发送的管理接口获取请求,所述管理接口获取请求是所述主路由器检测到与所述中继路由器兼容时发送的;
    标识发送子模块,被配置为通过所述管理连接向所述主路由器发送至少一个所述管理接口标识。
  24. 根据权利要求23所述的装置,其特征在于,所述装置,还包括:
    报文接收模块,被配置为接收所述主路由器发送的私有协议报文;
    反馈报文发送模块,被配置为通过所述管理连接向所述主路由器发送反馈报文,所述主路由器用于根据所述反馈报文检测与所述中继路由器是否兼容。
  25. 根据权利要求21所述的装置,其特征在于,所述管理模块,包括:
    第三获取子模块,被配置为获取第一管理指令中的第一接口标识,所述第一接口标识是用于获取电子设备信息的API的标识;
    设备信息获取子模块,被配置为调用所述第三获取子模块获取的所述第一接口标识对应的API,获取至少一个连接到所述中继路由器的电子设备的信息作为第一设备信息;
    第二信息发送子模块,被配置为通过所述管理连接向所述主路由器发送所述设备信息获取子模块获取的所述第一设备信息,所述第一设备信息包括连接到所述中继路由器的电子设备的媒体访问控制MAC地址、互联网协议IP地址和连接状态信息中的至少一种。
  26. 根据权利要求21所述的装置,其特征在于,所述管理模块,包括:
    第四获取子模块,被配置为获取第二管理指令中的第二接口标识,所述第二接口标识是用于控制电子设备的API的标识;
    控制子模块,被配置为调用所述第四获取子模块获取的所述第二接口标识对应的API,控制连接到所述中继路由器的电子设备。
  27. 一种设备管理装置,其特征在于,用于主路由器,包括:
    处理器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为:
    与中继路由器建立管理连接;
    通过所述管理连接从所述中继路由器获取管理接口标识,所述管理接口标识是所述中继路由器中用于提供管理功能的应用程序编程接口API的标识;
    通过所述管理连接向所述中继路由器发送管理指令,所述管理指令用于对连接在所述中继路由器上的电子设备进行管理,所述管理指令携带有所述管理接口标识。
  28. 一种设备管理装置,其特征在于,用于中继路由器,包括:
    处理器;
    用于存储所述处理器的可执行指令的存储器;
    其中,所述处理器被配置为:
    与主路由器建立管理连接;
    通过所述管理连接向所述主路由器提供管理接口标识,所述管理接口标识是所述中继路由器中用于提供管理功能的应用程序编程接口API的标识;
    接收所述主路由器通过所述管理连接发送的管理指令,所述管理指令携带有所述管理接口标识;
    根据所述管理指令管理连接到所述中继路由器的电子设备。
  29. 一种网络系统,其特征在于,所述网络系统包括主路由器和中继路由器;
    所述主路由器和所述中继路由器之间通过无线网络或者有线网络相连;
    所述主路由器,包括如权利要求14至20任一所述的设备管理装置;所述中继路由器,包括如权利要求21至26任一所述的设备管理装置;
    或,
    所述主路由器包括如权利要求27所述的设备管理装置;所述中继路由器包括如权利要求28所述的设备管理装置。
PCT/CN2015/080681 2014-12-24 2015-06-03 设备管理方法、装置及系统 WO2016101545A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
MX2015012097A MX359264B (es) 2014-12-24 2015-06-03 Metodo, aparato y sistema para la gestion de dispositivo.
BR112015020495A BR112015020495A2 (pt) 2014-12-24 2015-06-03 método, aparelho e sistema para gerenciamento de dispositivo
RU2015135773A RU2630170C2 (ru) 2014-12-24 2015-06-03 Способ, оборудование и система для управления устройством
JP2016565547A JP6208381B2 (ja) 2014-12-24 2015-06-03 機器管理方法、装置、システム、プログラム、及び記録媒体
KR1020157020051A KR101757998B1 (ko) 2014-12-24 2015-06-03 설비 관리 방법, 장치, 시스템, 프로그램 및 저장 매체
US15/137,117 US10298446B2 (en) 2014-12-24 2016-04-25 Methods, apparatuses, and system for device management

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410815619.8A CN104539454B (zh) 2014-12-24 2014-12-24 设备管理方法、装置及系统
CN201410815619.8 2014-12-24

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/137,117 Continuation US10298446B2 (en) 2014-12-24 2016-04-25 Methods, apparatuses, and system for device management

Publications (1)

Publication Number Publication Date
WO2016101545A1 true WO2016101545A1 (zh) 2016-06-30

Family

ID=52854923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/080681 WO2016101545A1 (zh) 2014-12-24 2015-06-03 设备管理方法、装置及系统

Country Status (9)

Country Link
US (1) US10298446B2 (zh)
EP (1) EP3038292B1 (zh)
JP (1) JP6208381B2 (zh)
KR (1) KR101757998B1 (zh)
CN (1) CN104539454B (zh)
BR (1) BR112015020495A2 (zh)
MX (1) MX359264B (zh)
RU (1) RU2630170C2 (zh)
WO (1) WO2016101545A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539454B (zh) 2014-12-24 2018-09-04 小米科技有限责任公司 设备管理方法、装置及系统
CN106612190A (zh) * 2015-10-23 2017-05-03 广东九联科技股份有限公司 一种路由器自动中继的方法
CN105307226B (zh) * 2015-11-25 2018-10-12 小米科技有限责任公司 信号源的选择方法、装置及系统
CN106231616B (zh) * 2016-06-28 2019-11-22 上海斐讯数据通信技术有限公司 一种配置无线中继的方法及无线路由器
CN106488535B (zh) * 2016-12-28 2019-11-26 西安邮电大学 一种基于分布式节点的无线网络接入方法及其系统
CN108108124B (zh) * 2017-11-22 2020-02-14 华为技术有限公司 存储阵列和控制存储阵列的方法
US20190297557A1 (en) * 2018-03-22 2019-09-26 Mars Semiconductor Corp Wireless transmission device, system and method having repeating and routing functions
KR102133210B1 (ko) 2019-12-16 2020-07-13 이수행 필드명의 수정이 용이한 관리 프로그램이 설치된 관리 컴퓨터를 포함하는 관리 시스템

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000038370A1 (en) * 1998-12-22 2000-06-29 Powertv, Inc. A network device management system
CN1387345A (zh) * 2002-07-12 2002-12-25 北京长信嘉信息技术有限公司 数字家庭网络网关之间的通讯方法
CN101296391A (zh) * 2007-04-29 2008-10-29 中兴通讯股份有限公司 网元设备控制方法及系统
CN104135443A (zh) * 2014-06-27 2014-11-05 小米科技有限责任公司 路由器控制方法及装置
CN104539454A (zh) * 2014-12-24 2015-04-22 小米科技有限责任公司 设备管理方法、装置及系统

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7113173B1 (en) * 1995-10-16 2006-09-26 Nec Corporation Local handwriting recognition in a wireless interface tablet device
US7512671B1 (en) * 1995-10-16 2009-03-31 Nec Corporation Computer system for enabling a wireless interface device to selectively establish a communication link with a user selectable remote computer
US7031266B1 (en) 2000-02-25 2006-04-18 Cisco Technology, Inc. Method and system for configuring wireless routers and networks
US7068624B1 (en) * 2000-02-25 2006-06-27 Cisco Technology, Inc. Wireless router and method for processing traffic in a wireless communications network
US20010034754A1 (en) * 2000-03-17 2001-10-25 Elwahab Amgad Mazen Device, system and method for providing web browser access and control of devices on customer premise gateways
KR100440583B1 (ko) 2002-05-16 2004-07-19 한국전자통신연구원 외부 인터넷에 의한 댁내망의 UPnP장치 관리제어 장치및 방법
CN1599344A (zh) * 2003-09-15 2005-03-23 电视电声研究所 一种家庭网络系统体系结构和实现方法
US7676223B2 (en) * 2004-09-13 2010-03-09 Alcatel-Lucent Usa Inc. Method for controlling a flow of information between secondary agents and a mobile device in a wireless communications system
US20060143439A1 (en) 2004-12-06 2006-06-29 Xpaseo Method and system for sensor data management
EP2247067B1 (en) * 2005-06-09 2016-05-11 Whirlpool Corporation Appliance with embedded virtual router
JP4513658B2 (ja) 2005-06-14 2010-07-28 株式会社日立製作所 ホームゲートウェイ装置、及びホームネットワークへのアクセス制御システム
WO2007004755A1 (en) 2005-07-04 2007-01-11 Sk Telecom Co., Ltd. Home network system, method of controlling the same, method of setting residential gateway for the same, and method of processing event protocol for the same
CN1776681A (zh) 2005-12-13 2006-05-24 北京大学 web控制界面的统一生成方法和IP家庭网络的集中控制方法
US8200527B1 (en) * 2007-04-25 2012-06-12 Convergys Cmg Utah, Inc. Method for prioritizing and presenting recommendations regarding organizaion's customer care capabilities
JP2010141826A (ja) * 2008-12-15 2010-06-24 Mitsubishi Electric Corp 機器統合管理装置、機器統合管理プログラム、機器接続装置、機器接続プログラム、機器統合管理システムおよび機器統合管理方法
CN101697075A (zh) * 2009-09-25 2010-04-21 广东亿龙电器股份有限公司 远程无线网络家电控制系统及其访问控制方法
US9323587B2 (en) * 2012-09-27 2016-04-26 National Taiwan University Method and system for automatic detecting and resolving APIs

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000038370A1 (en) * 1998-12-22 2000-06-29 Powertv, Inc. A network device management system
CN1387345A (zh) * 2002-07-12 2002-12-25 北京长信嘉信息技术有限公司 数字家庭网络网关之间的通讯方法
CN101296391A (zh) * 2007-04-29 2008-10-29 中兴通讯股份有限公司 网元设备控制方法及系统
CN104135443A (zh) * 2014-06-27 2014-11-05 小米科技有限责任公司 路由器控制方法及装置
CN104539454A (zh) * 2014-12-24 2015-04-22 小米科技有限责任公司 设备管理方法、装置及系统

Also Published As

Publication number Publication date
EP3038292A1 (en) 2016-06-29
CN104539454B (zh) 2018-09-04
JP2017508226A (ja) 2017-03-23
BR112015020495A2 (pt) 2017-07-18
JP6208381B2 (ja) 2017-10-04
US10298446B2 (en) 2019-05-21
RU2630170C2 (ru) 2017-09-05
MX359264B (es) 2018-09-19
KR20160089861A (ko) 2016-07-28
RU2015135773A (ru) 2017-05-11
CN104539454A (zh) 2015-04-22
MX2015012097A (es) 2017-04-04
EP3038292B1 (en) 2018-09-12
KR101757998B1 (ko) 2017-07-14
US20160241431A1 (en) 2016-08-18

Similar Documents

Publication Publication Date Title
WO2016101545A1 (zh) 设备管理方法、装置及系统
US11089476B2 (en) Network access control method and apparatus
US9819780B2 (en) Method and apparatus for bluetooth device management
EP3425566B1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
US10608988B2 (en) Method and apparatus for bluetooth-based identity recognition
WO2016082417A1 (zh) 设备配置方法、配置装置及管理设备
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
WO2019134595A1 (zh) 配置系统、客户端设备、嵌入式设备配置方法及存储介质
WO2018018866A1 (zh) 一种数据共享方法及装置
WO2016173190A1 (zh) 信息提供方法和装置
WO2014044075A1 (en) A data-sharing method, terminal, server, and system
US11863529B2 (en) Private cloud routing server connection mechanism for use in a private communication architecture
US20190297119A1 (en) Establishing direct secure connection between collaboration devices in a room or space
WO2019153722A1 (zh) 终端通信的方法、装置、终端及存储介质
JP2015534677A (ja) インスタントメッセージングの方法、端末、サーバ及びシステム
WO2018196463A1 (zh) 网络接入方法、装置、存储介质及处理器
US10506069B2 (en) Virtual profile for Bluetooth
WO2016078291A1 (zh) 共享文件服务器的访问方法、装置及系统
WO2016106705A1 (zh) 内容共享的方法、终端、服务器和系统
CN108665595A (zh) 一种智能可视门禁控制系统
US11683292B2 (en) Private cloud routing server connection mechanism for use in a private communication architecture
JP2016072793A (ja) 遠隔会議システム、プログラム、セキュリティサーバ及びアプリケーションサーバ
WO2015117362A1 (zh) 终端上个人信息的共享方法及装置
US20150365133A1 (en) Touch and Talk Auto-Configuring of Video Conferences Using Near Field Communication (NFC)
WO2017088349A1 (zh) 图像处理系统、方法和装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20157020051

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016565547

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2015/012097

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 2015135773

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15871620

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112015020495

Country of ref document: BR

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112015020495

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20150825

122 Ep: pct application non-entry in european phase

Ref document number: 15871620

Country of ref document: EP

Kind code of ref document: A1